/* Hydro-Suite site. No build step, no external requests. Dark "deep water" theme by default; a light theme is available. */
:root {
  --bg: #050b1f; --bg2: #08122e; --surface: #0c1738; --surface2: #101e47; --ink: #eef3ff; --sec: #b3c0de; --muted: #7f8fb5; --line: #1d2d5c; --line2: #2a3f7a;
  --blue: #3b82f6; --aqua: #22d3ee; --violet: #8b5cf6; --pink: #f472b6; --teal: #2dd4bf;
  --ok: #4ade80; --ok-soft: #0f2f22; --watch: #fbbf24; --watch-soft: #35290a; --alert: #fb7185; --alert-soft: #3a1220;
  --grad: linear-gradient(120deg, #22d3ee, #3b82f6 45%, #8b5cf6 80%, #f472b6);
  --glass: rgba(16, 30, 71, .55); --shadow: 0 20px 60px rgba(0, 0, 0, .45);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Devanagari", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
:root[data-theme="light"] {
  --bg: #f6f9ff; --bg2: #eaf1ff; --surface: #ffffff; --surface2: #eef3fc; --ink: #0b1b3a; --sec: #44546f; --muted: #6b7b95; --line: #dbe5f5; --line2: #c3d3ee;
  --blue: #2563eb; --aqua: #0891b2; --violet: #7c3aed; --pink: #db2777; --teal: #0d9488;
  --ok: #15803d; --ok-soft: #e3f5ea; --watch: #a85a06; --watch-soft: #fdf0dc; --alert: #d92d33; --alert-soft: #fde8e8;
  --glass: rgba(255, 255, 255, .7); --shadow: 0 20px 50px rgba(37, 99, 235, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { max-width: 100%; }
a { color: var(--aqua); }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.025em; margin: 0; }
p { margin: 0; }
button { font: inherit; color: inherit; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); color: var(--ink); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 2px; border-radius: 8px; }
.ic { width: 20px; height: 20px; flex: none; }
.ic.big { width: 34px; height: 34px; color: var(--aqua); margin-bottom: 14px; }
.fine { font-size: 14px; color: var(--muted); }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 80; }
.progress i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: var(--grad); }

