/* Layout: a live lane of scrolling notes across the top of the home page, then alternating
   screenshot and text bands on true black. Colour comes from the app's own note palette, never
   from decoration. The app is dark, so the site is dark in both system appearances. */
:root {
  color-scheme: dark;
  --bg: #000000;
  --panel: #101310;
  --panel-2: #171b17;
  --line: #262b26;
  --fg: #ffffff;
  --muted: #a8b0a8;
  --accent: #1ed760;
  --accent-ink: #03210e;
  --gold: #ffc83d;
  --violet: #b77bff;
  --pink: #ff5fd2;
  --coral: #ff5a5f;
  --orange: #ffa03c;
  --yellow: #ffe14a;
  --aqua: #38c8ff;
  --blue: #6b8cff;
  --display: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img, svg, canvas { max-width: 100%; }
/* A grid's one column never grows past its container, whatever's inside, so nothing pushes the
   page wider than a phone. */
.hero .wrap, .copy, .shots, .stack, .stack .intro, .plain, .prose, .fact, .qa, footer .wrap {
  grid-template-columns: minmax(0, 1fr);
}
a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap {
  max-width: 1120px;
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
h1, h2, h3 { font-family: var(--display); font-weight: 900; line-height: 1.05; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 7vw, 5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); letter-spacing: -0.015em; }
h3 { font-size: 1.25rem; font-weight: 800; line-height: 1.2; }
p { margin: 0; max-width: 60ch; }
.muted { color: var(--muted); }
.eyebrow {
  font-family: var(--display); font-weight: 800; font-size: 0.8125rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}

/* Top bar */
.top { padding-block: 22px; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand {
  display: flex; align-items: center; gap: 12px; color: var(--fg); text-decoration: none;
  font-family: var(--display); font-weight: 900; font-size: 1.75rem; letter-spacing: -0.01em;
}
.brand svg { width: 30px; height: 38px; flex: none; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-weight: 800; font-size: 0.9375rem;
  color: var(--accent-ink); background: var(--accent);
  padding: 8px 16px; border-radius: 999px;
}

/* Hero */
.hero { padding-block: clamp(24px, 6vw, 72px) clamp(28px, 5vw, 56px); }
.hero .wrap { display: grid; gap: clamp(18px, 3vw, 28px); }
.hero p.lede { font-size: clamp(1.125rem, 2.1vw, 1.4rem); color: var(--muted); max-width: 46ch; }
.store { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.soon {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 800; font-size: 1.0625rem;
  border: 1px solid var(--line); background: var(--panel); border-radius: 14px; padding: 12px 18px;
}
.soon svg { width: 20px; height: 20px; flex: none; }
.lane-box {
  border: 1px solid var(--line); border-radius: 28px; background: var(--bg);
  overflow: hidden; margin-top: clamp(8px, 2vw, 20px);
}
#lane { display: block; width: 100%; }
.lane-note { font-size: 0.875rem; color: var(--muted); }

/* Bands */
.band { padding-block: clamp(44px, 8vw, 104px); border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(22px, 4.5vw, 64px); align-items: center; }
.row.flip .copy { order: -1; }
.copy { display: grid; gap: 18px; min-width: 0; }
.copy ul, .prose ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.copy li, .prose li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 12px; align-items: start; color: var(--muted); }
.copy li::before, .prose li::before { content: ""; width: 14px; height: 10px; margin-top: 0.5em; border-radius: 50%; background: var(--dot, var(--accent)); transform: rotate(-20deg); }
.copy li strong, .prose li strong { color: var(--fg); font-weight: 600; }
.shots { display: grid; gap: 16px; min-width: 0; }
.shot {
  margin: 0; border-radius: clamp(14px, 2.4vw, 26px); overflow: hidden;
  border: 1px solid var(--line); background: var(--bg);
  box-shadow: 0 0 0 6px #0a0c0a, 0 30px 80px -40px rgba(30, 215, 96, 0.45);
}
.shot img { display: block; width: 100%; height: auto; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

/* Reading a label */
.label-key { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.label-key .big { font-family: var(--display); font-weight: 900; font-size: 3.25rem; line-height: 1; color: var(--orange); letter-spacing: 0.02em; }
.label-key dl { margin: 0; display: grid; gap: 4px; font-size: 0.9375rem; color: var(--muted); }
.label-key dt { display: inline; font-family: var(--display); font-weight: 900; color: var(--orange); margin-right: 8px; }
.label-key dd { display: inline; margin: 0; }
.palette { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.palette span {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--display); font-weight: 900; font-size: 0.9375rem; color: #0b0b0b;
}

/* What opens when a piece is tapped, drawn like the app's own tiles and buttons */
.launcher {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px;
  padding: clamp(14px, 3vw, 22px); border-radius: 30px; border: 1px solid var(--line); background: var(--panel);
  box-shadow: 0 0 0 6px #0a0c0a, 0 30px 80px -40px rgba(30, 215, 96, 0.45);
}
.tiles, .buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.tile, .buttons span {
  display: grid; justify-items: center; align-content: center; gap: 6px;
  font-family: var(--display); font-weight: 800; font-size: 0.875rem;
}
.tile { width: 108px; height: 82px; border-radius: 18px; border: 1px solid var(--line); background: var(--panel-2); color: var(--muted); }
.tile svg { width: 24px; height: 24px; }
.tile.on { background: var(--accent); border-color: var(--accent); color: #000; }
.buttons span { height: 92px; border-radius: 22px; font-weight: 900; font-size: 0.9375rem; }
.buttons svg { width: 28px; height: 28px; }
.buttons .hear { width: 92px; border: 1px solid var(--line); background: var(--panel-2); color: var(--fg); }
.buttons .play { width: 136px; background: var(--accent); color: #000; box-shadow: 0 0 28px rgba(30, 215, 96, 0.45); }
.buttons .play svg { width: 34px; height: 34px; }

/* Stacks of cards: the course, rewards, and privacy */
.stack { display: grid; gap: clamp(22px, 4vw, 40px); }
.stack .intro { display: grid; gap: 18px; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.trio figure { display: grid; gap: 10px; margin: 0; align-content: start; }
.trio figcaption { font-size: 0.9375rem; color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.facts.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 24px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.fact p { color: var(--muted); font-size: 1rem; }
.fact svg { width: 30px; height: 30px; }
.fact .head { width: 46px; height: 34px; }

/* Pip */
.pips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 10px; margin: 0; padding: 0; list-style: none; }
.pips li { display: grid; justify-items: center; gap: 6px; text-align: center; font-size: 0.875rem; color: var(--muted); line-height: 1.3; }
.pips svg { width: 100%; max-width: 92px; height: auto; color: var(--pip); }
.bubbles { display: grid; gap: 12px; justify-items: start; }
.bubble {
  position: relative; max-width: 32ch; margin: 0 0 0 10px; padding: 10px 16px; border-radius: 18px;
  background: var(--panel-2);
  background: color-mix(in srgb, var(--pip, var(--accent)) 16%, var(--panel));
  border: 1px solid var(--line);
  border-color: color-mix(in srgb, var(--pip, var(--accent)) 50%, var(--panel));
  font-family: var(--display); font-weight: 800; line-height: 1.35; color: var(--fg);
}
/* The tail, pointing back at Pip. */
.bubble::before {
  content: ""; position: absolute; left: -7px; bottom: 14px; width: 12px; height: 12px;
  background: inherit; border: inherit; border-top-color: transparent; border-right-color: transparent;
  border-radius: 0 0 0 3px; transform: rotate(45deg);
}

.plain { display: grid; gap: 14px; }
.plain p { color: var(--muted); font-size: 1.125rem; max-width: 62ch; }
.plain p.lane-note { font-size: 0.875rem; }

/* Questions and answers */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.qa { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 24px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.qa p { color: var(--muted); font-size: 1rem; max-width: none; }

/* The privacy policy, terms, and support pages */
.doc { padding-block: clamp(20px, 5vw, 56px) clamp(44px, 8vw, 96px); }
.prose { max-width: 70ch; display: grid; gap: 18px; }
.prose h1 { font-size: clamp(2.25rem, 6vw, 3.75rem); margin-bottom: 8px; }
.prose h2 { font-size: clamp(1.5rem, 3.2vw, 2rem); margin-top: 22px; }
.prose h3 { margin-top: 12px; }
.prose p { max-width: none; color: var(--muted); }
.prose p strong { color: var(--fg); font-weight: 600; }
.prose ol { margin: 0; padding-left: 1.4em; color: var(--muted); display: grid; gap: 10px; }
.prose a { word-break: break-word; }
mark.missing {
  background: var(--coral); color: #000; font-weight: 600; padding: 0 6px; border-radius: 6px;
}

footer { border-top: 1px solid var(--line); padding-block: 32px 44px; color: var(--muted); font-size: 0.9375rem; }
footer .wrap { display: grid; gap: 14px; }
footer nav ul { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; }
footer nav a { color: var(--fg); font-weight: 500; }
footer p { max-width: 75ch; }

@media (max-width: 960px) {
  .facts.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .row { grid-template-columns: minmax(0, 1fr); }
  .row.flip .copy { order: 0; }
  .trio, .facts, .faq { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .pair, .facts.four { grid-template-columns: minmax(0, 1fr); }
  .pips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .soon { font-size: 1rem; gap: 8px; padding: 10px 14px; }
}
