/* =====================================================================
   C.O.S.M.O website. One stylesheet for every page.
   Colors live in :root. Dark "space" sections use .dark, light ones .light.
   Device frames (.device-laptop, .device-monitor, .device-phone) are near the
   middle: put any screenshot <img> inside .screen and it fits.
   ===================================================================== */

:root {
  --base: #04071a;
  --surface-1: #0a1030;
  --surface-2: #0e1640;
  --border: rgba(140, 170, 255, 0.12);
  --border-2: rgba(140, 170, 255, 0.22);
  --ink: #ffffff;
  --body: #c9d4f2;
  --muted: #94a3c8;
  --paper: #060a22;
  --paper-2: #04071a;
  --navy: #ffffff;
  --navy-body: #c9d4f2;
  --navy-muted: #94a3c8;
  --line-light: rgba(140, 170, 255, 0.16);
  --cyan: #4fd1ff;
  --cyan-dark: #4fd1ff;
  --orange: #f7931e;
  --orange-hover: #ffa53f;
  --red: #ff5a5f;
  --green: #36d399;
  --violet: #a78bfa;
  --wrap: 1200px;
  --gutter: 24px;
  --pad: clamp(56px, 9vw, 120px);
  --radius: 2px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--base); color: var(--body); font: 400 1.0625rem/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--cyan); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.4rem + 4.2vw, 4.5rem); letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem); letter-spacing: -0.03em; }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; line-height: 1.3; }
p { margin: 0 0 16px; }
strong { color: var(--ink); font-weight: 600; }
.nowrap, a[href^="tel:"] { white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--orange); color: #111; padding: 10px 16px; border-radius: 2px; font-weight: 600; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--pad) 0; position: relative; }

