/* ==========================================================================
   T1Q — marketing site styles
   System fonts only. No external assets, no inline styles, no scripts.
   ========================================================================== */

:root {
  color-scheme: light dark;

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

  /* Brand (matches the T1Q app icon and UI) */
  --cyan: #4fd1ff;
  --mint: #34d399;
  --amber: #f5b524;
  --violet: #a78bfa;
  --indigo: #818cf8;
  --brand-grad: linear-gradient(115deg, #4fd1ff 0%, #45dccb 52%, #34d399 100%);
  --on-brand: #03131c;

  /* Light theme */
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --surface: #ffffff;
  --surface-2: #eff3f8;
  --glass: rgba(255, 255, 255, 0.76);
  --line: rgba(11, 18, 32, 0.09);
  --line-2: rgba(11, 18, 32, 0.16);
  --text: #0b1220;
  --text-2: #3a4456;
  --muted: #556074;
  --link: #0369a1;
  --accent: #0369a1;
  --accent-2: #047857;
  --grad-text: linear-gradient(100deg, #0369a1 0%, #0e7490 50%, #047857 100%);
  --focus: #0369a1;
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.05), 0 4px 14px -6px rgba(11, 18, 32, 0.08);
  --shadow-md: 0 2px 4px rgba(11, 18, 32, 0.04), 0 16px 36px -12px rgba(11, 18, 32, 0.18);
  --shadow-lg: 0 40px 90px -30px rgba(8, 28, 56, 0.45);
  --glow-a: rgba(79, 209, 255, 0.30);
  --glow-b: rgba(52, 211, 153, 0.24);
  --grid-line: rgba(11, 18, 32, 0.055);
  --ico-bg: linear-gradient(140deg, rgba(79, 209, 255, 0.16), rgba(52, 211, 153, 0.16));

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --gutter: clamp(16px, 4.2vw, 40px);
  --maxw: 1200px;
  --header-h: 64px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #05070b;
    --bg-soft: #090d14;
    --surface: #0e131c;
    --surface-2: #151b26;
    --glass: rgba(17, 22, 32, 0.68);
    --line: rgba(255, 255, 255, 0.075);
    --line-2: rgba(255, 255, 255, 0.15);
    --text: #eef2f8;
    --text-2: #c2cad7;
    --muted: #98a3b6;
    --link: #6fd8ff;
    --accent: #4fd1ff;
    --accent-2: #34d399;
    --grad-text: linear-gradient(100deg, #4fd1ff 0%, #4fdcd9 50%, #34d399 100%);
    --focus: #6fd8ff;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.45);
    --shadow-md: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 40px -14px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 40px 100px -30px rgba(0, 0, 0, 0.9);
    --glow-a: rgba(79, 209, 255, 0.20);
    --glow-b: rgba(52, 211, 153, 0.15);
    --grid-line: rgba(255, 255, 255, 0.035);
    --ico-bg: linear-gradient(140deg, rgba(79, 209, 255, 0.16), rgba(52, 211, 153, 0.12));
  }
}

/* A band that stays dark in both themes */
.ink {
  --bg: #05080d;
  --bg-soft: #0a0f17;
  --surface: #0f151f;
  --surface-2: #151c28;
  --glass: rgba(17, 22, 32, 0.68);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #eef2f8;
  --text-2: #c2cad7;
  --muted: #98a3b6;
  --link: #6fd8ff;
  --accent: #4fd1ff;
  --accent-2: #34d399;
  --grad-text: linear-gradient(100deg, #4fd1ff 0%, #4fdcd9 50%, #34d399 100%);
  --focus: #6fd8ff;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.45);
  --shadow-md: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 40px -14px rgba(0, 0, 0, 0.7);
  --glow-a: rgba(79, 209, 255, 0.22);
  --glow-b: rgba(52, 211, 153, 0.17);
  --grid-line: rgba(255, 255, 255, 0.04);
  --ico-bg: linear-gradient(140deg, rgba(79, 209, 255, 0.18), rgba(52, 211, 153, 0.14));
  color-scheme: dark;
  background-color: var(--bg);
  color: var(--text);
}

/* In dark mode the dark bands lift to navy so the section rhythm survives */
@media (prefers-color-scheme: dark) {
  .athletes.ink, .cta.ink {
    --bg: #0a1220;
    --bg-soft: #0d1626;
    --surface: #111b2b;
    --surface-2: #172235;
    --glass: rgba(20, 30, 46, 0.7);
    --line: rgba(160, 200, 255, 0.10);
    --line-2: rgba(160, 200, 255, 0.18);
    --glow-a: rgba(79, 209, 255, 0.30);
    --glow-b: rgba(52, 211, 153, 0.24);
    --grid-line: rgba(160, 200, 255, 0.05);
    border-block: 1px solid rgba(79, 209, 255, 0.16);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
.plain, .plain > li { list-style: none; }

a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
a:not([class]):focus-visible, .f-col a:focus-visible, .text-link:focus-visible { border-radius: 4px; }
.btn:focus-visible { outline-offset: 4px; }
::selection { background: rgba(79, 209, 255, 0.32); }

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 12px; top: -120px; z-index: 100;
  padding: 12px 18px; border-radius: 12px;
  background: var(--text); color: var(--bg);
  font-weight: 650; text-decoration: none;
}
.skip:focus, .skip:focus-visible { top: 12px; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.65em;
  margin-bottom: 18px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: ""; width: 18px; height: 2px; border-radius: 2px;
  background: var(--brand-grad);
}

.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 1.3rem + 5.2vw, 5.3rem);
  line-height: 1.0;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 1.2rem + 3.1vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.card-copy p, .point p, .tile p, .rule p, .step p, .s-card p, .qa-body p,
.asks li, .privacy-foot p, .f-brand p, .chat-note, .shot-cap, figcaption { text-wrap: pretty; }

.lead {
  font-size: clamp(1.06rem, 1rem + 0.3vw, 1.24rem);
  line-height: 1.62;
  color: var(--text-2);
  text-wrap: pretty;
}

.grad {
  background-image: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
@media (forced-colors: active) {
  .grad { background: none; color: CanvasText; }
}

.fine { font-size: 0.88rem; line-height: 1.55; color: var(--muted); }

/* ---------- Icons ---------- */
.ico {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

.ico-tile {
  display: inline-grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 13px;
  background: var(--ico-bg);
  border: 1px solid var(--line);
  color: var(--accent);
}
.ico-tile .ico { width: 22px; height: 22px; }

/* ---------- Buttons ---------- */
.btn {
  --pad-x: 22px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 var(--pad-x);
  border: 1px solid transparent; border-radius: 999px;
  font: inherit; font-size: 1rem; font-weight: 650; letter-spacing: -0.01em;
  text-decoration: none; white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s, background-color 0.25s, color 0.25s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .ico { width: 18px; height: 18px; stroke-width: 2; }

.btn-primary {
  background-image: var(--brand-grad);
  color: var(--on-brand);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 10px 26px -10px rgba(52, 211, 153, 0.65);
}
.btn-primary:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 14px 34px -10px rgba(79, 209, 255, 0.75);
}

.btn-ghost {
  color: var(--text);
  background-color: var(--glass);
  border-color: var(--line-2);
}
.btn-ghost:hover { border-color: var(--muted); }

.btn-lg { --pad-x: 28px; min-height: 56px; font-size: 1.05rem; }
.btn-sm { --pad-x: 16px; min-height: 40px; font-size: 0.92rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background-color: var(--bg);
  border-bottom: 1px solid var(--line);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header {
    background-color: color-mix(in srgb, var(--bg) 78%, transparent);
    -webkit-backdrop-filter: saturate(1.8) blur(18px);
    backdrop-filter: saturate(1.8) blur(18px);
  }
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: var(--header-h);
}

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none;
  font-family: var(--font-display); font-size: 1.22rem; font-weight: 800; letter-spacing: -0.02em;
}
.brand:hover { text-decoration: none; }

.mark { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 4px 12px -4px rgba(8, 20, 40, 0.5); }
.mark-bg { fill: #10192a; }
.mark-line { fill: none; stroke: #4fd1ff; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.mark-dot { fill: #34d399; stroke: #0b0f17; stroke-width: 1.4; }

.nav ul { display: flex; gap: 2px; list-style: none; }
.nav a {
  display: block; padding: 8px 14px; border-radius: 999px;
  color: var(--text-2); text-decoration: none;
  font-size: 0.94rem; font-weight: 550;
  transition: color 0.2s, background-color 0.2s;
}
.nav a:hover { color: var(--text); background-color: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--text); background-color: var(--surface-2); }

.header-actions { display: flex; align-items: center; gap: 10px; }

/* Mobile menu (CSS-only disclosure) */
.menu { display: none; }
.menu summary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 0 15px 0 12px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background-color: var(--glass);
  color: var(--text);
  font-size: 0.92rem; font-weight: 650;
  cursor: pointer; list-style: none;
  -webkit-user-select: none; user-select: none;
  transition: border-color 0.2s, background-color 0.2s;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary::marker { content: ""; }
.menu summary:hover { border-color: var(--muted); }
.menu .ico { width: 18px; height: 18px; stroke-width: 2.2; }
.menu .ico-close { display: none; }
.menu[open] .ico-open { display: none; }
.menu[open] .ico-close { display: block; }
.menu[open] summary { background-color: var(--surface-2); }
.menu-panel {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 60;
  padding: 6px var(--gutter) 22px;
  background-color: var(--bg);
  border-bottom: 1px solid var(--line-2);
  box-shadow: 0 30px 60px -24px rgba(5, 12, 24, 0.45);
}
.menu-panel ul { max-width: var(--maxw); margin-inline: auto; list-style: none; }
.menu-panel li + li { border-top: 1px solid var(--line); }
.menu-panel a {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 56px;
  color: var(--text); text-decoration: none;
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; letter-spacing: -0.015em;
}
.menu-panel a::after {
  content: ""; width: 9px; height: 9px; margin-right: 6px;
  border-top: 2px solid var(--accent); border-right: 2px solid var(--accent);
  transform: rotate(45deg);
}
.menu-panel a:hover, .menu-panel a[aria-current="page"] { color: var(--accent); }

@media (max-width: 899px) {
  .nav { display: none; }
  .menu { display: block; }
  .site-header { position: relative; }
  html { scroll-padding-top: 0; }
}
@media (max-width: 359px) {
  .header-inner { gap: 10px; }
  .header-actions { gap: 8px; }
  .header-actions .btn-sm { --pad-x: 14px; }
  .menu summary { width: 40px; padding: 0; }
  .menu summary span {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
}

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(84px, 11vw, 150px); }
.section-soft { background-color: var(--bg-soft); }
.section-tight-top { padding-top: 0; }
.section-head { max-width: 720px; }
.section-head .lead { margin-top: 20px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { text-wrap: balance; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: clip;
  padding-block: clamp(44px, 7vw, 100px) clamp(72px, 9vw, 128px);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; }
.orb-a {
  width: min(78vw, 820px); aspect-ratio: 1;
  right: -16vw; top: -22%;
  background: radial-gradient(closest-side, var(--glow-a), transparent);
}
.orb-b {
  width: min(64vw, 660px); aspect-ratio: 1;
  right: 14vw; bottom: -34%;
  background: radial-gradient(closest-side, var(--glow-b), transparent);
}
.gridlines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 62% at 72% 42%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 62% at 72% 42%, #000 20%, transparent 75%);
}

.hero-grid { display: grid; gap: clamp(56px, 7vw, 72px); align-items: center; }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
}
/* Small laptops: give the copy room so both hero buttons sit on one line */
@media (min-width: 960px) and (max-width: 1139px) {
  .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
  .hero-ctas .btn-lg { --pad-x: 22px; }
}

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 26px; padding: 7px 15px 7px 11px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background-color: var(--glass);
  font-size: 0.86rem; font-weight: 600; color: var(--text-2);
}
.pill-dot {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.2);
}

.hero-sub { margin-top: 26px; max-width: 34em; }
@media (max-width: 379px) {
  .hide-xs { display: none; }
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
@media (max-width: 479px) {
  .hero-ctas .btn { width: 100%; }
}

.trust {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  margin-top: 30px; list-style: none;
  font-size: 0.93rem; font-weight: 550; color: var(--muted);
}
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust .ico { width: 17px; height: 17px; stroke-width: 2.2; color: var(--accent-2); }
@media (max-width: 479px) {
  .trust { gap: 8px 14px; font-size: 0.88rem; }
  .trust li { gap: 6px; }
  .trust .ico { width: 15px; height: 15px; }
}

/* Single-column hero (phones and tablets): copy centred over the phone */
@media (max-width: 959px) {
  .hero-copy { max-width: 40em; margin-inline: auto; text-align: center; }
  .hero-sub { margin-inline: auto; text-wrap: balance; }
  .hero-ctas, .trust { justify-content: center; }
}

/* Device */
.hero-visual { display: flex; flex-direction: column; align-items: center; }
.device-stage {
  position: relative;
  width: min(84vw, 340px);
  margin-inline: auto;
}
@media (min-width: 520px) {
  .device-stage { width: 340px; }
}
@media (min-width: 960px) {
  /* Desktop: the whole phone fits the first screen on laptop-height windows, up to 400px wide */
  .hero { padding-top: clamp(40px, 4.4vw, 72px); }
  .device-stage { width: clamp(300px, calc((100vh - 200px) / 2.1), min(30vw, 400px)); }
  @supports (height: 100svh) {
    .device-stage { width: clamp(300px, calc((100svh - 200px) / 2.1), min(30vw, 400px)); }
  }
  .shot-cap { margin-top: 24px; }
}

.halo {
  position: absolute; left: 50%; top: 50%; z-index: -1;
  width: 165%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow-a), transparent 72%);
}
.halo::before, .halo::after {
  content: ""; position: absolute; border-radius: 50%;
  border: 1px solid var(--line-2);
}
.halo::before { inset: 15%; }
.halo::after { inset: 3%; border-style: dashed; opacity: 0.6; }

