/*
 * aycode.app. The brand board in assets/brand, carried to the web: graphite
 * and paper surfaces, one violet accent, SF type with a mono label voice, and
 * the cursor bar from the logo as the page's one recurring flourish.
 * Layout: a centered 1120 px column; the hero ends in a live app window,
 * then agents, features as a bento grid, downloads by platform.
 * Dark is the default look (the app's own); light follows the paper theme.
 */
:root {
  color-scheme: dark;
  --bg: #141416;
  --bg-2: #1b1b1e;
  --panel: #1f1f22;
  --panel-2: #26262a;
  --line: rgb(255 255 255 / 0.08);
  --line-2: rgb(255 255 255 / 0.14);
  --ink: #f4f1fb;
  --ink-2: #c9c6d3;
  --muted: #9e9ba9;
  --faint: #75737f;
  --accent: #8b5cf6;
  --accent-ink: #b9a3fc;
  --accent-bar: #a78bfa;
  --accent-soft: rgb(139 92 246 / 0.14);
  --accent-glow: rgb(139 92 246 / 0.38);
  --on-accent: #ffffff;
  --plus: #4ade80;
  --minus: #f87171;
  --done: #34d399;
  --claude: #d97757;
  --shadow: 0 30px 80px -20px rgb(0 0 0 / 0.65), 0 0 0 1px rgb(255 255 255 / 0.06);

  /* the app window inside the hero follows the app's own dark theme */
  --app-bg: #1e1e1e;
  --app-side: #232325;
  --app-raised: #2a2a2e;
  --app-line: #333336;

  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", "Helvetica Neue", Roboto, Arial, sans-serif;
  --font-ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", "Helvetica Neue", Roboto, Arial, sans-serif;
  --font-mono: "SF Mono", ui-monospace, Menlo, "Cascadia Mono", Consolas, monospace;

  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem);
  --step-hero: clamp(2.75rem, 1.4rem + 5.6vw, 5.5rem);

  --radius: 14px;
  --radius-lg: 22px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: max(16px, env(safe-area-inset-left, 0px));
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --bg: #fbfaf7;
    --bg-2: #f4f2ed;
    --panel: #ffffff;
    --panel-2: #f3f1ec;
    --line: rgb(27 26 32 / 0.08);
    --line-2: rgb(27 26 32 / 0.14);
    --ink: #1b1a20;
    --ink-2: #3a3843;
    --muted: #5f5c68;
    --faint: #8a8794;
    --accent: #7c3aed;
    --accent-ink: #6b2fd6;
    --accent-bar: #8b5cf6;
    --accent-soft: rgb(124 58 237 / 0.09);
    --accent-glow: rgb(139 92 246 / 0.22);
    --plus: #15803d;
    --minus: #dc2626;
    --done: #059669;
    --shadow: 0 30px 70px -24px rgb(40 30 70 / 0.28), 0 0 0 1px rgb(27 26 32 / 0.08);
    --app-bg: #fbfaf7;
    --app-side: #f3f1ec;
    --app-raised: #ffffff;
    --app-line: #e4e0d8;
  }
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #fbfaf7;
  --bg-2: #f4f2ed;
  --panel: #ffffff;
  --panel-2: #f3f1ec;
  --line: rgb(27 26 32 / 0.08);
  --line-2: rgb(27 26 32 / 0.14);
  --ink: #1b1a20;
  --ink-2: #3a3843;
  --muted: #5f5c68;
  --faint: #8a8794;
  --accent: #7c3aed;
  --accent-ink: #6b2fd6;
  --accent-bar: #8b5cf6;
  --accent-soft: rgb(124 58 237 / 0.09);
  --accent-glow: rgb(139 92 246 / 0.22);
  --plus: #15803d;
  --minus: #dc2626;
  --done: #059669;
  --shadow: 0 30px 70px -24px rgb(40 30 70 / 0.28), 0 0 0 1px rgb(27 26 32 / 0.08);
  --app-bg: #fbfaf7;
  --app-side: #f3f1ec;
  --app-raised: #ffffff;
  --app-line: #e4e0d8;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--font-ui);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent-bar); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1168px; margin-inline: auto; padding-inline: var(--gutter); }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--accent); color: var(--on-accent); text-decoration: none; }
.skip:focus { top: 12px; }

/* the logo ships as two images; the theme decides which one shows, never JavaScript */
.mark__light { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .mark__dark { display: none; }
  :root:not([data-theme="dark"]) .mark__light { display: block; }
}
:root[data-theme="light"] .mark__dark { display: none; }
:root[data-theme="light"] .mark__light { display: block; }

.eyebrow {
  font: 600 0.72rem/1 var(--font-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 14px;
}
.h2 { font-size: var(--step-2); line-height: 1.08; letter-spacing: -0.035em; font-weight: 700; max-width: 20ch; }
.lead { color: var(--muted); font-size: var(--step-1); line-height: 1.55; max-width: 60ch; margin-top: 16px; }

/* the cursor bar from the logo: a violet pill that blinks after the hero line */
.cursor {
  display: inline-block;
  width: 0.56em;
  height: 0.17em;
  margin-left: 0.1em;
  border-radius: 99px;
  background: var(--accent-bar);
  vertical-align: 0.02em;
  animation: blink 1.15s steps(1, end) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font: 600 0.95rem/1.2 var(--font-ui);
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms var(--ease), background-color 160ms var(--ease), border-color 160ms var(--ease), box-shadow 200ms var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.22) inset, 0 10px 30px -12px var(--accent-glow);
}
.btn--primary:hover { box-shadow: 0 1px 0 rgb(255 255 255 / 0.22) inset, 0 14px 38px -10px var(--accent-glow); transform: translateY(-1px); }
.btn--ghost { background: var(--panel); color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--faint); }
.btn--small { min-height: 36px; padding: 7px 14px; font-size: 0.875rem; border-radius: 10px; background: var(--ink); color: var(--bg); }
.btn--small:hover { opacity: 0.88; }
.btn__size { font-weight: 500; opacity: 0.72; font-variant-numeric: tabular-nums; }
.btn__size:empty { display: none; }

