/* LeoHubs landing v2 — soft dark canvas, cream type, amber accent, editorial serif. */
:root {
  --bg: #0c0d11;
  --bg-2: #10121a;
  --bg-3: #171922;
  --card: rgba(255, 255, 255, 0.035);
  --card-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --ink: rgba(236, 231, 222, 0.92);
  --ink-2: rgba(236, 231, 222, 0.68);
  --ink-3: rgba(236, 231, 222, 0.46);
  --amber: #f4a62a;
  --amber-2: #d9861a;
  --amber-soft: rgba(244, 166, 42, 0.14);
  --amber-line: rgba(244, 166, 42, 0.4);
  --ok: #7cd4a4;
  --warn: #f2c66d;
  --bad: #ef8a8a;
  --r: 22px;
  --r-s: 14px;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1140px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 70px; }
.steps, .tl-wrap, #story-root { scroll-margin-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 600; letter-spacing: -0.012em; text-wrap: balance; font-optical-sizing: auto; }
p, li { text-wrap: pretty; }
h1 { font-size: clamp(40px, 5.6vw, 74px); line-height: 1.02; }
h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.1; }
h3 { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.25; }
h1 em, h2 em { font-style: italic; background: linear-gradient(92deg, #ffd27a 0%, var(--amber) 45%, #f0b45a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 em { filter: drop-shadow(0 0 18px rgba(244, 166, 42, 0.35)); }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.kicker { display: block; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; font-weight: 500; }
.sub { color: var(--ink-2); margin-top: 14px; font-size: 18px; max-width: 56ch; }
.sec-head { margin-bottom: 44px; max-width: 760px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 500; font-size: 15px; line-height: 1; white-space: nowrap; border: 1px solid transparent; transition: transform 160ms ease, box-shadow 220ms ease, background-color 200ms ease, border-color 200ms ease, color 200ms ease; }
.btn-lg { padding: 16px 24px; font-size: 16px; }
.btn-brand { position: relative; overflow: hidden; background: linear-gradient(180deg, #ffbd4a, var(--amber) 60%, #e9961f); color: #1b1200; box-shadow: 0 10px 30px rgba(244, 166, 42, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.btn-brand::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%); transform: translateX(-120%); transition: transform 700ms ease; }
.btn-brand:hover::after { transform: translateX(120%); }
.btn-brand:hover { background: #ffb63f; transform: translateY(-1px); box-shadow: 0 14px 34px rgba(244, 166, 42, 0.3); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { border-color: var(--amber-line); background: var(--amber-soft); }
.link-btn { color: var(--amber); font-size: 14px; padding: 8px 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions.center { justify-content: center; }

/* affordance: hints, arrows, pulse, demo badge */
.arr { display: inline-block; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); margin-left: 2px; animation: nudge-x 1.4s ease-in-out infinite; }
@keyframes nudge-x { 0%, 100% { transform: translateX(0) rotate(45deg); } 50% { transform: translateX(4px) rotate(45deg); } }
.pulse { animation: pulse-shadow 2.4s ease-out infinite; }
@keyframes pulse-shadow { 0% { box-shadow: 0 10px 30px rgba(244, 166, 42, .22), 0 0 0 0 rgba(244, 166, 42, .35); } 60% { box-shadow: 0 10px 30px rgba(244, 166, 42, .22), 0 0 0 9px rgba(244, 166, 42, 0); } 100% { box-shadow: 0 10px 30px rgba(244, 166, 42, .22), 0 0 0 0 rgba(244, 166, 42, 0); } }
.tap-group .demo-tab:not(.is-active) { border: 1px solid var(--amber-line); color: var(--ink); background: var(--amber-soft); }
.tap-group .demo-tab:not(.is-active):hover { background: rgba(244, 166, 42, .24); transform: translateY(-1px); }
.demo-badge { margin-left: auto; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; border: 1px solid var(--amber-line); color: var(--amber); background: var(--amber-soft); }
.device-input.is-demo { border-style: dashed; color: var(--ink-3); font-size: 12.5px; }
.device-input.is-demo .send { opacity: .35; } .device-input.is-demo .mic::after { background: var(--ink-3); }
.avatar-hex { border-radius: 0; box-shadow: none; }
.stage-nav { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.story-nav { margin-top: 10px; }
.msg-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.msg-actions .btn { padding: 9px 14px; font-size: 13px; }
.msg.b .diff { display: grid; gap: 4px; margin-top: 8px; font-size: 12.5px; }
.msg.b .diff span { padding: 6px 8px; border-radius: 8px; background: rgba(124, 212, 164, .1); color: var(--ok); }
.msg.b .diff span s { color: var(--ink-3); margin-right: 6px; }
.duo { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.duo .device { width: 100%; max-width: 560px; justify-self: end; }
.duo-rev .duo-text { order: 2; } .duo-rev .device { order: 1; justify-self: start; }
.duo .demo-tabs { margin-top: 18px; }

/* cursor glow */
.cursor-glow { position: fixed; left: 0; top: 0; width: 520px; height: 520px; border-radius: 50%; pointer-events: none; z-index: 0; background: radial-gradient(circle, rgba(244, 166, 42, 0.10), transparent 60%); transform: translate(-50%, -50%); opacity: 0; transition: opacity 400ms ease; }
body.has-pointer .cursor-glow { opacity: 1; }

/* aurora + grain */
.aurora { position: absolute; inset: -20% -10% auto; height: 110%; z-index: -2; pointer-events: none; filter: blur(70px) saturate(120%); opacity: .9; }
.aurora i { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: aurora 22s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { left: 5%; top: 10%; width: 46vw; height: 46vw; background: radial-gradient(circle, rgba(244, 166, 42, 0.28), transparent 65%); }
.aurora i:nth-child(2) { left: 55%; top: -10%; width: 40vw; height: 40vw; background: radial-gradient(circle, rgba(126, 112, 230, 0.22), transparent 65%); animation-delay: -8s; }
.aurora i:nth-child(3) { left: 35%; top: 45%; width: 44vw; height: 36vw; background: radial-gradient(circle, rgba(217, 134, 26, 0.18), transparent 65%); animation-delay: -15s; }
@keyframes aurora { from { transform: translate(0, 0) scale(1); } to { transform: translate(6%, 8%) scale(1.12); } }
.grain { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .055; mix-blend-mode: overlay; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* epic hero layers */
.hexgrid { position: absolute; inset: 0; z-index: -2; pointer-events: none; opacity: .35;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'><path d='M28 1 54 16v32L28 64 2 48V16z M28 65 54 80v16M2 96V80l26-15' fill='none' stroke='rgba(244,166,42,0.22)' stroke-width='1'/></svg>");
  -webkit-mask-image: radial-gradient(60% 70% at 50% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(60% 70% at 50% 40%, #000 20%, transparent 75%); }
.beam { position: absolute; left: 50%; top: -30%; width: 140vw; height: 160%; z-index: -2; pointer-events: none; transform: translateX(-50%) rotate(-18deg); background: linear-gradient(90deg, transparent 40%, rgba(244, 166, 42, .07) 50%, transparent 60%); animation: beam 14s ease-in-out infinite alternate; filter: blur(14px); }
@keyframes beam { from { transform: translateX(-62%) rotate(-18deg); } to { transform: translateX(-38%) rotate(-18deg); } }
.watermark { position: absolute; right: -6%; top: 6%; width: min(620px, 70vw); height: auto; z-index: -1; opacity: .07; pointer-events: none; filter: blur(1px) drop-shadow(0 0 60px rgba(244, 166, 42, .5)); animation: wm 30s linear infinite; }
@keyframes wm { from { transform: rotate(0deg) scale(1); } 50% { transform: rotate(6deg) scale(1.04); } to { transform: rotate(0deg) scale(1); } }
.section-tint { position: relative; overflow: clip; }
.section-tint::before { content: ''; position: absolute; inset: auto -10% -30% -10%; height: 70%; background: radial-gradient(50% 60% at 50% 100%, rgba(244, 166, 42, .10), transparent 70%); pointer-events: none; }
.dots { display: inline-flex; gap: 6px; align-items: center; margin-right: 14px; position: relative; padding-bottom: 8px; }
.dots::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: var(--ap, 0%); background: var(--amber); border-radius: 2px; transition: width 120ms linear; }
.dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; background: var(--card-2); border: 1px solid var(--line-2); transition: background-color 200ms ease, transform 200ms ease; }
.dots button.is-active { background: var(--amber); transform: scale(1.3); }
.story-btns { display: flex; gap: 8px; }
.story-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }

/* nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color 240ms ease, border-color 240ms ease; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(12, 13, 17, 0.78); -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 26px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 20px; font-weight: 600; }
.brand img { filter: drop-shadow(0 0 10px rgba(244, 166, 42, 0.4)); }
.brand b { color: var(--amber); font-weight: 600; }
.nav-links { margin-left: auto; display: flex; gap: 24px; font-size: 14px; color: var(--ink-2); }
.nav-links a { padding: 6px 0; transition: color 160ms ease; }
.nav-links a:hover, .nav-links a.is-active { color: var(--ink); }
.burger { display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.burger span { width: 18px; height: 1.5px; background: var(--ink); transition: transform 200ms ease; }
.nav.is-open .burger span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav.is-open .burger span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* hero */
.hero { position: relative; padding: 150px 0 40px; overflow: hidden; }
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.8; }
.hero::before { content: ''; position: absolute; inset: -10% -10% auto; height: 80%; z-index: -2; background: radial-gradient(40% 50% at 20% 25%, rgba(244, 166, 42, 0.16), transparent 70%), radial-gradient(35% 45% at 85% 15%, rgba(120, 110, 220, 0.10), transparent 70%); filter: blur(12px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-grid > *, .duo > *, .device, .device-chat, .msg { min-width: 0; }
.eyebrow { display: inline-block; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--amber); margin-bottom: 26px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--amber-line); background: var(--amber-soft); }
.lead { margin-top: 22px; font-size: clamp(17px, 1.35vw, 20px); color: var(--ink-2); max-width: 52ch; }
.hero .actions { margin-top: 30px; }
.hint { margin-top: 26px; font-size: 13px; color: var(--ink-3); }

.hero-demo { display: grid; gap: 12px; }
.demo-tabs { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); width: fit-content; }
.demo-tab { padding: 9px 14px; border-radius: 999px; font-size: 13px; color: var(--ink-2); transition: background-color 180ms ease, color 180ms ease; }
.demo-tab:hover { color: var(--ink); }
.demo-tab.is-active { background: var(--amber); color: #1b1200; font-weight: 500; }
.device { border-radius: var(--r); border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08); padding: 14px; }
.device-head { display: flex; align-items: center; gap: 10px; padding: 4px 4px 12px; border-bottom: 1px solid var(--line); font-size: 13px; }
.device-head div { display: grid; line-height: 1.2; } .device-head span { color: var(--ink-3); font-size: 12px; }
.avatar { border-radius: 50%; object-fit: cover; }
.online { margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.device-chat { min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 12px 2px; background: radial-gradient(80% 60% at 50% 100%, rgba(244, 166, 42, .05), transparent 70%); }
.msg { position: relative; max-width: 90%; padding: 10px 13px 18px; border-radius: 16px; font-size: 13.5px; line-height: 1.45; animation: pop 260ms ease both; }
.msg time { position: absolute; right: 10px; bottom: 4px; font-size: 10.5px; opacity: .55; }
.msg.u time { color: #1b1200; } .msg.u time::after { content: ' ✓✓'; letter-spacing: -2px; }
.msg.b { box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.msg.u { align-self: flex-end; background: var(--amber); color: #1b1200; border-bottom-right-radius: 6px; }
.msg.b { align-self: flex-start; background: var(--card-2); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg.typing { display: inline-flex; gap: 4px; padding: 12px 14px; box-shadow: none; }
.msg.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); animation: blink 1s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; } .msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.mini { width: 100%; border-collapse: collapse; font-size: 11.5px; margin-top: 6px; }
.mini th, .mini td { padding: 5px 6px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.mini th { color: var(--amber); font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chips span { font-size: 11.5px; padding: 5px 9px; border-radius: 999px; border: 1px solid var(--amber-line); color: var(--amber); }
.src { display: block; margin-top: 8px; font-size: 11.5px; color: var(--ink-3); }
.device-input { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 14px; border: 1px solid var(--line-2); font-size: 13px; color: var(--ink-3); }
.device-input .ph { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.device-input .clip, .device-input .mic, .device-input .send { width: 30px; height: 30px; border-radius: 50%; flex: 0 0 auto; background-repeat: no-repeat; background-position: center; background-size: 16px; }
.device-input .clip { background-color: var(--card-2); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8b2a6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M21 12.5 12.3 21a5.5 5.5 0 0 1-7.8-7.8l9-9a3.5 3.5 0 0 1 5 5l-9 9a1.5 1.5 0 0 1-2.1-2.1L15.5 8'/></svg>"); }
.device-input .mic { background-color: var(--card-2); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4a62a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><rect x='9' y='3' width='6' height='11' rx='3'/><path d='M5 11a7 7 0 0 0 14 0M12 18v3'/></svg>"); transition: background-color 200ms ease, box-shadow 200ms ease; }
.device-input .send { background-color: var(--amber); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b1200' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 19V5M5 12l7-7 7 7'/></svg>"); }
.device-input.is-demo { border-style: dashed; } .device-input.is-demo .send { opacity: .45; }

.proof { margin-top: 72px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 14px; }
.proof > div { padding: 22px 24px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); display: grid; gap: 6px; align-content: start; }
.proof b { font-family: var(--serif); font-weight: 600; color: var(--amber); line-height: 1; }
.proof-big b { font-size: clamp(44px, 5vw, 72px); } .proof-small b { font-size: clamp(30px, 3vw, 40px); }
.proof span { font-size: 13.5px; color: var(--ink-3); }

/* sections */
.section { padding: 104px 0; }
.section-tint { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }

/* hero → how bridge (phones): appears under the demo after the CTA, leads into the steps */
.bridge { display: none; align-items: center; justify-content: space-between; gap: 14px; margin-top: 12px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--amber-line); background: var(--amber-soft); animation: pop 400ms ease both; }
.bridge p { font-size: 14px; color: var(--ink); max-width: 36ch; }
.bridge .btn { white-space: nowrap; flex: 0 0 auto; }
.bridge.is-on { display: flex; }
.device.is-focus { box-shadow: 0 0 0 2px var(--amber-line), 0 0 60px rgba(244, 166, 42, .25), 0 30px 80px rgba(0, 0, 0, .45); transition: box-shadow 400ms ease; }
@media (max-width: 600px) { .bridge { flex-direction: column; align-items: stretch; } .bridge .btn { width: 100%; } }

/* steps */
.steps { border-radius: var(--r); border: 1px solid var(--line); background: var(--card); overflow: hidden; }
.steps-rail { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); border-bottom: 1px solid var(--line); }
.step { padding: 18px 14px; display: grid; gap: 4px; text-align: left; border-right: 1px solid var(--line); transition: background-color 180ms ease; }
.step:last-of-type { border-right: 0; }
.step b { font-family: var(--serif); font-size: 13px; color: var(--ink-3); font-weight: 600; }
.step span { font-size: 14px; color: var(--ink-2); }
.step.is-active { background: var(--amber-soft); } .step.is-active b, .step.is-active span { color: var(--amber); }
.rail-progress { position: absolute; left: var(--l, 0%); bottom: -1px; height: 2px; width: var(--seg, 20%); background: var(--card-2); transition: left 200ms ease; overflow: hidden; }
.rail-progress::after { content: ''; position: absolute; inset: 0; width: var(--ap, 0%); background: var(--amber); }
.steps:not(.is-auto) .rail-progress { background: var(--amber); } .steps:not(.is-auto) .rail-progress::after { display: none; }
.steps-stage { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; padding: 36px; align-items: center; min-height: 290px; }
.stage-visual { min-height: 210px; border-radius: 16px; background: var(--bg-3); border: 1px solid var(--line); padding: 20px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.stage-text p { margin-top: 10px; color: var(--ink-2); font-size: 17px; }
.vis-bubble { align-self: flex-end; background: var(--amber); color: #1b1200; padding: 11px 14px; border-radius: 16px 16px 6px 16px; font-size: 14px; max-width: 92%; animation: pop 300ms ease both; }
.vis-eq { display: flex; gap: 4px; align-items: flex-end; height: 24px; align-self: flex-end; }
.vis-eq i { width: 4px; background: var(--amber); border-radius: 2px; animation: eq .9s ease-in-out infinite; }
.vis-eq i:nth-child(1) { height: 40%; } .vis-eq i:nth-child(2) { height: 90%; animation-delay: .1s; } .vis-eq i:nth-child(3) { height: 60%; animation-delay: .2s; } .vis-eq i:nth-child(4) { height: 100%; animation-delay: .3s; } .vis-eq i:nth-child(5) { height: 50%; animation-delay: .4s; }
@keyframes eq { 0%, 100% { transform: scaleY(.5); } 50% { transform: scaleY(1); } }
.vis-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.vis-tags span { padding: 8px 12px; border-radius: 10px; background: rgba(124, 212, 164, 0.1); color: var(--ok); border: 1px solid rgba(124, 212, 164, 0.3); font-size: 13px; animation: pop 400ms ease both; }
.vis-row { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--card-2); font-size: 13.5px; animation: pop 400ms ease both; }
.vis-row em { font-style: normal; color: var(--ok); white-space: nowrap; }
.vis-row.warn em { color: var(--warn); }
.vis-rate { display: flex; align-items: center; gap: 10px; margin-top: 6px; font-size: 13px; color: var(--ink-3); }
.vis-rate i { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-style: normal; }
.vis-rate i.on { border-color: var(--amber-line); color: var(--amber); background: var(--amber-soft); }
.vis-rate svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* story */
.story { display: grid; grid-template-columns: 1fr 1.1fr; grid-template-rows: 1fr auto; gap: 0 48px; align-items: start; }
.story-beats { grid-column: 1; grid-row: 1; }
.story-sticky { grid-column: 2; grid-row: 1 / span 2; }
.story-nav { grid-column: 1; grid-row: 2; }
.story-beats { display: grid; gap: 26vh; padding: 6vh 0 12vh; }
.beat { opacity: .35; transition: opacity 400ms ease; }
.beat.is-active { opacity: 1; }
.beat-n { display: inline-block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); margin-bottom: 10px; }
.beat p { margin-top: 10px; color: var(--ink-2); font-size: 17px; }
.story-sticky { position: sticky; top: 100px; }
.story-visual { position: relative; display: grid; min-height: 440px; border-radius: var(--r); border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4); padding: 24px; overflow: hidden; }
.sv { grid-area: 1 / 1; position: absolute; inset: 24px; min-width: 0; display: flex; flex-direction: column; gap: 12px; justify-content: center; opacity: 0; transform: translateY(14px) scale(.98); transition: opacity 500ms ease, transform 500ms ease; pointer-events: none; }
.sv.is-active { position: relative; inset: auto; opacity: 1; transform: none; pointer-events: auto; z-index: 1; }
.queue-person { display: flex; justify-content: space-between; gap: 8px; min-width: 0; padding: 10px 12px; border-radius: 12px; background: var(--card-2); font-size: 14px; }
.queue-person i { font-style: normal; color: var(--bad); font-size: 13px; white-space: nowrap; }
.queue-bm { margin-top: 10px; padding: 14px; border-radius: 12px; border: 1px dashed var(--line-2); display: grid; gap: 6px; font-size: 13px; }
.queue-bm span { color: var(--ink-3); }
.bar { height: 4px; border-radius: 2px; background: var(--card-2); overflow: hidden; }
.bar i { display: block; height: 100%; width: 35%; background: var(--bad); animation: crawl 3s ease-in-out infinite; }
@keyframes crawl { 0%, 100% { width: 25%; } 50% { width: 45%; } }
.bubble { padding: 11px 14px; border-radius: 16px; font-size: 13.5px; }
.bubble.u { align-self: flex-end; background: var(--amber); color: #1b1200; border-bottom-right-radius: 6px; max-width: 85%; }
.bubble.b { align-self: flex-start; background: var(--card-2); border: 1px solid var(--line); border-bottom-left-radius: 6px; width: 100%; }
.timer { align-self: flex-end; font-size: 13px; color: var(--ink-3); } .timer b { color: var(--ok); }
.dash-head { display: flex; justify-content: space-between; font-size: 14px; } .dash-head span { color: var(--ink-3); }
.spark { width: 100%; height: 90px; color: var(--amber); }
.dash-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; background: var(--card-2); font-size: 13.5px; }
.dash-row span { color: var(--ink-3); } .dash-row b { font-weight: 500; } .dash-row .ok { color: var(--ok); }
.dash-row.fix { border: 1px solid var(--amber-line); background: var(--amber-soft); }
.sv-result { flex-direction: row; align-items: center; justify-content: space-around; text-align: center; }
.result-num { display: grid; gap: 6px; }
.result-num b { font-family: var(--serif); font-size: clamp(40px, 4vw, 60px); color: var(--amber); line-height: 1; }
.result-num span { font-size: 13px; color: var(--ink-3); }

/* bento — premium cards: dot-grid surface, corner glow, cursor spotlight + masked border glow, icon, index, mini-viz */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tile { --mx: 50%; --my: 50%; position: relative; display: grid; min-height: 230px; border-radius: var(--r); border: 1px solid var(--line); text-align: left; padding: 0; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(244, 166, 42, .10), transparent 70%),
    radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(180deg, #14161e, #0f1118);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease; }
.tile::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0; opacity: 0; transition: opacity 300ms ease;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(244, 166, 42, .14), transparent 60%); }
.tile::after { content: 'Подробнее'; position: absolute; right: 14px; top: 14px; z-index: 2; padding: 6px 12px; border-radius: 999px; background: var(--amber); color: #1b1200; font-size: 12px; font-weight: 600; box-shadow: 0 6px 18px rgba(244, 166, 42, .3); transition: background-color 300ms ease, color 300ms ease; }
.tile:hover { transform: translateY(-3px); border-color: rgba(244, 166, 42, .45); box-shadow: 0 24px 60px rgba(0, 0, 0, .45), 0 0 0 1px rgba(244, 166, 42, .08); }
.tile:hover::before, .tile.is-open::before { opacity: 1; }
.tile.is-open::after { content: 'Свернуть'; background: var(--card-2); color: var(--ink-2); box-shadow: none; }
.tile-wide { grid-column: span 2; }
.tile-front, .tile-back { grid-area: 1 / 1; position: relative; z-index: 1; padding: 22px; display: flex; flex-direction: column; gap: 8px; transition: opacity 320ms ease, transform 320ms ease; }
.tile-back { opacity: 0; transform: translateY(12px); justify-content: center; padding-top: 54px; pointer-events: none; background: linear-gradient(180deg, rgba(20, 22, 30, .96), rgba(15, 17, 24, .98)); }
.tile.is-open .tile-front { opacity: 0; transform: translateY(-12px); }
.tile.is-open .tile-back { opacity: 1; transform: none; pointer-events: auto; }
.tile-back p { color: var(--ink-2); font-size: 15px; line-height: 1.5; margin: auto 0; }
.tile-n { position: absolute; left: 22px; top: 16px; font-family: var(--serif); font-size: 13px; color: var(--ink-3); letter-spacing: .06em; }
.tile-ic { width: 42px; height: 42px; margin-top: 18px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(145deg, rgba(244, 166, 42, .28), rgba(244, 166, 42, .06)); border: 1px solid var(--amber-line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 8px 20px rgba(244, 166, 42, .12); }
.tile-ic svg { width: 20px; height: 20px; fill: none; stroke: var(--amber); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tile-k { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin-top: 6px; }
.tile h3 { font-size: clamp(18px, 1.5vw, 22px); }
.viz { margin-top: auto; padding-top: 14px; }
/* hub */
.viz-hub { position: relative; height: 110px; }
.viz-hub svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub-lines line { stroke: rgba(244, 166, 42, .35); stroke-width: 1; stroke-dasharray: 3 5; animation: dash 8s linear infinite; }
.hub-core { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 6px rgba(244, 166, 42, .18), 0 0 24px rgba(244, 166, 42, .7); animation: corepulse 2.4s ease-in-out infinite; }
@keyframes corepulse { 0%, 100% { box-shadow: 0 0 0 6px rgba(244, 166, 42, .18), 0 0 24px rgba(244, 166, 42, .7); } 50% { box-shadow: 0 0 0 12px rgba(244, 166, 42, .06), 0 0 34px rgba(244, 166, 42, .9); } }
.viz-hub i { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); font-style: normal; font-size: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(20, 22, 30, .95); border: 1px solid var(--line-2); color: var(--ink-2); animation: drift 6s ease-in-out infinite; }
.viz-hub i:nth-child(odd) { animation-delay: -3s; }
/* chat bubbles */
.viz-chat { display: grid; gap: 7px; }
.cb { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 7px 12px; border-radius: 14px 14px 14px 4px; background: var(--card-2); border: 1px solid var(--line); font-size: 12.5px; color: var(--ink-2); animation: pop 500ms ease both; }
.cb b { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.cb-2 { margin-left: 18px; animation-delay: .2s; } .cb-3 { margin-left: 36px; animation-delay: .4s; }
/* gauge */
.viz-gauge { display: flex; align-items: center; gap: 14px; }
.viz-gauge svg { width: 84px; height: 84px; transform: rotate(-90deg); flex: 0 0 auto; }
.g-track { fill: none; stroke: var(--card-2); stroke-width: 8; }
.g-fill { fill: none; stroke: var(--amber); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 314; stroke-dashoffset: 173; animation: gauge 6s ease-in-out infinite; filter: drop-shadow(0 0 6px rgba(244, 166, 42, .6)); }
@keyframes gauge { 0%, 10% { stroke-dashoffset: 173; } 80%, 100% { stroke-dashoffset: 10; } }
.viz-gauge div { display: grid; gap: 2px; } .g-num { font-family: var(--serif); font-size: 28px; color: var(--amber); line-height: 1; } .viz-gauge span { font-size: 12.5px; color: var(--ink-3); }
/* rack */
.viz-rack { display: grid; gap: 6px; }
.rk { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; background: linear-gradient(180deg, #1b1e28, #141620); border: 1px solid var(--line-2); font-size: 12px; color: var(--ink-2); }
.rk i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); animation: led 1.6s ease-in-out infinite; }
.rk i:nth-child(2) { background: var(--amber); box-shadow: 0 0 8px var(--amber); animation-delay: -.8s; }
.rk em { font-style: normal; margin-left: auto; color: var(--ink-3); }
@keyframes led { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
/* models */
.viz-models { display: grid; gap: 4px; padding: 12px 14px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--line); }
.ml { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.ml-name { font-family: var(--serif); font-size: 22px; color: var(--ink); min-height: 28px; }
.ml-name.is-switching { opacity: 0; transform: translateY(4px); } .ml-name { transition: opacity 200ms ease, transform 200ms ease; }
.ml-dots { display: flex; gap: 5px; margin-top: 4px; } .ml-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--card-2); border: 1px solid var(--line-2); } .ml-dots i.is-active { background: var(--amber); }
/* actions */
.viz-act { display: grid; gap: 8px; }
.act-line { font-size: 13px; color: var(--ink-2); } .act-line em { font-style: normal; color: var(--amber); font-weight: 500; }
.approve { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--amber-line); background: var(--amber-soft); font-size: 13.5px; }
.approve i { font-style: normal; padding: 7px 12px; border-radius: 999px; background: var(--amber); color: #1b1200; font-weight: 500; font-size: 12.5px; white-space: nowrap; }

/* hitl + admin demos reuse .device (see affordance block for .duo) */

/* compare toggle */
.toggle { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); margin-bottom: 28px; }
.toggle button { position: relative; z-index: 1; padding: 11px 22px; border-radius: 999px; font-size: 14px; color: var(--ink-2); transition: color 200ms ease; white-space: nowrap; }
.toggle button.is-active { color: #1b1200; font-weight: 500; }
.toggle-thumb { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--amber); box-shadow: 0 6px 18px rgba(244, 166, 42, .35); transition: transform 260ms cubic-bezier(.4, 0, .2, 1); }
.toggle[data-mode="leo"] .toggle-thumb { transform: translateX(100%); }
.cmp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cmp-card { padding: 22px 24px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); display: grid; gap: 8px; min-height: 120px; transition: border-color 300ms ease, background-color 300ms ease; }
.cmp-card span { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.cmp-card b { font-weight: 500; font-size: 17px; color: var(--ink-2); transition: opacity 200ms ease, transform 200ms ease; }
.cmp[data-mode="leo"] .cmp-card { border-color: var(--amber-line); background: var(--amber-soft); }
.cmp[data-mode="leo"] .cmp-card b { color: var(--ink); }
.cmp.is-switching .cmp-card b { opacity: 0; transform: translateY(6px); }

/* calc */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.calc label { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin-top: 26px; font-size: 15px; color: var(--ink-2); }
.calc output { font-family: var(--serif); font-size: 20px; color: var(--amber); }
.calc input[type=range] { grid-column: 1 / -1; width: 100%; -webkit-appearance: none; appearance: none; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--amber) var(--p, 50%), var(--card-2) var(--p, 50%)); outline: none; }
.calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--amber); border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--amber-line), 0 4px 14px rgba(244, 166, 42, .4); cursor: pointer; }
.calc input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--amber); border: 3px solid var(--bg); cursor: pointer; }
.calc-result { display: grid; gap: 12px; }
.cr { padding: 22px 24px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); display: grid; gap: 6px; }
.cr b { font-family: var(--serif); font-size: clamp(30px, 3vw, 42px); color: var(--ink); line-height: 1; transition: color 200ms ease; }
.cr span { font-size: 13.5px; color: var(--ink-3); }
.cr-main { border-color: var(--amber-line); background: var(--amber-soft); } .cr-main b { font-size: clamp(40px, 4.4vw, 64px); color: var(--amber); }
.cr-note { font-size: 12.5px; color: var(--ink-3); }

/* process */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pr { padding: 26px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); display: grid; gap: 8px; }
.pr b { font-family: var(--serif); font-size: 28px; color: var(--amber); line-height: 1; }
.pr p { color: var(--ink-2); font-size: 15px; }

/* founder letter */
.letter { max-width: 860px; }
.letter-head { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; }
.portrait { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: center center; box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--amber-line), 0 14px 34px rgba(0, 0, 0, 0.45); }
.letter-head h2 { font-size: clamp(26px, 3vw, 36px); }
.letter-role { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; max-width: 60ch; }
.letter-quote { margin: 30px 0 0; padding: 30px 34px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); position: relative; }
.letter-quote::before { content: '\201C'; position: absolute; left: 22px; top: -22px; font-family: var(--serif); font-size: 84px; line-height: 1; color: var(--amber); opacity: .8; }
.letter-quote p { font-family: var(--serif); font-size: clamp(19px, 1.9vw, 26px); line-height: 1.45; color: var(--ink); }
.letter-quote footer { margin-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sig { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--amber); }

/* timeline scrubber */
.tl-wrap { border-radius: var(--r); border: 1px solid var(--line); background: var(--card); padding: 28px; }
.tl-scrub { position: relative; }
.tl-scrub::before { content: ''; position: absolute; left: 0; top: -10px; height: 2px; width: var(--ap, 0%); background: var(--amber); opacity: .7; border-radius: 2px; }
.tl-scrub input[type=range] { width: 100%; -webkit-appearance: none; appearance: none; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--amber) var(--p, 0%), var(--card-2) var(--p, 0%)); outline: none; }
.tl-scrub input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--amber); border: 4px solid var(--bg); box-shadow: 0 0 0 1px var(--amber-line), 0 6px 18px rgba(244, 166, 42, .45); cursor: grab; }
.tl-scrub input[type=range]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--amber); border: 4px solid var(--bg); cursor: grab; }
.tl-marks { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 10px; font-size: 12.5px; color: var(--ink-3); }
.tl-marks span { text-align: center; cursor: pointer; padding: 6px 2px; border-radius: 999px; white-space: nowrap; transition: color 200ms ease, background-color 200ms ease; }
@media (hover: hover) { .tl-marks span:hover { color: var(--ink); background: var(--card-2); } } .tl-marks span:first-child { text-align: left; } .tl-marks span:last-child { text-align: right; }
.tl-marks span.is-active { color: var(--amber); }
.tl-stage { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; margin-top: 28px; }
.tl-visual { position: relative; display: grid; min-height: 200px; padding: 18px; border-radius: 16px; background: var(--bg-3); border: 1px solid var(--line); }
.tv { grid-area: 1 / 1; position: absolute; inset: 18px; min-width: 0; display: flex; flex-direction: column; gap: 10px; justify-content: center; opacity: 0; transform: translateY(10px); transition: opacity 400ms ease, transform 400ms ease; }
.tv.is-active { position: relative; inset: auto; opacity: 1; transform: none; }
.tv-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--card-2); font-size: 14px; }
.tv-row i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); } .tv-row.dim { color: var(--ink-3); } .tv-row.dim i { background: var(--ink-3); }
.tv-chat { padding: 12px 14px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--line); display: grid; gap: 4px; font-size: 14px; }
.tv-chat b { color: var(--amber); font-weight: 500; } .tv-chat span { color: var(--ink-2); }
.tv-meter { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; font-size: 13px; color: var(--ink-3); align-items: center; }
.tv-meter i { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: var(--card-2); position: relative; overflow: hidden; }
.tv-meter i::after { content: ''; position: absolute; inset: 0; width: var(--w); background: linear-gradient(90deg, var(--amber-2), var(--amber)); transition: width 600ms ease; }
.tv-meter b { color: var(--ink); font-family: var(--serif); font-size: 18px; }
.tl-text p { margin-top: 10px; color: var(--ink-2); }

