/* =========================================================
   Zenith Day for wedding planners — validation landing page
   One dark, two lights, one champagne accent. Hairlines over boxes;
   a single soft shadow, for screenshots and phones only.
   ========================================================= */

:root {
  --ivory: #f7f2e9;            /* primary light */
  --stone: #e9e4dc;            /* secondary light */
  --card: #fffdf9;             /* surface on stone */
  --ink: #26221e;              /* text on light */
  --espresso: #1c1713;         /* primary dark — same as the hero */
  --muted: #6a625a;            /* muted text on light */
  --ivory-on-dark: #f3ece1;    /* text on dark */
  --muted-on-dark: rgba(243, 236, 225, .72);
  --line: rgba(38, 34, 30, .12);
  --line-dark: rgba(243, 236, 225, .14);
  --accent: #cbb48e;           /* champagne: fills and details on dark */
  --accent-deep: #74604a;      /* champagne-taupe: small text and icons on light */
  --focus: #968059;            /* at least 3:1 on ivory, stone and the dark */
  --ok: #587053;               /* form success state only */

  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --gutter: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 2px rgba(28, 23, 19, .05), 0 24px 56px -28px rgba(28, 23, 19, .28);
  --shadow-phone: drop-shadow(0 26px 36px rgba(28, 23, 19, .26));
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 1rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, figure { margin: 0; }
[hidden] { display: none !important; }
.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--espresso); color: #fff; }
.skip-link:focus { top: 12px; }

/* Section label: restrained, widely tracked, like the hero kicker */
.eyebrow { margin: 0 0 22px; font-size: .72rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--accent-deep); display: flex; align-items: center; gap: 7px; }
.sec-dark .eyebrow { color: var(--accent); }
.display { font-family: var(--serif); font-weight: 500; letter-spacing: -.022em; line-height: 1.08; text-wrap: balance; }
/* Italics only where a heading uses <em>, in the heading's own colour */
.display em { font-style: italic; color: inherit; }
.sub { margin-top: 22px; font-size: 1.0625rem; line-height: 1.7; color: var(--muted); max-width: 36rem; text-wrap: pretty; }
.sec-dark .sub { color: var(--muted-on-dark); }