.light { background: var(--paper); color: var(--navy-body); }
.light.white { background: var(--paper-2); }
.light h1, .light h2, .light h3, .light h4, .light strong { color: var(--navy); }
.light a { color: var(--cyan-dark); }
.light .eyebrow { color: var(--cyan-dark); }
.light .muted { color: var(--navy-muted); }
.dark { background: var(--base); color: var(--body); }
.dark.deep { background: radial-gradient(1000px 500px at 50% 0%, rgba(30, 60, 180, .28), transparent 70%), var(--base); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 .78rem/1 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); margin: 0 0 16px; }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .7; }
.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.6; max-width: 38em; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head h2 { margin-bottom: 16px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 2px; font: 600 1rem/1.2 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer; border: 1px solid transparent; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, border-color .2s, color .2s; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--orange); color: #1a0d00; box-shadow: 0 6px 24px rgba(247, 147, 30, .28); }
.btn-primary:hover { background: var(--orange-hover); color: #1a0d00; transform: translateY(-1px); box-shadow: 0 10px 30px rgba(247, 147, 30, .38); }
.btn-outline { color: var(--ink); border-color: var(--border-2); background: rgba(255, 255, 255, .03); }
.btn-outline:hover { border-color: var(--cyan); color: var(--ink); transform: translateY(-1px); }
.light .btn-primary, .light .btn-primary:hover { color: #1a0d00; }
.light .btn-outline { color: var(--navy); border-color: var(--border-2); background: var(--surface-1); }
.light .btn-outline:hover { border-color: var(--cyan-dark); color: var(--navy); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .95rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.center .actions { justify-content: center; }

/* Header (white) */
.site-head { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid rgba(10, 18, 48, .08); transition: box-shadow .25s; }
.site-head.scrolled { box-shadow: 0 6px 30px rgba(4, 7, 26, .14); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; transition: height .25s var(--ease); }
.site-head.scrolled .wrap { height: 62px; }
.brand { display: inline-flex; flex: none; }
.brand img { height: 42px; width: auto; transition: height .25s var(--ease); }
.site-head.scrolled .brand img { height: 36px; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 8px 12px; border-radius: 2px; color: #0a1230; font-weight: 500; font-size: .98rem; text-decoration: none; transition: background-color .15s, color .15s; }
.nav-links a:hover { background: #eef2fa; color: #0a1230; }
.nav-links a[aria-current="page"] { color: var(--cyan-dark); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid #c9d2e6; border-radius: 2px; color: #0a1230; font-weight: 600; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 18px; height: 18px; }
.menu ul { position: absolute; right: 0; top: calc(100% + 10px); width: min(280px, calc(100vw - 32px)); margin: 0; padding: 8px; list-style: none; background: #fff; border: 1px solid var(--line-light); border-radius: 2px; box-shadow: 0 20px 50px rgba(4, 7, 26, .2); }
.menu li a { display: block; padding: 12px 14px; border-radius: 2px; color: #0a1230; text-decoration: none; font-weight: 500; }
.menu li a:hover { background: #eef2fa; }
.menu li a.btn { margin-top: 6px; color: #1a0d00; display: flex; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(64px, 8vw, 112px) 0 0; background: radial-gradient(1200px 640px at 50% 110%, rgba(40, 110, 255, .35), transparent 65%), radial-gradient(900px 500px at 85% -10%, rgba(7, 16, 74, .9), transparent 70%), var(--base); }
.hero canvas.stars { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero .wrap { position: relative; }
.hero-copy { text-align: center; max-width: 920px; margin: 0 auto; }
.hero h1 { margin: 0 0 22px; }
.hero h1 .accent { background: linear-gradient(90deg, #4fd1ff, #a5ecff 50%, #4fd1ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin: 0 auto 32px; max-width: 34em; }
.hero .actions { justify-content: center; }
.hero-stage { position: relative; max-width: 1180px; margin: clamp(48px, 6vw, 72px) auto 0; padding-bottom: clamp(40px, 5vw, 64px); }
.float-card { position: absolute; z-index: 3; border-radius: 2px; overflow: hidden; background: #fff; box-shadow: 0 30px 70px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .1); }
.float-card img { width: 100%; }
.float-card.workorder { width: clamp(220px, 32%, 340px); left: -4%; bottom: 16%; }
.float-tag { position: absolute; z-index: 3; right: -7%; top: 2%; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 2px; background: rgba(10, 16, 48, .94); border: 1px solid var(--border-2); box-shadow: 0 20px 50px rgba(0, 0, 0, .5); color: var(--ink); font-size: .9rem; line-height: 1.35; max-width: 280px; }
.float-tag img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid #fff; flex: none; }
.float-tag b { display: block; }
.float-tag small { display: block; color: var(--muted); font-size: .8rem; }
.trust { position: relative; border-top: 1px solid var(--border); background: rgba(4, 7, 26, .7); }
.trust ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; list-style: none; margin: 0; padding: 22px 0; }
.trust li { display: inline-flex; align-items: center; gap: 10px; color: var(--body); font-weight: 500; font-size: .98rem; }
.trust svg { width: 20px; height: 20px; color: var(--cyan); flex: none; }

/* Modules */
.modules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.module { display: flex; gap: 14px; padding: 22px 20px; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); transition: background-color .2s; }
.module:hover { background: var(--surface-1); }
.module svg { width: 22px; height: 22px; color: var(--cyan-dark); flex: none; margin-top: 2px; }
.module h3 { font-size: 1rem; margin: 0 0 4px; }
.module p { margin: 0; font-size: .93rem; line-height: 1.5; color: var(--navy-muted); }

/* Feature rows */
.feature { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: center; }
.feature-text { grid-column: 1 / span 5; }
.feature-media { grid-column: 6 / span 7; position: relative; padding-left: 24px; }
.feature.flip .feature-text { grid-column: 8 / span 5; order: 2; }
.feature.flip .feature-media { grid-column: 1 / span 7; order: 1; padding: 0 24px 0 0; }
.feature-text h2 { font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.5rem); margin-bottom: 16px; }
.feature-text p { margin-bottom: 20px; }
.ticks { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.ticks svg { width: 20px; height: 20px; margin-top: 3px; color: var(--cyan); }
.light .ticks svg { color: var(--cyan-dark); }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 6px; margin: 0; padding: 0; list-style: none; font-size: .84rem; font-weight: 600; }
.flow-label { width: 100%; font: 600 .72rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.light .flow-label { color: var(--navy-muted); }
.flow li.step { padding: 6px 11px; border-radius: 999px; border: 1px solid var(--border-2); background: rgba(79, 209, 255, .06); color: var(--ink); white-space: nowrap; }
.light .flow li.step { border-color: var(--border-2); background: var(--surface-1); color: var(--navy); }
.flow li.arrow { color: var(--muted); display: flex; }
.flow li.arrow svg { width: 16px; height: 16px; }
.flow li.step.person { border-color: rgba(247, 147, 30, .7); }
.light .flow li.step.person { border-color: #eda85a; }
.chips { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 28px; padding: 0; list-style: none; font-size: .92rem; }
.chips li { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.chips li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }

/* Device frames */
.device-laptop, .device-monitor, .device-phone { position: relative; margin: 0; }
.screen { position: relative; overflow: hidden; background: #000; }
.screen > img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.device-laptop { padding: 0 5.5%; }
.device-laptop .lid { position: relative; background: linear-gradient(180deg, #1c1f27, #0b0d12); border-radius: 2px; padding: 2.6% 2.2% 3.4%; box-shadow: 0 0 0 1px #2c303a, inset 0 0 0 1px rgba(255, 255, 255, .06); }
.device-laptop .lid::before { content: ""; position: absolute; top: 1.15%; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #2a2f3a; box-shadow: inset 0 0 0 1px #3a404d; }
.device-laptop .screen { border-radius: 2px; aspect-ratio: 16 / 10; }
.device-laptop .base { position: relative; height: clamp(10px, 1.6vw, 18px); margin: 0 -5.9%; background: linear-gradient(180deg, #e6e9ef 0%, #c4c9d3 45%, #8d939f 100%); border-radius: 2px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8); }
.device-laptop .base::before { content: ""; position: absolute; left: 50%; top: 0; width: 15%; height: 42%; transform: translateX(-50%); background: linear-gradient(180deg, #a9aeb8, #c9cdd6); border-radius: 2px; }
.device-laptop::after { content: ""; position: absolute; left: 2%; right: 2%; bottom: -24px; height: 40px; background: radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, .6), transparent 70%); filter: blur(6px); z-index: -1; }
.light .device-laptop::after { background: radial-gradient(50% 50% at 50% 50%, rgba(10, 18, 48, .32), transparent 70%); }
.dark .device-laptop .lid, .hero .device-laptop .lid { box-shadow: 0 0 0 1px #2c303a, 0 0 90px rgba(79, 209, 255, .18), inset 0 0 0 1px rgba(255, 255, 255, .06); }
.device-monitor .panel { background: linear-gradient(180deg, #1a1d25, #0c0e13); border-radius: 2px; padding: 1.6%; box-shadow: 0 0 0 1px #2c303a, 0 40px 80px rgba(0, 0, 0, .45); }
.device-monitor .screen { border-radius: 2px; aspect-ratio: 16 / 10; }
.device-monitor .neck { width: 14%; height: clamp(26px, 4.2vw, 56px); margin: 0 auto; background: linear-gradient(90deg, #8d939f, #d3d7de 50%, #8d939f); }
.device-monitor .foot { width: 30%; height: clamp(6px, .8vw, 10px); margin: 0 auto; border-radius: 2px; background: linear-gradient(180deg, #e2e5eb, #9aa0ab); box-shadow: 0 12px 24px rgba(0, 0, 0, .35); }
.dark .device-monitor .panel { box-shadow: 0 0 0 1px #2c303a, 0 0 90px rgba(79, 209, 255, .14), 0 40px 80px rgba(0, 0, 0, .5); }
.device-phone { width: min(330px, 82%); margin: 0 auto; background: linear-gradient(160deg, #2b2f38, #0c0e13); border-radius: 2px; padding: 12px; box-shadow: 0 0 0 1px #3a3f4b, 0 40px 80px rgba(10, 18, 48, .35), inset 0 0 0 2px rgba(255, 255, 255, .05); }
.device-phone .screen { border-radius: 2px; aspect-ratio: 430 / 690; background: linear-gradient(180deg, #2a1f4a, #1a1c48); }
.device-phone .screen > img { height: calc(100% - 40px); margin-top: 40px; }
.device-phone .island { position: absolute; z-index: 2; top: 20px; left: 50%; width: 26%; height: 20px; transform: translateX(-50%); border-radius: 2px; background: #000; }
.window { margin: 0; border-radius: 2px; overflow: hidden; background: var(--surface-1); border: 1px solid var(--border-2); box-shadow: 0 30px 70px rgba(0, 0, 0, .45); }
.window .bar { display: flex; align-items: center; gap: 7px; height: 32px; padding: 0 14px; background: #0b112c; border-bottom: 1px solid var(--border); }
.window .bar i { width: 10px; height: 10px; border-radius: 50%; background: #2c3456; }
.window .bar span { margin-left: 10px; color: var(--muted); font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.light .window { box-shadow: 0 24px 60px rgba(10, 18, 48, .2); }
.media-stack { position: relative; padding-bottom: 12%; }
.media-stack .window.back { position: absolute; width: 58%; right: -3%; bottom: 0; z-index: 2; }
.caption { margin-top: 20px; font-size: .9rem; color: var(--muted); }
.light .caption { color: var(--navy-muted); }
.phone-pair { display: grid; grid-template-columns: 1fr; justify-items: center; }

/* Live triage illustration */
.live { position: absolute; inset: 0; background: linear-gradient(180deg, #071038, #050a24); color: #dfe6fb; font-size: clamp(7px, 1.02vw, 12.5px); line-height: 1.35; padding: 3.4% 3.8%; display: flex; flex-direction: column; gap: 2.6%; }
.live-top { display: flex; align-items: center; justify-content: space-between; gap: 2%; }
.live-top b { font-size: 1.7em; color: #fff; letter-spacing: -0.01em; }
.live-pill { display: inline-flex; align-items: center; gap: .6em; padding: .35em .8em; border-radius: 2px; border: 1px solid rgba(79, 209, 255, .4); color: #9fe6ff; font-size: .9em; white-space: nowrap; }
.live-pill i { width: .6em; height: .6em; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.live-banner { display: flex; align-items: center; gap: 2%; padding: 1.6% 2%; border: 1px solid rgba(247, 147, 30, .4); background: rgba(247, 147, 30, .08); border-radius: 2px; }
.live-banner .who { width: 2.4em; height: 2.4em; border-radius: 50%; background: url("../assets/img/cosmo-bot.jpg") center/cover; border: 1px solid #fff; flex: none; }
.live-banner span { flex: 1; }
.live-banner em { font-style: normal; color: #ffb35c; font-weight: 600; }
.live-banner .go { padding: .5em 1em; background: var(--orange); color: #1a0d00; border-radius: 2px; font-weight: 700; white-space: nowrap; }
.live-rows { display: flex; flex-direction: column; gap: 3%; flex: 1; }
.live-row { display: grid; grid-template-columns: 3em minmax(0, 1fr) 6.8em 8.4em; align-items: center; gap: 2.4%; padding: 1.6% 2.2%; border-radius: 2px; background: rgba(140, 170, 255, .06); border: 1px solid rgba(140, 170, 255, .12); }
.live-row .s { display: grid; place-items: center; height: 2.3em; border: 1px solid #ffb020; color: #ffcf6b; font-weight: 700; border-radius: 2px; }
.live-row .s.hi { border-color: var(--red); color: #ff9da0; }
.live-row .t { font-family: var(--mono); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-row .t small { display: block; font-family: var(--font); color: #94a3c8; }
.live-row .d { padding: .35em .6em; border-radius: 2px; font-weight: 600; white-space: nowrap; text-align: center; }
.live-row .d.real { background: rgba(255, 90, 95, .16); color: #ff9da0; }
.live-row .d.close { background: rgba(54, 211, 153, .14); color: #7ee8bf; }
.live-row .d.look { background: rgba(79, 209, 255, .14); color: #9fe6ff; }
.live-row .p { color: #c9d4f2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-foot { display: flex; justify-content: space-between; color: #94a3c8; font-size: .9em; }
@media (prefers-reduced-motion: no-preference) {
  .live-row { animation: rowin 12s var(--ease) infinite both; }
  .live-row:nth-child(1) { animation-delay: .2s; }
  .live-row:nth-child(2) { animation-delay: .9s; }
  .live-row:nth-child(3) { animation-delay: 1.6s; }
  .live-row:nth-child(4) { animation-delay: 2.3s; }
  .live-row:nth-child(5) { animation-delay: 3s; }
  .live-row .d, .live-row .p { animation: decide 12s var(--ease) infinite both; animation-delay: inherit; }
  .live-pill i { animation: blink 1.6s ease-in-out infinite; }
}
@keyframes rowin { 0% { opacity: 0; transform: translateY(-14px); } 6%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
@keyframes decide { 0%, 30% { opacity: 0; transform: translateX(8px); } 38%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes blink { 50% { opacity: .35; } }

/* Evidence card */
.evidence { position: absolute; z-index: 3; right: -3%; bottom: -16%; width: min(320px, 50%); padding: 18px 18px 12px; border-radius: 2px; background: #0a1030; border: 1px solid var(--border-2); box-shadow: 0 30px 70px rgba(4, 7, 26, .5); color: var(--body); font-size: .84rem; }
.evidence header { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.evidence .score { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.04em; color: #ffcf6b; line-height: 1; min-width: 2.2ch; font-variant-numeric: tabular-nums; }
.evidence header b { display: block; color: #fff; font-size: .95rem; }
.evidence header small { color: var(--muted); }
.evidence ul { list-style: none; margin: 0; padding: 0; }
.evidence li { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 7px 0; border-top: 1px solid var(--border); color: var(--body); }
.evidence li span:last-child { font-variant-numeric: tabular-nums; color: #7ee8bf; font-weight: 600; }
.evidence li.ai span:last-child { color: #c4b5fd; }
.evidence .illus { display: block; margin-top: 8px; font-size: .74rem; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .js .evidence li { opacity: 0; transform: translateX(10px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
  .js .evidence.in li { opacity: 1; transform: none; }
  .evidence.in li:nth-child(2) { transition-delay: .25s; }
  .evidence.in li:nth-child(3) { transition-delay: .5s; }
  .evidence.in li:nth-child(4) { transition-delay: .75s; }
  .evidence.in li:nth-child(5) { transition-delay: 1s; }
  .evidence.in li:nth-child(6) { transition-delay: 1.25s; }
}

/* Constellation */
.sky svg { width: 100%; height: auto; overflow: visible; }
.sky .link { stroke: rgba(79, 209, 255, .4); stroke-width: 1.2; }
.sky .star { fill: #fff; }
.sky .name { fill: #fff; font: 700 22px var(--font); }
.sky .role { fill: #94a3c8; font: 400 17px var(--font); }
.sky .chair .name { fill: var(--orange); }
@media (prefers-reduced-motion: no-preference) {
  .sky .halo { animation: twinkle 4.5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
  .sky g:nth-of-type(2) .halo { animation-delay: -1.1s; }
  .sky g:nth-of-type(3) .halo { animation-delay: -2.2s; }
  .sky g:nth-of-type(4) .halo { animation-delay: -3.1s; }
  .sky g:nth-of-type(5) .halo { animation-delay: -.6s; }
  .js .sky .link { stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 2.2s var(--ease); }
  .js .sky.in .link { stroke-dashoffset: 0; }
}
@keyframes twinkle { 0%, 100% { opacity: .5; transform: scale(.88); } 50% { opacity: 1; transform: scale(1.12); } }
.legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0 0 24px; font-size: .92rem; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 10px; height: 10px; border-radius: 50%; }

/* Workflow */
.timeline { position: relative; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); margin: 0 0 56px; padding: 0; list-style: none; }
.timeline::before, .timeline .progress { content: ""; position: absolute; left: calc(100% / 16); right: calc(100% / 16); top: 27px; height: 2px; background: var(--border-2); }
.timeline .progress { background: linear-gradient(90deg, var(--cyan), #9fe9ff); transform-origin: left; transform: scaleX(var(--p, 1)); box-shadow: 0 0 12px rgba(79, 209, 255, .6); }
.timeline li { position: relative; text-align: center; }
.timeline button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; padding: 0 6px 8px; border-radius: 2px; }
.timeline button:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.timeline .dot { position: relative; z-index: 1; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-1); border: 1px solid var(--border-2); color: var(--muted); transition: background-color .3s, border-color .3s, color .3s, box-shadow .3s, transform .3s var(--ease); }
.timeline .dot svg { width: 24px; height: 24px; }
.timeline .n { font: 600 .72rem/1 var(--font); letter-spacing: .14em; color: var(--muted); margin-top: 4px; }
.timeline .t { font-weight: 600; color: var(--ink); font-size: .98rem; line-height: 1.2; }
.timeline .d { font-size: .82rem; color: var(--muted); line-height: 1.35; }
.timeline li.lit .dot, html:not(.js) .timeline .dot { border-color: var(--cyan); color: var(--cyan); background: #0b1a45; box-shadow: 0 0 0 4px rgba(79, 209, 255, .08), 0 0 24px rgba(79, 209, 255, .35); }
.timeline li.lit.act .dot, html:not(.js) .timeline li.act .dot { border-color: var(--red); color: var(--red); background: #2a0c18; box-shadow: 0 0 24px rgba(255, 90, 95, .4); }
.timeline button:hover .dot { transform: translateY(-2px); }
.timeline button[aria-selected="true"] .dot { transform: scale(1.12); }
.timeline button[aria-selected="true"] .t { color: var(--cyan); }
.timeline li.act button[aria-selected="true"] .t { color: #ff8c8f; }
.stage { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: center; }
.stage .device-monitor { grid-column: 1 / span 8; }
.stage-text { grid-column: 9 / span 4; }
.stage .screen img { position: absolute; inset: 0; transition: opacity .5s var(--ease); }
.js .stage .screen img { opacity: 0; }
.js .stage .screen img.on { opacity: 1; }
.js .stage-text .panel-copy { display: none; }
.js .stage-text .panel-copy.on { display: block; }
html:not(.js) .stage-text .panel-copy + .panel-copy { display: none; }
.stage-text h3 { font-size: 1.6rem; margin-bottom: 12px; }
.stage-text .num { display: block; font: 700 .78rem/1 var(--font); letter-spacing: .16em; color: var(--cyan); margin-bottom: 12px; }
.stage-text .act-num { color: #ff8c8f; }

/* Diagram: auto triage pipeline */
.pipe { display: grid; grid-template-columns: 1fr 56px 1fr 56px 1fr 56px 1fr 56px 1fr; align-items: stretch; }
.node { position: relative; padding: 24px 16px; border-radius: 2px; background: linear-gradient(180deg, var(--surface-2), var(--surface-1)); border: 1px solid var(--border-2); text-align: center; transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.node:hover { transform: translateY(-3px); border-color: rgba(79, 209, 255, .45); box-shadow: 0 16px 40px rgba(0, 0, 0, .35), 0 0 30px rgba(79, 209, 255, .12); }
.node .ic { width: 48px; height: 48px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 2px; background: rgba(79, 209, 255, .1); color: var(--cyan); border: 1px solid rgba(79, 209, 255, .25); }
.node .ic svg { width: 24px; height: 24px; }
.node.person { border-color: rgba(247, 147, 30, .5); }
.node.person .ic { background: rgba(247, 147, 30, .12); color: var(--orange); border-color: rgba(247, 147, 30, .4); }
.node .k { display: block; font: 700 .7rem/1 var(--font); letter-spacing: .16em; color: var(--muted); margin-bottom: 8px; }
.node h3 { font-size: 1rem; margin-bottom: 6px; }
.node p { margin: 0; font-size: .86rem; line-height: 1.45; color: var(--muted); }
.wire { position: relative; align-self: center; height: 2px; background: repeating-linear-gradient(90deg, rgba(79, 209, 255, .5) 0 6px, transparent 6px 12px); overflow: hidden; }
.wire .run { position: absolute; inset: 0; }
.wire .run::after { content: ""; position: absolute; right: 0; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan), 0 0 20px var(--cyan); }
.wire.o .run::after { background: var(--orange); box-shadow: 0 0 10px var(--orange); }
@media (prefers-reduced-motion: no-preference) {
  .wire .run { animation: run 2.4s linear infinite; }
  .wire:nth-child(4) .run { animation-delay: .6s; }
  .wire:nth-child(6) .run { animation-delay: 1.2s; }
  .wire:nth-child(8) .run { animation-delay: 1.8s; }
}
@media (prefers-reduced-motion: reduce) { .wire .run::after { display: none; } }
@keyframes run { from { transform: translateX(-100%); } to { transform: translateX(0); } }
@keyframes rundown { from { transform: translateY(-100%); } to { transform: translateY(0); } }

/* Diagram: where it runs */
.arch { width: 100%; height: auto; }
.arch text { font-family: var(--font); }
.arch .lbl { fill: #fff; font-size: 15px; font-weight: 600; }
.arch .sub { fill: #94a3c8; font-size: 12.5px; }
.arch .cap { fill: #4fd1ff; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; }
.arch .capo { fill: #f7931e; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; }
.arch .box { fill: #0a1030; stroke: rgba(140, 170, 255, .3); }
.arch .core { fill: url(#coreg); stroke: rgba(79, 209, 255, .65); }
.arch .zone { fill: rgba(79, 209, 255, .03); stroke: rgba(79, 209, 255, .4); stroke-dasharray: 6 6; }
.arch .ln { stroke: rgba(79, 209, 255, .55); stroke-width: 1.5; fill: none; }
.arch .ln.o { stroke: rgba(247, 147, 30, .7); }
.arch .ic { color: #4fd1ff; }
@media (prefers-reduced-motion: no-preference) { .arch .ln.anim { stroke-dasharray: 5 7; animation: dash 1.4s linear infinite; } }
@keyframes dash { to { stroke-dashoffset: -24; } }
.arch-mobile, .arch-mobile.cols { display: none; }
.light .dark h3, .light .dark strong { color: #fff; }
.light .dark .col { border-top-color: var(--border-2); }
.light .dark .lines li { border-top-color: var(--border); }
.light .dark .muted { color: var(--muted); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--border); }
.light .stats { border-top-color: var(--line-light); }
.stat b { display: block; font-size: clamp(2.4rem, 1.6rem + 2.4vw, 3.4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.light .stat b { color: var(--navy); }
.stat span { display: block; margin-top: 8px; color: var(--muted); font-size: .95rem; }
.light .stat span { color: var(--navy-muted); }

/* Columns, lists */
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.cols.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.col { padding-top: 24px; border-top: 1px solid var(--border-2); }
.light .col { border-top-color: var(--line-light); }
.col .ic { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 2px; margin-bottom: 16px; background: rgba(79, 209, 255, .1); color: var(--cyan); }
.light .col .ic { background: #e3f3fb; color: var(--cyan-dark); }
.col .ic svg { width: 22px; height: 22px; }
.col h3 { margin-bottom: 10px; }
.col p:last-child { margin-bottom: 0; }
.lines { list-style: none; margin: 0; padding: 0; }
.lines li { padding: 11px 0; border-top: 1px solid var(--border); }
.light .lines li { border-top-color: var(--line-light); }
.std { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; margin: 0 0 32px; }
.std div { padding: 18px 0; border-top: 1px solid var(--line-light); }
.std dt { font-weight: 600; color: var(--navy); }
.std dd { margin: 4px 0 0; color: var(--navy-muted); font-size: .95rem; }
.note { padding: 16px 20px; border-left: 3px solid var(--cyan); background: rgba(79, 209, 255, .06); border-radius: 2px; max-width: 48em; }
.light .note { border-left-color: var(--cyan-dark); background: var(--surface-2); color: var(--navy-body); }

/* How to buy, Cypher */
.buy { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: center; }
.buy-text { grid-column: 1 / span 6; }
.buy-text h2 { margin-bottom: 16px; }
.buy-card { grid-column: 8 / span 5; padding: 32px; border-radius: 2px; background: var(--surface-1); border: 1px solid var(--line-light); box-shadow: 0 20px 50px rgba(10, 18, 48, .08); }
.buy-card .through { font: 600 .74rem/1 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--navy-muted); }
.buy-card .name { display: block; margin: 12px 0 8px; font-size: 1.75rem; font-weight: 800; letter-spacing: -0.02em; color: var(--navy); }
.buy-card p { font-size: .96rem; }
.buy-card .lines li { display: flex; gap: 10px; }
.buy-card .lines svg { width: 18px; height: 18px; color: var(--cyan-dark); flex: none; margin-top: 4px; }
.cypher { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: start; }
.cypher-text { grid-column: 1 / span 6; }
.cypher-text .mark { height: 32px; width: auto; margin-bottom: 28px; }
.cypher-text h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); margin-bottom: 16px; }
.cypher-facts { grid-column: 8 / span 5; margin: 0; }
.cypher-facts div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-light); }
.cypher-facts div:last-child { border-bottom: 1px solid var(--line-light); }
.cypher-facts dt { font: 600 .72rem/1.9 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--navy-muted); }
.cypher-facts dd { margin: 0; color: var(--navy); font-size: .96rem; }
.cypher-facts dd a { color: var(--cyan-dark); }

/* CTA */
.cta { position: relative; overflow: hidden; text-align: center; background: radial-gradient(900px 420px at 50% 120%, rgba(40, 110, 255, .45), transparent 70%), var(--base); }
.cta .mark { width: 52px; margin: 0 auto 24px; }
.cta h2 { max-width: 16em; margin: 0 auto 16px; }
.cta p { max-width: 34em; margin: 0 auto 32px; }

/* Inner page head */
.page-head { position: relative; overflow: hidden; padding: clamp(64px, 8vw, 104px) 0 clamp(56px, 7vw, 88px); background: radial-gradient(1000px 500px at 80% -20%, rgba(30, 60, 180, .4), transparent 70%), var(--base); }
.page-head h1 { font-size: clamp(2.3rem, 1.4rem + 3.2vw, 3.75rem); max-width: 16em; margin-bottom: 20px; }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: start; }
.contact-form { grid-column: 1 / span 7; }
.contact-side { grid-column: 9 / span 4; }
.form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.pair { display: flex; flex-wrap: wrap; gap: 20px 24px; }
.field { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; justify-items: start; }
.field label { font-weight: 600; color: var(--navy); font-size: .96rem; }
.field label .opt { font-weight: 400; color: var(--navy-muted); }
.field input, .field textarea { width: 20rem; max-width: 100%; min-height: 48px; padding: 12px 14px; font: 400 1rem/1.4 var(--font); color: var(--navy); background: var(--surface-1); border: 1px solid #c2cce0; border-radius: 2px; transition: border-color .15s, box-shadow .15s; }
.field textarea { width: 40rem; min-height: 168px; resize: vertical; line-height: 1.55; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cyan-dark); box-shadow: 0 0 0 4px rgba(9, 109, 150, .2); }
.field input::placeholder, .field textarea::placeholder { color: #6b7691; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form small { color: var(--navy-muted); }
.form-status { max-width: 40rem; padding: 16px 18px; border-radius: 2px; border-left: 3px solid var(--cyan-dark); background: var(--surface-2); color: var(--navy); }
.form-status.err { border-left-color: #c8102e; background: rgba(255,90,95,.12); }
.form-status[hidden] { display: none; }
.side-list { margin: 0; }
.side-list div { padding: 14px 0; border-top: 1px solid var(--line-light); }
.side-list div:last-child { border-bottom: 1px solid var(--line-light); }
.side-list dt { font: 600 .72rem/1.4 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--navy-muted); margin-bottom: 4px; }
.side-list dd { margin: 0; color: var(--navy); }
.side-list dd a { color: var(--cyan-dark); }

/* Footer */
.site-foot { background: #02040f; border-top: 1px solid var(--border); padding: 64px 0 32px; color: var(--muted); font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: 32px; }
.foot-grid .logo { height: 26px; width: auto; margin-bottom: 18px; }
.foot-grid p { max-width: 28em; }
.foot-grid h2 { font: 600 .74rem/1 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin: 6px 0 16px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-foot a { color: var(--body); text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); font-size: .86rem; }

/* 404 / thanks */
.lost { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 96px 0; }
.lost .mark { width: 60px; margin: 0 auto 24px; }
.lost h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); margin-bottom: 16px; }
.lost p { max-width: 30em; margin: 0 auto 28px; }
.lost .actions { justify-content: center; }

/* Reveal motion: only when JS runs and motion is welcome; otherwise everything is simply visible */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
  .js [data-reveal="left"] { transform: translateX(-40px); }
  .js [data-reveal="right"] { transform: translateX(40px); }
  .js [data-reveal].in { opacity: 1; transform: none; }
  .js .hero .float-card, .js .hero .float-tag { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease) .8s, transform .8s var(--ease) .8s; }
  .js .hero .float-tag { transition-delay: 1.1s; }
  .js .hero .in .float-card, .js .hero .in .float-tag { opacity: 1; transform: none; }
  .hero .float-tag, .hero .float-card { animation: floaty 7s ease-in-out 2s infinite; }
  .hero .float-card { animation-delay: 3.5s; }
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Responsive */
@media (max-width: 1180px) {
  .nav { gap: 12px; }
  .float-tag { right: -1%; top: -2%; }
  .float-card.workorder { left: -1%; }
  .nav-links a { padding: 8px 9px; }
  .pipe { grid-template-columns: 1fr 32px 1fr 32px 1fr 32px 1fr 32px 1fr; }
  .node { padding: 20px 12px; }
}
@media (max-width: 1023px) {
  .nav-links, .nav > .btn { display: none; }
  .menu { display: block; }
  .feature, .stage, .buy, .cypher, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .feature-text, .feature-media, .feature.flip .feature-text, .feature.flip .feature-media, .stage .device-monitor, .stage-text, .buy-text, .buy-card, .cypher-text, .cypher-facts, .contact-form, .contact-side { grid-column: auto; order: 0; }
  .feature-media, .feature.flip .feature-media { margin-top: 16px; padding: 0; }
  .timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 28px; }
  .timeline::before, .timeline .progress { display: none; }
  .pipe { grid-template-columns: minmax(0, 1fr); max-width: 480px; margin: 0 auto; }
  .wire { width: 2px; height: 40px; justify-self: center; background: repeating-linear-gradient(180deg, rgba(79, 209, 255, .5) 0 6px, transparent 6px 12px); }
  .wire .run::after { right: -3px; top: auto; bottom: 0; }
  .cols, .std, .modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .evidence { right: 0; }
}
@media (max-width: 1023px) and (prefers-reduced-motion: no-preference) { .wire .run { animation-name: rundown; } }
@media (max-width: 760px) {
  .arch-wide { display: none; }
  .arch-mobile, .arch-mobile.cols { display: grid; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 1rem; }
  .site-head .wrap { height: 64px; }
  .brand img, .site-head.scrolled .brand img { height: 34px; }
  .hero .float-card.workorder { display: none; }
  .float-card.workorder { width: 52%; }
  .hero .eyebrow::before { display: none; }
  .modules { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .module { padding: 16px 12px; gap: 10px; }
  .module p { display: none; }
  .module h3 { font-size: .94rem; margin: 0; }
  .float-tag { position: relative; right: auto; top: auto; margin: 24px auto 0; max-width: 100%; }
  .evidence { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 24px; }
  .media-stack { padding-bottom: 0; }
  .media-stack .window.back { position: relative; width: 86%; right: auto; margin: -10% 0 0 auto; }
  .modules, .cols, .std, .cols.two { grid-template-columns: minmax(0, 1fr); }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust ul { flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px 0; }
  .actions .btn { flex: 1 1 100%; }
  .pair { display: grid; grid-template-columns: minmax(0, 1fr); }
  .field, .field input, .field textarea { width: 100%; }
  .foot-grid { grid-template-columns: 1fr; }
  .cypher-facts div { grid-template-columns: 6.5rem minmax(0, 1fr); }
  .device-laptop .lid { border-radius: 2px; }
  .live-banner span { display: none; }
  .live-row { grid-template-columns: 3em minmax(0, 1fr) 7.6em; }
  .live-row .p { display: none; }
}

/* =====================================================================
   Home page, version 2: the bot demo, before and after, the scroll story,
   proof cards, the council diagram, the bento grid and the numbers band.
   Product frames are always straight on: no rotate, skew or perspective.
   ===================================================================== */
:root { --orange-dark: #a34a00; --green-dark: #0b7a53; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.small { font-size: .92rem; }
.light .hl { color: var(--cyan-dark); }
.illus-note { margin: 18px auto 0; max-width: 46em; text-align: center; font-size: .88rem; color: var(--navy-muted); }
.dark-note, .dark .illus-note { color: var(--muted); }
.who { display: inline-flex; align-items: center; gap: 8px; padding: 4px 11px; border-radius: 999px; font: 700 .74rem/1.2 var(--font); letter-spacing: .06em; text-transform: uppercase; color: #9fe6ff; background: rgba(79, 209, 255, .1); border: 1px solid rgba(79, 209, 255, .4); white-space: nowrap; }
.who::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.who.you, .you > div > .who { color: #ffb35c; background: rgba(247, 147, 30, .12); border-color: rgba(247, 147, 30, .55); }

/* Hero, straight on */
.hero-mac { max-width: 1120px; margin: 0 auto; }
.hero .float-tag { right: -1%; top: 3%; }
.hero .float-card.workorder { left: -1%; bottom: 10%; }

/* Bot demo */
.botsec { background: linear-gradient(180deg, #eef3fb, var(--paper) 40%); overflow: hidden; }
.demo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: stretch; }
.chat { display: flex; flex-direction: column; height: 580px; background: var(--surface-1); border: 1px solid var(--line-light); border-radius: 2px; box-shadow: 0 30px 70px rgba(10, 18, 48, .12); overflow: hidden; }
.chat-head { flex: none; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line-light); }
.chat-head img { width: 42px; height: 42px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #c9d2e6; }
.chat-head b { display: block; color: var(--navy); line-height: 1.2; }
.chat-head small { color: var(--navy-muted); font-size: .82rem; }
.chat-head .state { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; background: #e9f7f1; color: var(--green-dark); font-size: .8rem; font-weight: 600; white-space: nowrap; }
.chat-head .state i { width: 7px; height: 7px; border-radius: 50%; background: #16a36f; }
.msgs { flex: 1; min-height: 0; overflow-y: auto; list-style: none; margin: 0; padding: 18px; display: flex; flex-direction: column; gap: 12px; scrollbar-width: thin; }
.msg { max-width: 90%; padding: 11px 14px; border-radius: 2px; font-size: .95rem; line-height: 1.45; }
.msg.bot { align-self: flex-start; background: var(--surface-2); color: var(--navy); border-top-left-radius: 4px; }
.msg.bot b { color: var(--navy); }
.msg.me { align-self: flex-end; background: var(--navy); color: #fff; border-top-right-radius: 4px; }
.who-you { display: block; font: 700 .68rem/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: #ffb35c; margin-bottom: 5px; }
.msg.me.you { background: rgba(247,147,30,.12); color: #ffc887; border: 1px solid #f0a54a; }
.msg.me.you .who-you { color: var(--orange-dark); }
.typing { align-self: flex-start; display: flex; gap: 5px; padding: 14px 16px; border-radius: 2px; background: var(--surface-2); }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #8a96b3; }
.todo { list-style: none; margin: 12px 0 2px; padding: 0; display: grid; gap: 10px; }
.todo li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; font-weight: 600; font-size: .92rem; }
.todo em { display: block; font-style: normal; font-weight: 400; color: var(--navy-muted); font-size: .84rem; }
.tk { position: relative; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; border: 2px solid var(--border-2); border-top-color: var(--cyan-dark); }
.todo li.done .tk { border-color: var(--green-dark); background: var(--green-dark); }
.todo li.done .tk::after { content: ""; position: absolute; left: 4px; top: 1px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
html:not(.js) .tk, .todo li.done .tk { animation: none; }
html:not(.js) .tk { border-color: var(--green-dark); background: var(--green-dark); }
.approve { display: flex; width: max-content; margin-top: 10px; padding: 9px 20px; border-radius: 2px; background: var(--orange); color: #1a0d00; font-weight: 700; transition: transform .2s var(--ease), box-shadow .2s; }
.approve.pressed { transform: scale(.94); box-shadow: 0 0 0 7px rgba(247, 147, 30, .28); }
.chat-foot { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 14px 14px; padding: 10px 10px 10px 16px; border: 1px solid var(--line-light); border-radius: 2px; color: var(--navy-muted); font-size: .9rem; }
.chat-foot i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: #1a0d00; }
.chat-foot svg { width: 16px; height: 16px; }

.appwin { display: flex; flex-direction: column; height: 580px; border-radius: 2px; overflow: hidden; background: #050a24; border: 1px solid #1c2550; box-shadow: 0 40px 90px rgba(10, 18, 48, .3), 0 0 0 6px rgba(10, 18, 48, .04); }
.appwin .bar { flex: none; display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: #0b112c; border-bottom: 1px solid var(--border); }
.appwin .bar > i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.appwin .bar > i + i { background: #febc2e; }
.appwin .bar > i + i + i { background: #28c840; }
.appwin .url { flex: 1; min-width: 0; margin: 0 8px 0 12px; padding: 4px 12px; border-radius: 2px; background: #050a24; color: var(--muted); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appwin .url b { color: #fff; font-weight: 600; }
.demo-chip { flex: none; padding: 3px 9px; border-radius: 2px; background: var(--orange); color: #1a0d00; font-size: .72rem; font-weight: 700; }
.app { flex: 1; min-height: 0; display: grid; grid-template-columns: 150px minmax(0, 1fr); }
.app-side { display: flex; flex-direction: column; gap: 2px; padding: 14px 10px; background: #060c2a; border-right: 1px solid var(--border); font-size: 12px; color: #94a3c8; }
.app-side span { padding: 6px 8px; border-radius: 2px; white-space: nowrap; }
.app-side .cap { padding: 10px 8px 4px; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #4fd1ff; }
.app-side .on { background: rgba(79, 209, 255, .14); color: #fff; }
.app-side .act { background: #b3122e; color: #fff; }
.app-side .hit { background: rgba(247, 147, 30, .18); color: #ffcf99; }
.app-main { position: relative; overflow: hidden; }
.scene { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 14px; padding: 20px 22px; color: #dfe6fb; font-size: 13.5px; line-height: 1.4; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s; }
.scene.on, html:not(.js) .scene.final { opacity: 1; visibility: visible; transform: none; }
.sc-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px 16px; }
.sc-head .big { display: block; font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.sc-head .big.hot { color: #ffcf6b; }
.sc-head .big.ok { color: #7ee8bf; }
.sc-head div > span { display: block; margin-top: 6px; color: #b9c5e6; }
.pill { padding: 4px 10px; border-radius: 2px; border: 1px solid rgba(79, 209, 255, .4); color: #9fe6ff; font-size: 12px; white-space: nowrap; }
.pill.warn { border-color: rgba(255, 90, 95, .55); color: #ff9da0; }
.sc-note { margin: auto 0 0; color: #94a3c8; font-size: 12px; }
.stream { position: relative; flex: 1; min-height: 0; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent); }
.srow { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.6fr) auto; gap: 10px; align-items: center; margin-bottom: 6px; padding: 8px 10px; border-radius: 2px; background: rgba(140, 170, 255, .06); border: 1px solid rgba(140, 170, 255, .1); font-size: 12.5px; }
.srow b, .grp b, .dec b { font-family: var(--mono); font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.srow span { color: #b9c5e6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.srow em, .grp span { font-style: normal; color: #94a3c8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.grp, .why, .dec, .packs ul, .cl { list-style: none; margin: 0; padding: 0; }
.grp { display: grid; gap: 6px; }
.grp li { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) auto; gap: 10px; align-items: center; padding: 7px 10px; border-radius: 2px; background: rgba(140, 170, 255, .06); border: 1px solid rgba(140, 170, 255, .1); font-size: 12.5px; }
.grp em { font-style: normal; padding: 2px 8px; border-radius: 2px; background: rgba(79, 209, 255, .14); color: #9fe6ff; font-size: 11.5px; white-space: nowrap; }
.why li { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 8px 10px; border-bottom: 1px solid var(--border); }
.why li::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: calc(var(--w, 0) * 2%); border-radius: 2px; background: linear-gradient(90deg, rgba(54, 211, 153, .2), rgba(54, 211, 153, .05)); transform-origin: left; }
.why li span, .why li b { position: relative; }
.why li b { color: #7ee8bf; font-variant-numeric: tabular-nums; }
.why li.zero b { color: #b9c5e6; }
.why li.ai span, .why li.ai b { color: #c9bbff; }
.dec { display: grid; gap: 5px; }
.dec li { display: grid; grid-template-columns: 34px minmax(0, 1.1fr) 9.5em minmax(0, 1fr); gap: 10px; align-items: center; padding: 5px 10px; border-radius: 2px; background: rgba(140, 170, 255, .06); border: 1px solid rgba(140, 170, 255, .1); font-size: 12.5px; }
.dec .s { display: grid; place-items: center; height: 24px; border: 1px solid #ffb020; border-radius: 2px; color: #ffcf6b; font-weight: 700; font-size: 12px; }
.dec .s.hi { border-color: var(--red); color: #ff9da0; }
.dec .s.lo { border-color: #4a5a85; color: #b9c5e6; }
.dec .d { padding: 3px 8px; border-radius: 2px; font-weight: 600; text-align: center; white-space: nowrap; font-size: 11.5px; }
.dec .d.real { background: rgba(255, 90, 95, .16); color: #ffb0b2; }
.dec .d.more { background: rgba(79, 209, 255, .14); color: #9fe6ff; }
.dec .d.exp { background: rgba(54, 211, 153, .14); color: #7ee8bf; }
.dec .o { color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.2; }
.dec .o small { display: block; color: #94a3c8; font-size: 11px; }
.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pack { padding: 12px; border-radius: 2px; background: rgba(140, 170, 255, .06); border: 1px solid rgba(140, 170, 255, .14); }
.pack h5 { margin: 0 0 10px; font-size: 13px; color: #fff; }
.packs ul { display: flex; flex-wrap: wrap; gap: 6px; }
.packs li { padding: 4px 8px; border-radius: 2px; border: 1px solid rgba(79, 209, 255, .35); color: #cfeeff; font-size: 11.5px; white-space: nowrap; }
.s-pdf { align-items: center; justify-content: center; background: radial-gradient(500px 300px at 50% 40%, rgba(79, 209, 255, .1), transparent 70%); }
.paper { width: 100%; max-width: 440px; padding: 18px 22px; border-radius: 2px; background: #fff; color: #1b2440; font-size: 12px; box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.paper-top { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 8px; margin-bottom: 10px; border-bottom: 2px solid #c8102e; }
.paper-top b { color: #0a1230; font-size: 13.5px; }
.paper-top span { color: #56627f; }
.paper p { margin: 0 0 10px; }
.paper h6 { margin: 0 0 6px; font-size: 12.5px; color: #0a1230; }
.cl { display: grid; gap: 4px; margin-bottom: 10px; }
.cl li { display: flex; gap: 8px; align-items: center; }
.cl li::before { content: ""; flex: none; width: 10px; height: 10px; border: 1.5px solid #56627f; border-radius: 2px; }
.paper pre { margin: 0; padding: 8px 10px; border-radius: 2px; background: #f0f3f9; color: #0a1230; font: 10.5px/1.4 var(--mono); white-space: pre-wrap; word-break: break-all; }
.fname { display: inline-flex; align-items: center; gap: 8px; color: #cfeeff; font: 12px var(--mono); text-align: center; }
.fname svg { width: 16px; height: 16px; flex: none; color: #4fd1ff; }
.s-approve { align-items: center; justify-content: center; background: radial-gradient(600px 340px at 50% 30%, rgba(30, 60, 180, .4), transparent 70%); }
.plan { display: flex; align-items: center; gap: 22px; width: 100%; max-width: 560px; padding: 24px; border-radius: 2px; background: rgba(10, 16, 48, .92); border: 1px solid rgba(247, 147, 30, .5); box-shadow: 0 30px 70px rgba(0, 0, 0, .5); }
.plan > img { width: 92px; height: 92px; border-radius: 50%; border: 2px solid #fff; flex: none; }
.plan .cap { display: block; font: 700 11px/1 var(--font); letter-spacing: .16em; text-transform: uppercase; color: #ffb35c; }
.plan-h { display: block; margin: 8px 0 14px; font-size: 19px; line-height: 1.25; color: #fff; }
.nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.nums span { color: #b9c5e6; font-size: 11.5px; line-height: 1.25; }
.nums b { display: block; font-size: 28px; font-weight: 800; color: #fff; line-height: 1.1; }
.nums b.r { color: #ff9da0; }
.nums b.c { color: #9fe6ff; }
.nums b.g { color: #7ee8bf; }
.approve.big { margin-top: 16px; padding: 10px 24px; font-size: 15px; }
.tasks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.task { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 16px 14px 14px; border-radius: 2px; background: rgba(140, 170, 255, .07); border: 1px solid rgba(140, 170, 255, .16); }
.task .new { align-self: flex-start; margin-bottom: 6px; padding: 2px 8px; border-radius: 2px; background: var(--orange); color: #1a0d00; font-size: 11px; font-weight: 700; }
.task b { color: #fff; font-size: 14px; }
.task span { color: #c9d4f2; }
.task em { font-style: normal; color: #94a3c8; font-size: 12px; }
.demo-ctrl { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 22px; }
.demo-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.demo-tabs button, .ctl { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--border-2); background: var(--surface-1); color: var(--navy); font: 600 .86rem/1 var(--font); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.demo-tabs button:hover, .ctl:hover { border-color: var(--cyan-dark); }
.demo-tabs button.past { color: var(--cyan-dark); border-color: #9fcfe3; }
.demo-tabs button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.demo-tabs button.you { border-color: #e8a256; color: var(--orange-dark); }
.demo-tabs button.you[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: #1a0d00; }
.demo-btns { display: flex; gap: 8px; }
.ctl svg { width: 16px; height: 16px; }
.demo-bar { flex-basis: 100%; height: 3px; border-radius: 2px; background: #dfe5f1; overflow: hidden; }
.demo-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan-dark), var(--orange)); transform-origin: left; transform: scaleX(var(--p, 1)); }
html:not(.js) .demo-ctrl { display: none; }
.js .demo [data-at]:not(.shown) { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .js .demo [data-at].shown { animation: pop .45s var(--ease) both; }
  .typing i { animation: bob 1s ease-in-out infinite; }
  .typing i:nth-child(2) { animation-delay: .15s; }
  .typing i:nth-child(3) { animation-delay: .3s; }
  .tk { animation: spin .9s linear infinite; }
  .todo li.done .tk { animation: none; }
  .chat-head .state i { animation: blink 1.4s ease-in-out infinite; }
  .feed { animation: feed 9s linear infinite; }
  .scene.on .stagger > * { animation: pop .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 80ms); }
  .scene.on .why li::before, .why-card.in .why li::before { animation: grow .9s var(--ease) both; animation-delay: calc(var(--i, 0) * 120ms + .2s); }
  .s-done.on .new { animation: ping 1.6s ease-out .4s 2 both; }
}
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-4px); opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes feed { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(247, 147, 30, .6); } 100% { box-shadow: 0 0 0 12px rgba(247, 147, 30, 0); } }

/* Before and after */
.vs { width: 100%; max-width: 1040px; margin: 0 auto; border-collapse: separate; border-spacing: 0; font-size: 1rem; }
.vs th, .vs td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-light); }
.vs thead th { padding-top: 0; font: 700 .8rem/1.2 var(--font); letter-spacing: .12em; text-transform: uppercase; border-bottom: 2px solid var(--line-light); vertical-align: bottom; }
.vs thead th svg, .vs thead th img { display: inline-block; vertical-align: middle; margin-right: 10px; }
.vs thead th svg { width: 22px; height: 22px; color: var(--navy-muted); }
.vs thead th img { width: 32px; height: 32px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #9fcfe3; }
.vs .h-hand { color: var(--navy-muted); width: 36%; }
.vs .h-bot { color: var(--cyan-dark); width: 42%; background: rgba(79,209,255,.07); border-radius: 2px; }
.vs tbody th { width: 22%; color: var(--navy); font-weight: 600; }
.vs tbody td:nth-of-type(1) { color: var(--navy-muted); }
.vs tbody td:nth-of-type(1)::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: #b8c1d6; vertical-align: middle; }
.vs tbody td:nth-of-type(2) { background: rgba(79,209,255,.07); color: var(--navy); font-weight: 500; }
.vs tbody td:nth-of-type(2)::before { content: ""; display: inline-block; width: 6px; height: 11px; margin: 0 12px 2px 2px; border: solid var(--cyan-dark); border-width: 0 2px 2px 0; transform: rotate(45deg); vertical-align: middle; }
.vs .you-row th { color: var(--orange-dark); }
.vs .you-row td:nth-of-type(2) { background: rgba(247,147,30,.12); color: #ffc887; border-radius: 2px; border-bottom: 0; box-shadow: inset 0 0 0 1px #f0a54a; }
.vs .you-row td:nth-of-type(2) b { color: #ffc887; }
.vs .you-row td:nth-of-type(2)::before { border-color: var(--orange-dark); }
@media (prefers-reduced-motion: no-preference) {
  .js .vs tbody tr { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i, 0) * 90ms + .2s); }
  .js .vs.in tbody tr { opacity: 1; transform: none; }
}

/* The scroll story */
.legend-who { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 22px 0 0; }
.story-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.story-steps { padding-bottom: 18vh; }
.chap { display: flex; align-items: center; gap: 10px; margin: 72px 0 6px; padding-left: 22px; font: 700 .8rem/1.2 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
.chap:first-child { margin-top: 0; }
.chap svg { width: 20px; height: 20px; }
.sstep { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: center; min-height: 40vh; padding: 20px 20px 20px 22px; border-left: 2px solid var(--border-2); transition: opacity .4s var(--ease), border-color .4s; }
.js .sstep { opacity: .38; }
.js .sstep.on { opacity: 1; border-left-color: var(--cyan); }
.js .sstep.you.on { border-left-color: var(--orange); }
.sstep .n { align-self: start; margin-top: 4px; font: 700 .9rem/1 var(--mono); color: var(--muted); }
.sstep.on .n { color: var(--cyan); }
.sstep.you.on .n { color: var(--orange); }
.sstep h4 { margin: 12px 0 8px; font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); line-height: 1.2; letter-spacing: -0.02em; color: #fff; }
.sstep p { margin: 0; color: var(--body); }
.sshot { display: none; margin: 16px 0 0; border-radius: 2px; overflow: hidden; border: 1px solid var(--border-2); }
.sshot.paper { background: #fff; }
.story-media { align-self: stretch; }
.story-sticky { position: sticky; top: calc(50vh - min(24vw, 290px)); padding-top: 8px; }
.story-screen img { position: absolute; inset: 0; opacity: 0; transform: scale(1.015); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.story-screen img.on { opacity: 1; transform: none; }
.story-screen img.contain { object-fit: contain; object-position: center; background: #e9edf5; }
.story-cap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin-top: 28px; color: var(--body); font-size: .95rem; }
.story-prog { width: 120px; height: 3px; border-radius: 2px; background: var(--border-2); overflow: hidden; }
.story-prog span { display: block; height: 100%; background: var(--cyan); transform-origin: left; transform: scaleX(var(--p, .08)); transition: transform .5s var(--ease); }

/* Proof cards */
.proof { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.pcard { padding: 28px; border-radius: 2px; background: var(--surface-1); border: 1px solid var(--line-light); box-shadow: 0 20px 50px rgba(10, 18, 48, .08); min-width: 0; }
.pk { display: block; font: 700 .74rem/1.2 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-dark); }
.dark .pk, .dark-tile .pk, .why-card .pk { color: var(--cyan); }
.pnote { margin: 16px 0 0; font-size: .86rem; color: var(--navy-muted); }
.why-card { grid-column: span 5; background: linear-gradient(180deg, #0e1640, #0a1030); border-color: #1c2550; color: var(--body); font-size: .92rem; }
.why-card header { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.why-card .score { font-size: 3.4rem; font-weight: 800; letter-spacing: -0.04em; color: #ffcf6b; line-height: 1; font-variant-numeric: tabular-nums; min-width: 2.2ch; }
.why-card header b { display: block; color: #fff; font-size: 1.05rem; }
.why-card header small { color: var(--muted); font-size: .84rem; line-height: 1.4; display: block; }
.why-card .pnote { color: var(--muted); }
.order-card { grid-column: span 7; }
.order-card h3 { margin: 8px 0 18px; font-size: 1.4rem; }
.sheet { margin: 0; border-radius: 2px; overflow: hidden; border: 1px solid var(--line-light); box-shadow: 0 14px 40px rgba(10, 18, 48, .14); }
.files { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; font: .84rem/1.4 var(--mono); color: var(--navy); }
.files li { display: flex; align-items: flex-start; gap: 10px; overflow-wrap: anywhere; }
.files svg { width: 18px; height: 18px; flex: none; color: var(--cyan-dark); }
.fmt-card { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 40px; }
.fmt-card .pnote { grid-column: 1 / -1; margin: 0; }
.marks { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.marks li { padding: 10px 16px; border-radius: 2px; border: 1px solid var(--border-2); background: var(--surface-1); color: var(--navy); font-weight: 800; font-size: 1.05rem; letter-spacing: -0.02em; white-space: nowrap; transition: transform .2s var(--ease), border-color .2s, box-shadow .2s; }
.marks li:hover { transform: translateY(-2px); border-color: var(--cyan-dark); box-shadow: 0 8px 20px rgba(10, 18, 48, .1); }
.marks.alt li { font-family: var(--mono); font-weight: 700; font-size: .98rem; letter-spacing: 0; color: var(--cyan); background: var(--surface-2); border-color: var(--border-2); }
.marks.small li { padding: 6px 11px; font-size: .86rem; font-weight: 700; }

/* The council diagram */
.council svg { width: 100%; height: auto; overflow: visible; }
.council .ring { fill: none; stroke: rgba(79, 209, 255, .28); stroke-dasharray: 4 7; }
.council .spokes line { stroke: rgba(79, 209, 255, .22); stroke-width: 1.2; }
.council .pulses line { stroke: #4fd1ff; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 0 400; }
.council .file rect { fill: #0e1640; stroke: #f7931e; stroke-width: 1.5; }
.council .fn { fill: #fff; font: 600 14px var(--mono); }
.council .fs { fill: #b9c5e6; font: 400 12px var(--font); }
.council .nm { fill: #fff; font: 700 21px var(--font); }
.council .chair .nm { fill: #ffb35c; }
.council .rl { fill: #b9c5e6; font: 400 14px var(--font); }
.council .dot { fill: #fff; }
.council .chair .dot { fill: #ffcf99; }
@media (prefers-reduced-motion: no-preference) {
  .council .pulses line { stroke-dasharray: 10 400; animation: outward 2.8s linear infinite; }
  .council .pulses line:nth-child(2) { animation-delay: .55s; }
  .council .pulses line:nth-child(3) { animation-delay: 1.1s; }
  .council .pulses line:nth-child(4) { animation-delay: 1.65s; }
  .council .pulses line:nth-child(5) { animation-delay: 2.2s; }
  .council .halo { animation: twinkle 4.5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
  .council .mem:nth-of-type(2) .halo { animation-delay: -1s; }
  .council .mem:nth-of-type(3) .halo { animation-delay: -2s; }
  .council .mem:nth-of-type(4) .halo { animation-delay: -3s; }
  .council .ring { animation: dash 3s linear infinite; }
}
@keyframes outward { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -210; } }
.roster { list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.roster li { padding: 18px; border-radius: 2px; background: rgba(14, 22, 64, .6); border: 1px solid var(--border-2); }
.roster b { display: block; margin-bottom: 6px; color: #fff; font-size: 1.05rem; }
.roster .chair b { color: #ffb35c; }
.roster span { color: var(--muted); font-size: .9rem; line-height: 1.45; }

/* Bento grid */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(230px, auto); gap: 18px; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-width: 0; padding: 24px; overflow: hidden; border-radius: 2px; background: var(--paper); border: 1px solid var(--line-light); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.tile:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(10, 18, 48, .12); }
.tile h3 { font-size: 1.08rem; line-height: 1.3; }
.tile p { margin: 2px 0 0; font-size: .92rem; }
.dark-tile { background: radial-gradient(500px 300px at 70% 0%, rgba(30, 60, 180, .35), transparent 70%), #071038; border-color: #1c2550; color: var(--body); }
.light .dark-tile h3 { color: #fff; }
.t-map { grid-column: span 2; grid-row: span 2; justify-content: flex-start; }
.globe-wrap { position: relative; flex: 1; min-height: 220px; margin-top: 18px; border-radius: 2px; overflow: hidden; }
.globe-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ping { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 10px var(--orange); }
.ping.p1 { left: 28%; top: 38%; }
.ping.p2 { left: 47%; top: 30%; }
.ping.p3 { left: 64%; top: 52%; }
.t-wanted { grid-column: span 2; flex-direction: row; align-items: stretch; gap: 18px; }
.t-wanted .tt { flex: 1 1 40%; align-self: flex-end; }
.t-wanted .crop { flex: 1 1 60%; min-height: 180px; border-radius: 2px; overflow: hidden; position: relative; }
.t-wanted .crop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 62%; }
.t-lib, .t-ai { grid-column: span 2; }
.t-lib { justify-content: center; }
.t-ai { flex-direction: row; align-items: flex-end; gap: 20px; }
.t-ai > :not(.bars) { flex: 1 1 auto; }
.t-ai .pk, .t-ai h3 { flex: none; }
.t-ai { display: grid; grid-template-columns: minmax(0, 1fr) 150px; grid-template-rows: auto auto; align-content: end; }
.t-ai .bars { grid-column: 2; grid-row: 1 / span 2; }
.orbit { position: relative; width: 120px; height: 120px; margin: 0 auto auto; }
.orbit .core { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 18px rgba(247, 147, 30, .7); }
.orbit .o { position: absolute; border: 1px dashed #9fb3d6; border-radius: 50%; }
.orbit .o1 { inset: 30px; }
.orbit .o2 { inset: 14px; }
.orbit .o3 { inset: 0; }
.orbit .o i { position: absolute; left: 50%; top: -5px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--cyan-dark); }
.orbit .o2 i { background: #b3122e; }
.ticker, .play, .meters { list-style: none; margin: 0 0 auto; padding: 0; display: grid; gap: 8px; }
.ticker li, .play li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 2px; background: var(--surface-1); border: 1px solid var(--line-light); color: var(--navy); font-weight: 600; font-size: .9rem; }
.ticker li::before { content: "\2713"; flex: none; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--green-dark); color: #fff; font-size: 11px; font-weight: 800; }
.play li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan-dark); }
.play li.wait { border-color: #f0a54a; background: rgba(247,147,30,.12); color: #ffc887; }
.play li.wait::before { background: var(--orange-dark); }
.meters li { display: grid; gap: 5px; font-size: .84rem; font-weight: 600; color: var(--navy); }
.meters i { display: block; height: 7px; border-radius: 2px; background: #dfe5f1; position: relative; overflow: hidden; }
.meters i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--cyan-dark), #2aa7d6); border-radius: 2px; transform-origin: left; transform: scaleX(var(--v)); }
.sig { display: flex; align-items: center; gap: 12px; margin: 0 0 auto; }
.sig svg { width: 46px; height: 46px; padding: 10px; border-radius: 2px; background: #e3f3fb; color: var(--cyan-dark); }
.sig span { padding: 6px 12px; border-radius: 2px; background: #e9f7f1; color: var(--green-dark); font-weight: 700; font-size: .86rem; }
.radar { position: relative; width: 110px; height: 110px; margin: 0 auto auto; border-radius: 50%; border: 1px solid #c4cfe3; background: radial-gradient(circle, transparent 0 34%, #dfe5f1 35% 36%, transparent 37% 66%, #dfe5f1 67% 68%, transparent 69%); overflow: hidden; }
.radar i { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(9, 109, 150, .4), transparent 25%); }
.radar::after { content: ""; position: absolute; left: 66%; top: 30%; width: 8px; height: 8px; border-radius: 50%; background: #b3122e; }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 90px; }
.bars i { flex: 1; height: calc(var(--h) * 100%); border-radius: 2px; background: linear-gradient(180deg, #2aa7d6, var(--cyan-dark)); transform-origin: bottom; }
@media (prefers-reduced-motion: no-preference) {
  .ping::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--orange); animation: ring 2.4s ease-out infinite; }
  .ping.p2::after { animation-delay: .8s; }
  .ping.p3::after { animation-delay: 1.6s; }
  .orbit .o { animation: spin 14s linear infinite; }
  .orbit .o2 { animation-duration: 9s; animation-direction: reverse; }
  .orbit .o1 { animation-duration: 6s; }
  .ticker li { animation: tick 6s var(--ease) infinite both; }
  .ticker li:nth-child(2) { animation-delay: 1s; }
  .ticker li:nth-child(3) { animation-delay: 2s; }
  .radar i { animation: spin 3.2s linear infinite; }
  .radar::after { animation: blink 3.2s ease-in-out infinite; }
  .play li.wait { animation: waitpulse 2s ease-in-out infinite; }
  .bars i { animation: barz 3.6s ease-in-out infinite alternate; }
  .bars i:nth-child(2n) { animation-delay: -1.2s; }
  .bars i:nth-child(3n) { animation-delay: -2.3s; }
  .js .meters i::after { transform: scaleX(0); transition: transform 1.4s var(--ease) .3s; }
  .js .t-std.in .meters i::after { transform: scaleX(var(--v)); }
  .sig span { animation: tick 4s var(--ease) infinite both; }
}
@keyframes ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.6); opacity: 0; } }
@keyframes tick { 0%, 8% { opacity: .35; } 18%, 80% { opacity: 1; } 95%, 100% { opacity: .35; } }
@keyframes waitpulse { 50% { box-shadow: 0 0 0 5px rgba(247, 147, 30, .22); } }
@keyframes barz { from { transform: scaleY(.45); } to { transform: scaleY(1); } }

/* Numbers band */
.band { padding: clamp(56px, 7vw, 96px) 0; }
.big-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border-2); border-left: 1px solid var(--border-2); }
.bs { padding: clamp(24px, 3vw, 40px); border-right: 1px solid var(--border-2); border-bottom: 1px solid var(--border-2); }
.bs b { display: block; font-size: clamp(3.4rem, 2rem + 4.6vw, 6rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff 30%, #7fdcff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bs.o b { background: linear-gradient(180deg, #ffd29a 20%, #f7931e); -webkit-background-clip: text; background-clip: text; }
.bs span { display: block; margin-top: 12px; color: var(--body); font-size: 1rem; max-width: 18em; }

/* Version 2 responsive */
@media (max-width: 1180px) {
  .roster { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dec li { grid-template-columns: 30px minmax(0, 1fr) 9em minmax(0, .9fr); }
}
@media (max-width: 1023px) {
  .demo { grid-template-columns: minmax(0, 1fr); }
  .chat { height: 470px; }
  .appwin { height: 520px; }
  .story-grid { grid-template-columns: minmax(0, 1fr); }
  .story-media { display: none; }
  .js .sstep { opacity: 1; min-height: 0; }
  .sstep { min-height: 0; border-left-color: var(--border-2); }
  .js .sstep.on, .js .sstep.you.on { border-left-color: var(--border-2); }
  .sstep .n { color: var(--cyan); }
  .sstep.you .n { color: var(--orange); }
  .sshot { display: block; }
  .story-steps { padding-bottom: 0; }
  .why-card, .order-card { grid-column: 1 / -1; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-map { grid-row: auto; }
  .big-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .app-side { display: none; }
  .scene { padding: 16px 14px; font-size: 12.5px; gap: 12px; }
  .sc-head .big { font-size: 32px; }
  .dec li { grid-template-columns: 28px minmax(0, 1fr) auto; }
  .dec .o { display: none; }
  .packs { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .pack { padding: 10px; }
  .pack h5 { margin-bottom: 6px; }
  .tasks { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .task { padding: 12px; }
  .plan { flex-direction: column; text-align: center; padding: 20px 16px; gap: 12px; }
  .plan > img { width: 64px; height: 64px; }
  .plan .approve { margin-left: auto; margin-right: auto; }
  .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .srow { grid-template-columns: minmax(0, 1fr) auto; }
  .srow span { display: none; }
  .grp li { grid-template-columns: minmax(0, 1fr) auto; }
  .grp span { display: none; }
  .why li { padding: 6px 8px; }
  .vs, .vs tbody, .vs tr, .vs th, .vs td { display: block; width: auto !important; }
  .vs thead { display: none; }
  .vs tr { margin-bottom: 14px; border: 1px solid var(--line-light); border-radius: 2px; overflow: hidden; }
  .vs tbody th { padding: 14px 16px 6px; border: 0; font-size: 1.05rem; }
  .vs tbody td { padding: 8px 16px 12px; border: 0; }
  .vs tbody td:nth-of-type(1)::before, .vs tbody td:nth-of-type(2)::before { display: none; }
  .vs tbody td:nth-of-type(1)::after { content: "By hand"; display: block; order: -1; }
  .vs tbody td { display: grid; gap: 2px; }
  .vs tbody td::after { grid-row: 1; font: 700 .7rem/1.2 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--navy-muted); }
  .vs tbody td:nth-of-type(2) { padding-top: 12px; }
  .vs tbody td:nth-of-type(2)::after { content: "With C.O.S.M.O Bot"; color: var(--cyan-dark); }
  .vs .you-row td:nth-of-type(2) { border-radius: 2px; box-shadow: none; }
  .vs .you-row td:nth-of-type(2)::after { color: var(--orange-dark); }
  .vs .you-row { border-color: #f0a54a; }
  .fmt-card { grid-template-columns: minmax(0, 1fr); }
  .roster { grid-template-columns: minmax(0, 1fr); }
  .council .rl { display: none; }
  .council .nm { font-size: 26px; }
}
@media (max-width: 640px) {
  .chat { height: 440px; }
  .appwin { height: 480px; }
  .msg { font-size: .92rem; }
  .demo-ctrl { justify-content: flex-start; }
  .demo-tabs button { padding: 6px 10px; font-size: .82rem; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .t-map, .t-wanted, .t-lib, .t-ai { grid-column: auto; }
  .t-wanted { flex-direction: column; }
  .t-wanted .crop { min-height: 170px; }
  .t-ai { grid-template-columns: minmax(0, 1fr) 110px; }
  .big-stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .bs { padding: 20px 16px; }
  .bs span { font-size: .9rem; }
  .pcard { padding: 22px 18px; }
  .marks li { font-size: .95rem; padding: 8px 12px; }
  .hero .float-tag { position: relative; right: auto; top: auto; margin: 20px auto 0; }
  .appwin .url { margin-right: 4px; }
}

/* ===== Dark, square, presentation style (Ray 2026-11-01: darker background, no curved boxes, show off the bot) ===== */
.dark.alt { background: #060a22; }
.section.dark + .section.dark { border-top: 1px solid var(--border); }
.hl { color: var(--cyan); }
.showcase { background: radial-gradient(1200px 500px at 50% 0, rgba(79,209,255,.08), transparent 70%), var(--base); }
.slide { margin: 0 auto clamp(64px, 9vw, 120px); max-width: 1280px; }
.slide-head { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; margin-bottom: 28px; max-width: 900px; }
.slide-no { font: 700 56px/1 var(--font); color: var(--orange); letter-spacing: -.04em; }
.slide-no small { display: block; font-size: 13px; letter-spacing: .14em; color: var(--muted); margin-top: 8px; font-weight: 600; }
.slide-head h3 { font-size: clamp(1.6rem, 1rem + 1.8vw, 2.4rem); line-height: 1.1; margin-bottom: 10px; }
.slide-head p { color: var(--body); font-size: 1.125rem; margin: 0; max-width: 46em; }
.shot { margin: 0; border: 1px solid var(--border-2); background: #02040f; box-shadow: 0 0 0 1px rgba(0,0,0,.6), 0 40px 120px rgba(0,0,0,.6), 0 0 120px rgba(79,209,255,.08); }
.shot-bar { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-bottom: 1px solid var(--border); background: #070b20; }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a3150; }
.shot-bar span { margin-left: 10px; font: 600 11px/1 var(--font); letter-spacing: .14em; color: var(--muted); }
.shot-img { position: relative; }
.shot-img img { width: 100%; }
.pin { position: absolute; transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: #1a0d00; font: 800 15px/34px var(--font); text-align: center; box-shadow: 0 0 0 4px rgba(247,147,30,.28), 0 6px 18px rgba(0,0,0,.5); }
.pin::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--orange); animation: pinpulse 2.4s var(--ease) infinite; }
@keyframes pinpulse { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.9); } }
@media (prefers-reduced-motion: reduce) { .pin::after { animation: none; } }
.callouts { list-style: none; margin: 0; padding: 22px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 0; }
.callouts li { display: flex; gap: 12px; padding: 16px 20px 0 0; color: var(--body); font-size: .98rem; line-height: 1.5; border-top: 2px solid var(--border-2); margin-right: 18px; }
.callouts li:first-child { border-top-color: var(--orange); }
.callouts b { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--orange); color: #1a0d00; font: 800 13px/26px var(--font); text-align: center; }
@media (max-width: 900px) {
  .callouts { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .slide-head { grid-template-columns: 1fr; gap: 10px; }
  .slide-no { font-size: 40px; }
}
@media (max-width: 560px) {
  .callouts { grid-template-columns: 1fr; }
  .pin { width: 22px; height: 22px; font-size: 11px; line-height: 22px; }
}
@media (max-width: 700px) {
  .buy { grid-template-columns: minmax(0, 1fr); }
  .buy-card { min-width: 0; max-width: 100%; padding: 24px; }
  .device-laptop .base { margin: 0 -3%; }
  .buy-card * { overflow-wrap: anywhere; }
  .feature-media { overflow: hidden; padding-bottom: 6px; }
  html, body { overflow-x: clip; }
}