/* nav */
.nav { position: sticky; top: 0; z-index: 70; background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.nav-in { display: flex; align-items: center; gap: 22px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 750; font-size: 18px; text-decoration: none; letter-spacing: -0.01em; }
.nav nav { display: flex; gap: 2px; margin-left: 14px; flex: 1; }
.nav nav a { color: var(--sec); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 10px; transition: color .2s, background .2s; }
.nav nav a:hover, .nav nav a.on { color: var(--ink); background: var(--surface2); }
.nav-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.link-quiet { color: var(--sec); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 6px; }
.link-quiet:hover { color: var(--ink); }
.icon-btn { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line2); background: var(--surface); color: var(--ink); font-size: 17px; cursor: pointer; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 14px; font-weight: 650; font-size: 16px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: box-shadow .2s ease, background .2s ease, border-color .2s ease; will-change: transform; }
.btn.small { min-height: 40px; padding: 0 18px; font-size: 14px; background: var(--grad); color: #04102e; border-radius: 12px; }
.btn.primary { background: var(--grad); background-size: 140% 140%; color: #04102e; box-shadow: 0 14px 34px rgba(59, 130, 246, .35); }
.btn.primary:hover { box-shadow: 0 18px 44px rgba(139, 92, 246, .5); }
.btn.ghost { border-color: var(--line2); color: var(--ink); background: var(--glass); backdrop-filter: blur(8px); }
.btn.ghost:hover { border-color: var(--aqua); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* hero */
.hero { position: relative; min-height: min(100vh, 900px); padding: 64px 0 80px; overflow: hidden; display: grid; align-items: center; background: radial-gradient(1000px 600px at 75% 0%, #12306e 0%, transparent 60%), var(--bg); }
.aurora i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; animation: drift 18s ease-in-out infinite; }
.aurora .a1 { width: 520px; height: 520px; background: #22d3ee; top: -180px; right: 4%; opacity: .32; }
.aurora .a2 { width: 460px; height: 460px; background: #8b5cf6; bottom: -160px; left: -80px; animation-delay: -6s; opacity: .35; }
.aurora .a3 { width: 360px; height: 360px; background: #f472b6; top: 30%; left: 38%; animation-delay: -11s; opacity: .16; }
.grid-bg { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; opacity: .22; mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%); }
.hero-in { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line2); color: var(--aqua); font-size: 14px; font-weight: 600; backdrop-filter: blur(8px); }
.hero h1 { margin-top: 22px; font-size: clamp(42px, 6vw, 76px); font-weight: 800; letter-spacing: -0.035em; }
.hero h1 .line { display: block; }
.w { display: inline-block; opacity: 0; transform: translateY(40px) rotateX(-40deg); transform-origin: 50% 100%; animation: wordin .8s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(var(--d, 0) * 1ms); }
.grad { background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation-name: wordin, shimmer; animation-duration: .8s, 6s; animation-iteration-count: 1, infinite; animation-fill-mode: forwards, none; animation-timing-function: cubic-bezier(.2, .8, .2, 1), linear; animation-delay: calc(var(--d, 0) * 1ms), 0s; }
.lede { margin-top: 24px; font-size: clamp(17px, 1.8vw, 20px); color: var(--sec); max-width: 52ch; }
.hero .cta { margin-top: 32px; }
.proofline { display: flex; flex-wrap: wrap; gap: 22px; list-style: none; padding: 0; margin: 32px 0 0; color: var(--sec); font-size: 15px; font-weight: 550; }
.proofline li { display: inline-flex; align-items: center; gap: 8px; } .proofline .ic { color: var(--aqua); }
.hscene { position: relative; transform: translate3d(0, var(--sy, 0px), 0); will-change: transform; }
.plant { width: 100%; height: auto; display: block; position: relative; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .45)); }
.ripples { position: absolute; left: 50%; top: 56%; width: 80%; aspect-ratio: 1; transform: translate(-50%, -50%) rotateX(70deg); pointer-events: none; }
.ripples i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(34, 211, 238, .4); animation: ripple 5s ease-out infinite; } .ripples i:nth-child(2) { animation-delay: -1.7s; } .ripples i:nth-child(3) { animation-delay: -3.4s; }
.float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--glass); border: 1px solid var(--line2); backdrop-filter: blur(12px); box-shadow: var(--shadow); font-size: 14px; animation: bob 6s ease-in-out infinite; transform: translate3d(var(--fx, 0), var(--fy, 0), 0); }
.float b { display: block; font-size: 14px; } .float small { display: block; color: var(--muted); font-size: 12px; } .float .ic { color: var(--aqua); }
.float .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--alert); box-shadow: 0 0 0 4px var(--alert-soft); }
.f1 { top: 4%; left: 24%; } .f2 { top: 30%; right: -2%; animation-delay: -2s; } .f3 { bottom: 6%; left: 4%; animation-delay: -4s; }
.cap-ill { position: absolute; right: 4px; bottom: -6px; font-size: 12px; color: var(--muted); }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; border: 2px solid var(--line2); border-radius: 14px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--aqua); animation: cue 1.8s ease-in-out infinite; }

/* svg motion */
.flow { animation: dash 1.2s linear infinite; } .wave { animation: slide 5s linear infinite; } .wave.w2 { animation-duration: 6.5s; animation-direction: reverse; } .wave.w3 { animation-duration: 7s; }
.bubbles circle { animation: rise 3.2s ease-in infinite; } .bubbles circle:nth-child(2n) { animation-duration: 4.1s; animation-delay: -1s; } .bubbles circle:nth-child(3n) { animation-delay: -2s; }
.ring { transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; } .sensor.s2 .ring { animation-delay: -.6s; } .sensor.s3 .ring { animation-delay: -1.2s; } .sensor.s4 .ring { animation-delay: -1.8s; }
@keyframes dash { to { stroke-dashoffset: -20; } } @keyframes slide { to { transform: translateX(-40px); } }
@keyframes rise { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .9; } 100% { transform: translateY(-90px); opacity: 0; } }
@keyframes pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes bob { 0%, 100% { margin-top: 0; } 50% { margin-top: -8px; } }
@keyframes drift { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, 30px) scale(1.12); } }
@keyframes wordin { to { opacity: 1; transform: none; } }
@keyframes shimmer { to { background-position: 200% 0; } }
@keyframes ripple { 0% { transform: scale(.3); opacity: .9; } 100% { transform: scale(1.1); opacity: 0; } }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg2); padding: 18px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq-track { display: flex; gap: 14px; width: max-content; animation: marq 40s linear infinite; }
.mq-track span { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line2); background: var(--surface); color: var(--sec); font-weight: 600; font-size: 15px; white-space: nowrap; }
.mq-track span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); }
.mq-track span:nth-child(3n)::before { background: var(--violet); } .mq-track span:nth-child(3n+1)::before { background: var(--blue); }
@keyframes marq { to { transform: translateX(-50%); } }