/* ---------- Buttons ----------
   Primary: dark fill on light surfaces, champagne fill on dark ones. Secondary: hairline outline. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; padding: 0 26px; border: 1px solid transparent; border-radius: 12px; font-weight: 650; font-size: .95rem; letter-spacing: .005em; text-decoration: none; transition: background-color .2s, box-shadow .2s, transform .2s, border-color .2s, color .2s; }
.btn .i { width: 17px; height: 17px; }
.btn-gold { background: var(--espresso); color: var(--ivory-on-dark); }
.btn-gold:hover { background: #000; transform: translateY(-1px); }
.sec-dark .btn-gold, .final .btn-gold { background: var(--accent); color: #221b15; }
.sec-dark .btn-gold:hover, .final .btn-gold:hover { background: #d8c4a1; }
.btn-dark { background: var(--espresso); color: var(--ivory-on-dark); }
.btn-dark:hover { background: #000; }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(38, 34, 30, .22); }
.btn-ghost:hover { background: rgba(38, 34, 30, .04); border-color: rgba(38, 34, 30, .4); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: .875rem; border-radius: 12px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn-text { border: 0; background: none; color: var(--muted); font-weight: 700; padding: 10px 4px; text-decoration: underline; text-underline-offset: 3px; }
.btn-text:hover { color: var(--ink); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding-top: env(safe-area-inset-top); transition: background-color .3s, box-shadow .3s; }
.nav.is-solid { background: rgba(247, 242, 233, .94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.nav-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { font: italic 500 1.75rem/1 var(--serif); text-decoration: none; display: inline-flex; align-items: baseline; gap: 8px; }
.logo-sub { font: 800 .65rem/1 var(--sans); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.nav-links { display: flex; gap: 30px; font-size: .9rem; font-weight: 600; }
.nav-links a { text-decoration: none; color: #4b443d; }
.nav-links a:hover { color: var(--ink); }

/* ---------- 1 · Hero ---------- */
.hero { padding: 136px 0 72px; background: radial-gradient(120% 70% at 50% 0%, #fbf8f2 0%, var(--ivory) 60%); overflow: hidden; }
.hero-inner { text-align: center; max-width: 980px; }
.hero .eyebrow { justify-content: center; }
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 4rem); line-height: 1.05; }
.lede { margin: 22px auto 0; max-width: 44rem; font-size: 1.125rem; line-height: 1.6; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 18px; font-size: .875rem; color: var(--muted); }
.hero-visual { margin-top: 56px; }
.product-frame { position: relative; border-radius: 18px; border: 1px solid #dfd2c1; background: #fff; padding: 8px; box-shadow: var(--shadow); }
.product-frame > img:first-child { border-radius: 12px; }
.hero-phone { position: absolute; right: -2%; bottom: -8%; width: 21%; filter: drop-shadow(0 30px 40px rgba(35, 25, 19, .35)); }
.frame-caption { margin-top: 18px; text-align: center; font-size: .78rem; color: #8f8479; letter-spacing: .04em; }

/* ---------- Sections ---------- */
.sec { padding: clamp(80px, 9vw, 128px) 0 clamp(72px, 8vw, 112px); }
.sec-stone { background: var(--stone); }
.sec-dark { background: var(--espresso); color: var(--ivory-on-dark); }
.sec-head { margin-bottom: clamp(48px, 5vw, 72px); max-width: 52rem; }
.sec-head h2 { font-size: clamp(2.1rem, 3.8vw, 3.2rem); }
.sec-head.center { text-align: center; margin-inline: auto; }
.sec-head.center .eyebrow { justify-content: center; padding-left: .26em; }
.sec-head.center .sub { margin-inline: auto; }
.split-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end; max-width: none; }
.split-head .sub { margin: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.split h2 { font-size: clamp(2.1rem, 3.6vw, 3.1rem); }

/* One screenshot treatment everywhere: hairline, 16px corners, one soft shadow */
.screen, .live-composer { border: 1px solid var(--line); border-radius: 16px; background: var(--card); box-shadow: var(--shadow); }
.screen { overflow: hidden; }
.screen img { width: 100%; }

/* ---------- 2 · Problem ---------- */
.problem-grid { align-items: start; }
.scatter { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.scatter li { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font: 400 clamp(1.15rem, 1.6vw, 1.3rem)/1.3 var(--serif); color: var(--ink); }
.scatter .i { width: 17px; height: 17px; color: var(--accent-deep); stroke-width: 1.4; }

/* ---------- 3 · Workflow ---------- */
.steps-scroll { overflow-x: auto; scrollbar-width: none; margin: 0 auto clamp(36px, 4vw, 52px); display: flex; justify-content: center; }
.steps-scroll::-webkit-scrollbar { display: none; }
.steps { display: inline-flex; gap: clamp(8px, 2vw, 28px); border-bottom: 1px solid var(--line); }
.steps [role="tab"] { display: inline-flex; align-items: center; gap: 10px; margin-bottom: -1px; border: 0; border-bottom: 1px solid transparent; background: transparent; padding: 12px 6px 14px; font-weight: 500; font-size: .95rem; color: var(--muted); white-space: nowrap; transition: border-color .2s, color .2s; }
.steps .n { font: 400 .95rem/1 var(--serif); color: var(--accent-deep); }
.steps [role="tab"]:hover { color: var(--ink); }
.steps [aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.step-panel { display: grid; grid-template-columns: minmax(260px, .55fr) minmax(0, 1.45fr); gap: clamp(28px, 4vw, 56px); align-items: center; animation: panelIn .35s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } }
.step-copy h3 { font: 500 clamp(1.6rem, 2.4vw, 2.1rem)/1.15 var(--serif); letter-spacing: -.01em; text-wrap: balance; }
.step-copy p { margin-top: 16px; color: var(--muted); line-height: 1.7; }
.screen-wide { max-width: 1100px; margin-inline: auto; }
.workflow-cta { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: clamp(48px, 5vw, 64px); text-align: center; }
.demo-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: .95rem; color: var(--accent-deep); text-decoration: none; border-bottom: 1px solid rgba(116, 96, 74, .35); padding-bottom: 2px; }
.demo-link:hover { border-color: var(--accent-deep); }
.demo-link .i { width: 15px; height: 15px; }

/* ---------- 4 · Personalization ---------- */
.personas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 56px); max-width: 1000px; margin: 0 auto; }
.persona { display: grid; justify-items: center; gap: 20px; }
.persona img { width: min(290px, 100%); filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .4)); }
.persona figcaption { display: grid; justify-items: center; gap: 4px; text-align: center; }
.persona b { font: 500 1.4rem var(--serif); }
.persona span { font-size: .7rem; color: var(--accent); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.persona small { font-size: .82rem; color: var(--muted-on-dark); }
.differ { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; margin: clamp(56px, 6vw, 80px) auto 0; padding: 26px 0 0; max-width: 760px; border-top: 1px solid var(--line-dark); }
.differ li { display: inline-flex; align-items: center; gap: 9px; padding: 0 24px; font-size: .9rem; color: var(--muted-on-dark); }
.differ li + li { border-left: 1px solid var(--line-dark); }
.differ .i { width: 15px; height: 15px; color: var(--accent); }

/* ---------- 5 · Value: open editorial list ---------- */
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(40px, 6vw, 96px); }
.values article { padding: 30px 0 34px; border-top: 1px solid var(--line); }
.values h3 { font: 500 clamp(1.35rem, 1.9vw, 1.6rem)/1.25 var(--serif); letter-spacing: -.01em; }
.values p { margin-top: 10px; max-width: 30rem; color: var(--muted); line-height: 1.7; }
.values article:nth-last-child(-n+2) { padding-bottom: 0; }