/* ---------- header ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid var(--line);
}
.top__inner { display: flex; align-items: center; gap: 24px; height: 64px; max-width: 1168px; margin-inline: auto; padding-inline: var(--gutter); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.125rem/1 var(--font-display); letter-spacing: -0.02em; }
.mark { display: inline-flex; }
.mark img { width: 28px; height: 28px; }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 0.925rem; padding: 8px 12px; border-radius: 9px; transition: color 140ms, background-color 140ms; }
.nav a:hover { color: var(--ink); background: var(--panel); }
.top__tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.chip-link { font: 600 0.75rem/1 var(--font-mono); letter-spacing: 0.08em; color: var(--muted); text-decoration: none; padding: 9px 10px; border-radius: 9px; border: 1px solid var(--line); }
.chip-link:hover { color: var(--ink); border-color: var(--line-2); }
.icon-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; }
.icon-btn:hover { color: var(--ink); border-color: var(--line-2); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.icon-btn .i-moon { fill: currentColor; stroke: none; }
.i-sun { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .i-sun { display: block; }
  :root:not([data-theme="dark"]) .i-moon { display: none; }
}
:root[data-theme="light"] .i-sun { display: block; }
:root[data-theme="light"] .i-moon { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; padding-block: 88px 40px; overflow: hidden; isolation: isolate; }
.hero__glow {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 280px;
  width: min(1400px, 160vw);
  height: 900px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, var(--accent-glow), transparent 72%);
  opacity: 0.85;
  pointer-events: none;
}
.hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px 7px 12px;
  border-radius: 99px;
  border: 1px solid var(--line-2);
  background: var(--panel);
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
}
.pill:hover { border-color: var(--faint); }
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--done); box-shadow: 0 0 0 3px color-mix(in srgb, var(--done) 22%, transparent); }
.pill svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; opacity: 0.6; }

.hero__title {
  margin-top: 26px;
  font-size: var(--step-hero);
  line-height: 0.98;
  letter-spacing: -0.052em;
  font-weight: 800;
  max-width: 14ch;
}
.hero__lead { margin-top: 24px; color: var(--muted); font-size: clamp(1.06rem, 0.98rem + 0.4vw, 1.25rem); line-height: 1.55; max-width: 58ch; }

.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.btn--hero { min-height: 60px; padding: 10px 24px 10px 18px; border-radius: 16px; gap: 14px; text-align: left; }
.btn__icon { display: inline-grid; place-items: center; width: 22px; height: 22px; }
.btn__icon svg { width: 22px; height: 22px; fill: currentColor; }
.btn__text { display: flex; flex-direction: column; gap: 3px; }
.btn__label { font-size: 1.02rem; }
.btn__meta { font: 500 0.75rem/1.2 var(--font-mono); opacity: 0.78; font-variant-numeric: tabular-nums; }
.btn__meta:empty { display: none; }
.btn--hero-alt { min-height: 60px; padding-inline: 22px; border-radius: 16px; }
.hero__note { margin-top: 18px; color: var(--faint); font-size: 0.875rem; max-width: 52ch; }

/* ---------- the app window ---------- */
.stage { width: 100%; margin-top: 64px; perspective: 2000px; }
.app {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
  height: 600px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--app-bg);
  box-shadow: var(--shadow);
  text-align: left;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-2);
}
.app__side { background: var(--app-side); border-right: 1px solid var(--app-line); padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.app__lights { display: flex; gap: 8px; padding: 2px 6px 14px; }
.app__lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.app__lights i:nth-child(2) { background: #febc2e; }
.app__lights i:nth-child(3) { background: #28c840; }
.app__brand { display: flex; align-items: center; gap: 8px; padding: 2px 8px 12px; font: 600 13px/1 var(--font-display); color: var(--ink); }
.app__brand img { width: 16px; height: 16px; }
.app__new { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; color: var(--ink); }
.app__new svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.app__new kbd { margin-left: auto; font: 11px var(--font-mono); color: var(--faint); }
.app__group { margin: 14px 8px 4px; font: 600 10.5px/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.row { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 7px; min-width: 0; }
.row__title { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.row--active { background: var(--accent-soft); color: var(--ink); }
.row__live { display: inline-flex; gap: 5px; font: 11px var(--font-mono); font-variant-numeric: tabular-nums; }
.row__done { width: 7px; height: 7px; border-radius: 50%; background: var(--done); box-shadow: 0 0 0 3px color-mix(in srgb, var(--done) 25%, transparent); }
.row__time { font: 11px var(--font-mono); color: var(--faint); }
.plus { color: var(--plus); }
.minus { color: var(--minus); }
.app__aylinge { margin-top: auto; display: flex; gap: 6px; padding: 8px; }

/* Aylinge: little agents in the app's agent colours */
.ay { position: relative; display: inline-block; width: 22px; height: 22px; border-radius: 8px; background: var(--ay, var(--accent)); flex: none; }
.ay::before, .ay::after { content: ""; position: absolute; top: 8px; width: 3px; height: 5px; border-radius: 2px; background: #1c1420; }
.ay::before { left: 6px; }
.ay::after { right: 6px; }
.ay--1 { --ay: #a78bfa; }
.ay--2 { --ay: #f2b25c; border-radius: 50%; }
.ay--3 { --ay: #5ec4a8; border-radius: 6px 6px 11px 11px; }

.app__main { display: flex; flex-direction: column; min-width: 0; }
.app__bar { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px; border-bottom: 1px solid var(--app-line); }
.app__bar-title { font-weight: 600; color: var(--ink); }
.prov { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 4px 9px; border-radius: 99px; background: var(--app-raised); border: 1px solid var(--app-line); font-size: 11.5px; color: var(--muted); }
.prov img { width: 14px; height: 14px; border-radius: 3px; }
.chat { flex: 1; display: flex; flex-direction: column; gap: 16px; padding: 22px max(22px, 6%) 12px; overflow: hidden; min-height: 0; }
.bubble { align-self: flex-end; max-width: 78%; padding: 10px 14px; border-radius: 16px 16px 6px 16px; background: var(--app-raised); border: 1px solid var(--app-line); color: var(--ink); }
.work { border: 1px solid var(--app-line); border-radius: 12px; padding: 12px 14px; background: color-mix(in srgb, var(--app-raised) 55%, transparent); }
.work__head { display: flex; align-items: center; gap: 5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.work__label { color: var(--ink); font-weight: 600; }
.work__time { margin-left: auto; font: 11px var(--font-mono); color: var(--faint); }
.work__steps { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 7px; }
.work__steps li { display: flex; align-items: center; gap: 8px; min-width: 0; }
.work__steps code { font: 12px var(--font-mono); color: var(--ink); background: var(--app-raised); padding: 1px 6px; border-radius: 5px; border: 1px solid var(--app-line); }
.work__steps .d { margin-left: auto; display: inline-flex; gap: 6px; font: 11.5px var(--font-mono); }
.work__steps .ok { margin-left: auto; font: 11.5px var(--font-mono); color: var(--done); }
.tick { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--done); position: relative; flex: none; }
.tick::after { content: ""; position: absolute; left: 3.5px; top: 1.5px; width: 3px; height: 6px; border: solid var(--done); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.answer { color: var(--ink); font-size: 14px; line-height: 1.6; max-width: 62ch; }
.changes { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 11px; border-radius: 99px; border: 1px solid var(--app-line); background: var(--app-raised); font-size: 12px; font-variant-numeric: tabular-nums; }
.changes svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.changes .plus, .changes .minus { font-family: var(--font-mono); }
.composer {
  position: relative;
  margin: 6px max(18px, 5%) 18px;
  padding: 14px 14px 12px;
  border-radius: 18px;
  background: var(--app-raised);
  border: 1px solid color-mix(in srgb, var(--claude) 45%, var(--app-line));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--claude) 10%, transparent), 0 10px 30px -18px rgb(0 0 0 / 0.5);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}
.composer__text { grid-column: 1 / -1; color: var(--faint); }
.composer__chips { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.composer__chips .c { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 99px; border: 1px solid var(--app-line); font-size: 11.5px; color: var(--muted); }
.composer__chips svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.c--prov i { width: 7px; height: 7px; border-radius: 50%; background: var(--claude); }
.composer__send { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--accent); color: #fff; align-self: end; }
.composer__send svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* rolling numbers: each digit is a column of 0–9 that slides into place */
.roll { display: inline-flex; align-items: flex-start; overflow: hidden; height: 1.2em; line-height: 1.2em; }
.roll__col { display: flex; flex: none; flex-direction: column; transition: transform 900ms var(--ease); }
.roll__col span { flex: none; height: 1.2em; }

/* the intro sequence (main.js adds .is-playing); without it everything rests visible */
.is-playing [data-step] { opacity: 0; transform: translateY(8px); }
.is-playing [data-step].is-in { opacity: 1; transform: none; transition: opacity 420ms var(--ease), transform 520ms var(--ease); }
.stream-word { opacity: 0; transition: opacity 260ms ease-out; }
.stream-word.is-in { opacity: 1; }

/* ---------- agents ---------- */
.agents { padding-block: 130px 44px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.agents .h2, .agents .lead { margin-inline: auto; }
.logos { list-style: none; margin: 0; padding: 0 5px; display: flex; flex: none; gap: 10px; }
.logos li { flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px 9px 10px; border-radius: 99px; background: var(--panel); border: 1px solid var(--line); font-weight: 500; font-size: 0.95rem; }
.logos img { width: 22px; height: 22px; border-radius: 6px; }

/* ---------- tour (film) ---------- */
.tour { padding-block: 80px 20px; }
.film { position: relative; margin-top: 36px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow), 0 0 90px -30px var(--accent-glow); background: #000; aspect-ratio: 16 / 9; max-width: 100%; isolation: isolate; }
.film video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film--portrait { aspect-ratio: 9 / 16; width: min(100%, calc(78svh * 9 / 16)); margin-inline: auto; }

/* The film's own player (main.js adds .film--custom): a start card, then a glass bar with the violet line. */
.film--custom video { cursor: pointer; }
.film--custom::after { content: ""; position: absolute; inset: auto 0 0; height: 38%; background: linear-gradient(to top, rgb(8 6 14 / 0.78), transparent); pointer-events: none; opacity: 0; transition: opacity 320ms var(--ease); z-index: 1; }
.film--custom.is-started::after { opacity: 1; }
.film--custom.is-started.is-idle::after { opacity: 0; }
.film--custom.is-idle { cursor: none; }

.film__start { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; align-content: center; gap: 14px; width: 100%; border: 0; background: radial-gradient(60% 60% at 50% 50%, rgb(10 8 18 / 0.15), rgb(10 8 18 / 0.45)); color: #fff; font: inherit; cursor: pointer; transition: opacity 360ms var(--ease); }
.film__start-ring { position: relative; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: rgb(139 92 246 / 0.9); box-shadow: 0 0 0 8px rgb(139 92 246 / 0.22), 0 18px 50px -10px var(--accent-glow); transition: transform 260ms var(--ease); }
.film__start-ring::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid rgb(185 163 252 / 0.6); animation: film-pulse 2.4s var(--ease) infinite; }
.film__start-ring svg { width: 30px; height: 30px; margin-left: 4px; fill: #fff; }
.film__start:hover .film__start-ring, .film__start:focus-visible .film__start-ring { transform: scale(1.07); }
.film__start-text { display: grid; gap: 2px; justify-items: center; text-shadow: 0 2px 18px rgb(0 0 0 / 0.6); }
.film__start-text b { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.film__start-text small { font-family: var(--font-mono, ui-monospace, monospace); font-size: 12px; color: rgb(255 255 255 / 0.72); letter-spacing: 0.06em; }
.film.is-started .film__start { opacity: 0; pointer-events: none; }
@keyframes film-pulse { from { transform: scale(0.92); opacity: 0.9; } to { transform: scale(1.35); opacity: 0; } }

.film__cue { position: absolute; left: 50%; bottom: 74px; z-index: 2; max-width: min(80%, 760px); margin: 0; padding: 6px 14px; border-radius: 10px; background: rgb(12 10 20 / 0.72); color: #fff; font-size: clamp(14px, 1.7vw, 20px); font-weight: 500; line-height: 1.35; text-align: center; transform: translateX(-50%); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform 320ms var(--ease); }
.film__cue:empty { display: none; }
.film.is-idle .film__cue { transform: translate(-50%, 46px); }
.film.is-full .film__cue { bottom: 96px; font-size: clamp(18px, 2.2vw, 30px); }

.film__bar { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 4; display: flex; align-items: center; gap: 4px; padding: 6px 10px 6px 6px; border-radius: 16px; background: rgb(18 16 26 / 0.62); border: 1px solid rgb(255 255 255 / 0.1); color: #fff; -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 12px 40px -12px rgb(0 0 0 / 0.6); opacity: 0; transform: translateY(10px); transition: opacity 280ms var(--ease), transform 320ms var(--ease); }
.film.is-started .film__bar, .film:focus-within .film__bar { opacity: 1; transform: none; }
.film.is-started.is-idle .film__bar { opacity: 0; transform: translateY(10px); }
.film--custom:not(.is-started):not(:focus-within) .film__bar { pointer-events: none; }
.film__btn { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border: 0; border-radius: 11px; background: transparent; color: inherit; cursor: pointer; transition: background-color 160ms var(--ease), transform 160ms var(--ease); }
.film__btn:hover { background: rgb(255 255 255 / 0.1); }
.film__btn:active { transform: scale(0.92); }
.film__btn:focus-visible, .film__track:focus-visible, .film__start:focus-visible { outline: 2px solid var(--accent-bar); outline-offset: 2px; }
.film__btn svg { width: 20px; height: 20px; fill: currentColor; }
.film__ico-pause, .film.is-playing .film__ico-play { display: none; }
.film.is-playing .film__ico-pause { display: block; }
.film__muted, .film.is-muted .film__wave { display: none; }
.film.is-muted .film__muted { display: inline; }
.film__btn--cc[aria-pressed="false"] { color: rgb(255 255 255 / 0.45); }
.film__btn--cc[aria-pressed="true"] { color: var(--accent-ink); }
.film__time { flex: none; min-width: 40px; padding-inline: 4px; font-family: var(--font-mono, ui-monospace, monospace); font-size: 12px; font-variant-numeric: tabular-nums; color: rgb(255 255 255 / 0.86); text-align: center; }
.film__time--total { color: rgb(255 255 255 / 0.55); }

.film__track { position: relative; flex: 1; height: 30px; display: flex; align-items: center; cursor: pointer; touch-action: none; }
.film__rail { position: relative; width: 100%; height: 4px; border-radius: 4px; background: rgb(255 255 255 / 0.16); overflow: hidden; transition: transform 200ms var(--ease); }
.film__track:hover .film__rail, .film.is-scrubbing .film__rail { transform: scaleY(1.6); }
.film__buffer, .film__fill { position: absolute; inset: 0; transform-origin: left; }
.film__buffer { background: rgb(255 255 255 / 0.22); transform: scaleX(var(--b, 0)); transition: transform 400ms linear; }
.film__fill { background: linear-gradient(90deg, var(--accent), var(--accent-bar)); box-shadow: 0 0 14px var(--accent-glow); transform: scaleX(var(--p, 0)); }
/* The knob rides on a full-width layer so it moves with transform only. */
.film__knob { position: absolute; inset: 0; pointer-events: none; transform: translateX(calc(var(--p, 0) * 100%)); }
.film__knob::after { content: ""; position: absolute; top: 50%; left: -7px; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgb(139 92 246 / 0.35), 0 2px 8px rgb(0 0 0 / 0.4); transform: scale(0.7); transition: transform 200ms var(--ease); }
.film__track:hover .film__knob::after, .film.is-scrubbing .film__knob::after, .film__track:focus-visible .film__knob::after { transform: scale(1); }
.film__tip { position: absolute; bottom: 30px; left: 0; padding: 3px 7px; border-radius: 7px; background: rgb(12 10 20 / 0.88); font-family: var(--font-mono, ui-monospace, monospace); font-size: 11px; font-variant-numeric: tabular-nums; white-space: nowrap; opacity: 0; pointer-events: none; transform: translateX(-50%); transition: opacity 160ms var(--ease); }
.film__track:hover .film__tip, .film.is-scrubbing .film__tip { opacity: 1; }

.film.is-full { border-radius: 0; aspect-ratio: auto; width: 100%; height: 100%; }
.film.is-full video { object-fit: contain; }

@media (max-width: 640px) {
  .film__bar { left: 8px; right: 8px; bottom: 8px; gap: 0; padding: 4px 6px 4px 4px; border-radius: 13px; }
  .film__btn { width: 34px; height: 34px; }
  .film__time--total { display: none; }
  .film__cue { bottom: 58px; }
  .film__start-ring { width: 72px; height: 72px; }
  /* The 9:16 poster fills its middle with logo and headline; the start becomes a pill at the bottom. */
  .film--portrait .film__start { grid-auto-flow: column; align-content: end; justify-content: center; gap: 12px; padding-bottom: 6%; background: linear-gradient(to top, rgb(10 8 18 / 0.7), transparent 30%); }
  .film--portrait .film__start-ring { width: 54px; height: 54px; box-shadow: 0 0 0 6px rgb(139 92 246 / 0.22), 0 12px 34px -8px var(--accent-glow); }
  .film--portrait .film__start-ring svg { width: 22px; height: 22px; }
  .film--portrait .film__start-text { justify-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  .film__start-ring::before { animation: none; }
  .film__bar, .film__cue, .film__start, .film--custom::after { transition: none; }
}

/* ---------- features ---------- */
.features { padding-block: 100px 40px; }
.bento {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "agents agents brain"
    "notes aylinge aylinge"
    "parallel phone team"
    "move move move";
  gap: 14px;
}
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 22px 24px 24px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
}
.tile h3 { font-size: 1.15rem; letter-spacing: -0.02em; font-weight: 650; }
.tile p { color: var(--muted); font-size: 0.95rem; line-height: 1.55; }
.tile__art { height: 170px; margin: -2px -4px 14px; display: flex; align-items: center; justify-content: center; }
.tile--agents { grid-area: agents; }
.tile--brain { grid-area: brain; }
.tile--notes { grid-area: notes; }
.tile--aylinge { grid-area: aylinge; }
.tile--parallel { grid-area: parallel; }
.tile--phone { grid-area: phone; }
.tile--team { grid-area: team; }
.tile--move { grid-area: move; }

.ln { display: block; height: 7px; border-radius: 99px; background: var(--line-2); }
.w40 { width: 40%; } .w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; } .w75 { width: 75%; } .w80 { width: 80%; } .w85 { width: 85%; } .w90 { width: 90%; }

.art-compare { gap: 12px; align-items: stretch; justify-content: stretch; }
.cmp { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 9px; padding: 14px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); }
.cmp__head { display: flex; align-items: center; gap: 7px; font-size: 0.8rem; font-weight: 600; margin-bottom: 4px; white-space: nowrap; }
.cmp__head img { width: 16px; height: 16px; border-radius: 4px; }
.cmp:nth-child(2) { transform: translateY(10px); }
.cmp:nth-child(3) { transform: translateY(20px); }

.graph { width: 100%; max-width: 260px; height: auto; overflow: visible; }
.graph__edges path { stroke: var(--line-2); stroke-width: 1.2; fill: none; }
.graph__nodes circle { fill: var(--faint); }
.graph__hub { fill: var(--accent); filter: drop-shadow(0 0 10px var(--accent-glow)); }

.art-notes { flex-direction: column; align-items: stretch; gap: 14px; }
.wave { display: flex; align-items: center; justify-content: center; gap: 4px; height: 44px; }
.wave i { width: 4px; border-radius: 4px; background: var(--accent-bar); height: calc(var(--h, 30) * 1%); opacity: 0.85; }
.wave i:nth-child(3n) { --h: 70; } .wave i:nth-child(4n) { --h: 95; } .wave i:nth-child(5n) { --h: 50; } .wave i:nth-child(7n) { --h: 82; } .wave i:nth-child(2) { --h: 45; }
.todo { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 0.85rem; }
.todo li { display: flex; align-items: center; gap: 9px; color: var(--ink-2); min-width: 0; }
.todo li::before { content: ""; width: 14px; height: 14px; flex: none; border-radius: 4px; border: 1.5px solid var(--faint); }
.todo li.done { color: var(--faint); text-decoration: line-through; }
.todo li.done::before { background: var(--accent); border-color: var(--accent); }

.art-group { flex-direction: column; align-items: stretch; justify-content: center; gap: 10px; padding-inline: 8%; }
.msg { max-width: 80%; font-size: 0.9rem; }
.msg--me { align-self: flex-end; padding: 9px 13px; border-radius: 16px 16px 6px 16px; background: var(--accent); color: var(--on-accent); }
.msg--ay { display: flex; gap: 10px; align-items: flex-end; }
.msg__body { padding: 8px 13px; border-radius: 16px 16px 16px 6px; background: var(--bg-2); border: 1px solid var(--line); }
.msg__body b { display: block; font-size: 0.75rem; color: var(--accent-ink); }
.typing { display: flex; align-items: center; gap: 6px; }
.typing .ay { width: 18px; height: 18px; }
.typing .ay::before, .typing .ay::after { top: 6px; height: 4px; }
.dots { display: inline-flex; gap: 3px; padding: 8px 10px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); }
.dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--faint); animation: dot 1.2s infinite ease-in-out; }
.dots i:nth-child(2) { animation-delay: 0.15s; } .dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-3px); opacity: 1; } }

.branches { width: 100%; max-width: 280px; height: auto; overflow: visible; }
.branches .b { fill: none; stroke-width: 2.2; stroke-linecap: round; }
.b--main { stroke: var(--faint); }
.b--1 { stroke: var(--accent-bar); }
.b--2 { stroke: #5ec4a8; }
.branches .n { fill: var(--accent-bar); }
.branches .n--2 { fill: #5ec4a8; }
.branches .n--main { fill: var(--ink); }

.phone { position: relative; width: 150px; height: 186px; border-radius: 30px 30px 0 0; border: 5px solid var(--line-2); border-bottom: none; background: var(--bg-2); padding: 34px 10px 0; align-self: flex-end; margin-bottom: -24px; }
.phone__island { position: absolute; left: 50%; top: 9px; width: 46px; height: 13px; border-radius: 99px; background: var(--ink); opacity: 0.85; transform: translateX(-50%); }
.note { display: flex; gap: 8px; padding: 9px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 8px 20px -12px rgb(0 0 0 / 0.5); font-size: 0.7rem; line-height: 1.3; }
.note img { width: 18px; height: 18px; border-radius: 5px; }
.note b { display: block; color: var(--ink); }
.note span span { font-family: var(--font-mono); color: var(--muted); }
.phone__btns { display: flex; gap: 6px; margin-top: 8px; }
.phone__btns span { flex: 1; text-align: center; padding: 5px; border-radius: 9px; background: var(--panel-2); font-size: 0.75rem; color: var(--muted); }
.phone__btns .yes { background: var(--accent); color: var(--on-accent); }

.art-team .code { position: relative; width: 100%; max-width: 250px; display: grid; gap: 11px; padding: 18px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); }
.art-team .hl { background: color-mix(in srgb, #5ec4a8 45%, transparent); }
.cur { position: absolute; font: 600 0.68rem/1 var(--font-mono); padding: 4px 6px; border-radius: 6px 6px 6px 0; color: #111; }
.cur--a { background: #5ec4a8; left: 52%; top: 26px; }
.cur--b { background: var(--accent-bar); left: 30%; bottom: 14px; }

.tile--move { padding: 26px 28px; }
.move { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.move > div { display: grid; gap: 8px; max-width: 46ch; min-width: 0; }
.sources { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; max-width: 520px; }
.sources li { padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line-2); font: 500 0.82rem/1.2 var(--font-mono); color: var(--ink-2); }

/* ---------- download ---------- */
.download { padding-block: 110px 40px; }
.platforms { margin-top: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.plat { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--radius-lg); background: var(--panel); border: 1px solid var(--line); min-width: 0; }
.plat__head { display: flex; align-items: center; gap: 12px; }
.plat__head h3 { font-size: 1.4rem; letter-spacing: -0.025em; }
.plat__icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--panel-2); border: 1px solid var(--line); flex: none; }
.plat__icon svg { width: 20px; height: 20px; fill: var(--ink); }
.plat__req { color: var(--muted); font-size: 0.92rem; }
.plat__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.plat__note { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); color: var(--faint); font-size: 0.82rem; line-height: 1.5; }
.plat__yours { position: absolute; top: 18px; right: 18px; display: none; padding: 4px 9px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-ink); font: 600 0.68rem/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.plat.is-yours { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); box-shadow: 0 0 0 4px var(--accent-soft); }
.plat.is-yours .plat__yours { display: inline-block; }
.soon { margin-top: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.plat--soon { flex-direction: row; align-items: center; gap: 14px; padding: 18px 20px; }
.plat--soon h3 { font-size: 1rem; letter-spacing: -0.01em; }
.plat--soon .plat__req { font-size: 0.82rem; }
.plat--soon > div { min-width: 0; }
.plat--soon .plat__yours { top: -10px; right: 14px; }
.tag { margin-left: auto; flex: none; padding: 5px 9px; border-radius: 99px; border: 1px dashed var(--line-2); color: var(--muted); font: 500 0.7rem/1 var(--font-mono); white-space: nowrap; }
.sums { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 22px; color: var(--faint); font-size: 0.875rem; }
.sums svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.sums a { color: var(--ink-2); text-underline-offset: 3px; }

/* ---------- end ---------- */
.end { position: relative; margin-top: 110px; padding-block: 140px 150px; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); }
.end::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 10%; width: 1000px; height: 700px; transform: translateX(-50%); background: radial-gradient(closest-side, var(--accent-glow), transparent 70%); opacity: 0.7; }
.end__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.end__icon { position: relative; width: 132px; height: 132px; filter: drop-shadow(0 24px 50px rgb(0 0 0 / 0.4)); }
.end__title { margin-top: 34px; font-size: clamp(2.4rem, 1.2rem + 4.6vw, 4.75rem); letter-spacing: -0.05em; line-height: 0.98; font-weight: 800; max-width: 13ch; }
.end .lead { margin-inline: auto; }
.btn--hero-plain { margin-top: 30px; min-height: 52px; padding-inline: 28px; border-radius: 14px; }

/* ---------- footer ----------
 * Columns on top, then the name across the full width with a light running
 * through its letters (a gradient moved by an SVG transform), then the
 * small print. Shared by the start page and the docs (src/footer.html).
 */
.foot { position: relative; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); padding-top: 64px; color: var(--muted); font-size: 0.9rem; }
.foot::before { content: ""; position: absolute; z-index: -1; left: 50%; bottom: -220px; width: min(1200px, 120vw); height: 520px; transform: translateX(-50%); background: radial-gradient(closest-side, var(--accent-glow), transparent 72%); opacity: 0.55; animation: foot-breathe 7s ease-in-out infinite alternate; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)); gap: 40px; }
.foot__logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; text-decoration: none; }
.foot__tagline { margin-top: 12px; max-width: 34ch; line-height: 1.55; }
/* the maker's mark: Ayont's own logo in a small glass tile, a glint crossing it now and then */
.foot__by { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; padding: 7px 16px 7px 7px; border-radius: 18px; border: 1px solid var(--line-2); background: linear-gradient(135deg, var(--accent-soft), transparent 70%); color: var(--ink-2); text-decoration: none; transition: border-color 200ms var(--ease), transform 200ms var(--ease), box-shadow 200ms var(--ease); }
.foot__by-text { display: flex; flex-direction: column; line-height: 1.15; font-size: 0.78rem; color: var(--muted); }
.foot__by-text b { color: var(--ink); font-weight: 680; font-size: 1.02rem; letter-spacing: -0.01em; }
.foot__by-arrow { width: 15px; height: 15px; margin-left: 2px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; transition: transform 200ms var(--ease); }
.foot__ayont { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; overflow: hidden; isolation: isolate; background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--accent) 30%, var(--panel-2)), var(--panel) 75%); box-shadow: 0 0 0 1px var(--line-2) inset, 0 10px 26px -14px var(--accent-glow); }
.foot__ayont::before { content: ""; position: absolute; left: 50%; top: 50%; width: 150%; aspect-ratio: 1; z-index: -1; background: conic-gradient(from 0deg, transparent 0 70%, color-mix(in srgb, var(--accent-bar) 70%, transparent) 86%, transparent 94%); transform: translate(-50%, -50%) rotate(0deg); animation: orbit 6s linear infinite; opacity: 0.55; }
.foot__ayont::after { content: ""; position: absolute; inset: 1.5px; z-index: -1; border-radius: 11.5px; background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--accent) 22%, var(--panel-2)), var(--panel) 78%); }
.foot__ayont svg { width: 30px; height: 30px; overflow: visible; filter: drop-shadow(0 2px 6px var(--accent-glow)); transition: transform 420ms var(--ease); }
.foot__ayont-top { stop-color: #ffffff; }
.foot__ayont-bottom { stop-color: #b9a3fc; }
.foot__ayont-glint { stop-color: #ffffff; stop-opacity: 0.95; }
.foot__by:hover { border-color: var(--accent-bar); transform: translateY(-1px); box-shadow: 0 14px 36px -14px var(--accent-glow); }
.foot__by:hover .foot__by-arrow { transform: translate(2px, -2px); }
.foot__by:hover .foot__ayont svg { transform: scale(1.1) rotate(-4deg); }
:root[data-theme="light"] .foot__ayont-top { stop-color: #1b1b1e; }
:root[data-theme="light"] .foot__ayont-bottom { stop-color: #6b2fd6; }
:root[data-theme="light"] .foot__ayont-glint { stop-color: #c4b5fd; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .foot__ayont-top { stop-color: #1b1b1e; }
  :root:not([data-theme="dark"]) .foot__ayont-bottom { stop-color: #6b2fd6; }
  :root:not([data-theme="dark"]) .foot__ayont-glint { stop-color: #c4b5fd; }
}
@media (prefers-reduced-motion: reduce) { .foot__ayont-shine { display: none; } }
.foot__col { display: flex; flex-direction: column; gap: 11px; }
.foot__col h2 { margin-bottom: 4px; font: 600 0.72rem/1 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.foot__col a { display: inline-flex; align-items: center; gap: 8px; width: fit-content; color: var(--muted); text-decoration: none; transition: color 160ms var(--ease); }
.foot__col a:hover { color: var(--ink); }
.foot__col svg { width: 15px; height: 15px; fill: currentColor; }
.foot__col small { color: var(--faint); font-size: 0.8em; }

.foot__word { margin-top: 28px; padding-inline: max(12px, 2vw); line-height: 0; pointer-events: none; user-select: none; }
.foot__word svg { display: block; width: 100%; height: auto; overflow: visible; }
.foot__word text { font-family: var(--font-display); font-size: 300px; font-weight: 800; letter-spacing: -0.04em; }
.foot__stop-top { stop-color: var(--ink); stop-opacity: 0.32; }
.foot__stop-bottom { stop-color: var(--accent); stop-opacity: 0.06; }
/* The light itself is an SVG animateTransform on the gradient (footer.html): a transform, and no script needed. */
.foot__beam { opacity: 0.6; }
.foot__beam-core { stop-color: #ffffff; stop-opacity: 0.9; }
:root[data-theme="light"] .foot__beam-core { stop-color: var(--accent); stop-opacity: 0.7; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .foot__beam-core { stop-color: var(--accent); stop-opacity: 0.7; } }
@keyframes foot-breathe { from { opacity: 0.35; transform: translateX(-50%) scale(0.94); } to { opacity: 0.65; transform: translateX(-50%) scale(1.04); } }
@supports (animation-timeline: view()) {
  .foot__word svg { animation: foot-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
  @keyframes foot-rise { from { opacity: 0; transform: translateY(18%); } to { opacity: 1; transform: none; } }
}

.foot__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 48px; padding-block: 18px; border-top: 1px solid var(--line); color: var(--faint); font-size: 0.82rem; }
.foot__bar p { margin-right: auto; }
.foot__bar a { color: var(--muted); text-decoration: none; }
.foot__bar a:hover { color: var(--ink); }
.foot__legal { display: flex; flex-wrap: wrap; gap: 18px; }
.foot__legal:empty { display: none; }

@media (max-width: 760px) {
  .foot { padding-top: 48px; }
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .foot__brand { grid-column: 1 / -1; }
  .foot__word { margin-top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .foot::before { animation: none; }
  .foot__beam { display: none; }
  .foot__word svg { animation: none; }
}

/* ---------- depth and motion ----------
 * One orchestrated arrival (light beam, words, the app window settling flat
 * as you scroll) plus quiet loops in the feature art. Only transform and
 * opacity move; "reduce motion" turns all of it off below.
 */
.hero__grid {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, var(--line-2) 1px, transparent 0);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 55% at 50% 22%, #000 0%, transparent 75%);
  mask-image: radial-gradient(70% 55% at 50% 22%, #000 0%, transparent 75%);
  opacity: 0.55;
}
.hero__beam { position: absolute; z-index: -1; left: 50%; top: -120px; width: 1px; height: 0; pointer-events: none; }
.hero__beam::before {
  content: ""; position: absolute; left: -380px; top: 0; width: 760px; height: 640px;
  background: radial-gradient(50% 60% at 50% 0%, color-mix(in srgb, var(--accent-bar) 55%, transparent) 0%, transparent 70%);
  opacity: 0.55; transform-origin: 50% 0;
  animation: beam-in 1.6s var(--ease) both;
}
.hero__beam i {
  position: absolute; left: -1px; top: 0; width: 2px; height: 230px; border-radius: 2px;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, #fff 80%, var(--accent-bar)) 55%, transparent);
  opacity: 0.5; transform-origin: 50% 0;
  animation: beam-line 1.4s var(--ease) 0.1s both;
}
@keyframes beam-in { from { opacity: 0; transform: scaleY(0.4); } }
@keyframes beam-line { from { opacity: 0; transform: scaleY(0); } }

.hero__words .w {
  display: inline-block;
  background: linear-gradient(180deg, var(--ink) 35%, color-mix(in srgb, var(--ink) 62%, var(--accent-bar)) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: 0.06em;
  animation: word-in 0.9s var(--ease) both;
}
.hero__words .w:nth-child(2) { animation-delay: 0.07s; }
.hero__words .w:nth-child(3) { animation-delay: 0.14s; }
.hero__words .w:nth-child(4) { animation-delay: 0.21s; }
.hero__words .w:nth-child(5) { animation-delay: 0.28s; }
.hero__words .w:nth-child(6) { animation-delay: 0.35s; }
@keyframes word-in { from { opacity: 0; transform: translateY(0.35em) scale(0.96); } }
.hero__title .cursor { animation: blink 1.15s steps(1, end) 0.9s infinite, word-in 0.9s var(--ease) 0.4s both; }
.hero__lead, .hero .cta, .hero__note, .hero .pill { animation: fade-up 0.9s var(--ease) both; }
.hero .pill { animation-delay: 0s; }
.hero__lead { animation-delay: 0.35s; }
.hero .cta { animation-delay: 0.45s; }
.hero__note { animation-delay: 0.55s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } }

/* primary buttons catch a slow sheen */
.btn--primary { position: relative; overflow: hidden; isolation: isolate; }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / 0.28) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: sheen 5.5s ease-in-out 1.6s infinite;
}
@keyframes sheen { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

/* the app window: tilted back on arrival, flat once it is in view (main.js sets --tilt) */
.stage { perspective: 1800px; margin-top: 76px; }
.beam {
  --tilt: 0;
  position: relative; max-width: 1080px; margin-inline: auto; padding: 1px; border-radius: 17px; overflow: hidden;
  transform-origin: 50% 0;
  transform: rotateX(calc(var(--tilt) * 18deg)) scale(calc(1 - var(--tilt) * 0.06));
  animation: window-in 1.2s var(--ease) 0.5s backwards;
  box-shadow: 0 50px 120px -40px var(--accent-glow);
}
.beam::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 160%; aspect-ratio: 1; z-index: 0;
  background: conic-gradient(from 0deg, transparent 0 62%, color-mix(in srgb, var(--accent-bar) 90%, transparent) 78%, #ffffff 82%, transparent 90%);
  transform: translate(-50%, -50%) rotate(0deg);
  animation: orbit 7s linear infinite;
  opacity: 0.9;
}
.beam .app { position: relative; z-index: 1; border-radius: 16px; }
@keyframes orbit { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes window-in { from { opacity: 0; transform: translateY(40px) rotateX(18deg) scale(0.94); } }

/* agents roll past; hovering stops the band */
.marquee {
  overflow: hidden; padding-block: 6px 4px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* three numbers that roll in like the app's counters */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding-block: 72px 0; }
.stat { display: flex; flex-direction: column; gap: 6px; padding: 26px 26px 24px; border-top: 1px solid var(--line-2); }
.stat__num { display: flex; align-items: baseline; font: 800 clamp(3rem, 2rem + 4vw, 5.25rem)/1.1 var(--font-display); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.stat__num i { font-style: normal; color: var(--accent-bar); margin-left: 0.04em; }
.stat__num .roll { height: 1.1em; line-height: 1.1em; }
.stat__num .roll__col span { height: 1.1em; }
.stat__label { color: var(--muted); font-size: 1rem; }

/* scroll reveal: only hidden once main.js is running and motion is welcome */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .bento .reveal:nth-child(3n + 2), .js .stats .reveal:nth-child(2) { transition-delay: 0.08s; }
.js .bento .reveal:nth-child(3n), .js .stats .reveal:nth-child(3) { transition-delay: 0.16s; }

/* a soft light follows the pointer across a tile */
.tile::before, .plat::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), var(--accent-soft), transparent 60%);
  opacity: 0; transition: opacity 0.35s ease;
}
.tile:hover::before, .plat:hover::before { opacity: 1; }
.tile > *, .plat > * { position: relative; z-index: 1; }
.plat > .plat__yours { position: absolute; z-index: 2; }
.tile { transition: border-color 0.3s ease, transform 0.5s var(--ease); }
.tile:hover { border-color: var(--line-2); transform: translateY(-3px); }

/* feature art in quiet loops */
.wave i { transform-origin: 50% 50%; animation: eq 1.6s ease-in-out infinite; }
.wave i:nth-child(2n) { animation-duration: 1.2s; }
.wave i:nth-child(3n) { animation-duration: 1.9s; animation-delay: -0.4s; }
.wave i:nth-child(5n) { animation-delay: -0.8s; }
@keyframes eq { 50% { transform: scaleY(0.45); } }
.graph__nodes circle { transform-box: fill-box; transform-origin: center; animation: twinkle 3.2s ease-in-out infinite; }
.graph__nodes circle:nth-child(2n) { animation-delay: -1.1s; }
.graph__nodes circle:nth-child(3n) { animation-delay: -2.2s; }
@keyframes twinkle { 50% { opacity: 0.35; transform: scale(0.8); } }
.graph__hub { transform-box: fill-box; transform-origin: center; animation: hub 2.6s ease-in-out infinite; }
@keyframes hub { 50% { transform: scale(1.18); } }
.cmp { transition: transform 0.6s var(--ease); }
.tile--agents:hover .cmp:nth-child(1) { transform: translateY(-6px); }
.tile--agents:hover .cmp:nth-child(2) { transform: translateY(2px); }
.tile--agents:hover .cmp:nth-child(3) { transform: translateY(10px); }
.cur { animation: drift 5s ease-in-out infinite; }
.cur--b { animation-duration: 6.5s; animation-delay: -2s; }
@keyframes drift { 33% { transform: translate(18px, 6px); } 66% { transform: translate(-10px, -4px); } }
.note { animation: notify 5s var(--ease) infinite; }
@keyframes notify { 0% { opacity: 0; transform: translateY(-14px) scale(0.96); } 12%, 82% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-6px); } }
.branches .n { transform-box: fill-box; transform-origin: center; animation: commit 2.8s ease-in-out infinite; }
.branches .n:nth-of-type(2) { animation-delay: 0.3s; } .branches .n:nth-of-type(3) { animation-delay: 0.6s; } .branches .n:nth-of-type(4) { animation-delay: 0.9s; } .branches .n--main { animation-delay: 1.4s; }
@keyframes commit { 0%, 60%, 100% { transform: scale(1); } 30% { transform: scale(1.45); } }

/* the closing mark sits in a slow halo */
.end__mark { position: relative; display: grid; place-items: center; }
.end__halo {
  position: absolute; width: 320px; aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent, var(--accent-glow), transparent 40%, color-mix(in srgb, var(--accent-bar) 40%, transparent), transparent 75%);
  -webkit-mask-image: radial-gradient(closest-side, transparent 54%, #000 56%, #000 60%, transparent 72%);
  mask-image: radial-gradient(closest-side, transparent 54%, #000 56%, #000 60%, transparent 72%);
  animation: orbit-plain 14s linear infinite;
}
@keyframes orbit-plain { to { transform: rotate(360deg); } }

/* the header becomes a floating bar once you scroll */
.top { transition: background-color 0.3s ease, border-color 0.3s ease; }
.top.is-scrolled { background: color-mix(in srgb, var(--bg) 70%, transparent); }

/* ---------- the hub: agents wire in, the work wires out ----------
 * Two drawings (wide, tall) from build.mjs; the labels are HTML placed in
 * percent of the drawing so they meet the wire ends at any width. Lights run
 * along the wires with SMIL animateMotion; main.js pauses them off screen.
 */
.hub { padding-block: 120px 10px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hub .h2, .hub .lead { margin-inline: auto; }
.hub__stage { position: relative; width: 100%; max-width: 1080px; margin-top: 40px; isolation: isolate; }
.hub__stage::before {
  content: ""; position: absolute; inset: -40px -16px; z-index: -1; pointer-events: none;
  background-image: radial-gradient(var(--line-2) 1px, transparent 1.4px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 58% 56% at 50% 50%, #000 15%, transparent 72%);
  mask-image: radial-gradient(ellipse 58% 56% at 50% 50%, #000 15%, transparent 72%);
}
.hub__layer { position: relative; width: 100%; }
.hub__layer--wide { aspect-ratio: 1000 / 460; }
.hub__layer--tall { display: none; aspect-ratio: 360 / 760; max-width: 430px; margin-inline: auto; }
.hub__wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub__wire { fill: none; stroke: var(--line-2); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.hub__light circle { fill: #ffffff; }
.hub__light .hub__halo { fill: var(--accent-bar); opacity: 0.45; }
.hub__light--out circle { fill: var(--accent-ink); }
.hub__light--out .hub__halo { fill: var(--accent); opacity: 0.3; }
.hub__layer--tall .hub__halo { transform: scale(0.7); }
:root[data-theme="light"] .hub__light circle:not(.hub__halo) { fill: var(--accent); }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .hub__light circle:not(.hub__halo) { fill: var(--accent); } }
.hub__nodes { list-style: none; margin: 0; padding: 0; }
.hub__node {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 12px;
  border: 1px solid var(--line-2); background: color-mix(in srgb, var(--panel) 92%, transparent); color: var(--ink);
  width: max-content; font: 600 0.88rem/1 var(--font-ui); white-space: nowrap; box-shadow: 0 10px 26px -16px rgb(0 0 0 / 0.55);
}
.hub__node img { flex: none; width: 18px; height: 18px; border-radius: 5px; }
.hub__node svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--accent-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hub__node--out { border-color: color-mix(in srgb, var(--accent) 40%, var(--line-2)); }
.hub__layer--wide .hub__node--in { transform: translate(-100%, -50%); }
.hub__layer--wide .hub__node--out { transform: translate(0, -50%); }
.hub__layer--tall .hub__node { transform: translate(-50%, -50%); padding: 7px 10px; gap: 6px; font-size: 0.76rem; }
.hub__layer--tall .hub__node img, .hub__layer--tall .hub__node svg { width: 15px; height: 15px; }
.hub__core { position: absolute; width: 12.8%; aspect-ratio: 1; display: grid; place-items: center; transform: translate(-50%, -50%); }
.hub__layer--tall .hub__core { width: 30%; }
.hub__core::before { content: ""; position: absolute; inset: -70%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, var(--accent-glow), transparent); }
.hub__core img { position: relative; z-index: 1; width: 80%; height: auto; border-radius: 24%; box-shadow: 0 18px 46px -14px var(--accent-glow); }
.hub__core-ring {
  position: absolute; inset: -4%; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 58%, var(--accent-bar) 80%, #ffffff 84%, transparent 92%);
  -webkit-mask-image: radial-gradient(closest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  mask-image: radial-gradient(closest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  animation: orbit-plain 4.5s linear infinite;
}
.hub__core-pulse { position: absolute; inset: 2%; border-radius: 50%; border: 1px solid var(--accent-bar); animation: hub-pulse 2.6s var(--ease) infinite; }
@keyframes hub-pulse { from { transform: scale(0.9); opacity: 0.8; } to { transform: scale(1.7); opacity: 0; } }
@media (max-width: 860px) {
  .hub__layer--wide { display: none; }
  .hub__layer--tall { display: block; }
}

/* ---------- the statement: words light up as it scrolls by (main.js) ---------- */
.say { padding-block: 120px 20px; }
.say__text { max-width: 980px; font: 700 clamp(1.85rem, 1.05rem + 3.2vw, 3.6rem)/1.16 var(--font-display); letter-spacing: -0.035em; text-wrap: balance; }
.say__w--em { background: linear-gradient(100deg, var(--accent-ink), var(--accent) 55%, var(--accent-bar)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- light running around an edge (the download stage) ---------- */
.edge-beam {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; border-radius: inherit; padding: 1.5px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
}
.edge-beam::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 160%; aspect-ratio: 1;
  background: conic-gradient(from 0deg, transparent 0 74%, color-mix(in srgb, var(--accent-bar) 85%, transparent) 88%, #ffffff 91%, transparent 95%);
  transform: translate(-50%, -50%) rotate(0deg); animation: orbit 10s linear infinite;
}

/* the edge of a card lights up where the pointer is (main.js sets --mx/--my) */
.tile::after, .plat::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit; padding: 1px;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), var(--accent-bar), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  opacity: 0; transition: opacity 0.35s ease;
}
.tile:hover::after, .plat:hover::after { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .hub__light, .hub__core-pulse { display: none; }
  .edge-beam { display: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .nav { display: none; }
  .app { grid-template-columns: minmax(0, 1fr); height: 560px; }
  .app__side { display: none; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "agents agents" "brain notes" "aylinge aylinge" "parallel phone" "team team" "move move"; }
  .soon { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .stats { grid-template-columns: minmax(0, 1fr); padding-top: 40px; }
  .stat { padding-inline: 4px; }
  .end__halo { width: 260px; }
  .hero { padding-block: 48px 8px; }
  .top__tools .btn--small { display: none; }
  .platforms { grid-template-columns: minmax(0, 1fr); }
  .bento { grid-template-columns: minmax(0, 1fr); grid-template-areas: "agents" "brain" "notes" "aylinge" "parallel" "phone" "team" "move"; }
  .cmp:nth-child(3) { display: none; }
  .app { height: 520px; font-size: 12px; }
  .chat { padding-inline: 14px; gap: 12px; }
  .work__steps li:nth-child(1) { display: none; }
  .composer { margin-inline: 10px; }
  .composer__chips .c:nth-child(n + 3) { display: none; }
  .cta { flex-direction: column; align-items: stretch; width: 100%; }
  .btn--hero, .btn--hero-alt { width: 100%; justify-content: center; }
  .agents, .features, .download { padding-top: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .beam { transform: none; }
  .marquee__track { flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__track .logos[aria-hidden] { display: none; }
  .logos { flex-wrap: wrap; justify-content: center; row-gap: 10px; }
  html { scroll-behavior: auto; }
  .cursor, .dots i { animation: none; }
  .btn, .roll__col { transition: none; }
}

/* without an installer for this system the button just leads to the list */
.cta[data-platform="all"] .btn__text { align-items: center; text-align: center; }

/* ---------- generated backdrops ----------
 * Two silent loops (light ribbon behind the hero, knowledge graph behind the
 * closing call). The poster is the loop's first frame, so the page looks the
 * same before, during and without playback (reduce motion, Save-Data). */
.bgloop { position: absolute; z-index: -2; left: 0; right: 0; pointer-events: none; overflow: hidden; }
.bgloop__video { display: block; width: 100%; height: 100%; object-fit: cover; }
.bgloop--hero { top: 0; height: min(980px, 118vh); -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%); }
.bgloop--hero .bgloop__video { opacity: 0.9; }
.bgloop--end { inset: 0; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%); }
.bgloop--end .bgloop__video { opacity: 0.85; }
/* the ribbon carries the light now, so the old beam and glow step back */
.hero__beam { opacity: 0.45; }
.hero__glow { opacity: 0.5; }

/* On paper the dark renders turn into ink on light: inverting flips graphite
 * to white, the half-turn of hue brings the violet back. */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .bgloop__video { filter: invert(1) hue-rotate(180deg) saturate(1.3); }
  :root:not([data-theme="dark"]) .bgloop--hero .bgloop__video { opacity: 0.6; }
  :root:not([data-theme="dark"]) .bgloop--end .bgloop__video { opacity: 0.55; }
}
:root[data-theme="light"] .bgloop__video { filter: invert(1) hue-rotate(180deg) saturate(1.3); }
:root[data-theme="light"] .bgloop--hero .bgloop__video { opacity: 0.6; }
:root[data-theme="light"] .bgloop--end .bgloop__video { opacity: 0.55; }

@media (max-width: 640px) {
  .bgloop--hero { height: 640px; }
  .bgloop--hero .bgloop__video { object-position: 70% 50%; opacity: 0.6; }
}

/* ---------- download stage ----------
 * The download is the page's payoff, so it gets its own lit stage: the hero's
 * light ribbon mirrored behind it, the app icon floating at the right, and a
 * running light around the card for the visitor's own system. */
.dl-stage { position: relative; isolation: isolate; overflow: hidden; margin-top: 8px; padding: clamp(22px, 4.2vw, 56px); border-radius: 32px; border: 1px solid var(--line); background: linear-gradient(180deg, color-mix(in srgb, var(--panel) 92%, transparent), var(--bg)); box-shadow: 0 60px 140px -60px var(--accent-glow); }
.dl-stage__bg { position: absolute; inset: 0; z-index: -1; background: url("/assets/bg/hero.jpg") 70% 30% / cover no-repeat; opacity: 0.75; -webkit-mask-image: linear-gradient(180deg, #000 0%, rgb(0 0 0 / 0.55) 55%, transparent 92%); mask-image: linear-gradient(180deg, #000 0%, rgb(0 0 0 / 0.55) 55%, transparent 92%); }
.dl-stage__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px; }
.dl-stage__title { font-size: clamp(2.6rem, 1.4rem + 4.4vw, 4.6rem); font-weight: 800; letter-spacing: -0.052em; line-height: 0.98; background: linear-gradient(180deg, var(--ink) 30%, color-mix(in srgb, var(--accent-bar) 75%, var(--ink))); -webkit-background-clip: text; background-clip: text; color: transparent; }
.version-chip { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 7px 13px 7px 11px; border-radius: 99px; border: 1px solid var(--line-2); background: color-mix(in srgb, var(--panel) 80%, transparent); color: var(--ink); font: 500 0.85rem/1 var(--font-mono); font-variant-numeric: tabular-nums; }
.version-chip__dot { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgb(52 211 153 / 0.18); animation: hub 2.4s ease-in-out infinite; }
.dl-stage__icon { position: relative; display: grid; place-items: center; width: 220px; height: 220px; margin-right: clamp(0px, 3vw, 40px); }
.dl-stage__icon img { position: relative; z-index: 1; width: 168px; height: 168px; filter: drop-shadow(0 30px 50px rgb(0 0 0 / 0.45)); animation: float 6s ease-in-out infinite; }
.dl-stage__halo { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 55%, var(--accent-bar) 75%, #fff 80%, transparent 88%); -webkit-mask-image: radial-gradient(closest-side, transparent 78%, #000 80%, #000 82%, transparent 84%); mask-image: radial-gradient(closest-side, transparent 78%, #000 80%, #000 82%, transparent 84%); animation: orbit-plain 9s linear infinite; opacity: 0.85; }
.dl-stage__floor { position: absolute; left: 50%; bottom: 2px; width: 120px; height: 18px; margin-left: -60px; border-radius: 50%; background: radial-gradient(closest-side, rgb(0 0 0 / 0.45), transparent); animation: float-shadow 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px) rotate(-1.5deg); } }
@keyframes float-shadow { 50% { transform: scale(0.82); opacity: 0.7; } }

.dl-stage .platforms { margin-top: 44px; }
.plat--main { overflow: hidden; padding: 30px; gap: 12px; background: color-mix(in srgb, var(--panel) 88%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.plat--main .plat__head h3 { font-size: 1.6rem; }
.plat > .plat__glyph { position: absolute; z-index: 0; right: -34px; bottom: -46px; width: 230px; height: 230px; opacity: 0.05; transform: rotate(-12deg); transition: transform 0.8s var(--ease), opacity 0.4s ease; pointer-events: none; }
.plat__glyph svg { width: 100%; height: 100%; fill: var(--ink); }
.plat--main:hover .plat__glyph { transform: rotate(-4deg) scale(1.06); opacity: 0.08; }
.plat__file { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; max-width: 100%; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 60%, transparent); color: var(--muted); font: 500 0.78rem/1.2 var(--font-mono); }
.plat__file span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.plat__file svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; }
.btn--dl { min-height: 50px; padding-inline: 20px 22px; border-radius: 14px; gap: 10px; }
.btn__arrow { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn--dl:hover .btn__arrow { animation: drop 0.9s var(--ease) infinite; }
@keyframes drop { 0% { transform: translateY(-3px); opacity: 0.4; } 45% { transform: translateY(2px); opacity: 1; } 100% { transform: translateY(5px); opacity: 0; } }

/* a light runs around the card that matches the visitor's system */
.plat > .plat__ring { position: absolute; inset: 0; z-index: 2; display: none; padding: 1.5px; border-radius: inherit; overflow: hidden; pointer-events: none; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.plat__ring::before { content: ""; position: absolute; left: 50%; top: 50%; width: 220%; aspect-ratio: 1; background: conic-gradient(from 0deg, transparent 0 60%, var(--accent-bar) 78%, #fff 82%, transparent 90%); transform: translate(-50%, -50%); animation: orbit 6s linear infinite; }
.plat--main.is-yours { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); box-shadow: 0 30px 80px -30px var(--accent-glow); }
.plat--main.is-yours .plat__ring { display: block; }

.steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: none; }
.step { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--radius-lg); border: 1px dashed var(--line-2); }
.step h3 { font-size: 1rem; letter-spacing: -0.01em; }
.step p { margin-top: 4px; color: var(--muted); font-size: 0.88rem; line-height: 1.5; }
.step__num { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); font: 700 0.85rem/1 var(--font-mono); }
.js .steps .reveal:nth-child(2) { transition-delay: 0.08s; }
.js .steps .reveal:nth-child(3) { transition-delay: 0.16s; }

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .dl-stage__bg { filter: invert(1) hue-rotate(180deg) saturate(1.3); opacity: 0.55; }
}
:root[data-theme="light"] .dl-stage__bg { filter: invert(1) hue-rotate(180deg) saturate(1.3); opacity: 0.55; }

@media (max-width: 960px) {
  .dl-stage__icon { width: 150px; height: 150px; margin-right: 0; }
  .dl-stage__icon img { width: 112px; height: 112px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .dl-stage { border-radius: 24px; margin-inline: -4px; }
  .dl-stage__head { grid-template-columns: minmax(0, 1fr); }
  .dl-stage__icon { order: -1; justify-self: center; width: 132px; height: 132px; margin-bottom: 4px; }
  .dl-stage__icon img { width: 100px; height: 100px; }
  .dl-stage__icon > .icon3d { left: -60px; top: -60px; width: calc(100% + 120px); height: calc(100% + 120px); }
  .plat--main { padding: 22px; }
}

/* ---------- Aylinge ---------- */
.ayling { overflow: visible; }
.ayling__body { fill: var(--ay, var(--accent)); }
.ayling__body polygon { stroke: var(--ay, var(--accent)); }
.ayling__eyes { fill: #141416; transform-box: fill-box; transform-origin: center; animation: ay-blink 5.2s infinite; }
.ayling--pink { --ay: #ec4f8b; } .ayling--orange { --ay: #f27a3d; } .ayling--amber { --ay: #f2a73b; } .ayling--teal { --ay: #3db3a1; }
.ayling--violet { --ay: #8b5cf6; } .ayling--blue { --ay: #4f8ef5; } .ayling--green { --ay: #45b86f; } .ayling--red { --ay: #e5534b; }
@keyframes ay-blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(0.1); } }

.crew { position: relative; padding-block: 130px 40px; overflow: hidden; }
.crew::before { content: ""; position: absolute; z-index: -1; right: -10%; top: 10%; width: 900px; height: 700px; background: radial-gradient(closest-side, var(--accent-glow), transparent 70%); opacity: 0.55; }
.crew__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center; }
.crew__points { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; }
.crew__points li { display: flex; gap: 10px; align-items: baseline; color: var(--ink); }
.crew__points li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-bar); box-shadow: 0 0 12px var(--accent-bar); transform: translateY(-1px); }
.crew__chat { display: grid; gap: 8px; margin-top: 30px; max-width: 420px; }
.bubble { display: flex; align-items: center; gap: 10px; margin: 0; padding: 9px 14px 9px 9px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); font-size: 0.9rem; color: var(--ink); width: fit-content; max-width: 100%; }
.bubble b { display: block; font-size: 0.72rem; color: var(--muted); font-weight: 600; }
.bubble .ayling { flex: none; }
.bubble--me { justify-self: end; padding: 9px 14px; background: var(--accent); border-color: transparent; color: #fff; }

/* the crew stands in a ring you can look into; CSS turns it, GSAP ties it to the scroll */
.ring { --r: 290px; position: relative; height: 520px; perspective: 1400px; perspective-origin: 50% 30%; }
.ring__tilt { position: absolute; inset: 0; display: grid; place-items: center; transform-style: preserve-3d; transform: rotateX(-10deg); }
.ring__spin { position: relative; width: 168px; height: 222px; margin: 0; padding: 0; list-style: none; transform-style: preserve-3d; animation: ring-spin 48s linear infinite; }
.ring__card { position: absolute; inset: 0; transform-style: preserve-3d; }
.ring__card:nth-child(1) { transform: rotateY(0deg) translateZ(var(--r)); }
.ring__card:nth-child(2) { transform: rotateY(45deg) translateZ(var(--r)); }
.ring__card:nth-child(3) { transform: rotateY(90deg) translateZ(var(--r)); }
.ring__card:nth-child(4) { transform: rotateY(135deg) translateZ(var(--r)); }
.ring__card:nth-child(5) { transform: rotateY(180deg) translateZ(var(--r)); }
.ring__card:nth-child(6) { transform: rotateY(225deg) translateZ(var(--r)); }
.ring__card:nth-child(7) { transform: rotateY(270deg) translateZ(var(--r)); }
.ring__card:nth-child(8) { transform: rotateY(315deg) translateZ(var(--r)); }
.ring__face { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border-radius: 22px; border: 1px solid var(--line-2); background: radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--ay-glow, var(--accent)) 22%, transparent), transparent 70%), linear-gradient(180deg, var(--panel-2), var(--panel)); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06); backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: opacity 0.3s linear; }
.ring__face .ayling { margin-bottom: 6px; filter: drop-shadow(0 10px 18px rgb(0 0 0 / 0.35)); }
.ring__face b { font-size: 1.05rem; letter-spacing: -0.01em; }
.ring__role { color: var(--muted); font-size: 0.8rem; }
.ring__prov { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; padding: 4px 8px; border-radius: 99px; border: 1px solid var(--line); color: var(--faint); font: 500 0.68rem/1 var(--font-mono); }
.ring__floor { position: absolute; left: 50%; bottom: 40px; width: 560px; height: 120px; margin-left: -280px; border-radius: 50%; background: radial-gradient(closest-side, var(--accent-glow), transparent 75%); opacity: 0.8; }
@keyframes ring-spin { to { transform: rotateY(-360deg); } }
.is-gsap .ring__spin { animation: none; }

/* ---------- the reel: more features, sideways ---------- */
.reel { position: relative; padding-block: 110px 40px; overflow: hidden; }
.reel__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.reel__hint { color: var(--faint); font: 500 0.8rem/1 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.reel__hint span { display: inline-block; animation: nudge 1.6s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }
.reel__viewport { margin-top: 40px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.reel__viewport::-webkit-scrollbar { display: none; }
.reel__track { display: flex; gap: 18px; width: max-content; margin: 0; padding: 10px max(16px, calc((100vw - 1136px) / 2)) 30px; list-style: none; }
.reel__card { position: relative; flex: none; width: clamp(280px, 28vw, 370px); display: flex; flex-direction: column; padding: 18px 18px 26px; border-radius: 26px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel), color-mix(in srgb, var(--panel) 70%, var(--bg))); scroll-snap-align: center; transform-style: preserve-3d; }
.reel__card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), var(--accent-soft), transparent 60%); opacity: 0; transition: opacity 0.35s ease; }
.reel__card:hover::before { opacity: 1; }
.reel__card > * { position: relative; }
.reel__num { margin-top: 22px; color: var(--accent-ink); font: 700 0.78rem/1 var(--font-mono); letter-spacing: 0.1em; }
.reel__card h3 { margin-top: 10px; font-size: 1.3rem; letter-spacing: -0.025em; line-height: 1.15; }
.reel__card p { margin-top: 8px; color: var(--muted); font-size: 0.92rem; line-height: 1.5; }
.reel__art { position: relative; height: 180px; border-radius: 18px; border: 1px solid var(--line); background: radial-gradient(120% 90% at 50% 0%, var(--accent-soft), transparent 70%), var(--bg); overflow: hidden; display: grid; place-items: center; }

.art-quick { grid-auto-flow: column; gap: 8px; place-content: center; }
.kbd { display: grid; place-items: center; min-width: 54px; height: 54px; padding: 0 12px; border-radius: 14px; border: 1px solid var(--line-2); border-bottom-width: 4px; background: var(--panel-2); color: var(--ink); font: 600 1.25rem/1 var(--font-display); animation: key 2.4s var(--ease) infinite; }
.kbd--wide { min-width: 120px; font-size: 0.95rem; animation-delay: 0.12s; }
@keyframes key { 0%, 60%, 100% { transform: translateY(0); } 70% { transform: translateY(3px); } }
.quick__bar { position: absolute; left: 50%; bottom: 18px; width: 70%; height: 30px; margin-left: -35%; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel); overflow: hidden; }
.quick__bar i { position: absolute; left: 12px; top: 9px; width: 2px; height: 12px; background: var(--accent-bar); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

.art-touch { align-content: center; gap: 8px; padding: 0 18px; }
.touch__row { display: flex; align-items: center; gap: 8px; width: 100%; min-width: 230px; padding: 8px 12px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); font-size: 0.8rem; }
.touch__row code { flex: 1; font-family: var(--font-mono); color: var(--ink); }
.touch__row .plus { color: #34d399; font: 600 0.78rem/1 var(--font-mono); }
.touch__row .minus { color: #f87171; font: 600 0.78rem/1 var(--font-mono); }
.touch__row.is-live { border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); box-shadow: 0 0 0 3px var(--accent-soft); animation: live 2.2s ease-in-out infinite; }
@keyframes live { 50% { transform: translateX(4px); } }

.art-btw { align-content: center; gap: 14px; padding: 0 18px; }
.btw__main { display: flex; gap: 6px; }
.btw__main i { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); animation: dots 1.2s ease-in-out infinite; }
.btw__main i:nth-child(2) { animation-delay: 0.15s; } .btw__main i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dots { 50% { transform: translateY(-4px); opacity: 0.4; } }
.btw__q { padding: 9px 13px; border-radius: 14px 14px 4px 14px; background: var(--accent); color: #fff; font: 500 0.78rem/1.35 var(--font-mono); max-width: 260px; animation: pop 3.2s var(--ease) infinite; }
@keyframes pop { 0% { transform: translateY(10px) scale(0.96); opacity: 0; } 15%, 85% { transform: none; opacity: 1; } 100% { transform: translateY(-6px); opacity: 0; } }

.art-models { align-content: center; justify-items: start; gap: 6px; padding: 0 30px; }
.model { display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px 5px 8px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel); font-size: 0.82rem; animation: pick 4s var(--ease) infinite; }
.model:nth-child(2) { animation-delay: 0.3s; } .model:nth-child(3) { animation-delay: 0.6s; } .model:nth-child(4) { animation-delay: 0.9s; }
@keyframes pick { 0%, 10% { transform: translateX(0); border-color: var(--line-2); } 25%, 80% { transform: translateX(14px); border-color: var(--accent); } 100% { transform: translateX(0); } }

.art-remember { align-content: center; justify-items: stretch; gap: 4px; padding: 0 18px; font: 500 0.78rem/1.4 var(--font-mono); }
.diff { padding: 5px 10px; border-radius: 6px; }
.diff--minus { background: rgb(248 113 113 / 0.12); color: #fca5a5; }
.diff--plus { background: rgb(52 211 153 / 0.12); color: #6ee7b7; }
.remember { justify-self: end; display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; padding: 7px 11px; border-radius: 10px; background: var(--accent); color: #fff; font-family: var(--font-display); font-weight: 600; animation: pop 3.6s var(--ease) infinite; }
.remember i { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px #fff; }

.art-cost { grid-auto-flow: column; align-items: end; gap: 10px; padding: 30px 30px 26px; place-content: end center; }
.art-cost i { width: 22px; height: 110px; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--accent-bar), var(--accent)); transform-origin: bottom; animation: bar 3.4s var(--ease) infinite; }
.art-cost i:nth-child(1) { transform: scaleY(0.4); animation-delay: 0s; } .art-cost i:nth-child(2) { animation-delay: 0.1s; } .art-cost i:nth-child(3) { animation-delay: 0.2s; }
.art-cost i:nth-child(4) { animation-delay: 0.3s; } .art-cost i:nth-child(5) { animation-delay: 0.4s; } .art-cost i:nth-child(6) { animation-delay: 0.5s; } .art-cost i:nth-child(7) { animation-delay: 0.6s; }
@keyframes bar { 0%, 100% { transform: scaleY(0.25); } 50% { transform: scaleY(0.9); } }
.art-cost i:nth-child(2n) { animation-duration: 4.1s; } .art-cost i:nth-child(3n) { animation-duration: 2.9s; }

.art-pet .ayling { animation: hop 2.4s var(--ease) infinite; filter: drop-shadow(0 14px 18px rgb(0 0 0 / 0.35)); }
.pet__shadow { position: absolute; left: 50%; bottom: 34px; width: 60px; height: 10px; margin-left: -30px; border-radius: 50%; background: rgb(0 0 0 / 0.35); animation: hop-shadow 2.4s var(--ease) infinite; }
@keyframes hop { 0%, 40%, 100% { transform: translateY(0); } 20% { transform: translateY(-26px) rotate(-6deg); } }
@keyframes hop-shadow { 0%, 40%, 100% { transform: scale(1); } 20% { transform: scale(0.6); opacity: 0.5; } }

.art-wake { grid-auto-flow: column; gap: 14px; place-content: center; }
.wake__phone, .wake__mac { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--panel); }
.wake__phone svg, .wake__mac svg { width: 26px; height: 26px; fill: var(--ink); }
.wake__mac { animation: wake 3s ease-in-out infinite; }
.wake__waves { display: flex; gap: 5px; }
.wake__waves i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-bar); animation: wave-dot 1.5s ease-in-out infinite; }
.wake__waves i:nth-child(2) { animation-delay: 0.2s; } .wake__waves i:nth-child(3) { animation-delay: 0.4s; }
@keyframes wave-dot { 0%, 100% { opacity: 0.2; transform: scale(0.7); } 50% { opacity: 1; transform: scale(1.1); } }
@keyframes wake { 0%, 50% { box-shadow: none; } 70%, 90% { box-shadow: 0 0 0 4px var(--accent-soft), 0 0 30px var(--accent-glow); } }

/* GSAP pins the reel and slides it sideways on wide screens */
.is-gsap .reel--pinned .reel__viewport { overflow: visible; scroll-snap-type: none; }

/* ---------- download glow ---------- */
.dl-stage::after { content: ""; position: absolute; z-index: -1; right: -120px; top: -160px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(closest-side, var(--accent-glow), transparent 70%); animation: glow-breathe 5s ease-in-out infinite; }
@keyframes glow-breathe { 50% { transform: scale(1.12); opacity: 0.7; } }
.dl-glow { position: relative; display: inline-flex; isolation: isolate; border-radius: 14px; }
.dl-glow::before { content: ""; position: absolute; z-index: -1; inset: 4px; border-radius: inherit; background: linear-gradient(90deg, #8b5cf6, #c084fc, #60a5fa, #8b5cf6); filter: blur(16px); opacity: 0.55; animation: glow-pulse 2.8s ease-in-out infinite; }
@keyframes glow-pulse { 50% { opacity: 0.95; transform: scale(1.06); } }
.dl-stage__icon > .icon3d { position: absolute; left: -80px; top: -80px; width: calc(100% + 160px); height: calc(100% + 160px); opacity: 0; transition: opacity 0.8s ease; }
.dl-stage__icon.is-3d > .icon3d { opacity: 1; }
.dl-stage__icon.is-3d > img, .dl-stage__icon.is-3d > .dl-stage__floor, .dl-stage__icon.is-3d > .dl-stage__halo { opacity: 0; transition: opacity 0.6s ease; }

/* GSAP owns hover motion of tiles and cards when it runs */
.is-gsap .tile:hover { transform: none; }

@media (max-width: 960px) {
  .crew__inner { grid-template-columns: minmax(0, 1fr); }
  .ring { --r: 210px; height: 400px; }
}
@media (max-width: 640px) {
  .crew { padding-top: 90px; }
  .ring { --r: 150px; height: 330px; margin-inline: -16px; }
  .ring__spin { width: 112px; height: 156px; }
  .ring__face .ayling { width: 52px; height: 52px; }
  .ring__face b { font-size: 0.92rem; }
  .ring__prov { display: none; }
  .ring__floor { width: 340px; margin-left: -170px; bottom: 20px; }
  .reel { padding-top: 80px; }
  .reel__card { width: 82vw; }
  .reel__hint { display: none; }
}

.reel__foot { display: none; margin-top: 8px; }
.reel--pinned .reel__foot { display: block; }
.reel__progress { display: block; height: 3px; border-radius: 99px; background: var(--line); overflow: hidden; }
.reel__progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-bar)); transform-origin: 0 50%; transform: scaleX(0); }
.ring__card:nth-child(1) { --ay-glow: #8b5cf6; } .ring__card:nth-child(2) { --ay-glow: #f2a73b; } .ring__card:nth-child(3) { --ay-glow: #ec4f8b; } .ring__card:nth-child(4) { --ay-glow: #3db3a1; }
.ring__card:nth-child(5) { --ay-glow: #4f8ef5; } .ring__card:nth-child(6) { --ay-glow: #45b86f; } .ring__card:nth-child(7) { --ay-glow: #f27a3d; } .ring__card:nth-child(8) { --ay-glow: #e5534b; }

/* a download button answers the click: light fills it from the left, then the arrow turns into a check */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.btn--primary::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: rgb(255 255 255 / 0.2); transform: scaleX(0); transform-origin: 0 50%; opacity: 0; }
.btn--primary.is-started::before { animation: dl-fill 1.1s var(--ease) forwards; }
@keyframes dl-fill { 0% { transform: scaleX(0); opacity: 1; } 70% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.btn__check { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; animation: dl-check 0.45s var(--ease) 0.35s forwards; }
@keyframes dl-check { to { stroke-dashoffset: 0; } }
.btn--primary.is-started .btn__arrow, .btn--primary.is-started .btn__icon { display: none; }
.btn--primary.is-started:hover .btn__arrow { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .btn--primary.is-started::before { animation: none; }
  .btn__check { animation: none; stroke-dashoffset: 0; }
}