/* why: word scrub */
.scrub { height: 230vh; position: relative; }
.scrub-pin { position: sticky; top: 0; height: 100vh; display: grid; align-items: center; }
.eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--aqua); margin-bottom: 16px; }
.scrub-text { font-size: clamp(28px, 4.6vw, 60px); line-height: 1.18; font-weight: 700; letter-spacing: -0.03em; max-width: 24ch; max-width: 26em; }
.scrub-text .sw { color: color-mix(in srgb, var(--ink) 18%, transparent); transition: color .25s ease; }
.scrub-text .sw.lit { color: var(--ink); }
.scrub-text .sw.gl.lit { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* stats */
.stats-sec { padding: 20px 0 70px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stats div { padding: 26px; border-radius: 20px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(8px); display: flex; flex-direction: column; gap: 8px; }
.stats b { font-size: 54px; line-height: 1; letter-spacing: -0.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stats span { font-size: 14px; color: var(--sec); }

/* pinned stories */
.story { position: relative; height: calc(var(--n) * 85vh + 100vh); }
.pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.story-wrap { display: grid; gap: 26px; }
.story-head h2 { font-size: clamp(28px, 3.4vw, 44px); max-width: 24ch; font-weight: 780; }
.story-grid { display: grid; grid-template-columns: 400px 1fr; gap: 36px; align-items: center; }
.story-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.story-list button { width: 100%; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; text-align: left; padding: 12px 14px; border-radius: 16px; border: 1px solid transparent; background: transparent; cursor: pointer; opacity: .45; transition: opacity .3s, background .3s, border-color .3s, transform .3s; }
.story-list b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--surface2); border: 1px solid var(--line2); font-size: 15px; transition: background .3s, border-color .3s, color .3s; }
.story-list h3 { font-size: 19px; }
.story-list p { color: var(--sec); font-size: 14.5px; line-height: 1.5; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .4s ease, opacity .3s ease, margin .3s ease; margin-top: 0; }
.story-list li.on button { opacity: 1; background: var(--glass); border-color: var(--line2); transform: translateX(6px); backdrop-filter: blur(8px); }
.story-list li.on b { background: var(--grad); color: #04102e; border-color: transparent; }
.story-list li.on p { max-height: 130px; opacity: 1; margin-top: 6px; }
.story-list li.human.on b { background: linear-gradient(120deg, #fbbf24, #f472b6); }
.story-list.compact p { max-height: none; opacity: 1; margin-top: 2px; font-size: 13px; }
.story-list.compact button { padding: 10px 12px; }
.story-list.compact b { width: 38px; height: 38px; } .story-list.compact b .ic { width: 20px; height: 20px; }
.stage { position: relative; min-height: 440px; border-radius: 28px; background: var(--glass); border: 1px solid var(--line2); backdrop-filter: blur(14px); box-shadow: var(--shadow); overflow: hidden; }
.stage::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; aspect-ratio: 1; background: radial-gradient(circle, rgba(139, 92, 246, .28), transparent 65%); pointer-events: none; }
.stage.big { min-height: 520px; }
.scene { position: absolute; inset: 0; padding: 28px; display: grid; align-content: center; visibility: hidden; opacity: 0; transform: translateY(24px) scale(.98); pointer-events: none; transition: opacity .45s ease, transform .45s ease; }
.scene.on { visibility: visible; opacity: 1; transform: none; pointer-events: auto; }
.story-prog { height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; } .story-prog i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--p, 0)); background: var(--grad); }