/* faq */
.faq-wrap { max-width: 820px; }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--card); overflow: hidden; transition: border-color 200ms ease; }
.faq details[open] { border-color: var(--amber-line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 22px; font-size: 17px; font-weight: 500; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 18px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; background: var(--amber-soft); border: 1px solid var(--amber-line); background-image: linear-gradient(45deg, transparent 45%, var(--amber) 45%, var(--amber) 55%, transparent 55%); background-size: 0; transition: transform 250ms ease; }
.faq summary::before { content: ''; position: absolute; right: 29px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--amber); border-bottom: 2px solid var(--amber); transform: translateY(-70%) rotate(45deg); transition: transform 250ms ease; z-index: 1; }
.faq details[open] summary::before { transform: translateY(-30%) rotate(225deg); }
.faq details[open] summary::after { background: var(--amber-soft); }
.faq p { padding: 0 22px 20px; color: var(--ink-2); font-size: 16px; }

/* manifesto */
.manifesto { padding: 120px 0; text-align: center; background: radial-gradient(55% 70% at 50% 100%, rgba(244, 166, 42, 0.18), transparent 70%), var(--bg-2); border-top: 1px solid var(--line); }
.manifesto h2 { font-size: clamp(32px, 4.6vw, 60px); max-width: 18ch; margin-inline: auto; }
.manifesto p { max-width: 48ch; margin: 22px auto 32px; color: var(--ink-2); font-size: 18px; }

