:root {
  --night: #07080D;
  --midnight: #0B0E1B;
  --panel: #10131F;
  --line: #22263A;
  --line-2: #2E3350;
  --text: #EDEAE3;
  --muted: #A6A9B6;
  --dim: #8A8EA3;
  --lead: #3EE6B0;
  --lead-hi: #C8FBEA;
  --dawn: #F2A97E;
  --day: #F3EEE6;
  --ink: #14151A;
  --ink-2: #45464F;
  --rust: var(--accent-ink);
  --lead-rgb: 62, 230, 176;
  --accent-ink: #0B6E4F;
  --ok: #5BE49B;
  --ease: cubic-bezier(.75, 0, .25, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(16px, 5vw, 96px);
  --display: 'Inter Tight', system-ui, sans-serif;
  --body: 'Inter Tight', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.is-loading { overflow: hidden; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: -0.035em; line-height: .92; }
p { margin: 0; }
em { font-style: normal; color: var(--lead); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.tag { color: var(--lead); }
::selection { background: var(--lead); color: var(--night); }

/* ─── atmosphere ─── */
.sky { position: fixed; inset: 0; z-index: -2; pointer-events: none; }
.sky > div, .sky canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.sky-night { background: radial-gradient(ellipse 90% 70% at 70% 110%, #151B36 0%, var(--night) 70%); }
.sky-dawn { opacity: 0; background: linear-gradient(180deg, #2A2350 0%, #7A5482 14%, #D98E86 32%, #F2B193 50%, #F8D3B8 70%, #FBE6D2 100%); }
.sky-day { opacity: 0; background: radial-gradient(ellipse 70% 50% at 50% 100%, #FFE3B8 0%, var(--day) 65%); }
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-3%,2%)} 50%{transform:translate(2%,-3%)} 75%{transform:translate(-2%,-1%)} 100%{transform:translate(0,0)} }

/* ─── preloader ─── */
#preloader {
  position: fixed; inset: 0; z-index: 200; background: var(--night);
  display: grid; place-items: center; align-content: center; gap: 18px;
  clip-path: inset(0 0 0 0);
}
.pre-clock { font-size: clamp(28px, 6vw, 64px); letter-spacing: .04em; color: var(--text); }
.pre-note { color: var(--lead); opacity: 0; }
.pre-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--lead-hi); box-shadow: 0 0 30px 8px var(--lead); transform: scale(0); }

/* ─── nav ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px var(--gutter);
  transition: color .6s var(--ease);
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(7,8,13,.7), rgba(7,8,13,0));
  transition: opacity .6s;
}
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 600; font-size: 20px; text-decoration: none; letter-spacing: -0.01em; }
.brand-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--lead); box-shadow: 0 0 14px var(--lead); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 26px 4px var(--lead); } }
.nav-links { display: flex; gap: 32px; }
.nav-links a { text-decoration: none; font-size: 15px; color: var(--muted); position: relative; transition: color .3s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
  display: flex; align-items: center; gap: 12px; padding: 11px 18px 11px 14px; min-height: 44px;
  border-radius: 999px; background: var(--text); color: var(--night); text-decoration: none; font-weight: 600; font-size: 15px;
  transition: background .6s var(--ease), color .6s var(--ease);
}
.nav-clock { font-size: 11px; letter-spacing: .08em; color: var(--accent-ink); padding-right: 12px; border-right: 1px solid rgba(0,0,0,.15); min-width: 11ch; text-align: right; }
body.is-day .nav { color: var(--ink); }
body.is-day .nav::before { opacity: 0; }
body.is-day .nav-links a { color: var(--ink-2); }
body.is-day .nav-links a:hover { color: var(--ink); }
body.is-day .nav-cta { background: var(--ink); color: var(--day); }
body.is-day .nav-clock { color: var(--lead-hi); border-color: rgba(255,255,255,.2); }

.chapter { position: fixed; right: var(--gutter); bottom: 24px; z-index: 100; color: var(--dim); transition: color .6s; }
body.is-day .chapter { color: var(--ink-2); }

/* ─── buttons ─── */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 16px 26px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 17px; will-change: transform; transition: background .3s, color .3s, border-color .3s; }
.btn-lead { background: var(--lead); color: var(--night); box-shadow: 0 0 0 0 rgba(var(--lead-rgb), .5); }
.btn-lead:hover { box-shadow: 0 0 40px 0 rgba(var(--lead-rgb), .45); }
.btn-ghost { border: 1px solid #3A3F56; color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.btn-dark { background: var(--ink); color: var(--day); }
.btn-dark:hover { background: #000; }
.btn-outline { border: 1px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--day); }
.btn-xl { min-height: 60px; padding: 20px 32px; font-size: 18px; }

/* ─── split text ─── */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.split .c { display: inline-block; will-change: transform; }

/* ─── 01 hero ─── */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px var(--gutter) 100px; }
.hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 28px; max-width: 980px; }
.eyebrow { color: var(--lead); font-size: 13px; }
.hero-title { font-size: clamp(40px, 6.4vw, 112px); }
.hero-sub { font-size: clamp(18px, 1.6vw, 23px); color: var(--muted); max-width: 640px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-orb { position: absolute; right: max(14vw, 210px); top: 54%; width: 0; height: 0; z-index: 1; }
.hero-orb .orb-core { position: absolute; left: -15px; top: -15px; width: 30px; height: 30px; border-radius: 50%; background: var(--lead-hi); box-shadow: 0 0 40px 12px var(--lead), 0 0 120px 40px rgba(var(--lead-rgb), .35); }
.hero-orb .orb-halo { position: absolute; left: -200px; top: -200px; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--lead-rgb), .35) 0%, rgba(var(--lead-rgb), .06) 40%, transparent 70%); }
.hero-orb .ring { position: absolute; left: -15px; top: -15px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(var(--lead-rgb), .6); animation: ring 3.6s var(--ease-out) infinite; }
.hero-orb .r2 { animation-delay: 1.2s; } .hero-orb .r3 { animation-delay: 2.4s; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(9); opacity: 0; } }
.orb-label { position: absolute; left: 34px; top: -14px; white-space: nowrap; color: var(--lead); line-height: 1.7; font-size: 11px; }
.orb-label em { color: var(--muted); font-style: normal; }
.scroll-cue { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 32px; display: flex; align-items: center; gap: 24px; color: var(--dim); }
.scroll-cue i { flex: 1; height: 1px; background: linear-gradient(90deg, var(--lead), transparent); transform-origin: left; animation: cue 2.6s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleX(0); } 60% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }

/* ─── 02 cold ─── */
.cold-stage { position: relative; height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr auto; padding: 110px var(--gutter) 70px; column-gap: 6vw; --heat: 1; }
.cold-head { grid-column: 1 / -1; display: flex; justify-content: space-between; }
.cold-head .day { color: var(--dim); }
.cold-clock { grid-column: 2; grid-row: 2; align-self: center; justify-self: center; font-size: clamp(64px, 11vw, 190px); letter-spacing: -0.02em; text-transform: none; line-height: 1; display: flex; align-items: baseline; gap: .15em; color: color-mix(in srgb, var(--text) calc(var(--heat) * 100%), #5B6075); position: relative; z-index: 2; font-variant-numeric: tabular-nums; }
.cold-clock small { font-size: .22em; letter-spacing: .1em; color: var(--muted); }
.cold-orb { grid-column: 2; grid-row: 2; align-self: center; justify-self: center; width: 46vmin; height: 46vmin; position: relative; transform: scale(calc(.45 + var(--heat) * .55)); }
.cold-orb span { position: absolute; inset: 0; border-radius: 50%; }
.cold-orb .warm { background: radial-gradient(circle, rgba(var(--lead-rgb), .5) 0%, rgba(var(--lead-rgb), .12) 35%, transparent 68%); opacity: var(--heat); }
.cold-orb .chill { background: radial-gradient(circle, rgba(120,130,160,.35) 0%, rgba(120,130,160,.08) 35%, transparent 68%); opacity: calc(1 - var(--heat)); }
.temp { grid-column: 2; grid-row: 3; display: flex; align-items: center; gap: 14px; color: var(--dim); justify-self: center; width: min(360px, 100%); }
.temp-bar { flex: 1; height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; }
.temp-bar i { display: block; height: 100%; background: linear-gradient(90deg, #7F88A8, var(--lead)); transform-origin: left; transform: scaleX(var(--heat)); }
.cold-events { grid-column: 1; grid-row: 2 / 4; align-self: center; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 26px; }
.cold-events li { display: grid; grid-template-columns: 92px 1fr; gap: 18px; opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out), filter .7s; }
.cold-events li span { color: var(--lead); padding-top: 6px; letter-spacing: .08em; }
.cold-events li p { font-size: clamp(18px, 1.7vw, 26px); line-height: 1.3; font-family: var(--display); font-weight: 400; letter-spacing: -0.01em; }
.cold-events li.on { opacity: 1; transform: none; }
.cold-events li.past { opacity: .32; filter: blur(.5px); }
.cold-events li.past span { color: var(--dim); }
.cold-verdict { position: absolute; inset: 0; display: grid; place-items: center; padding: 0 var(--gutter); text-align: center; pointer-events: none; opacity: 0; transform: scale(1.12); transition: opacity .12s linear, transform .45s cubic-bezier(.2,1.4,.4,1); }
.cold-verdict h2 { font-size: clamp(40px, 6.4vw, 104px); max-width: 1200px; }
.cold-verdict em { color: var(--muted); }
.cold-stage.verdict .cold-verdict { opacity: 1; transform: none; }
.cold-stage.verdict .cold-events, .cold-stage.verdict .cold-clock, .cold-stage.verdict .temp, .cold-stage.verdict .cold-orb { opacity: 0; transition: opacity .05s; }
.cold-stage.verdict .cold-verdict h2 { animation: jolt .4s steps(6) 1; }
@keyframes jolt { 0% { transform: translate(-10px, 4px); } 20% { transform: translate(8px, -3px); } 40% { transform: translate(-5px, 2px); } 60% { transform: translate(3px, -1px); } 100% { transform: none; } }
.cold-stage .cold-orb { transition: opacity .4s; }
.cold-stage .cold-events, .cold-stage .cold-clock, .cold-stage .temp { transition: opacity .6s; }

/* ─── 03 rewind ─── */
.rewind-stage { position: relative; height: 100svh; display: grid; place-items: center; align-content: center; gap: 24px; text-align: center; padding: 0 var(--gutter); overflow: hidden; }
.scanlines { position: absolute; inset: 0; opacity: 0; background: repeating-linear-gradient(180deg, rgba(255,255,255,.05) 0 1px, transparent 1px 4px); mix-blend-mode: screen; }
.rw-tag { color: var(--lead); display: flex; gap: 10px; align-items: center; }
.rw-icon { animation: blink .5s steps(2) infinite; letter-spacing: -.1em; }
@keyframes blink { 50% { opacity: .2; } }
.rw-clock { font-size: clamp(64px, 11vw, 190px); line-height: 1; text-transform: none; letter-spacing: -0.02em; display: flex; align-items: baseline; gap: .15em; font-variant-numeric: tabular-nums; }
.rw-clock small { font-size: .22em; color: var(--muted); letter-spacing: .1em; }
.rw-line { font-size: clamp(34px, 5vw, 80px); }
.rw-b { position: absolute; left: var(--gutter); right: var(--gutter); top: 50%; transform: translateY(-50%); opacity: 0; }
.rw-flash { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: radial-gradient(circle, var(--lead-hi) 0%, var(--lead) 30%, rgba(var(--lead-rgb), 0) 70%); transform: scale(0); opacity: 0; pointer-events: none; }

/* ─── 04 stations ─── */
.st-pin { height: 100svh; display: flex; flex-direction: column; padding: 100px 0 48px; overflow: hidden; }
.st-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: 0 var(--gutter); }
.st-head h2 { font-size: clamp(38px, 5vw, 76px); margin-top: 14px; }
.st-count { color: var(--dim); }
.st-rail { padding: 34px var(--gutter) 0; }
.st-rail-line { position: relative; height: 2px; background: var(--line); }
.st-rail-line i { position: absolute; inset: 0; background: var(--lead); box-shadow: 0 0 12px var(--lead); transform-origin: left; transform: scaleX(0); }
.rail-spark { position: absolute; top: -6px; left: 0; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--lead-hi); box-shadow: 0 0 24px 6px var(--lead); }
.st-nodes { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.st-nodes li { transition: color .4s; }
.st-nodes li.on { color: var(--lead); }
.st-viewport { flex: 1; display: flex; align-items: center; margin-top: 28px; min-height: 0; }
.st-track { display: flex; gap: 32px; padding: 0 var(--gutter); will-change: transform; }
.panel { flex: 0 0 min(980px, 78vw); height: min(56vh, 480px); border-radius: 28px; background: var(--panel); border: 1px solid var(--line-2); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); overflow: hidden; opacity: .4; transform: scale(.96); transition: opacity .6s var(--ease-out), transform .8s var(--ease-out), border-color .6s; }
.panel.is-live { opacity: 1; transform: none; border-color: #3B4168; }
.p-copy { padding: clamp(24px, 3vw, 48px); display: flex; flex-direction: column; gap: 18px; }
.p-copy .meta { color: var(--lead); font-size: 11px; }
.p-copy h3 { font-size: clamp(32px, 3.6vw, 54px); letter-spacing: -0.03em; }
.p-copy p:not(.mono) { color: var(--muted); font-size: clamp(16px, 1.25vw, 19px); }
.p-copy .fine { color: var(--dim); font-size: 10px; margin-top: auto; }
.live-tag { margin-top: auto; display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 11px; }
.live-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.p-demo { position: relative; background: var(--night); border-left: 1px solid var(--line-2); padding: 28px; display: flex; flex-direction: column; justify-content: center; gap: 12px; overflow: hidden; }

/* demo: chat */
.chat-top { display: flex; justify-content: space-between; color: var(--dim); font-size: 10px; }
.timer { color: var(--ok); font-variant-numeric: tabular-nums; }
.bubble { max-width: 86%; padding: 12px 14px; font-size: 14px; line-height: 1.4; border-radius: 16px; opacity: 0; transform: translateY(12px) scale(.96); }
.bubble.in { align-self: flex-start; background: #1B1F33; border-bottom-left-radius: 4px; }
.bubble.out { align-self: flex-end; background: var(--lead); color: var(--night); border-bottom-right-radius: 4px; }
.bubble.b3 { align-self: flex-start; }
.typing { align-self: flex-end; display: flex; gap: 4px; padding: 12px 14px; border-radius: 16px; background: rgba(var(--lead-rgb), .16); opacity: 0; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--lead); animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { transform: translateY(-4px); opacity: .4; } }
.sent { align-self: flex-end; color: var(--dim); font-size: 10px; opacity: 0; }
.panel.is-live .b1 { animation: pop .5s var(--ease-out) .2s forwards; }
.panel.is-live .typing { animation: typing 1.4s linear .8s forwards; }
.panel.is-live .b2 { animation: pop .5s var(--ease-out) 2.2s forwards; }
.panel.is-live .sent { animation: fade .4s 2.6s forwards; }
.panel.is-live .b3 { animation: pop .5s var(--ease-out) 3.6s forwards; }
@keyframes pop { to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }
@keyframes typing { 0% { opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { opacity: 0; height: 0; padding: 0; margin: -6px 0; } }

/* demo: radar */
.demo-radar { align-items: center; }
.radar { position: absolute; left: 50%; top: 46%; width: 300px; height: 300px; margin: -150px 0 0 -150px; border-radius: 50%; border: 1px solid var(--line-2); background: radial-gradient(circle, transparent 32%, var(--line) 33%, transparent 34%, transparent 65%, var(--line) 66%, transparent 67%); }
.sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(var(--lead-rgb), .35), transparent 22%); animation: spin 4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.dots { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(8, 14px); gap: 14px; }
.dots i { width: 14px; height: 14px; border-radius: 50%; background: #262B42; transition: background .5s, box-shadow .5s; }
.dots i.hot { background: var(--lead); box-shadow: 0 0 12px var(--lead); }
.segs { position: relative; z-index: 2; display: flex; gap: 14px; margin-top: 18px; font-size: 10px; color: var(--dim); }
.segs span { padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 999px; transition: all .4s; }
.segs span.on { color: var(--night); background: var(--lead); border-color: var(--lead); }

/* demo: intake */
.demo-intake { flex-direction: row; align-items: center; justify-content: center; gap: 18px; }
.pdf { position: relative; width: 120px; height: 156px; flex: none; border-radius: 10px; background: #F3EEE6; padding: 34px 14px 0; display: flex; flex-direction: column; gap: 9px; overflow: hidden; }
.pdf-tag { position: absolute; top: 10px; left: 12px; font-size: 9px; color: var(--night); background: var(--lead); padding: 2px 6px; border-radius: 4px; letter-spacing: .1em; }
.pdf i { height: 5px; border-radius: 3px; background: #CFC7B8; }
.pdf i.s { width: 60%; }
.pdf .scan { position: absolute; left: 0; right: 0; height: 24px; top: -24px; background: linear-gradient(180deg, transparent, rgba(var(--lead-rgb), .55), transparent); }
.panel.is-live .pdf .scan { animation: scan 1.6s var(--ease) .3s 2; }
@keyframes scan { to { top: 160px; } }
.arrow { width: 50px; flex: none; color: var(--lead); }
.fields { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.f { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-2); font-size: 13px; opacity: 0; transform: translateX(16px); }
.f span { font-size: 9px; color: var(--dim); padding-top: 3px; }
.f.ok b { color: var(--ok); }
.panel.is-live .f { animation: slide .5s var(--ease-out) forwards; }
.panel.is-live .f:nth-child(1) { animation-delay: 1.4s; } .panel.is-live .f:nth-child(2) { animation-delay: 1.7s; }
.panel.is-live .f:nth-child(3) { animation-delay: 2s; } .panel.is-live .f:nth-child(4) { animation-delay: 2.6s; }
@keyframes slide { to { opacity: 1; transform: none; } }

/* demo: nurture */
.demo-nurture svg { width: 100%; height: auto; overflow: visible; }
.np { fill: none; stroke: var(--line-2); stroke-width: 2; stroke-dasharray: 260; stroke-dashoffset: 260; }
.panel.is-live .np { stroke: var(--lead); animation: draw 1s var(--ease) forwards; }
.panel.is-live .p1 { animation-delay: .3s; } .panel.is-live .p2 { animation-delay: .5s; }
.panel.is-live .p3 { animation-delay: 1.4s; } .panel.is-live .p4 { animation-delay: 1.6s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.nn { fill: var(--night); stroke: var(--line-2); stroke-width: 2; transition: fill .4s, stroke .4s; }
.panel.is-live .nn { animation: node .4s forwards; }
.panel.is-live .n0 { animation-delay: .1s; } .panel.is-live .n1 { animation-delay: 1.2s; } .panel.is-live .n2 { animation-delay: 1.4s; } .panel.is-live .n3 { animation-delay: 2.5s; }
@keyframes node { to { fill: var(--lead); stroke: var(--lead-hi); } }
.nlabels { position: relative; height: 20px; margin-top: -4px; font-size: 9px; color: var(--muted); }
.nlabels span { position: absolute; white-space: nowrap; }
.nlabels .l0 { left: 0; top: -118px; } .nlabels .l1 { left: 34%; top: -200px; } .nlabels .l2 { left: 34%; top: -14px; } .nlabels .l3 { right: 0; top: -118px; color: var(--lead); }

/* demo: digest */
.mail { background: var(--day); color: var(--ink); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 14px; transform: translateY(30px) rotate(-2deg); opacity: 0; }
.panel.is-live .mail { animation: mail .9s var(--ease-out) .2s forwards; }
@keyframes mail { to { transform: none; opacity: 1; } }
.mail-top { display: flex; justify-content: space-between; color: var(--ink-2); font-size: 10px; }
.row { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; }
.row i { height: 10px; border-radius: 5px; background: var(--rust); transform-origin: left; transform: scaleX(0); }
.panel.is-live .row i { animation: grow 1.2s var(--ease-out) forwards; }
.panel.is-live .row:nth-of-type(1) i { animation-delay: .8s; } .panel.is-live .row:nth-of-type(2) i { animation-delay: 1s; } .panel.is-live .row:nth-of-type(3) i { animation-delay: 1.2s; }
@keyframes grow { to { transform: scaleX(var(--w)); } }
.mail .note { font-size: 9px; color: var(--ink-2); letter-spacing: .08em; }

/* demo: voice */
.wave { display: flex; align-items: center; gap: 4px; height: 70px; }
.wave i { flex: 1; height: 20%; border-radius: 3px; background: var(--lead); opacity: .85; }
.panel.is-live .wave i { animation: wave 1.1s ease-in-out infinite alternate; }
@keyframes wave { from { height: 12%; } to { height: var(--h, 80%); } }
.lines { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.lines p { opacity: 0; transform: translateY(8px); }
.lines p span { display: block; font-size: 9px; color: var(--dim); margin-bottom: 4px; }
.lines .v3 { color: var(--ok); font-size: 11px; }
.panel.is-live .v1 { animation: pop .5s var(--ease-out) .6s forwards; }
.panel.is-live .v2 { animation: pop .5s var(--ease-out) 1.8s forwards; }
.panel.is-live .v3 { animation: pop .5s var(--ease-out) 3s forwards; }

/* ─── 05 morning ─── */
.morning-stage { position: relative; color: var(--ink); height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 28px; padding: 0 var(--gutter); overflow: hidden; }
.sun { position: absolute; left: 50%; bottom: -40vmin; width: 80vmin; height: 80vmin; margin-left: -40vmin; border-radius: 50%; background: radial-gradient(circle, #FFF1D2 0%, #FFD58A 30%, rgba(255,190,110,.4) 52%, transparent 70%); transform: translateY(60vmin); }
.m-tag { position: relative; }
.m-title { position: relative; width: 100%; max-width: 1100px; font-size: clamp(40px, 6.2vw, 100px); display: flex; flex-direction: column; text-wrap: balance; }
.ml { display: block; overflow: hidden; padding-bottom: .06em; }
.ml > span { display: block; }
.m-title em { color: var(--ink-2); }
.m-list { position: relative; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.m-list li { padding: 12px 20px; border-radius: 999px; border: 1px solid currentColor; font-weight: 500; font-size: 17px; }

/* ─── 06 proof ─── */
.proof { position: relative; color: var(--ink); padding: 120px 0 140px; }
.marquee { overflow: hidden; border-block: 1px solid rgba(20,21,26,.15); padding: 22px 0; margin-bottom: 120px; }
.mq-track { display: flex; gap: 40px; width: max-content; font-family: var(--display); font-weight: 800; font-size: clamp(34px, 4.6vw, 72px); letter-spacing: -0.03em; white-space: nowrap; will-change: transform; }
.mq-track b { color: var(--rust); font-size: .4em; align-self: center; }
.proof-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 6vw; padding: 0 var(--gutter); align-items: center; }
.proof-copy { display: flex; flex-direction: column; gap: 26px; }
.proof .tag { color: var(--rust); }
.proof h2 { font-size: clamp(40px, 5.4vw, 88px); }
.lede { font-size: clamp(17px, 1.35vw, 20px); color: var(--ink-2); max-width: 620px; }
.link-arrow { align-self: flex-start; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding: 6px 0; display: inline-flex; gap: 8px; min-height: 44px; align-items: center; }
.link-arrow span { transition: transform .4s var(--ease); }
.link-arrow:hover span { transform: translateX(6px); }
.proof-card { background: #fff; border-radius: 28px; padding: clamp(24px, 3vw, 40px); box-shadow: 0 40px 100px rgba(80, 40, 10, .14); transform-style: preserve-3d; will-change: transform; }
.pc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 24px; border-bottom: 1px solid rgba(20,21,26,.1); }
.pc-name { font-family: var(--display); font-weight: 800; font-size: 34px; letter-spacing: -0.03em; }
.pc-sub { color: var(--ink-2); font-size: 10px; margin-top: 6px; }
.live { display: flex; align-items: center; gap: 8px; color: #137A43; font-size: 11px; padding: 8px 12px; border-radius: 999px; background: #E3F6EA; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: #1FA45A; animation: pulse-g 1.6s infinite; }
@keyframes pulse-g { 50% { box-shadow: 0 0 0 6px rgba(31,164,90,.2); } }
.pc-facts { list-style: none; margin: 0; padding: 0; }
.pc-facts li { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid rgba(20,21,26,.08); }
.pc-facts li:last-child { border-bottom: 0; padding-bottom: 0; }
.pc-facts svg { width: 28px; height: 28px; flex: none; border-radius: 50%; background: rgba(var(--lead-rgb), .18); padding: 3px; }
.tick { fill: none; stroke: var(--rust); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; }
.pc-facts.drawn .tick { transition: stroke-dashoffset .6s var(--ease-out); stroke-dashoffset: 0; }
.pc-facts.drawn li:nth-child(2) .tick { transition-delay: .2s; } .pc-facts.drawn li:nth-child(3) .tick { transition-delay: .4s; }
.pc-facts b { display: block; font-size: 18px; }
.pc-facts span { color: var(--ink-2); font-size: 15px; }

/* ─── 07 book ─── */
.book { position: relative; color: var(--ink); min-height: 100svh; padding: 140px var(--gutter) 120px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 30px; overflow: hidden; }
.book .tag { color: var(--rust); }
.book-glow { position: absolute; left: 50%; top: 40%; width: 1000px; height: 1000px; margin-left: -500px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--lead-rgb), .55) 0%, rgba(var(--lead-rgb), 0) 60%); pointer-events: none; z-index: -1; }
.book-title { font-size: clamp(60px, 11vw, 190px); }
.book-sub { font-size: clamp(18px, 1.5vw, 22px); color: var(--ink-2); max-width: 620px; }
.book-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.steps { list-style: none; margin: 60px 0 0; padding: 0; width: 100%; max-width: 1100px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; text-align: left; }
.steps li { padding: 26px; border-radius: 20px; border: 1px solid rgba(20,21,26,.14); background: rgba(255,255,255,.45); display: flex; flex-direction: column; gap: 10px; }
.steps span { color: var(--rust); }
.steps b { font-family: var(--display); font-size: 24px; letter-spacing: -0.02em; }
.steps p { color: var(--ink-2); font-size: 15px; }

/* ─── footer ─── */
.foot { color: var(--ink); padding: 40px var(--gutter) 32px; overflow: hidden; }
.foot-word { font-family: var(--display); font-weight: 800; font-size: clamp(64px, 17vw, 300px); letter-spacing: -0.05em; line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(20,21,26,.3); white-space: nowrap; }
.foot-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(20,21,26,.14); }
.foot-row p { color: var(--ink-2); font-size: 11px; }
.foot-row nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-row a { text-decoration: none; font-size: 15px; color: var(--ink-2); min-height: 44px; display: inline-flex; align-items: center; }
.foot-row a:hover { color: var(--ink); }

/* ─── cursor ─── */
.cursor, .cursor-ring { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; border-radius: 50%; }
.cursor { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--lead); }
.cursor-ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid rgba(var(--lead-rgb), .6); transition: width .3s var(--ease-out), height .3s var(--ease-out), margin .3s var(--ease-out), background .3s; }
.cursor-ring.hover { width: 72px; height: 72px; margin: -36px 0 0 -36px; background: rgba(var(--lead-rgb), .12); }
body.is-day .cursor { background: var(--ink); }
body.is-day .cursor-ring { border-color: rgba(20,21,26,.45); }
body.is-day .cursor-ring.hover { background: rgba(20,21,26,.06); }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-ring { display: none; } }
@media (hover: hover) and (pointer: fine) { body.has-cursor, body.has-cursor a { cursor: none; } }

/* ─── responsive ─── */
@media (max-width: 900px) {
  .nav-links, .hide-sm { display: none; }
  .nav { padding: 14px 16px; }
  .chapter { display: none; }
  .hero-orb { right: 18vw; top: 22%; }
  .hero-orb .orb-label { display: none; }
  .cold-stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto 1fr; padding: 90px 16px 40px; row-gap: 18px; }
  .cold-clock, .cold-orb { grid-column: 1; grid-row: 2; }
  .cold-orb { width: 70vw; height: 70vw; }
  .temp { grid-column: 1; grid-row: 3; }
  .cold-events { grid-column: 1; grid-row: 4; align-self: start; gap: 16px; }
  .cold-events li { grid-template-columns: 1fr; gap: 4px; }
  .cold-events li.past { display: none; }
  .st-pin { height: auto; padding: 90px 0 40px; overflow: visible; }
  .st-rail { display: none; }
  .st-track { flex-direction: column; gap: 20px; padding: 0 16px; transform: none !important; }
  .panel { flex: none; height: auto; grid-template-columns: minmax(0, 1fr); opacity: 1; transform: none; }
  .p-demo { border-left: 0; border-top: 1px solid var(--line-2); min-height: 300px; }
  .proof-inner { grid-template-columns: minmax(0, 1fr); gap: 48px; padding: 0 16px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .book { padding: 110px 16px 80px; }
  .foot { padding: 32px 16px; }
}

/* ─── reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  #preloader { display: none; }
  .cold-events li { opacity: 1; transform: none; }
  .bubble, .typing, .sent, .f, .lines p, .mail { opacity: 1; transform: none; }
  .np { stroke-dashoffset: 0; }
  .row i { transform: scaleX(var(--w)); }
}

/* ─── polish pass ─── */
body.is-day .m-tag, .m-tag { color: var(--ink); }
body.is-day .nav::before { opacity: 1; background: linear-gradient(180deg, rgba(243,238,230,.92) 30%, rgba(243,238,230,0)); }
body.at-foot .chapter { opacity: 0; }
.chapter { transition: color .6s, opacity .4s; }
@media (min-width: 901px) { .panel { height: clamp(320px, calc(100svh - 330px), 480px); } }
.nlabels .l0 { top: -150px; } .nlabels .l3 { top: -150px; }
@media (min-width: 901px) {
  .st-track { padding: 0 calc((100vw - min(980px, 78vw)) / 2); }
}
@media (max-width: 600px) {
  .nav-clock { display: none; }
  .nav-cta { padding: 11px 18px; }
  .hero-orb { top: 12%; right: 16vw; }
}
@media (max-width: 900px) {
  .demo-intake { flex-direction: column; gap: 14px; }
  .demo-intake .arrow { transform: rotate(90deg); }
  .fields { width: 100%; }
}
html { overflow-x: clip; }
.hero { overflow: hidden; }

/* ─── round 3: case teaser, reimagine pill, hover cards ─── */
.biz-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.biz-chips a { display: inline-flex; align-items: center; min-height: 46px; padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(20,21,26,.25); text-decoration: none; font-weight: 600; font-size: 15px; transition: background .25s, color .25s, transform .3s var(--ease-out), border-color .25s; }
.biz-chips a:hover { background: var(--ink); color: var(--day); border-color: var(--ink); transform: translateY(-3px); }
.pc-name { line-height: 1; }

.reimagine { display: flex; align-items: center; gap: 18px; width: fit-content; margin: 34px auto 6px; padding: 10px 24px 10px 12px; border-radius: 999px; border: 1px solid rgba(20,21,26,.18); background: rgba(255,255,255,.55); text-decoration: none; color: var(--ink); box-shadow: 0 10px 30px rgba(20,21,26,.06); transition: background .35s, color .35s, transform .4s var(--ease-out), box-shadow .35s; }
.reimagine:hover { background: var(--ink); color: var(--day); transform: translateY(-4px); box-shadow: 0 24px 50px rgba(20,21,26,.2); }
.re-dots { position: relative; width: 74px; height: 40px; flex: none; }
.re-dots i { position: absolute; top: 2px; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--day); transition: transform .5s var(--ease-out); }
.re-dots .d1 { left: 0; background: conic-gradient(#3355FF, #FF4D9D, #B9F24A, #FF6B2C, #8A5CFF, #3355FF); }
.re-dots .d2 { left: 18px; background: radial-gradient(circle at 30% 30%, #4DE8FF, #8B6CFF 55%, #FF4FD8); }
.re-dots .d3 { left: 36px; background: #F1EBDF; box-shadow: inset 0 0 0 4px #F1EBDF, inset 0 0 0 6px #CF2A1E; }
.reimagine:hover .d1 { transform: translateX(-8px) rotate(-90deg); }
.reimagine:hover .d3 { transform: translateX(8px); }
.re-copy { display: flex; flex-direction: column; gap: 2px; }
.re-copy .mono { font-size: 10.5px; color: var(--ink-2); transition: color .35s; }
.reimagine:hover .re-copy .mono { color: #B9B4C2; }
.re-copy b { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.re-go { font-size: 22px; transition: transform .4s var(--ease-out); }
.reimagine:hover .re-go { transform: translate(4px, -4px); }

.steps li { position: relative; overflow: hidden; cursor: default; transition: transform .5s var(--ease-out), background .4s, box-shadow .4s, border-color .4s; }
.steps li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--accent-ink); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.steps li::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--lead-rgb), .22), transparent 70%); opacity: 0; transition: opacity .4s; }
.steps li:hover { transform: translateY(-8px); background: rgba(255,255,255,.85); border-color: rgba(20,21,26,.22); box-shadow: 0 30px 60px rgba(20,21,26,.12); }
.steps li:hover::before { transform: scaleX(1); }
.steps li:hover::after { opacity: 1; }
.steps li span { transition: transform .5s var(--ease-out); display: inline-block; }
.steps li:hover span { transform: translateX(6px); }
@media (max-width: 600px) { .reimagine { gap: 12px; padding-right: 18px; } .re-copy b { font-size: 17px; } }
.foot { padding-bottom: 84px; }

/* display font: Inter Tight (professional, unambiguous letterforms) */
h1, h2, h3 { letter-spacing: -0.03em; }
/* hero: both sentences sit on one line each on desktop, clear of the orb */
.hero-inner { max-width: 1120px; }
@media (max-width: 900px) { .hero-title { font-size: clamp(40px, 11.5vw, 64px); } }

/* ─── review fixes 2026-11-06 ─── */
/* desktop links hide at the same width the menu button appears (theme.css: 960px) */
@media (max-width: 960px) { .nav-links { display: none; } }
/* reduced motion: the six stations stack instead of scrolling sideways (any width) */
@media (prefers-reduced-motion: reduce) {
  html .st-pin { height: auto; padding: 90px 0 40px; overflow: visible; }
  html .st-rail { display: none; }
  html .st-track { flex-direction: column; gap: 20px; padding: 0 var(--gutter); transform: none !important; }
  html .panel { flex: none; height: auto; width: min(980px, 100%); margin: 0 auto; opacity: 1; transform: none; }
}
/* keep the scroll hint clear of the Theme button (bottom-left; ~125px wide on desktop, a 44px dot on phones) */
.scroll-cue { left: 150px; }
@media (max-width: 600px) { .scroll-cue { left: 76px; } }