.phone {
  position: relative;
  padding: 3.3%;
  border-radius: 15% / 7%;
  background: linear-gradient(150deg, #545b6a 0%, #1b2029 20%, #0a0d12 55%, #2d333e 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    inset 0 0 0 4px #05070a,
    0 0 0 1px rgba(0, 0, 0, 0.4),
    var(--shadow-lg);
}
.phone img {
  width: 100%;
  border-radius: 12.4% / 5.75%;
  background-color: #070a0f;
}
.phone::before, .phone::after {
  content: ""; position: absolute; width: 3px; border-radius: 2px;
  background: linear-gradient(#3a414d, #1c2129);
}
.phone::before { right: -2px; top: 24%; height: 10%; }
.phone::after { left: -2px; top: 19%; height: 6%; }

/* Stream chips: desktop only, sitting on the phone's bezel, never over the screen */
.tag {
  position: absolute; z-index: 2;
  display: none; align-items: center; gap: 8px;
  padding: 8px 14px 8px 11px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background-color: var(--glass);
  box-shadow: var(--shadow-md);
  font-size: 0.84rem; font-weight: 650; color: var(--text);
  white-space: nowrap;
  -webkit-backdrop-filter: blur(14px) saturate(1.6);
  backdrop-filter: blur(14px) saturate(1.6);
}
@media (min-width: 1140px) {
  .hero-visual { padding-right: 48px; }
  .tag { display: inline-flex; }
  .tag-1 { left: calc(100% - 9px); top: 15%; }
  .tag-2 { left: calc(100% - 9px); top: 53%; }
  .tag-3 { right: calc(100% - 9px); top: 34%; }
  .tag-4 { right: calc(100% - 9px); top: 72%; }
}

.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot-glucose { background: var(--cyan); box-shadow: 0 0 0 3px rgba(79, 209, 255, 0.22); }
.dot-insulin { background: var(--violet); box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.22); }
.dot-meals { background: var(--amber); box-shadow: 0 0 0 3px rgba(245, 181, 36, 0.22); }
.dot-workouts { background: var(--mint); box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.22); }
.dot-recovery { background: var(--indigo); box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.22); }

