/* Shared site navigation and the isolated SkinOS Vision presentation. */
.vision-document { scroll-padding-top: 92px; }
.skip-link { position: fixed; top: 10px; left: 16px; z-index: 110; padding: 12px 18px; background: var(--ink); color: var(--ivory); border-radius: 6px; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--terracotta-deep); outline-offset: 5px; }
#topbar { gap: 24px; transition: background .2s, box-shadow .2s; }
#topbar.header-scrolled, #topbar.nav-open { background: rgba(246,239,230,.97); box-shadow: 0 1px 0 rgba(169,111,68,.18); }
.header-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
#topbar nav { gap: clamp(16px, 2vw, 28px); white-space: nowrap; }
/* Not a link yet: no web login exists for spas and salons. */
.header-login { display: inline-flex; align-items: center; gap: 8px; padding: 8px 10px 8px 18px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(59,42,32,.22); color: var(--ink-soft); font-size: 13px; font-weight: 600; letter-spacing: .03em; white-space: nowrap; cursor: default; }
.header-login small { padding: 3px 8px; border-radius: 999px; background: rgba(169,111,68,.16); color: var(--bronze); font-size: 9px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
#topbar .nav-vision { display: inline-flex; align-items: center; gap: 7px; }
.nav-vision > span { width: 5px; height: 5px; border-radius: 50%; background: var(--terracotta); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 1px; margin: 7px auto; background: currentColor; transition: transform .2s; }
.nav-open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

.vision-wrap { width: min(1200px, calc(100% - 112px)); margin-inline: auto; }
.vision-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; font-size: 11px; font-weight: 600; line-height: 1.5; letter-spacing: .19em; text-transform: uppercase; color: var(--terracotta-deep); }
.vision-eyebrow > span { font-size: 21px; line-height: 1; }
.vision-promo { padding: 100px 0 108px; background: #eee4d8; border-block: 1px solid rgba(169,111,68,.12); }
.vision-intro { text-align: center; margin-bottom: 64px; }
.vision-intro .vision-eyebrow { justify-content: center; }
.vision-intro h2 { font-size: clamp(36px, 4.1vw, 58px); font-weight: 340; line-height: 1.12; letter-spacing: -.025em; margin-bottom: 24px; }
.vision-intro > p:last-child { font-size: 15px; line-height: 1.8; color: var(--ink-soft); }
.vision-product-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(36px, 6vw, 84px); }
.vision-product-grid > * { min-width: 0; }
.vision-stage { position: relative; height: 660px; overflow: hidden; border-radius: 180px 180px 5px 5px; background: #f7f2eb; border: 1px solid rgba(255,255,255,.6); }
.vision-stage::before { content: ''; position: absolute; width: 100%; aspect-ratio: 1; top: 22%; background: radial-gradient(ellipse, #d9c0a84a, transparent 70%); }
.vision-stage-label { position: absolute; top: 34px; left: 0; right: 0; z-index: 1; text-align: center; color: #806c5d; font-size: 9px; text-transform: uppercase; letter-spacing: .19em; }
.vision-product-image { display: block; position: absolute; height: 575px; width: auto; max-width: none; left: 50%; bottom: 40px; transform: translateX(-50%); mix-blend-mode: multiply; mask-image: linear-gradient(to right, transparent, #000 13%, #000 87%, transparent), linear-gradient(to bottom, transparent, #000 8%, #000 93%, transparent); mask-composite: intersect; -webkit-mask-image: linear-gradient(to right, transparent, #000 13%, #000 87%, transparent), linear-gradient(to bottom, transparent, #000 8%, #000 93%, transparent); -webkit-mask-composite: source-in; }
.vision-callout { position: absolute; display: flex; align-items: center; gap: 8px; z-index: 1; font-size: 9px; color: #766352; }
.vision-callout::before { content: ''; width: 24px; height: 1px; background: #aa8c73; }
.vision-callout-camera { right: 18px; top: 136px; }
.vision-callout-touch { left: 18px; bottom: 205px; flex-direction: row-reverse; }
.vision-stage-footer { position: absolute; bottom: 21px; left: 26px; right: 26px; display: flex; justify-content: space-between; gap: 12px; color: #806c5d; font-size: 9px; }
.vision-stage-footer span:last-child { text-transform: uppercase; letter-spacing: .12em; }
.vision-kicker { display: flex; align-items: center; gap: 9px; color: #8a624c; font-size: 10px; font-weight: 500; letter-spacing: .13em; line-height: 1.5; text-transform: uppercase; }
.vision-kicker::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--terracotta); flex-shrink: 0; }
.vision-product-copy h3 { font-family: var(--font-display); font-size: clamp(36px, 3.8vw, 54px); line-height: 1.08; font-weight: 340; letter-spacing: -.025em; margin: 23px 0; }
.vision-product-copy h3 em, .vision-page em { font-weight: inherit; color: var(--terracotta-deep); }
.vision-product-copy > p:not(.vision-kicker):not(.vision-note) { font-size: 14px; line-height: 1.85; color: var(--ink-soft); max-width: 440px; }
.vision-benefits { list-style: none; padding: 0; margin: 26px 0 0; }
.vision-benefits li { display: flex; gap: 18px; align-items: center; border-top: 1px solid #d5c5b5; padding: 17px 0; }
.vision-benefit-icon { width: 30px; flex-shrink: 0; text-align: center; font-size: 28px; line-height: 1; color: var(--terracotta-deep); }
.vision-benefits h4 { font-size: 14px; font-weight: 500; line-height: 1.5; margin-bottom: 5px; }
.vision-benefits p { font-size: 12px; line-height: 1.65; color: var(--ink-soft); }
.vision-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 28px; }
.vision-actions .btn { font-size: 12px; padding: 15px 23px; line-height: 1.4; }
.vision-actions .btn > span { margin-left: 14px; }
.vision-actions .btn, .vision-page .btn, .header-actions .btn { background: var(--terracotta-deep); }
.vision-actions .btn:hover, .vision-page .btn:hover, .header-actions .btn:hover { background: #913e29; }
/* Outline buttons keep their outline style inside the rules above. */
.vision-page .btn-ghost, .header-actions .btn-ghost, .waitlist-dialog .btn-ghost { background: transparent; }
.vision-page .btn-ghost:hover, .header-actions .btn-ghost:hover, .waitlist-dialog .btn-ghost:hover { background: rgba(59,42,32,.06); }
.vision-text-link { display: inline-flex; gap: 15px; align-items: center; color: var(--ink); font-size: 12px; font-weight: 500; text-decoration: none; padding-block: 12px; }
.vision-text-link:hover { color: var(--terracotta-deep); }
.vision-text-link > span { font-size: 18px; }
.vision-note { font-size: 11px; line-height: 1.7; color: #796554; margin-top: 20px; }

/* The product page does not include the fixed 3D canvas or its loader. */
.vision-page { background: #f7f1e8; }
.vision-page main { overflow: clip; }
.vision-page img { display: block; max-width: 100%; }
.vision-page .vision-stage .vision-product-image { max-width: none; }
.vision-hero { padding-block: 142px 70px; }
.vision-breadcrumb { display: flex; gap: 12px; align-items: center; font-size: 11px; color: var(--ink-soft); margin-bottom: 34px; }
.vision-breadcrumb a { text-decoration: none; color: inherit; }
.vision-breadcrumb a:hover { color: var(--terracotta-deep); }
.vision-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.vision-hero-copy h1 { font-size: clamp(46px, 5.1vw, 74px); font-weight: 340; line-height: 1.06; letter-spacing: -.035em; margin: 25px 0; }
.vision-hero-copy > p:not(.vision-eyebrow):not(.vision-note) { font-size: 16px; line-height: 1.85; color: var(--ink-soft); max-width: 450px; }
.vision-hero-copy .vision-note { margin-top: 24px; max-width: 410px; }
.vision-hero .vision-stage { height: 650px; background: #eee5d9; }
.vision-hero .vision-product-image { height: 575px; }
.vision-hero-caption { display: flex; align-items: center; gap: 12px; color: #7c6b5c; font-size: 11px; margin-top: 35px; }
.vision-hero-caption::before { content: ''; width: 28px; height: 1px; background: #aa8c73; }
.vision-ribbon { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 28px; border-block: 1px solid #dcd0c2; color: #776151; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.vision-ribbon > span:first-child { color: var(--terracotta-deep); }
.vision-section { padding-block: 100px; }
.vision-section-heading { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; align-items: end; margin-bottom: 48px; }
.vision-section-heading h2 { font-size: clamp(35px, 3.9vw, 54px); font-weight: 340; line-height: 1.12; letter-spacing: -.025em; margin-bottom: 0; }
.vision-section-heading > p { font-size: 14px; line-height: 1.9; color: var(--ink-soft); max-width: 440px; padding-bottom: 5px; }
.vision-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 36px; }
.vision-feature { padding: 30px 0 34px; border-top: 1px solid #d8c9ba; }
.vision-feature-icon { width: 28px; height: 28px; fill: none; stroke: var(--terracotta-deep); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 22px; }
.vision-feature h3 { font-family: var(--font-display); font-size: 27px; font-weight: 400; margin-bottom: 12px; line-height: 1.15; }
.vision-feature p { font-size: 13px; line-height: 1.85; color: var(--ink-soft); max-width: 320px; }
.vision-feature-grid-two { grid-template-columns: repeat(2, 1fr); }
.vision-soon { display: inline-block; margin-bottom: 16px; padding: 4px 10px; border-radius: 999px; background: rgba(169,111,68,.16); color: var(--bronze); font-size: 9px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.vision-section-note { max-width: 640px; margin-top: 24px; font-size: 12px; line-height: 1.8; color: var(--ink-soft); }
.vision-concerns { background: #eee4d8; }
.vision-concern-grid { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 36px; }
.vision-concern { padding-top: 28px; border-top: 1px solid #d2bfab; }
.vision-concern h3 { font-family: var(--font-display); font-size: 24px; font-weight: 400; line-height: 1.2; margin-bottom: 16px; }
.vision-concern ul { list-style: none; }
.vision-concern li { padding-block: 5px; font-size: 13px; line-height: 1.6; color: var(--ink-soft); }
.vision-specs > div { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding-block: 20px; border-top: 1px solid #d8c9ba; }
.vision-specs > div:last-child { border-bottom: 1px solid #d8c9ba; }
.vision-specs dt { font-size: 13px; font-weight: 500; line-height: 1.7; }
.vision-specs dd { font-size: 13px; line-height: 1.7; color: var(--ink-soft); }
.vision-experience { background: #eee4d8; }
.vision-photo-feature { display: grid; grid-template-columns: 1.45fr 1fr; gap: 65px; align-items: center; }
.vision-spa-photo { position: relative; margin: 0; }
.vision-spa-photo img { width: 100%; aspect-ratio: 1.42; object-fit: cover; border-radius: 4px; }
.vision-spa-photo figcaption { position: absolute; bottom: 22px; left: 24px; color: #fff8ee; font-size: 9px; letter-spacing: .15em; text-transform: uppercase; text-shadow: 0 1px 5px #352f29; }
.vision-experience-copy h2 { font-size: clamp(36px, 3.9vw, 54px); font-weight: 340; line-height: 1.1; letter-spacing: -.025em; }
.vision-experience-copy > p:not(.vision-eyebrow) { font-size: 14px; line-height: 1.85; color: var(--ink-soft); }
.vision-use-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; list-style: none; }
.vision-use-tags li { border: 1px solid #cdb9a6; padding: 8px 11px; border-radius: 20px; color: #765d49; font-size: 10px; }
.vision-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 60px; padding-top: 36px; border-top: 1px solid #d2bfab; counter-reset: mirror-step; }
.vision-steps li { counter-increment: mirror-step; }
.vision-steps li::before { content: '0' counter(mirror-step); display: block; color: var(--terracotta-deep); font-size: 11px; letter-spacing: .12em; margin-bottom: 18px; }
.vision-steps h3 { font-family: var(--font-display); font-size: 27px; font-weight: 400; margin-bottom: 12px; }
.vision-steps p { max-width: 320px; color: var(--ink-soft); font-size: 13px; line-height: 1.85; }
/* Mirror app screens (rendered from design/screens/) */
.vision-screen { display: block; width: 100%; max-width: 210px; height: auto; aspect-ratio: 1024 / 1792; border: 5px solid #3a3f44; border-radius: 16px; background: #000; box-shadow: 0 18px 40px -24px rgba(59, 42, 32, .5); margin-bottom: 24px; }
.vision-screen-layout { display: grid; grid-template-columns: 250px 1fr; gap: 60px; align-items: start; }
.vision-screen-layout > .vision-screen { max-width: 250px; margin-bottom: 0; }
.vision-feature-grid.vision-feature-stack { grid-template-columns: 1fr; }
.vision-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; padding-top: 25px; }
.vision-faq-intro h2 { font-size: clamp(36px, 3.7vw, 50px); font-weight: 340; line-height: 1.12; }
.vision-faq details { border-top: 1px solid #d8c9ba; }
.vision-faq details:last-child { border-bottom: 1px solid #d8c9ba; }
.vision-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 25px 0; list-style: none; font-size: 14px; font-weight: 500; line-height: 1.6; cursor: pointer; }
.vision-faq summary::-webkit-details-marker { display: none; }
.vision-faq summary::after { content: '+'; color: var(--terracotta-deep); font-size: 24px; font-weight: 400; }
.vision-faq details[open] summary::after { content: '−'; }
.vision-faq details p { font-size: 13px; line-height: 1.9; color: var(--ink-soft); padding: 0 30px 25px 0; }
.vision-faq details a { color: var(--terracotta-deep); text-underline-offset: 4px; }
.vision-closing { background: #e9dcca; padding-block: 75px; }
.vision-closing-inner { display: flex; gap: 48px; justify-content: space-between; align-items: center; }
.vision-closing h2 { font-size: clamp(36px, 4vw, 56px); font-weight: 340; line-height: 1.1; margin-bottom: 16px; }
.vision-closing p:not(.vision-eyebrow) { font-size: 14px; color: var(--ink-soft); line-height: 1.8; }
.vision-closing-contact { flex-shrink: 0; text-align: center; }
.vision-closing-contact .btn { display: block; }
.vision-email { display: inline-block; margin-top: 16px; font-size: 12px; color: var(--ink-soft); text-underline-offset: 4px; }
.vision-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; padding-block: 32px; }
.vision-footer p { font-size: 11px; color: var(--ink-soft); }
.vision-footer .vision-text-link { font-size: 11px; }
.vision-footer-note { width: 100%; padding-top: 22px; border-top: 1px solid #dcd0c2; font-size: 11px; line-height: 1.8; color: var(--ink-soft); }

@media (max-width: 1100px) {
  .vision-wrap { width: calc(100% - 64px); }
  .vision-stage { height: 610px; }
  .vision-product-image { height: 530px; }
  .vision-callout { font-size: 8px; gap: 5px; }
  .vision-callout::before { width: 14px; }
  .vision-callout-camera { right: 10px; }
  .vision-callout-touch { left: 10px; bottom: 190px; }
  .vision-product-copy h3 { font-size: 42px; }
  .vision-photo-feature { gap: 36px; }
  .vision-faq { gap: 55px; }
}
@media (max-width: 900px) {
  #topbar { gap: 12px; padding: 16px 24px; }
  .header-actions { margin-left: auto; gap: 10px; }
  .header-actions .btn { font-size: 11px; padding: 11px 16px; }
  #topbar[data-nav-ready] .nav-toggle { display: block; }
  #topbar nav { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--cream); padding: 8px 24px 22px; border-bottom: 1px solid #d8c9ba; box-shadow: 0 12px 18px -18px #3b2a2040; }
  #topbar[data-nav-ready]:not(.nav-open) nav { display: none; }
  #topbar nav a { padding: 14px 0; font-size: 14px; border-bottom: 1px solid #e1d4c6; }
  #topbar nav a:last-child { border-bottom: 0; }
  #topbar:not([data-nav-ready]) { position: relative; flex-wrap: wrap; background: var(--cream); }
  #topbar:not([data-nav-ready]) nav { position: static; order: 3; width: 100%; }
  .vision-product-grid { gap: 32px; }
  .vision-product-copy h3 { font-size: 36px; }
  .vision-product-copy > p:not(.vision-kicker):not(.vision-note) { font-size: 13px; }
  .vision-benefits li { gap: 12px; }
  .vision-benefits h4 { font-size: 13px; }
  .vision-hero-grid { gap: 32px; }
  .vision-hero-copy h1 { font-size: 48px; }
  .vision-hero .vision-stage { height: 560px; }
  .vision-hero .vision-product-image { height: 490px; }
  .vision-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .vision-concern-grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .header-login { font-size: 11px; padding: 7px 8px 7px 14px; }
  .vision-section-heading { gap: 35px; }
  .vision-ribbon { font-size: 9px; letter-spacing: .06em; }
}
@media (max-width: 700px) {
  .vision-document { scroll-padding-top: 84px; }
  #topbar { padding: 12px 20px; }
  .header-actions { gap: 6px; }
  .header-actions .btn { padding: 11px 13px; font-size: 10px; letter-spacing: 0; }
  .vision-wrap { width: calc(100% - 40px); }
  .vision-promo { padding: 84px 0 68px; }
  .vision-eyebrow { font-size: 9px; letter-spacing: .16em; gap: 9px; margin-bottom: 20px; }
  .vision-intro { margin-bottom: 36px; }
  .vision-intro h2 { font-size: clamp(32px, 7.5vw, 43px); line-height: 1.16; }
  .vision-intro > p:last-child { font-size: 13px; }
  .vision-product-grid { grid-template-columns: 1fr; gap: 38px; }
  .vision-stage { height: 550px; max-width: 460px; width: 100%; margin-inline: auto; border-radius: 150px 150px 4px 4px; }
  .vision-product-image { height: 480px; bottom: 29px; }
  .vision-stage-label { font-size: 8px; top: 27px; }
  .vision-callout-camera { top: 112px; right: 12px; }
  .vision-callout-touch { bottom: 174px; left: 12px; }
  .vision-stage-footer { bottom: 17px; left: 22px; right: 22px; font-size: 8px; }
  .vision-product-copy h3 { font-size: 43px; }
  .vision-product-copy > p:not(.vision-kicker):not(.vision-note) { font-size: 14px; max-width: none; }
  .vision-benefits h4 { font-size: 14px; }
  .vision-actions { gap: 18px; }
  .vision-actions .btn { padding: 15px 20px; }
  .vision-hero { padding-block: 108px 45px; }
  .vision-breadcrumb { margin-bottom: 32px; }
  .vision-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .vision-hero-copy h1 { font-size: clamp(44px, 11vw, 62px); margin-block: 22px; }
  .vision-hero-copy > p:not(.vision-eyebrow):not(.vision-note) { font-size: 14px; }
  .vision-hero-copy .vision-note { font-size: 11px; }
  .vision-hero-caption { margin-top: 25px; font-size: 10px; }
  .vision-hero .vision-stage { height: 565px; }
  .vision-hero .vision-product-image { height: 490px; }
  .vision-ribbon { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 15px; padding-block: 24px; font-size: 9px; line-height: 1.6; }
  .vision-section { padding-block: 64px; }
  .vision-section-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; }
  .vision-section-heading h2 { font-size: 38px; }
  .vision-section-heading > p { font-size: 13px; }
  .vision-feature-grid { column-gap: 24px; }
  .header-login { gap: 6px; padding: 6px 7px 6px 12px; font-size: 10px; letter-spacing: 0; }
  .header-login small { padding: 3px 6px; font-size: 8px; letter-spacing: .04em; }
  .vision-specs > div { grid-template-columns: 76px 1fr; gap: 14px; }
  .vision-feature { padding: 25px 0; }
  .vision-feature h3 { font-size: 24px; }
  .vision-feature p { font-size: 12px; }
  .vision-photo-feature { grid-template-columns: 1fr; gap: 34px; }
  .vision-spa-photo img { aspect-ratio: 1.24; }
  .vision-spa-photo figcaption { left: 17px; bottom: 18px; font-size: 8px; }
  .vision-experience-copy h2 { font-size: 41px; }
  .vision-steps { grid-template-columns: 1fr; gap: 28px; margin-top: 40px; padding-top: 30px; }
  .vision-steps li::before { margin-bottom: 12px; }
  .vision-steps h3 { font-size: 27px; margin-bottom: 8px; }
  .vision-steps p { max-width: none; }
  .vision-steps li { display: grid; grid-template-columns: 96px 1fr; column-gap: 18px; align-items: start; }
  .vision-steps li::before, .vision-steps li > h3, .vision-steps li > p { grid-column: 2; }
  .vision-steps .vision-screen { grid-column: 1; grid-row: 1 / span 3; margin: 0; border-width: 3px; border-radius: 10px; }
  .vision-screen-layout { grid-template-columns: 1fr; gap: 28px; }
  .vision-screen-layout > .vision-screen { max-width: 220px; margin-inline: auto; }
  .vision-faq { grid-template-columns: 1fr; gap: 24px; padding-top: 0; }
  .vision-faq-intro h2 { font-size: 40px; }
  .vision-faq summary { font-size: 13px; padding-block: 22px; }
  .vision-closing { padding-block: 55px; }
  .vision-closing-inner { flex-direction: column; align-items: flex-start; gap: 28px; }
  .vision-closing h2 { font-size: 42px; }
  .vision-closing-contact { text-align: left; }
  .vision-email { margin-left: 4px; }
  .vision-footer { gap: 22px; padding-block: 28px; }
  .vision-footer > p { order: 3; width: 100%; }
  .vision-footer .vision-text-link { margin-left: auto; }
  .vision-footer-note { order: 4; }
}
@media (max-width: 370px) {
  .vision-feature-grid, .vision-concern-grid { grid-template-columns: 1fr; }
  .vision-stage { height: 500px; }
  .vision-product-image { height: 435px; }
  .vision-callout { display: none; }
  .vision-actions { gap: 8px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .vision-page *, .vision-promo *, #topbar * { transition: none !important; }
}

/* ---------- Join the waitlist: header button, pop-up and /waitlist/ page ---------- */
.header-waitlist { white-space: nowrap; }
/* margin: auto centres the modal; the site-wide reset sets margin: 0. */
.waitlist-dialog { margin: auto; width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 38px 36px 32px; border: 0; border-radius: 24px; background: var(--ivory); color: var(--ink); box-shadow: 0 40px 90px -30px rgba(59,42,32,.55); }
.waitlist-dialog::backdrop { background: rgba(59,42,32,.42); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.waitlist-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--ink-soft); font-size: 26px; line-height: 1; cursor: pointer; }
.waitlist-close:hover { background: rgba(59,42,32,.07); }
.waitlist-eyebrow { margin-bottom: 12px; color: var(--terracotta-deep); font-size: 11px; font-weight: 600; letter-spacing: .19em; text-transform: uppercase; }
.waitlist-dialog h2, .waitlist-intro h1 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; letter-spacing: -.015em; }
.waitlist-dialog h2 { font-size: clamp(26px, 5vw, 32px); margin-bottom: 14px; padding-right: 28px; }
.waitlist-lead { font-size: 15px; line-height: 1.6; color: var(--ink); }
.waitlist-note { margin-top: 8px; font-size: 13px; line-height: 1.6; color: var(--ink-soft); }
.waitlist-form { display: grid; gap: 14px; margin-top: 24px; }
.waitlist-field label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; }
.waitlist-field input { width: 100%; padding: 12px 14px; border: 1px solid #cdb9a6; border-radius: 10px; background: #fff; color: var(--ink); font: 15px/1.4 var(--font-sans); }
.waitlist-field input:focus { outline: 2px solid var(--terracotta-deep); outline-offset: 1px; border-color: transparent; }
.waitlist-field input[aria-invalid] { border-color: #b3261e; }
.waitlist-error, .waitlist-status { margin-top: 6px; color: #a1281b; font-size: 12px; line-height: 1.5; }
.waitlist-status { margin: 0; padding: 10px 12px; border-radius: 10px; background: #fdecea; font-size: 13px; }
.waitlist-form .btn { width: 100%; margin-top: 4px; }
.waitlist-form .btn:disabled { opacity: .65; cursor: wait; transform: none; }
.waitlist-privacy { font-size: 12px; line-height: 1.6; color: var(--ink-soft); text-align: center; }
.waitlist-privacy a { color: var(--terracotta-deep); }
/* Bots fill it; people never see it. */
.waitlist-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.waitlist-done { margin-top: 26px; padding: 22px 20px; border-radius: 16px; background: rgba(169,111,68,.1); outline: none; }
.waitlist-done h2 { font-size: 26px; margin-bottom: 6px; padding: 0; }
.waitlist-done p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.waitlist-close-done { width: 100%; margin-top: 16px; }

.waitlist-page main, .legal-page main { padding-top: 140px; }
.waitlist-layout { display: grid; grid-template-columns: 1fr minmax(320px, 460px); gap: clamp(36px, 6vw, 90px); align-items: start; }
.waitlist-intro h1 { font-size: clamp(38px, 5vw, 62px); margin-bottom: 20px; }
.waitlist-intro h1 em { display: block; }
.waitlist-card { padding: 32px 30px; border-radius: 22px; background: var(--ivory); border: 1px solid rgba(169,111,68,.18); box-shadow: 0 30px 60px -36px rgba(59,42,32,.35); }
.waitlist-card .waitlist-form { margin-top: 0; }
.waitlist-card .waitlist-done { margin-top: 0; }
.waitlist-back { display: inline-block; margin-top: 18px; }

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; }
.legal h1 { font-family: var(--font-display); font-weight: 340; font-size: clamp(40px, 5vw, 60px); line-height: 1.08; margin-bottom: 14px; }
.legal .legal-meta { color: var(--ink-soft); font-size: 13px; }
.legal .legal-draft { display: inline-block; margin: 18px 0 10px; padding: 6px 12px; border-radius: 999px; background: rgba(169,111,68,.16); color: var(--bronze); font-size: 11px; font-weight: 600; letter-spacing: .06em; }
.legal h2 { font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.2; margin: 40px 0 12px; }
.legal p, .legal li { font-size: 15px; line-height: 1.8; color: var(--ink-soft); }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 10px 0 0 20px; }
.legal a { color: var(--terracotta-deep); }

/* ---------- Footer legal links ---------- */
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-links a { color: var(--ink-soft); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.footer-links a:hover { color: var(--terracotta-deep); }

@media (max-width: 700px) {
  .waitlist-dialog { padding: 32px 22px 24px; border-radius: 20px; }
  .waitlist-page main, .legal-page main { padding-top: 110px; }
  .waitlist-layout { grid-template-columns: 1fr; }
  .waitlist-card { padding: 26px 20px; }
  .header-actions .header-waitlist { padding: 10px 14px; font-size: 11px; }
}
/* Two header buttons don't fit beside the logo on a phone; the demo link
   stays in the page's hero and closing section. */
@media (max-width: 560px) {
  .header-actions .header-demo { display: none; }
}