/* loop scenes */
.vis { display: grid; gap: 22px; }
.gauges { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.gauges span { display: grid; gap: 8px; justify-items: center; font-size: 13px; color: var(--sec); }
.gauges i { position: relative; width: 100%; aspect-ratio: 1; max-width: 80px; border-radius: 50%; background: conic-gradient(var(--aqua) calc(var(--v) * var(--k, 0)), var(--line) 0); }
.gauges i::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--surface); }
.scene.on .gauges i { --k: 1; transition: --k 1.2s; animation: gauge 1.4s ease-out both; }
@property --k { syntax: "<number>"; inherits: true; initial-value: 0; }
@keyframes gauge { from { --k: 0; } to { --k: 1; } }
.streams { display: flex; justify-content: space-around; height: 70px; }
.streams i { width: 3px; height: 100%; background: repeating-linear-gradient(to bottom, var(--aqua) 0 8px, transparent 8px 22px); opacity: .8; animation: fall 1s linear infinite; } .streams i:nth-child(2n) { animation-delay: -.4s; } .streams i:nth-child(3n) { animation-delay: -.7s; }
@keyframes fall { to { background-position: 0 22px; } }
.datacard { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: var(--surface2); border: 1px solid var(--line2); } .datacard .ic { width: 30px; height: 30px; color: var(--aqua); } .datacard small { display: block; color: var(--muted); }
.chart { width: 100%; height: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 10px; }
.line-draw { stroke-dasharray: 1100; stroke-dashoffset: 1100; } .scene.on .line-draw { animation: draw 2s ease-out forwards; }
.flag { opacity: 0; transform-box: fill-box; transform-origin: center; } .scene.on .flag { animation: flagin .6s 1.4s ease-out forwards, pulse 2s 2s ease-out infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } } @keyframes flagin { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: scale(1); } }
.why-bars { display: grid; gap: 10px; } .why-bars b { font-size: 14px; color: var(--sec); }
.wb { display: grid; grid-template-columns: 170px 1fr; gap: 12px; align-items: center; font-size: 14px; color: var(--sec); }
.wb i { display: block; height: 8px; border-radius: 99px; background: var(--grad); width: 0; transition: width 1s ease .8s; } .scene.on .wb i { width: var(--w); }
.chatvis { gap: 12px; } .bubble { max-width: 86%; padding: 14px 16px; border-radius: 18px; font-size: 15.5px; line-height: 1.55; }
.bubble.me { justify-self: end; background: var(--grad); color: #04102e; border-bottom-right-radius: 4px; font-weight: 600; }
.bubble.bot { background: var(--surface2); border: 1px solid var(--line2); border-bottom-left-radius: 4px; position: relative; min-height: 54px; }
.bubble .answer { opacity: 0; transition: opacity .5s ease 1.6s; } .scene.on .bubble .answer { opacity: 1; }
.typing { position: absolute; left: 16px; top: 18px; display: flex; gap: 5px; opacity: 1; transition: opacity .3s ease 1.5s; } .scene.on .typing { opacity: 0; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--sec); animation: tdot 1s infinite; } .typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes tdot { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-4px); } }
.chips2 { display: flex; flex-wrap: wrap; gap: 8px; opacity: 0; transition: opacity .5s ease 2.2s; } .scene.on .chips2 { opacity: 1; }
.chips2 span { font-size: 12.5px; font-weight: 650; padding: 4px 12px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); }
.opts { display: grid; gap: 10px; } .opt { display: grid; grid-template-columns: 34px 1fr 40%; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--surface2); border: 1px solid var(--line); font-size: 15px; }
.opt b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line2); } .opt i { display: block; height: 8px; border-radius: 99px; background: var(--line2); position: relative; overflow: hidden; } .opt i::after { content: ""; position: absolute; inset: 0; width: 0; background: var(--grad); transition: width 1s ease .5s; } .scene.on .opt i::after { width: var(--w); }
.opt.best { border-color: var(--aqua); box-shadow: 0 0 0 3px color-mix(in srgb, var(--aqua) 20%, transparent); }
.draft { position: relative; padding: 18px; border-radius: 16px; border: 1px dashed var(--line2); background: var(--surface); } .draft b { display: block; } .draft small { color: var(--muted); }
.stamp { position: absolute; right: 12px; top: -12px; padding: 3px 12px; border-radius: 999px; background: var(--watch-soft); color: var(--watch); font-size: 12px; font-weight: 700; }
.sigs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } .sig { display: grid; justify-items: center; gap: 4px; padding: 26px 10px; border-radius: 18px; background: var(--surface2); border: 1px solid var(--line2); opacity: .4; transform: scale(.94); transition: .5s ease; } .sig .ic { width: 38px; height: 38px; color: var(--ok); } .sig small { color: var(--muted); }
.scene.on .sig.s1 { opacity: 1; transform: none; transition-delay: .3s; border-color: var(--ok); } .scene.on .sig.s2 { opacity: 1; transform: none; transition-delay: 1s; border-color: var(--ok); }
.unlock { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line2); color: var(--muted); transition: .5s ease 1.7s; } .scene.on .unlock { background: var(--ok-soft); color: var(--ok); border-color: var(--ok); }
.act { grid-template-columns: 250px 1fr; align-items: center; gap: 26px; }
.phone2 { position: relative; padding: 38px 14px 16px; border-radius: 34px; background: #0a1226; border: 6px solid #1a2a55; box-shadow: var(--shadow); } .phone2 .notch { position: absolute; top: 8px; left: 50%; width: 70px; height: 8px; margin-left: -35px; border-radius: 6px; background: #1a2a55; }
.qr { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px; background: var(--ok-soft); color: var(--ok); font-size: 13.5px; font-weight: 650; margin-bottom: 10px; }
.ck { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; } .ck li { position: relative; padding: 10px 12px 10px 38px; border-radius: 12px; background: var(--surface2); font-size: 14px; }
.ck li::before { content: ""; position: absolute; left: 12px; top: 11px; width: 16px; height: 16px; border-radius: 5px; border: 2px solid var(--line2); transition: .3s; } .ck li::after { content: ""; position: absolute; left: 18px; top: 14px; width: 4px; height: 8px; border: solid #04102e; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: .3s; }
.scene.on .ck li::before { background: var(--aqua); border-color: var(--aqua); } .scene.on .ck li::after { transform: rotate(45deg) scale(1); }
.scene.on .ck li:nth-child(1)::before, .scene.on .ck li:nth-child(1)::after { transition-delay: .5s; } .scene.on .ck li:nth-child(2)::before, .scene.on .ck li:nth-child(2)::after { transition-delay: 1.1s; } .scene.on .ck li:nth-child(3)::before, .scene.on .ck li:nth-child(3)::after { transition-delay: 1.7s; }
.wavebars { display: flex; align-items: center; gap: 3px; height: 34px; margin: 12px 0 2px; } .wavebars i { width: 4px; height: 10px; border-radius: 3px; background: var(--grad); animation: eq 1.1s ease-in-out infinite; } .wavebars i:nth-child(2n) { animation-delay: -.3s; } .wavebars i:nth-child(3n) { animation-delay: -.6s; } .wavebars i:nth-child(5n) { animation-delay: -.9s; }
@keyframes eq { 0%, 100% { height: 6px; } 50% { height: 30px; } }
.done-badge { padding: 20px; border-radius: 18px; background: var(--surface2); border: 1px solid var(--line2); font-weight: 650; color: var(--sec); }

/* horizontal scroll */
.hscroll { position: relative; height: calc(var(--n) * 90vh + 100vh); background: var(--bg2); }
.hscroll .pin { flex-direction: column; justify-content: center; gap: 28px; }
.hs-head h2 { font-size: clamp(28px, 3.6vw, 46px); max-width: 24ch; font-weight: 780; } .sub { margin-top: 12px; color: var(--sec); font-size: 18px; }
.track { display: flex; gap: 22px; padding-inline: max(20px, calc((100vw - 1200px) / 2)); width: max-content; transform: translate3d(var(--tx, 0px), 0, 0); will-change: transform; }
.hs-card { position: relative; flex: none; width: min(480px, 82vw); min-height: 400px; padding: 30px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line2); box-shadow: var(--shadow); overflow: hidden; }
.hs-card::before { content: ""; position: absolute; inset: auto -30% -50% auto; width: 80%; aspect-ratio: 1; border-radius: 50%; background: var(--g, var(--aqua)); filter: blur(70px); opacity: .22; }
.hs-card.c1 { --g: #22d3ee; } .hs-card.c2 { --g: #8b5cf6; } .hs-card.c3 { --g: #f472b6; } .hs-card.c4 { --g: #3b82f6; } .hs-card.c5 { --g: #2dd4bf; }
.hs-card .num { font-size: 54px; font-weight: 800; letter-spacing: -0.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; }
.hs-card h3 { font-size: 28px; margin: 2px 0 16px; } .kv { margin-top: 14px; } .kv b { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; } .kv p { color: var(--ink); font-size: 15.5px; line-height: 1.5; }
.hs-foot { display: grid; gap: 10px; } .hs-prog { height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; } .hs-prog i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--p, 0)); background: var(--grad); }