/* ---------- 6 · Concierge (dark) & 7 · Live ---------- */
.split-media-left { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.phone-shot { justify-self: center; }
.phone-shot img { width: min(320px, 100%); filter: var(--shadow-phone); }
.sec-dark .phone-shot img { filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .45)); }
#concierge h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); }
.rule-badge { margin-top: 30px; padding-left: 18px; border-left: 1px solid var(--accent); font: italic 400 1.15rem/1.5 var(--serif); color: var(--ivory-on-dark); }
.ticks { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 16px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; line-height: 1.65; color: var(--muted); }
.ticks .i { color: var(--accent-deep); margin-top: 4px; }
.ticks b { color: var(--ink); font-weight: 600; }
.sec-dark .ticks li { color: var(--muted-on-dark); }
.sec-dark .ticks .i { color: var(--accent); }
.live-visual { position: relative; padding-bottom: 12%; }
.live-composer { width: 86%; }
.live-phone { position: absolute; right: 0; bottom: 0; width: 38%; filter: var(--shadow-phone); }

/* ---------- 9 · Positioning: open two-column comparison ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; max-width: 880px; margin: 0 auto; }
.compare > div { padding: 6px clamp(28px, 5vw, 64px) 6px 0; }
.compare > div + div { padding: 6px 0 6px clamp(28px, 5vw, 64px); border-left: 1px solid var(--line); }
.compare h3 { font: 500 1.45rem/1.25 var(--serif); margin-bottom: 20px; }
.compare ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.compare li { display: flex; gap: 12px; align-items: center; color: var(--ink); }
.compare li .i { color: var(--accent-deep); }
.muted-list li { color: var(--muted); }
.muted-list .i { color: rgba(38, 34, 30, .35) !important; }

/* ---------- 10 · Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: 1160px; margin: 0 auto; align-items: stretch; }
.plans-duo { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 52px 26px 26px; background: var(--card); border: 1px solid transparent; border-radius: 16px; }
.plan h3 { font: 500 1.45rem/1.2 var(--serif); }
.plan-price { margin-top: 8px; font: 500 2.5rem/1 var(--serif); letter-spacing: -.02em; color: var(--ink); }
.plan-price b { font-weight: 500; }
.plan-price span { font: 400 .95rem var(--sans); letter-spacing: 0; color: var(--muted); }
.plan-price-text { font-size: 2rem; }
.plan-volume { margin-top: 4px; font-weight: 600; font-size: .92rem; color: var(--ink); }
.plan-desc { flex: 1; font-size: .92rem; line-height: 1.6; color: var(--muted); }
.plan .btn { margin-top: 18px; }
.plan-featured { border-color: var(--accent); }
.plan-tag { position: absolute; top: 24px; left: 26px; font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-deep); }
.plans-included { max-width: 1160px; margin: clamp(40px, 4vw, 56px) auto 0; padding: 32px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px clamp(40px, 6vw, 96px); border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.plans-included b { color: var(--ink); font-weight: 600; }
.plans-included p { margin-bottom: 14px; line-height: 1.65; }
.plans-included ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.plans-included li { display: inline-flex; align-items: center; gap: 7px; font-size: .92rem; }
.plans-included .i { width: 16px; height: 16px; color: var(--accent-deep); }

/* ---------- 11 · FAQ ---------- */
#faq { padding-bottom: clamp(64px, 7vw, 96px); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font-weight: 500; font-size: 1.05rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; font: 300 1.6rem/1 var(--sans); color: var(--accent-deep); transition: transform .3s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 36px 24px 0; color: var(--muted); line-height: 1.7; }