/* modal + lead form */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(6, 7, 10, 0.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: fadein 220ms ease both; }
.modal-card { position: relative; width: min(920px, 100%); max-height: calc(100vh - 40px); overflow: auto; border-radius: 26px; border: 1px solid var(--line-2); background: linear-gradient(180deg, #151822, #0f1118); box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6); padding: 32px; animation: rise 280ms cubic-bezier(.2, .8, .2, 1) both; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--ink-2); font-size: 22px; line-height: 1; display: grid; place-items: center; }
.modal-close:hover { border-color: var(--amber-line); color: var(--amber); }
.modal-grid { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 32px; }
.lead { display: grid; gap: 12px; position: relative; }
.lead h3 { font-size: clamp(20px, 2vw, 26px); margin-bottom: 6px; }
.lead label { display: grid; gap: 6px; font-size: 13px; color: var(--ink-3); }
.lead input, .lead textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); color: var(--ink); font: inherit; font-size: 15px; outline: none; transition: border-color 160ms ease, box-shadow 160ms ease; }
.lead input:focus, .lead textarea:focus { border-color: var(--amber-line); box-shadow: 0 0 0 3px rgba(244, 166, 42, 0.14); }
.lead input.is-bad { border-color: var(--bad); }
.lead textarea { resize: vertical; min-height: 80px; }
.lead-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lead .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead-note { font-size: 12px; color: var(--ink-3); }
.lead-done { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 6px; background: linear-gradient(180deg, #151822, #0f1118); border-radius: 16px; animation: fadein 300ms ease both; }
.lead-done[hidden] { display: none; }
.lead-done b { font-family: var(--serif); font-size: 26px; color: var(--amber); } .lead-done span { color: var(--ink-2); }
.contacts { display: grid; gap: 10px; align-content: start; padding-top: 2px; }
.contacts h3 { font-size: clamp(20px, 2vw, 26px); margin-bottom: 6px; }
.contact-row { display: grid; grid-template-columns: 40px 1fr auto; grid-template-rows: auto auto; gap: 0 12px; align-items: center; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--card); text-align: left; transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease; }
.contact-row:hover { border-color: var(--amber-line); background: var(--amber-soft); transform: translateY(-1px); }
.contact-row .cicon { grid-row: 1 / span 2; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 18%, transparent); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); }
.contact-row .cicon svg { width: 20px; height: 20px; fill: var(--c); }
.contact-row span { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.contact-row b { font-weight: 500; font-size: 16px; grid-column: 2; }
.contact-row em { grid-column: 3; grid-row: 1 / span 2; font-style: normal; font-size: 12px; color: var(--amber); padding: 6px 10px; border-radius: 999px; border: 1px solid var(--amber-line); }
.contacts-note { font-size: 13px; color: var(--ink-3); margin-top: 6px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* footer */
.footer { padding: 56px 0 26px; border-top: 1px solid var(--line); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.8fr 1.3fr; gap: 32px; }
.footer-grid > div { display: grid; gap: 8px; align-content: start; }
.footer-grid b { font-size: 15px; } .footer-grid span, .footer-grid p { color: var(--ink-3); }
.footer-grid a:hover { color: var(--amber); }
.footer-bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--ink-3); font-size: 12.5px; }