/* platform demos */
.plat-grid { grid-template-columns: 330px 1fr; }
.demo { display: grid; gap: 14px; align-content: start; } .demo h4 { font-size: 22px; } .demo .lead { color: var(--sec); font-size: 15.5px; max-width: 62ch; } .demo .ill { font-size: 12px; color: var(--muted); }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tile { position: relative; text-align: left; padding: 11px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface2); cursor: pointer; transition: border-color .2s, transform .2s; } .tile:hover { transform: translateY(-2px); border-color: var(--line2); }
.tile small { display: block; color: var(--muted); font-size: 12px; margin-bottom: 2px; } .tile i { position: absolute; top: 11px; right: 11px; width: 10px; height: 10px; border-radius: 50%; background: var(--ok); transition: background .4s; }
.tile.watch i { background: var(--watch); } .tile.alert i { background: var(--alert); animation: pulseDot 2s infinite; } .tile.flash { animation: flash .9s ease; }
.tile svg { width: 100%; height: 24px; } .tile path { fill: none; stroke: var(--aqua); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .85; } .tile[aria-pressed="true"] { border-color: var(--aqua); background: color-mix(in srgb, var(--aqua) 12%, var(--surface2)); }
@keyframes pulseDot { 0%, 100% { box-shadow: 0 0 0 3px var(--alert-soft); } 50% { box-shadow: 0 0 0 8px transparent; } } @keyframes flash { 0% { background: color-mix(in srgb, var(--aqua) 30%, var(--surface2)); } 100% { background: var(--surface2); } }
.summary { display: flex; gap: 10px; flex-wrap: wrap; } .summary span { padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 650; background: var(--surface2); border: 1px solid var(--line); } .summary .sa { color: var(--alert); } .summary .sw2 { color: var(--watch); } .summary .so { color: var(--ok); }
.why { padding: 14px 16px; border-radius: 16px; background: var(--surface2); border: 1px solid var(--line); } .why h5 { margin: 0 0 8px; font-size: 14.5px; } .bar { display: grid; grid-template-columns: 150px 1fr; gap: 12px; align-items: center; margin-top: 6px; font-size: 13.5px; color: var(--sec); } .bar span { display: block; height: 7px; border-radius: 99px; background: var(--line); overflow: hidden; } .bar span i { display: block; height: 100%; background: var(--grad); border-radius: 99px; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; } .presets button, .qchips button, .rolepick button { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line2); background: var(--surface2); cursor: pointer; font-weight: 600; font-size: 14px; transition: background .2s, border-color .2s; } .presets button:hover, .qchips button:hover, .rolepick button:hover { border-color: var(--aqua); }
.presets button[aria-pressed="true"], .rolepick button[aria-pressed="true"] { background: var(--grad); color: #04102e; border-color: transparent; }
.plantviz { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; align-items: end; } .pu { display: grid; gap: 6px; justify-items: center; font-size: 12px; color: var(--sec); text-align: center; } .pu .tankbox { position: relative; width: 100%; height: 96px; border-radius: 12px; border: 1px solid var(--line2); background: var(--surface); overflow: hidden; }
.pu .tankbox i { position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: var(--ok); opacity: .85; transition: height .5s ease, background .4s; } .pu.warn .tankbox i { background: var(--watch); } .pu.fail .tankbox i { background: var(--alert); animation: pulseDot 1.6s infinite; } .pu em { font-style: normal; font-weight: 700; font-size: 12px; }
.pu.fail em { color: var(--alert); } .pu.warn em { color: var(--watch); } .pu.ok em { color: var(--ok); }
.sliders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; } .sl label { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--sec); } .sl input { width: 100%; accent-color: var(--aqua); }
.fixes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; } .fix { padding: 10px; border-radius: 12px; background: var(--surface2); border: 1px solid var(--line); font-size: 12.5px; } .fix b { display: block; font-size: 13px; margin-bottom: 2px; } .fix.best { border-color: var(--aqua); box-shadow: 0 0 0 3px color-mix(in srgb, var(--aqua) 18%, transparent); } .fix span { color: var(--muted); }
.verdict { padding: 10px 14px; border-radius: 12px; font-weight: 650; font-size: 14px; background: var(--ok-soft); color: var(--ok); } .verdict.warn { background: var(--watch-soft); color: var(--watch); } .verdict.fail { background: var(--alert-soft); color: var(--alert); }
.chatbox { display: grid; gap: 10px; max-height: 240px; overflow-y: auto; padding-right: 4px; } .qchips { display: flex; flex-wrap: wrap; gap: 8px; }
.msg { max-width: 90%; padding: 12px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.55; } .msg.me { justify-self: end; background: var(--grad); color: #04102e; border-bottom-right-radius: 4px; font-weight: 600; } .msg.bot { background: var(--surface2); border: 1px solid var(--line2); border-bottom-left-radius: 4px; }
.msg .chips2 { opacity: 1; margin-top: 8px; transition: none; }
.coachbox { display: grid; grid-template-columns: 230px 1fr; gap: 22px; align-items: center; } .screen { border-radius: 30px; padding: 30px 12px 14px; background: #0a1226; border: 6px solid #1a2a55; } .screen h6 { margin: 0 0 10px; font-size: 15px; } .screen ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; } .screen li { padding: 9px 10px; border-radius: 11px; background: var(--surface2); font-size: 14px; border: 1px solid transparent; transition: .3s; } .screen li.on { border-color: var(--aqua); background: color-mix(in srgb, var(--aqua) 14%, var(--surface2)); font-weight: 650; }
.cbtn { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; } .cbtn button { padding: 9px 0; border-radius: 10px; border: 1px solid var(--line2); background: var(--surface2); cursor: pointer; font-size: 13px; font-weight: 700; } .cbtn button.go { background: var(--grad); color: #04102e; border-color: transparent; }
.seg { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--surface2); border: 1px solid var(--line); } .seg button { border: 0; background: transparent; color: var(--sec); font-weight: 600; padding: 6px 14px; border-radius: 8px; cursor: pointer; } .seg button.on { background: var(--surface); color: var(--ink); }
.coach-side { display: grid; gap: 12px; } .note { font-size: 13.5px; color: var(--muted); }
.wavebars.paused i { animation-play-state: paused; height: 6px; }
.taskcard { padding: 16px; border-radius: 18px; background: var(--surface2); border: 1px solid var(--line2); display: grid; gap: 10px; } .taskcard h5 { margin: 0; font-size: 17px; } .tl { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; } .tl span { padding: 8px 4px; text-align: center; font-size: 12px; font-weight: 650; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); transition: .3s; } .tl span.done { background: var(--ok-soft); color: var(--ok); border-color: var(--ok); } .tl span.now { border-color: var(--aqua); color: var(--ink); }
.tact { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .tact button { padding: 9px 14px; border-radius: 12px; border: 1px solid var(--line2); background: var(--surface); cursor: pointer; font-weight: 650; font-size: 14px; } .tact button:hover:not(:disabled) { border-color: var(--aqua); } .tact button:disabled { opacity: .4; cursor: not-allowed; } .tact input { padding: 9px 12px; border-radius: 12px; border: 1px solid var(--line2); background: var(--surface); color: var(--ink); min-width: 150px; font: inherit; }
.tcheck { display: grid; gap: 6px; } .tcheck label { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--surface); font-size: 14px; } .tcheck input { width: 18px; height: 18px; accent-color: var(--aqua); }
.tmsg { min-height: 22px; font-size: 14px; font-weight: 600; } .tmsg.bad { color: var(--alert); } .tmsg.good { color: var(--ok); }
.rolepick { display: flex; flex-wrap: wrap; gap: 8px; } .perms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; } .perm { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; background: var(--surface2); border: 1px solid var(--line); font-size: 14.5px; opacity: .45; transition: .3s; } .perm.yes { opacity: 1; border-color: var(--ok); background: var(--ok-soft); } .perm .mk { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: var(--line2); color: var(--sec); } .perm.yes .mk { background: var(--ok); color: #04102e; }

/* sections shared */
.sec { padding: 100px 0; } .sec.alt { background: var(--bg2); }
.sec h2 { font-size: clamp(30px, 3.8vw, 48px); max-width: 22ch; font-weight: 780; }
.cards { display: grid; gap: 20px; margin-top: 40px; } .cards.three { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--glass); border: 1px solid var(--line2); border-radius: 22px; padding: 28px; backdrop-filter: blur(8px); transition: border-color .25s, box-shadow .25s; transform-style: preserve-3d; will-change: transform; }
.card:hover { border-color: var(--aqua); box-shadow: 0 20px 60px rgba(34, 211, 238, .12); }
.card h3 { font-size: 20px; margin-bottom: 10px; } .card p { color: var(--sec); font-size: 16px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; margin-bottom: 12px; } .tag.ok { background: var(--ok-soft); color: var(--ok); } .tag.watch { background: var(--watch-soft); color: var(--watch); } .tag.plan { background: color-mix(in srgb, var(--violet) 22%, transparent); color: var(--violet); }
.sec.dark { background: radial-gradient(900px 500px at 80% 0%, rgba(139, 92, 246, .18), transparent 60%), var(--bg); }
.proof { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; margin-top: 40px; } .proof > div { background: var(--glass); border: 1px solid var(--line2); border-radius: 24px; padding: 32px; backdrop-filter: blur(8px); } .proof h3 { font-size: 22px; margin-bottom: 8px; }
.meters { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 22px 0; } .meter { position: relative; padding: 16px 16px 22px; border-radius: 16px; background: var(--surface2); overflow: hidden; } .meter b { display: block; font-size: 36px; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; } .meter span { display: block; margin-top: 6px; color: var(--sec); font-size: 14px; }
.meter i { position: absolute; left: 0; bottom: 0; height: 5px; width: var(--v); background: var(--grad); border-radius: 0 5px 5px 0; transform: scaleX(0); transform-origin: left; transition: transform 1.2s ease; } .meter.in i { transform: none; } .meter i.low { background: var(--watch); }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; } .ticks li { position: relative; padding-left: 30px; color: var(--sec); font-size: 16px; } .ticks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: color-mix(in srgb, var(--teal) 22%, transparent); } .ticks li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 5px; height: 9px; border: solid var(--teal); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(.9); } .ticks b { color: var(--ink); }
.meters + .fine, .ticks + .fine { margin-top: 16px; }
.cta-band { position: relative; overflow: hidden; background: var(--grad); background-size: 160% 160%; animation: shimmer 14s linear infinite alternate; color: #04102e; padding: 84px 0; }
.cta-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; } .cta-band h2 { font-size: clamp(30px, 4vw, 50px); } .cta-band p { margin-top: 10px; max-width: 52ch; font-weight: 500; }
.cta-band .btn.primary { background: #04102e; color: #fff; box-shadow: 0 14px 34px rgba(4, 16, 46, .4); } .cta-band .btn.ghost { border-color: rgba(4, 16, 46, .4); color: #04102e; background: rgba(255, 255, 255, .25); }
.drops i { position: absolute; top: -20px; width: 14px; height: 20px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: rgba(255, 255, 255, .45); animation: fallD 7s linear infinite; } .drops i:nth-child(1) { left: 8%; } .drops i:nth-child(2) { left: 24%; animation-delay: -2s; } .drops i:nth-child(3) { left: 44%; animation-delay: -4s; } .drops i:nth-child(4) { left: 62%; animation-delay: -1s; } .drops i:nth-child(5) { left: 78%; animation-delay: -5s; } .drops i:nth-child(6) { left: 92%; animation-delay: -3s; }
@keyframes fallD { to { transform: translateY(420px); opacity: 0; } }
.foot { background: #030818; color: #8fa0c6; padding: 40px 0; font-size: 14px; } .foot .brand { color: #fff; } .foot-in { display: grid; grid-template-columns: 1fr 2fr auto; gap: 32px; align-items: start; } .foot-note { margin-top: 8px; } .foot a { color: #cfe0ff; }

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--rd, 0) * 90ms); } .reveal.in { opacity: 1; transform: none; }