.shot-cap {
  margin-top: 30px;
  font-size: 0.82rem; color: var(--muted); text-align: center;
}

/* ---------- Statement ---------- */
.statement { padding-block: clamp(64px, 9vw, 120px); border-top: 1px solid var(--line); text-align: center; }
.sports { margin-bottom: 28px; }
.sports p {
  display: flex; flex-wrap: wrap; justify-content: center; row-gap: 8px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
}
.sports span { position: relative; }
.sports span:not(:first-child) { padding-left: 30px; }
.sports span:not(:first-child)::before {
  content: ""; position: absolute; left: 12px; top: 50%;
  width: 4px; height: 4px; margin-top: -2px; border-radius: 50%;
  background-image: var(--brand-grad);
}
.sports .br { display: none; }
@media (max-width: 719px) {
  .sports p { font-size: 0.74rem; letter-spacing: 0.12em; }
  .sports span:not(:first-child) { padding-left: 22px; }
  .sports span:not(:first-child)::before { left: 8px; }
  .sports .br { display: block; flex-basis: 100%; height: 0; }
  .sports .br + span { padding-left: 0; }
  .sports .br + span::before { display: none; }
}
.statement-text {
  max-width: 22em; margin-inline: auto;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 1rem + 3.2vw, 3.4rem);
  font-weight: 700; line-height: 1.12; letter-spacing: -0.035em;
  text-wrap: balance;
}

/* ---------- Overview / one timeline ---------- */
.split { display: grid; gap: clamp(48px, 6vw, 80px); align-items: center; }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
}

.streams {
  display: flex; flex-wrap: wrap; gap: 10px;
  max-width: 25rem;
  margin-top: 32px; list-style: none;
}
.streams li {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 15px 8px 12px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background-color: var(--surface);
  font-size: 0.92rem; font-weight: 600; color: var(--text);
}

