/* Savy landing — no external requests. Dark by design (space theme). */
:root {
  color-scheme: dark;
  --bg: #050816;
  --bg-2: #0a1026;
  --bg-3: #0f1733;
  --ink: #edf1fb;
  --ink-2: #c3cbe2;
  --muted: #8d98b8;
  --line: rgba(160, 180, 255, .12);
  --card: rgba(16, 24, 52, .72);
  --card-solid: #111a39;
  --mint: #5ef2c8;
  --sky: #4cc3ff;
  --violet: #a487ff;
  --amber: #ffc46b;
  --rose: #ff7a9a;
  --grad: linear-gradient(100deg, var(--mint) 0%, var(--sky) 45%, var(--violet) 100%);
  --radius: 18px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .75), 0 0 0 1px var(--line);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; }
.hero__lead, .section-lead, .launch p { text-wrap: pretty; }
h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); font-weight: 750; }
p { margin: 0; }
.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.eyebrow {
  font-size: .78rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase;
  color: var(--mint); margin-bottom: 18px;
}
.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ── buttons ─────────────────────────────────────────── */
.btn {
  --b: rgba(255, 255, 255, .14);
  display: inline-flex; align-items: center; gap: .55em;
  padding: .9em 1.5em; border-radius: 999px;
  font-weight: 650; font-size: 1rem; text-decoration: none; white-space: nowrap;
  border: 1px solid var(--b); color: var(--ink);
  transition: transform .2s ease, box-shadow .25s ease, background-color .25s ease, border-color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
.btn--primary {
  border: 0; color: #04121a;
  background: linear-gradient(100deg, var(--mint), var(--sky));
  box-shadow: 0 10px 40px -10px rgba(94, 242, 200, .65), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.btn--primary:hover { box-shadow: 0 16px 50px -10px rgba(76, 195, 255, .8), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn--primary span { transition: transform .2s ease; }
.btn--primary:hover span { transform: translateX(4px); }
.btn--ghost { background: rgba(255, 255, 255, .04); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); }
.btn--small { padding: .55em 1.1em; font-size: .9rem; background: rgba(94, 242, 200, .12); border-color: rgba(94, 242, 200, .35); }
.btn--small:hover { background: rgba(94, 242, 200, .2); }
.btn--big { font-size: 1.15rem; padding: 1em 1.9em; }

/* ── top bar ─────────────────────────────────────────── */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter);
  transition: background-color .3s ease, backdrop-filter .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.topbar.is-scrolled {
  background: rgba(5, 8, 22, .72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark {
  position: relative; width: 26px; height: 26px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #fff 0 8%, var(--mint) 26%, var(--sky) 58%, var(--violet) 100%);
  box-shadow: 0 0 18px rgba(94, 242, 200, .45);
}
.brand__mark::after {
  content: ""; position: absolute; inset: 7px -7px; border-radius: 50%;
  border: 1.5px solid rgba(237, 241, 251, .75); transform: rotate(-22deg);
}
.brand__word { font-weight: 800; font-size: 1.35rem; letter-spacing: -.04em; }
.brand__tld { color: var(--mint); font-weight: 700; letter-spacing: -.02em; }
.brand--small .brand__mark { width: 20px; height: 20px; }
.brand--small .brand__mark::after { inset: 5px -5px; }
.brand--small .brand__word { font-size: 1.1rem; }
.topbar__nav { display: flex; align-items: center; gap: clamp(10px, 2.4vw, 26px); }
.topbar__link { text-decoration: none; color: var(--ink-2); font-size: .95rem; font-weight: 550; }
.topbar__link:hover { color: var(--ink); }

/* ── hero + sky ──────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center;
  padding: 120px var(--gutter) 90px;
  overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 80% at 50% 0%, #0d1640 0%, var(--bg) 60%);
}
.sky, .launch__sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sky__layer {
  position: absolute; inset: -20% 0 -40% 0;
  will-change: transform;
  /* fallback when JS does not paint the starfield */
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,.8) 50%, transparent 52%),
    radial-gradient(1px 1px at 68% 42%, rgba(255,255,255,.6) 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 38% 74%, rgba(255,255,255,.7) 50%, transparent 52%),
    radial-gradient(1px 1px at 86% 12%, rgba(255,255,255,.5) 50%, transparent 52%);
  background-size: 340px 340px;
}
.sky__layer--mid { opacity: .8; background-size: 520px 520px; }
.sky__layer--near { opacity: .9; background-size: 760px 760px; }
.sky__layer.is-painted { background-size: auto; }
.sky__glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(40% 35% at 18% 30%, rgba(164, 135, 255, .22), transparent 70%),
    radial-gradient(38% 40% at 85% 65%, rgba(76, 195, 255, .18), transparent 70%),
    radial-gradient(30% 30% at 55% 95%, rgba(94, 242, 200, .14), transparent 70%);
  will-change: transform;
}
.planet {
  position: absolute; right: -12vmin; bottom: -26vmin;
  width: 62vmin; height: 62vmin; border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,.55), transparent 22%),
    radial-gradient(circle at 34% 32%, #7e90ff 0%, #4251c9 28%, #1d2370 55%, #090b2a 78%);
  box-shadow: inset -30px -40px 80px rgba(0, 0, 0, .7), 0 0 120px rgba(90, 110, 255, .35);
  will-change: transform;
}
.planet__ring {
  position: absolute; left: -26%; right: -26%; top: 40%; height: 22%;
  border-radius: 50%;
  border: 2px solid rgba(160, 200, 255, .35);
  border-top-color: transparent;
  transform: rotate(-16deg);
  box-shadow: 0 0 30px rgba(120, 170, 255, .25);
}
.orbits { position: absolute; left: 50%; top: 46%; width: 0; height: 0; will-change: transform; }
.orbit {
  position: absolute; left: 50%; top: 50%;
  border: 1px solid rgba(160, 180, 255, .1); border-radius: 50%;
  transform: translate(-50%, -50%) rotateX(68deg);
}
.orbit--1 { width: 70vmin; height: 70vmin; }
.orbit--2 { width: 104vmin; height: 104vmin; }
.orbit--3 { width: 140vmin; height: 140vmin; border-style: dashed; border-color: rgba(160, 180, 255, .07); }
.orbit i {
  position: absolute; left: 50%; top: 50%; width: 100%; height: 100%;
  transform: translate(-50%, -50%); animation: spin 26s linear infinite;
}
.orbit--2 i { animation-duration: 40s; animation-direction: reverse; }
.orbit--3 i { animation-duration: 64s; }
.orbit i::before {
  content: ""; position: absolute; left: 50%; top: -4px; width: 8px; height: 8px; margin-left: -4px;
  border-radius: 50%; background: var(--mint); box-shadow: 0 0 14px var(--mint);
}
.orbit--2 i::before { background: var(--violet); box-shadow: 0 0 14px var(--violet); }
.orbit--3 i::before { background: var(--sky); box-shadow: 0 0 14px var(--sky); width: 6px; height: 6px; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.hero__content { position: relative; z-index: 1; text-align: center; max-width: 1040px; will-change: transform; }
.hero__title { font-size: clamp(2.4rem, 5.4vw, 4.75rem); font-weight: 820; letter-spacing: -.045em; }
.hero__lead { margin: 26px auto 0; max-width: 660px; color: var(--ink-2); font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.hero__cta { margin-top: 36px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__note { margin-top: 18px; color: var(--muted); font-size: .9rem; }

.hero__floaters { position: absolute; inset: 0; pointer-events: none; }
.float { position: absolute; will-change: transform; }
.float--task { left: 3%; top: 17%; }
.float--ai { right: 3%; top: 15%; }
.float--timer { left: 6%; bottom: 14%; }
.float--invoice { right: 9%; bottom: 12%; }
.float > * { animation: bob 7s ease-in-out infinite; }
.float--ai > * { animation-delay: -2s; }
.float--timer > * { animation-delay: -4s; }
.float--invoice > * { animation-delay: -1s; }
@keyframes bob { 50% { transform: translateY(-10px); } }

.mini-card {
  width: 250px; padding: 14px 16px; border-radius: 16px;
  background: var(--card); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow); font-size: .85rem;
}
.mini-card--ai { width: 270px; }
.mini-card--row { width: auto; display: flex; align-items: center; gap: 10px; padding: 10px 14px; white-space: nowrap; }
.mini-card__row { display: flex; align-items: center; gap: 10px; }
.mini-card__title { font-weight: 650; }
.mini-card__title em { font-style: normal; font-weight: 500; color: var(--violet); margin-left: 6px; font-size: .78rem; }
.mini-card__meta { display: flex; justify-content: space-between; align-items: center; margin: 12px 0 10px; }
.mini-card__text { margin: 10px 0 12px; color: var(--ink-2); line-height: 1.45; }
.mini-card__actions { display: flex; gap: 8px; }
.mini-card__muted { color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot--sky { background: var(--sky); box-shadow: 0 0 10px var(--sky); }
.pill { font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; letter-spacing: .02em; }
.pill--sky { color: var(--sky); background: rgba(76, 195, 255, .14); }
.pill--mint { color: var(--mint); background: rgba(94, 242, 200, .14); }
.chip { font-size: .75rem; padding: 4px 10px; border-radius: 8px; background: rgba(255,255,255,.06); color: var(--ink-2); }
.chip--ok { background: rgba(94, 242, 200, .16); color: var(--mint); font-weight: 650; }
.avatar {
  display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  font-size: .7rem; font-weight: 750; color: #0a1026; background: linear-gradient(135deg, var(--amber), var(--rose)); flex: none;
}
.avatar--ai { color: #fff; background: linear-gradient(135deg, var(--violet), var(--sky)); box-shadow: 0 0 14px rgba(164,135,255,.55); }
.bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.07); overflow: hidden; }
.bar span { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--grad); }
.timer-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--rose); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }

.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px;
  border: 1.5px solid rgba(255,255,255,.3); border-radius: 14px;
}
.scroll-hint span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px;
  background: var(--ink); animation: hint 1.8s ease-in-out infinite;
}
@keyframes hint { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ── scrolly scaffolding ─────────────────────────────── */
.scrolly { position: relative; }
.scrolly--fan { height: 300vh; }
.scrolly--ai { height: 420vh; }
.scrolly__stage {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  overflow: hidden;
}
.section-head { max-width: 760px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-lead { margin-top: 20px; color: var(--ink-2); font-size: 1.12rem; max-width: 620px; }

/* ── fan-out cards ───────────────────────────────────── */
.scrolly--fan {
  background:
    radial-gradient(60% 50% at 50% 60%, rgba(76, 195, 255, .08), transparent 70%),
    linear-gradient(var(--bg), var(--bg-2));
}
.scrolly--fan .scrolly__stage { --e: 0; display: grid; grid-template-rows: auto 1fr; padding: 96px var(--gutter) 24px; }
.fan-head { opacity: calc(.35 + var(--e) * 1.2); transform: translateY(calc((1 - var(--e)) * 20px)); }
.fan { position: relative; }
.fan-card {
  --card-w: min(300px, 27vw);
  --card-h: 180px;
  position: absolute; left: 50%; top: 50%;
  width: var(--card-w); height: var(--card-h);
  padding: 18px 20px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(30, 42, 88, .92), rgba(14, 21, 48, .95));
  box-shadow: var(--shadow);
  transform:
    translate(-50%, -50%)
    translate(calc(var(--tx) * var(--e) * 1%), calc(var(--ty) * var(--e) * 1%))
    rotate(calc(var(--r0) * (1 - var(--e)) * 1deg))
    scale(calc(.88 + var(--e) * .12));
  will-change: transform;
}
.fan-card:nth-child(1) { --tx: -108; --ty: -58; --r0: -14; z-index: 1; }
.fan-card:nth-child(2) { --tx: 0;    --ty: -58; --r0: -6;  z-index: 2; }
.fan-card:nth-child(3) { --tx: 108;  --ty: -58; --r0: 4;   z-index: 3; }
.fan-card:nth-child(4) { --tx: -108; --ty: 58;  --r0: 12;  z-index: 4; }
.fan-card:nth-child(5) { --tx: 0;    --ty: 58;  --r0: -2;  z-index: 5; }
.fan-card:nth-child(6) { --tx: 108;  --ty: 58;  --r0: 8;   z-index: 6; }
.fan-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.12rem; letter-spacing: -.01em; }
.fan-card p { margin-top: 6px; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.ico { width: 26px; height: 26px; border-radius: 8px; flex: none; background: rgba(255,255,255,.07); position: relative; }
.ico::after { content: ""; position: absolute; inset: 7px; border-radius: 3px; }
.ico--projects::after { background: var(--sky); }
.ico--boards::after { background: linear-gradient(90deg, var(--mint) 30%, transparent 30% 40%, var(--mint) 40% 70%, transparent 70% 80%, var(--mint) 80%); }
.ico--timeline::after { inset: 8px 5px; height: 3px; background: var(--violet); box-shadow: 0 6px 0 var(--violet); border-radius: 2px; }
.ico--time::after { border-radius: 50%; border: 2px solid var(--amber); background: none; }
.ico--money::after { background: linear-gradient(0deg, var(--mint) 0 40%, transparent 40%), linear-gradient(90deg, transparent 33%, var(--mint) 33% 66%, transparent 66%); }
.ico--portal::after { border-radius: 50%; background: var(--rose); inset: 8px; }

.viz { position: absolute; left: 20px; right: 20px; bottom: 18px; height: 54px; }
.viz--list { display: grid; gap: 7px; align-content: end; }
.viz--list i { display: block; height: 8px; width: var(--w); border-radius: 4px; background: rgba(76, 195, 255, .35); }
.viz--kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-items: end; }
.viz--kanban b { display: grid; gap: 5px; align-content: end; }
.viz--kanban i { display: block; height: 13px; border-radius: 4px; background: rgba(94, 242, 200, .3); }
.viz--gantt i { position: absolute; left: var(--l); width: var(--w); height: 9px; border-radius: 5px; background: rgba(164, 135, 255, .45); }
.viz--gantt i:nth-child(1) { top: 2px; } .viz--gantt i:nth-child(2) { top: 16px; background: rgba(76,195,255,.45); }
.viz--gantt i:nth-child(3) { top: 30px; background: rgba(94,242,200,.45); } .viz--gantt i:nth-child(4) { top: 44px; }
.viz--donut { display: flex; align-items: center; gap: 12px; }
.viz--donut span { width: 52px; height: 52px; border-radius: 50%; background: conic-gradient(var(--amber) 0 58%, var(--violet) 58% 82%, rgba(255,255,255,.08) 82%); -webkit-mask: radial-gradient(circle, transparent 52%, #000 53%); mask: radial-gradient(circle, transparent 52%, #000 53%); }
.viz--donut em { font-style: normal; font-family: var(--mono); color: var(--ink-2); }
.viz--bars { display: flex; align-items: flex-end; gap: 8px; }
.viz--bars i { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: linear-gradient(var(--mint), rgba(94,242,200,.2)); }
.viz--portal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.viz--portal span { border-radius: 8px; background: rgba(255, 122, 154, .16); border: 1px solid rgba(255, 122, 154, .25); }

/* ── AI section ─────────────────────────────────────── */
.scrolly--ai { background: linear-gradient(var(--bg-2), var(--bg)); }
.ai {
  --p: 0;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px, 5vw, 80px);
  width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto;
}
.steps { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 10px; }
.step {
  position: relative; padding: 14px 18px 14px 56px; border-radius: 14px;
  color: var(--muted); transition: background-color .35s ease, color .35s ease;
}
.step::before {
  content: attr(data-n);
  position: absolute; left: 16px; top: 14px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font-size: .8rem; font-weight: 750;
  border: 1px solid var(--line); color: var(--muted); transition: all .35s ease;
}
.step b { display: block; color: var(--ink-2); font-size: 1.05rem; margin-bottom: 2px; }
.step span { font-size: .95rem; }
.step.is-active { background: rgba(255,255,255,.045); color: var(--ink-2); }
.step.is-active b { color: var(--ink); }
.step.is-active::before { background: var(--grad); color: #04121a; border-color: transparent; box-shadow: 0 0 18px rgba(94,242,200,.45); }
.step.is-done::before { border-color: rgba(94,242,200,.5); color: var(--mint); }

.device {
  border-radius: 22px; overflow: hidden;
  background: linear-gradient(170deg, #121c40, #0b1230);
  box-shadow: 0 50px 120px -40px rgba(0,0,0,.9), 0 0 0 1px var(--line), 0 0 80px -20px rgba(164,135,255,.35);
  transform: perspective(1200px) rotateY(calc(-8deg + var(--p) * 10deg)) rotateX(calc(4deg - var(--p) * 4deg));
}
.device__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.device__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.12); }
.device__bar span { margin-left: auto; color: var(--muted); font: .8rem var(--mono); }
.device__body { padding: 22px; }
.task-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.task-head__kicker { color: var(--muted); font-size: .8rem; }
.task-head__title { font-size: 1.25rem; margin-top: 4px; letter-spacing: -.015em; }
.status {
  flex: none; font-size: .78rem; font-weight: 750; padding: 5px 12px; border-radius: 999px;
  background: rgba(255,255,255,.08); color: var(--ink-2); transition: all .3s ease;
}
.status[data-state="1"] { background: rgba(76,195,255,.16); color: var(--sky); }
.status[data-state="2"] { background: rgba(255,196,107,.16); color: var(--amber); }
.status[data-state="3"] { background: rgba(94,242,200,.18); color: var(--mint); }
.assignee { display: flex; gap: 12px; align-items: center; margin: 18px 0; }
.assignee .avatar { width: 36px; height: 36px; font-size: .9rem; }
.assignee small { display: block; color: var(--muted); font-size: .8rem; }
.progress { height: 6px; border-radius: 6px; background: rgba(255,255,255,.07); overflow: hidden; }
.progress span { display: block; height: 100%; width: calc(var(--p) * 100%); background: var(--grad); border-radius: inherit; }
.log { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 4px; min-height: 196px; }
.log li {
  display: flex; gap: 12px; font-size: .88rem; color: var(--ink-2);
  padding: 6px 10px; border-radius: 8px;
  opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease;
}
.log li.is-on { opacity: 1; transform: none; }
.log__t { color: var(--muted); font-family: var(--mono); font-size: .8rem; }
.log__ok { background: rgba(94,242,200,.08); color: var(--mint) !important; }

/* ── bands ──────────────────────────────────────────── */
.band { position: relative; padding: clamp(80px, 12vw, 150px) 0; }
.band--alt { background: linear-gradient(var(--bg), var(--bg-2) 50%, var(--bg)); }

.gantt {
  --g: 0;
  position: relative; margin-top: 54px; padding: 22px 22px 44px 190px;
  border-radius: 22px; background: rgba(14, 21, 48, .7); box-shadow: var(--shadow);
}
.gantt__scale { display: grid; grid-template-columns: repeat(8, 1fr); color: var(--muted); font-size: .76rem; margin-bottom: 14px; }
.gantt__row { position: relative; display: block; height: 44px; will-change: transform; }
.gantt__label { position: absolute; left: -168px; top: 50%; transform: translateY(-50%); width: 150px; font-size: .9rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gantt__track { position: absolute; inset: 8px 0; border-radius: 8px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 12.5%); }
.g {
  position: absolute; top: 3px; bottom: 3px; left: var(--l);
  width: calc(var(--w) * var(--g)); border-radius: 7px;
  transition: width .2s linear;
}
.g--sky { background: linear-gradient(90deg, var(--sky), rgba(76,195,255,.55)); }
.g--mint { background: linear-gradient(90deg, var(--mint), rgba(94,242,200,.55)); }
.g--violet { background: linear-gradient(90deg, var(--violet), rgba(164,135,255,.55)); }
.g--amber { background: linear-gradient(90deg, var(--amber), rgba(255,196,107,.55)); }
.g--late { background: repeating-linear-gradient(135deg, var(--rose) 0 8px, rgba(255,122,154,.6) 8px 16px); box-shadow: 0 0 18px rgba(255,122,154,.4); }
.gantt__now { position: absolute; left: 190px; right: 22px; top: 46px; bottom: 30px; pointer-events: none; }
.gantt__today { position: absolute; top: 0; bottom: 0; left: var(--l); width: 2px; background: var(--mint); box-shadow: 0 0 12px var(--mint); opacity: var(--g); }
.gantt__today b { position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%); font-size: .7rem; color: var(--mint); letter-spacing: .1em; text-transform: uppercase; }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 54px; }
.tile {
  position: relative; padding: 30px 28px 32px; border-radius: 22px;
  background: linear-gradient(170deg, rgba(30, 42, 88, .6), rgba(14, 21, 48, .6));
  box-shadow: var(--shadow); overflow: hidden;
}
.tile::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 70%; height: 90%; background: radial-gradient(circle, rgba(94,242,200,.12), transparent 70%); }
.tile__num { font: 700 .85rem var(--mono); color: var(--mint); }
.tile h3 { margin-top: 18px; font-size: 1.5rem; }
.tile p { margin-top: 10px; color: var(--ink-2); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.facts li { padding: 22px 24px; border-radius: 18px; background: rgba(255,255,255,.035); border: 1px solid var(--line); }
.facts b { display: block; font-size: 1.1rem; margin-bottom: 4px; }
.facts span { color: var(--ink-2); }

/* ── reveal ─────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease var(--d, 0s), transform .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.no-js .scrolly--fan .scrolly__stage { --e: 1; }
.no-js .ai { --p: 1; }
.no-js .gantt { --g: 1; }
.no-js .log li { opacity: 1; transform: none; }
.no-js .step { display: block !important; }

/* ── launch ─────────────────────────────────────────── */
.launch {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 90vh; display: grid; place-items: center; text-align: center;
  padding: 120px var(--gutter) 160px;
  background: radial-gradient(90% 70% at 50% 100%, #142060, var(--bg) 70%);
}
.launch__planet {
  --rise: 0;
  position: absolute; left: 50%; bottom: 0; width: 170vmax; height: 170vmax; border-radius: 50%;
  transform: translate(-50%, calc(98% - var(--rise) * 10%));
  background: radial-gradient(circle at 50% 8%, #6f86ff 0%, #2e3aa8 14%, #11164a 32%, #060920 52%);
  box-shadow: 0 -10px 120px rgba(94, 242, 200, .25), 0 -2px 0 rgba(160, 230, 255, .55);
}
.launch__content { position: relative; max-width: 720px; }
.launch h2 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
.launch p { margin: 20px auto 34px; color: var(--ink-2); font-size: 1.15rem; max-width: 600px; }
.launch__note { margin: 22px auto 0 !important; font-size: .92rem !important; color: var(--muted) !important; }

.footer {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  padding: 28px var(--gutter); border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem;
}
.footer__copy { margin-left: auto; }
.footer__link { color: var(--ink-2); text-decoration: none; }
.footer__link:hover { color: var(--ink); }

/* ── responsive ─────────────────────────────────────── */
@media (max-width: 980px) {
  .float--task, .float--timer { left: 3%; }
  .float--ai, .float--invoice { right: 3%; }
  .mini-card { width: 210px; }
  .mini-card--ai { width: 230px; }
}
@media (max-width: 860px) {
  .ai { grid-template-columns: 1fr; align-content: center; gap: 16px; padding-top: 64px; }
  .ai__copy h2 { font-size: clamp(1.45rem, 6vw, 2.2rem); }
  .ai .eyebrow, .assignee { display: none; }
  .task-head__title { font-size: 1.05rem; }
  .progress { margin-top: 14px; }
  .log li { font-size: .82rem; padding: 4px 8px; }
  .steps { margin-top: 16px; }
  .step { display: none; padding: 10px 14px 10px 50px; }
  .step::before { top: 10px; left: 12px; }
  .step.is-active { display: block; }
  .device { transform: none; }
  .device__body { padding: 16px; }
  .log { min-height: 0; }
  .log li:not(.is-on) { display: none; }
  .tiles { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .gantt { padding-left: 22px; padding-top: 18px; }
  .gantt__label { position: static; transform: none; display: block; width: auto; font-size: .8rem; margin-bottom: 4px; }
  .gantt__row { height: 58px; }
  .gantt__track { inset: 24px 0 4px; }
  .gantt__now { left: 22px; right: 22px; top: 40px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .topbar__link[href="#how"] { display: none; }
  .hero { padding-top: 110px; }
  .hero__floaters .float--task, .hero__floaters .float--invoice, .hero__floaters .float--timer, .scroll-hint { display: none; }
  .float--ai { top: auto; bottom: 3%; right: 50%; transform-origin: center; }
  .float--ai > * { margin-right: -115px; }
  .float--timer { left: 50%; bottom: auto; top: 88px; }
  .float--timer > * { margin-left: -90px; }
  .hero__content { margin-bottom: 120px; }
  .scrolly--fan .scrolly__stage { padding-top: 84px; }
  .fan-card { --card-w: calc(50vw - 24px); --card-h: min(140px, 20svh); padding: 12px 14px; }
  .fan-card p { display: none; }
  .fan-card h3 { font-size: .98rem; }
  .ico { width: 22px; height: 22px; }
  .viz { left: 14px; right: 14px; bottom: 12px; height: 40%; }
  .fan-card:nth-child(1) { --tx: -52; --ty: -108; }
  .fan-card:nth-child(2) { --tx: 52;  --ty: -108; }
  .fan-card:nth-child(3) { --tx: -52; --ty: 0; }
  .fan-card:nth-child(4) { --tx: 52;  --ty: 0; }
  .fan-card:nth-child(5) { --tx: -52; --ty: 108; }
  .fan-card:nth-child(6) { --tx: 52;  --ty: 108; }
  .footer__copy { margin-left: 0; }
}
@media (max-width: 380px) {
  .hero__title { font-size: 2.2rem; }
  .btn { padding: .8em 1.2em; }
}

/* ── reduced motion: no parallax, no scroll-scrubbing ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .scrolly--fan, .scrolly--ai { height: auto; }
  .scrolly__stage { position: relative; height: auto; min-height: 100svh; }
  .scrolly--fan .scrolly__stage { --e: 1; }
  .ai { --p: 1; padding-block: 90px; }
  .step { display: block !important; }
  .log li { opacity: 1; transform: none; display: flex !important; }
  .gantt { --g: 1; }
  .reveal { opacity: 1; transform: none; }
}
