/* Burst — marketing site
   Plain CSS, no build. Tokens first, then base, then sections top-to-bottom. */

:root {
  --paper: #111112; --ink: #f3f2f2; --ink-rev: #191113;
  --muted: #a6a3a5; --soft: #cfcbce; --dim: #5e5a5d; --line: #303034;
  --panel: #1c191c; --well: #242326; --well2: #29272c; --modepanel: #282326;
  --inactive: #38343a; --inactive-fg: #bbb3b9;
  --band-bg: #f3f2f2; --band-ink: #1a1719; --band-muted: #74676e; --band-line: #d6cfd2;
  --band-soft: #5b5257; --band-chip: #3a3336; --band-accent: #c8302f;
  --red: #fb5553; --red-hi: #ff7472; --on-red: #191113; --red-deep: #281415;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.2, 0, 0, 1); /* icon cross-fades and press feedback */
  --tap: 150ms;                          /* high-frequency hover/press feedback */
  /* layered elevation — depth from shadow, never from a border */
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .28), 0 4px 10px rgba(0, 0, 0, .22);
  --shadow-2: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 18px rgba(0, 0, 0, .28), 0 24px 60px rgba(0, 0, 0, .34);
  --shadow-3: 0 1px 2px rgba(0, 0, 0, .34), 0 6px 14px rgba(0, 0, 0, .3), 0 18px 44px rgba(0, 0, 0, .36);
  --hairline: rgba(255, 255, 255, .1); /* image/icon edge in dark UI */
  --sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --display: 'Manrope', 'DM Sans', system-ui, sans-serif;

  /* type scale — semantic steps, rem so it honours the reader's base size */
  --text-chrome: .625rem;  /* 10 — only inside the app mock-up */
  --text-2xs:    .6875rem; /* 11 — captions, micro labels */
  --text-xs:     .75rem;   /* 12 — eyebrows, footnotes */
  --text-sm:     .8125rem; /* 13 — dense UI text */
  --text-base:   .875rem;  /* 14 — default UI text */
  --text-md:     1rem;     /* 16 — body copy */
  --text-lg:     1.125rem; /* 18 */
  --text-xl:     1.375rem; /* 22 — small headings */
  --text-2xl:    1.625rem; /* 26 */
  --text-3xl:    2rem;     /* 32 */
  --display-sm:  clamp(1.875rem, 3vw, 2.375rem);
  --display-md:  clamp(2.25rem, 3.6vw, 3.25rem);
  --display-lg:  clamp(3rem, 5vw, 4.5rem);
  --display-xl:  clamp(3.25rem, 6vw, 5.25rem);

  /* line-height by role, unitless so it tracks the size */
  --lh-display: 1.02; --lh-tight: 1.15; --lh-snug: 1.35; --lh-ui: 1.5; --lh-body: 1.6;
  /* letter-spacing by size, em so it tracks the size */
  --ls-label: .12em; --ls-display: -.04em; --ls-hero: -.05em;

  color-scheme: dark;
}
:root[data-theme="light"] {
  --paper: #fbfaf9; --ink: #201d20; --ink-rev: #fbfaf9;
  --muted: #70696e; --soft: #4f484c; --dim: #c9c2c5; --line: #ddd6d9;
  --panel: #f1ecee; --well: #efebed; --well2: #efebed; --modepanel: #f3e7e7;
  --inactive: #e1dadd; --inactive-fg: #70696e;
  --band-bg: #1a1719; --band-ink: #f3f2f2; --band-muted: #a6a0a4; --band-line: #3a3336;
  --band-soft: #bdb6ba; --band-chip: #cfcbce; --band-accent: #fb5553;
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: var(--text-md); line-height: var(--lh-ui);
  font-optical-sizing: auto; overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transition: background-color .3s, color .3s;
}
a {
  color: inherit; text-decoration: none;
  text-underline-position: from-font; text-decoration-thickness: from-font;
  text-decoration-skip-ink: auto;
}
a:hover { color: var(--red); }
button { font: inherit; cursor: pointer; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; }
::selection { background: var(--red); color: #171113; }
/* no border-radius here: the outline follows each element's own radius */
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
/* theme flips repaint colour on nearly every element; snap instead of smearing */
.theme-swapping, .theme-swapping *, .theme-swapping *::before, .theme-swapping *::after { transition: none !important; }
/* …except the toggle's own icon, which is the one thing that should animate on a swap */
.theme-swapping .theme-glyph {
  transition: opacity .3s var(--ease-out), scale .3s var(--ease-out), filter .3s var(--ease-out) !important;
}

.wrap { max-width: 1320px; margin: 0 auto; padding: 0 5%; }
.only-light { display: none; }
[data-theme="light"] .only-dark { display: none; }
[data-theme="light"] .only-light { display: block; }

.star { color: var(--red); }
.accent { color: var(--red); }
.muted { color: var(--muted); }
.dim { color: var(--dim); }

.eyebrow {
  font-size: var(--text-xs); letter-spacing: var(--ls-label); font-weight: 700;
  text-transform: uppercase; line-height: 1.3; text-wrap: balance;
  font-variant-numeric: tabular-nums;
}
.eyebrow.muted { color: var(--muted); }
.eyebrow.accent { color: var(--red); }
.eyebrow-star { display: flex; align-items: center; gap: 10px; }
.eyebrow-star .star { font-size: var(--text-xl); line-height: 1; letter-spacing: 0; }

.h2 {
  font-family: var(--display); font-size: var(--display-md); font-weight: 500;
  letter-spacing: var(--ls-display); line-height: var(--lh-tight); margin-top: 20px;
  text-wrap: balance;
}
.h2-xl { font-size: var(--display-lg); letter-spacing: var(--ls-hero); line-height: var(--lh-display); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section-intro {
  margin: 0; max-width: min(380px, 62ch); font-size: var(--text-md);
  line-height: var(--lh-body); color: var(--muted); text-wrap: pretty;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 18px; white-space: nowrap; max-width: 100%;
  background: var(--red); color: var(--on-red); font-weight: 600; font-size: var(--text-base);
  line-height: 1.3; padding: 13px 18px; border-radius: 10px;
  transition: background-color var(--tap) var(--ease-out), scale var(--tap) var(--ease-out),
              translate .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { background: var(--red-hi); color: var(--on-red); }
.btn:active { scale: .96; }
.btn-lg { gap: 28px; font-size: var(--text-md); padding: 19px 24px; border-radius: 12px; }
.btn-lg:hover { translate: 0 -2px; box-shadow: 0 2px 6px rgba(251, 85, 83, .18), 0 10px 30px rgba(251, 85, 83, .25); }
.btn-lg:active { translate: 0 0; scale: .96; }
.btn-outline-dark {
  background: transparent; border: 1px solid #5b2628; color: var(--red-deep); gap: 22px;
  padding: 17px 20px; margin-top: 28px; max-width: 100%;
  white-space: normal; text-wrap: balance; /* long label: wrap rather than overflow a narrow column */
  transition: background-color var(--tap) var(--ease-out), color var(--tap) var(--ease-out),
              scale var(--tap) var(--ease-out);
}
.btn-outline-dark:hover { background: var(--red-deep); color: #f3f2f2; }
.link-btn {
  position: relative; background: none; border: 0; padding: 0; color: var(--ink);
  font-size: var(--text-xs); font-weight: 500; white-space: nowrap; border-radius: 6px;
  transition: color var(--tap) var(--ease-out), scale var(--tap) var(--ease-out);
}
/* ~40px hit area with no layout footprint, so nothing shifts or gets clipped */
.link-btn::after { content: ""; position: absolute; inset: -13px -10px; }
.link-btn:hover { color: var(--red); }
.link-btn:active { scale: .96; }

/* ---------- header ---------- */
.site-header {
  height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border-bottom: 1px solid var(--line);
}
.logo img { height: 36px; width: auto; }
.nav { display: flex; gap: 30px; font-size: var(--text-base); font-weight: 500; color: var(--soft); white-space: nowrap; }
.nav a { position: relative; border-radius: 6px; transition: color var(--tap) var(--ease-out); }
/* ~40px hit area with no layout footprint */
.nav a::before { content: ""; position: absolute; inset: -11px -6px; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform .18s var(--ease-out);
}
.nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.theme-toggle {
  position: relative; width: 44px; height: 44px; display: grid; place-items: center;
  background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: 50%;
  font-size: 1.3125rem; line-height: 1; overflow: hidden;
  transition: background-color var(--tap) var(--ease-out), border-color var(--tap) var(--ease-out),
              scale var(--tap) var(--ease-out);
}
.theme-toggle:hover { background: rgba(251, 85, 83, .1); border-color: var(--red); }
.theme-toggle:active { scale: .96; }
/* both glyphs stay in the DOM and cross-fade — opacity + scale + blur, never display toggling */
.theme-glyph {
  grid-area: 1 / 1; line-height: 1; opacity: 0; scale: .25; filter: blur(4px);
  transition: opacity .3s var(--ease-out), scale .3s var(--ease-out), filter .3s var(--ease-out);
}
.theme-glyph-moon { translate: 0 .5px; } /* optical centring: ☾ sits high in its em box */
:root:not([data-theme="light"]) .theme-glyph-sun,
[data-theme="light"] .theme-glyph-moon { opacity: 1; scale: 1; filter: blur(0px); }

/* ---------- hero ---------- */
.hero {
  padding: 64px 0 72px; display: grid; gap: 40px; align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
}
.hero-title {
  font-family: var(--display); font-size: var(--display-xl); letter-spacing: var(--ls-hero);
  line-height: var(--lh-display); font-weight: 600; margin: 28px 0 22px; text-wrap: balance;
}
.hero-title em { font-style: normal; color: var(--red); }
.lede { font-size: var(--text-xl); line-height: 1.4; letter-spacing: -.01em; margin: 0 0 14px; max-width: 42ch; text-wrap: pretty; }
.sub { font-size: var(--text-md); line-height: var(--lh-body); color: var(--muted); margin: 0 0 30px; max-width: 58ch; text-wrap: pretty; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.cta-note { font-size: var(--text-sm); line-height: var(--lh-ui); color: var(--muted); text-wrap: pretty; }
.platforms { display: flex; flex-wrap: wrap; gap: 16px; font-size: var(--text-sm); font-weight: 500; margin-top: 28px; color: var(--soft); white-space: nowrap; }
.platforms .dot, .platforms .soon { color: var(--muted); }

/* demo scene */
.scene {
  position: relative; background: var(--red); color: var(--red-deep); height: 580px;
  border-radius: 18px; overflow: hidden; padding: 22px;
  background-image: radial-gradient(rgba(255, 173, 165, .16) 1px, transparent 1px); background-size: 12px 12px;
}
.scene-head {
  display: flex; justify-content: space-between; gap: 12px; font-size: var(--text-chrome);
  font-weight: 700; letter-spacing: var(--ls-label); line-height: 1.4;
  text-transform: uppercase; font-variant-numeric: tabular-nums;
  position: relative; z-index: 2;
}
.scene-head span:last-child { white-space: nowrap; }
.ring { position: absolute; border: 1px solid rgba(255, 180, 173, .28); border-radius: 50%; }
.ring span { position: absolute; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--red-deep); }
.ring-a { width: 640px; height: 640px; left: 0; top: 110px; animation: spin 90s linear infinite; }
.ring-a span { top: -4px; }
.ring-b { width: 440px; height: 440px; left: 100px; top: 210px; animation: spinBack 60s linear infinite; }
.ring-b span { bottom: -4px; }

.win {
  position: absolute; left: 8%; right: 8%; top: 84px; background: #1c1a1d; color: #f3f2f2;
  border: 1px solid rgba(255, 255, 255, .14); box-shadow: var(--shadow-2); border-radius: 16px;
  transform: rotate(-4deg); transition: transform .5s var(--ease), top .5s var(--ease);
}
.win-bar {
  height: 32px; border-bottom: 1px solid #38383c; display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 0 14px; font-size: var(--text-chrome); line-height: 1; color: #aaa5a8; white-space: nowrap;
}
.win-dots { display: flex; gap: 5px; }
.win-dots i { width: 8px; height: 8px; border-radius: 50%; background: #5a5559; }
.win-name { letter-spacing: var(--ls-label); }
.win-bar [data-mode-label] { letter-spacing: var(--ls-label); }
.win-body { padding: 20px 22px 22px; }
.win-greet {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
  font-size: var(--text-md); font-weight: 600; line-height: 1.35; letter-spacing: -.01em;
}
.win-greet img { width: 36px; height: auto; flex: none; }
.win-clock { text-align: center; padding: 26px 0 22px; display: flex; flex-direction: column; gap: 6px; }
.win-clock-label { font-size: var(--text-chrome); letter-spacing: var(--ls-label); line-height: 1.3; color: #a6a3a5; }
.win-clock-time {
  font-family: var(--display); font-size: 4rem; letter-spacing: -.06em; font-weight: 500; line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.win-clock-cap { font-size: var(--text-2xs); line-height: 1.4; color: #a6a3a5; text-wrap: balance; }
.win-stats { display: flex; justify-content: space-around; border-top: 1px solid #38383c; padding-top: 16px; text-align: center; }
.win-stats div { display: flex; flex-direction: column; gap: 3px; }
.win-stats strong { font-size: var(--text-lg); line-height: 1.2; font-variant-numeric: tabular-nums; }
.win-stats span { font-size: var(--text-chrome); line-height: 1.3; color: #a6a3a5; }

.guide-head {
  display: flex; justify-content: space-between; gap: 12px; font-size: var(--text-chrome);
  letter-spacing: var(--ls-label); color: var(--red); font-weight: 600;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.guide-title {
  font-family: var(--display); font-size: var(--text-2xl); line-height: var(--lh-tight);
  margin: 18px 0 8px; letter-spacing: -.03em; font-weight: 600; text-wrap: balance;
}
.guide-copy { font-size: var(--text-sm); line-height: var(--lh-ui); margin: 0; min-height: 40px; color: #cfcbce; text-wrap: pretty; }
.guide-progress { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }
.bar { flex: 1; height: 5px; background: rgba(255, 255, 255, .12); border-radius: 9px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--red); transition: width 1s linear; }
.guide-progress strong {
  margin-left: 14px; font-family: var(--display); font-size: var(--text-xl);
  letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums;
}

.toast {
  position: absolute; right: 5%; top: 292px; width: min(330px, 86%); background: #29292d; color: #f3f2f2;
  padding: 16px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .1); box-shadow: var(--shadow-3);
  transform: rotate(4deg); transition: transform .5s var(--ease), top .5s var(--ease);
}
.toast-head {
  display: flex; align-items: center; gap: 8px; font-size: var(--text-chrome);
  letter-spacing: var(--ls-label); line-height: 1; white-space: nowrap;
}
.toast-head img {
  width: 22px; height: 22px; border-radius: 6px; flex: none;
  outline: 1px solid var(--hairline); outline-offset: -1px; /* keeps the icon edge readable on any surface */
}
.toast-when { margin-left: auto; color: #a6a0a5; letter-spacing: 0; }
.toast-title {
  margin: 14px 0 6px; font-family: var(--display); font-size: var(--text-xl);
  font-weight: 600; letter-spacing: -.03em; line-height: var(--lh-tight); text-wrap: balance;
}
.toast-copy { font-size: var(--text-xs); margin: 0; color: #cfcbce; line-height: var(--lh-ui); text-wrap: pretty; }
.toast-meta { font-size: var(--text-chrome); letter-spacing: .08em; margin: 12px 0 16px; color: #b1aaaf; white-space: pre; }
.toast-actions { display: flex; gap: 8px; }
/* concentric: toast padding 16 + button radius 8 reads against the 16px shell corner */
.toast-btn {
  flex: 1; padding: 11px 6px; border-radius: 8px; border: 0; font-size: var(--text-xs);
  line-height: 1.3; white-space: nowrap;
  transition: background-color var(--tap) var(--ease-out), scale var(--tap) var(--ease-out);
}
.toast-btn:active { scale: .96; }
.toast-btn-primary { background: var(--red); color: #241113; font-weight: 600; }
.toast-btn-primary:hover { background: var(--red-hi); }
.toast-btn-secondary { background: #424046; color: #eee9ec; }
.toast-btn-secondary:hover { background: #524f55; }
.scene-caption {
  position: absolute; bottom: 16px; left: 0; width: 100%; text-align: center;
  font-size: var(--text-2xs); font-weight: 500; line-height: 1.4; text-wrap: balance;
  display: flex; justify-content: center; align-items: center; gap: 6px; padding: 0 22px;
}
.scene-caption span:first-child { font-size: var(--text-lg); line-height: 1; flex: none; }

/* scene phases (driven by data-phase on .scene) */
.scene[data-phase="guiding"] .win { top: 58px; transform: rotate(0); }
.scene[data-phase="done"] .win { transform: rotate(0); }
.scene[data-phase="guiding"] .toast { top: 330px; transform: rotate(0); }
.scene[data-phase="done"] .toast { transform: rotate(0); }

/* ---------- ticker ---------- */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; overflow: hidden; white-space: nowrap; }
.ticker-track {
  display: inline-flex; gap: 40px; align-items: center; font-size: var(--text-xs); font-weight: 700;
  letter-spacing: var(--ls-label); line-height: 1;
  animation: marquee 34s linear infinite; padding-right: 40px; will-change: transform;
}
.ticker-track .star { font-size: var(--text-xl); letter-spacing: 0; }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ---------- how ---------- */
.how { padding: 96px 0 80px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; margin-top: 48px; }
.step { border-top: 1px solid var(--line); padding-top: 22px; transition: translate .3s var(--ease); }
.step:hover { translate: 0 -4px; }
.step-num { font-size: var(--text-xs); font-weight: 500; letter-spacing: var(--ls-label); font-variant-numeric: tabular-nums; color: var(--muted); }
.step h3 {
  font-family: var(--display); font-size: var(--text-xl); font-weight: 500;
  letter-spacing: -.03em; line-height: var(--lh-tight); margin: 18px 0 8px; text-wrap: balance;
}
.step p { font-size: var(--text-base); line-height: var(--lh-body); color: var(--muted); margin: 0 0 24px; max-width: min(320px, 56ch); text-wrap: pretty; }
/* concentric: outer radius (20) = inner radius (6) + padding (14) */
.well { height: 74px; background: var(--well); border-radius: 20px; display: flex; align-items: center; }
.well-intervals { padding: 14px; gap: 8px; }
.iv {
  flex: 1; border: 0; border-radius: 6px; padding: 12px 5px; font-size: var(--text-xs); font-weight: 500;
  line-height: 1.2; white-space: nowrap; font-variant-numeric: tabular-nums;
  background: transparent; color: var(--muted);
  transition: background-color var(--tap) var(--ease-out), color var(--tap) var(--ease-out),
              scale var(--tap) var(--ease-out);
}
.iv:hover { color: var(--ink); background: rgba(128, 128, 128, .12); }
.iv:active { scale: .96; }
.iv.is-active { background: var(--ink); color: var(--ink-rev); }
.iv.is-active:hover { background: var(--ink); }
.well-nudge { padding: 14px 17px; gap: 12px; border-radius: 20px; }
.well-nudge .star { font-size: var(--text-2xl); line-height: 1; flex: none; }
.nudge-text { font-size: var(--text-sm); font-weight: 500; line-height: 1.3; min-width: 0; }
.nudge-text small { display: block; font-size: var(--text-2xs); line-height: 1.4; color: var(--muted); margin-top: 3px; font-weight: 400; }
.nudge-arrow { margin-left: auto; flex: none; }
.well-week { padding: 14px 17px; justify-content: space-between; }
.well-week > span { font-size: var(--text-2xs); font-weight: 500; line-height: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; color: var(--muted); }
.well-week b { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; font-size: var(--text-xs); line-height: 1; }
.well-week .done { background: var(--red); color: #241113; }
.well-week .today { animation: pulse 2s infinite; }
.well-week .rest { background: var(--inactive); color: var(--inactive-fg); }
.pop { animation: burstPop 2.6s ease-in-out infinite; display: inline-block; }

/* ---------- obvious ---------- */
.obvious { padding: 40px 0 96px; text-align: center; }
.obvious-lines {
  margin: 26px auto 0; max-width: 820px; display: flex; flex-direction: column; gap: 10px;
  font-family: var(--display); font-size: clamp(1.75rem, 3.4vw, 2.875rem); line-height: var(--lh-tight);
  font-weight: 500; letter-spacing: var(--ls-display); text-wrap: balance;
}
.obvious-punch { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.obvious-punch img { height: .9em; width: auto; }

/* ---------- modes ---------- */
.modes {
  padding: 30px 0 96px; display: grid; gap: 60px; align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}
.modes .h2 { margin-bottom: 14px; }
.modes .section-intro { max-width: min(420px, 62ch); margin-bottom: 18px; }
/* concentric: outer radius (30) = inner radius (25) + padding (5) */
.seg { display: inline-flex; background: var(--well2); padding: 5px; border-radius: 30px; margin: 8px 0 20px; }
.seg-btn {
  border: 0; padding: 11px 22px; border-radius: 25px; font-size: var(--text-base); font-weight: 500;
  line-height: 1.3; white-space: nowrap; background: transparent; color: var(--soft);
  transition: background-color var(--tap) var(--ease-out), color var(--tap) var(--ease-out),
              scale var(--tap) var(--ease-out);
}
.seg-btn:hover { color: var(--ink); }
.seg-btn:active { scale: .96; }
.seg-btn.is-active { background: var(--ink); color: var(--ink-rev); }
.mode-title {
  font-family: var(--display); font-size: var(--text-xl); font-weight: 600;
  letter-spacing: -.03em; line-height: var(--lh-tight); margin: 6px 0; text-wrap: balance;
}
.mode-copy { font-size: var(--text-base); line-height: var(--lh-body); color: var(--muted); margin: 0; max-width: min(420px, 62ch); text-wrap: pretty; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.tags span {
  font-size: var(--text-2xs); line-height: 1.3; white-space: nowrap;
  border: 1px solid var(--line); padding: 7px 10px; border-radius: 5px;
  animation: rise .4s var(--ease) both;
}
.mode-panel {
  background: var(--modepanel); border-radius: 20px; padding: 28px; display: flex; flex-direction: column;
  justify-content: center; min-height: 400px; position: relative; overflow: hidden;
}
.mode-watermark { position: absolute; right: -40px; bottom: -30px; width: 260px; opacity: .06; pointer-events: none; }
.mode-panel-head {
  display: flex; justify-content: space-between; gap: 12px; font-size: var(--text-chrome);
  letter-spacing: var(--ls-label); line-height: 1.4; font-weight: 600; white-space: nowrap;
}
.mode-duration {
  font-family: var(--display); font-size: clamp(6rem, 11vw, 9.375rem); letter-spacing: -.07em; font-weight: 500;
  line-height: 1.1; margin-top: 10px; font-variant-numeric: tabular-nums;
}
.mode-duration .unit { font-size: var(--text-2xl); letter-spacing: -.02em; margin-left: 8px; }
.mode-move {
  font-family: var(--display); font-size: 1.75rem; letter-spacing: -.03em;
  line-height: var(--lh-tight); font-weight: 600; text-wrap: balance;
}
.mode-instruction { font-size: var(--text-base); line-height: var(--lh-body); color: var(--soft); margin: 10px 0 0; max-width: min(420px, 62ch); text-wrap: pretty; }
.mode-panel-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 12px;
  border-top: 1px solid var(--line); padding-top: 18px; margin-top: 22px;
  font-size: var(--text-2xs); letter-spacing: var(--ls-label); font-variant-numeric: tabular-nums;
}
.mode-panel.is-switching .mode-duration,
.mode-panel.is-switching .mode-move,
.mode-panel.is-switching .mode-instruction { animation: rise .45s var(--ease) both; }

/* ---------- band ---------- */
.band { background: var(--band-bg); color: var(--band-ink); padding: 88px 5% 72px; text-align: center; }
.band-inner { max-width: 1000px; margin: 0 auto; }
.band-accent { color: var(--band-accent); }
.timeline {
  position: relative; margin: 56px auto 0; display: grid; grid-template-columns: repeat(9, auto);
  align-items: center; justify-content: space-between; gap: 12px; font-family: var(--display);
}
.timeline-line { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--band-line); z-index: 0; }
.sweep { position: absolute; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--band-accent); margin-left: -3px; animation: sweep 12s linear infinite; }
.timeline > span { position: relative; z-index: 1; background: var(--band-bg); padding: 0 8px; white-space: nowrap; }
.t-time { font-size: var(--text-lg); font-weight: 500; line-height: 1.2; font-variant-numeric: tabular-nums; }
.t-time small { display: block; font-family: var(--sans); font-size: var(--text-2xs); line-height: 1.3; color: var(--band-muted); margin-top: 8px; font-weight: 400; }
.t-burst { font-size: 1.875rem; line-height: 1.2; color: var(--band-accent); animation: burstPop 12s ease-in-out infinite; animation-delay: var(--d, 0s); }
.t-burst small { display: block; font-family: var(--sans); font-size: var(--text-2xs); line-height: 1.3; margin-top: 4px; font-weight: 600; }
.band-copy { margin: 44px auto 0; max-width: min(520px, 66ch); font-size: var(--text-md); line-height: var(--lh-body); color: var(--band-soft); text-wrap: pretty; }
.band-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; font-size: var(--text-base); font-weight: 500; line-height: 1.3; color: var(--band-chip); }
.band-chips span { padding: 10px 16px; border: 1px solid var(--band-line); border-radius: 999px; white-space: nowrap; }
.band-chips .chip-muted { color: var(--band-muted); }

/* ---------- people ---------- */
.people { padding: 96px 0 40px; }
.people-title { margin-top: 0; max-width: 620px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; max-width: 480px; font-size: var(--text-sm); font-weight: 500; line-height: 1.3; color: var(--soft); }
.chips span {
  padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; white-space: nowrap;
  transition: border-color var(--tap) var(--ease-out), color var(--tap) var(--ease-out);
}
.chips span:hover { border-color: var(--red); color: var(--ink); }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; margin-top: 44px; }
.quote {
  margin: 0; padding: 28px; background: var(--panel); border-radius: 18px; display: flex; flex-direction: column;
  justify-content: space-between; gap: 24px;
  transition: translate .3s var(--ease), box-shadow .3s var(--ease);
}
.quote:hover { translate: 0 -3px; box-shadow: var(--shadow-1); }
.quote blockquote {
  margin: 0; font-family: var(--display); font-size: var(--text-xl); line-height: var(--lh-snug);
  letter-spacing: -.02em; font-weight: 500; max-width: 34ch; text-wrap: balance;
  quotes: "\201C" "\201D" "\2018" "\2019";
}
.quote figcaption { font-size: var(--text-sm); line-height: 1.4; color: var(--muted); }

/* ---------- download ---------- */
.download {
  padding: 96px 0; display: grid; gap: 60px; align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}
.download .h2 { margin-bottom: 18px; }
.download .section-intro { max-width: min(420px, 62ch); }
.download-card { border: 1px solid var(--line); padding: 32px; border-radius: 20px; }
.download-card h3 {
  font-family: var(--display); font-size: var(--text-2xl); letter-spacing: -.03em;
  line-height: var(--lh-tight); font-weight: 500; text-wrap: balance;
}
.download-sub { font-size: var(--text-base); line-height: var(--lh-ui); color: var(--muted); margin: 6px 0 0; text-wrap: pretty; }
.platform-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 24px; }
.platform {
  display: flex; gap: 12px; align-items: center; padding: 20px 16px; border: 1px solid var(--line); background: transparent;
  border-radius: 10px; font-size: var(--text-base); line-height: 1.3; white-space: nowrap;
  color: var(--ink);
  transition: background-color var(--tap) var(--ease-out), color var(--tap) var(--ease-out),
              border-color var(--tap) var(--ease-out), box-shadow .2s var(--ease),
              translate .2s var(--ease), scale var(--tap) var(--ease-out);
}
/* hover hints, selection commits — the two must not look identical */
.platform:hover { border-color: var(--red); background: rgba(251, 85, 83, .08); translate: 0 -2px; box-shadow: var(--shadow-1); }
.platform:active { translate: 0 0; scale: .96; }
.platform.is-active,
.platform.is-active:hover { background: var(--red); border-color: var(--red); color: #241113; }
.platform b { margin-left: auto; font-weight: 400; }
.platform-icon { flex: none; translate: 0 -.5px; } /* optical centring against the cap height of the label */
.download-note { font-size: var(--text-xs); margin: 20px 0 0; min-height: 36px; max-width: 62ch; color: var(--muted); line-height: var(--lh-ui); text-wrap: pretty; }

/* ---------- teams ---------- */
.teams {
  background: var(--red); color: var(--red-deep); border-radius: 20px; padding: clamp(32px, 4vw, 56px);
  display: grid; gap: 40px; align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
}
.teams-title { font-size: clamp(2.125rem, 3.4vw, 2.875rem); margin: 18px 0 14px; }
.teams-copy { color: #421b20; font-size: var(--text-base); line-height: var(--lh-body); margin: 0; max-width: min(460px, 62ch); text-wrap: pretty; }
.teams-list {
  margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr;
  gap: 0 28px; font-size: var(--text-base); font-weight: 500; line-height: 1.4; align-content: start;
}
.teams-list li { padding: 13px 0; border-bottom: 1px solid rgba(40, 20, 21, .25); text-wrap: pretty; }

/* ---------- faq ---------- */
.faq { padding: 96px 0; display: grid; gap: 50px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.faq-title { font-size: var(--display-sm); margin-top: 0; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-list summary {
  list-style: none; cursor: pointer; font-size: var(--text-md); font-weight: 500; line-height: 1.4;
  display: flex; justify-content: space-between; gap: 16px; text-wrap: pretty;
  transition: color var(--tap) var(--ease-out);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--red); }
/* fixed box so the +/− swap never nudges the label, and both glyphs land on the same optical centre */
.faq-list .sign {
  color: var(--muted); flex: none; width: 1em; height: 1em; display: grid; place-items: center;
  line-height: 1; transition: color var(--tap) var(--ease-out);
}
.faq-list summary:hover .sign { color: var(--red); }
.faq-list .sign::before { content: "+"; }
.faq-list details[open] .sign { color: var(--red); }
.faq-list details[open] .sign::before { content: "−"; }
.faq-list details p {
  font-size: var(--text-base); line-height: var(--lh-body); color: var(--muted);
  margin: 12px 0 0; max-width: 68ch; text-wrap: pretty; animation: rise .35s var(--ease) both;
}

/* ---------- footer ---------- */
.site-footer {
  padding: 34px 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 30px;
  font-size: var(--text-xs); line-height: 1.4; color: var(--muted);
}
.site-footer img { height: 28px; width: auto; }
.back-top {
  position: relative; margin-left: auto; border-radius: 6px; white-space: nowrap;
  transition: color var(--tap) var(--ease-out);
}
.back-top::after { content: ""; position: absolute; inset: -11px -10px; }

/* ---------- motion ---------- */
/* one-shot staged entrance: semantic chunks, ~100ms apart, so sequence reads as hierarchy */
.rise { animation: rise .6s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 100ms); }
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinBack { to { transform: rotate(-360deg); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(251, 85, 83, .55); } 70% { box-shadow: 0 0 0 14px rgba(251, 85, 83, 0); } }
@keyframes burstPop { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35); } }
@keyframes sweep { 0% { left: 0; } 100% { left: 100%; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; animation-delay: 0ms !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  /* the swap still needs both glyph states, just no motion between them */
  .theme-swapping .theme-glyph, .theme-glyph { transition-duration: .01ms !important; filter: none; }
  .theme-glyph { scale: 1; }
}

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .nav { display: none; }
  .site-header { height: 76px; }
  .timeline { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 8px; }
  .timeline-line { display: none; }
}
@media (max-width: 600px) {
  .hero { padding-top: 40px; }
  .scene { height: 620px; padding: 18px; }
  .win-clock-time { font-size: 3.25rem; }
  .btn-sm { padding: 12px 14px; gap: 10px; }
  .teams-list { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: 1fr; }
  .mode-panel, .download-card { padding: 22px; }
}