.tl-card {
  position: relative;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 80% at 100% 0%, var(--glow-a), transparent 60%),
    var(--surface);
  box-shadow: var(--shadow-md);
}
.tl-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 14px;
}
.tl-title { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.tl-badge {
  padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: 0.78rem; font-weight: 700; color: var(--text-2);
}
.tl-art { width: 100%; height: auto; overflow: visible; }
.tl-art-m { display: none; overflow: hidden; }
@media (max-width: 599px) {
  .tl-art-d { display: none; }
  .tl-art-m { display: block; }
}
.tl-art-m .tl-label { font-size: 20px; }
.tl-band { fill: var(--accent-2); opacity: 0.07; }
.tl-grid { stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 3 5; fill: none; }
.tl-s1 { stop-color: #4fd1ff; stop-opacity: 0.32; }
.tl-s2 { stop-color: #4fd1ff; stop-opacity: 0; }
.tl-g1 { stop-color: #4fd1ff; }
.tl-g2 { stop-color: #34d399; }
.tl-trace { fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.tl-stem { stroke: var(--line-2); stroke-width: 1.4; stroke-dasharray: 2 4; }
.tl-pin { stroke: var(--surface); stroke-width: 3.5; }
.tl-lane { fill: var(--surface-2); }
.tl-label { fill: var(--muted); font-family: var(--font); font-size: 13px; font-weight: 600; letter-spacing: 0.02em; }
.c-glucose { fill: #4fd1ff; }
.c-insulin { fill: #a78bfa; }
.c-meals { fill: #f5b524; }
.c-workouts { fill: #34d399; }
.c-recovery { fill: #818cf8; }

/* ---------- Bento ---------- */
.bento {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px;
  margin-top: clamp(44px, 6vw, 72px);
  list-style: none;
}
.card {
  grid-column: span 6;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 26px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
}
.card .h3 { margin-top: 18px; }
.card-copy p { margin-top: 10px; color: var(--text-2); }
.card-copy .fine { margin-top: 14px; }

/* Wide cards get their own row so the screenshots can be large; small cards pair up */
@media (min-width: 720px) {
  .b-why, .b-photo, .b-stats, .b-connect { grid-column: span 3; }
  .card.wide { flex-direction: row; align-items: stretch; gap: clamp(28px, 4vw, 56px); }
  .card.wide .card-copy { flex: 0 0 36%; align-self: center; }
  .card.wide.b-food { flex-direction: row-reverse; }
  /* Screenshots sit on a lit stage at a readable UI scale instead of filling the card */
  .card.wide .card-media {
    flex: 1 1 auto; min-width: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: clamp(22px, 3.4vw, 44px) clamp(18px, 3vw, 40px) clamp(16px, 2vw, 22px);
    border: 1px solid var(--line); border-radius: 22px;
    background:
      radial-gradient(58% 64% at 50% 46%, var(--glow-a), transparent 74%),
      radial-gradient(40% 50% at 85% 90%, var(--glow-b), transparent 70%),
      var(--bg-soft);
  }
  .card.wide .card-media img { max-width: 580px; }
  .card.wide.b-food .card-media img { max-width: 500px; }
  .card.wide .card-media figcaption { margin-top: 14px; text-align: center; }
  .card .snap { aspect-ratio: 16 / 9; }
  .why-viz { display: flex; flex-direction: column; flex: 1 0 auto; }
  .why-svg { margin-block: auto; }
}
@media (min-width: 1040px) {
  .card.wide { padding: 40px 40px 36px; }
  .card.wide .card-copy { flex-basis: 33%; }
  .card.wide .card-copy p:not(.scope) { font-size: 1.04rem; }
}

.scope {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px; padding: 6px 12px 6px 9px;
  border-radius: 999px; border: 1px solid var(--line-2);
  font-size: 0.85rem; font-weight: 650; color: var(--text);
}
.card-copy .scope { margin-top: 16px; }
.scope .ico { width: 16px; height: 16px; color: var(--accent); }

.card-media { position: relative; }
.card-media img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line-2);
  background-color: #0b0f17;
  box-shadow: var(--shadow-md);
}
.card-media figcaption { margin-top: 10px; font-size: 0.8rem; color: var(--muted); }
/* Phones: screenshots run edge to edge inside the card */
@media (max-width: 719px) {
  .card-media { margin-inline: calc(-1 * clamp(22px, 3vw, 32px)); }
  .card-media img { border-radius: 0; border-inline: 0; box-shadow: none; }
  .card-media figcaption { padding-inline: clamp(22px, 3vw, 32px); }
}

/* Why-card mini visual */
.why-viz {
  margin-top: auto;
  padding: 16px 16px 12px;
  border: 1px solid var(--line); border-radius: 18px;
  background-color: var(--surface-2);
}
.why-head { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); }
.why-head .dot { width: 8px; height: 8px; }
.why-svg { width: 100%; height: auto; margin-top: 8px; }
.why-trace { fill: none; stroke: #4fd1ff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.why-floor { stroke: #ff6b7a; stroke-width: 1.2; stroke-dasharray: 3 4; opacity: 0.8; }
.why-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; list-style: none; }
.why-chips li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px 4px 8px; border-radius: 999px;
  background-color: var(--surface); border: 1px solid var(--line);
  font-size: 0.78rem; font-weight: 600; color: var(--text-2);
}
.why-chips .dot { width: 7px; height: 7px; box-shadow: none; }
.c-dot-low { background: #ff5c6c; box-shadow: 0 0 0 3px rgba(255, 92, 108, 0.22); }

/* Photo-card mini visual */
.snap {
  position: relative; margin-top: auto;
  aspect-ratio: 5 / 4;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 46%, #f1e6d2 0 21%, #e2d3b8 21.5% 25%, transparent 25.5%),
    radial-gradient(circle at 50% 46%, rgba(255, 255, 255, 0.9) 0 31%, transparent 31.5%),
    linear-gradient(160deg, #24303f, #121821 70%);
  overflow: hidden;
}
.snap::before {
  content: ""; position: absolute; inset: 14%;
  border-radius: 14px;
  background:
    linear-gradient(#fff, #fff) top left / 22px 3px no-repeat,
    linear-gradient(#fff, #fff) top left / 3px 22px no-repeat,
    linear-gradient(#fff, #fff) top right / 22px 3px no-repeat,
    linear-gradient(#fff, #fff) top right / 3px 22px no-repeat,
    linear-gradient(#fff, #fff) bottom left / 22px 3px no-repeat,
    linear-gradient(#fff, #fff) bottom left / 3px 22px no-repeat,
    linear-gradient(#fff, #fff) bottom right / 22px 3px no-repeat,
    linear-gradient(#fff, #fff) bottom right / 3px 22px no-repeat;
  opacity: 0.9;
}
.snap-food {
  position: absolute; left: 50%; top: 46%; width: 30%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 40%, #7cc46a 0 14%, transparent 15%),
    radial-gradient(circle at 62% 34%, #e58a4e 0 13%, transparent 14%),
    radial-gradient(circle at 58% 66%, #f4d27a 0 17%, transparent 18%),
    radial-gradient(circle at 34% 68%, #c96f53 0 13%, transparent 14%);
}
.snap-chip {
  position: absolute; left: 50%; bottom: 7%;
  transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px 7px 10px; border-radius: 999px;
  background-color: rgba(10, 14, 21, 0.82);
  color: #eef2f8; font-size: 0.8rem; font-weight: 650; white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.snap-chip .ico { width: 15px; height: 15px; color: #34d399; stroke-width: 2.4; }

/* Stats-card mini visual */
.stat-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; list-style: none; }
.stat-tiles li {
  display: flex; flex-direction: column; justify-content: space-between; gap: 14px;
  padding: 14px 14px 12px; border-radius: 14px;
  border: 1px solid var(--line); background-color: var(--surface-2);
  font-size: 0.86rem; font-weight: 650; line-height: 1.3; color: var(--text);
}
.st-label { display: flex; align-items: center; gap: 8px; }
.nw { white-space: nowrap; }
.stat-tiles .ico { width: 18px; height: 18px; color: var(--accent); }
/* Mini charts share the label's left edge */
.st-viz { width: min(100%, 132px); height: auto; overflow: visible; }
@media (max-width: 479px) {
  .stat-tiles { gap: 8px; }
  .stat-tiles li { gap: 12px; padding: 12px 12px 10px; font-size: 0.84rem; }
  .st-label .ico { display: none; }
}
.sv-track { fill: var(--line); }
.sv-low { fill: #ff5c6c; }
.sv-in { fill: #34d399; }
.sv-high { fill: #f5b524; }
.sv-arc, .sv-arc-on { fill: none; stroke-width: 7; stroke-linecap: round; }
.sv-arc { stroke: var(--line-2); }
.sv-arc-on { stroke: #4fd1ff; }
.sv-knob { fill: var(--surface); stroke: #4fd1ff; stroke-width: 3; }
.sv-guide { stroke: var(--line-2); stroke-width: 1.2; stroke-dasharray: 3 4; fill: none; }
.sv-spark { fill: none; stroke: #4fd1ff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.sv-day { fill: var(--line-2); }
.sv-ev { fill: #ff5c6c; }
.stats-viz { margin-top: auto; }
.windows { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; list-style: none; }
.windows li {
  padding: 5px 11px; border-radius: 999px;
  border: 1px solid var(--line-2);
  font-family: var(--mono); font-size: 0.76rem; font-weight: 600; color: var(--text-2);
}
.windows li.on { background-image: var(--brand-grad); border-color: transparent; color: var(--on-brand); }
@media (max-width: 379px) {
  .windows { gap: 5px; }
  .windows li { padding: 4px 9px; }
}

/* Connect-card list */
.sources { display: grid; gap: 8px; margin-top: auto; list-style: none; }
.sources li {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; border-radius: 14px;
  border: 1px solid var(--line); background-color: var(--surface-2);
  font-size: 0.92rem; font-weight: 600;
}
.sources .ico { width: 18px; height: 18px; color: var(--accent); }

/* ---------- Athletes (dark band) ---------- */
.athletes { overflow: clip; isolation: isolate; }
.ath-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.ath-bg::before {
  content: ""; position: absolute; width: min(90vw, 900px); aspect-ratio: 1;
  left: -20vw; top: 50%; transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow-a), transparent);
}
.ath-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 25% 50%, #000 15%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 70% at 25% 50%, #000 15%, transparent 70%);
}

.ath-grid { display: grid; gap: clamp(48px, 6vw, 88px); align-items: center; }
@media (min-width: 960px) {
  .ath-grid { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); }
}

.ath-shot { position: relative; max-width: 500px; width: 100%; margin-inline: auto; }
@media (max-width: 959px) {
  .ath-shot { order: 2; }
}
.screen-frame {
  position: relative;
  padding: 10px;
  border-radius: 30px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03) 40%, rgba(79, 209, 255, 0.16));
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.screen-frame img { width: 100%; border-radius: 22px; background-color: #070a0f; }
.ath-shot figcaption { margin-top: 16px; font-size: 0.82rem; color: var(--muted); text-align: center; }

.points {
  display: grid; gap: 14px;
  margin-top: 40px; list-style: none;
}
@media (min-width: 560px) {
  .points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.point {
  padding: 22px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background-color: var(--glass);
}
.point .h3 { margin-top: 16px; font-size: 1.06rem; }
.point p { margin-top: 6px; font-size: 0.95rem; color: var(--text-2); }
@media (max-width: 559px) {
  .point { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; padding: 20px; }
  .point .ico-tile { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; }
  .point .h3 { margin-top: 0; align-self: center; }
  .point p { margin-top: 0; }
}

/* ---------- Coach ---------- */
.coach-grid { display: grid; gap: clamp(48px, 6vw, 88px); align-items: center; }
@media (min-width: 960px) {
  .coach-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

.chat {
  position: relative;
  width: 100%; max-width: 520px; margin-inline: auto;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background:
    radial-gradient(90% 60% at 100% 0%, var(--glow-a), transparent 60%),
    var(--surface);
  box-shadow: var(--shadow-lg);
}
.chat-top {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.chat-top .mark { width: 36px; height: 36px; border-radius: 10px; }
.chat-who { display: flex; flex-direction: column; line-height: 1.3; }
.chat-who b { font-size: 0.98rem; }
.chat-who span { font-size: 0.82rem; color: var(--muted); }

.bubbles { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; padding-block: 22px 8px; list-style: none; }
.bubble {
  max-width: 85%;
  padding: 11px 16px;
  border-radius: 20px 20px 6px 20px;
  background-image: var(--brand-grad);
  color: var(--on-brand);
  font-weight: 600; font-size: 0.98rem;
  box-shadow: 0 10px 24px -14px rgba(52, 211, 153, 0.8);
}
.typing {
  display: inline-flex; gap: 5px; align-items: center;
  margin-top: 6px; padding: 14px 16px;
  border-radius: 20px 20px 20px 6px;
  background-color: var(--surface-2);
  border: 1px solid var(--line);
}
.typing i { width: 7px; height: 7px; border-radius: 50%; background-color: var(--muted); }
.chat-input {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 18px; padding: 8px 8px 8px 18px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background-color: var(--surface-2);
  font-size: 0.92rem; color: var(--muted);
}
.chat-input i {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background-image: var(--brand-grad); color: var(--on-brand);
}
.chat-input .ico { width: 17px; height: 17px; stroke-width: 2.2; }
.chat-note {
  display: flex; gap: 10px; align-items: flex-start;
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: 0.86rem; line-height: 1.5; color: var(--text-2);
}
.chat-note .ico { width: 18px; height: 18px; margin-top: 1px; color: var(--accent); }

.asks { display: grid; gap: 10px; margin-top: 30px; list-style: none; }
.asks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.asks .ico { width: 20px; height: 20px; margin-top: 2px; color: var(--accent-2); stroke-width: 2.2; }

/* ---------- Privacy ---------- */
.privacy-top { display: grid; gap: 40px; align-items: center; }
.privacy-intro { display: grid; gap: 28px; }
.lock-stage {
  position: relative; justify-self: center;
  display: none; width: min(100%, 300px);
}
.lock-stage::before {
  content: ""; position: absolute; inset: -4%; z-index: 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow-a), var(--glow-b) 45%, transparent 72%);
}
.lock-art { position: relative; width: 100%; height: auto; }
.la-ring { fill: none; stroke: var(--line-2); stroke-width: 1.5; }
.la-ring-2 { fill: none; stroke: url(#lockGrad); stroke-width: 2; stroke-dasharray: 3 10; stroke-linecap: round; }
.la-body { fill: url(#lockGrad); }
.la-shackle { fill: none; stroke: url(#lockGrad); stroke-width: 14; stroke-linecap: round; }
.la-key { fill: #03131c; }
.lg-a { stop-color: #4fd1ff; }
.lg-b { stop-color: #45dccb; }
.lg-c { stop-color: #34d399; }
@media (min-width: 960px) {
  .privacy-top { grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.7fr); gap: 56px; }
  .lock-stage { display: block; }
}
.no-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.no-list li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px 10px 12px; border-radius: 999px;
  background-color: var(--surface); border: 1px solid var(--line-2);
  font-weight: 650; font-size: 0.95rem;
}
.no-list .ico { width: 18px; height: 18px; color: var(--accent-2); stroke-width: 2.2; }

.tiles {
  display: grid; gap: 16px;
  margin-top: clamp(40px, 5vw, 60px); list-style: none;
}
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tile {
  padding: clamp(22px, 2.6vw, 28px);
  border: 1px solid var(--line); border-radius: var(--radius);
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
}
.tile .h3 { margin-top: 18px; font-size: 1.1rem; }
.tile p { margin-top: 8px; font-size: 0.97rem; color: var(--text-2); }
@media (max-width: 639px) {
  .tile { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; padding: 20px; }
  .tile .ico-tile { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; }
  .tile .h3 { margin-top: 0; align-self: center; }
  .tile p { margin-top: 0; }
}

.privacy-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line);
}
.privacy-foot p { max-width: 44em; font-size: 0.93rem; color: var(--text-2); }
.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 650; text-decoration: none;
}
.text-link:hover { text-decoration: underline; }
.text-link .ico { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.text-link:hover .ico { transform: translateX(3px); }

/* ---------- How it works ---------- */
.steps {
  position: relative;
  display: grid; gap: 16px;
  margin-top: clamp(44px, 6vw, 72px); list-style: none;
  counter-reset: step;
}
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}
.step {
  position: relative;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
  text-align: left;
}
.step-top { display: flex; align-items: center; justify-content: space-between; }
.step-num {
  font-family: var(--mono); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em;
  color: var(--muted);
}
.step .ico-tile {
  width: 56px; height: 56px; border-radius: 17px;
  background-image: var(--brand-grad); color: var(--on-brand); border: 0;
  box-shadow: 0 12px 26px -12px rgba(52, 211, 153, 0.8);
}
.step .ico-tile .ico { width: 26px; height: 26px; stroke-width: 2; }
.step .h3 { margin-top: 22px; font-size: 1.3rem; }
.step p { margin-top: 8px; color: var(--text-2); }

/* ---------- Straight talk ---------- */
.talk {
  display: grid; gap: clamp(28px, 4vw, 56px);
  padding: clamp(26px, 5vw, 64px);
  border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  background:
    radial-gradient(80% 90% at 0% 0%, var(--glow-b), transparent 60%),
    var(--bg-soft);
}
@media (min-width: 960px) {
  .talk { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); align-items: start; }
}
.talk-lead {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.42rem);
  font-weight: 650; line-height: 1.4; letter-spacing: -0.015em;
  text-wrap: balance;
}
.rules { display: grid; gap: 12px; list-style: none; }
.rule {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px;
  padding: 20px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background-color: var(--surface);
}
.rule .ico-tile { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; }
.rule .ico-tile .ico { width: 20px; height: 20px; }
.rule .h3 { font-size: 1.05rem; align-self: center; }
.rule p { font-size: 0.95rem; color: var(--text-2); }
/* Phones: the nested cards get their width back; text runs under the icon */
@media (max-width: 599px) {
  .talk { padding: 26px 18px 18px; }
  .talk > div:first-child { padding-inline: 4px; }
  .rule { gap: 0 14px; padding: 16px 16px 18px; }
  .rule .ico-tile { grid-row: auto; width: 36px; height: 36px; border-radius: 11px; }
  .rule .ico-tile .ico { width: 18px; height: 18px; }
  .rule p { grid-column: 1 / -1; margin-top: 10px; }
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: clamp(36px, 5vw, 72px); }
@media (min-width: 960px) {
  .faq-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; }
  .faq-aside { position: sticky; top: calc(var(--header-h) + 32px); }
}
.faq-aside .fine { margin-top: 22px; font-size: 0.95rem; }

.faq-list { border-top: 1px solid var(--line-2); }
.qa { border-bottom: 1px solid var(--line-2); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 2px;
  cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: 1.08rem; font-weight: 650; letter-spacing: -0.01em;
  border-radius: 8px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::marker { content: ""; }
.qa summary:hover { color: var(--accent); }
.qa summary:hover .plus { border-color: currentColor; }
.plus {
  position: relative; flex: none;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line-2);
  transition: transform 0.3s var(--ease), background-color 0.3s, border-color 0.3s;
}
.plus::before, .plus::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 12px; height: 2px; border-radius: 2px;
  background-color: currentColor;
  transform: translate(-50%, -50%);
}
.plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.3s var(--ease); }
.qa[open] .plus { background-image: var(--brand-grad); border-color: transparent; color: var(--on-brand); }
.qa[open] .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa-body { padding: 0 2px 24px; max-width: 62ch; color: var(--text-2); }
.qa-body p + p { margin-top: 10px; }

/* ---------- Final CTA ---------- */
.cta { position: relative; overflow: clip; isolation: isolate; padding-block: clamp(96px, 12vw, 168px); text-align: center; }
.cta-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cta-bg::before {
  content: ""; position: absolute; left: 50%; top: 100%;
  width: min(140vw, 1500px); aspect-ratio: 2 / 1;
  transform: translate(-50%, -62%);
  border-radius: 50%;
  background:
    radial-gradient(closest-side, rgba(79, 209, 255, 0.34), rgba(52, 211, 153, 0.16) 55%, transparent);
}
.cta-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000 10%, transparent 70%);
}
.cta-inner { display: flex; flex-direction: column; align-items: center; }

.app-card {
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 36px; padding: 10px 18px 10px 10px;
  border: 1px solid var(--line-2); border-radius: 22px;
  background-color: var(--glass);
  text-align: left;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.app-card img {
  width: 56px; height: 56px; border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 10px 24px -10px rgba(0, 0, 0, 0.8);
}
.app-name { font-family: var(--font-display); font-weight: 750; font-size: 1.05rem; line-height: 1.2; }
.app-sub { font-size: 0.85rem; color: var(--muted); line-height: 1.3; }
.app-status {
  margin-left: 6px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: 0.78rem; font-weight: 700; color: var(--text-2); white-space: nowrap;
}
@media (max-width: 479px) {
  .app-card { flex-wrap: wrap; justify-content: center; text-align: center; padding: 14px 16px; }
  .app-status { margin-left: 0; }
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 1.4rem + 5.6vw, 6rem);
  font-weight: 800; line-height: 0.98; letter-spacing: -0.05em;
  text-wrap: balance;
}
.cta .lead { max-width: 32em; margin-top: 24px; text-wrap: balance; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.cta .fine { margin-top: 18px; }

/* ---------- Footer ---------- */
.site-footer {
  padding-block: clamp(56px, 7vw, 88px) 36px;
  border-top: 1px solid var(--line);
  background-color: var(--bg-soft);
}
.f-top { display: grid; gap: 40px; }
@media (min-width: 900px) {
  .f-top { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.9fr); }
}
.f-brand p { margin-top: 16px; max-width: 26em; font-size: 0.95rem; color: var(--text-2); }
.f-brand .pill { margin: 20px 0 0; font-size: 0.8rem; }
.f-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
/* Phones: Product runs down the left, Help and Legal stack on the right */
.f-cols > .f-col:first-child { grid-row: span 2; }
@media (min-width: 600px) {
  .f-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .f-cols > .f-col:first-child { grid-row: auto; }
}
.f-h {
  margin-bottom: 14px;
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.f-col ul { display: grid; gap: 10px; list-style: none; }
.f-col a { color: var(--text); text-decoration: none; font-size: 0.95rem; }
.f-col a:hover { color: var(--accent); text-decoration: underline; }
.f-col a[aria-current="page"] { color: var(--accent); }

.f-disclaimer {
  display: flex; gap: 12px; align-items: flex-start;
  margin-top: 48px; padding: 18px 20px;
  border: 1px solid var(--line-2); border-radius: var(--radius);
  background-color: var(--surface);
  font-size: 0.95rem; font-weight: 600; line-height: 1.5;
}
.f-disclaimer .ico { margin-top: 1px; color: var(--accent); }

.f-meta {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px;
  margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 0.85rem; color: var(--muted);
}
.f-meta a { color: var(--text-2); }

/* ---------- Inner pages ---------- */
.page-hero {
  position: relative; overflow: clip; isolation: isolate;
  padding-block: clamp(56px, 8vw, 104px) clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}
.page-hero .display { font-size: clamp(2.4rem, 1.4rem + 4vw, 4.4rem); }
.page-hero .lead { margin-top: 20px; max-width: 38em; }
.page-hero .lead + .lead { margin-top: 10px; }
.page-hero .hero-ctas { margin-top: 30px; }

.page-body { padding-block: clamp(48px, 7vw, 96px); }

.support-grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .support-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.s-card {
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
}
.s-card .h3 { margin-top: 18px; font-size: 1.25rem; }
.s-card p { margin-top: 10px; color: var(--text-2); }
.s-card .btn { margin-top: 22px; }
.s-card.ink { border-color: transparent; background:
  radial-gradient(90% 90% at 100% 0%, var(--glow-a), transparent 60%), var(--bg); }
.link-list { display: grid; gap: 8px; margin-top: 14px; list-style: none; }

/* 404 */
.nf { padding-block: clamp(72px, 12vw, 160px); text-align: center; }
.nf-code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 3rem + 10vw, 10rem);
  font-weight: 800; line-height: 1; letter-spacing: -0.06em;
}
.nf .display { margin-top: 12px; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); }
.nf .lead { margin: 18px auto 0; max-width: 30em; }
.nf .hero-ctas { justify-content: center; }

@media (min-width: 760px) {
  .s-card.ink { grid-column: 1 / -1; }
}
.s-card.ink .ico-tile { color: var(--accent); }

/* ---------- Legal pages (text is verbatim; styling only) ---------- */
.legal-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.4rem + 4vw, 4.2rem);
  font-weight: 800; line-height: 1.02; letter-spacing: -0.045em;
}
.legal-draft {
  max-width: 52em;
  margin-bottom: 30px; padding: 16px 20px;
  border: 1px solid rgba(245, 181, 36, 0.45); border-radius: var(--radius);
  background-color: rgba(245, 181, 36, 0.1);
  color: var(--text-2); font-size: 0.95rem; line-height: 1.55;
}
.legal-draft b { display: block; margin-bottom: 4px; color: var(--text); }
.legal-date { margin-top: 14px; font-size: 0.95rem; color: var(--muted); }

.legal-layout { display: grid; gap: 32px; }
@media (min-width: 1040px) {
  .legal-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 64px; align-items: start; }
  .legal-aside { position: sticky; top: calc(var(--header-h) + 32px); }
}

.legal { max-width: 72ch; font-size: 1.04rem; line-height: 1.72; color: var(--text-2); }
.legal h2 {
  margin-top: 52px; padding-top: 28px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.6rem);
  font-weight: 700; line-height: 1.25; letter-spacing: -0.02em;
  color: var(--text);
}
.legal > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal p { margin-top: 16px; }
.legal ul { margin-top: 16px; padding-left: 0; list-style: none; }
.legal li { position: relative; margin-top: 12px; padding-left: 26px; }
.legal li::before {
  content: ""; position: absolute; left: 4px; top: 0.72em;
  width: 7px; height: 7px; border-radius: 50%;
  background-image: var(--brand-grad);
}
.legal b, .legal strong { color: var(--text); font-weight: 650; }
.legal a { color: var(--link); }
.legal-note {
  margin-top: 20px; padding: 6px 24px 22px;
  border: 1px solid var(--line-2); border-left: 4px solid var(--accent-2);
  border-radius: var(--radius);
  background-color: var(--bg-soft);
}
.legal-ph {
  padding: 14px 18px;
  border: 1px dashed var(--line-2); border-radius: var(--radius-sm);
  background-color: var(--surface-2);
  font-size: 0.95rem;
}
.legal-foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line);
  font-weight: 600;
}
.legal-foot .sep { color: var(--muted); }

.aside-card {
  padding: 24px;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
}
.aside-card .h3 { margin-top: 16px; font-size: 1.08rem; }
.aside-card p { margin-top: 8px; font-size: 0.95rem; color: var(--text-2); overflow-wrap: anywhere; }
.aside-card .link-list a { font-weight: 600; }

/* Cards are not links, so hover only firms up the edge; nothing jumps */
@media (hover: hover) {
  .card:hover, .tile:hover, .step:hover { box-shadow: var(--shadow-md); border-color: var(--line-2); }
  .point:hover { border-color: var(--line-2); }
}

/* ---------- Motion (CSS only; screen only; off when reduced motion is requested).
   Nothing loops for more than five seconds. ---------- */
@media screen and (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  .rise { animation: rise 0.9s var(--ease) both; }
  .d1 { animation-delay: 0.08s; }
  .d2 { animation-delay: 0.16s; }
  .d3 { animation-delay: 0.24s; }
  .d4 { animation-delay: 0.32s; }

  .tag { animation: rise 0.9s var(--ease) 0.5s both; }
  .tag-2 { animation-delay: 0.62s; }
  .tag-3 { animation-delay: 0.74s; }
  .tag-4 { animation-delay: 0.86s; }

  .draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.4s var(--ease) 0.3s forwards; }

  .typing i { animation: blink 1.4s ease-in-out 3; }
  .typing i:nth-child(2) { animation-delay: 0.2s; }
  .typing i:nth-child(3) { animation-delay: 0.4s; }

  .pill-dot { animation: pulse 2.4s ease-out 2; }

  .card, .tile, .step, .point { transition: box-shadow 0.35s var(--ease), border-color 0.35s; }

  @supports (animation-timeline: view()) {
    .reveal {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }
    .draw-on-view {
      stroke-dasharray: 1; stroke-dashoffset: 1;
      animation: draw linear both;
      animation-timeline: view();
      animation-range: entry 10% cover 45%;
    }
  }
}

@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes reveal { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes blink { 0%, 80%, 100% { opacity: 0.25; } 40% { opacity: 1; } }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.45); }
  70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

@media print {
  .site-header, .skip, .menu, .hero-bg, .cta-bg, .ath-bg, .tag, .halo { display: none !important; }
  .ink {
    --text: #0b1220; --text-2: #3a4456; --muted: #556074;
    --surface: #fff; --surface-2: #eff3f8; --glass: #fff;
    --line: rgba(11, 18, 32, 0.09); --line-2: rgba(11, 18, 32, 0.16);
    --accent: #0369a1; --accent-2: #047857; --link: #0369a1;
    background: #fff !important; color: #0b1220 !important; border: 0 !important;
  }
  .grad { background: none !important; color: #0369a1 !important; }
}
