/* The selling page. Tokens, fonts and buttons come from design-system/. */
:root { --ease: cubic-bezier(.22,.61,.36,1); --gut: 16px; }
@media (min-width: 900px) { :root { --gut: 48px; } }
* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; background: var(--surface-app, #F6F3EE); color: var(--text-body-color, #45484B); font-family: var(--font-sans); overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; background: var(--gradient-ambient); z-index: -1; pointer-events: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 300; color: var(--text-strong); margin: 0; letter-spacing: -.02em; }
h1 { font-size: clamp(34px, 6.2vw, 78px); line-height: 1.04; }
h2 { font-size: clamp(28px, 4.4vw, 56px); line-height: 1.08; }
h3 { font-size: 22px; font-weight: 400; }
.soft { opacity: .55; }
p { line-height: 1.55; font-size: 16px; margin: 0; }
img { display: block; max-width: 100%; }

.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; justify-content: space-between; align-items: center; padding: 14px var(--gut); }
.nav-mark img { width: 38px; }
.progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 60; }
.progress i { display: block; height: 100%; width: 100%; background: var(--zw-navy-700, #112749); transform-origin: left; transform: scaleX(0); }

.scene { position: relative; padding: 96px var(--gut); }
.scene.navy { background: var(--gradient-navy); color: #DDE3EC; }
.scene.navy h2, .scene.navy h3 { color: #fff; }
.scene.navy .zw-eyebrow { color: var(--zw-lime-500); }
.zw-eyebrow { margin-bottom: 14px; }
.btn.cta { margin-top: 28px; height: 46px; padding: 0 26px; font-size: 15px; }

/* Hero */
.hero { min-height: 100vh; display: grid; place-items: center; text-align: center; overflow: hidden; }
.hero-text { position: relative; z-index: 2; max-width: 1000px; }
.scroll-hint { margin-top: 22px; font-size: 13px; color: var(--text-muted); }
.zoom-card { position: absolute; left: 50%; bottom: 7vh; width: 150px; height: 104px; margin-left: -75px; border-radius: 24px; background: var(--gradient-navy); display: grid; place-items: center; z-index: 1; box-shadow: var(--shadow-lg); }
.zoom-card img { width: 62%; }

/* Problem */
.problem { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.problem .line { font-family: var(--font-display); font-weight: 300; font-size: clamp(26px, 4.6vw, 60px); line-height: 1.2; color: #fff; margin: .2em 0; }
.problem .turn { color: var(--zw-lime-500); margin-top: .8em; }

/* Hub */
.hub { min-height: 100vh; display: grid; place-items: center; }
.hub-stage { position: relative; width: min(100%, 980px); aspect-ratio: 1; max-height: 86vh; display: grid; place-items: center; }
.hub-core { position: relative; z-index: 2; width: 120px; height: 120px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-md); display: grid; place-items: center; }
.hub-core img { width: 64%; }
.hub-ring { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.hub-ring li { position: absolute; left: 50%; top: 50%; display: inline-flex; gap: 6px; align-items: center; margin: -17px 0 0 -62px; width: 124px; height: 34px; justify-content: center; border-radius: 999px; background: var(--glass-fill-strong, rgba(255,255,255,.74)); border: 1px solid var(--glass-border, rgba(255,255,255,.66)); box-shadow: var(--shadow-sm); font-size: 12px; font-weight: 600; color: var(--text-strong); white-space: nowrap; }
.hub-ring svg { width: 14px; height: 14px; }
.hub-copy { position: absolute; z-index: 3; bottom: 0; left: 0; right: 0; text-align: center; }
.hub-copy h2 { font-size: clamp(24px, 3.6vw, 44px); }
.hub-copy p { margin-top: 8px; font-size: 15px; }

/* Rail */
.rail-scene { padding-left: 0; padding-right: 0; }
.rail-head { padding: 0 var(--gut) 28px; }
.rail { display: flex; gap: 20px; padding: 0 var(--gut); }
.panel { flex: 0 0 min(92vw, 980px); background: var(--surface-card, #fff); border: 1px solid var(--border-subtle); border-radius: 24px; box-shadow: var(--shadow-md); padding: 28px; display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 900px) { .panel { grid-template-columns: 1.1fr 1fr; padding: 36px; min-height: min(68vh, 560px); } }
.panel .tag { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.panel .tag svg { width: 18px; height: 18px; }
.panel h3 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 14px; }
.panel .old { font-size: 14px; color: var(--text-muted); text-decoration: line-through; text-decoration-color: rgba(110,112,115,.5); margin-bottom: 10px; }
.panel .gets { margin-bottom: 16px; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 8px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 28px 1fr; gap: 10px; font-size: 14.5px; line-height: 1.45; }
.steps li::before { content: counter(s); font-family: var(--font-display); font-weight: 400; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--zw-navy-050, #EFF2F6); color: var(--text-brand); font-size: 13px; }
.steps.big li { font-size: 17px; }
.panel .result { margin-top: 16px; font-family: var(--font-display); font-size: 19px; color: var(--text-brand); }
.panel .mock { background: var(--surface-app); border-radius: 18px; padding: 16px; display: grid; gap: 10px; align-content: center; border: 1px solid var(--border-subtle); }
.panel.build { opacity: .92; }

/* Mockup parts */
.m-hero { background: var(--gradient-navy); color: #fff; border-radius: 14px; padding: 16px; display: grid; gap: 6px; }
.m-hero.light { background: #fff; color: var(--text-strong); border: 1px solid var(--border-subtle); }
.m-hero strong { font-family: var(--font-display); font-weight: 300; font-size: 40px; line-height: 1; }
.m-eyebrow { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; opacity: .7; }
.m-bar { display: block; height: 6px; border-radius: 6px; background: rgba(127,140,160,.3); overflow: hidden; }
.m-bar b { display: block; height: 100%; background: var(--zw-azure-500, #7593B6); border-radius: 6px; }
.m-kpis { display: grid; grid-auto-flow: column; gap: 8px; }
.m-kpis div { background: #fff; border-radius: 12px; padding: 10px 12px; border: 1px solid var(--border-subtle); display: grid; }
.m-kpis b { font-family: var(--font-display); font-weight: 300; font-size: 24px; color: var(--text-strong); }
.m-kpis span { font-size: 11.5px; color: var(--text-muted); }
.m-cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.m-cols div { background: var(--surface-sunken, #EDE9E3); border-radius: 10px; padding: 8px 6px; display: grid; gap: 6px; align-content: start; min-height: 120px; }
.m-cols em { font-style: normal; font-size: 10px; font-weight: 600; color: var(--text-muted); }
.m-cols u { height: 30px; border-radius: 8px; background: #fff; box-shadow: var(--shadow-xs); }
.m-cols u.on { outline: 2px solid var(--zw-navy-500, #274A7D); }
.m-chips, .m-steps { display: flex; flex-wrap: wrap; gap: 6px; }
.m-chips span, .m-steps span { font-size: 12px; padding: 5px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--border-default); }
.m-chips .on, .m-steps .on { background: var(--zw-navy-700); color: #fff; border-color: var(--zw-navy-700); }
.m-row { background: #fff; border-radius: 10px; padding: 9px 12px; font-size: 13px; display: flex; gap: 8px; align-items: center; border: 1px solid var(--border-subtle); }
.m-row b { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.m-dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--zw-navy-400); display: inline-block; }
.m-dot.ok { background: var(--success-500, #2C8764); border-color: var(--success-500, #2C8764); }
.m-card { background: #fff; border-radius: 14px; padding: 14px; border: 1px solid var(--border-subtle); display: grid; gap: 6px; box-shadow: var(--shadow-xs); }
.m-card strong { font-family: var(--font-display); font-weight: 400; font-size: 17px; color: var(--text-strong); }
.m-card span { font-size: 13px; color: var(--text-muted); }
.m-pill { display: inline-flex; width: fit-content; font-size: 12px; font-weight: 500; padding: 2px 10px; border-radius: 999px; background: var(--zw-navy-050, #EFF2F6); color: var(--zw-navy-600, #1A3660); }
.m-card .m-pill.draft, .m-pill.draft { background: var(--zw-sand-100, #F7F4EF); color: var(--zw-bronze-700, #6B573C); }
.m-pill.lime { background: var(--zw-lime-500); color: var(--zw-navy-700); font-weight: 600; padding: 4px 14px; }
.m-chat { display: grid; gap: 8px; }
.m-chat p { font-size: 13px; padding: 8px 12px; border-radius: 14px; max-width: 86%; }
.m-chat .you { background: var(--zw-navy-700); color: #fff; justify-self: end; }
.m-chat .bot { background: #fff; border: 1px solid var(--border-subtle); }
.m-confirm { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--border-default); border-radius: 12px; padding: 8px 10px; font-size: 13px; }
.m-confirm button { font: 600 13px var(--font-sans); border: 0; border-radius: 8px; padding: 6px 12px; background: var(--zw-navy-700); color: #fff; }

/* Pipeline */
.pipe { min-height: 100vh; display: grid; align-items: center; }
.pipe-inner { max-width: 1240px; margin: 0 auto; width: 100%; }
.stages { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 32px 0 20px; }
.stage { padding: 18px 10px; border-radius: 14px; background: var(--surface-sunken); text-align: center; font-family: var(--font-display); font-size: clamp(13px, 1.5vw, 19px); color: var(--text-muted); transition: transform .34s var(--ease), background .34s var(--ease), color .34s var(--ease); }
.stage.on { background: var(--zw-navy-700); color: #fff; transform: scale(1.06); box-shadow: var(--shadow-md); }
.stage-detail { min-height: 96px; max-width: 640px; }
.stage-detail p { margin-top: 8px; font-size: 18px; }
.finalise-row { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Listings */
.listings { min-height: 100vh; display: grid; align-items: center; }
.listings-inner { max-width: 1200px; margin: 0 auto; width: 100%; display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .listings-inner { grid-template-columns: 1fr 1fr; } }
.listings-copy .steps { margin-top: 24px; }
.page-mock { background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--border-subtle); overflow: hidden; transform-origin: center; }
.pm-bar { display: flex; gap: 6px; padding: 12px 14px; background: var(--surface-sunken); }
.pm-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--zw-neutral-200, #CFCAC2); }
.pm-body { padding: 28px; display: grid; gap: 12px; }
.pm-body strong { font-family: var(--font-display); font-weight: 300; font-size: 30px; color: var(--text-strong); line-height: 1.1; }
.pm-price { font-family: var(--font-display); font-size: 22px; color: var(--text-brand); }
.pm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pm-grid div { background: var(--surface-app); border-radius: 12px; padding: 10px; display: grid; }
.pm-grid b { font-family: var(--font-display); font-weight: 400; font-size: 20px; color: var(--text-strong); }
.pm-grid span { font-size: 12px; color: var(--text-muted); }
.pm-cta { text-align: center; padding: 12px; border-radius: 10px; background: var(--zw-navy-700); color: #fff; font-weight: 600; font-size: 14px; }

/* Wallet */
.wallet { min-height: 100vh; display: grid; align-items: center; }
.wallet-inner { max-width: 1100px; margin: 0 auto; width: 100%; }
.split { display: grid; gap: 20px; margin-top: 32px; }
@media (min-width: 800px) { .split { grid-template-columns: 1fr 1fr; } }
.side { background: #fff; border-radius: 22px; padding: 28px; border: 1px solid var(--border-subtle); box-shadow: var(--shadow-sm); }
.side.them { background: var(--zw-navy-700); color: #DDE3EC; }
.side.them h3 { color: #fff; }
.side ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; font-size: 16px; }
.side li { padding-bottom: 10px; border-bottom: 1px solid var(--border-subtle); }
.side.them li { border-color: rgba(255,255,255,.18); }
.side .never { text-decoration: line-through; opacity: .7; }
.side .foot { margin-top: 16px; font-size: 13px; opacity: .8; }

/* Vault */
.vault { overflow: hidden; }
.door { position: absolute; top: 0; height: 100vh; width: 50%; background: var(--gradient-navy); z-index: 5; pointer-events: none; }
.door.left { left: 0; } .door.right { right: 0; }
.vault-inner { max-width: 1240px; margin: 0 auto; position: relative; }
.vault h3.group { margin: 36px 0 14px; font-size: 20px; }
.cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { background: #fff; border: 1px solid var(--border-subtle); border-radius: 18px; padding: 18px; box-shadow: var(--shadow-sm); }
.card h4 { margin: 0 0 6px; font-family: var(--font-display); font-weight: 400; font-size: 18px; color: var(--text-strong); }
.card p { font-size: 14px; }
.cards.build .card { background: transparent; border-style: dashed; box-shadow: none; }
.card .m-pill { margin-bottom: 10px; }
.fine { margin-top: 28px; font-size: 13px; color: var(--text-muted); max-width: 70ch; }

/* Day */
.day { padding-left: 0; padding-right: 0; }
.day-head { padding: 0 var(--gut) 28px; }
.day-track { display: flex; gap: 16px; padding: 0 var(--gut); }
.moment { flex: 0 0 min(78vw, 340px); background: #fff; border-radius: 22px; border: 1px solid var(--border-subtle); padding: 24px; box-shadow: var(--shadow-sm); }
.moment .time { font-family: var(--font-display); font-weight: 300; font-size: 54px; line-height: 1; color: var(--text-brand); }
.moment h3 { margin: 14px 0 6px; }

/* Close */
.close { min-height: 100vh; display: grid; place-items: center; text-align: center; overflow: hidden; }
.close-inner { max-width: 560px; width: 100%; }
.close-mark { width: 120px; margin: 0 auto 24px; }
.close p { margin: 14px 0 28px; }
#waitlist { display: grid; gap: 12px; text-align: left; }
#waitlist label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: #DDE3EC; }
#waitlist input { height: 46px; border-radius: 10px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; padding: 0 14px; font: 400 16px var(--font-sans); }
#waitlist input:focus { outline: 2px solid var(--zw-lime-500); outline-offset: 2px; }
#waitlist .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#waitlist .btn-highlight { color: var(--zw-navy-900); }
#waitlist .btn:disabled { opacity: .6; }
#waitlist input[aria-invalid=true] { border-color: #FFD3CC; outline: 2px solid #FFD3CC; outline-offset: 2px; }
.status.ok { color: var(--zw-lime-500); }
#waitlist .btn { height: 46px; margin-top: 6px; }
.status { min-height: 22px; margin: 0 !important; font-size: 14px; color: #fff; }
.status.bad { color: #FFD3CC; }
#waitlist .consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
#waitlist .consent input { width: 22px; height: 22px; margin: 2px 0 0; padding: 0; accent-color: var(--zw-lime-500); cursor: pointer; }
#waitlist .consent input[aria-invalid=true] { outline: 2px solid #FFD3CC; outline-offset: 2px; }
#waitlist .consent label { display: block; font-size: 13px; font-weight: 400; line-height: 1.5; color: #DDE3EC; }
#waitlist .consent a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* Static layout: phones, tablets and reduced motion. No pinning, no scrub. */
.is-static .zoom-card { position: relative; left: auto; bottom: auto; margin: 28px auto 0; }
.is-static .hero-text { padding-top: 40px; }
.is-static .hero { min-height: auto; }
.is-static .hub-stage { aspect-ratio: auto; max-height: none; display: block; }
.is-static .hub-core { margin: 0 auto 20px; }
.is-static .hub-ring { position: static; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 24px; }
.is-static .hub-ring li { position: static; margin: 0; width: auto; padding: 0 12px; }
.is-static .hub-copy { position: static; }
.is-static .rail, .is-static .day-track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; -webkit-overflow-scrolling: touch; }
.is-static .panel, .is-static .moment { scroll-snap-align: center; }
.is-static .door { display: none; }
.is-static .scene { min-height: auto; }
.is-static .stages { grid-template-columns: 1fr; }
.is-static .stage-detail { display: none; }
.is-static .stage { text-align: left; padding: 14px 16px; }
.is-static .stage::after { content: attr(data-text); display: block; font-family: var(--font-sans); font-size: 14px; margin-top: 6px; opacity: .8; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
/* The default focus ring is navy; on navy sections it is invisible (1.96:1). Lime is 13.8:1 there. */
.navy a:focus-visible, .navy .btn:focus-visible, .navy button:focus-visible, .sector-title a:focus-visible, .close a:focus-visible, .close .btn:focus-visible { outline: 2px solid var(--zw-lime-500); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 13px 16px; border-radius: 10px; background: var(--zw-navy-700); color: #fff; font: 600 14px var(--font-sans); text-decoration: none; }
.skip:focus { top: 12px; outline: 2px solid var(--zw-lime-500); outline-offset: 2px; }

/* Buttons, as the CRM draws them (styles.css is the app's, not loaded here). */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: var(--size-control-md, 38px); padding: 0 16px; font: 600 14px/1 var(--font-sans); letter-spacing: -.005em; white-space: nowrap; border-radius: var(--radius-control, 10px); cursor: pointer; text-decoration: none; transition: var(--transition-control, all 140ms cubic-bezier(.22,.61,.36,1)); border: 1px solid transparent; box-shadow: var(--shadow-xs); }
.btn:active { transform: scale(.985); }
.btn-secondary { background: #fff; color: var(--text-strong); border-color: var(--border-default); }
.btn-secondary:hover { background: var(--zw-sand-100, #F7F4EF); border-color: var(--border-strong); }
.btn-highlight { background: var(--action-highlight, #D8F23F); color: var(--text-on-highlight, #1A1C1F); border-color: var(--action-highlight, #D8F23F); }
.btn-highlight:hover { background: var(--action-highlight-hover, #E2F56E); }
.btn-sm { height: var(--size-control-sm, 30px); padding: 0 12px; font-size: 13px; }
.btn:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--border-focus, #274A7D); outline-offset: 2px; }
html, body { overflow-x: clip; }
.rail-scene, .day { overflow: hidden; }

/* ═══ Story: chapters, tracker, widgets ═══ */
.hub-ring a { display: inline-flex; gap: 6px; align-items: center; justify-content: center; width: 100%; height: 100%; color: inherit; text-decoration: none; }
.tracker { position: fixed; left: 50%; bottom: 14px; transform: translate(-50%, 24px); z-index: 55; display: flex; align-items: center; gap: 18px; padding: 8px 18px; border-radius: 999px; background: var(--glass-fill-strong, rgba(255,255,255,.8)); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid var(--glass-border, rgba(255,255,255,.66)); box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; transition: opacity .34s var(--ease), transform .34s var(--ease); max-width: calc(100vw - 24px); }
body.story-on .tracker { opacity: 1; transform: translate(-50%, 0); }
.tk-who { display: grid; font: 600 12.5px var(--font-sans); color: var(--text-strong); white-space: nowrap; }
.tk-who em { font-style: normal; font-weight: 400; font-size: 11px; color: var(--text-muted); }
.tracker ol { display: flex; gap: 14px; list-style: none; margin: 0; padding: 0; }
.tracker li { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--text-faint); }
.tracker li i { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--zw-navy-300, #8195B5); }
.tracker li.past i { background: var(--zw-navy-700); border-color: var(--zw-navy-700); }
.tracker li.now i { background: var(--zw-lime-500); border-color: var(--zw-navy-700); box-shadow: 0 0 0 4px rgba(216,242,63,.35); }
.tracker li.now { color: var(--text-strong); font-weight: 600; }
@media (max-width: 760px) { .tracker { gap: 10px; padding: 7px 12px; } .tracker li span { display: none; } .tracker li.now span { display: inline; } .tk-who em { display: none; } }

/* Sources: horizontal rail */
.hscene { background: var(--gradient-navy); color: #DDE3EC; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 80px 0; }
.hs-head { padding: 0 var(--gut) 28px; }
.hs-head h2 { color: #fff; }
.ch-num { font: 600 11px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--zw-lime-500); margin-bottom: 14px; }
.hs-track { display: flex; gap: 20px; padding: 0 var(--gut); width: max-content; }
.hs-card { position: relative; width: min(78vw, 400px); border-radius: 24px; padding: 28px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); display: grid; gap: 10px; align-content: start; min-height: 280px; }
.hs-card svg { width: 26px; height: 26px; color: var(--zw-lime-500); }
.hs-card h3 { color: #fff; font-size: 26px; }
.hs-card p { color: #DDE3EC; font-size: 15px; }
.hs-n { position: absolute; right: 22px; top: 14px; font: 300 64px var(--font-display); color: rgba(255,255,255,.12); }
.is-static .hs-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; }
.is-static .hs-card { scroll-snap-align: center; flex: 0 0 min(82vw, 380px); }

/* Chapters */
.chapter { position: relative; }
.ch-title { min-height: 100vh; display: grid; place-content: center; text-align: center; padding: 0 var(--gut); position: relative; overflow: hidden; }
.ch-title .zw-eyebrow { display: inline-flex; align-items: center; gap: 8px; justify-content: center; }
.ch-title .zw-eyebrow svg { width: 16px; height: 16px; }
.ch-big { position: absolute; inset: 0; display: grid; place-items: center; font: 300 clamp(180px, 34vw, 460px)/1 var(--font-display); color: var(--zw-navy-700); opacity: .1; pointer-events: none; letter-spacing: -.04em; }
.ch-title h2, .ch-title .zw-eyebrow { position: relative; }
.ch-wrap { max-width: 1280px; margin: 0 auto; padding: 24px var(--gut) 110px; display: grid; gap: 36px; align-items: start; }
@media (min-width: 1000px) { .ch-wrap { grid-template-columns: minmax(280px, 360px) 1fr; } .ch-head { position: sticky; top: 90px; } }
.ch-head .lede { font-size: 18px; line-height: 1.5; color: var(--text-strong); }
.train { margin-top: 22px; padding: 18px; border-radius: 18px; background: var(--surface-card, #fff); border: 1px solid var(--border-subtle); box-shadow: var(--shadow-xs); }
.train h4 { margin: 0 0 12px; font: 600 11px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.real { display: inline-flex; gap: 6px; align-items: center; margin-top: 16px; font: 600 14px var(--font-sans); color: var(--text-brand); text-decoration: none; border-bottom: 1px solid currentColor; }
.real svg { width: 15px; height: 15px; }
.ch-stage { position: relative; min-width: 0; }
.is-static .ch-title { min-height: 56vh; }

/* Shared widget bits */
.muted { color: var(--text-muted); font-size: 13.5px; }
.hint { font-size: 13.5px; color: var(--text-muted); margin: 10px 0 0; }
.hint.ok { color: var(--success-600, #1F6B4E); font-weight: 600; }
.fine2 { font-size: 12px; color: var(--text-muted); margin-top: 10px; }
.link { background: none; border: 0; padding: 0; font: 600 13.5px var(--font-sans); color: var(--text-brand); text-decoration: underline; cursor: pointer; }
.btn.on, .btn.done { background: var(--zw-navy-700); color: #fff; border-color: var(--zw-navy-700); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn.big { height: 52px; padding: 0 36px; font-size: 17px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.tiles.s { grid-template-columns: repeat(3, 1fr); }
.tile { background: var(--surface-app); border: 1px solid var(--border-subtle); border-radius: 14px; padding: 12px; display: grid; gap: 3px; }
.tile span { font-size: 11.5px; color: var(--text-muted); }
.tile b { font: 400 20px var(--font-display); color: var(--text-strong); font-feature-settings: "tnum" 1; }
.tile em { font-style: normal; font-size: 11px; color: var(--text-faint); }
.tile.off b { color: var(--text-faint); text-decoration: line-through; font-size: 15px; }
.ticks, .checks { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.ticks li, .checks li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; }
.ticks li::before { content: ""; flex: 0 0 18px; height: 18px; border-radius: 50%; background: var(--success-500, #2C8764) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.checks li::before { content: ""; flex: 0 0 18px; height: 18px; border-radius: 50%; border: 2px solid var(--zw-neutral-200, #CFCAC2); }
.checks li.ok::before { background: var(--success-500, #2C8764) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; border-color: transparent; }
.checks li.ok { color: var(--text-strong); }
.gate-wrap { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; }
.gate { background: var(--glass-fill-strong, rgba(255,255,255,.88)); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--border-default); border-radius: 18px; padding: 22px; text-align: center; display: grid; gap: 12px; max-width: 340px; box-shadow: var(--shadow-md); }
.ghosty { min-height: 340px; background: var(--surface-card); border: 1px dashed var(--border-default); border-radius: 22px; }
label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text-strong); }
label output { float: right; font-weight: 500; color: var(--text-muted); }
input[type=number], input:not([type]), .page-mock input:not([type=range]) { height: 42px; border-radius: 10px; border: 1px solid var(--border-default); padding: 0 12px; font: 400 15px var(--font-sans); background: #fff; color: var(--text-strong); }
input[type=range] { width: 100%; accent-color: var(--zw-navy-700); }
.chk { display: flex; align-items: center; gap: 9px; font-weight: 400; font-size: 14px; }

/* Lead */
.enq { display: grid; gap: 20px; }
@media (min-width: 760px) { .enq { grid-template-columns: 1fr 1fr; } }
.page-mock.sm { max-width: 420px; }
.page-mock .pm-bar span { margin-left: 8px; font-size: 11px; color: var(--text-muted); }
.page-mock .pm-cta { border: 0; cursor: pointer; font-family: var(--font-sans); }
.page-mock label { font-weight: 500; }
.receipt { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: 20px; padding: 22px; box-shadow: var(--shadow-sm); align-self: start; }
.receipt h4 { font-size: 20px; }

/* Listings */
.lst { display: grid; gap: 18px; }
@media (min-width: 900px) { .lst { grid-template-columns: 250px 1fr; } }
.offer { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: 20px; padding: 20px; align-self: start; box-shadow: var(--shadow-sm); display: grid; gap: 12px; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.flow li { padding: 9px 12px; border-radius: 10px; background: var(--surface-sunken); font-size: 13.5px; color: var(--text-muted); transition: all .34s var(--ease); }
.flow li.on { background: var(--zw-navy-700); color: #fff; }
.sliders { display: grid; gap: 12px; }
.pm-price small { font: 400 13px var(--font-sans); color: var(--text-muted); }
.opened { margin-top: 6px; display: flex; gap: 8px; align-items: center; font-size: 13px; padding: 10px 12px; background: var(--zw-lime-100, #F9FDE6); border-radius: 12px; color: var(--text-strong); }
.opened svg { width: 16px; height: 16px; flex: none; }

/* Pipeline */
.board { display: grid; grid-template-columns: repeat(5, minmax(120px, 1fr)); gap: 8px; overflow-x: auto; padding-bottom: 6px; }
.col { background: var(--surface-sunken, #EDE9E3); border-radius: 14px; padding: 8px; display: grid; gap: 8px; align-content: start; min-height: 260px; }
.col h5 { margin: 4px 4px 2px; font: 600 11px var(--font-sans); letter-spacing: .04em; color: var(--text-muted); }
.pw { background: #fff; border-radius: 10px; box-shadow: var(--shadow-xs); padding: 10px; display: grid; gap: 3px; font-size: 12px; border: 1px solid transparent; touch-action: none; }
.pw b { font-size: 13px; color: var(--text-strong); } .pw span { color: var(--text-muted); } .pw em { font-style: normal; font: 400 14px var(--font-display); color: var(--text-strong); }
.pw.ghost { opacity: .6; }
.pw.me { border-color: var(--zw-navy-500, #274A7D); cursor: grab; box-shadow: var(--shadow-md); }
.pw.me.drag { cursor: grabbing; z-index: 20; position: relative; box-shadow: var(--shadow-lg); }
.chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.chip { font-style: normal; font-size: 10.5px; padding: 2px 8px; border-radius: 999px; background: var(--zw-navy-050); color: var(--zw-navy-600); }
.chip.warn { background: var(--warning-100, #FAF2E0); color: var(--warning-600, #9A6A12); } .chip.ok { background: var(--success-100, #E6F2EC); color: var(--success-600, #1F6B4E); }
.chip.clay { background: var(--zw-sand-100, #F7F4EF); color: var(--zw-bronze-700, #6B573C); } .chip.azure { background: var(--info-100, #E8F0F7); color: var(--info-600, #1D5486); }
.pw-foot { display: flex; justify-content: space-between; margin-top: 6px; }
.pw-foot button { width: 30px; height: 28px; border-radius: 8px; border: 1px solid var(--border-default); background: #fff; cursor: pointer; display: grid; place-items: center; }
.pw-foot button:disabled { opacity: .35; cursor: default; } .pw-foot svg { width: 14px; height: 14px; }

/* Agenda */
.ag-grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .ag-grid { grid-template-columns: 1.5fr 1fr; } }
.ag-main, .book, .gcal { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: 20px; padding: 18px; box-shadow: var(--shadow-sm); }
.ag-side { display: grid; gap: 14px; align-content: start; }
.chips2 { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.chips2 button { border: 1px solid var(--border-default); background: #fff; border-radius: 999px; padding: 5px 11px; font: 500 12.5px var(--font-sans); cursor: pointer; color: var(--text-strong); }
.chips2 button.on { background: var(--zw-navy-700); border-color: var(--zw-navy-700); color: #fff; }
.chips2 em { font-style: normal; margin-left: 6px; opacity: .6; }
.alist h5 { margin: 14px 0 6px; font: 600 11px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.arow { display: grid; grid-template-columns: 26px 78px 1fr; gap: 8px; align-items: center; padding: 8px 4px; border-bottom: 1px solid var(--border-subtle); font-size: 14px; }
.arow.late .t { color: var(--danger-600, #9B3327); } .arow.done .t { text-decoration: line-through; color: var(--text-faint); }
.arow .k { font-size: 11.5px; color: var(--text-muted); } .arow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--zw-neutral-300, #AEB0B3); margin-left: 9px; }
.tick { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--zw-navy-300, #8195B5); background: #fff; cursor: pointer; display: grid; place-items: center; padding: 0; }
.arow.done .tick { background: var(--success-500, #2C8764); border-color: var(--success-500, #2C8764); color: #fff; } .tick svg { width: 12px; height: 12px; }
.book h4, .gcal h4 { margin: 0 0 6px; font-size: 18px; display: flex; gap: 8px; align-items: center; } .book p { font-size: 13px; margin-bottom: 10px; color: var(--text-muted); }
.book .btn { margin: 0 6px 6px 0; } .gcal h4 svg { width: 16px; height: 16px; }
.ev { display: grid; grid-template-columns: 76px 1fr; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--border-subtle); font-size: 13px; } .ev b { font-size: 11.5px; color: var(--zw-azure-700, #3F6490); }

/* Payment */
.pay { position: relative; }
.pay.locked .pay-grid { opacity: .35; filter: blur(1.5px); pointer-events: none; }
.pay-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .pay-grid { grid-template-columns: 1fr 1fr; } .pcard.wide { grid-column: 1 / -1; } }
.pcard { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: 20px; padding: 18px; box-shadow: var(--shadow-sm); display: grid; gap: 12px; align-content: start; }
.pcard h4 { margin: 0; font-size: 18px; display: flex; gap: 10px; align-items: center; } .pcard h4 span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--zw-navy-700); color: #fff; font: 600 12px var(--font-sans); }
.pcard h4 small { font: 400 12px var(--font-sans); color: var(--text-muted); }
.steps2 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.steps2 li { padding: 10px; border-radius: 12px; background: var(--surface-sunken); font-size: 12.5px; display: grid; gap: 6px; color: var(--text-muted); }
.steps2 li i { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--zw-neutral-300, #AEB0B3); }
.steps2 li.done { background: var(--zw-navy-050); color: var(--text-strong); } .steps2 li.done i { background: var(--success-500, #2C8764); border-color: var(--success-500, #2C8764); }
.steps2 li.current { outline: 2px solid var(--zw-navy-500, #274A7D); background: #fff; color: var(--text-strong); font-weight: 600; }
.row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

/* Finalise */
.fin { display: grid; gap: 22px; }
@media (min-width: 900px) { .fin { grid-template-columns: 280px 1fr; } }
.fin-main { display: grid; gap: 14px; align-content: start; background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: 22px; padding: 22px; box-shadow: var(--shadow-sm); }
.ripple { display: grid; gap: 10px; }
.rp { display: grid; grid-template-columns: 28px 1fr; gap: 2px 12px; padding: 14px 16px; border-radius: 16px; background: var(--surface-sunken); border: 1px dashed var(--border-default); color: var(--text-muted); transition: background .34s var(--ease), border-color .34s var(--ease); }
.rp svg { grid-row: span 2; width: 22px; height: 22px; align-self: center; } .rp b { font-size: 14px; } .rp span { font-size: 13.5px; }
.rp.on { background: #fff; border: 1px solid var(--zw-navy-300, #8195B5); color: var(--text-body-color); box-shadow: var(--shadow-sm); } .rp.on b { color: var(--text-strong); } .rp.on svg { color: var(--success-500, #2C8764); }

/* Wallet */
.wal { display: grid; gap: 14px; } .wcard { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: 22px; padding: 22px; box-shadow: var(--shadow-sm); display: grid; gap: 14px; }
.wtop { display: flex; justify-content: space-between; gap: 12px; align-items: start; flex-wrap: wrap; } .wtop h4 { font-size: 24px; } .wtop span { font-size: 13px; color: var(--text-muted); }
.asset { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--surface-app); } .asset b { font: 400 18px var(--font-display); color: var(--text-strong); } .asset span { font-size: 13px; color: var(--text-muted); }
.wact { display: flex; gap: 8px; flex-wrap: wrap; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface-sunken); gap: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; border-radius: 999px; padding: 7px 14px; font: 600 13px var(--font-sans); cursor: pointer; color: var(--text-muted); }
.seg button.on { background: var(--zw-navy-700); color: #fff; }

/* Again */
.again { display: grid; gap: 16px; position: relative; } .wmenu, .nl { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: 20px; padding: 20px; box-shadow: var(--shadow-sm); display: grid; gap: 10px; }
.wmenu b { font: 400 22px var(--font-display); color: var(--text-strong); } .wmenu span { font-size: 13px; color: var(--text-muted); } .wmenu .btn { justify-self: start; }
.ticks1 { font-size: 14px; } .nl h4 { font-size: 20px; } .nl input { height: 42px; border-radius: 10px; border: 1px solid var(--border-default); padding: 0 12px; background: var(--surface-app); } .mini { max-width: 260px; }

/* Coming soon (Jarvis) */
.soon-badge { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--border-default); background: var(--surface-app); color: var(--text-muted); font: 600 11px var(--font-sans); letter-spacing: .04em; text-transform: none; }
.soon-card { max-width: 520px; background: var(--surface-card); border: 1px dashed var(--border-default); border-radius: 24px; padding: 28px; display: grid; gap: 12px; justify-items: start; }
.soon-card > svg { width: 28px; height: 28px; color: var(--zw-navy-700); }
.soon-card h3 { font: 400 26px var(--font-display); color: var(--text-strong); }
.soon-card p { color: var(--text-muted); max-width: 46ch; }

/* Score */
.sc { display: grid; gap: 16px; } @media (min-width: 900px) { .sc { grid-template-columns: 1fr 1fr; } }
.sc-hero { position: relative; background: var(--gradient-navy); color: #fff; border-radius: 24px; padding: 26px; display: grid; grid-template-columns: 130px 1fr; gap: 20px; align-items: center; }
.sc-hero svg { width: 130px; height: 130px; transform: rotate(-90deg); } .sc-hero circle { fill: none; stroke-width: 10; } .sc-hero .trk { stroke: rgba(255,255,255,.16); } .sc-hero .val { stroke: var(--zw-lime-500); stroke-linecap: round; transition: stroke-dashoffset .6s var(--ease); }
.ring-n { position: absolute; left: 26px; top: 26px; width: 130px; height: 130px; display: grid; place-content: center; text-align: center; } .ring-n b { font: 300 34px var(--font-display); } .ring-n span { font-size: 11px; opacity: .7; }
.sc-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .sc-nums b { display: block; font: 300 38px var(--font-display); } .sc-nums span { font-size: 12px; opacity: .75; }
.sc-bars { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: 24px; padding: 22px; } .sc-bars h4 { margin-bottom: 14px; font-size: 18px; }
.bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; height: 130px; align-items: end; } .bar { height: 100%; display: grid; grid-template-rows: 1fr auto; gap: 6px; text-align: center; font-size: 11px; color: var(--text-muted); }
.bar i { align-self: end; background: var(--zw-azure-400, #94ACC8); border-radius: 6px 6px 3px 3px; transition: height .5s var(--ease); } .bar.today i { background: var(--zw-navy-700); }
@media (max-width: 520px) { .sc-hero { grid-template-columns: 1fr; justify-items: center; text-align: center; } .ring-n { position: static; margin-top: -130px; } }

/* People */
.ppl { display: grid; gap: 16px; } .matrix { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: 22px; padding: 22px; box-shadow: var(--shadow-sm); } .matrix h4 { font-size: 20px; display: flex; gap: 8px; align-items: center; margin-bottom: 10px; } .matrix h4 svg { width: 18px; height: 18px; }
.mrow { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--border-subtle); font-size: 15px; } .mrow.hid { color: var(--text-faint); } .mrow.hid b { text-decoration: line-through; font-weight: 400; }

/* Vault + close tweaks */
.vault .card h4 { font-family: var(--font-display); }
.close .try { margin: 0 0 24px; }
.close .try .btn { height: 46px; }

/* Touch and small screens: 44px targets, and no type under 12px. */
@media (max-width: 1024px), (pointer: coarse) {
  .btn-sm { height: 44px; padding: 0 16px; }
  .nav-mark { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
  .sectors a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; }
  .pv .back, .try .btn, .p1-cta .btn { min-height: 44px; }
  #waitlist .consent { grid-template-columns: 28px 1fr; }
  #waitlist .consent input { width: 28px; height: 28px; margin: 0; }
  .zw-eyebrow, .fn-n, .pv li h2 { font-size: 12px; }
  /* The nav floats over scrolling text; give it a frosted back so they never collide. */
  .nav { background: rgba(246,243,238,.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); padding-top: 8px; padding-bottom: 8px; }
  .nav.on-navy { background: rgba(11,26,49,.72); }
}
/* The fixed header must never cover a focused field (WCAG 2.4.11). */
#waitlist input, #waitlist button, #waitlist .consent { scroll-margin-top: 96px; }
.status { scroll-margin-bottom: 24px; }