/* ---------- 12 · Final CTA: venue photograph under a warm espresso veil ---------- */
.final { position: relative; isolation: isolate; overflow: hidden; padding: clamp(112px, 13vw, 176px) 0; background: var(--espresso); color: var(--ivory-on-dark); text-align: center; }
.final-media img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(28, 23, 19, .7) 0%, rgba(28, 23, 19, .68) 40%, rgba(28, 23, 19, .78) 62%, rgba(28, 23, 19, .84) 100%); }
.final-inner { max-width: 860px; display: grid; justify-items: center; gap: 36px; }
.final h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
.final-note { font-size: .875rem; color: var(--muted-on-dark); }

.footer { background: var(--espresso); color: var(--muted-on-dark); font-size: .85rem; padding: 40px 0; border-top: 1px solid var(--line-dark); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.footer .logo { font: 500 .95rem/1 var(--serif); letter-spacing: .26em; text-transform: uppercase; color: var(--ivory-on-dark); }
.footer-small { flex-basis: 100%; font-size: .78rem; color: rgba(243, 236, 225, .55); }

/* ---------- Modal & form ---------- */
.modal { width: min(600px, 100% - 24px); max-width: none; max-height: calc(100dvh - 24px); margin: auto; padding: 0; border: 0; border-radius: 24px; overflow: auto; overscroll-behavior: contain; background: var(--card); color: var(--ink); box-shadow: 0 40px 100px rgba(0, 0, 0, .35); }
.modal::backdrop { background: rgba(24, 20, 17, .6); }
.modal[open] { animation: modalIn .3s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(10px); } }
.modal-inner { position: relative; padding: clamp(26px, 5vw, 40px); }
.modal h2 { font-size: clamp(1.7rem, 4vw, 2.2rem); padding-right: 30px; }
.modal h2:focus { outline: none; }
.modal-desc { margin-top: 8px; color: var(--muted); }
.modal-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: transparent; border-radius: 12px; color: var(--ink); }
.modal-close:hover { background: var(--ivory); }
.eyebrow-ok { color: var(--ok); }
.eyebrow-ok .i { width: 15px; height: 15px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; margin-top: 24px; }
.field { display: grid; gap: 7px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field > label, .field legend { font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #7c6f62; padding: 0; margin-bottom: 7px; line-height: 1.4; }
.choices legend { text-transform: none; letter-spacing: 0; font-size: .92rem; font-weight: 700; color: var(--ink); }
.field input:not([type=radio]) { width: 100%; min-height: 50px; padding: 10px 14px; font-size: 1rem; background: #fff; border: 1px solid #d6c8b5; border-radius: 12px; }
.field input:focus { border-color: var(--focus); }
.field input::placeholder { color: #a39686; }
.full { grid-column: 1 / -1; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices legend { width: 100%; }
.choices > label { position: relative; flex: 1 1 auto; margin: 0; text-transform: none; letter-spacing: 0; font-size: inherit; color: inherit; }
.choices input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choices span { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 8px 14px; border: 1px solid #d6c8b5; border-radius: 12px; background: #fff; font-weight: 700; font-size: .92rem; text-align: center; transition: background-color .15s, border-color .15s, color .15s; }
.choices input:checked + span { background: var(--espresso); border-color: var(--espresso); color: #fff; }
.choices input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.choices-stack label { flex-basis: 100%; }
.choices-stack span { justify-content: flex-start; }
.form .btn { margin-top: 6px; }
.form-note { font-size: .82rem; color: var(--muted); text-align: center; }
.form-error { font-size: .875rem; color: #8b3a2f; text-align: center; }
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
[data-view="done"] .demo-link { margin: 20px 0 24px; }
[data-view="done"] { display: grid; justify-items: start; }
body.modal-open { overflow: hidden; }

/* ---------- Reveal (JS only, off for reduced motion) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .step-panel, .modal[open] { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .step-panel { grid-template-columns: 1fr; }
  .step-copy { max-width: 40rem; }
}
@media (max-width: 900px) {
  .plans-included { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .split, .split-media-left, .split-head, .faq-grid, .compare { grid-template-columns: 1fr; }
  .split-head { gap: 16px; }
  .phone-shot { order: 1; }
  .hero { padding-top: 116px; }
  .live-visual { max-width: 560px; }
  .compare > div { padding: 0 0 32px; }
  .compare > div + div { padding: 32px 0 0; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .plans { grid-template-columns: 1fr; }
  .nav-inner { height: 64px; }
  .logo { font-size: 1.5rem; }
  .logo-sub { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-phone { width: 30%; right: -3%; bottom: -12%; }
  .hero-visual { margin-top: 40px; }
  .frame-caption { margin-top: 44px; }
  .sec { padding: 80px 0 72px; }
  .values article:nth-last-child(2) { padding-bottom: 34px; }
  .steps-scroll { justify-content: flex-start; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .steps { gap: 18px; }
  .steps [role="tab"] { padding: 10px 2px 12px; font-size: .9rem; }
  .differ { gap: 12px 26px; }
  .differ li { padding: 0; }
  .differ li + li { border-left: 0; }
  .personas { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 12px; scrollbar-width: none; }
  .personas::-webkit-scrollbar { display: none; }
  .persona { flex: 0 0 68%; scroll-snap-align: center; }
  .persona img { width: 100%; }
  .values { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .form-actions { flex-direction: column-reverse; align-items: stretch; }
  .faq-list details p { padding-right: 0; }
}

/* =========================================================
   Zenith Day hero — header, cinematic centred hero, first product section.
   Scoped to .nav, .hero-cinematic and .product-intro; the rest of the page is unchanged.
   ========================================================= */
:root {
  --night: #1c1713;
  --ivory-text: #f3ece1;
  --champagne: #cfb68c;
  --hairline: rgba(43, 41, 39, .08);
  --t: .2s var(--ease);
}

/* Header: tracked uppercase wordmark, light nav, translucent ivory once scrolled */
.nav, .hero-cinematic, .product-intro { line-height: 1.65; }
.nav-inner { height: 76px; }
.nav.is-solid { background: rgba(247, 242, 233, .93); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); box-shadow: 0 1px 0 var(--hairline); }
.nav .logo { font: 500 1.02rem/1 var(--serif); letter-spacing: .26em; text-transform: uppercase; color: var(--ink); align-items: center; gap: 14px; }
.nav .logo-sub { position: relative; padding-left: 14px; font-size: .62rem; font-weight: 700; letter-spacing: .18em; color: var(--gold-deep); }
.nav .logo-sub::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 14px; transform: translateY(-50%); background: var(--line); }
.nav-links { gap: 36px; font-size: .875rem; font-weight: 500; letter-spacing: .01em; }
.nav-links a { color: var(--muted); transition: color var(--t); }
.nav-links a:hover { color: var(--ink); }
.nav-links a[data-demo] { color: var(--ink); }
/* …over the dark hero, before it turns solid */
.nav:not(.is-solid) .logo { color: var(--ivory-text); }
.nav:not(.is-solid) .logo-sub { color: var(--champagne); }
.nav:not(.is-solid) .logo-sub::before { background: rgba(243, 236, 225, .28); }
.nav:not(.is-solid) .nav-links a { color: rgba(243, 236, 225, .94); }
.nav:not(.is-solid) .nav-links a:hover, .nav:not(.is-solid) .nav-links a[data-demo] { color: var(--ivory-text); }
.nav:not(.is-solid) .btn-dark { background: rgba(243, 236, 225, .06); border-color: rgba(243, 236, 225, .3); color: var(--ivory-text); }
.nav:not(.is-solid) .btn-dark:hover { background: rgba(243, 236, 225, .14); }

/* Buttons in the header and hero */
.nav .btn, .hero-cinematic .btn { min-height: 52px; padding: 0 26px; border-radius: 12px; font-weight: 650; font-size: .95rem; letter-spacing: .005em; white-space: nowrap; transition: background-color var(--t), border-color var(--t), box-shadow var(--t), transform var(--t), color var(--t); }
.nav .btn-sm { min-height: 44px; padding: 0 18px; font-size: .875rem; }
.nav .btn-dark:hover { transform: translateY(-1px); }
.hero-cinematic .btn-gold { background: #cbb48e; color: #221b15; box-shadow: none; }
.hero-cinematic .btn-gold:hover { background: #d8c4a1; transform: translateY(-1px); box-shadow: 0 10px 26px -12px rgba(0, 0, 0, .55); }
.hero-cinematic .btn-ghost { color: var(--ivory-text); border-color: rgba(243, 236, 225, .32); background: rgba(243, 236, 225, .04); }
.hero-cinematic .btn-ghost:hover { background: rgba(243, 236, 225, .1); border-color: rgba(243, 236, 225, .55); }

/* Cinematic hero: full-bleed poster / video under a warm espresso veil, centred copy */
.hero.hero-cinematic { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: 100vh; min-height: 100svh; padding: clamp(128px, 16vh, 176px) 0 clamp(96px, 13vh, 144px); background: var(--night); color: var(--ivory-text); }
.hero-media { position: absolute; inset: 0; z-index: -1; background: var(--night); }
.hero-poster, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 54%; }
.hero-video { opacity: 0; transition: opacity 1.4s var(--ease); }
.hero-video.is-playing { opacity: 1; }
/* Deepest behind the copy, easing off toward the sea and pavilion edges; warm-neutral, no tint. */
.hero-media::after { content: ""; position: absolute; inset: 0; background:
  radial-gradient(ellipse 54% 52% at 50% 50%, rgba(27, 21, 17, .8) 0%, rgba(27, 21, 17, .7) 50%, rgba(27, 21, 17, .44) 84%, rgba(27, 21, 17, .32) 100%),
  linear-gradient(180deg, rgba(27, 21, 17, .5) 0%, rgba(27, 21, 17, 0) 16%, rgba(27, 21, 17, 0) 78%, rgba(27, 21, 17, .6) 100%); }
.hero-cinematic .hero-inner { max-width: 1120px; text-align: center; display: grid; justify-items: center; }
.hero-kicker { margin: 0 0 30px; padding-left: .3em; font-size: .72rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: #efe2cb; }
.hero-cinematic h1 { margin: 0 auto; max-width: none; color: var(--ivory-text); font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.05; letter-spacing: -.025em; text-wrap: balance; }
.hero-cinematic h1 .hero-line { display: block; max-width: 13.5em; margin-inline: auto; text-wrap: balance; }
.hero-cinematic .lede { margin: 30px auto 0; max-width: 37rem; font-size: 1.1rem; line-height: 1.7; color: rgba(243, 236, 225, .8); text-wrap: pretty; }
.hero-cinematic .hero-actions { justify-content: center; gap: 14px; margin-top: 44px; }

/* First product section: proof after feeling */
.product-intro { background: var(--ivory); padding: clamp(80px, 10vw, 140px) 0 clamp(96px, 11vw, 152px); }
.product-intro .hero-visual { margin-top: 0; }
.product-head { max-width: 46rem; margin: 0 auto clamp(44px, 6vw, 72px); text-align: center; }
.product-head h2 { font-size: clamp(2.1rem, 3.8vw, 3.2rem); line-height: 1.08; letter-spacing: -.022em; text-wrap: balance; }
.product-head .sub { max-width: none; margin: 18px auto 0; font-size: 1.1rem; line-height: 1.7; text-wrap: pretty; }
.product-intro .product-frame { padding: 0; border: 1px solid var(--hairline); border-radius: 16px; background: #fffdf9; box-shadow: 0 1px 2px rgba(47, 35, 24, .05), 0 24px 56px -28px rgba(47, 35, 24, .28); }
.product-intro .product-frame > img:first-child { border-radius: 15px; }
.product-intro .hero-phone { filter: drop-shadow(0 26px 36px rgba(35, 25, 19, .26)); }

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .nav .btn, .hero-cinematic .btn { transition: none; }
  .nav .btn:hover, .hero-cinematic .btn:hover { transform: none; }
}
@media (max-width: 900px) {
  .hero-media::after { background:
    radial-gradient(ellipse 95% 58% at 50% 50%, rgba(27, 21, 17, .82) 0%, rgba(27, 21, 17, .74) 55%, rgba(27, 21, 17, .6) 100%),
    linear-gradient(180deg, rgba(27, 21, 17, .55) 0%, rgba(27, 21, 17, 0) 20%, rgba(27, 21, 17, 0) 76%, rgba(27, 21, 17, .66) 100%); }
}
@media (max-width: 767px) {
  .hero-poster, .hero-video { object-position: 50% 50%; }
  /* Phones: keep the veil deep behind the copy but open it a little above, where the horizon sits. */
  .hero-media::after { background:
    radial-gradient(ellipse 100% 44% at 50% 56%, rgba(27, 21, 17, .84) 0%, rgba(27, 21, 17, .76) 62%, rgba(27, 21, 17, .5) 100%),
    linear-gradient(180deg, rgba(27, 21, 17, .66) 0%, rgba(27, 21, 17, .4) 8%, rgba(27, 21, 17, 0) 18%, rgba(27, 21, 17, 0) 76%, rgba(27, 21, 17, .66) 100%); }
}
@media (max-width: 640px) {
  .nav-inner { height: 64px; }
  .nav .logo { font-size: .92rem; letter-spacing: .22em; }
  .hero.hero-cinematic { min-height: 100svh; padding: 112px 0 72px; }
  .hero-kicker { margin-bottom: 22px; font-size: .66rem; letter-spacing: .24em; }
  .hero-cinematic h1 { font-size: clamp(2.15rem, 9.6vw, 2.6rem); }
  .hero-cinematic .lede { font-size: 1.02rem; margin-top: 22px; }
  .hero-cinematic .hero-actions { margin-top: 34px; width: 100%; }
  .product-intro { padding: 72px 0 88px; }
  .product-head .sub { font-size: 1.02rem; }
}

/* The approved header and first product section keep their exact values while the rest of the page uses the system above. */
.nav { --ink: #2b2927; --muted: #6c6258; --espresso: #211f1d; --line: #e3d9cc; --gold-deep: var(--accent-deep); color: var(--ink); }
.nav .btn-dark { color: #fff; }
.product-intro { --muted: #6c6258; color: #2b2927; }

/* =========================================================
   Mobile header and menu — only below 901px, where the header links are hidden. Desktop is unaffected.
   ========================================================= */
.nav-toggle, .mobile-menu { display: none; }
@media (max-width: 900px) {
  .nav-inner > .btn, .nav .logo-sub { display: none; } /* wordmark + menu button only; the menu has the CTA */
  .nav-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: -11px; padding: 0; border: 0; border-radius: 12px; background: none; color: var(--ink); }
  .nav:not(.is-solid) .nav-toggle { color: var(--ivory-text); }
  .nav-toggle span { position: relative; width: 22px; height: 8px; }
  .nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 100%; height: 1.5px; border-radius: 1px; background: currentColor; transition: transform .25s var(--ease), top .25s var(--ease); }
  .nav-toggle span::before { top: 0; }
  .nav-toggle span::after { top: 6.5px; }
  .nav-toggle[aria-expanded="true"] span::before { top: 3.25px; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span::after { top: 3.25px; transform: rotate(-45deg); }

  .nav.menu-open { background: var(--ivory); box-shadow: 0 1px 0 var(--hairline); }
  body.menu-open { overflow: hidden; }
  .mobile-menu:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 49; padding: calc(76px + env(safe-area-inset-top)) 0 calc(40px + env(safe-area-inset-bottom)); background: var(--ivory); overflow-y: auto; overscroll-behavior: contain; animation: menuIn .25s var(--ease); }
  .mobile-menu-links { list-style: none; margin: 12px 0 0; padding: 0; }
  .mobile-menu-links a { display: flex; align-items: center; gap: 12px; padding: 21px 0 19px; border-bottom: 1px solid var(--line); font: 400 1.65rem/1.15 var(--serif); letter-spacing: -.012em; color: var(--ink); text-decoration: none; transition: color .2s; }
  .mobile-menu-links a:hover { color: var(--accent-deep); }
  .mobile-menu-links .i { width: 16px; height: 16px; color: var(--accent-deep); }
  .mobile-menu .btn { margin-top: 40px; }
}
@keyframes menuIn { from { opacity: 0; } }
@media (max-width: 640px) {
  .mobile-menu:not([hidden]) { padding-top: calc(64px + env(safe-area-inset-top)); }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-menu:not([hidden]) { animation: none; }
  .nav-toggle span::before, .nav-toggle span::after { transition: none; }
}

/* =========================================================
   Consent banner — a quiet bottom panel (desktop) / bottom sheet (phones). Never covers the whole page.
   ========================================================= */
.footer-links { display: inline-flex; gap: 18px; }
.footer-link { padding: 6px 0; border: 0; background: none; font: inherit; color: var(--muted-on-dark); text-decoration: underline; text-decoration-color: rgba(243, 236, 225, .3); text-underline-offset: 3px; cursor: pointer; }
.footer-link:hover { color: var(--ivory-on-dark); }
.footer-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.cc { position: fixed; z-index: 60; left: 50%; bottom: 20px; width: min(980px, 100% - 32px); transform: translateX(-50%); animation: ccIn .22s var(--ease); }
.cc-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 32px; align-items: center; padding: 22px 26px; background: #fffdf9; color: var(--ink); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 1px 2px rgba(28, 23, 19, .06), 0 24px 56px -24px rgba(28, 23, 19, .38); }
.cc-title { margin: 0 0 6px; font: 500 1.25rem/1.2 var(--serif); letter-spacing: -.01em; }
.cc-text { margin: 0; max-width: 56ch; font-size: .92rem; line-height: 1.6; color: var(--muted); }
.cc-text a { color: var(--accent-deep); text-underline-offset: 3px; }
.cc-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; }
.cc-btn { min-height: 44px; padding: 0 18px; border: 1px solid rgba(38, 34, 30, .22); border-radius: 12px; background: transparent; color: var(--ink); font: 600 .9rem/1 var(--sans); white-space: nowrap; transition: background-color .18s, border-color .18s, color .18s; }
.cc-btn:hover { background: rgba(38, 34, 30, .04); border-color: rgba(38, 34, 30, .4); }
.cc-btn-primary { background: var(--espresso); border-color: var(--espresso); color: var(--ivory-on-dark); }
.cc-btn-primary:hover { background: #000; border-color: #000; }
.cc-btn-text { border-color: transparent; padding: 0 8px; color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.cc-btn-text:hover { background: none; border-color: transparent; color: var(--ink); }
.cc-btn[hidden] { display: none; }
.cc :focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.cc-prefs { grid-column: 1 / -1; display: grid; border-top: 1px solid var(--line); }
.cc-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); cursor: default; }
label.cc-row { cursor: pointer; }
.cc-row b { display: block; font-weight: 600; font-size: .92rem; }
.cc-row span { display: block; margin-top: 2px; font-size: .85rem; line-height: 1.5; color: var(--muted); }
.cc-row .cc-always { flex: none; margin: 0; font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-deep); }
.cc-switch { appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 46px; height: 28px; margin: 0; border-radius: 999px; background: #d9d1c6; cursor: pointer; transition: background-color .18s; }
.cc-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(28, 23, 19, .25); transition: transform .18s var(--ease); }
.cc-switch:checked { background: var(--espresso); }
.cc-switch:checked::after { transform: translateX(18px); }
@keyframes ccIn { from { opacity: 0; transform: translate(-50%, 10px); } }
/* The mobile menu takes the whole screen; the banner waits behind it */
body.menu-open .cc { display: none; }
@media (prefers-reduced-motion: reduce) { .cc { animation: none; } .cc-btn, .cc-switch, .cc-switch::after { transition: none; } }
@media (max-width: 760px) {
  .cc { left: 0; right: 0; bottom: 0; width: auto; transform: none; animation-name: ccSheetIn; }
  .cc-inner { grid-template-columns: 1fr; gap: 14px; max-height: 85svh; overflow-y: auto; padding: 20px 18px calc(18px + env(safe-area-inset-bottom)); border-radius: 16px 16px 0 0; border-bottom: 0; }
  .cc-title { font-size: 1.15rem; }
  .cc-text { font-size: .9rem; }
  .cc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .cc-actions .cc-btn-primary { grid-column: 1 / -1; }
  .cc-btn { width: 100%; min-height: 46px; padding: 0 12px; }
  .cc-actions .cc-btn-text { min-height: 44px; }
}
@keyframes ccSheetIn { from { opacity: 0; transform: translateY(12px); } }

/* Discreet status lines: hero note, demo note in How it works */
.hero-cinematic .hero-note { margin: 28px auto 0; max-width: 34rem; font-size: .95rem; line-height: 1.6; color: rgba(243, 236, 225, .78); text-wrap: pretty; }
.demo-note { max-width: 34rem; margin: -4px 0 0; font-size: .85rem; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
