/* AutoClin marketing site. Plain CSS, no build step.
   One bright surface: cool off-white paper, navy ink, white panels. The blue-to-teal brand light is
   used only where Autopilot (the AI) acts. Layout is static by default; when main.js has GSAP ready it
   adds `html.motion` for reveals; on desktops (961px and wider) it also adds `html.pinned`, and the
   pinned, scroll-scrubbed scenes take over. Phones and tablets keep the stacked layout. */

:root {
  --paper: #f7f8fb; --paper-2: #ffffff; --paper-3: #eef2f8;
  --ink: #0b1a3d; --ink-2: #2b3a5c; --muted: #5b6a88; --muted-2: #8a96ae;
  --line: #e3e8f0; --line-2: #edf1f6; --line-3: #d3dbe8;
  --navy-800: #0a1f5c; --blue-600: #1a63d6; --blue-500: #1d6fe8; --blue-100: #dce8ff; --blue-50: #eef4ff;
  --teal-500: #05bfa3; --teal-700: #047a6a; --teal-50: #e6faf6;
  --ok: #0b7a5c; --ok-soft: #e3f6ef; --warn: #8a5300; --warn-soft: #fdf1dc; --danger: #b42318; --danger-soft: #fdeceb;
  --wa: #0f7a51; --wa-soft: #dff7ea;
  --ai: linear-gradient(100deg, #1d6fe8 0%, #2a9be6 48%, #05bfa3 100%);
  --ai-soft: linear-gradient(100deg, #e9f1ff, #e0faf5);
  --e1: 0 1px 2px rgba(10,31,92,.05), 0 1px 1px rgba(10,31,92,.03);
  --e2: 0 8px 24px -10px rgba(10,31,92,.14), 0 2px 6px -2px rgba(10,31,92,.06);
  --e3: 0 36px 80px -28px rgba(10,31,92,.28), 0 14px 30px -16px rgba(10,31,92,.12), 0 0 0 1px rgba(10,31,92,.04);
  --ease: cubic-bezier(.2,.7,.2,1); --ease-out: cubic-bezier(.16,1,.3,1);
  --font-display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", "Noto Sans Devanagari", "Noto Sans Tamil", "Noto Sans Bengali", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --header-h: 72px; --radius: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html:not(.motion) { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--paper); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; line-height: 1.06; letter-spacing: -.028em; font-weight: 600; color: var(--ink); }
p { margin: 0; } ul, ol { margin: 0; padding: 0; list-style: none; } b { font-weight: 600; } button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.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; }
.nowrap { white-space: nowrap; }
.mono { font-family: var(--font-mono); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-sm { width: 18px; height: 18px; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 8px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 600; transition: transform .2s var(--ease); }
.skip-link:focus { transform: translateY(76px); }

/* Type accents and small pieces */
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -.012em; font-size: 1.06em; }
.ai-text { background: var(--ai); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--ink-2); }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ai); box-shadow: 0 0 0 4px rgba(29,111,232,.1); }
.section-lede { max-width: 640px; margin: 20px auto 0; font-size: 18px; line-height: 1.6; color: var(--muted); }
.section-head { max-width: 820px; margin: 0 auto 64px; text-align: center; }
.section-head .kicker { justify-content: center; }
h2 { font-size: clamp(34px, 4.6vw, 60px); }
.ai-tag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 7px; border-radius: 999px; font-size: 11px; font-weight: 600; color: #0b3b6b; background: var(--ai-soft); white-space: nowrap; }
.ai-tag .icon { width: 13px; height: 13px; color: var(--blue-600); }
.ai-mini { margin-left: 4px; padding: 1px 6px; border-radius: 999px; font-size: 9px; font-weight: 600; color: #0b3b6b; background: var(--ai-soft); }
.chip { display: inline-flex; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.chip-danger { background: var(--danger-soft); color: var(--danger); }
.avatar { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blue-50); color: var(--blue-600); font-size: 12px; font-weight: 600; letter-spacing: .02em; flex: none; }
.m-tag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; background: var(--paper-3); font-size: 11.5px; font-weight: 600; color: var(--ink-2); vertical-align: 1px; }
.m-tag-ai { background: var(--ai-soft); color: #0b3b6b; }
.m-tag .icon { width: 13px; height: 13px; color: var(--blue-600); }
.mock-btn { display: inline-flex; align-items: center; justify-content: center; padding: 7px 12px; border-radius: 9px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.mock-primary { background: var(--ink); color: #fff; } .mock-ghost { background: #fff; color: var(--ink-2); border: 1px solid var(--line-3); }
.dot-ok { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.live-dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: #12a37b; flex: none; }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #12a37b; animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .6; } 80%, 100% { transform: scale(2.8); opacity: 0; } }

/* Split text: lines are clipped so words rise into view */
.split-line { overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 12px; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; cursor: pointer; border: 1px solid transparent; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease), border-color .18s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 52px; padding: 0 24px; font-size: 16px; border-radius: 14px; }
.btn-ink { background: var(--ink); color: #fff; box-shadow: 0 8px 20px -10px rgba(11,26,61,.5); }
.btn-ink:hover { background: #142650; box-shadow: 0 12px 28px -12px rgba(11,26,61,.55); transform: translateY(-1px); }
.btn-soft { background: #fff; color: var(--ink); border-color: var(--line-3); box-shadow: var(--e1); }
.btn-soft:hover { border-color: #b9c6da; box-shadow: var(--e2); transform: translateY(-1px); }
.btn-quiet { background: transparent; color: var(--ink-2); } .btn-quiet:hover { background: rgba(11,26,61,.05); color: var(--ink); }

/* The scroll progress line sits under the header */
/* Background: a faint honeycomb (assets/hive.svg, one small file painted once) with a slow band of
   light drifting across it. The band and the lit cells inside it move in opposite directions by the
   same amount, so the cells stay still while the light passes. Only transform animates, which browsers
   run on the compositor: no layout, repaint or JavaScript per frame. */
.hive { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; contain: strict;
  -webkit-mask-image: radial-gradient(ellipse 60% 62% at 66% 46%, #000 20%, transparent 100%);
  mask-image: radial-gradient(ellipse 60% 62% at 66% 46%, #000 20%, transparent 100%); }
.hive::before { content: ""; position: absolute; inset: 0; background: url("assets/hive.svg") center / 2400px 1400px no-repeat; opacity: .07; }
.hive-cta { -webkit-mask-image: radial-gradient(ellipse 55% 60% at 50% 50%, #000 15%, transparent 100%); mask-image: radial-gradient(ellipse 55% 60% at 50% 50%, #000 15%, transparent 100%); }
.hive-wave, .hive-lit { position: absolute; inset: 0; will-change: transform; }
.hive-wave { -webkit-mask-image: linear-gradient(100deg, transparent 36%, #000 50%, transparent 64%); mask-image: linear-gradient(100deg, transparent 36%, #000 50%, transparent 64%);
  background: linear-gradient(100deg, transparent 40%, rgba(42,155,230,.07) 50%, transparent 60%); animation: hiveWave 16s cubic-bezier(.45,0,.55,1) infinite; }
.hive-lit { background: linear-gradient(160deg, #1d6fe8, #2a9be6 50%, #05bfa3); opacity: .46;
  -webkit-mask: url("assets/hive.svg") center / 2400px 1400px no-repeat; mask: url("assets/hive.svg") center / 2400px 1400px no-repeat;
  animation: hiveLit 16s cubic-bezier(.45,0,.55,1) infinite; }
@keyframes hiveWave { 0% { transform: translateX(-75%); } 70%, 100% { transform: translateX(75%); } }
@keyframes hiveLit { 0% { transform: translateX(75%); } 70%, 100% { transform: translateX(-75%); } }
.hive-cta .hive-wave, .hive-cta .hive-lit { animation-delay: -6s; }
.hive.is-paused .hive-wave, .hive.is-paused .hive-lit { animation-play-state: paused; }
.scroll-progress { position: fixed; left: 0; top: 0; z-index: 60; width: 100%; height: 2px; background: var(--ai); transform-origin: left; transform: scaleX(0); }
main, .site-footer, .pulse-strip { position: relative; z-index: 1; }

/* Header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--header-h); border-bottom: 1px solid transparent; transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .4s var(--ease); }
.site-header.is-scrolled, .site-header.is-open, html:not(.js) .site-header { background: rgba(247,248,251,.8); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); border-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand-mark { width: 30px; height: 30px; }
.brand-word { font-family: var(--font-display); font-weight: 600; font-size: 21px; letter-spacing: -.02em; }
.primary-nav ul { display: flex; gap: 2px; }
.primary-nav a { display: inline-block; padding: 8px 12px; border-radius: 10px; color: var(--ink-2); font-size: 14.5px; font-weight: 500; text-decoration: none; transition: background-color .15s, color .15s; }
.primary-nav a:hover { color: var(--ink); background: rgba(11,26,61,.05); }
.primary-nav a.is-current { color: var(--ink); background: #fff; box-shadow: var(--e1); }
.header-cta { display: flex; align-items: center; gap: 6px; }
.nav-cta-mobile { display: none; }
.menu-toggle { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-3); background: #fff; color: var(--ink); cursor: pointer; }

/* ================= HERO ================= */
.hero { position: relative; padding: calc(var(--header-h) + 48px) 0 64px; overflow: hidden; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; align-items: center; min-height: calc(100vh - var(--header-h) - 112px); min-height: calc(100svh - var(--header-h) - 112px); }
.hero-copy { max-width: 560px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--e1); font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.spark { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ai); color: #fff; }
.spark .icon { width: 15px; height: 15px; }
.hero h1 { margin-top: 24px; font-size: clamp(46px, 6.2vw, 92px); line-height: .96; letter-spacing: -.04em; }
.hero h1 .serif { font-size: 1.05em; }
.hero-lede { max-width: 500px; margin-top: 24px; font-size: 18.5px; line-height: 1.6; color: var(--muted); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-promises { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px; font-size: 14px; color: var(--ink-2); }
.hero-promises li { display: inline-flex; align-items: center; gap: 7px; }
.hero-promises .icon { color: var(--teal-700); }

.hero-stage { position: relative; height: 680px; display: grid; place-items: center; padding-top: 70px; }
.hero-stage::before { content: ""; position: absolute; left: 50%; top: 50%; width: 560px; height: 560px; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(29,111,232,.13), rgba(5,191,163,.07) 45%, transparent 70%); pointer-events: none; }
.hero-links { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.hero-links path { fill: none; stroke: var(--line-3); stroke-width: 1.3; stroke-dasharray: 3 6; vector-effect: non-scaling-stroke; }
.hero-links path.is-hot { stroke: url(#g-ai-h); stroke-width: 2; stroke-dasharray: 8 8; animation: dash-run 1s linear infinite; }
@keyframes dash-run { to { stroke-dashoffset: -16; } }

.rec-card { position: relative; z-index: 2; width: min(420px, 72%); border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--e3); padding: 18px 20px 20px; }
.rec-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rec-patient { display: inline-flex; align-items: center; gap: 10px; }
.rec-patient b { display: block; font-size: 15px; } .rec-patient small { display: block; font-size: 12px; color: var(--muted); }
.rec-voice { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 8px 10px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line-2); }
.rec-mic { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; flex: none; }
.rec-mic .icon { width: 15px; height: 15px; }
.wave { display: flex; align-items: center; gap: 2.5px; height: 20px; flex: 1; }
.wave i { width: 2.5px; height: 4px; border-radius: 2px; background: var(--line-3); }
.wave.is-live i { background: var(--blue-500); animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(4n+1) { --h: 12px; } .wave i:nth-child(4n+2) { --h: 19px; animation-delay: .15s; } .wave i:nth-child(4n+3) { --h: 9px; animation-delay: .3s; } .wave i:nth-child(4n+4) { --h: 16px; animation-delay: .45s; } .wave i:nth-child(5n) { --h: 20px; }
@keyframes wave { 0%, 100% { height: 4px; } 50% { height: var(--h, 12px); } }
.rec-state { min-width: 74px; text-align: right; font-size: 11px; color: var(--muted); }
.rec-said { min-height: 40px; margin-top: 10px; font-size: 13.5px; line-height: 1.5; font-style: italic; color: var(--ink-2); }
.rec-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.rf { position: relative; min-height: 58px; padding: 9px 11px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line-2); overflow: hidden; }
.rf small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted-2); }
.rf b { display: block; margin-top: 3px; min-height: 19px; font-size: 13px; }
.rf-ai { background: linear-gradient(#fff, #fff) padding-box, var(--ai) border-box; border-color: transparent; }
.rf.is-wait b { color: transparent; }
.rf.is-wait b::before { content: ""; position: absolute; left: 11px; right: 30%; top: 30px; height: 9px; border-radius: 5px; background: var(--line-2); }
.rf.is-writing::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(29,111,232,.13) 50%, transparent 80%); animation: scan 1.1s linear infinite; }
@keyframes scan { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.rec-check { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 8px 11px; border-radius: 11px; background: var(--ok-soft); color: var(--ok); font-size: 12.5px; font-weight: 500; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.rec-check.is-off { opacity: 0; transform: translateY(6px); }
.rec-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.rec-actions { display: inline-flex; gap: 6px; }
.mock-btn.is-pulse { animation: pulse-ring 1s var(--ease) infinite; }
@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(11,26,61,.3); } 100% { box-shadow: 0 0 0 10px rgba(11,26,61,0); } }
.rec-stamp { position: absolute; right: 16px; bottom: -16px; display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; box-shadow: 0 14px 30px -12px rgba(11,26,61,.5); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.rec-stamp .icon { color: #2de0c0; }
.rec-stamp.is-off { opacity: 0; transform: translateY(8px) scale(.96); }

/* Use-case cards around the note: real work from the rest of the clinic */
.uc-wrap { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.uc { position: absolute; width: 228px; padding: 11px 13px 12px; border-radius: 16px; background: rgba(255,255,255,.96); border: 1px solid var(--line); box-shadow: var(--e3); font-size: 13px; line-height: 1.45; color: var(--ink); transition: box-shadow .4s var(--ease), border-color .4s var(--ease); }
.uc.is-hot { border-color: rgba(29,111,232,.45); box-shadow: var(--e3), 0 0 0 5px rgba(29,111,232,.09); }
.uc-label { display: flex; align-items: center; gap: 7px; margin-bottom: 8px; font-size: 11.5px; font-weight: 600; color: var(--muted); }
.uc-label .mono { font-size: 11px; font-weight: 500; }
.uc-ico { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--blue-50); color: var(--blue-600); font-style: normal; flex: none; }
.uc-ico .icon { width: 13px; height: 13px; }
.uc-ico-wa { background: var(--wa-soft); color: var(--wa); } .uc-ico-danger { background: var(--danger-soft); color: var(--danger); } .uc-ico-teal { background: var(--teal-50); color: var(--teal-700); }
.uc-bub { max-width: 92%; padding: 6px 9px; border-radius: 11px; font-size: 12.5px; }
.uc-in { background: var(--paper-3); border-bottom-left-radius: 3px; }
.uc-out { margin: 5px 0 0 auto; background: #dcf8c6; border-bottom-right-radius: 3px; }
.uc-sum ul { display: grid; gap: 3px; }
.uc-sum li { position: relative; padding-left: 12px; font-size: 12.5px; }
.uc-sum li::before { content: ""; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--ai); }
.uc-rx p { padding: 8px 10px; border-radius: 10px; background: var(--danger-soft); }
.uc-rx s { display: block; font-size: 12.5px; color: var(--ink-2); }
.uc-rx b { display: block; font-size: 12px; color: var(--danger); }
.uc-lang p { font-family: "Noto Sans Devanagari", var(--font-body); font-size: 14px; }
.uc-ask p { font-size: 12.5px; color: var(--muted); }
.uc-ask p b { font: 600 26px/1 var(--font-display); letter-spacing: -.03em; color: var(--ink); margin-right: 4px; }
.uc-bars { display: flex; align-items: flex-end; gap: 4px; height: 26px; margin-top: 6px; }
.uc-bars i { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: var(--blue-100); }
.uc-bars i:last-child { background: var(--ai); }
/* Cards for the core system (not the AI) keep the gradient for Autopilot alone */
.uc-core li::before { background: var(--teal-700); } .uc-core .uc-bars i:last-child { background: var(--blue-600); }
.uc-wa { left: -2%; top: 0; }
.uc-sum { right: -8%; top: 3%; }
.uc-rx { right: -11%; top: 50%; width: 210px; }
.uc-lang { left: -10%; bottom: 4%; width: 236px; }
.uc-ask { right: -6%; bottom: -3%; width: 214px; }
.scroll-hint { display: none; }

/* Ticker */
.pulse-strip { padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; background: rgba(247,248,251,.7); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.pulse-track { display: flex; gap: 48px; width: max-content; will-change: transform; }
.pulse-track li { display: inline-flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--ink-2); white-space: nowrap; }
.pulse-track li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ai); }
.pulse-track .mono { font-size: 12px; color: var(--muted); }
html:not(.js) .pulse-track { flex-wrap: wrap; width: auto; justify-content: center; gap: 12px 40px; }

/* ================= INTRO + DAY ================= */
.intro { padding: 140px 0 40px; }
.intro-inner { max-width: 880px; margin: 0 auto; text-align: center; }
.intro .kicker { justify-content: center; }
.intro h2 { font-size: clamp(36px, 5.2vw, 70px); }

.day { position: relative; }
.day-pin { position: relative; }
.day-inner { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px 56px; align-items: center; max-width: 1200px; margin: 0 auto; padding: 40px 24px 96px; }
.day-rail { position: relative; display: none; flex-direction: column; justify-content: center; gap: 22px; height: 100%; }
.day-rail::before { content: ""; position: absolute; left: 5px; top: 10%; bottom: 10%; width: 1px; background: var(--line-3); }
.day-rail li { position: relative; display: flex; align-items: center; gap: 12px; }
.day-rail i { width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 1.5px solid var(--line-3); transition: background .3s, border-color .3s, transform .3s var(--ease); }
.day-rail span { font-size: 11px; color: var(--muted-2); opacity: 0; transform: translateX(-4px); transition: opacity .3s, transform .3s var(--ease), color .3s; }
.day-rail li.is-past i { background: var(--blue-500); border-color: var(--blue-500); }
.day-rail li.is-on i { background: var(--ink); border-color: var(--ink); transform: scale(1.35); }
.day-rail li.is-on span { opacity: 1; transform: none; color: var(--ink); font-weight: 500; }

.day-copy { position: relative; }
.beat-time { display: inline-block; margin-right: 10px; font-size: 13px; color: var(--muted); }
.beat h3 { margin-top: 16px; font-size: clamp(26px, 2.8vw, 40px); }
.beat p { margin-top: 14px; max-width: 480px; font-size: 16.5px; line-height: 1.62; color: var(--muted); }

.day-stage { position: relative; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--e3); overflow: hidden; }
.day-stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(rgba(11,26,61,.08) 1px, transparent 1.2px) 0 0 / 22px 22px; -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000, transparent 75%); mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000, transparent 75%); }
.stage-clock { position: absolute; right: 26px; top: 18px; display: flex; align-items: baseline; gap: 4px; font-family: var(--font-display); color: var(--line-3); }
.stage-clock b { font-size: 64px; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stage-clock small { font-size: 16px; font-weight: 600; letter-spacing: .04em; }
.stage-sky { position: absolute; left: 26px; top: 22px; width: 34px; height: 34px; }
.stage-sky .icon { position: absolute; inset: 0; width: 34px; height: 34px; }
.stage-sky .ic-moon { color: var(--blue-600); } .stage-sky .ic-sun { color: #d99a06; opacity: 0; }
.scene { position: relative; }

/* Stacked layout (phones, tablets, reduced motion, no JavaScript): each beat sits beside, or above, its own scene */
html:not(.pinned) .day-copy, html:not(.pinned) .day-stage { display: contents; }
html:not(.pinned) .day-stage::before, html:not(.pinned) .stage-clock, html:not(.pinned) .stage-sky { display: none; }
html:not(.pinned) .beat { order: calc(var(--i) * 2); }
html:not(.pinned) .scene { order: calc(var(--i) * 2 + 1); padding: 28px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--e2); }

/* Pinned layout (desktop with motion): one stage, the scroll scrubs the beats */
.pinned .day-pin { height: 100vh; height: 100svh; padding-top: var(--header-h); }
.pinned .day-inner { grid-template-columns: 56px minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; height: 100%; padding-top: 0; padding-bottom: 0; }
.pinned .day-rail { display: flex; }
.pinned .beat { position: absolute; left: 0; right: 0; top: 50%; }
.pinned .day-stage { height: min(640px, 76vh); }
.pinned .scene { position: absolute; inset: 0; padding: 92px 36px 36px; display: flex; flex-direction: column; justify-content: center; }

/* Scene pieces */
.wa-frame { border-radius: 20px; background: #eef4ef; overflow: hidden; border: 1px solid #dfe9e1; }
.wa-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #fff; border-bottom: 1px solid #e3ebe5; }
.wa-head b { display: block; font-size: 14px; } .wa-head small { display: block; font-size: 11.5px; color: var(--muted); }
.wa-avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ai); } .wa-avatar svg { width: 20px; height: 20px; }
.wa-thread { display: flex; flex-direction: column; gap: 8px; padding: 16px; }
.b-in, .b-out { position: relative; max-width: 84%; padding: 9px 12px 18px; border-radius: 14px; font-size: 14px; line-height: 1.45; box-shadow: var(--e1); }
.b-in { align-self: flex-start; background: #fff; border-bottom-left-radius: 4px; }
.b-out { align-self: flex-end; background: #dcf8c6; border-bottom-right-radius: 4px; }
.b-in small, .b-out small { position: absolute; right: 10px; bottom: 5px; font-size: 10px; color: var(--muted); }
.b-chips { display: flex; gap: 6px; align-self: flex-end; }
.b-chips span { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line-3); font-size: 12.5px; color: var(--ink-2); }
.b-chips .is-pick { background: var(--wa); border-color: var(--wa); color: #fff; }
.cal-pop { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: 14px; padding: 9px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 600; box-shadow: var(--e2); }
.cal-pop .icon { color: #2de0c0; }
.rem-card { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 20px; background: #eef4ef; border: 1px solid #dfe9e1; }
.state-line { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13.5px; font-weight: 600; color: var(--ok); }
.quiet-line { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 9px 12px; border-radius: 12px; background: var(--blue-50); color: var(--ink-2); font-size: 13px; }
.quiet-line .icon { color: var(--blue-600); }
.sc-pt { display: flex; align-items: center; gap: 12px; }
.sc-pt b { display: block; font-size: 16px; } .sc-pt small { display: block; font-size: 13px; color: var(--muted); }
.sum-card { margin-top: 18px; padding: 18px 20px; border-radius: 16px; background: linear-gradient(#fff, #fff) padding-box, var(--ai) border-box; border: 1px solid transparent; box-shadow: var(--e2); }
.sum-card small { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--blue-600); }
.sum-card small .icon { width: 14px; height: 14px; }
.sum-card p { padding: 8px 0; font-size: 15.5px; border-top: 1px solid var(--line-2); } .sum-card p:first-of-type { border-top: 0; }
.sc-sources { display: flex; gap: 8px; margin-top: 14px; }
.sc-sources span { padding: 5px 10px; border-radius: 999px; background: var(--paper-3); font-size: 12px; color: var(--ink-2); }
.sc-rough { padding: 14px 16px; border-radius: 14px; background: var(--paper); border: 1px dashed var(--line-3); font-size: 14.5px; font-style: italic; line-height: 1.55; color: var(--ink-2); }
.sc-rough small { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); font-style: normal; }
.sc-rough small .icon { width: 14px; height: 14px; }
.sc-flow { display: flex; justify-content: center; gap: 6px; padding: 12px 0; }
.sc-flow i { width: 6px; height: 6px; border-radius: 50%; background: var(--ai); animation: flow 1.4s ease-in-out infinite; }
.sc-flow i:nth-child(2) { animation-delay: .2s; } .sc-flow i:nth-child(3) { animation-delay: .4s; }
@keyframes flow { 0%, 100% { opacity: .25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(3px); } }
.sc-record { display: grid; gap: 8px; }
.sc-record p { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: baseline; padding: 11px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: var(--e1); }
.sc-record small { font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted-2); }
.sc-record b { font-size: 14.5px; }
.sc-dx { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.sc-dx small { font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted-2); }
.sc-dx b { font-size: 16px; }
.rx { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); margin-bottom: 8px; box-shadow: var(--e1); }
.rx b { font-size: 14.5px; } .rx span:not(.rx-add) { grid-column: 1; font-size: 12.5px; color: var(--muted); }
.rx .rx-add, .rx .icon { grid-column: 2; grid-row: 1 / span 2; }
.rx-add { padding: 6px 12px; border-radius: 9px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; }
.rx-blocked { background: var(--danger-soft); border-color: #f3c8c4; }
.rx-blocked b { text-decoration: line-through; color: var(--ink-2); } .rx-blocked span { color: var(--danger) !important; } .rx-blocked .icon { color: var(--danger); }
.appr-card { position: relative; padding: 16px 18px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--e2); }
.appr-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.appr-head .mono { font-size: 12px; color: var(--muted); }
.appr-body { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.appr-body p { padding: 10px 12px; border-radius: 12px; background: var(--paper); }
.appr-body small { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted-2); }
.appr-body b { font-size: 14px; }
.appr-stamp { position: absolute; right: 16px; bottom: -16px; display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 600; box-shadow: 0 14px 30px -12px rgba(11,26,61,.5); }
.appr-stamp .icon { color: #2de0c0; }
.audit { margin-top: 32px; padding: 12px 14px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line-2); font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); }
.audit li { display: flex; gap: 14px; padding: 5px 0; } .audit .mono { color: var(--muted); }
.lang-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.lang-pills span { padding: 6px 12px; border-radius: 999px; background: var(--paper-3); font-size: 13px; color: var(--ink-2); transition: background-color .3s, color .3s; }
.lang-pills span.is-on { background: var(--ink); color: #fff; }
.lang-card { position: relative; margin-top: 16px; min-height: 150px; padding: 20px 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--e2); }
.lang-card p { font-size: 18px; line-height: 1.6; }
.pinned .lang-card p { position: absolute; inset: 20px 22px; }
.lang-card p + p { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line-2); }
.pinned .lang-card p + p { margin: 0; padding: 0; border: 0; }
.lang-card p[lang="hi"] { font-family: "Noto Sans Devanagari", var(--font-body); }
.lang-card p[lang="ta"] { font-family: "Noto Sans Tamil", var(--font-body); font-size: 16px; }
.lang-card p[lang="bn"] { font-family: "Noto Sans Bengali", var(--font-body); }
.ask { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); font-size: 15px; font-weight: 500; }
.ask .icon { color: var(--blue-600); }
.answer { margin-top: 18px; }
.ans-big { font-size: 17px; } .ans-big b { font: 600 48px/1 var(--font-display); letter-spacing: -.03em; margin-right: 6px; font-variant-numeric: tabular-nums; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 84px; margin: 18px 0 14px; padding: 0 2px; border-bottom: 1px solid var(--line); }
.bars i { flex: 1; height: var(--h); border-radius: 6px 6px 0 0; background: var(--blue-100); transform-origin: bottom; }
.bars .hl { background: var(--ai); }
.ans-why { font-size: 14.5px; color: var(--muted); }
.answer .mock-btn { margin-top: 16px; }

/* ================= TRUST ================= */
.trust { position: relative; }
.trust-pin { display: flex; flex-direction: column; justify-content: center; padding: 100px 0 80px; }
.pinned .trust-pin { height: 100vh; height: 100svh; padding: var(--header-h) 0 24px; }
.trust-head { text-align: center; max-width: 800px; }
.trust-head .kicker { justify-content: center; }
.gate-wrap { position: relative; width: min(100%, 1200px); margin: 24px auto 0; aspect-ratio: 1200 / 420; }
.gate-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.gate-base { stroke: var(--line-3); stroke-width: 1.5; stroke-dasharray: 3 7; }
.gate-draw { stroke: url(#g-ai-h); stroke-width: 3; stroke-linecap: round; }
html:not(.pinned) .gate-draw { display: none; }
.gates { position: absolute; inset: 0; }
.gates li { position: absolute; left: var(--gx, 0); top: var(--gy, 0); width: 190px; transform: translate(-50%, -28px); text-align: center; }
.gate-ico { position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; background: #fff; border: 1px solid var(--line-3); color: var(--ink-2); box-shadow: var(--e1); transition: transform .3s var(--ease), box-shadow .3s; }
.gates li.is-lit .gate-ico { transform: scale(1.08); box-shadow: 0 12px 28px -10px rgba(29,111,232,.4), 0 0 0 6px rgba(29,111,232,.08); border-color: var(--blue-500); }
.gates li.is-ai .gate-ico { background: var(--ai); border-color: transparent; color: #fff; }
.gates li.is-you .gate-ico { background: var(--ink); border-color: transparent; color: #fff; }
.gates b { display: block; font-size: 14.5px; } .gates small { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.draft { position: absolute; left: 0; top: 0; z-index: 3; display: inline-flex; flex-direction: column; gap: 6px; padding: 10px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--e3); transform: translate(-50%, -50%); }
.draft-title { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.draft-title .icon { color: var(--blue-600); }
.draft-tags { display: flex; gap: 4px; min-height: 18px; }
.draft-tags i { padding: 2px 7px; border-radius: 999px; background: var(--ai-soft); color: #0b3b6b; font-size: 10px; font-weight: 600; font-style: normal; }
html:not(.pinned) .draft { display: none; }
html:not(.pinned) .gate-wrap { aspect-ratio: auto; }
html:not(.pinned) .gate-svg { display: none; }
html:not(.pinned) .gates { position: static; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; }
html:not(.pinned) .gates li { position: static; width: auto; transform: none; }
.trust-note { max-width: 760px; margin: 24px auto 0; padding: 0 24px; text-align: center; font-size: 14.5px; line-height: 1.65; color: var(--muted); }

/* ================= PLATFORM GALLERY ================= */
.platform { position: relative; }
.gallery-pin { display: flex; flex-direction: column; justify-content: center; gap: 36px; padding: 100px 0; overflow: hidden; }
.pinned .gallery-pin { height: 100vh; height: 100svh; padding: var(--header-h) 0 0; }
.gallery-head { text-align: left; }
.gallery-head .section-lede { max-width: 720px; margin: 12px 0 0; font-size: 16.5px; }
.gallery-track { display: flex; gap: 24px; padding: 0 max(24px, calc((100vw - 1200px) / 2 + 24px)); scroll-padding-left: max(24px, calc((100vw - 1200px) / 2 + 24px)); will-change: transform; }
html:not(.pinned) .gallery-track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 20px; }
html:not(.pinned) .panel { scroll-snap-align: start; }
.panel { flex: none; width: min(460px, 84vw); padding: 14px 14px 26px; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--e2); }
.panel h3 { margin: 20px 10px 0; font-size: 21px; } .panel p { margin: 10px 10px 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }

/* Product screens: built in HTML to match the app's own interface, with fictional data */
.shot { position: relative; height: 290px; border-radius: 16px; background: #f6f8fc; border: 1px solid var(--line); overflow: hidden; font-size: 11.5px; line-height: 1.35; color: var(--ink); }
.shot .tag, .shot i, .shot em { font-style: normal; }
.shot-bar { display: flex; align-items: center; gap: 5px; height: 30px; padding: 0 12px; background: #fff; border-bottom: 1px solid var(--line-2); }
.shot-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-3); }
.shot-bar span { margin-left: 8px; font-size: 11px; font-weight: 500; color: var(--muted); }
.tag { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; background: var(--paper-3); color: var(--ink-2); font-size: 10.5px; font-weight: 600; white-space: nowrap; }
.tag-ok { background: var(--ok-soft); color: var(--ok); } .tag-teal { background: var(--teal-50); color: var(--teal-700); } .tag-danger { background: var(--danger); color: #fff; } .tag-amber { background: var(--warn-soft); color: var(--warn); }
.av { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--blue-50); color: var(--blue-600); font-size: 10px; font-weight: 600; flex: none; }
.av-lg { width: 36px; height: 36px; font-size: 12px; }

.sc-cal { padding: 10px 12px; }
.cal-head { display: grid; grid-template-columns: 34px repeat(4, 1fr); gap: 4px; margin-bottom: 6px; }
.cal-head b { font-size: 10.5px; font-weight: 600; color: var(--muted); text-align: center; }
.cal-head b.is-today { color: var(--blue-600); }
.cal-body { display: grid; grid-template-columns: 34px repeat(4, 1fr); gap: 4px; height: 226px; }
.cal-times { display: flex; flex-direction: column; justify-content: space-between; font-size: 9.5px; color: var(--muted-2); padding: 2px 0; }
.cal-col { position: relative; border-radius: 8px; background: #fff; border: 1px solid var(--line-2); background-image: linear-gradient(var(--line-2) 1px, transparent 1px); background-size: 100% 25%; }
.ev { position: absolute; left: 3px; right: 3px; top: var(--t); height: var(--h); padding: 4px 5px; border-radius: 6px; border-left: 3px solid; font-size: 9.5px; color: var(--ink-2); overflow: hidden; }
.ev b { display: block; font-size: 10px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev-blue { background: #e4edff; border-color: #3b7bea; } .ev-teal { background: #dcf6f0; border-color: #0aa58c; } .ev-amber { background: #fdf0d6; border-color: #d99a06; } .ev-violet { background: #ece8ff; border-color: #7a63e8; }
.cal-now { position: absolute; left: -3px; right: 0; top: var(--t); height: 2px; background: var(--danger); }
.cal-now::before { content: ""; position: absolute; left: -3px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--danger); }

.sc-queue { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; padding: 10px; }
.q-col { border-radius: 10px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.q-col > b { display: flex; justify-content: space-between; padding: 7px 8px; font-size: 10.5px; border-bottom: 1px solid var(--line-2); }
.q-col > b em { color: var(--muted); font-weight: 500; }
.q-col p { display: grid; gap: 4px; padding: 7px 8px; border-bottom: 1px solid var(--line-2); }
.q-col p span { font-size: 10.5px; font-weight: 600; }
.q-col p small { display: block; font-size: 9.5px; font-weight: 400; color: var(--muted); }
.due { justify-self: start; padding: 1px 6px; border-radius: 999px; background: var(--warn-soft); color: var(--warn); font-size: 9.5px; font-weight: 600; }
.wait { justify-self: start; padding: 1px 6px; border-radius: 999px; background: var(--paper-3); font-size: 9.5px; font-weight: 600; }
.btn-s { justify-self: start; padding: 3px 8px; border-radius: 6px; border: 1px solid var(--line-3); font-size: 9.5px; font-weight: 600; }
.btn-ink-s { background: var(--ink); color: #fff; border-color: var(--ink); }

.shot-wa { background: #efeae2; }
.wa-top { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 12px; background: #075e54; color: #fff; }
.wa-top b { display: block; font-size: 12px; } .wa-top small { display: block; font-size: 10px; opacity: .8; }
.wa-av { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ai); } .wa-av svg { width: 18px; height: 18px; }
.wa-body { display: flex; flex-direction: column; gap: 6px; padding: 12px; }
.shot-wa .b-in, .shot-wa .b-out { max-width: 82%; padding: 6px 9px 15px; font-size: 11.5px; border-radius: 9px; }
.shot-wa .b-in small, .shot-wa .b-out small { font-size: 9px; right: 8px; bottom: 3px; }
.shot-wa .b-chips span { padding: 4px 10px; font-size: 11px; }

.sc-book { display: grid; gap: 10px; padding: 14px 16px; }
.bk-title { font: 600 15px var(--font-display); }
.bk-row, .bk-days, .bk-slots { display: flex; flex-wrap: wrap; gap: 6px; }
.bk-chip { padding: 5px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line-3); font-size: 11px; }
.bk-chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.bk-days span { display: grid; justify-items: center; width: 44px; padding: 5px 0; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.bk-days small { font-size: 9.5px; font-weight: 500; color: var(--muted); }
.bk-days .is-on { background: var(--blue-50); border-color: var(--blue-500); color: var(--blue-600); }
.bk-slots span { padding: 5px 9px; border-radius: 8px; background: #fff; border: 1px solid var(--line); font-size: 11px; font-variant-numeric: tabular-nums; }
.bk-slots .is-off { color: var(--muted-2); text-decoration: line-through; background: transparent; }
.bk-slots .is-on { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.bk-cta { justify-self: start; padding: 7px 14px; border-radius: 9px; background: var(--wa); color: #fff; font-size: 11.5px; font-weight: 600; }

.sc-list { padding: 10px 12px; display: grid; gap: 6px; }
.sc-list p { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: #fff; border: 1px solid var(--line-2); }
.sc-list p span:not(.av) { font-size: 11.5px; font-weight: 600; }
.sc-list p small { display: block; font-size: 10px; font-weight: 400; color: var(--muted); }
.sc-list .wl-alert { display: flex; gap: 7px; background: var(--teal-50); border-color: #bfeee3; color: var(--teal-700); font-size: 10.5px; font-weight: 500; }

.sc-ptc { padding: 12px 14px; display: grid; gap: 9px; }
.pt-head { display: flex; align-items: center; gap: 10px; }
.pt-head b { display: block; font-size: 14px; } .pt-head small { display: block; font-size: 10.5px; color: var(--muted); }
.pt-banner { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--muted); }
.due-t { color: var(--warn); font-size: 11.5px; }
.pt-tabs { display: flex; gap: 14px; padding-bottom: 6px; border-bottom: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.pt-tabs b { color: var(--ink); box-shadow: 0 8px 0 -6px var(--ink); }
.pt-hist { padding: 8px 10px; border-radius: 10px; background: #fdf6e3; border: 1px solid #f3e2b3; font-size: 11px; }
.pt-hist small { display: block; font-size: 9.5px; font-weight: 600; color: var(--warn); }
.pt-stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.pt-stats span { padding: 7px 9px; } .pt-stats span + span { border-left: 1px solid var(--line-2); }
.pt-stats small { display: block; font-size: 9px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted-2); }
.pt-stats b { font-size: 14px; }

.sc-inv { margin: 12px 16px; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: var(--e1); }
.inv-top { display: flex; justify-content: space-between; align-items: center; font: 600 13px var(--font-display); }
.inv-meta { display: flex; justify-content: space-between; margin-top: 4px; font-size: 10.5px; color: var(--muted); }
.inv-lines { margin-top: 10px; border-top: 1px solid var(--line-2); }
.sc-inv p:not(.inv-meta) { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--line-2); font-size: 11.5px; }
.inv-disc { color: var(--muted); }
.inv-total { font-weight: 600; font-size: 12.5px !important; border-bottom: 0 !important; }
.inv-pay { padding: 6px 8px !important; border-radius: 8px; background: var(--ok-soft); color: var(--ok); border: 0 !important; }

.sc-docs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 14px; }
.doc { display: grid; align-content: end; gap: 6px; height: 150px; padding: 6px; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.doc small { font-size: 9.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xr { position: relative; flex: 1; height: 112px; border-radius: 6px; background: radial-gradient(ellipse at 50% 40%, #3a4b70, #0b1530 75%); overflow: hidden; }
.xr i { position: absolute; top: 18%; width: 22%; height: 62%; border-radius: 45% 45% 40% 40%; background: linear-gradient(#f2f5fb, #b9c4d8); opacity: .85; }
.xr i:nth-child(1) { left: 14%; } .xr i:nth-child(2) { left: 40%; height: 68%; top: 14%; } .xr i:nth-child(3) { left: 66%; }
.doc-xray-2 .xr i { width: 30%; } .doc-xray-2 .xr i:nth-child(1) { left: 12%; } .doc-xray-2 .xr i:nth-child(2) { left: 56%; }
.doc-pdf b { display: grid; place-items: center; height: 112px; border-radius: 6px; background: var(--danger-soft); color: var(--danger); font-size: 15px; }
.doc-drop { place-items: center; align-content: center; border: 1.5px dashed var(--line-3); background: transparent; color: var(--muted); text-align: center; }
.docs-note { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 11px; color: var(--muted); }
.docs-note .icon { width: 14px; height: 14px; color: var(--blue-600); }

.sc-import { padding: 12px 16px; display: grid; gap: 6px; }
.sc-import p { display: grid; grid-template-columns: 1fr 20px 1fr; align-items: center; gap: 6px; }
.sc-import .im-h { font-size: 9.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted-2); grid-template-columns: 1fr 1fr; }
.sc-import .col { padding: 6px 9px; border-radius: 8px; background: #fff; border: 1px solid var(--line); font-family: var(--font-mono); font-size: 10.5px; }
.sc-import p > i { text-align: center; color: var(--blue-600); }
.sc-import .fld { padding: 6px 9px; border-radius: 8px; background: var(--blue-50); color: var(--blue-600); font-weight: 600; font-size: 11px; }
.im-sum { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.gallery-bar { width: min(1200px, calc(100% - 48px)); height: 2px; margin: 24px auto 0; background: var(--line-2); border-radius: 2px; }
.gallery-bar i { display: block; width: 100%; height: 100%; border-radius: 2px; background: var(--ai); transform-origin: left; transform: scaleX(0); }
html:not(.pinned) .gallery-bar { display: none; }

/* ================= DOCTOR APP ================= */
.doctor { position: relative; background: linear-gradient(180deg, transparent, rgba(255,255,255,.7) 20%, rgba(255,255,255,.7) 80%, transparent); }
.doctor-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 100px; padding-bottom: 100px; }
.pinned .doctor-pin { height: 100vh; height: 100svh; padding-top: var(--header-h); }
.pinned .doctor-grid { height: 100%; padding-top: 0; padding-bottom: 0; }
.doctor-copy h2 { font-size: clamp(34px, 4.2vw, 56px); }
.soon-pill { display: inline-block; margin-left: 10px; padding: 3px 10px; border-radius: 999px; vertical-align: 1px; background: var(--teal-50); border: 1px solid #b9efe3; color: var(--teal-700); font-size: 11.5px; font-weight: 600; }
.doc-steps { display: grid; gap: 6px; margin-top: 28px; }
.doc-steps li { position: relative; padding: 14px 18px 14px 34px; border-radius: 14px; transition: background-color .3s, box-shadow .3s; }
.doc-steps li::before { content: ""; position: absolute; left: 14px; top: 22px; width: 8px; height: 8px; border-radius: 50%; background: var(--line-3); transition: background .3s, transform .3s var(--ease); }
.doc-steps li.is-on { background: #fff; box-shadow: var(--e2); }
.doc-steps li.is-on::before { background: var(--ai); transform: scale(1.3); }
.doc-steps b { display: block; font-size: 16.5px; color: var(--muted); transition: color .3s; } .doc-steps li.is-on b { color: var(--ink); }
.doc-steps span { display: block; margin-top: 3px; font-size: 14.5px; line-height: 1.55; color: var(--muted-2); transition: color .3s; } .doc-steps li.is-on span { color: var(--muted); }
.app-note { margin-top: 20px; font-size: 14px; color: var(--muted); }
.doctor-visual { position: relative; display: flex; justify-content: center; padding: 30px 0; }
.doctor-visual::before { content: ""; position: absolute; top: 50%; left: 50%; width: 520px; height: 520px; border-radius: 50%; transform: translate(-50%, -52%); background: radial-gradient(circle, rgba(29,111,232,.14) 0%, rgba(5,191,163,.08) 45%, transparent 70%); }
.app-float { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 12.5px; font-weight: 600; white-space: nowrap; box-shadow: var(--e3); }
.app-float .icon { color: var(--teal-700); }
.app-float-a { top: 120px; right: calc(50% + 130px); } .app-float-b { bottom: 170px; left: calc(50% + 130px); }
.device { position: relative; z-index: 1; width: 300px; height: 620px; padding: 11px; border-radius: 48px; background: linear-gradient(150deg, #3a4660 0%, #141c31 55%, #2b3652 100%); box-shadow: 0 50px 90px -34px rgba(11,26,61,.55), 0 0 0 1px rgba(255,255,255,.15), inset 0 0 0 2px rgba(255,255,255,.06); }
.device-screen { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 38px; background: var(--paper); color: var(--ink); }
.device-status { position: relative; z-index: 4; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 13px 24px 6px; font-size: 12.5px; color: var(--navy-800); }
.device-island { position: absolute; top: 9px; left: 50%; width: 88px; height: 25px; border-radius: 14px; background: #050b1f; transform: translateX(-50%); }
.device-sys { display: flex; align-items: center; gap: 5px; }
.device-sys .sig { width: 15px; height: 9px; background: currentColor; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.device-sys .bat { position: relative; width: 21px; height: 10px; border: 1.5px solid currentColor; border-radius: 3px; }
.device-sys .bat::after { content: ""; position: absolute; top: 1.5px; bottom: 1.5px; left: 1.5px; right: 5px; border-radius: 1px; background: currentColor; }
.device-tabs { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; display: flex; justify-content: space-around; padding: 8px 6px 20px; background: #fff; border-top: 1px solid var(--line); }
.device-tabs span { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 9.5px; color: var(--muted); }
.device-tabs .icon { width: 17px; height: 17px; } .device-tabs .is-on { color: var(--blue-600); font-weight: 600; }
.device-home { position: absolute; z-index: 5; left: 50%; bottom: 7px; width: 98px; height: 4px; border-radius: 3px; background: rgba(10,31,92,.35); transform: translateX(-50%); }
.device-screen.is-lock .device-status { color: #fff; } .device-screen.is-lock .device-tabs { visibility: hidden; } .device-screen.is-lock .device-home { background: rgba(255,255,255,.75); }
.app-screen { position: absolute; left: 0; right: 0; top: 44px; bottom: 58px; padding: 8px 14px 10px; overflow: hidden; }
.app-screen ~ .app-screen { opacity: 0; visibility: hidden; }
.as-top small { display: block; font-size: 11.5px; color: var(--muted); }
.as-top b { display: block; margin-top: 2px; font: 600 19px/1.2 var(--font-display); letter-spacing: -.01em; color: var(--navy-800); }
.as-pills { display: flex; gap: 6px; margin: 10px 0 0; }
.as-pills span { flex: 1; padding: 5px 4px; border-radius: 10px; background: #fff; border: 1px solid var(--line); text-align: center; font-size: 10.5px; color: var(--muted); }
.as-pills b { display: block; font-size: 15px; color: var(--navy-800); font-variant-numeric: tabular-nums; }
.as-label { margin: 9px 2px 5px; font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.as-card, .as-now { padding: 2px 10px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--e1); }
.as-now { padding: 2px 10px 9px; background: #f5f9ff; border-color: #cfe0fb; }
.as-row { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 7px 0; }
.as-card .as-row + .as-row { border-top: 1px solid var(--line-2); }
.as-who b { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13px; } .as-who small { display: block; font-size: 11px; color: var(--muted); }
.s-time { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.as-wait { padding: 3px 8px; border-radius: 999px; background: var(--paper-3); color: var(--ink-2); font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; }
.w-amber { background: var(--warn-soft); color: var(--warn); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 2px 7px; border-radius: 999px; font-size: 10px; font-weight: 600; white-space: nowrap; line-height: 1.4; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; } .b-ok { background: var(--ok-soft); color: var(--ok); }
.mini-chip { padding: 2px 7px; border-radius: 999px; background: var(--paper-3); color: var(--ink-2); font-size: 10px; font-weight: 600; white-space: nowrap; } .mini-chip-danger { background: var(--danger-soft); color: var(--danger); }
.as-btn { display: inline-flex; align-items: center; justify-content: center; padding: 8px 12px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; }
.as-now .as-btn { width: 100%; margin-top: 4px; } .as-btn-wide { display: flex; width: 100%; margin-top: 12px; padding: 11px; }
.as-btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line-3); } .as-btn-danger { background: var(--danger); }
.as-bar { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 6px 0 10px; } .as-bar b { font-size: 13.5px; color: var(--navy-800); }
.as-vitals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
.as-vitals span { padding: 6px 2px; border-radius: 10px; background: #fff; border: 1px solid var(--line); text-align: center; }
.as-vitals small { display: block; font-size: 9.5px; color: var(--muted); } .as-vitals b { font-size: 11.5px; font-variant-numeric: tabular-nums; }
.as-field { margin-top: 10px; padding: 8px 10px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.as-field small { display: block; margin-bottom: 2px; font-size: 10px; color: var(--muted); } .as-field b { font-size: 13px; }
.as-input { display: inline-flex; align-items: center; font-size: 13px; font-weight: 500; }
.as-caret { width: 1.5px; height: 15px; margin-left: 1px; background: var(--blue-600); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.as-suggest { margin-top: 4px; padding: 8px 10px; border-radius: 12px; background: #fff; border: 1px solid #f3b9b3; box-shadow: var(--e2); }
.as-suggest b { display: block; font-size: 12.5px; } .as-suggest small { font-size: 10.5px; color: var(--muted); }
.as-warn { margin-top: 8px; padding: 10px; border-radius: 12px; background: var(--danger-soft); border: 1px solid #f6c8c4; color: #7a1d14; font-size: 11.5px; line-height: 1.45; }
.as-warn b { display: block; margin-bottom: 2px; font-size: 12.5px; color: var(--danger); } .as-warn > span { display: block; }
.as-warn-btns { display: flex; gap: 6px; margin-top: 8px; } .as-warn-btns .as-btn { flex: 1; padding: 7px 4px; font-size: 11px; }
.as-lock { top: 0; bottom: 0; z-index: 2; padding: 70px 14px 24px; color: #fff; background: radial-gradient(120% 70% at 15% 5%, rgba(42,155,230,.95) 0%, transparent 55%), radial-gradient(90% 60% at 95% 95%, rgba(5,191,163,.9) 0%, transparent 60%), #0a1f5c; }
.lock-clock { text-align: center; } .lock-clock small { display: block; font-size: 13px; color: rgba(255,255,255,.88); }
.lock-clock b { display: block; margin-top: 2px; font: 600 64px/1 var(--font-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.lock-notes { display: flex; flex-direction: column; gap: 8px; margin-top: 36px; }
.note { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: center; padding: 11px 12px; border-radius: 18px; background: rgba(255,255,255,.92); color: var(--ink); box-shadow: 0 10px 24px -12px rgba(0,0,0,.45); }
.note-app { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--ai); } .note-app svg { width: 22px; height: 22px; }
.note-text small { display: block; font-size: 10.5px; color: var(--muted); } .note-text b { display: block; font-size: 13px; } .note-text span { display: block; font-size: 12px; color: var(--ink-2); }
.lock-caption { position: absolute; left: 0; right: 0; bottom: 30px; text-align: center; font-size: 11.5px; color: rgba(255,255,255,.9); }
.as-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.as-chips span { padding: 7px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 11.5px; font-weight: 500; color: var(--ink-2); }
.as-chips .is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.as-heads { margin: 10px 2px 6px; } .as-heads b { display: block; font-size: 12.5px; color: var(--warn); } .as-heads span { display: block; font-size: 11px; color: var(--muted); }

/* ================= FACTS ================= */
.facts { padding: 120px 0 80px; }
.facts-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.facts-row b { display: flex; align-items: baseline; gap: 4px; font: 600 clamp(40px, 4.6vw, 64px)/1 var(--font-display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.facts-row em { font: 600 16px var(--font-body); font-style: normal; color: var(--muted); letter-spacing: 0; }
.facts-row small { display: block; margin-top: 10px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.under { margin-top: 40px; }
.under ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.under li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-2); font-size: 15px; line-height: 1.55; color: var(--muted); }
.under li .icon { margin-top: 3px; color: var(--blue-600); } .under li b { color: var(--ink); }

/* ================= ESTIMATOR ================= */
.est { padding: 100px 0; background: rgba(255,255,255,.7); }
.est-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 72px; align-items: start; }
.est-copy h2 { font-size: clamp(34px, 4.2vw, 56px); } .est-copy .section-lede { margin-left: 0; }
.est-form { display: grid; gap: 22px; margin-top: 36px; }
.est-label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; font-size: 14.5px; font-weight: 500; }
.est-label-row output { font-family: var(--font-mono); font-size: 14px; font-variant-numeric: tabular-nums; }
.est-assume { margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--paper-3); font-size: 11px; font-weight: 600; color: var(--muted); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; margin: 0; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: var(--line-3); }
input[type="range"]::-moz-range-track { height: 3px; border-radius: 3px; background: var(--line-3); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9.5px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); box-shadow: var(--e2); transition: transform .15s var(--ease); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); box-shadow: var(--e2); }
input[type="range"]:hover::-webkit-slider-thumb { transform: scale(1.1); }
.est-field-num label { display: block; margin-bottom: 8px; font-size: 14.5px; font-weight: 500; }
.est-num { display: flex; align-items: center; gap: 8px; width: 180px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-3); background: #fff; color: var(--muted); }
.est-num input { width: 100%; padding: 11px 0; border: 0; background: transparent; font: 500 16px var(--font-mono); color: var(--ink); outline: none; }
.est-num:focus-within { border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(29,111,232,.15); }
.est-result { position: sticky; top: calc(var(--header-h) + 40px); }
.est-card { position: relative; padding: 32px; border-radius: 26px; background: var(--paper); border: 1px solid var(--line); overflow: hidden; }
.est-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--ai); }
.est-card-label { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.est-big { display: flex; align-items: baseline; gap: 4px; margin-top: 10px; font-family: var(--font-display); font-weight: 600; letter-spacing: -.035em; }
.est-rupee { font-size: 32px; color: var(--muted); } .est-num-big { font-size: clamp(56px, 6vw, 76px); line-height: 1; font-variant-numeric: tabular-nums; }
.est-big-sub { margin-top: 10px; font-size: 15px; color: var(--muted); } .est-big-sub b { color: var(--ink); }
.est-mid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.est-mid-num { display: block; font: 600 26px/1.1 var(--font-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.est-mid small { display: block; margin-top: 6px; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.est-fine { margin-top: 22px; font-size: 12.5px; line-height: 1.55; color: var(--muted-2); }
.est-cta { margin-top: 20px; display: flex; justify-content: center; }

/* ================= SETUP ================= */
.setup { padding: 120px 0; }
.steps-wrap { position: relative; }
.steps-svg { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 44px; }
.steps-svg path { stroke: url(#g-ai-h); stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
html:not(.motion) .steps-svg { display: none; }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.step { text-align: center; padding: 0 8px; }
.step-no { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 20px; border-radius: 50%; background: #fff; border: 1px solid var(--line-3); font-size: 13px; font-weight: 500; color: var(--ink-2); box-shadow: var(--e1); }
.step-ai .step-no { background: var(--ai); border-color: transparent; color: #fff; box-shadow: 0 12px 28px -10px rgba(29,111,232,.5); }
.step h3 { font-size: 19px; } .step p { margin-top: 10px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }

/* ================= FAQ ================= */
.faq-sec { padding: 100px 0 120px; background: rgba(255,255,255,.7); }
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 40px); } .faq-head .section-lede { margin-left: 0; }
.faq { border-top: 1px solid var(--line); } .faq:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font-size: 17px; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--muted); transition: transform .3s var(--ease); } .faq[open] summary .icon { transform: rotate(180deg); }
.faq summary:hover { color: var(--blue-600); }
.faq-a { padding: 0 0 22px; max-width: 640px; font-size: 15.5px; line-height: 1.65; color: var(--muted); }
.faq[open] .faq-a { animation: faq-in .45s var(--ease-out) both; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }

/* ================= FINAL CTA ================= */
.final-cta { position: relative; padding: 140px 0 160px; overflow: hidden; }
.cta-inner { position: relative; z-index: 1; text-align: center; }
.cta-mark { width: 72px; height: 72px; margin: 0 auto 28px; }
.cta-inner h2 { font-size: clamp(40px, 6.4vw, 92px); }
.cta-inner p { margin-top: 18px; font-size: 18px; color: var(--muted); }
.cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }

/* ================= FOOTER + STICKY ================= */
.site-footer { padding: 56px 0 28px; background: var(--paper); border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr); gap: 48px; }
.footer-tag { margin-top: 14px; font-size: 14px; color: var(--muted); } .footer-contact { margin-top: 4px; font-size: 14px; color: var(--ink-2); }
.footer-phones { display: flex; flex-wrap: wrap; gap: 2px 14px; } .footer-phones a { color: inherit; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; } .footer-phones a:hover { color: var(--blue-600); text-decoration: underline; }
.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer-nav h3 { font: 600 12.5px var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer-nav li { margin-bottom: 10px; } .footer-nav a { color: var(--ink-2); font-size: 14.5px; text-decoration: none; } .footer-nav a:hover { color: var(--blue-600); text-decoration: underline; }
.footer-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45; display: none; align-items: center; gap: 8px; padding: 10px 10px 10px 16px; border-radius: 16px; background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line); box-shadow: var(--e3); transform: translateY(120%); transition: transform .35s var(--ease); }
.sticky-cta.is-visible { transform: none; }
.sticky-cta.is-suppressed { transform: translateY(120%); } .sticky-cta-text { flex: 1; font-size: 14px; font-weight: 600; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1100px) {
  .gates li { width: 160px; } .gates small { display: none; }
}
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .primary-nav { position: fixed; top: var(--header-h); left: 0; right: 0; display: none; padding: 12px 24px 24px; background: rgba(247,248,251,.97); border-bottom: 1px solid var(--line); }
  .site-header.is-open .primary-nav { display: block; }
  .primary-nav ul { flex-direction: column; gap: 2px; } .primary-nav a { display: block; padding: 12px 10px; font-size: 16px; }
  .nav-cta-mobile { display: flex; gap: 8px; margin-top: 16px; } .nav-cta-mobile .btn { flex: 1; }
  .header-cta { display: none; } .menu-toggle { display: grid; place-items: center; }
  .hive { -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 60%, #000 20%, transparent 100%); mask-image: radial-gradient(ellipse 90% 60% at 50% 60%, #000 20%, transparent 100%); }
  .hero { padding: calc(var(--header-h) + 28px) 0 40px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; min-height: 0; }
  .hero-copy { max-width: 640px; }
  .hero h1 { font-size: clamp(42px, 11vw, 72px); }
  .hero-stage { height: auto; display: block; }
  .hero-stage::before { width: 360px; height: 360px; }
  .hero-links { display: none; }
  .rec-card { width: 100%; max-width: 520px; margin: 0 auto; }
  .uc-wrap { position: relative; inset: auto; display: flex; gap: 10px; margin: 30px -24px 0; padding: 4px 24px 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; pointer-events: auto; }
  .uc-wrap::-webkit-scrollbar { display: none; }
  .uc, .uc-rx, .uc-lang, .uc-ask { position: relative; inset: auto; left: auto; right: auto; top: auto; bottom: auto; flex: none; width: 232px; box-shadow: var(--e2); scroll-snap-align: start; }
  .intro { padding: 96px 0 8px; }
  .day-inner { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-bottom: 72px; }
  html:not(.pinned) .beat { margin-top: 32px; }
  html:not(.pinned) .beat:first-child { margin-top: 0; }
  html:not(.pinned) .scene { padding: 18px; border-radius: 20px; }
  .wa-thread { gap: 6px; padding: 12px; } .b-in, .b-out { font-size: 13px; padding: 8px 10px 16px; } .wa-head { padding: 10px 12px; }
  .rem-card { padding: 12px; } .sum-card p, .sc-record b, .rx b { font-size: 14px; } .lang-card p { font-size: 16px; } .audit { font-size: 11px; margin-top: 26px; }
  .ans-big b { font-size: 40px; } .bars { height: 64px; }
  .beat h3 { font-size: 24px; margin-top: 10px; } .beat p { font-size: 15px; margin-top: 10px; }
  .gate-wrap { aspect-ratio: auto; }
  .gate-svg, .draft { display: none; }
  html:not(.pinned) .gates { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; margin-top: 40px; }
  .gates li { position: static; width: auto; transform: none; }
  .gates small { display: block; }
  .gallery-track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 20px; } .panel { scroll-snap-align: start; }
  .gallery-bar { display: none; }
  .doctor-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 88px; padding-bottom: 56px; }
  .doctor-visual { order: 2; flex-direction: column; align-items: center; gap: 14px; } .app-float { position: static; } .doctor-visual::before { width: 360px; height: 360px; }
  .facts-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .under ul { grid-template-columns: minmax(0, 1fr); }
  .est-layout, .faq-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; } .est-result, .faq-head { position: static; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; } .steps-svg { display: none; } .step { text-align: left; padding: 0; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .sticky-cta { display: flex; } .site-footer { padding-bottom: 96px; }
}
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .uc-wrap { margin-left: -18px; margin-right: -18px; padding-left: 18px; padding-right: 18px; }
  .rf b { font-size: 12.5px; }
  .hero-ctas .btn { flex: 1; }
  .rec-card { padding: 16px; } .rec-stamp { right: 12px; }
  .facts-row { grid-template-columns: minmax(0, 1fr); } .facts-row li { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: center; } .facts-row small { margin: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); } .est-mid { grid-template-columns: minmax(0, 1fr); gap: 14px; } .est-card { padding: 24px; }
  .cta-buttons .btn { flex: 1; } .footer-nav { grid-template-columns: minmax(0, 1fr); }
  .gates b { font-size: 14px; } .gates small { font-size: 12px; }
  .appr-body { grid-template-columns: minmax(0, 1fr); }
}

/* ================= REDUCED MOTION ================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .scroll-hint, .hive-wave { display: none; }
}

/* ================= MOTION-ONLY ADJUSTMENTS (GSAP owns these transforms) ================= */
.pinned .beat, .pinned .draft, .pinned .gates li { transform: none; }
.motion .ai-text { background: none; -webkit-text-fill-color: initial; color: inherit; }
.motion .ai-text .word { background: var(--ai); -webkit-background-clip: text; background-clip: text; color: transparent; }
.word { will-change: transform; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* Veil for long in-page jumps (see initAnchorJumps in main.js). It sits under the header, so the
   navigation stays put while the page behind it changes. */
.jump-veil { position: fixed; inset: 0; z-index: 45; background: var(--paper); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.jump-veil.is-on { opacity: 1; }
[tabindex="-1"]:focus { outline: none; }

/* ================= CONTACT PAGE (contact.html) ================= */
.contact { position: relative; padding: calc(var(--header-h) + 56px) 0 96px; overflow: hidden; }
.contact .hive { -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%); }
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 56px; align-items: start; }
.contact-copy h1 { font-size: clamp(40px, 5vw, 68px); line-height: 1; letter-spacing: -.035em; }
.contact-lede { margin-top: 20px; max-width: 520px; font-size: 18px; line-height: 1.6; color: var(--muted); }
.contact-reasons { display: grid; gap: 18px; margin-top: 36px; }
.contact-reasons li { display: flex; gap: 14px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.contact-reasons b { display: block; margin-bottom: 2px; color: var(--ink); font-size: 15.5px; }
.contact-reasons a { font-weight: 600; white-space: nowrap; }
.cr-ico { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: var(--e1); color: var(--blue-600); flex: none; }
.cr-ico-wa { color: var(--wa); }
.contact-direct { margin-top: 36px; max-width: 520px; padding: 20px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--e1); }
.cdir-title { font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cdir-list { display: grid; gap: 14px; margin-top: 14px; }
.cdir-list li { display: flex; align-items: center; gap: 14px; }
.cm-ico { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--blue-50); color: var(--blue-600); flex: none; }
.cm-text { display: grid; min-width: 0; flex: 1; }
.cm-text small { font-size: 12.5px; color: var(--muted); }
.cdir-mail { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.cdir-phones { display: flex; flex-wrap: wrap; gap: 2px 16px; }
.cdir-phones a { font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; } .cdir-phones a:hover { color: var(--blue-600); text-decoration: underline; }
.cdir-social { display: flex; align-items: center; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.cdir-social[hidden] { display: none; }
.cdir-social-label { margin-right: auto; font-size: 13.5px; font-weight: 500; color: var(--muted); }
.social { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-3); background: #fff; color: var(--ink-2); transition: color .15s var(--ease), border-color .15s var(--ease), transform .15s var(--ease), box-shadow .15s var(--ease); }
.social:hover { color: var(--blue-600); border-color: #b9c6da; transform: translateY(-2px); box-shadow: var(--e1); }
.social:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; }
.cm-copy { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-3); background: #fff; font-size: 13.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: border-color .12s var(--ease), background-color .12s var(--ease); }
.cm-copy:hover { border-color: #b9c6da; background: var(--paper); }
.cm-copy.is-done { color: var(--ok); border-color: var(--ok-soft); background: var(--ok-soft); }

.contact-card { padding: 32px; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--e3); }
.cf-title { font-size: 26px; letter-spacing: -.02em; }
.cf-sub { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.contact-form { display: grid; gap: 18px; }
.cf-topics { margin: 4px 0 0; padding: 0; border: 0; min-width: 0; } .cf-topics legend { padding: 0; }
.cf-topics legend, .cf-field label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.cf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cf-chips label { position: relative; }
.cf-chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.cf-chips span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-3); background: #fff; font-size: 14px; font-weight: 500; color: var(--ink-2); cursor: pointer; transition: border-color .12s var(--ease), background-color .12s var(--ease), color .12s var(--ease); }
.cf-chips label:hover span { border-color: #b9c6da; }
.cf-chips input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.cf-chips input:focus-visible + span { outline: 3px solid var(--blue-500); outline-offset: 2px; }
.cf-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cf-field { display: grid; align-content: start; min-width: 0; }
.cf-opt { margin-left: 4px; font-weight: 500; color: var(--muted-2); }
.cf-field input, .cf-field select, .cf-field textarea { width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line-3); background: #fff; font: inherit; font-size: 15.5px; color: var(--ink); transition: border-color .12s var(--ease), box-shadow .12s var(--ease); }
.cf-field textarea { min-height: 128px; resize: vertical; line-height: 1.55; }
.cf-field select { appearance: none; -webkit-appearance: none; padding-right: 38px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6a88' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center / 16px no-repeat; }
.cf-field input::placeholder, .cf-field textarea::placeholder { color: var(--muted-2); }
.cf-field input:hover, .cf-field select:hover, .cf-field textarea:hover { border-color: #b9c6da; }
.cf-field input:focus, .cf-field select:focus, .cf-field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(29,111,232,.14); }
.cf-field [aria-invalid="true"] { border-color: var(--danger); }
.cf-field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(180,35,24,.12); }
.cf-row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cf-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-status { padding: 12px 14px; border-radius: 12px; background: #fdf0ee; border: 1px solid #f6cfc9; font-size: 14px; line-height: 1.5; color: var(--danger); }
.cf-status[hidden] { display: none; }
.cf-send:disabled { opacity: .7; cursor: progress; }
.contact-form[aria-busy="true"] .cf-send svg { animation: cfNudge .9s ease-in-out infinite; }
@keyframes cfNudge { 50% { transform: translateX(4px); } }
.cf-err { margin-top: 6px; font-size: 13.5px; font-weight: 500; color: var(--danger); }
.cf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 4px; }
.cf-note { font-size: 13px; color: var(--muted); }

.contact-done { display: grid; gap: 12px; }
.contact-done:focus { outline: none; }
.contact-done > p { font-size: 15px; color: var(--muted); }
.cd-ico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); }
.cd-preview { margin: 4px 0 0; max-height: 260px; overflow: auto; padding: 16px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); font: 13.5px/1.6 var(--font-mono); color: var(--ink-2); white-space: pre-wrap; overflow-wrap: anywhere; }
.cd-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }

.contact-start { padding: 0 0 96px; }
.cs-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding-top: 56px; border-top: 1px solid var(--line); }
.cs-inner h2 { font-size: clamp(30px, 3.6vw, 44px); }
.cs-inner p { margin-top: 10px; max-width: 520px; color: var(--muted); }
.cs-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 960px) {
  .contact { padding-top: calc(var(--header-h) + 32px); padding-bottom: 64px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .contact-reasons { margin-top: 28px; }
}
@media (max-width: 640px) {
  .contact-card { padding: 22px 18px; border-radius: 22px; }
  .cf-row, .cf-row-3 { grid-template-columns: minmax(0, 1fr); }
  .contact-direct { padding: 18px 16px; } .cdir-mail { font-size: 15px; overflow-wrap: normal; }
  .cm-copy { padding: 0 10px; } .cm-copy [data-copy-label] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .cm-text a { font-size: 15px; overflow-wrap: normal; }
  .cf-actions .btn, .cs-buttons .btn { width: 100%; }
  .contact-start { padding-bottom: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .cm-copy, .cf-chips span, .cf-field input, .cf-field select, .cf-field textarea { transition: none; }
}