/* reduced motion: no pinning, no animation */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .w { opacity: 1; transform: none; } .reveal { opacity: 1; transform: none; }
  .story, .hscroll, .scrub { height: auto; } .pin, .scrub-pin { position: static; height: auto; padding: 48px 0; }
  .scene { position: relative; visibility: visible; opacity: 1; transform: none; pointer-events: auto; margin-bottom: 14px; } .stage { min-height: 0; } .story-list p { max-height: none; opacity: 1; margin-top: 4px; } .story-list button { opacity: 1; }
  .line-draw { stroke-dashoffset: 0; } .flag, .scene .bubble .answer, .scene .chips2, .scene .sig { opacity: 1; }
  .scene .typing { opacity: 0; } .scene .sig { transform: none; }
  .scene .wb i, .scene .opt i::after { width: var(--w); }
  .track { transform: none; overflow-x: auto; width: auto; } .scrub-text .sw { color: var(--ink); }
}

/* responsive */
@media (max-width: 1000px) {
  .hero-in, .proof, .foot-in, .story-grid, .plat-grid, .coachbox, .act { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); } .cards.three { grid-template-columns: 1fr; }
  .nav nav { display: none; } .sec { padding: 64px 0; }
  .story-list { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; } .story-list li { flex: none; } .story-list li button { grid-template-columns: 34px auto; padding: 8px 12px; } .story-list b { width: 32px; height: 32px; font-size: 13px; } .story-list p { display: none; } .story-list li.on button { transform: none; } .story-list h3 { font-size: 15px; white-space: nowrap; }
  .stage, .stage.big { min-height: 420px; } .plat-grid .story-list.compact p { display: none; }
  .f1 { left: 4%; } .f2 { right: 0; } .hero { min-height: 0; padding-top: 40px; } .scroll-cue { display: none; }
  .story-head h2 { font-size: 26px; } .pin { align-items: flex-start; padding-top: 74px; }
  .fixes { grid-template-columns: repeat(2, 1fr); } .sliders { grid-template-columns: 1fr; } .tiles { grid-template-columns: repeat(3, 1fr); }
  .act { gap: 14px; } .phone2 { max-width: 260px; margin-inline: auto; }
}
@media (max-width: 560px) {
  .stats b { font-size: 40px; } .meters { grid-template-columns: 1fr; } .link-quiet, .float { display: none; } .tiles { grid-template-columns: repeat(2, 1fr); } .perms { grid-template-columns: 1fr; } .plantviz { gap: 4px; } .bar { grid-template-columns: 110px 1fr; } .wb { grid-template-columns: 110px 1fr; } .scene { padding: 16px; } .pu { font-size: 11px; } .tl span { font-size: 10.5px; padding: 6px 2px; }
}

/* platform demos: content starts at the top of the stage and scrolls inside it if a window is short */
.stage.big { min-height: 560px; }
.stage.big .scene { align-content: start; overflow-y: auto; padding: 24px; scrollbar-width: thin; }
.demo { gap: 10px; } .pu .tankbox { height: 64px; } .plantviz { margin-top: 2px; }
.demo .ill { margin-top: 2px; }
