/* invite-free redesign override (no glass/neon AI style) */

:root{
  --rd-bg:#f3efe7;
  --rd-paper:#fbf8f2;
  --rd-ink:#181716;
  --rd-muted:#5b5752;
  --rd-line:#d8d0c2;
  --rd-soft:#e9e2d5;
  --rd-accent:#b5452f;
  --rd-accent-2:#254b3f;
  --rd-shadow:0 14px 28px rgba(24,23,22,.08);
  --rd-shadow-sm:0 6px 12px rgba(24,23,22,.06);
}
html,body{
  background: var(--rd-bg) !important;
}
body{
  color:var(--rd-ink) !important;
  background-image:
    linear-gradient(rgba(251,248,242,.92), rgba(251,248,242,.92)),
    url('/assets/photos/paper-photo-texture.jpg') !important;
  background-size:cover;
  background-attachment:fixed;
}

header{
  background:#fbf8f2 !important;
  border-bottom:1px solid var(--rd-line) !important;
  box-shadow:none !important;
}
.header-inner{max-width:1180px !important;padding:10px 16px !important;}
.logo-mark{
  border-radius:7px 13px 9px 11px !important;
  background:#181716 !important;
  box-shadow:none !important;
  position:relative;
}
.logo-mark::after{content:"";position:absolute;inset:5px;border-radius:3px 7px 4px 6px;background:#fbf8f2;}
.logo-text-main{letter-spacing:.02em !important;font-weight:800}
.logo-text-sub{color:var(--rd-muted) !important}
.nav a{border-radius:12px 18px 10px 16px !important;color:var(--rd-muted) !important;}
.nav a:hover{background:#efe8da !important;color:var(--rd-ink) !important;}
.header-btn{
  border:1px solid var(--rd-line) !important;
  background:#fff !important;
  color:var(--rd-ink) !important;
  border-radius:12px 18px 12px 16px !important;
  box-shadow:none !important;
  padding:10px 13px !important;
  font-weight:600;
}
#headerCreateBtn{background:#1f1d1b !important;color:#fff !important;border-color:#1f1d1b !important;}
#headerCreateBtn:hover,.hero-main-btn:hover{transform:none !important; box-shadow:none !important}

.section{padding:38px 14px !important}
.section:nth-of-type(odd){padding-top:54px !important}
.section-inner{max-width:1180px !important;position:relative;}
.section-label{color:#7a7368 !important;letter-spacing:.13em !important;font-weight:700;}
.section-title{font-size:clamp(26px,3vw,38px) !important;line-height:1.08 !important;letter-spacing:-.02em;max-width:760px;}
.section-sub{color:var(--rd-muted) !important;font-size:14px !important;max-width:700px !important;}
.section-illus{filter:none !important;animation:none !important;opacity:.95;}

#top .section-inner{
  border:1px solid var(--rd-line);
  border-radius:20px 34px 22px 30px;
  background:var(--rd-paper);
  box-shadow:var(--rd-shadow);
  padding:16px;
}
.hero-grid{grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr) !important;gap:18px !important;}
.hero-pill{background:#f1eadf !important;border:1px solid var(--rd-line) !important;color:var(--rd-muted) !important;border-radius:10px 16px 10px 14px !important;}
.hero-pill-dot{background:var(--rd-accent) !important;box-shadow:none !important}
.hero-title{font-size:clamp(30px,4vw,52px) !important;margin:12px 0 12px !important;}
.hero-highlight{
  background:none !important;color:inherit !important;box-shadow:none !important;
  border-bottom:3px solid rgba(181,69,47,.55);border-radius:0 !important;padding:0 2px 2px !important;
}
.hero-sub{color:var(--rd-muted) !important;max-width:620px}
.hero-actions{align-items:center;margin-top:14px !important}
.hero-main-btn{background:#1f1d1b !important;box-shadow:none !important;border-radius:12px 18px 12px 16px !important;padding:13px 15px !important;}
.hero-secondary-btn{background:#fff !important;border:1px solid var(--rd-line) !important;box-shadow:none !important;border-radius:10px 16px 12px 12px !important;}
.hero-note{color:var(--rd-muted) !important;border-top:1px dashed var(--rd-line);padding-top:12px;}
.hero-badges{gap:8px !important}
.hero-badge{background:#fff !important;border:1px solid var(--rd-line) !important;border-radius:10px 16px 10px 13px !important;color:#2b2927 !important;}
.hero-illus-card{
  background:#fff !important;border:1px solid var(--rd-line) !important;border-radius:18px 28px 20px 26px !important;
  box-shadow:none !important;padding:10px !important;display:grid;grid-template-rows:auto auto auto;gap:10px;
}
.hero-illus-stack{min-height:120px;justify-content:flex-start !important;align-items:flex-end !important;gap:8px !important;}
.hero-illus{width:112px !important;animation:none !important;filter:none !important;}
.hero-illus-mini{width:60px !important;}
.hero-illus-caption{margin-top:0 !important;border-top:1px dashed var(--rd-line) !important;color:var(--rd-muted) !important;font-size:12.5px !important;}
.hero-right::before{
  content:"";display:block;height:196px;border-radius:14px 24px 14px 20px;
  background:url('/assets/photos/hero-main.jpg') center/cover no-repeat;border:1px solid var(--rd-line);margin-bottom:10px;
}
.hero-right{align-self:stretch;}

.story-section .section-inner{border:1px solid var(--rd-line);border-radius:18px 28px 18px 24px;background:var(--rd-paper);padding:14px;box-shadow:var(--rd-shadow-sm);}
.story-grid{
  display:grid;grid-template-columns:1.2fr .8fr;
  grid-template-areas:"lg note" "a obj" "b obj";gap:12px;
}
.story-photo{border:1px solid var(--rd-line);background:#fff;overflow:hidden;box-shadow:var(--rd-shadow-sm);}
.story-photo.large{grid-area:lg;border-radius:14px 28px 16px 24px;}
.story-photo.small.a{grid-area:a;border-radius:10px 18px 14px 12px;}
.story-photo.small.b{grid-area:b;border-radius:16px 10px 18px 12px;}
.story-photo img{width:100%;height:100%;display:block;object-fit:cover;aspect-ratio:16/10;}
.story-photo.small img{aspect-ratio:16/8;}
.story-note{grid-area:note;border:1px solid var(--rd-line);border-radius:12px 22px 14px 20px;background:#fff;padding:14px;}
.story-kicker{color:#7a7368;text-transform:uppercase;letter-spacing:.12em;font-size:11px;margin-bottom:8px;font-weight:700;}
.story-note h3{margin:0 0 8px;font-size:20px;line-height:1.12;letter-spacing:-.02em;}
.story-note p{margin:0 0 10px;color:var(--rd-muted);font-size:13.5px;line-height:1.45;}
.story-note ul{margin:0;padding-left:18px;color:#2b2927;font-size:13px;line-height:1.45;}
.story-object{grid-area:obj;border:1px solid var(--rd-line);border-radius:18px 12px 24px 16px;background:#f6f1e8;padding:14px 8px;display:flex;align-items:center;justify-content:center;gap:10px;}
.story-object img{width:72px;height:72px;object-fit:contain;filter:none;transform:rotate(var(--rot,0));}
.story-object img:nth-child(1){--rot:-7deg;}
.story-object img:nth-child(2){--rot:4deg;}
.story-object img:nth-child(3){--rot:-2deg;}

.feature-card,.step-card,.choice-card-static,.tile,.faq-card,.form-card,.tariff-card{background:#fff !important;border:1px solid var(--rd-line) !important;box-shadow:none !important;}
.feature-card:nth-child(1){border-radius:14px 24px 12px 18px !important;}
.feature-card:nth-child(2){border-radius:10px 18px 16px 12px !important;}
.feature-card:nth-child(3){border-radius:18px 12px 20px 14px !important;}
.step-card:nth-child(1){border-radius:14px 20px 12px 16px !important;}
.step-card:nth-child(2){border-radius:18px 12px 20px 14px !important;}
.step-card:nth-child(3){border-radius:10px 18px 14px 22px !important;}
.tag-pill{border:1px solid var(--rd-line) !important;background:#fff !important;border-radius:12px 18px 12px 14px !important;box-shadow:none !important;}

.features-grid{display:grid !important;grid-template-columns:repeat(8,minmax(0,1fr)) !important;gap:12px !important;align-items:stretch;}
.features-grid>.feature-card:nth-child(1){grid-column:1 / span 5;padding:18px !important;}
.features-grid>.feature-card:nth-child(2){grid-column:6 / span 3;padding:18px !important;}
.features-grid>.feature-card:nth-child(3){grid-column:2 / span 6;padding:16px 18px !important;}
.feature-title{font-size:15px !important;letter-spacing:-.01em}
.feature-text{font-size:13px !important;color:var(--rd-muted) !important}

.steps-grid{display:grid !important;grid-template-columns:repeat(7,minmax(0,1fr)) !important;gap:12px !important;}
.steps-grid>.step-card:nth-child(1){grid-column:1 / span 3;}
.steps-grid>.step-card:nth-child(2){grid-column:4 / span 4;}
.steps-grid>.step-card:nth-child(3){grid-column:2 / span 5;}
.step-illus,.feature-illus,.tile img{filter:none !important;animation:none !important}
.step-num{color:#867e72 !important}
.step-text{color:var(--rd-muted) !important}

#insideSection .section-inner,#designsSection .section-inner,#examplesSection .section-inner,#formSection .section-inner,#faqSection .section-inner,#contactsSection .section-inner{
  border:1px solid var(--rd-line);background:var(--rd-paper);border-radius:18px 28px 18px 24px;padding:14px;
}
.inside-grid{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr) !important;gap:12px !important;}
.inside-grid>.feature-card{border-radius:14px 22px 12px 18px !important;padding:16px !important;}
.inside-tiles{grid-template-columns:1.2fr .8fr !important;}
.inside-tiles .tile:nth-child(1){grid-column:1;border-radius:12px 20px 12px 16px !important}
.inside-tiles .tile:nth-child(2){grid-column:2;border-radius:18px 12px 18px 12px !important}
.inside-tiles .tile:nth-child(3){grid-column:1 / span 2;border-radius:14px 24px 14px 20px !important}
.inside-tiles .tile:nth-child(4){grid-column:1;border-radius:16px 10px 18px 12px !important}
.inside-tiles .tile:nth-child(5){grid-column:2;border-radius:10px 18px 10px 20px !important}

.choice-grid-static{grid-template-columns:1.1fr .9fr 1fr !important;}
.choice-card-static{border-radius:14px 24px 14px 20px !important;padding:12px !important;}
.choice-card-static:nth-child(2){border-radius:10px 18px 16px 12px !important}
.choice-card-static:nth-child(3){border-radius:18px 12px 20px 14px !important}
.choice-preview{border:1px solid var(--rd-line) !important;border-radius:10px 16px 10px 14px !important;}
.choice-preview-label{border:1px solid var(--rd-line) !important;background:#fff !important;border-radius:999px !important;}
.classic,.gold,.mint,.dark,.pastel,.forest{background-image:none !important;}
.classic{background:#24211f !important}.gold{background:#d0a45d !important}.mint{background:#6ea593 !important}.dark{background:#1e2430 !important}.pastel{background:#d7cbd7 !important}.forest{background:#3f5b4d !important}
.effect-preview-snow{background:#dfe4ea !important}.effect-preview-spark{background:#f0e6d7 !important}.effect-preview-confetti{background:#ece8df !important}.effect-preview-disco{background:#ded8cf !important}

.examples-grid{display:grid !important;grid-template-columns:repeat(6,minmax(0,1fr)) !important;gap:12px !important;}
.example-card{border:1px solid var(--rd-line) !important;background:#fff !important;border-radius:10px 16px 12px 18px !important;box-shadow:none !important;overflow:hidden;}
.examples-grid .example-card:nth-child(1){grid-column:1 / span 4;border-radius:14px 26px 14px 22px !important;}
.examples-grid .example-card:nth-child(2){grid-column:5 / span 2;border-radius:10px 18px 12px 14px !important;}
.examples-grid .example-card:nth-child(3){grid-column:1 / span 2;border-radius:16px 10px 18px 12px !important;}
.examples-grid .example-card:nth-child(4){grid-column:3 / span 2;border-radius:10px 20px 12px 18px !important;}
.examples-grid .example-card:nth-child(5){grid-column:5 / span 2;border-radius:18px 12px 20px 10px !important;}
.examples-grid .example-card:nth-child(6){grid-column:2 / span 4;border-radius:12px 24px 14px 20px !important;}
.example-thumb{display:block;width:100%;height:100%;object-fit:cover;aspect-ratio:16/9;}
.examples-grid .example-card:nth-child(1) .example-thumb,.examples-grid .example-card:nth-child(6) .example-thumb{aspect-ratio:16/8;}
.examples-grid .example-card:nth-child(2) .example-thumb,.examples-grid .example-card:nth-child(3) .example-thumb,.examples-grid .example-card:nth-child(4) .example-thumb,.examples-grid .example-card:nth-child(5) .example-thumb{aspect-ratio:1/1.05;}

.cta-grid{display:grid !important;grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr) !important;gap:12px !important;align-items:start;}
.form-card{border-radius:14px 24px 14px 20px !important;padding:16px !important;}
.tariff-card{border-radius:18px 12px 20px 14px !important;padding:16px !important;position:sticky;top:78px;}
.field input,.field textarea{border:1px solid var(--rd-line) !important;background:#fff !important;border-radius:10px 16px 10px 14px !important;box-shadow:none !important;}
.submit-btn{background:#1f1d1b !important;color:#fff !important;border:1px solid #1f1d1b !important;border-radius:12px 18px 12px 16px !important;box-shadow:none !important;}
.privacy-link,.cookie-link{color:var(--rd-accent-2) !important;text-decoration:underline;}
.form-note,.extra-help,.tariff-list,.faq-a{color:var(--rd-muted) !important}

.faq-grid{display:grid !important;grid-template-columns:repeat(5,minmax(0,1fr)) !important;gap:12px !important;}
.faq-card{padding:14px !important;}
.faq-grid .faq-card:nth-child(1){grid-column:1 / span 3;border-radius:14px 24px 14px 20px !important}
.faq-grid .faq-card:nth-child(2){grid-column:4 / span 2;border-radius:10px 18px 12px 14px !important}
.faq-grid .faq-card:nth-child(3){grid-column:1 / span 2;border-radius:18px 12px 20px 10px !important}
.faq-grid .faq-card:nth-child(4){grid-column:3 / span 3;border-radius:12px 22px 14px 18px !important}
.faq-q{font-weight:700 !important;letter-spacing:-.01em}
.faq-a{font-size:13px !important}
#contactsSection .feature-card{border-radius:12px 20px 14px 16px !important;}

footer,.cookie-banner{background:#fbf8f2 !important;border-top:1px solid var(--rd-line) !important;}
.cookie-banner{border:1px solid var(--rd-line) !important;box-shadow:var(--rd-shadow) !important;}
.cookie-btn{background:#1f1d1b !important;color:#fff !important;border:1px solid #1f1d1b !important;border-radius:10px 16px 10px 14px !important;}
.popup-content,.modal,.lightbox-inner,.account-box{border:1px solid var(--rd-line) !important;box-shadow:0 18px 40px rgba(24,23,22,.12) !important;background:#fbf8f2 !important;}
.popup,.privacy-modal,.lightbox{backdrop-filter:none !important;background:rgba(24,23,22,.28) !important;}
.choice-card,.effect-card,.account-invite-card{border:1px solid var(--rd-line) !important;background:#fff !important;box-shadow:none !important;}
.choice-close,.modal-close,.lightbox-close,.account-close,.mobile-menu-close{border:1px solid var(--rd-line) !important;background:#fff !important;box-shadow:none !important;}
.mobile-menu{backdrop-filter:none !important;}
.mobile-menu-panel{background:#fbf8f2 !important;border-left:1px solid var(--rd-line) !important;}
.mobile-menu-links a{border:1px solid transparent;border-radius:10px 16px 10px 14px !important;}
.mobile-menu-links a:hover{background:#efe8da !important;border-color:var(--rd-line);}
.mobile-menu-actions .header-btn:first-child{background:#1f1d1b !important;color:#fff !important;border-color:#1f1d1b !important;}

*{scroll-margin-top:84px}
body,.page-wrap,main,.section-inner,.cta-grid,.inside-grid,.features-grid,.steps-grid,.examples-grid{min-width:0;}
img{max-width:100%}

@media (max-width: 1080px){
  .hero-grid{grid-template-columns:1fr !important;}
  .hero-right::before{height:170px}
  .story-grid{grid-template-columns:1fr 1fr;grid-template-areas:"lg lg" "note note" "a obj" "b obj";}
  .features-grid{grid-template-columns:1fr 1fr !important;}
  .features-grid > .feature-card:nth-child(n){grid-column:auto !important;}
  .steps-grid{grid-template-columns:1fr 1fr !important;}
  .steps-grid > .step-card:nth-child(n){grid-column:auto !important;}
  .inside-grid{grid-template-columns:1fr !important;}
  .inside-tiles{grid-template-columns:1fr 1fr !important;}
  .inside-tiles .tile:nth-child(n){grid-column:auto !important;}
  .cta-grid{grid-template-columns:1fr !important;}
  .tariff-card{position:static}
  .faq-grid{grid-template-columns:1fr 1fr !important;}
  .faq-grid .faq-card:nth-child(n){grid-column:auto !important;}
  .examples-grid{grid-template-columns:1fr 1fr !important;}
  .examples-grid .example-card:nth-child(n){grid-column:auto !important;}
  .examples-grid .example-card:nth-child(n) .example-thumb{aspect-ratio:4/3 !important;}
}
@media (max-width: 860px){
  .nav{display:none !important;}
  .header-buttons .header-btn:not(.header-btn-menu){display:none !important;}
  .header-btn-menu{display:inline-flex !important;}
  .section{padding:26px 10px !important}
  #top .section-inner,.story-section .section-inner,#insideSection .section-inner,#designsSection .section-inner,#examplesSection .section-inner,#formSection .section-inner,#faqSection .section-inner,#contactsSection .section-inner{padding:10px !important;}
  .hero-title{font-size:29px !important;}
  .hero-sub{font-size:14px !important;}
  .hero-actions{display:grid !important;grid-template-columns:1fr;gap:8px !important;}
  .hero-main-btn,.hero-secondary-btn{width:100%;justify-content:center}
  .hero-badges{display:grid !important;grid-template-columns:1fr;gap:6px !important;}
  .story-grid{grid-template-columns:1fr !important;grid-template-areas:"lg" "note" "obj" "a" "b";}
  .story-photo img{aspect-ratio:4/3 !important}
  .story-object{justify-content:space-around}
  .tag-row{gap:6px !important;}
  .tag-pill{font-size:11.5px !important;padding:8px 10px !important}
  .features-grid,.steps-grid,.inside-tiles,.choice-grid-static,.examples-grid,.faq-grid{grid-template-columns:1fr !important;gap:10px !important;}
  .features-grid > .feature-card:nth-child(n),.steps-grid > .step-card:nth-child(n),.inside-tiles .tile:nth-child(n),.examples-grid .example-card:nth-child(n),.faq-grid .faq-card:nth-child(n){grid-column:auto !important;}
  .tile{align-items:flex-start !important}
  .tile img{width:56px !important;height:56px !important}
  .example-thumb{aspect-ratio:16/10 !important;}
  .form-card,.tariff-card{padding:12px !important}
  .field input,.field textarea{font-size:16px !important;}
  .mobile-menu-panel{width:min(92vw,360px) !important;}
  .popup-content,.modal,.lightbox-inner{max-height:92vh !important;}
}