/* responsive */
@media (max-width: 1024px) {
  .hero-grid, .story, .duo, .calc, .tl-stage { grid-template-columns: 1fr; }
  .calc-result { order: 2; }
  .duo .device, .duo-rev .device { justify-self: stretch; max-width: none; } .duo-rev .duo-text { order: 1; } .duo-rev .device { order: 2; }
  .proof { grid-template-columns: 1fr 1fr; } .proof-big { grid-column: 1 / -1; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .cmp, .process { grid-template-columns: 1fr 1fr; }
  /* mobile story: one screen = visual + active beat text + Next */
  .story { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
  .story-beats, .story-sticky, .story-nav { grid-area: auto; }
  .story-visual { width: 100%; }
  .story-sticky { position: relative; top: 0; order: 1; }
  .story-nav { order: 2; margin-top: 0; }
  .story-btns .btn { padding: 11px 16px; font-size: 14px; }
  .story-visual { min-height: 0; padding: 14px; } .sv { gap: 8px; justify-content: flex-start; inset: 14px; }
  .sv-chat .mini { font-size: 11px; } .sv-chat .mini th, .sv-chat .mini td { padding: 4px 5px; }
  .device-chat { min-height: 220px; }
  .story-beats { display: grid; order: 2; padding: 0; gap: 0; }
  .beat { display: none; opacity: 1; }
  .beat.is-active { display: block; animation: fade 300ms ease both; }
  .beat h3 { font-size: 19px; } .beat p { font-size: 15px; margin-top: 6px; }

  .story-nav .btn { flex: 0 0 auto; }
  @keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav-links { position: fixed; inset: 70px 0 auto 0; display: none; flex-direction: column; gap: 0; padding: 8px 20px 16px; background: rgba(12, 13, 17, 0.97); border-bottom: 1px solid var(--line); }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav.is-open .nav-links { display: flex; }
  .nav-cta { display: none; } .burger { display: flex; }
  .hero { padding-top: 112px; }
  .steps-rail { grid-template-columns: repeat(5, 1fr); } .step { padding: 12px 8px; } .step span { display: none; }
  .steps-stage { grid-template-columns: 1fr; padding: 16px; gap: 14px; min-height: 0; }
  .stage-visual { min-height: 0; padding: 14px; gap: 8px; }
  .stage-text h3 { font-size: 18px; } .stage-text p { font-size: 15px; margin-top: 6px; }
  .stage-nav { margin-top: 12px; }
  .stage-nav .btn { flex: 1; }
  .toggle { display: grid; width: 100%; }
  .toggle button { font-size: 13.5px; padding: 11px 10px; }
  .cmp-card { min-height: 0; padding: 16px 18px; } .cmp-card b { font-size: 16px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .eyebrow { font-size: 11.5px; padding: 8px 14px; white-space: nowrap; margin-bottom: 20px; }
  h1 { font-size: clamp(36px, 11vw, 46px); } h2 { font-size: clamp(26px, 7.4vw, 32px); }
  .section { padding: 64px 0; } .sec-head { margin-bottom: 26px; } .sub { font-size: 16px; margin-top: 10px; }
  .letter-head { grid-template-columns: 1fr; justify-items: start; } .tl-wrap { padding: 16px; } .tl-marks { font-size: 11.5px; } .tl-marks span { font-size: 0; } .tl-marks span::after { content: attr(data-short); font-size: 11.5px; } .tl-visual { min-height: 0; padding: 14px; } .tl-text h3 { font-size: 18px; } .tl-text p { font-size: 15px; }
  .calc { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .calc .sec-head, .calc .kicker, .calc h2, .calc .sub { text-align: left; margin-top: 0; }
  .calc h2 { margin-top: 8px; } .calc .sub { margin-top: 10px; }
  .calc-text { display: contents; }
  .calc .kicker, .calc h2, .calc .sub { order: 0; }
  .calc-result { order: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 18px 0 6px; }
  .calc-result .cr-main { grid-column: 1 / -1; }
  .calc-result .cr { padding: 14px 16px; } .calc-result .cr b { font-size: 26px; } .cr-main b { font-size: 40px !important; } .cr-note { grid-column: 1 / -1; }
  .calc label { order: 2; margin-top: 18px; }
  .section { padding: 72px 0; }
  .proof, .bento, .cmp, .process, .footer-grid { grid-template-columns: 1fr; }
  .tile-wide { grid-column: auto; } .tile { min-height: 0; } .viz-hub { height: 96px; }
  .demo-tabs { width: 100%; display: grid; grid-template-columns: 1fr; gap: 6px; border-radius: 20px; } .demo-tab { text-align: center; white-space: nowrap; font-weight: 500; padding: 12px 14px; font-size: 14px; }
  .mini th, .mini td { white-space: normal; }
  .sv-result { flex-direction: column; gap: 20px; }
  .cursor-glow { display: none; }
  .modal-grid, .lead-row { grid-template-columns: 1fr; } .modal-card { padding: 20px; border-radius: 20px; }
  .contacts { order: -1; padding-bottom: 16px; margin-bottom: 4px; border-bottom: 1px solid var(--line); } .contacts h3 { font-size: 20px; } .contacts .kicker { margin-bottom: 8px; } .contacts-note { display: none; } .contact-row { padding: 10px 12px; } .contact-row em { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
