:root{--paper:#f6f2eb;--paper2:#fffdfa;--ink:#242320;--muted:#74716b;--line:#ded7cd;--prosto:#cbb99a;--art:#a1a1a3;--dark:#252a28;--sage:#77867d;--radius:28px;--shadow:0 22px 70px rgba(39,34,28,.10)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;line-height:1.55}img{max-width:100%;display:block}a{color:inherit;text-decoration:none}.section-shell{width:min(1200px,calc(100% - 48px));margin:0 auto}.site-header{height:82px;display:flex;align-items:center;gap:32px;padding:0 max(24px,calc((100vw - 1200px)/2));position:sticky;top:0;z-index:50;background:rgba(246,242,235,.9);backdrop-filter:blur(18px);border-bottom:1px solid rgba(90,78,63,.08)}.brand{font-weight:760;letter-spacing:.06em;white-space:nowrap}.brand-prosto,.brand-slash{color:var(--prosto)}.brand-art{color:var(--art)}.nav{display:flex;gap:26px;margin-left:auto;font-size:14px}.nav a:hover{opacity:.55}.header-actions{display:flex;gap:10px}.button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 20px;border-radius:999px;font-weight:650;font-size:14px;border:1px solid transparent;transition:.2s transform,.2s box-shadow,.2s background}.button:hover{transform:translateY(-1px)}.button-primary{background:var(--prosto);color:#29241d;box-shadow:0 9px 28px rgba(160,138,103,.26)}.button-dark{background:var(--dark);color:white}.button-ghost{border-color:var(--line);background:rgba(255,255,255,.35)}.menu-button{display:none;background:none;border:0;font-size:25px}.hero{display:grid;grid-template-columns:.85fr 1.15fr;gap:62px;align-items:center;padding-top:82px;padding-bottom:84px}.eyebrow{text-transform:uppercase;letter-spacing:.16em;font-size:11px;font-weight:760;color:#897a67;margin-bottom:18px}.hero h1,.section-heading h2,.showcase h2,.final-cta h2{margin:0;font-family:Georgia,"Times New Roman",serif;font-weight:500;line-height:1.02;letter-spacing:-.035em}.hero h1{font-size:clamp(46px,5.5vw,78px)}.hero h1 span{color:#80766a}.lead{font-size:18px;color:var(--muted);max-width:590px;margin:26px 0 28px}.hero-actions{display:flex;align-items:center;gap:24px}.text-link{font-size:14px;font-weight:650}.hero-points{margin-top:28px;display:grid;gap:8px;color:#6e6a63;font-size:13px}.comparison{min-width:0}.comparison-stage{position:relative;overflow:hidden;border-radius:34px;box-shadow:var(--shadow);aspect-ratio:1.5;background:#ddd;user-select:none}.comparison-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.comparison-after{position:absolute;inset:0;clip-path:inset(0 0 0 50%);overflow:hidden}.comparison-divider{position:absolute;left:50%;top:0;bottom:0;width:2px;background:white;transform:translateX(-1px);pointer-events:none}.comparison-divider span{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);height:44px;width:44px;border-radius:50%;display:grid;place-items:center;background:white;box-shadow:0 5px 20px #0003}.comparison-range{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:ew-resize}.compare-label{position:absolute;top:18px;background:rgba(23,23,21,.62);color:white;border:1px solid #ffffff33;border-radius:999px;padding:7px 12px;font-size:12px}.compare-before{left:18px}.compare-after-label{right:18px}.comparison-caption{text-align:center;color:var(--muted);font-size:12px;margin-top:12px}.proof-strip{border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:grid;grid-template-columns:repeat(4,1fr);padding:26px max(24px,calc((100vw - 1200px)/2));background:rgba(255,255,255,.25)}.proof-strip div{display:grid;gap:2px;padding:0 26px;border-right:1px solid var(--line)}.proof-strip div:first-child{padding-left:0}.proof-strip div:last-child{border:0}.proof-strip strong{font-family:Georgia,serif;font-size:19px;font-weight:500}.proof-strip span{font-size:12px;color:var(--muted)}.feature-intro{padding-top:110px;padding-bottom:120px}.section-heading{max-width:760px;margin-bottom:48px}.section-heading h2{font-size:clamp(38px,5vw,64px)}.section-heading>p{color:var(--muted);font-size:17px;max-width:680px}.feature-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.feature-card{background:var(--paper2);border:1px solid rgba(150,133,110,.18);border-radius:var(--radius);padding:32px;min-height:330px;overflow:hidden;position:relative}.feature-card-large{grid-column:1/-1;display:grid;grid-template-columns:.85fr 1.15fr;padding:0}.feature-card-large .feature-copy{padding:42px}.feature-card-large img{width:100%;height:100%;min-height:430px;object-fit:cover}.feature-number{font-size:11px;letter-spacing:.16em;color:#9d8b72}.feature-card h3{font-family:Georgia,serif;font-weight:500;font-size:30px;margin:18px 0 12px}.feature-card p{color:var(--muted);max-width:520px}.mini-plan{height:125px;margin-top:26px;display:grid;place-items:center}.plan-room{width:190px;height:105px;border:8px solid #3a3d3a;position:relative;transform:perspective(350px) rotateX(20deg) rotateZ(-5deg);box-shadow:12px 15px 0 #d8cdbd}.plan-room i{position:absolute;background:#c5b59d}.plan-room i:nth-child(1){width:60px;height:34px;left:14px;top:15px}.plan-room i:nth-child(2){width:43px;height:43px;right:18px;top:16px}.plan-room i:nth-child(3){width:78px;height:20px;left:18px;bottom:11px}.plan-room i:nth-child(4){width:26px;height:34px;right:25px;bottom:8px}.chat-demo{margin-top:28px;background:#ede8df;border-radius:20px;padding:20px;display:grid;gap:14px}.chat-demo b{background:white;border-radius:14px;padding:12px 14px;margin-right:36px;font-size:13px}.chat-demo span{background:#d8c9b0;border-radius:14px;padding:12px 14px;margin-left:25px;font-size:13px}.pdf-demo{margin:28px auto 0;width:210px;height:135px;background:white;border-radius:4px;box-shadow:0 12px 35px #0002;padding:20px;display:grid;gap:8px;transform:rotate(2deg)}.pdf-demo span{font-size:9px;color:#9b8b75}.pdf-demo b{font-family:Georgia,serif;font-weight:500}.pdf-demo i{height:4px;background:#e7e2da;border-radius:4px}.pdf-demo i:nth-last-child(1){width:55%}.image-card{padding:0;display:grid;grid-template-columns:1fr 1fr}.image-card img{width:100%;height:100%;object-fit:cover;min-height:330px}.image-card div{padding:32px}.steps-section{background:var(--dark);color:white;padding:110px 0}.section-heading.light p{color:#c1c0bc}.section-heading.light .eyebrow{color:#cbb99a}.steps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.step{border-top:1px solid #ffffff33;padding:28px 6px 0}.step b{font-family:Georgia,serif;color:var(--prosto);font-size:40px;font-weight:400}.step h3{font-family:Georgia,serif;font-weight:500;font-size:27px;margin:18px 0 8px}.step p{color:#babbb7}.plans{padding-top:110px;padding-bottom:120px}.dev-note{font-size:13px!important;background:#eee7dc;padding:12px 14px;border-radius:12px;display:inline-block}.dev-note code{font-size:12px}.plans-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;align-items:stretch}.plan-card{background:var(--paper2);border:1px solid var(--line);border-radius:var(--radius);padding:30px;display:flex;flex-direction:column;min-height:520px;position:relative}.plan-card.plan-featured{background:#ebe0cf;border-color:#cab697;box-shadow:0 18px 60px rgba(104,82,56,.14);transform:translateY(-8px)}.plan-badge{position:absolute;right:22px;top:22px;background:var(--dark);color:white;padding:6px 10px;border-radius:999px;font-size:10px;text-transform:uppercase;letter-spacing:.1em}.plan-name{letter-spacing:.16em;font-size:11px;color:#837565}.plan-card h3{font-family:Georgia,serif;font-size:46px;font-weight:500;margin:14px 0 0}.plan-card small{color:var(--muted)}.plan-card ul{list-style:none;padding:0;margin:34px 0;display:grid;gap:14px;font-size:14px}.plan-card li:before{content:'✓';margin-right:9px;color:#87775f}.plan-card li.muted{color:#aaa}.plan-card .button{margin-top:auto}.showcase{display:grid;grid-template-columns:1.1fr .9fr;gap:62px;align-items:center;padding-bottom:120px}.showcase-image img{border-radius:34px;aspect-ratio:1.3;object-fit:cover;box-shadow:var(--shadow)}.showcase h2{font-size:clamp(40px,4vw,58px)}.showcase p{color:var(--muted);font-size:17px;margin:24px 0 28px}.faq{padding-bottom:120px}.faq-list{border-top:1px solid var(--line)}details{border-bottom:1px solid var(--line);padding:22px 4px}summary{font-family:Georgia,serif;font-size:22px;cursor:pointer;list-style:none;display:flex;justify-content:space-between}summary:after{content:'+';font-family:Arial;font-weight:300;color:#8a7b66}details[open] summary:after{content:'−'}details p{color:var(--muted);max-width:720px}.final-cta{padding:0 24px 24px}.final-inner{max-width:1200px;margin:auto;background:#d9c7ab;border-radius:34px;padding:58px;display:flex;align-items:center;justify-content:space-between;gap:30px}.final-cta h2{font-size:clamp(38px,4.5vw,64px);max-width:780px}.footer{max-width:1200px;margin:0 auto;padding:64px 24px 34px}.footer>p{color:var(--muted)}.footer-links{display:flex;gap:20px;flex-wrap:wrap;font-size:13px;margin:30px 0}.footer-bottom{border-top:1px solid var(--line);padding-top:22px;display:flex;justify-content:space-between;color:#98938b;font-size:12px}.draft-label{color:#9b765c}.reveal{opacity:0;transform:translateY(18px);transition:.7s opacity,.7s transform}.reveal.visible{opacity:1;transform:none}
@media(max-width:980px){.nav{display:none}.header-actions .button-ghost{display:none}.hero{grid-template-columns:1fr;gap:44px;padding-top:56px}.hero-copy{max-width:760px}.proof-strip{grid-template-columns:repeat(2,1fr);gap:18px}.proof-strip div{border:0;padding:0}.showcase{grid-template-columns:1fr}.feature-card-large{grid-template-columns:1fr}.feature-card-large img{min-height:320px}.plans-grid{grid-template-columns:1fr}.plan-card{min-height:auto}.plan-card.plan-featured{transform:none}.steps-grid{grid-template-columns:1fr}.step{padding-bottom:15px}}
@media(max-width:680px){.section-shell{width:min(100% - 28px,1200px)}.site-header{height:70px;padding:0 14px}.header-actions{margin-left:auto}.header-actions .button-dark{display:none}.menu-button{display:block}.nav.mobile-open{display:flex;position:absolute;top:70px;left:0;right:0;background:var(--paper);padding:20px;flex-direction:column;border-bottom:1px solid var(--line)}.hero{padding-top:42px;padding-bottom:58px}.hero h1{font-size:44px}.lead{font-size:16px}.hero-actions{align-items:stretch;flex-direction:column}.hero-actions .button{width:100%}.comparison-stage{border-radius:22px}.proof-strip{padding:22px 14px;grid-template-columns:1fr 1fr}.proof-strip strong{font-size:16px}.feature-intro,.plans{padding-top:74px;padding-bottom:80px}.section-heading h2{font-size:40px}.feature-grid{grid-template-columns:1fr}.feature-card-large{grid-column:auto}.feature-card{padding:24px}.feature-card-large{padding:0}.feature-card-large .feature-copy{padding:26px}.feature-card h3{font-size:27px}.image-card{grid-template-columns:1fr}.steps-section{padding:74px 0}.showcase{gap:30px;padding-bottom:80px}.faq{padding-bottom:80px}.final-cta{padding:0 14px 14px}.final-inner{padding:34px 24px;display:grid}.footer-bottom{display:grid;gap:8px}}

/* v2 — typography aligned with the main PROSTO / ART app */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500&display=swap');

:root{
  --paper:#f7f4ee;
  --paper2:#ffffff;
  --ink:#2e2b28;
  --muted:#77736e;
  --line:#e3ddd3;
  --prosto:#cbb99a;
  --art:#a1a1a3;
  --dark:#302e2b;
  --radius:24px;
  --shadow:0 18px 55px rgba(55,48,39,.10);
}

body{
  font-family:'Roboto','Segoe UI',Arial,sans-serif;
  font-weight:400;
  letter-spacing:0;
}

.brand{
  font-family:'Roboto','Segoe UI',Arial,sans-serif;
  font-weight:800;
  letter-spacing:.045em;
  font-size:18px;
}

.hero h1,
.section-heading h2,
.showcase h2,
.final-cta h2,
.feature-card h3,
.proof-strip strong,
.pdf-demo b,
.step b,
.step h3,
.plan-card h3,
summary{
  font-family:'Roboto','Segoe UI',Arial,sans-serif;
}

.hero h1,
.section-heading h2,
.showcase h2,
.final-cta h2{
  font-weight:700;
  letter-spacing:-.025em;
  line-height:1.08;
}

.hero h1{font-size:clamp(44px,5vw,72px);max-width:720px}
.hero h1 span{font-weight:400;color:#77736e}
.section-heading h2{font-size:clamp(36px,4.5vw,58px)}
.showcase h2{font-size:clamp(38px,4vw,54px)}
.final-cta h2{font-size:clamp(36px,4.2vw,56px)}

.lead,.section-heading>p,.showcase p{line-height:1.6}
.eyebrow{font-weight:700;letter-spacing:.13em}
.nav{font-weight:500}
.button{font-family:'Roboto','Segoe UI',Arial,sans-serif;font-weight:600}
.button-primary{box-shadow:0 8px 22px rgba(150,128,93,.20)}

.site-header{
  background:rgba(247,244,238,.94);
  box-shadow:0 1px 0 rgba(78,67,52,.04);
}

.hero{padding-top:68px;padding-bottom:76px;gap:54px}
.comparison-stage{border-radius:26px;box-shadow:0 20px 55px rgba(45,39,32,.13)}
.feature-card{border-radius:22px;box-shadow:0 8px 28px rgba(55,48,39,.035)}
.feature-card h3{font-weight:700;font-size:28px;letter-spacing:-.015em}
.proof-strip strong{font-weight:700;font-size:18px}
.step b{font-weight:700;font-size:34px}
.step h3{font-weight:700;font-size:24px}
.plan-card h3{font-weight:800;font-size:44px;letter-spacing:-.025em}
summary{font-weight:600;font-size:20px}

.final-inner{background:#e6dac6;border-radius:26px}
.showcase-image img{border-radius:26px}

@media(max-width:680px){
  .hero h1{font-size:40px}
  .section-heading h2{font-size:35px}
  .feature-card h3{font-size:25px}
  .brand{font-size:16px}
}

/* v3 — make the before/after comparison the visual hero */
@media (min-width:981px){
  .hero{
    display:block;
    padding-top:58px;
    padding-bottom:74px;
  }
  .hero-copy{
    max-width:920px;
    margin:0 auto 46px;
    text-align:center;
  }
  .hero h1{
    max-width:900px;
    margin-left:auto;
    margin-right:auto;
  }
  .lead{
    max-width:760px;
    margin-left:auto;
    margin-right:auto;
  }
  .hero-actions{
    justify-content:center;
  }
  .hero-points{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:10px 24px;
  }
  .comparison{
    width:100%;
    max-width:1200px;
    margin:0 auto;
  }
  .comparison-stage{
    aspect-ratio:1.5;
    width:100%;
    border-radius:30px;
    box-shadow:0 28px 80px rgba(45,39,32,.18);
  }
  .comparison-divider span{
    width:54px;
    height:54px;
    font-size:20px;
  }
  .compare-label{
    top:22px;
    padding:9px 14px;
    font-size:13px;
    font-weight:600;
    backdrop-filter:blur(8px);
  }
  .compare-before{left:22px}
  .compare-after-label{right:22px}
  .comparison-caption{
    margin-top:16px;
    font-size:13px;
  }
}

@media (min-width:1200px){
  .hero{
    width:min(1280px,calc(100% - 48px));
  }
  .comparison{
    max-width:1240px;
  }
}

@media(max-width:980px){
  .hero{
    display:block;
  }
  .hero-copy{
    margin-bottom:34px;
  }
  .comparison{
    width:100%;
  }
  .comparison-stage{
    aspect-ratio:1.5;
    min-height:0;
  }
}


/* v4 — compact title, comparison first, supporting copy below */
.hero-title-block{margin-bottom:30px!important}
.hero-title-block h1{
  font-size:clamp(34px,3.4vw,48px)!important;
  max-width:none!important;
  white-space:nowrap;
  line-height:1.08;
}
.hero-tagline{
  margin-top:10px;
  font-size:clamp(18px,1.8vw,24px);
  font-weight:400;
  color:#77736e;
  letter-spacing:-.01em;
}
.hero-details{
  max-width:850px!important;
  margin:34px auto 0!important;
  text-align:center;
}
.hero-details .lead{margin-top:0}
@media(max-width:680px){
  .hero-title-block h1{font-size:30px!important;white-space:normal}
  .hero-tagline{font-size:18px}
  .hero-title-block{margin-bottom:24px!important}
  .hero-details{margin-top:28px!important}
}


/* v5 — explain the core value immediately */
.hero-explainer{
  max-width:860px;
  margin:14px auto 0;
  font-size:clamp(16px,1.45vw,20px);
  line-height:1.55;
  color:#625e58;
  font-weight:400;
}
.hero-tagline{
  margin-top:10px;
  font-size:clamp(15px,1.25vw,18px);
  font-weight:600;
  color:#8a7963;
  letter-spacing:.01em;
}
@media(max-width:680px){
  .hero-explainer{font-size:15px;line-height:1.5;margin-top:13px}
  .hero-tagline{font-size:14px;line-height:1.45;margin-top:9px}
}

/* v6 — cleaner landing flow */
.hero-details-clean { padding-top: 22px; }
.hero-actions-centered { justify-content: center; }
.button-upload { min-width: 240px; text-align: center; }
.feature-intro .section-heading { margin-bottom: 28px; }
.feature-intro .section-heading h2 { margin-bottom: 0; }
.feature-intro .feature-card p { font-size: 16px; line-height: 1.45; max-width: 28ch; }


/* v7 — refined hero */
.hero-title-block h1 .hero-accent{
  color:var(--prosto);
}
.comparison-stage{
  aspect-ratio:1.6;
}
.hero-details-clean{
  padding-top:0;
  margin-top:18px!important;
}
.button-upload{
  min-width:310px;
  min-height:60px;
  padding:0 36px;
  font-size:17px;
  font-weight:700;
}
@media (min-width:981px){
  .comparison-stage{aspect-ratio:1.6;}
}
@media (max-width:980px){
  .comparison-stage{aspect-ratio:1.6;}
}
@media(max-width:680px){
  .button-upload{width:100%;min-width:0;min-height:56px;font-size:16px;}
  .hero-details-clean{margin-top:16px!important;}
}

/* v8 — hero typography refinements */
.hero-title-block h1 .hero-accent{font-weight:inherit!important;}

/* v11 — planner card copied from the application's home screen */
.planner-section{
  padding-top:18px;
  padding-bottom:104px;
}
.planner-card{
  display:grid;
  grid-template-columns:5fr 6fr;
  min-height:270px;
  overflow:hidden;
  background:#f6f0e7;
  border:1px solid #e6dccf;
  border-radius:22px;
  color:#292826;
  transition:transform .2s ease, box-shadow .2s ease;
}
.planner-card:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 50px rgba(82,69,54,.12);
}
.planner-copy{
  padding:28px 18px 26px 28px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
}
.planner-copy h2{
  margin:0;
  font-family:Roboto,Arial,sans-serif;
  font-size:25px;
  line-height:1.12;
  font-weight:700;
  letter-spacing:0;
  color:#292826;
}
.planner-easy{
  margin-top:2px;
  font-size:25px;
  line-height:1.12;
  font-weight:700;
  color:#c29e68;
}
.planner-copy p{
  margin:12px 0 17px;
  max-width:500px;
  font-size:13px;
  line-height:1.4;
  color:#66615b;
}
.planner-button{
  background:#c29e68;
  color:#fff;
  border-radius:13px;
  min-height:46px;
  padding:0 20px;
  font-size:14px;
  font-weight:700;
  box-shadow:none;
}
.planner-time{
  display:flex;
  align-items:center;
  gap:6px;
  margin-top:10px;
  color:#8a837a;
  font-size:11.5px;
}
.planner-clock{color:#b28e59;font-size:16px;line-height:1}
.planner-picture{padding:12px;min-width:0}
.planner-picture img{
  width:100%;
  height:100%;
  min-height:246px;
  object-fit:cover;
  object-position:center;
  border-radius:18px;
}
@media(max-width:720px){
  .planner-section{padding-top:10px;padding-bottom:76px}
  .planner-card{grid-template-columns:1fr}
  .planner-copy{padding:20px 20px 14px}
  .planner-copy h2,.planner-easy{font-size:21px}
  .planner-picture{padding:0 12px 12px}
  .planner-picture img{min-height:185px}
}

/* v12 — planner block sizing, calmer hover, unified type scale */
.planner-section{
  width:min(1280px,calc(100% - 48px));
  padding-top:18px;
  padding-bottom:104px;
}
.planner-card{
  width:100%;
  max-width:1240px;
  min-height:360px;
  margin:0 auto;
  grid-template-columns:5fr 6fr;
  box-shadow:none;
  transition:none;
}
.planner-card:hover{
  transform:none;
  box-shadow:none;
}
.planner-copy{
  padding:42px 34px 40px 42px;
}
.planner-copy h2,
.planner-easy{
  font-size:clamp(30px,2.5vw,36px);
  line-height:1.12;
  font-weight:700;
}
.planner-copy p{
  margin:18px 0 22px;
  max-width:520px;
  font-size:17px;
  line-height:1.5;
}
.planner-button{
  min-height:52px;
  padding:0 24px;
  font-size:16px;
}
.planner-time{
  margin-top:13px;
  font-size:13px;
}
.planner-picture{
  padding:16px;
}
.planner-picture img{
  min-height:328px;
}
@media(max-width:720px){
  .planner-section{width:min(100% - 28px,1200px);padding-top:10px;padding-bottom:76px}
  .planner-card{min-height:0;grid-template-columns:1fr}
  .planner-copy{padding:28px 24px 20px}
  .planner-copy h2,.planner-easy{font-size:28px}
  .planner-copy p{font-size:16px;margin:14px 0 18px}
  .planner-button{min-height:50px;font-size:15px}
  .planner-time{font-size:12.5px}
  .planner-picture{padding:0 12px 12px}
  .planner-picture img{min-height:220px}
}


/* v13 — planner section title mirrors the hero heading */
.planner-section-title{
  text-align:center;
  margin:0 0 30px;
}
.planner-section-title h2{
  margin:0;
  font-size:clamp(34px,3.4vw,48px);
  font-weight:700;
  line-height:1.08;
  letter-spacing:-.035em;
  color:#292723;
}
.planner-section-title .hero-accent{
  color:#cbb99a;
  font-weight:inherit;
}
@media(max-width:680px){
  .planner-section-title{margin-bottom:24px;}
  .planner-section-title h2{font-size:30px;}
}


/* v14 — planner explainer mirrors the hero explainer */
.planner-explainer{
  max-width:860px;
  margin:14px auto 0;
  font-size:clamp(16px,1.45vw,20px);
  line-height:1.55;
  color:#625e58;
  font-weight:400;
}
@media(max-width:680px){
  .planner-explainer{font-size:15px;line-height:1.5;margin-top:13px;}
}

/* v15 — mobile app promo block */
.mobile-app-section{
  width:min(1280px,calc(100% - 48px));
  padding-bottom:120px;
}
.mobile-app-card{
  width:100%;
  max-width:1240px;
  min-height:430px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr 1.12fr;
  align-items:center;
  overflow:hidden;
  border:1px solid rgba(150,133,110,.18);
  border-radius:28px;
  background:linear-gradient(120deg,#fffdfa 0%,#f3ece2 100%);
  box-shadow:none;
}
.mobile-app-visual{
  height:100%;
  min-height:430px;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  overflow:hidden;
}
.mobile-app-visual img{
  width:100%;
  height:100%;
  min-height:430px;
  object-fit:cover;
  object-position:center;
  mix-blend-mode:multiply;
}
.mobile-app-copy{
  padding:54px 54px 50px 44px;
}
.mobile-app-copy h2{
  margin:0;
  color:#292723;
  font-size:clamp(34px,3.35vw,48px);
  line-height:1.08;
  letter-spacing:-.035em;
  font-weight:700;
}
.mobile-app-copy h2 span{
  color:#cbb99a;
  font-weight:inherit;
}
.mobile-app-lead{
  margin:16px 0 28px;
  max-width:610px;
  color:#625e58;
  font-size:18px;
  line-height:1.5;
}
.mobile-app-product{
  display:grid;
  grid-template-columns:52px 1fr;
  gap:15px;
  align-items:start;
  margin:0 0 27px;
}
.mobile-app-icon{
  width:52px;
  height:52px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:#d7b77f;
  color:#fff;
  font-size:24px;
  font-weight:700;
}
.mobile-app-product strong{
  display:block;
  margin-top:1px;
  font-size:18px;
  line-height:1.35;
}
.mobile-app-product p{
  margin:5px 0 0;
  max-width:560px;
  color:#6d6861;
  font-size:15px;
  line-height:1.5;
}
.mobile-app-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.mobile-store-button{
  min-height:54px;
  padding:0 28px;
  background:#c29e68;
  color:white;
  font-size:15px;
  box-shadow:none;
}
.mobile-store-button:hover{
  background:#b58f59;
}
.mobile-web-button{
  min-height:54px;
  padding:0 26px;
  font-size:15px;
  background:rgba(255,255,255,.55);
}
.mobile-app-note{
  margin:24px 0 0;
  padding-top:18px;
  border-top:1px solid rgba(116,103,87,.14);
  color:#8b857d;
  font-size:13px;
}
@media(max-width:900px){
  .mobile-app-card{grid-template-columns:1fr;}
  .mobile-app-visual{min-height:360px;max-height:500px;}
  .mobile-app-visual img{min-height:360px;}
  .mobile-app-copy{padding:38px 34px 40px;}
}
@media(max-width:680px){
  .mobile-app-section{width:min(100% - 28px,1200px);padding-bottom:80px;}
  .mobile-app-card{border-radius:22px;}
  .mobile-app-visual{min-height:290px;max-height:360px;}
  .mobile-app-visual img{min-height:290px;}
  .mobile-app-copy{padding:30px 22px 28px;}
  .mobile-app-copy h2{font-size:30px;}
  .mobile-app-lead{font-size:16px;margin:13px 0 22px;}
  .mobile-app-product{grid-template-columns:46px 1fr;gap:12px;}
  .mobile-app-icon{width:46px;height:46px;border-radius:12px;}
  .mobile-app-product strong{font-size:16px;}
  .mobile-app-product p{font-size:14px;}
  .mobile-app-actions{display:grid;grid-template-columns:1fr;}
  .mobile-app-actions .button{width:100%;}
  .mobile-app-note{font-size:12.5px;}
}


/* v16 — proprietary AI preservation principle */
.design-lock-section{
  width:min(1280px,calc(100% - 48px));
  padding:24px 0 92px;
}
.design-lock-card{
  width:100%;
  max-width:1240px;
  margin:0 auto;
  padding:48px 54px 34px;
  border:1px solid rgba(150,133,110,.16);
  border-radius:28px;
  background:linear-gradient(135deg,#fffdfa 0%,#f7f1e8 100%);
  box-shadow:none;
}
.design-lock-heading{text-align:center;max-width:900px;margin:0 auto 34px}
.design-lock-kicker{margin-bottom:12px;color:#ad946e;font-size:12px;font-weight:700;letter-spacing:.13em;text-transform:uppercase}
.design-lock-heading h2{margin:0;font-size:clamp(30px,3vw,42px);line-height:1.12;letter-spacing:-.03em;color:#292723;font-weight:700}
.design-lock-heading h2 span{color:#cbb99a;font-weight:inherit}
.design-lock-heading>p{max-width:820px;margin:18px auto 0;color:#625e58;font-size:17px;line-height:1.6}
.design-lock-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid rgba(150,133,110,.18);border-bottom:1px solid rgba(150,133,110,.18)}
.design-lock-item{display:flex;gap:16px;align-items:flex-start;padding:28px 26px;min-width:0}
.design-lock-item+ .design-lock-item{border-left:1px solid rgba(150,133,110,.18)}
.design-lock-icon{flex:0 0 42px;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#f0e8dc;color:#8c7555;font-size:20px}
.design-lock-item strong{display:block;margin:2px 0 7px;color:#292723;font-size:17px}
.design-lock-item p{margin:0;color:#716b63;font-size:14px;line-height:1.5}
.design-lock-change .design-lock-icon{background:#cbb99a;color:#fff}
.design-lock-formula{display:flex;justify-content:center;gap:9px;flex-wrap:wrap;padding-top:25px;color:#514d47;font-size:16px}
.design-lock-formula strong{color:#ad946e}
@media(max-width:760px){
  .design-lock-section{width:min(100% - 28px,1200px);padding:8px 0 68px}
  .design-lock-card{padding:34px 22px 28px;border-radius:22px}
  .design-lock-heading{margin-bottom:25px}
  .design-lock-kicker{font-size:10px}
  .design-lock-heading h2{font-size:28px}
  .design-lock-heading>p{font-size:15px;line-height:1.55}
  .design-lock-grid{grid-template-columns:1fr}
  .design-lock-item{padding:20px 8px}
  .design-lock-item+ .design-lock-item{border-left:0;border-top:1px solid rgba(150,133,110,.18)}
  .design-lock-formula{font-size:14px;text-align:center}
}

/* v17 — dark full-width proprietary AI preservation block */
.design-lock-section{
  width:100%;
  max-width:none;
  margin:0;
  padding:78px 24px 82px;
  background:var(--dark);
  color:#fff;
}
.design-lock-card{
  width:min(1240px,100%);
  max-width:1240px;
  margin:0 auto;
  padding:0;
  border:0;
  border-radius:0;
  background:none;
  box-shadow:none;
}
.design-lock-heading{
  max-width:900px;
  margin:0 auto 38px;
}
.design-lock-kicker{
  color:var(--prosto);
}
.design-lock-heading h2{
  color:#fff;
  font-size:clamp(32px,3.25vw,46px);
}
.design-lock-heading h2 span{
  color:var(--prosto);
}
.design-lock-heading>p{
  color:#c7c3bd;
  font-size:17px;
}
.design-lock-grid{
  border-top:1px solid rgba(255,255,255,.17);
  border-bottom:1px solid rgba(255,255,255,.17);
}
.design-lock-item{
  padding:30px 28px;
}
.design-lock-item + .design-lock-item{
  border-left:1px solid rgba(255,255,255,.17);
}
.design-lock-icon{
  background:rgba(203,185,154,.14);
  color:var(--prosto);
  border:1px solid rgba(203,185,154,.22);
}
.design-lock-item strong{
  color:#fff;
  font-size:18px;
}
.design-lock-item p{
  color:#bdb9b2;
  font-size:14px;
}
.design-lock-change .design-lock-icon{
  background:var(--prosto);
  color:#2b2925;
  border-color:var(--prosto);
}
.design-lock-formula{
  padding-top:30px;
  color:#d7d3cd;
  font-size:17px;
}
.design-lock-formula strong{
  color:var(--prosto);
}
@media(max-width:760px){
  .design-lock-section{
    width:100%;
    max-width:none;
    padding:58px 14px 62px;
  }
  .design-lock-card{
    padding:0;
    border-radius:0;
  }
  .design-lock-heading h2{font-size:30px}
  .design-lock-heading>p{font-size:15px}
  .design-lock-item{padding:22px 8px}
  .design-lock-item + .design-lock-item{
    border-left:0;
    border-top:1px solid rgba(255,255,255,.17);
  }
}


/* v18 — give the planner its own visual breathing room after the dark AI block */
.planner-section{
  padding-top:128px;
}
@media(max-width:760px){
  .planner-section{padding-top:82px;}
}

/* v18 — more breathing room after the dark AI preservation block */
.planner-section{
  padding-top:120px !important;
}
@media(max-width:760px){
  .planner-section{padding-top:82px !important;}
}

/* v19 — full-width dark mobile app band to balance the AI preservation section */
.mobile-app-section{
  width:100%;
  max-width:none;
  margin:0;
  padding:82px 24px 86px;
  background:var(--dark);
  color:#fff;
}
.mobile-app-card{
  width:min(1240px,100%);
  max-width:1240px;
  min-height:460px;
  margin:0 auto;
  grid-template-columns:1fr 1.08fr;
  gap:56px;
  overflow:visible;
  border:0;
  border-radius:0;
  background:none;
  box-shadow:none;
}
.mobile-app-visual{
  min-height:460px;
  border-radius:28px;
  overflow:hidden;
  background:#eee4d5;
}
.mobile-app-visual img{
  min-height:460px;
  object-fit:cover;
  object-position:center;
  mix-blend-mode:normal;
}
.mobile-app-copy{
  padding:34px 16px 34px 0;
}
.mobile-app-copy h2{
  color:#fff;
  font-size:clamp(38px,3.6vw,52px);
}
.mobile-app-copy h2 span{color:var(--prosto)}
.mobile-app-lead{
  color:#c7c3bd;
  font-size:18px;
}
.mobile-app-product{
  padding-top:24px;
  border-top:1px solid rgba(255,255,255,.17);
}
.mobile-app-icon{
  background:rgba(203,185,154,.14);
  color:var(--prosto);
  border:1px solid rgba(203,185,154,.22);
}
.mobile-app-product strong{color:#fff}
.mobile-app-product p{color:#bdb9b2}
.mobile-store-button{
  background:var(--prosto);
  color:#2b2925;
}
.mobile-store-button:hover{background:#d5c4a7}
.mobile-web-button{
  color:#fff;
  border-color:rgba(255,255,255,.28);
  background:rgba(255,255,255,.06);
}
.mobile-web-button:hover{background:rgba(255,255,255,.11)}
.mobile-app-note{
  border-top:1px solid rgba(255,255,255,.17);
  color:#aaa69f;
}
@media(max-width:900px){
  .mobile-app-section{padding:64px 24px 70px}
  .mobile-app-card{grid-template-columns:1fr;gap:34px}
  .mobile-app-copy{padding:0 4px 4px}
}
@media(max-width:680px){
  .mobile-app-section{width:100%;max-width:none;padding:54px 14px 60px}
  .mobile-app-card{border-radius:0}
  .mobile-app-visual{min-height:300px;max-height:380px;border-radius:22px}
  .mobile-app-visual img{min-height:300px}
  .mobile-app-copy{padding:0}
  .mobile-app-copy h2{font-size:31px}
}

/* v20 — restore light mobile card, move tariffs into a full-width dark band, enlarge planner */

/* Taller, more substantial planner card */
.planner-card{
  min-height:470px;
  grid-template-columns:5fr 6fr;
}
.planner-copy{
  padding:58px 42px 52px 48px;
}
.planner-picture{
  padding:20px;
}
.planner-picture img{
  min-height:430px;
  height:100%;
}
@media(max-width:720px){
  .planner-card{min-height:0;}
  .planner-copy{padding:32px 24px 24px;}
  .planner-picture{padding:0 12px 12px;}
  .planner-picture img{min-height:270px;}
}

/* Return the phone promo to the original light card treatment */
.mobile-app-section{
  width:min(1280px,calc(100% - 48px));
  max-width:none;
  margin:0 auto;
  padding:0 0 120px;
  background:transparent;
  color:var(--ink);
}
.mobile-app-card{
  width:100%;
  max-width:1240px;
  min-height:430px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr 1.12fr;
  gap:0;
  align-items:center;
  overflow:hidden;
  border:1px solid rgba(150,133,110,.18);
  border-radius:28px;
  background:linear-gradient(120deg,#fffdfa 0%,#f3ece2 100%);
  box-shadow:none;
}
.mobile-app-visual{
  height:100%;
  min-height:430px;
  max-height:none;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  overflow:hidden;
  border-radius:0;
  background:transparent;
}
.mobile-app-visual img{
  width:100%;
  height:100%;
  min-height:430px;
  object-fit:cover;
  object-position:center;
  mix-blend-mode:multiply;
}
.mobile-app-copy{padding:54px 54px 50px 44px;}
.mobile-app-copy h2{color:#292723;font-size:clamp(34px,3.35vw,48px);}
.mobile-app-copy h2 span{color:#cbb99a;}
.mobile-app-lead{color:#625e58;font-size:18px;}
.mobile-app-product{padding-top:0;border-top:0;}
.mobile-app-icon{background:#d7b77f;color:#fff;border:0;}
.mobile-app-product strong{color:var(--ink);}
.mobile-app-product p{color:#6d6861;}
.mobile-store-button{background:#c29e68;color:white;}
.mobile-store-button:hover{background:#b58f59;}
.mobile-web-button{color:var(--ink);border-color:var(--line);background:rgba(255,255,255,.55);}
.mobile-web-button:hover{background:rgba(255,255,255,.78);}
.mobile-app-note{border-top:1px solid rgba(116,103,87,.14);color:#8b857d;}
@media(max-width:900px){
  .mobile-app-card{grid-template-columns:1fr;gap:0;}
  .mobile-app-visual{min-height:360px;max-height:500px;}
  .mobile-app-visual img{min-height:360px;}
  .mobile-app-copy{padding:38px 34px 40px;}
}
@media(max-width:680px){
  .mobile-app-section{width:min(100% - 28px,1200px);padding:0 0 80px;}
  .mobile-app-card{border-radius:22px;}
  .mobile-app-visual{min-height:290px;max-height:360px;border-radius:0;}
  .mobile-app-visual img{min-height:290px;}
  .mobile-app-copy{padding:30px 22px 28px;}
  .mobile-app-copy h2{font-size:30px;}
}

/* Tariffs become the second full-width dark band */
.plans{
  width:100%;
  max-width:none;
  margin:0;
  padding:90px 24px 100px;
  background:var(--dark);
  color:#fff;
}
.plans > .section-heading,
.plans > .plans-grid{
  width:min(1240px,100%);
  max-width:1240px;
  margin-left:auto;
  margin-right:auto;
}
.plans > .section-heading{margin-bottom:48px;}
.plans .eyebrow{color:var(--prosto);}
.plans .section-heading h2{color:#fff;}
.plans .dev-note{
  color:#c9c4bc;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.11);
}
.plans .dev-note code{color:#e6dfd3;}
.plans .plan-card{
  background:#f7f2ea;
  color:#292723;
  border-color:rgba(255,255,255,.08);
}
.plans .plan-card.plan-featured{
  background:#e7d8c4;
  border-color:#cbb99a;
  box-shadow:0 20px 54px rgba(0,0,0,.28);
}
.plans .plan-card small,
.plans .plan-card li.muted{color:#8e877e;}
@media(max-width:680px){
  .plans{padding:70px 14px 78px;}
}

/* More breathing room between the full-width tariff band and FAQ */
.faq{
  padding-top:130px;
}
@media(max-width:680px){
  .faq{padding-top:90px;}
}

/* v23 — return the page to a unified light palette: no dark full-width bands */
.design-lock-section{
  width:min(1280px,calc(100% - 48px));
  max-width:1280px;
  margin:0 auto;
  padding:0 0 82px;
  background:transparent;
  color:var(--ink);
}
.design-lock-card{
  width:100%;
  max-width:none;
  padding:52px 54px 40px;
  border:1px solid rgba(150,133,110,.18);
  border-radius:28px;
  background:linear-gradient(120deg,#fffdfa 0%,#f0e8dc 100%);
  box-shadow:none;
}
.design-lock-heading{max-width:900px;margin:0 auto 34px;}
.design-lock-kicker{color:#8b7a64;}
.design-lock-heading h2{color:var(--ink);}
.design-lock-heading h2 span{color:var(--prosto);}
.design-lock-heading>p{color:var(--muted);}
.design-lock-grid{
  border-top:1px solid rgba(150,133,110,.20);
  border-bottom:1px solid rgba(150,133,110,.20);
}
.design-lock-item{padding:28px 28px;}
.design-lock-item + .design-lock-item{border-left:1px solid rgba(150,133,110,.20);}
.design-lock-icon{background:#eee4d5;color:#8b7658;border:1px solid rgba(150,133,110,.16);}
.design-lock-item strong{color:var(--ink);}
.design-lock-item p{color:var(--muted);}
.design-lock-change .design-lock-icon{background:var(--prosto);color:#2b2925;border-color:var(--prosto);}
.design-lock-formula{color:#6f6961;}
.design-lock-formula strong{color:#9d8764;}

/* Tariffs return to the normal light page flow */
.plans{
  width:min(1200px,calc(100% - 48px));
  max-width:1200px;
  margin:0 auto;
  padding:110px 0 120px;
  background:transparent;
  color:var(--ink);
}
.plans > .section-heading,
.plans > .plans-grid{width:100%;max-width:none;}
.plans .eyebrow{color:#897a67;}
.plans .section-heading h2{color:var(--ink);}
.plans .dev-note{color:var(--muted);background:#eee7dc;border:0;}
.plans .dev-note code{color:inherit;}
.plans .plan-card{background:var(--paper2);color:var(--ink);border-color:var(--line);}
.plans .plan-card.plan-featured{background:#ebe0cf;border-color:#cab697;box-shadow:0 18px 60px rgba(104,82,56,.14);}

/* With no dark tariff band the FAQ needs less separation */
.faq{padding-top:72px;}

@media(max-width:760px){
  .design-lock-section{width:min(100% - 28px,1280px);padding:0 0 62px;}
  .design-lock-card{padding:34px 22px 28px;border-radius:22px;}
  .design-lock-item + .design-lock-item{border-left:0;border-top:1px solid rgba(150,133,110,.20);}
}
@media(max-width:680px){
  .plans{width:min(100% - 28px,1200px);padding:74px 0 80px;}
  .faq{padding-top:54px;}
}


/* v24 — planner intro label and a taller planner showcase */
.planner-eyebrow{
  margin-bottom:18px;
}
.planner-card{
  min-height:700px;
}
.planner-copy{
  padding:82px 52px 70px 58px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.planner-picture{
  padding:22px;
}
.planner-picture img{
  min-height:656px;
  height:100%;
  object-fit:cover;
}
@media(max-width:900px){
  .planner-card{min-height:600px;}
  .planner-copy{padding:58px 38px 52px 42px;}
  .planner-picture img{min-height:556px;}
}
@media(max-width:720px){
  .planner-card{min-height:0;}
  .planner-copy{padding:34px 24px 26px;display:block;}
  .planner-picture{padding:0 12px 12px;}
  .planner-picture img{min-height:300px;height:auto;}
  .planner-eyebrow{margin-bottom:14px;}
}

/* v25 — align planner copy with the top of the image */
@media(min-width:721px){
  .planner-copy{
    justify-content:flex-start;
    padding-top:48px;
  }
}
@media(min-width:901px){
  .planner-copy{padding-top:54px;}
}

/* ===== AI design detail page ===== */
.design-page-main { padding-bottom: 72px; }
.design-page-hero { padding-top: 88px; text-align: center; }
.design-page-hero .eyebrow { margin-bottom: 18px; }
.design-page-hero h1 { margin: 0 auto; max-width: 980px; font-size: clamp(44px, 5.3vw, 76px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 700; }
.design-page-hero h1 span { color: #CBB99A; }
.design-page-lead { max-width: 900px; margin: 26px auto 0; font-size: clamp(19px, 1.7vw, 25px); line-height: 1.5; color: #55514b; }
.design-page-actions { display:flex; justify-content:center; gap:14px; margin-top:32px; flex-wrap:wrap; }
.design-page-actions .button { min-height: 58px; padding: 0 30px; font-size: 17px; }
.design-page-comparison { margin-top: 54px; }
.design-page-note { margin: 22px auto 0; max-width: 800px; color:#77716a; font-size:15px; line-height:1.55; }
.design-page-lock { margin-top: 86px; }
.design-page-steps { margin-top: 96px; }
.design-page-steps .section-heading { max-width: 820px; margin-left:auto; margin-right:auto; text-align:center; }
.design-page-steps-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:36px; }
.design-page-step { background:#fff; border:1px solid rgba(69,61,50,.10); border-radius:28px; padding:32px 28px; min-height:210px; }
.design-page-step-num { font-size:14px; letter-spacing:.12em; font-weight:700; color:#b19d7d; margin-bottom:24px; }
.design-page-step h3 { font-size:25px; margin:0 0 12px; letter-spacing:-.025em; }
.design-page-step p { margin:0; color:#68635c; line-height:1.6; font-size:16px; }
.design-page-final { margin-top: 94px; text-align:center; padding:58px 30px; border-radius:32px; background:linear-gradient(135deg,#f1eadf,#fbf9f5); border:1px solid rgba(105,90,67,.10); }
.design-page-final h2 { font-size:clamp(34px,4vw,54px); line-height:1.08; letter-spacing:-.035em; margin:0; }
.design-page-final p { max-width:700px; margin:18px auto 28px; color:#666057; font-size:18px; line-height:1.55; }
.design-page-final .button { min-height:58px; padding:0 30px; font-size:17px; }
.design-back { text-decoration:none; color:inherit; }
@media (max-width: 760px) {
  .design-page-hero { padding-top:54px; }
  .design-page-hero h1 { font-size:clamp(38px,12vw,54px); }
  .design-page-comparison { margin-top:38px; }
  .design-page-steps-grid { grid-template-columns:1fr; }
  .design-page-steps, .design-page-lock, .design-page-final { margin-top:64px; }
  .design-page-final { padding:42px 20px; }
}

/* --- Design flow page --- */
.design-flow-page{background:#faf8f4;color:#292826;min-height:100vh}.design-flow-header{position:sticky;top:0;background:rgba(250,248,244,.94);backdrop-filter:blur(14px);z-index:20}.design-flow-back{color:#77736f;text-decoration:none;font-size:14px;font-weight:600}.design-flow-back:hover{color:#292826}.design-flow-shell{width:min(1040px,calc(100% - 40px));margin:0 auto;padding:72px 0 100px}.design-flow-heading{margin-bottom:38px}.design-flow-heading h1{font-size:clamp(38px,5vw,58px);line-height:1.02;margin:10px 0 12px;font-weight:700;letter-spacing:-.035em}.design-flow-heading p{font-size:17px;color:#77736f;margin:0}.project-form{background:#fff;border:1px solid #e9e3da;border-radius:30px;padding:34px;box-shadow:0 18px 55px rgba(58,50,40,.06)}.project-form-label,.project-field>span{display:block;font-size:15px;font-weight:700;color:#3b3936;margin-bottom:10px}.project-photo-panel{margin-bottom:30px}.project-photo-button{position:relative;width:100%;height:clamp(300px,45vw,520px);border:1px dashed #cfc4b5;border-radius:24px;overflow:hidden;background:#f8f5ef;cursor:pointer;padding:0}.project-photo-button img{width:100%;height:100%;object-fit:contain;background:#f3efe8;display:none}.project-photo-button img.is-visible{display:block}.project-photo-placeholder{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#77736f}.project-photo-placeholder strong{font-size:18px;color:#3d3a36}.project-photo-change{position:absolute;right:16px;bottom:16px;background:rgba(255,255,255,.92);border:1px solid #e1d8cc;border-radius:999px;padding:10px 15px;font-weight:700;color:#6e5a43;box-shadow:0 6px 20px rgba(0,0,0,.08)}.project-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px 22px}.project-field-wide{grid-column:1/-1}.project-field input,.project-field select,.project-field textarea{box-sizing:border-box;width:100%;border:1px solid #ddd4c8;background:#fff;border-radius:16px;padding:15px 16px;font:inherit;color:#292826;outline:none;transition:border-color .18s,box-shadow .18s}.project-field textarea{resize:vertical;min-height:150px}.project-field input:focus,.project-field select:focus,.project-field textarea:focus{border-color:#cbb99a;box-shadow:0 0 0 4px rgba(203,185,154,.18)}.project-submit{width:100%;min-height:58px;margin-top:34px;font-size:16px;border:0;cursor:pointer}.project-submit-note{text-align:center;color:#98928a;font-size:12.5px;line-height:1.45;margin:14px auto 0;max-width:700px}.button-upload{border:0;cursor:pointer;font:inherit}
@media(max-width:720px){.design-flow-shell{width:min(100% - 24px,1040px);padding:44px 0 70px}.project-form{padding:20px;border-radius:24px}.project-form-grid{grid-template-columns:1fr;gap:22px}.project-field-wide{grid-column:auto}.project-photo-button{height:330px}.design-flow-heading h1{font-size:40px}.design-flow-back{font-size:13px}}

/* v30: robust native photo picker + stronger primary upload CTA */
.button-upload{color:#fff!important;font-family:Roboto,Arial,sans-serif!important;font-size:16px!important;font-weight:800!important;letter-spacing:.01em;cursor:pointer;user-select:none;}
.button-upload:hover{color:#fff!important;}
.button-upload.is-loading{pointer-events:none;opacity:.78;}

/* v31: unified primary CTA typography */
.project-submit{color:#fff!important;font-family:Roboto,Arial,sans-serif!important;font-weight:800!important;}
.project-submit:hover{color:#fff!important;}

/* v32 — unified button system */
.button,
.button-upload,
.project-submit,
.planner-button,
.mobile-store-button {
  border-radius:13px !important;
  font-family:'Roboto','Segoe UI',Arial,sans-serif;
  font-weight:700;
}
.button-primary,
.button-upload,
.project-submit,
.planner-button,
.mobile-store-button {
  background:#c29e68 !important;
  color:#fff !important;
  border-color:#c29e68 !important;
}
.button-primary:hover,
.button-upload:hover,
.project-submit:hover,
.planner-button:hover,
.mobile-store-button:hover {
  color:#fff !important;
  background:#b8905a !important;
}
.plan-featured .button-primary { color:#fff !important; }

/* v33 — AI project form: unified budget selector and cleaner project flow */
.budget-field{border:0;padding:0;margin:0;min-width:0}
.budget-field>legend{display:block;width:100%;font-size:15px;font-weight:700;color:#3b3936;margin:0 0 10px;padding:0}
.budget-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.budget-option{display:block;cursor:pointer;min-width:0}
.budget-option input{position:absolute;opacity:0;pointer-events:none}
.budget-option-card{display:flex;min-height:92px;box-sizing:border-box;flex-direction:column;justify-content:center;gap:5px;border:1px solid #ddd4c8;border-radius:16px;background:#fff;padding:16px;transition:border-color .18s,background .18s,box-shadow .18s,transform .18s}
.budget-option-card strong{font-size:15px;color:#292826}
.budget-option-card small{font-size:12.5px;line-height:1.35;color:#817b73}
.budget-option:hover .budget-option-card{border-color:#cbb99a;background:#fcfaf6}
.budget-option input:checked + .budget-option-card{border-color:#cbb99a;background:#f5efe5;box-shadow:0 0 0 3px rgba(203,185,154,.15)}
.budget-option input:focus-visible + .budget-option-card{outline:3px solid rgba(203,185,154,.28);outline-offset:2px}
.project-submit-status{margin-top:14px;border-radius:13px;padding:13px 16px;text-align:center;font-size:13px;font-weight:600;background:#f5efe5;color:#6e5a43}
.project-submit-status.is-error{background:#fff1ef;color:#9a4035}
@media(max-width:720px){.budget-options{grid-template-columns:1fr}.budget-option-card{min-height:76px}}

/* v34 — buttons stay flat: no shadows or lift effects */
.button,
.button-primary,
.button-dark,
.button-ghost,
.button-upload,
.project-submit,
.project-photo-button,
.project-photo-change,
.planner-cta,
.mobile-app-cta,
.plan-card .button,
.hero-upload-label {
  box-shadow:none !important;
}
.button:hover,
.button-primary:hover,
.button-dark:hover,
.button-ghost:hover,
.button-upload:hover,
.project-submit:hover,
.project-photo-button:hover,
.project-photo-change:hover,
.planner-cta:hover,
.mobile-app-cta:hover,
.plan-card .button:hover,
.hero-upload-label:hover {
  box-shadow:none !important;
  transform:none !important;
}

/* v35 — budget selector stays completely flat */
.budget-option-card,
.budget-option:hover .budget-option-card,
.budget-option input:checked + .budget-option-card,
.budget-option input:focus-visible + .budget-option-card {
  box-shadow:none !important;
  transform:none !important;
}
.budget-option input:checked + .budget-option-card {
  border-color:#cbb99a;
  background:#f5efe5;
}

/* Website AI generation flow */
.site-auth-panel{margin-top:24px;border:1px solid #e2d9cc;border-radius:22px;background:#fbf8f2;padding:24px;box-shadow:none}
.site-auth-copy{display:flex;flex-direction:column;gap:5px;margin-bottom:18px}.site-auth-copy strong{font-size:19px;color:#292826}.site-auth-copy span{font-size:13.5px;color:#7e7870;line-height:1.45}
.site-auth-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.site-login-button{margin-top:18px;min-height:50px;border:0;box-shadow:none;cursor:pointer}.site-auth-status{margin-top:12px;border-radius:13px;padding:12px 14px;background:#f3ecdf;color:#6e5a43;font-size:13px;font-weight:600}.site-auth-status.is-error{background:#fff1ef;color:#9a4035}
.generation-progress-panel{display:flex;align-items:center;gap:18px;margin-top:28px;padding:22px 24px;border:1px solid #e4dccf;border-radius:22px;background:#faf7f1}.generation-progress-panel>div:last-child{display:flex;flex-direction:column;gap:5px}.generation-progress-panel strong{font-size:17px}.generation-progress-panel span{font-size:13.5px;color:#817b73}
.generation-spinner{width:28px;height:28px;border:3px solid #e4d9c8;border-top-color:#bda681;border-radius:50%;animation:pa-spin .85s linear infinite;flex:0 0 auto}@keyframes pa-spin{to{transform:rotate(360deg)}}
.generation-result-panel{margin-top:36px;padding-top:34px;border-top:1px solid #ebe4da}.generation-result-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px}.generation-result-heading h2{font-size:clamp(28px,4vw,40px);margin:6px 0 0}.generation-result-panel img{display:block;width:100%;max-height:760px;object-fit:contain;background:#f3efe8;border:1px solid #e5ddd1;border-radius:22px}.generation-again{box-shadow:none;white-space:nowrap}
.project-submit:disabled,.site-login-button:disabled{opacity:.58;cursor:wait}
@media(max-width:720px){.site-auth-grid{grid-template-columns:1fr}.generation-result-heading{align-items:flex-start;flex-direction:column}.generation-again{width:100%}.generation-progress-panel{align-items:flex-start}}

/* v38: native hidden state must override component display rules. */
[hidden] { display: none !important; }


/* Единая навигация: локальные кнопки «Назад» живут внутри страницы, не в шапке */
.page-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 26px;
  color: #6f675d;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.page-back-link:hover { color: #2f2d2a; }

/* Unified page background — keep every site screen on the same canvas as the landing page. */
html,
body,
body.design-flow-page,
body.visualization-page,
body.projects-page,
body.project-page,
body.compare-page {
  background: var(--paper) !important;
}

/* v15.4 — flat visual language: no decorative shadows on the public site */
.comparison-stage,
.comparison-divider span,
.plan-card,
.plan-card.plan-featured,
.showcase-image img,
.feature-card,
.plan-room,
.pdf-demo,
.button,
.button-primary,
.project-form,
.project-photo-change {
  box-shadow:none !important;
}

/* v21.9 — keep the public-site header on exactly the same horizontal grid on every page.
   Use layout width (100%), not 100vw, so the vertical scrollbar cannot shift the right navigation. */
html { scrollbar-gutter: stable; }
.site-header {
  padding-left: max(24px, calc((100% - 1200px) / 2));
  padding-right: max(24px, calc((100% - 1200px) / 2));
}
@media(max-width:680px){
  .site-header { padding-left:14px; padding-right:14px; }
}

html{scroll-behavior:smooth;}

#download-app{scroll-margin-top:110px;}

#top,#planner,#plans,#faq,#download-app{scroll-margin-top:96px;}

/* Key value proposition emphasis */
.architecture-emphasis {
  color: #34312d;
  font-weight: 700;
}

/* Planner subtitle: keep the whole sentence on one line on desktop */
@media (min-width: 900px) {
  .planner-section-title .planner-explainer {
    max-width: none;
    width: max-content;
    white-space: nowrap;
  }
}
.planner-section-title .planner-ai-highlight {
  color: #222;
  font-weight: 700;
}

/* Unified Planner anchor fallback for direct links from any site page. */
#planner {
  scroll-margin-top: 118px;
}

/* Shared account dialog: website + mobile use the same backend account. */
body.auth-modal-open{overflow:hidden}
.prosto-auth-modal[hidden]{display:none!important}
.prosto-auth-modal{position:fixed;inset:0;z-index:30000;display:grid;place-items:center;padding:24px}
.prosto-auth-backdrop{position:absolute;inset:0;background:rgba(32,29,25,.46);backdrop-filter:blur(6px)}
.prosto-auth-card{position:relative;width:min(460px,100%);max-height:calc(100vh - 48px);overflow:auto;background:#f8f4ed;border:1px solid rgba(137,122,103,.22);border-radius:28px;padding:34px;box-shadow:0 28px 90px rgba(28,24,19,.24)}
.prosto-auth-close{position:absolute;right:18px;top:15px;width:38px;height:38px;border:0;border-radius:50%;background:transparent;font-size:27px;color:#777069;cursor:pointer}
.prosto-auth-brand{font-size:13px;font-weight:760;letter-spacing:.07em;margin-bottom:25px;color:#c0a77f}.prosto-auth-brand b{color:#8d8d8d}.prosto-auth-brand span{color:#b39a73}
.prosto-auth-card h2{margin:0;font-family:Georgia,"Times New Roman",serif;font-size:34px;font-weight:500;letter-spacing:-.025em}
.prosto-auth-lead{margin:9px 0 24px;color:#77716a;font-size:14px;line-height:1.5}
.auth-field{display:grid;gap:7px;margin:0 0 14px}.auth-field span{font-size:12px;font-weight:700;color:#6f6962}
.auth-field input{width:100%;height:48px;border:1px solid #d8d0c5;border-radius:13px;background:#fff;padding:0 14px;font:inherit;outline:none}.auth-field input:focus{border-color:#bba98c;box-shadow:0 0 0 3px rgba(187,169,140,.13)}
.prosto-auth-submit{width:100%;margin-top:6px;border:0;cursor:pointer}.prosto-auth-submit:disabled{opacity:.55;cursor:wait}
.prosto-auth-links{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:7px 10px;margin-top:18px;color:#77716a;font-size:13px}
.prosto-auth-links button{border:0;background:none;padding:2px;color:#5d5143;font:inherit;font-weight:700;cursor:pointer}
.prosto-auth-status{margin-top:15px;border-radius:13px;padding:11px 13px;background:#edf4e8;color:#4f6c43;font-size:13px;font-weight:650}.prosto-auth-status.is-error{background:#fff0ed;color:#984338}
.prosto-auth-hint{font-size:12px;color:#8a837b;margin:-3px 0 14px}.prosto-auth-email{padding:10px 12px;margin:0 0 14px;border-radius:12px;background:#eee7dc;color:#61584e;font-size:13px;font-weight:700}
@media(max-width:560px){.prosto-auth-modal{padding:12px}.prosto-auth-card{padding:28px 20px;border-radius:23px}.prosto-auth-card h2{font-size:30px}}

/* Projects created by the mobile planner are visible in the shared account but not opened by the web planner. */
.project-card-mobile{background:#f1f0ed;border-color:#e2dfda!important}.project-card-mobile .project-card-link{cursor:default}.project-card-mobile .project-card-image{filter:grayscale(1);opacity:.48}.project-card-mobile .project-card-body{color:#777}.project-card-mobile .project-card-top span{color:#777!important;background:#e8e6e2;border-radius:999px;padding:5px 8px}.project-card-mobile:hover{border-color:#e2dfda!important}.project-mobile-note{margin:-7px 0 13px;font-size:12px;font-weight:700;color:#8b8379}
.account-shell{width:min(1080px,calc(100% - 48px));margin:0 auto;padding:70px 0 100px}.account-heading{margin-bottom:34px}.account-heading h1{font-family:Georgia,"Times New Roman",serif;font-size:48px;font-weight:500;margin:8px 0}.account-heading p{color:#777068}.account-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(300px,.7fr);gap:24px;align-items:start}.account-card{background:#fff;border:1px solid #ece5da;border-radius:24px;padding:26px}.account-card h2{margin:0 0 20px;font-size:21px}.account-row{display:grid;grid-template-columns:150px 1fr;gap:14px;padding:13px 0;border-bottom:1px solid #eee9e2}.account-row:last-child{border-bottom:0}.account-row span{font-size:12px;color:#8d857c}.account-row strong{font-size:14px}.account-form{display:grid;gap:14px}.account-form label{display:grid;gap:7px;font-size:12px;font-weight:700;color:#6f6962}.account-form input{height:46px;border:1px solid #d8d0c5;border-radius:12px;padding:0 13px;font:inherit;outline:none}.account-form input:focus{border-color:#bba98c}.account-form .button{border:0;cursor:pointer;justify-content:center}.account-form .button:disabled{opacity:.55}.account-status{margin-top:13px;padding:10px 12px;border-radius:11px;background:#edf4e8;color:#4f6c43;font-size:13px}.account-status.is-error{background:#fff0ed;color:#984338}.account-usage{display:grid;gap:16px}.account-usage-item{background:#f7f4ef;border-radius:16px;padding:16px}.account-usage-item b{display:block;font-size:24px;margin-top:5px}.account-usage-item span{font-size:12px;color:#817970}.account-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.account-danger{margin-top:24px;border-color:#eadbd7}.account-danger h2{color:#8d493f}.account-danger p{color:#817970;font-size:13px;line-height:1.55}.account-danger .button{border:1px solid #d8b9b3;background:#fff;color:#914b41;cursor:pointer}.account-login-required{text-align:center;padding:70px 24px}.account-login-required h2{font-size:30px}.account-login-required p{color:#777068}.account-login-required .button{border:0;cursor:pointer}
@media(max-width:800px){.account-grid{grid-template-columns:1fr}.account-shell{width:min(100% - 28px,1080px);padding-top:40px}.account-heading h1{font-size:38px}.account-row{grid-template-columns:1fr;gap:4px}}

/* account v2: account page must remain visible while API data is loading */
body.account-page{min-height:100vh;background:var(--paper)!important;color:var(--ink)!important}
body.account-page .site-header{display:flex!important}
body.account-page .account-shell{display:block!important;min-height:calc(100vh - 82px)}

/* Account v3: same UI font as the rest of the interface; no serif title. */
.account-heading h1{font-family:inherit!important;font-weight:650!important;letter-spacing:-.025em!important}
.account-card h2{font-family:inherit!important}

/* Account tariff indicator */
.header-actions .button-ghost{gap:8px}.header-account-name{display:inline-block}.header-plan-badge{font-size:10px;line-height:1;font-weight:800;letter-spacing:.12em;color:#b39b76;border-left:1px solid rgba(179,155,118,.35);padding-left:8px}

/* Account: tariff management + session actions */
.account-plan-summary{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:4px}
.account-plan-summary>div{display:flex;flex-direction:column;gap:5px}
.account-plan-label{font-size:12px;color:#8a837a}
.account-plan-summary strong{font-size:24px;line-height:1;font-weight:800;letter-spacing:.04em}
.account-plan-note,.account-session-card p{margin:16px 0 0;color:#777168;font-size:13px;line-height:1.5}
.account-session-card .account-actions{margin-top:18px}
.account-session-card .button{width:100%}
@media(max-width:560px){.account-plan-summary{align-items:stretch;flex-direction:column}.account-plan-summary .button{width:100%}}

.account-developer-card{margin-bottom:24px;border:1px dashed rgba(179,155,118,.55);background:#fbf8f2}
.account-developer-card[hidden]{display:none!important}
.account-developer-card p{margin:8px 0 16px;color:#777168;font-size:13px;line-height:1.5}
.developer-plan-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.developer-plan-buttons button{min-height:42px;border:1px solid #ddd4c8;border-radius:10px;background:#fff;font:700 12px Roboto,Arial,sans-serif;cursor:pointer}
.developer-plan-buttons button.is-active{background:#c7a267;border-color:#c7a267;color:#fff}
.developer-plan-buttons button:disabled{opacity:.55;cursor:wait}


/* Account action dialogs */
body.account-modal-open{overflow:hidden}
.account-action-modal[hidden]{display:none!important}
.account-action-modal{position:fixed;inset:0;z-index:31000;display:grid;place-items:center;padding:24px}
.account-action-backdrop{position:absolute;inset:0;background:rgba(32,29,25,.46);backdrop-filter:blur(6px)}
.account-action-card{position:relative;width:min(460px,100%);background:#f8f4ed;border:1px solid rgba(137,122,103,.22);border-radius:28px;padding:34px;text-align:center;box-shadow:0 28px 90px rgba(28,24,19,.24)}
.account-action-close{position:absolute;right:18px;top:15px;width:38px;height:38px;border:0;border-radius:50%;background:transparent;font-size:27px;color:#777069;cursor:pointer}
.account-action-brand{font-size:13px;font-weight:760;letter-spacing:.07em;margin-bottom:22px;color:#c0a77f}.account-action-brand b{color:#8d8d8d}.account-action-brand span{color:#b39a73}
.account-action-icon{width:58px;height:58px;margin:0 auto 18px;border-radius:50%;display:grid;place-items:center;background:#edf4e8;color:#58714d;font-size:27px;font-weight:800}
.account-action-card h2{margin:0;font-family:Georgia,"Times New Roman",serif;font-size:31px;font-weight:500;letter-spacing:-.025em}
.account-action-card p{margin:11px auto 0;max-width:370px;color:#77716a;font-size:14px;line-height:1.58}
.account-action-buttons{display:flex;justify-content:center;gap:10px;margin-top:25px}.account-action-buttons .button{border:0;cursor:pointer;min-width:128px;justify-content:center}.account-action-buttons .button-ghost{border:1px solid #d8d0c5;background:#fff}
.account-action-modal.is-danger .account-action-icon{background:#fff0ed;color:#984338}
.account-action-modal.is-danger .account-action-card{border-color:#eadbd7}
.account-danger-button{background:#914b41;color:#fff}.account-danger-button:hover{filter:brightness(.96)}
@media(max-width:560px){.account-action-modal{padding:12px}.account-action-card{padding:30px 20px 24px;border-radius:23px}.account-action-card h2{font-size:28px}.account-action-buttons{flex-direction:column-reverse}.account-action-buttons .button{width:100%}}

/* Account password visibility */
.account-password-wrap{position:relative;display:block;width:100%}
.account-password-wrap>input{width:100%;padding-right:46px!important}
.account-password-toggle{position:absolute;right:10px;top:50%;transform:translateY(-50%);width:32px;height:32px;border:0;background:transparent;padding:5px;display:grid;place-items:center;cursor:pointer;color:#777;border-radius:8px}
.account-password-toggle:hover{background:rgba(0,0,0,.045);color:#2d2b28}
.account-password-toggle:focus-visible{outline:2px solid #c7a267;outline-offset:1px}
.account-password-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.account-password-toggle.is-visible{color:#b78d50}

/* Global flat UI: shadows intentionally disabled. */
*,*::before,*::after{box-shadow:none!important}
.auth-password-wrap,.auth-input-wrap{position:relative;display:block;width:100%}
.auth-password-wrap>input,.auth-input-wrap>input{width:100%}
.auth-password-wrap>input{padding-right:46px!important}
.auth-password-toggle{position:absolute;right:9px;top:50%;transform:translateY(-50%);width:32px;height:32px;border:0;background:transparent;padding:5px;display:grid;place-items:center;cursor:pointer;color:#777;border-radius:8px}
.auth-password-toggle:hover{background:rgba(0,0,0,.045);color:#2d2b28}
.auth-password-toggle:focus-visible{outline:2px solid #c7a267;outline-offset:1px}
.auth-password-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.auth-password-toggle.is-visible{color:#b78d50}

/* START is the default free plan, so it has no selectable CTA. */
.plan-current-note{
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#8a8176;
  font-size:13px;
  font-weight:600;
  text-align:center;
}

.plan-current-button{
  width:100%;
  border:1px solid #e2ddd5;
  border-radius:10px;
  background:#fff;
  appearance:none;
  cursor:default!important;
  pointer-events:none;
}
.plan-current-button:disabled{
  opacity:1;
  cursor:default!important;
}

/* START CTA: visually aligned with HOME/STUDIO, intentionally non-interactive. */
.plan-current-note.plan-current-button{
  min-height:0;
  height:auto;
  padding:12px 16px;
  margin:0;
  width:100%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  border:1px solid #e2ddd5;
  border-radius:10px;
  background:#fff;
  color:#2f2c28!important;
  font:inherit;
  font-weight:700;
  line-height:1.2;
  opacity:1!important;
  cursor:default!important;
  pointer-events:none!important;
}

/* Exact START CTA baseline alignment with HOME/STUDIO. */
.plan-card:first-child{
  display:flex!important;
  flex-direction:column!important;
}
.plan-card:first-child .plan-current-button{
  margin-top:auto!important;
  margin-bottom:0!important;
  flex:0 0 auto!important;
}

/* mobile-safe-v1 — additive responsive layer; desktop rules above stay untouched */
.mobile-nav-only{display:none}
@media(max-width:680px){
  html,body{max-width:100%;overflow-x:hidden}
  body{font-size:15px}
  .site-header{gap:10px;z-index:100;height:64px;padding:0 14px}
  .brand{font-size:15px;letter-spacing:.035em}
  .menu-button{margin-left:auto;width:42px;height:42px;display:grid;place-items:center;border-radius:12px;color:var(--ink);cursor:pointer}
  .nav.mobile-open{top:64px;z-index:101;padding:12px 14px 18px;gap:4px;border-bottom:1px solid var(--line);background:rgba(247,244,238,.985);backdrop-filter:blur(18px)}
  .nav.mobile-open a{display:flex;align-items:center;min-height:46px;padding:0 12px;border-radius:12px;font-size:15px;font-weight:600}
  .nav.mobile-open a:active{background:rgba(203,185,154,.16)}
  .nav.mobile-open .mobile-nav-only{display:flex}
  .nav.mobile-open .mobile-nav-account{margin-top:8px;border-top:1px solid var(--line);border-radius:0;padding-top:8px}
  .header-actions{display:none}

  .section-shell{width:calc(100% - 28px)}
  .hero{padding-top:32px;padding-bottom:48px}
  .hero-title-block{margin-bottom:20px!important}
  .hero-title-block .eyebrow{margin-bottom:12px;font-size:9.5px;line-height:1.4}
  .hero-title-block h1{font-size:clamp(30px,9vw,38px)!important;line-height:1.06}
  .hero-explainer{max-width:34ch;font-size:15px;line-height:1.48}
  .comparison-stage{aspect-ratio:1.18;border-radius:18px}
  .compare-label{top:10px;padding:5px 9px;font-size:10px}
  .compare-before{left:10px}.compare-after-label{right:10px}
  .comparison-divider span{width:38px;height:38px}
  .comparison-caption{max-width:32ch;margin:10px auto 0;font-size:11px;line-height:1.4}
  .hero-details{margin-top:22px!important;padding-top:0}
  .button-upload{width:100%;min-height:50px}

  .design-lock-section{padding:48px 14px 52px}
  .design-lock-heading{margin-bottom:24px}
  .design-lock-kicker{font-size:9px;line-height:1.45}
  .design-lock-heading h2{font-size:28px;line-height:1.1}
  .design-lock-heading>p{font-size:14px;line-height:1.55}
  .design-lock-item{gap:14px;padding:18px 4px}
  .design-lock-icon{flex-basis:38px;width:38px;height:38px;font-size:18px}
  .design-lock-item strong{font-size:16px}.design-lock-item p{font-size:13px}
  .design-lock-formula{justify-content:flex-start;gap:6px;padding-top:22px;font-size:13px;text-align:left}

  .planner-section{width:calc(100% - 28px);padding-top:52px;padding-bottom:64px}
  .planner-section-title{margin-bottom:22px}
  .planner-section-title .eyebrow{font-size:9.5px;line-height:1.45;margin-bottom:12px}
  .planner-section-title h2{font-size:30px;line-height:1.08}
  .planner-explainer{font-size:14px;line-height:1.5}
  .planner-card{border-radius:20px;overflow:hidden}
  .planner-copy{padding:26px 20px 20px}
  .planner-copy h2,.planner-easy{font-size:25px}
  .planner-copy p{font-size:14px;line-height:1.5}
  .planner-button{width:100%;min-height:50px;padding:0 14px}
  .planner-time{font-size:11.5px;line-height:1.35}
  .planner-picture{padding:0 10px 10px}
  .planner-picture img{min-height:0;aspect-ratio:1.35;border-radius:15px}

  .mobile-app-section{width:calc(100% - 28px);padding-bottom:64px}
  .mobile-app-card{border-radius:20px}
  .mobile-app-visual{min-height:0;max-height:none;aspect-ratio:1.15}
  .mobile-app-visual img{min-height:0}
  .mobile-app-copy{padding:26px 20px 24px}
  .mobile-app-copy h2{font-size:29px;line-height:1.08}
  .mobile-app-lead{font-size:15px}
  .mobile-app-product{grid-template-columns:42px 1fr;gap:11px}
  .mobile-app-icon{width:42px;height:42px}
  .mobile-app-product strong{font-size:15px}.mobile-app-product p{font-size:13px;line-height:1.45}
  .mobile-app-actions{grid-template-columns:1fr}.mobile-app-actions .button{width:100%;min-height:50px}

  .plans{padding:58px 14px 64px}
  .plans .section-heading{margin-bottom:30px}
  .plans .section-heading h2{font-size:30px;line-height:1.1}
  .dev-note{font-size:11px!important;line-height:1.45;overflow-wrap:anywhere}
  .plans-grid{gap:14px}
  .plan-card{padding:24px 20px;border-radius:20px}
  .plan-card h3{font-size:38px}
  .plan-card ul{margin:24px 0;gap:11px}

  .faq{padding-top:58px;padding-bottom:64px}
  .faq .section-heading{margin-bottom:28px}
  .faq .section-heading h2{font-size:30px}
  details{padding:18px 2px}
  summary{gap:12px;font-size:17px;line-height:1.35}
  details p{font-size:14px;line-height:1.55}

  .footer{padding:42px 14px 28px}
  .footer-links{gap:12px 18px}
  .footer-bottom{font-size:11px}
}

@media(max-width:380px){
  .brand{font-size:14px}
  .hero-title-block h1{font-size:29px!important}
  .planner-section-title h2,.plans .section-heading h2,.faq .section-heading h2{font-size:28px}
  .mobile-app-copy h2{font-size:27px}
}

/* mobile-safe-v2 — text alignment refinements from phone review */
@media(max-width:680px){
  /* Hero: align the whole intro block to the same left/right edges as the comparison slider. */
  .hero-title-block{
    width:100%;
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
    text-align:left!important;
  }
  .hero-title-block .eyebrow,
  .hero-title-block h1,
  .hero-title-block .hero-explainer{
    width:100%;
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
    text-align:left!important;
  }
  .hero-title-block .hero-explainer{margin-top:13px!important}

  /* Proprietary-development block: all copy starts on one left edge. */
  .design-lock-heading{
    width:100%;
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
    text-align:left!important;
  }
  .design-lock-kicker,
  .design-lock-heading h2,
  .design-lock-heading>p{
    width:100%;
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
    text-align:left!important;
  }
  .design-lock-heading>p{margin-top:16px!important}

  /* Planner intro: use the full content width and one common left edge. */
  .planner-section-title{
    width:100%;
    max-width:none!important;
    text-align:left!important;
  }
  .planner-section-title .eyebrow,
  .planner-section-title h2,
  .planner-section-title .planner-explainer{
    width:100%;
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
    text-align:left!important;
  }
  .planner-section-title .planner-explainer{margin-top:14px!important}
}

/* mobile-safe-v3 — unify mobile content edges */
@media(max-width:680px){
  /* Slider caption and upload CTA use exactly the slider width. */
  .comparison-caption{
    width:100%;
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:0!important;
    padding-right:0!important;
    box-sizing:border-box;
    text-align:center;
  }
  .hero-details,
  .hero-details-clean,
  .hero-actions,
  .hero-actions-centered{
    width:100%;
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  .button-upload{width:100%!important;max-width:none!important;}

  /* Keep the proprietary-development card on the same outer edges as the hero. */
  .design-lock-section{
    width:calc(100% - 28px)!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding-left:0!important;
    padding-right:0!important;
  }
  .design-lock-card{width:100%!important;max-width:none!important;}

  /* Tariff heading and all three tariff cards share the same mobile width. */
  .plans{
    width:calc(100% - 28px)!important;
    max-width:none!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding-left:0!important;
    padding-right:0!important;
  }
  .plans > .section-heading,
  .plans > .plans-grid{
    width:100%!important;
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  .plans-grid{grid-template-columns:1fr!important;}
  .plan-card{width:100%!important;max-width:none!important;}
}


/* Mobile planner blocker: the web CAD workspace remains desktop-only. */
.planner-mobile-blocked-modal[hidden]{display:none!important}
.planner-mobile-blocked-modal{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:20px}
.planner-mobile-blocked-backdrop{position:absolute;inset:0;background:rgba(31,28,24,.48);backdrop-filter:blur(4px)}
.planner-mobile-blocked-card{position:relative;width:min(100%,420px);box-sizing:border-box;padding:30px 24px 22px;border:1px solid rgba(203,185,154,.55);border-radius:24px;background:#f8f4ed;box-shadow:0 24px 70px rgba(31,28,24,.18);text-align:left}
.planner-mobile-blocked-brand{margin-bottom:18px;font-size:13px;font-weight:800;letter-spacing:.08em;color:#8f8068}
.planner-mobile-blocked-brand span{color:#cbb99a}
.planner-mobile-blocked-card h2{margin:0 36px 12px 0;font-size:27px;line-height:1.08;letter-spacing:-.035em;color:#2e2b27}
.planner-mobile-blocked-card p{margin:0;color:#716b63;font-size:15px;line-height:1.55}
.planner-mobile-blocked-close{position:absolute;right:16px;top:14px;width:38px;height:38px;border:0;border-radius:50%;background:transparent;color:#514c45;font-size:30px;line-height:1;cursor:pointer}
.planner-mobile-blocked-actions{display:grid;gap:10px;margin-top:22px}
.planner-mobile-blocked-actions .button{width:100%;min-height:48px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;text-decoration:none}
body.planner-mobile-modal-open{overflow:hidden}
@media(max-width:680px){
  .planner-mobile-blocked-modal{padding:16px}
  .planner-mobile-blocked-card{padding:28px 20px 20px;border-radius:20px}
  .planner-mobile-blocked-card h2{font-size:25px}
}

/* mobile-safe-v4 — taller planner illustration + single-line CTA */
@media(max-width:680px){
  /* Keep the current mobile image width, but make the illustration visibly taller. */
  .planner-picture{
    align-self:stretch;
  }
  .planner-picture img{
    width:100%!important;
    height:100%!important;
    min-height:260px!important;
    aspect-ratio:auto!important;
    object-fit:cover!important;
    object-position:center!important;
  }

  /* Keep “Создать планировку” on one line. */
  .planner-button{
    white-space:nowrap!important;
    font-size:14px!important;
    padding-left:10px!important;
    padding-right:10px!important;
  }
}

/* mobile-safe-v6 — hard stop for accidental page-level horizontal panning */
@media(max-width:720px){
  html{
    width:100%;
    max-width:100%;
    overflow-x:clip!important;
    overscroll-behavior-x:none;
  }
  body{
    width:100%;
    max-width:100%;
    min-width:0!important;
    overflow-x:clip!important;
    overscroll-behavior-x:none;
  }
  body > main,
  .design-flow-shell,
  .projects-shell,
  .project-details-shell,
  .visualization-shell,
  .compare-page-shell,
  .account-shell{
    max-width:100%!important;
    min-width:0!important;
  }
  .design-flow-shell{
    width:calc(100% - 24px)!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  .design-flow-heading,
  .project-form,
  .project-photo-panel,
  .project-form-grid,
  .project-field,
  .budget-field,
  .site-auth-panel{
    min-width:0!important;
    max-width:100%!important;
  }
  .project-form{width:100%!important;overflow:hidden;}
  .project-photo-button{max-width:100%!important;}

  /* Login/register dialog must always remain inside the phone viewport. */
  .prosto-auth-modal{
    width:100%!important;
    max-width:100%!important;
    overflow-x:hidden!important;
    padding:12px!important;
  }
  .prosto-auth-card{
    width:100%!important;
    max-width:460px!important;
    min-width:0!important;
    margin:0 auto!important;
    overflow-x:hidden!important;
  }
  .prosto-auth-card form,
  .auth-field,
  .auth-input-wrap,
  .auth-password-wrap,
  .auth-field input{
    min-width:0!important;
    max-width:100%!important;
  }
}

/* mobile-safe-v8 — truly lock page to the phone viewport.
   Previous overflow clipping hid overflow but some mobile browsers could still pan the root.
   These rules allow only vertical page gestures; interactive before/after controls opt out below. */
@media(max-width:720px){
  html,body{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    overflow-x:hidden!important;
    overscroll-behavior-x:none!important;
    touch-action:pan-y pinch-zoom;
  }
  body{position:relative!important;left:0!important;right:0!important;}
  .site-header,
  body > main,
  .section-shell,
  .design-flow-shell,
  .projects-shell,
  .project-details-shell,
  .visualization-shell,
  .compare-page-shell,
  .account-shell,
  .project-page-auth,
  .project-page-status{
    min-width:0!important;
    max-width:100%!important;
  }
  .site-header{width:100%!important;max-width:100%!important;left:0!important;right:0!important;}
  .project-form,
  .project-form-grid,
  .project-photo-panel,
  .project-photo-button,
  .project-field,
  .budget-field,
  .generation-result-panel,
  .site-auth-panel{
    min-width:0!important;
    max-width:100%!important;
  }
  .prosto-auth-modal,
  .planner-mobile-blocked-modal{
    width:100%!important;
    max-width:100%!important;
    left:0!important;
    right:0!important;
    overflow-x:hidden!important;
    touch-action:pan-y pinch-zoom;
  }
  .prosto-auth-card,
  .planner-mobile-blocked-card{
    min-width:0!important;
    max-width:calc(100% - 24px)!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  /* These controls intentionally need horizontal pointer movement. */
  .comparison-stage,
  .result-comparison,
  .app-before-after-stage,
  .compare-view,
  input[type="range"]{
    touch-action:none;
  }
}

/* mobile-safe-v10 — keep the shared header available while scrolling on every public mobile page.
   Desktop remains unchanged. */
@media(max-width:720px){
  .site-header{
    position:sticky!important;
    top:0!important;
    z-index:1000!important;
    background:rgba(247,244,238,.98)!important;
    -webkit-backdrop-filter:blur(14px);
    backdrop-filter:blur(14px);
    border-bottom:1px solid rgba(203,185,154,.22);
  }
  .nav.mobile-open{
    position:absolute!important;
    left:0!important;
    right:0!important;
    width:100%!important;
  }
}

/* mobile-safe-v10 — sticky shared header on mobile only. */
@media(max-width:720px){
  .site-header{position:sticky!important;top:0!important;z-index:1000!important;background:rgba(247,244,238,.98)!important;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid rgba(203,185,154,.22)}
  .nav.mobile-open{position:absolute!important;left:0!important;right:0!important;width:100%!important}
}

/* mobile-safe-v11 — fixed shared mobile header on every public page.
   Fixed is used instead of sticky because the mobile root intentionally clips
   horizontal overflow; in Chromium that can make sticky attach to the wrong
   scroll container. The body spacer keeps the existing page geometry intact. */
@media (max-width:720px){
  body{
    padding-top:64px!important;
  }
  .site-header{
    position:fixed!important;
    top:0!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    height:64px!important;
    margin:0!important;
    z-index:5000!important;
    background:rgba(247,244,238,.985)!important;
    -webkit-backdrop-filter:blur(14px);
    backdrop-filter:blur(14px);
    border-bottom:1px solid rgba(203,185,154,.24)!important;
  }
  .site-header .nav.mobile-open{
    position:fixed!important;
    top:64px!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    max-height:calc(100% - 64px)!important;
    overflow-y:auto!important;
    z-index:5001!important;
  }
  /* Modals must remain above the fixed header. */
  .prosto-auth-modal,
  .planner-mobile-blocked-modal{
    z-index:100000!important;
  }
}


/* mobile-safe-v13 — fixed mobile header + working menu panel.
   Desktop rules are untouched. */
@media (max-width:720px){
  .site-header{
    overflow:visible!important;
  }
  .site-header .menu-button{
    position:relative!important;
    z-index:5003!important;
    flex:0 0 42px!important;
  }
  .site-header .nav{
    display:none!important;
  }
  .site-header .nav.mobile-open{
    display:flex!important;
    position:fixed!important;
    top:64px!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    max-width:none!important;
    box-sizing:border-box!important;
    margin:0!important;
    padding:12px 14px 18px!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:4px!important;
    background:rgba(247,244,238,.995)!important;
    border-bottom:1px solid var(--line)!important;
    box-shadow:0 12px 28px rgba(42,37,31,.10)!important;
    z-index:5002!important;
    max-height:calc(100vh - 64px)!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain!important;
  }
  .site-header .nav.mobile-open a{
    display:flex!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.mobile-menu-open{
    overflow-y:hidden!important;
  }
}
