/* ============================================================
   SquadPad website v2 — design system
   Layout concept: a chalk-white match programme. Oversized condensed
   headlines, a Monday-to-Sunday spine that recurs on every page, and
   colour that encodes role (ink = club, orange = coach, lavender =
   family, lime = player). Boldness lives in type and the club-week
   board; everything around it stays quiet.
   ============================================================ */

:root {
  /* brand tokens (identity/brand-tokens.json) */
  --chalk: #f7f8fa;
  --ink: #11151d;
  --night: #0b0d12;
  --day: #f2f4f7;
  --play: #ddeb79;
  --practice: #ff985e;
  --collection: #c4b5fd;
  --moss: #e7ebdd;

  /* theme tokens, light */
  --bg: var(--chalk);
  --fg: var(--ink);
  --fg-2: #4f5866;
  --fg-3: #7a8494;
  --surface: #ffffff;
  --surface-2: #eceef2;
  --surface-3: #e1e4ea;
  --line: rgba(17, 21, 29, 0.12);
  --line-strong: rgba(17, 21, 29, 0.28);
  --on-accent: var(--ink);
  --shadow: 0 1px 2px rgba(17, 21, 29, 0.06), 0 12px 40px -12px rgba(17, 21, 29, 0.18);
  --shadow-lg: 0 2px 6px rgba(17, 21, 29, 0.08), 0 40px 80px -24px rgba(17, 21, 29, 0.35);
  --stage: var(--moss);
  --ok: #2f8f5b;
  --warn: #c7791f;
  --bad: #c9403b;

  /* seat (role) accent, default = player lime */
  --seat: var(--play);
  --seat-ink: var(--ink);

  /* type */
  --display: "Bricolage Grotesque", "Arial Narrow", Impact, sans-serif;
  --body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "Azeret Mono", "SFMono-Regular", Menlo, monospace;
  --condensed: "Barlow Condensed", "Arial Narrow", sans-serif; /* the app's poster face */

  /* scale */
  --gutter: clamp(16px, 4vw, 56px);
  --section: clamp(72px, 9vw, 136px);
  --radius: 18px;
  --radius-sm: 10px;
  --max: 1320px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: var(--night);
    --fg: var(--chalk);
    --fg-2: #b5bdcb;
    --fg-3: #8a94a6;
    --surface: #181c24;
    --surface-2: #1f242e;
    --surface-3: #252b36;
    --line: rgba(247, 248, 250, 0.14);
    --line-strong: rgba(247, 248, 250, 0.32);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 40px -12px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.4), 0 40px 80px -24px rgba(0, 0, 0, 0.8);
    --stage: #1b2118;
    --ok: #6fcf97;
    --warn: #f0b35a;
    --bad: #f07d77;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: var(--night);
  --fg: var(--chalk);
  --fg-2: #b5bdcb;
  --fg-3: #8a94a6;
  --surface: #181c24;
  --surface-2: #1f242e;
  --surface-3: #252b36;
  --line: rgba(247, 248, 250, 0.14);
  --line-strong: rgba(247, 248, 250, 0.32);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 40px -12px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.4), 0 40px 80px -24px rgba(0, 0, 0, 0.8);
  --stage: #1b2118;
  --ok: #6fcf97;
  --warn: #f0b35a;
  --bad: #f07d77;
  color-scheme: dark;
}

/* seat (role) accents */
[data-seat="clubs"] { --seat: var(--ink); --seat-ink: var(--chalk); }
[data-seat="coaches"] { --seat: var(--practice); --seat-ink: var(--ink); }
[data-seat="families"] { --seat: var(--collection); --seat-ink: var(--ink); }
[data-seat="players"] { --seat: var(--play); --seat-ink: var(--ink); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) [data-seat="clubs"] { --seat: var(--chalk); --seat-ink: var(--ink); }
}
:root[data-theme="dark"] [data-seat="clubs"] { --seat: var(--chalk); --seat-ink: var(--ink); }

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100%;
}
img, svg, video { max-width: 100%; display: block; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: 0.45; }
:focus-visible { outline: 3px solid var(--practice); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- type ---------- */
.display {
  font-family: var(--display);
  font-variation-settings: "wdth" 78, "opsz" 96;
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  text-wrap: balance;
}
.display-xl { font-size: clamp(3.2rem, 8.6vw, 9.6rem); }
.display-lg { font-size: clamp(2.6rem, 7vw, 6.4rem); }
.display-md { font-size: clamp(2rem, 4.6vw, 4rem); }
.display-sm { font-size: clamp(1.5rem, 3vw, 2.4rem); }
.title {
  font-family: var(--display);
  font-variation-settings: "wdth" 90, "opsz" 48;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-wrap: balance;
}
.title-lg { font-size: clamp(1.9rem, 3.4vw, 3rem); }
.title-md { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.title-sm { font-size: 1.2rem; }
.eyebrow {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-2);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--seat); flex: none; }
.eyebrow.plain::before { display: none; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.5; color: var(--fg-2); max-width: 36em; text-wrap: pretty; }
.body { color: var(--fg-2); max-width: 38em; text-wrap: pretty; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.measure { max-width: 64ch; }
strong { font-weight: 700; }

/* ---------- layout ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section-tight { padding-block: calc(var(--section) * 0.6); }
.grid { display: grid; gap: clamp(20px, 3vw, 40px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.grid-7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.grid-4-8 { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.stack { display: flex; flex-direction: column; gap: 18px; }
.stack-lg { gap: 28px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.between { justify-content: space-between; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.section-head { display: grid; gap: 14px; max-width: 60ch; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head.wide { max-width: none; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; }
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4, .grid-5-7, .grid-7-5, .grid-4-8 { grid-template-columns: minmax(0, 1fr); }
  .section-head.wide { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 620px) and (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--fg); color: var(--bg); }
.btn-primary:hover { background: var(--seat); color: var(--seat-ink); }
.btn-seat { background: var(--seat); color: var(--seat-ink); }
.btn-seat:hover { background: var(--fg); color: var(--bg); }
.btn-ghost { border-color: var(--line-strong); color: var(--fg); background: transparent; }
.btn-ghost:hover { border-color: var(--fg); }
.btn-light { background: var(--chalk); color: var(--ink); }
.btn-light:hover { background: var(--play); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 0.92rem; }
.btn-lg { min-height: 60px; padding: 0 28px; font-size: 1.08rem; }
.link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700;
  border-bottom: 1.5px solid var(--line-strong); padding-bottom: 2px;
}
.link:hover { border-color: var(--fg); }
.link .arrow { transition: transform 0.25s var(--ease); }
.link:hover .arrow { transform: translateX(3px); }

/* ---------- chips / pills ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1.5px solid var(--line-strong); font-weight: 600; font-size: 0.95rem;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.chip:hover { border-color: var(--fg); }
.chip[aria-pressed="true"], .chip.on { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.pill {
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono);
  font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; background: var(--surface-2); color: var(--fg-2);
}
.pill.pill-seat { background: var(--seat); color: var(--seat-ink); }
.pill.ok { background: color-mix(in srgb, var(--ok) 18%, transparent); color: var(--ok); }
.pill.warn { background: color-mix(in srgb, var(--warn) 18%, transparent); color: var(--warn); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; }

/* ---------- nav ---------- */
#chrome { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; }
.nav {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; min-width: 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand img { height: 30px; width: auto; }
.brand .wordmark { font-family: var(--display); font-variation-settings: "wdth" 85; font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a {
  white-space: nowrap;
  padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: 0.97rem; color: var(--fg-2);
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover { color: var(--fg); background: var(--surface-2); }
.nav-links a[aria-current="page"] { color: var(--fg); background: var(--surface-2); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.nav-burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line-strong); align-items: center; justify-content: center; margin-left: auto; }
.nav-sheet { display: none; }
@media (max-width: 1180px) {
  .nav-links, .nav-cta .btn-ghost, .nav-cta .seat-switch { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-inner { gap: 12px; }
  .nav-cta { margin-left: auto; min-width: 0; }
  .nav-cta .btn-sm { padding-inline: 14px; }
  .nav-sheet { display: block; position: fixed; inset: 0; z-index: 60; background: var(--bg); padding: calc(24px + env(safe-area-inset-top, 0px)) var(--gutter) 40px; overflow: auto; }
  .nav-sheet[hidden] { display: none !important; }
  .nav-sheet a.big { display: block; font-family: var(--display); font-variation-settings: "wdth" 80; font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 9vw, 3.4rem); line-height: 1; padding: 10px 0; border-bottom: 1px solid var(--line); }
}
.seat-switch { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface-2); }
.seat-switch button { width: 30px; height: 30px; border-radius: 50%; border: 2px solid transparent; position: relative; }
.seat-switch button span { position: absolute; inset: 5px; border-radius: 50%; }
.seat-switch button[aria-pressed="true"] { border-color: var(--fg); }
.seat-switch button:hover { border-color: var(--line-strong); }

/* ---------- ticker ---------- */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--surface); }
.ticker-track { display: flex; gap: 0; width: max-content; animation: ticker 70s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 14px; padding: 14px 28px; border-right: 1px solid var(--line); font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.02em; white-space: nowrap; color: var(--fg-2); }
.ticker-item b { color: var(--fg); font-weight: 500; }
.ticker-item .sw { width: 10px; height: 10px; border-radius: 2px; flex: none; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- hero ---------- */
.hero { padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(40px, 6vw, 80px); position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
@media (max-width: 1200px) { .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
.hero h1 { margin-top: 18px; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line span { display: inline-block; animation: rise 0.6s var(--ease) both; }
.hero h1 .line:nth-child(2) span { animation-delay: 0.08s; }
.hero h1 .line:nth-child(3) span { animation-delay: 0.16s; }
.hero h1 .accent { color: transparent; -webkit-text-stroke: 2px var(--fg); }
@keyframes rise { from { transform: translateY(30%); opacity: 0.001; } to { transform: none; opacity: 1; } }
.hero .lede { margin-top: 26px; }
.hero .actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero .meta { margin-top: 28px; display: flex; gap: 20px; flex-wrap: wrap; color: var(--fg-3); font-size: 0.9rem; }
.hero .meta span { display: inline-flex; align-items: center; gap: 8px; }

/* club-week board */
.board {
  background: var(--stage);
  border-radius: calc(var(--radius) * 1.4);
  padding: clamp(16px, 2vw, 28px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(14px, 2vw, 28px);
  align-items: stretch;
  position: relative;
  overflow: hidden;
  min-height: 560px;
}
.board-shell { container-type: inline-size; }
.board::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, transparent calc(50% - 0.5px), color-mix(in srgb, var(--fg) 10%, transparent) calc(50% - 0.5px), color-mix(in srgb, var(--fg) 10%, transparent) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
    radial-gradient(circle at 50% 50%, transparent 0 80px, color-mix(in srgb, var(--fg) 10%, transparent) 80px 81px, transparent 81px);
  opacity: 0.6; pointer-events: none;
}
.board > * { position: relative; }
.week { display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.week button {
  display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 14px;
  text-align: left; padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid transparent; transition: background 0.2s, border-color 0.2s, transform 0.2s var(--ease);
  min-height: 56px;
}
.week button:hover { background: color-mix(in srgb, var(--surface) 55%, transparent); }
.week button[aria-current="true"] { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow); transform: translateX(6px); }
.week .d { font-family: var(--display); font-variation-settings: "wdth" 80; font-weight: 800; font-size: 1.5rem; text-transform: uppercase; line-height: 1; }
.week .t { display: block; font-weight: 700; font-size: 0.98rem; line-height: 1.2; }
.week .s { display: block; font-size: 0.82rem; color: var(--fg-3); line-height: 1.25; margin-top: 2px; }
.week .who { width: 12px; height: 12px; border-radius: 50%; }
.week .bar { grid-column: 1 / -1; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; display: none; }
.week button[aria-current="true"] .bar { display: block; }
.week .bar i { display: block; height: 100%; width: 0; background: var(--fg); animation: fill var(--hold, 5200ms) linear forwards; }
@keyframes fill { to { width: 100%; } }
@container (max-width: 639px) {
  .board { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .week { flex-direction: row; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; order: 2; }
  .week button { flex: none; grid-template-columns: minmax(0, 1fr); width: 164px; gap: 6px; align-content: start; }
  .week button[aria-current="true"] { transform: none; }
  .week .who, .week .s { display: none; }
  .week .d { font-size: 1.2rem; }
  .board .board-phone { display: flex; justify-content: center; }
}

/* ---------- phone: frame, real captures, and whole-club illustrations ---------- */
.phone {
  width: 272px; aspect-ratio: 1206 / 2622; border-radius: 44px;
  background: var(--ink); padding: 9px; box-shadow: var(--shadow-lg); flex: none;
  position: relative;
}
.phone.sm { width: 230px; border-radius: 38px; padding: 8px; }
.phone::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); pointer-events: none; }
.phone .screen { border-radius: 36px; height: 100%; overflow: hidden; position: relative; background: var(--night); color: var(--chalk); }
.phone.sm .screen { border-radius: 31px; }
/* real captures: light and dark variants, resolved by the site theme so no image loads unused */
.phone .screen.shot { background: var(--cap-l) center top / 100% auto no-repeat, var(--chalk); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .phone .screen.shot { background-image: var(--cap-d); background-color: var(--night); } }
:root[data-theme="dark"] .phone .screen.shot { background-image: var(--cap-d); background-color: var(--night); }

/* illustration shell: the app's whole-club presentation at a 252px screen (≈0.65 of the 390pt phone).
   Interface roles follow the appearance (DS2 light / dark); printed posters keep their colour. */
.phone .app-shell {
  --c-canvas: #f2f4f7; --c-surface: #ffffff; --c-raised: #e3e7ed; --c-ink: #11151d; --c-muted: #454e5c; --c-line: #dce0e7;
  --c-action: #11151d; --c-on-action: #f7f8fa; --c-cobalt: #2447e8; --c-cobalt-soft: #e7ecff; --c-cobalt-ink: #20387f;
  --c-ok-bg: #e7f3ec; --c-ok: #245c43; --c-warn-bg: #fff3d6; --c-warn: #75550b;
  --p-ink: #141927; --p-chalk: #f4f5f7; --p-yellow: #f7d65c; --p-lilac: #d9d2ff; --p-mint: #ddeee3; --p-pink: #f4cedb; --p-meadow: #dff184; --p-sky: #b8d9f5; --p-cobalt: #2447e8;
  background: var(--c-canvas); color: var(--c-ink); display: flex; flex-direction: column; font-size: 9.5px; line-height: 1.35;
  font-family: var(--body); -webkit-font-smoothing: antialiased;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .phone .app-shell { --c-canvas: #0b0d12; --c-surface: #181c24; --c-raised: #252b36; --c-ink: #f7f8fa; --c-muted: #c1c8d2; --c-line: #3a4352; --c-action: #f7f8fa; --c-on-action: #11151d; --c-cobalt-soft: #1e2752; --c-cobalt-ink: #9db0ff; --c-ok-bg: #172d25; --c-ok: #8fdcb8; --c-warn-bg: #302714; --c-warn: #f1d28b; } }
:root[data-theme="dark"] .phone .app-shell { --c-canvas: #0b0d12; --c-surface: #181c24; --c-raised: #252b36; --c-ink: #f7f8fa; --c-muted: #c1c8d2; --c-line: #3a4352; --c-action: #f7f8fa; --c-on-action: #11151d; --c-cobalt-soft: #1e2752; --c-cobalt-ink: #9db0ff; --c-ok-bg: #172d25; --c-ok: #8fdcb8; --c-warn-bg: #302714; --c-warn: #f1d28b; }
.phone .pstatus { height: 32px; background: none; border-radius: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 6px 22px 0; font-weight: 600; font-size: 9.5px; }
.phone .pstatus .island { width: 70px; height: 20px; border-radius: 12px; background: #000; justify-self: center; }
.phone .pstatus .sig { justify-self: end; display: flex; align-items: flex-end; gap: 1.5px; }
.phone .pstatus .sig i { width: 2.5px; background: currentColor; border-radius: 1px; height: 5px; }
.phone .pstatus .sig i:nth-child(2) { height: 7px; } .phone .pstatus .sig i:nth-child(3) { height: 9px; }
.phone .pstatus .sig b { width: 16px; height: 8px; border: 1.2px solid currentColor; border-radius: 2.5px; margin-left: 4px; background: linear-gradient(90deg, currentColor 0 85%, transparent 85%); background-clip: content-box; padding: 1px; }
.phone .app { flex: 1; min-height: 0; padding: 0 12px 8px; overflow: hidden; display: flex; flex-direction: column; gap: 7px; position: relative; }
.phone .head { display: grid; gap: 2px; margin: 0; }
.phone .crumb { display: inline-flex; align-items: center; gap: 4px; color: var(--c-muted); font-size: 8.5px; }
.phone .crumb svg { width: 10px; height: 10px; }
.phone .h { display: block; font-family: var(--condensed); font-weight: 600; font-size: 21px; line-height: .98; letter-spacing: -.01em; margin: 0; color: var(--c-ink); }
.phone .lead { color: var(--c-muted); font-size: 8.5px; margin: 0; }
/* printed posters */
.phone .poster { position: relative; border-radius: 14px; padding: 11px 12px 12px; display: grid; gap: 4px; justify-items: start; color: var(--p-ink); overflow: hidden; }
.phone .poster.yellow { background: var(--p-yellow); } .phone .poster.lilac { background: var(--p-lilac); } .phone .poster.mint { background: var(--p-mint); } .phone .poster.pink { background: var(--p-pink); } .phone .poster.meadow { background: var(--p-meadow); } .phone .poster.sky { background: var(--p-sky); }
.phone .poster.cobalt { background: var(--p-cobalt); color: #fff; } .phone .poster.ink { background: var(--p-ink); color: var(--p-chalk); }
.phone .poster .pchip { font-size: 6.5px; font-weight: 700; padding: 3px 6px; border-radius: 999px; background: rgba(255,255,255,.55); border: 1px solid rgba(20,25,39,.12); letter-spacing: .02em; text-transform: uppercase; }
.phone .poster.cobalt .pchip, .phone .poster.ink .pchip { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.25); color: inherit; }
.phone .poster .pt { font-weight: 700; font-size: 12.5px; line-height: 1.15; letter-spacing: -.01em; max-width: 62%; }
.phone .poster .pt.caps { font-family: var(--condensed); font-weight: 600; font-size: 17px; line-height: .95; text-transform: uppercase; letter-spacing: 0; }
.phone .poster small { font-size: 8.5px; line-height: 1.35; max-width: 64%; opacity: .92; }
.phone .poster .art { position: absolute; right: 8px; top: 10px; transform: rotate(var(--rot, -6deg)); filter: drop-shadow(0 4px 6px rgba(20,25,39,.12)); }
.phone .poster .ppill { margin-top: 4px; }
/* pills, tags, notices */
.phone .ppill { display: inline-flex; align-items: center; gap: 5px; min-height: 25px; padding: 0 10px; border-radius: 999px; background: var(--p-ink); color: var(--p-chalk); font: 700 8.5px/1 var(--body); letter-spacing: 0; text-transform: none; white-space: nowrap; }
.phone .ppill.yellow { background: var(--p-yellow); color: var(--p-ink); }
.phone .ppill.white { background: #fff; color: var(--p-ink); }
.phone .ppill.ghost { background: transparent; color: var(--c-ink); border: 1px solid var(--c-line); }
.phone .app > .ppill, .phone .ppanel > .ppill { align-self: start; margin-top: 2px; }
.phone .ppills { display: flex; gap: 6px; flex-wrap: wrap; }
.phone .tag { display: inline-flex; align-items: center; padding: 2px 6px; border-radius: 999px; border: 1px solid rgba(20,25,39,.12); background: var(--c-surface); font-size: 7px; font-weight: 700; color: var(--c-muted); white-space: nowrap; }
.phone .tag.green { background: var(--c-ok-bg); color: var(--c-ok); border-color: transparent; }
.phone .tag.yellow { background: #fff1bf; color: #6a5100; border-color: transparent; }
.phone .notice { display: flex; gap: 7px; align-items: flex-start; padding: 9px 10px; border-radius: 10px; background: var(--c-cobalt-soft); color: var(--c-cobalt-ink); border: 1px solid rgba(36,71,232,.1); }
.phone .notice svg { flex: none; margin-top: 1px; }
.phone .notice b { display: block; font-size: 8.5px; } .phone .notice small { display: block; font-size: 7.5px; opacity: .9; margin-top: 1px; }
/* panels and rows */
.phone .ppanel { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 12px; padding: 9px 11px; display: grid; }
.phone .ph { font-weight: 700; font-size: 11px; letter-spacing: -.01em; }
.phone .ph-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.phone .ph-row small { color: var(--c-cobalt-ink); font-weight: 700; font-size: 7.5px; }
.phone .prow { display: flex; flex-wrap: nowrap; gap: 8px; align-items: center; padding: 6px 0; min-height: 32px; border-bottom: 1px solid var(--c-line); }
.phone .ppanel .prow:last-child, .phone .ppanel .fade:last-child .prow { border-bottom: 0; padding-bottom: 2px; }
.phone .ppanel > .ph + .prow, .phone .ppanel > .ph-row + .prow, .phone .ppanel > .ph-row + .fade .prow { padding-top: 6px; }
.phone .prow .tile { width: 26px; height: 26px; border-radius: 8px; background: var(--c-cobalt-soft); color: var(--c-cobalt); display: grid; place-items: center; flex: none; }
.phone .prow .tile svg { width: 13px; height: 13px; }
.phone .prow .t { flex: 1; min-width: 0; display: grid; gap: 1px; }
.phone .prow .t b { font-size: 9.5px; font-weight: 700; } .phone .prow .t small { font-size: 8px; color: var(--c-muted); }
.phone .prow .r { display: inline-flex; align-items: center; gap: 5px; color: var(--c-ink); flex: none; font-size: 8px; }
.phone .prow .r b { font-weight: 700; font-size: 8px; }
.phone .date { width: 26px; display: grid; justify-items: center; color: var(--c-cobalt); flex: none; line-height: 1; }
.phone .date small { font-size: 6.5px; font-weight: 700; } .phone .date b { font-family: var(--condensed); font-weight: 600; font-size: 15px; }
.phone .ini { width: 24px; height: 24px; border-radius: 50%; background: var(--p-lilac); color: var(--p-ink); display: grid; place-items: center; font-size: 8px; font-weight: 700; }
.phone .min { font-family: var(--condensed); font-weight: 600; font-size: 14px; color: var(--c-ink); display: inline-flex; align-items: baseline; gap: 2px; }
.phone .min small { font-family: var(--body); font-size: 7px; color: var(--c-muted); }
.phone .stats { display: flex; justify-content: space-around; gap: 10px; padding: 7px 0 2px; border-top: 1px solid var(--c-line); margin-top: 7px; }
.phone .stats.two { justify-content: space-between; padding-bottom: 6px; border-bottom: 1px solid var(--c-line); margin-top: 6px; }
.phone .stats div { display: grid; gap: 2px; }
.phone .stats strong { font-family: var(--condensed); font-weight: 600; font-size: 20px; line-height: 1; }
.phone .stats span { font-size: 7px; color: var(--c-muted); }
.phone .seg { display: grid; grid-auto-flow: column; gap: 5px; margin-top: 7px; }
.phone .seg span { display: grid; justify-items: center; gap: 0; padding: 6px 0 5px; border-radius: 9px; border: 1px solid var(--c-line); font-size: 7px; color: var(--c-muted); }
.phone .seg span b { font-family: var(--condensed); font-weight: 600; font-size: 15px; line-height: 1; color: var(--c-ink); }
.phone .seg span.on { border-color: var(--c-cobalt); background: var(--c-cobalt-soft); box-shadow: inset 0 0 0 1px var(--c-cobalt); }
.phone .psteps { display: grid; grid-template-columns: repeat(3, 1fr); justify-items: center; font-size: 7.5px; color: var(--c-muted); position: static; gap: 0; }
.phone .psteps span { display: grid; justify-items: center; gap: 3px; }
.phone .psteps i { width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 7.5px; font-weight: 700; background: var(--c-surface); border: 1px solid var(--c-line); }
.phone .psteps span.on { color: var(--c-cobalt); font-weight: 700; } .phone .psteps span.on i { background: var(--c-cobalt); color: #fff; border-color: var(--c-cobalt); }
.phone .choices { display: grid; gap: 5px; }
.phone .choice { display: flex; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 10px; background: var(--c-surface); border: 1px solid #c9ced8; min-height: 32px; }
.phone .choice i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid #8591a2; flex: none; }
.phone .choice.on { border-color: var(--c-cobalt); background: var(--c-cobalt-soft); box-shadow: inset 0 0 0 1px var(--c-cobalt); }
.phone .choice.on i { border-color: var(--c-cobalt); background: radial-gradient(circle, var(--c-cobalt) 0 45%, transparent 50%); }
.phone .choice span { display: grid; gap: 1px; } .phone .choice b { font-size: 9.5px; } .phone .choice small { font-size: 7.5px; color: var(--c-muted); }
/* pitch */
.phone .pitch { aspect-ratio: 1.15; border-radius: 12px; background: var(--p-mint); position: relative; overflow: hidden; border: 1px solid #b9d3c2; }
.phone .pitch::before { content: ""; position: absolute; inset: 8px; border: 1px solid #5a8f6e; border-radius: 2px; background: linear-gradient(#5a8f6e, #5a8f6e) center / 100% 1px no-repeat; }
.phone .pitch::after { content: ""; position: absolute; left: 50%; top: 50%; width: 26%; aspect-ratio: 1; border: 1px solid #5a8f6e; border-radius: 50%; transform: translate(-50%, -50%); }
.phone .pitch i { position: absolute; width: 20px; height: 20px; border-radius: 50%; background: #fff; color: #163b2b; border: 1.5px solid #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transform: translate(-50%, -50%); display: grid; place-items: center; font-style: normal; font-size: 6.5px; font-weight: 700; z-index: 1; }
/* player card */
.phone .pcard { position: relative; border-radius: 14px; background: var(--p-meadow); color: var(--p-ink); padding: 11px 12px 10px; min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; border: 1px solid rgba(20,25,39,.5); }
.phone .pcard::before, .phone .pcard::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid #a6b957; width: 190px; height: 190px; right: -60px; top: 30px; }
.phone .pcard::after { width: 150px; height: 150px; right: -40px; top: 50px; }
.phone .pc-top { display: flex; justify-content: space-between; align-items: flex-start; position: relative; }
.phone .pc-top b { font-size: 9.5px; display: block; } .phone .pc-top small { font-size: 7.5px; }
.phone .stamp { font-size: 7px; font-weight: 700; padding: 3px 7px; background: var(--p-yellow); border: 1px solid var(--p-ink); transform: rotate(-7deg); }
.phone .pc-name { position: relative; font-family: var(--condensed); font-weight: 600; font-size: 28px; line-height: .92; padding: 10px 0 12px; }
.phone .pcard .art { position: absolute; right: 6px; top: 36px; transform: rotate(var(--rot, 9deg)); filter: drop-shadow(2px 6px 5px rgba(20,25,39,.15)); }
.phone .pc-foot { position: relative; display: flex; justify-content: space-between; align-items: flex-end; border-top: 1px solid #a6b957; padding-top: 7px; }
.phone .pc-foot b { font-size: 8.5px; display: block; } .phone .pc-foot small { font-size: 7.5px; }
.phone .backdrop { font-size: 7px; font-weight: 700; padding: 3px 7px; border-radius: 999px; background: rgba(244,245,247,.7); }
/* shelf (collection) */
.phone .shelf { background: var(--p-yellow); color: var(--p-ink); border-radius: 14px; padding: 12px 12px 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 8px; }
.phone .shelf .item { display: grid; justify-items: center; text-align: center; gap: 2px; padding-bottom: 8px; position: relative; }
.phone .shelf .item b { font-size: 8.5px; margin-top: 2px; } .phone .shelf .item small { font-size: 7px; }
.phone .shelf .item .ppill { margin-top: 4px; min-height: 22px; padding: 0 9px; font-size: 7.5px; }
.phone .shelf .item > i { position: absolute; left: 10%; right: 10%; bottom: 0; height: 4px; border-radius: 2px; background: #c3a84a; }
.phone .shelf .art { transform: none; }
/* chat */
.phone .pinned { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 2px 0 6px; border-bottom: 1px solid var(--c-line); }
.phone .pinned b { font-size: 9px; display: block; } .phone .pinned small { font-size: 7.5px; color: var(--c-muted); }
.phone .chat { display: flex; flex-direction: column; gap: 6px; flex: 1; justify-content: flex-end; padding: 4px 0; }
.phone .bubble { max-width: 82%; padding: 8px 10px; border-radius: 12px; background: var(--c-surface); border: 1px solid var(--c-line); display: grid; gap: 2px; }
.phone .bubble.me { align-self: flex-end; background: var(--c-cobalt-soft); border-color: transparent; }
.phone .bubble b { font-size: 7.5px; } .phone .bubble p { margin: 0; font-size: 9px; line-height: 1.35; } .phone .bubble small { font-size: 7px; color: var(--c-muted); }
.phone .pfield { display: block; padding: 9px 10px; border-radius: 10px; background: var(--c-surface); border: 1px solid #c9ced8; color: var(--c-muted); font-size: 9px; }
.phone .pfield.pin { text-align: center; color: var(--c-ink); font-size: 14px; letter-spacing: .2em; margin: 6px 0 8px; }
/* entry */
.phone .found { display: inline-flex; gap: 5px; align-items: center; font-size: 8.5px; font-weight: 700; color: var(--c-ink); }
.phone .found svg { width: 11px; height: 11px; }
.phone .pass { background: var(--p-lilac); color: var(--p-ink); border-radius: 14px; padding: 12px; display: grid; gap: 8px; position: relative; overflow: hidden; }
.phone .pass::before { content: ""; position: absolute; width: 150px; height: 150px; right: -60px; top: -10px; border-radius: 50%; border: 1.5px solid var(--p-cobalt); box-shadow: inset 0 0 0 20px var(--p-lilac), inset 0 0 0 21.5px var(--p-cobalt); }
.phone .pass .shield { width: 28px; height: 32px; background: var(--p-cobalt); color: var(--p-yellow); border-radius: 6px 6px 14px 14px; display: grid; place-items: center; font-family: var(--condensed); font-weight: 600; font-size: 16px; }
.phone .pass > b { font-size: 17px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; position: relative; }
.phone .pass-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border-top: 1px solid var(--p-ink); padding-top: 6px; position: relative; }
.phone .pass-row small { display: block; font-size: 7.5px; } .phone .pass-row b { font-size: 9.5px; }
/* toast, tabs, motion */
.phone .toast { position: absolute; left: 12px; right: 12px; top: 2px; z-index: 2; display: flex; gap: 6px; align-items: center; padding: 8px 10px; border-radius: 999px; background: var(--c-action); color: var(--c-on-action); font-size: 8.5px; font-weight: 700; box-shadow: 0 6px 20px rgba(0,0,0,.25); animation: slide-in .35s var(--ease); }
.phone .toast svg { width: 12px; height: 12px; }
.phone .tabs { padding: 6px 4px 10px; background: var(--c-surface); border-top: 1px solid var(--c-line); display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; }
.phone .tabs span { display: grid; justify-items: center; gap: 3px; padding: 5px 2px 4px; border-radius: 9px; font-size: 6.6px; font-weight: 650; color: #626b7c; white-space: nowrap; }
.phone .tabs span svg { width: 14px; height: 14px; }
.phone .tabs span.on { color: var(--c-cobalt); background: var(--c-cobalt-soft); }
.phone .fade { animation: rise .4s var(--ease); }
@keyframes slide-in { from { opacity: 0; transform: translateY(-8px); } }
@keyframes toastin { from { transform: translateY(-14px); opacity: 0.001; } to { transform: none; opacity: 1; } }
@keyframes fadein { from { opacity: 0.001; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- seats (role switcher) ---------- */
.seats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .seats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .seats { grid-template-columns: minmax(0, 1fr); } }
.seat {
  text-align: left; border-radius: var(--radius); padding: 22px; min-height: 190px;
  background: var(--surface); border: 1.5px solid var(--line); display: grid; align-content: space-between; gap: 18px;
  transition: transform 0.3s var(--ease), background 0.25s, border-color 0.25s, color 0.25s;
}
.seat:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.seat .sw { width: 42px; height: 42px; border-radius: 12px; }
.seat .n { font-family: var(--display); font-variation-settings: "wdth" 82; font-weight: 800; font-size: 1.7rem; text-transform: uppercase; line-height: 1; }
.seat .p { color: var(--fg-2); font-size: 0.95rem; margin-top: 6px; }
.seat[aria-pressed="true"] { background: var(--seat-bg); color: var(--seat-fg); border-color: var(--seat-bg); }
.seat[aria-pressed="true"] .p { color: inherit; opacity: 0.8; }
.seat-stage {
  margin-top: 18px; border-radius: calc(var(--radius) * 1.4); background: var(--seat); color: var(--seat-ink);
  padding: clamp(24px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: center;
  transition: background 0.4s var(--ease), color 0.4s;
}
@media (max-width: 900px) { .seat-stage { grid-template-columns: minmax(0, 1fr); } }
.seat-stage .eyebrow { color: inherit; opacity: 0.75; }
.seat-stage .eyebrow::before { background: currentColor; }
.seat-stage .btn-primary { background: var(--seat-ink); color: var(--seat); }
.seat-stage .btn-primary:hover { background: var(--bg); color: var(--fg); }
.seat-stage .btn-ghost { border-color: color-mix(in srgb, currentColor 45%, transparent); color: inherit; }
.seat-stage ul.ticks { display: grid; gap: 10px; margin-top: 22px; }
.seat-stage ul.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.seat-stage ul.ticks li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; flex: none; margin-top: 2px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 70% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 70% no-repeat; }
.seat-stage .phone-wrap { display: flex; justify-content: center; }

/* ---------- spaces (three separate spaces) ---------- */
.spaces { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .spaces { grid-template-columns: minmax(0, 1fr); } }
.space { border-radius: var(--radius); background: var(--surface); border: 1.5px solid var(--line); padding: 26px; display: grid; gap: 18px; align-content: start; }
.space .phone-wrap { display: flex; justify-content: center; padding-top: 10px; }
.space .n { font-family: var(--display); font-variation-settings: "wdth" 82; font-weight: 800; font-size: 2rem; text-transform: uppercase; line-height: 1; }
.space ul { display: grid; gap: 8px; color: var(--fg-2); }
.space ul li { padding-left: 18px; position: relative; }
.space ul li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: var(--sw); }

/* ---------- compare ---------- */
.compare { border: 1.5px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.compare-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); border-top: 1px solid var(--line); }
.compare-row:first-child { border-top: 0; background: var(--surface-2); }
.compare-row > div { padding: 18px 20px; min-width: 0; }
.compare-row > div + div { border-left: 1px solid var(--line); }
.compare-row .h { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-2); }
.compare-row .q { font-weight: 700; }
.compare-row .q small { display: block; font-weight: 400; color: var(--fg-3); margin-top: 2px; }
.compare-row .no { color: var(--fg-3); }
.compare-row .no::before { content: "— "; }
.compare-row .yes { font-weight: 600; }
.compare-row .yes::before { content: "✓ "; color: var(--ok); }
.compare-row .sp { background: color-mix(in srgb, var(--seat) 14%, transparent); }
@media (max-width: 700px) {
  .compare-row { grid-template-columns: minmax(0, 1fr); }
  .compare-row > div + div { border-left: 0; border-top: 1px dashed var(--line); }
  .compare-row:first-child { display: none; }
  .compare-row .no::before { content: "WhatsApp + spreadsheet — "; font-family: var(--mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: .08em; }
  .compare-row .yes::before { content: "SquadPad ✓ "; font-family: var(--mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: .08em; color: inherit; }
}

/* ---------- receipts ---------- */
.receipts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 900px) { .receipts { grid-template-columns: minmax(0, 1fr); } }
.receipt { background: var(--surface); padding: 26px; display: grid; gap: 12px; align-content: start; }
.receipt .k { font-family: var(--display); font-variation-settings: "wdth" 80; font-weight: 800; font-size: 1.9rem; text-transform: uppercase; line-height: 1; }
.receipt .src { font-family: var(--mono); font-size: 0.7rem; color: var(--fg-3); letter-spacing: 0.04em; }
.receipt p { color: var(--fg-2); }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 32px; gap: 20px; align-items: center; padding: 22px 0; font-weight: 700; font-size: 1.15rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; transition: transform 0.3s var(--ease), background 0.2s; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--fg); color: var(--bg); border-color: var(--fg); }
.faq .a { padding: 0 0 24px; color: var(--fg-2); max-width: 64ch; }

/* ---------- mission block ---------- */
.mission { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: calc(var(--radius) * 1.4); overflow: hidden; min-height: 520px; }
@media (max-width: 900px) { .mission { grid-template-columns: minmax(0, 1fr); min-height: 0; } }
.mission .txt { background: var(--ink); color: var(--chalk); padding: clamp(28px, 4vw, 64px); display: grid; align-content: space-between; gap: 32px; }
.mission .txt .eyebrow { color: var(--play); }
.mission .txt .eyebrow::before { background: var(--play); }
.mission .img { position: relative; min-height: 320px; }
.mission .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mission .img figcaption { position: absolute; left: 16px; bottom: 16px; font-family: var(--mono); font-size: 0.68rem; color: var(--chalk); background: rgba(11,13,18,.6); padding: 6px 10px; border-radius: 999px; }

/* ---------- big CTA ---------- */
.cta-band { background: var(--seat); color: var(--seat-ink); border-radius: calc(var(--radius) * 1.4); padding: clamp(32px, 6vw, 88px); display: grid; gap: 24px; justify-items: start; transition: background 0.4s var(--ease), color 0.4s; }
.cta-band .btn-primary { background: var(--seat-ink); color: var(--seat); }
.cta-band .btn-primary:hover { background: var(--bg); color: var(--fg); }
.cta-band .btn-ghost { border-color: color-mix(in srgb, currentColor 45%, transparent); color: inherit; }
.cta-band .lede { color: inherit; opacity: 0.8; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 56px 32px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 1000px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .footer-top { grid-template-columns: minmax(0, 1fr); } }
.footer h4 { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 14px; }
.footer ul { display: grid; gap: 9px; }
.footer ul a { color: var(--fg-2); }
.footer ul a:hover { color: var(--fg); }
.footer .big { font-family: var(--display); font-variation-settings: "wdth" 76; font-weight: 800; text-transform: uppercase; font-size: clamp(3rem, 12vw, 11rem); line-height: 0.85; letter-spacing: -0.02em; margin-top: 56px; color: var(--surface-3); user-select: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 24px; font-size: 0.85rem; color: var(--fg-3); }
.newsletter { display: grid; gap: 10px; }
.newsletter form { display: flex; gap: 8px; }
.newsletter input { flex: 1; min-width: 0; }

/* ---------- forms ---------- */
.field { display: grid; gap: 8px; }
.field label { font-weight: 700; font-size: 0.95rem; }
.field .hint { font-size: 0.85rem; color: var(--fg-3); }
.field input, .field select, .field textarea, .newsletter input, .search input {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 12px; background: var(--surface);
  border: 1.5px solid var(--line-strong); transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .newsletter input:focus, .search input:focus { outline: none; border-color: var(--fg); box-shadow: 0 0 0 4px color-mix(in srgb, var(--seat) 45%, transparent); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--bad); }
.field .err { color: var(--bad); font-size: 0.88rem; font-weight: 600; display: flex; gap: 6px; align-items: center; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; color: var(--fg-2); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--fg); flex: none; }
.form-note { display: flex; gap: 10px; align-items: center; font-size: 0.85rem; color: var(--fg-3); padding: 12px 14px; border-radius: 10px; background: var(--surface-2); }
.form-note .sw { width: 10px; height: 10px; border-radius: 50%; background: var(--warn); flex: none; }

/* stepper */
.flow { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (max-width: 900px) { .flow { grid-template-columns: minmax(0, 1fr); } }
.steps { display: grid; gap: 0; position: sticky; top: 96px; }
.steps li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; padding: 12px 0; align-items: center; color: var(--fg-3); }
.steps li .n { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; font-family: var(--mono); font-size: 0.8rem; }
.steps li.on { color: var(--fg); font-weight: 700; }
.steps li.on .n { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.steps li.done { color: var(--fg-2); }
.steps li.done .n { background: var(--seat); color: var(--seat-ink); border-color: var(--seat); }
.panel { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 40px); display: grid; gap: 22px; }
.panel-actions { display: flex; gap: 10px; justify-content: space-between; flex-wrap: wrap; padding-top: 6px; }
.review dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 10px 20px; margin: 0; }
.review dt { color: var(--fg-3); font-size: 0.9rem; }
.review dd { margin: 0; font-weight: 600; }
.range { display: grid; gap: 10px; }
.range input[type="range"] { width: 100%; accent-color: var(--fg); }
.range output { font-family: var(--display); font-variation-settings: "wdth" 80; font-weight: 800; font-size: 2.6rem; line-height: 1; }

/* timeline (what happens next) */
.timeline { display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 110px 22px minmax(0, 1fr); gap: 16px; padding: 16px 0; align-items: start; position: relative; }
.timeline li .when { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-3); padding-top: 4px; }
.timeline li .pt { width: 22px; height: 22px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line-strong); position: relative; z-index: 1; margin-top: 2px; }
.timeline li.done .pt { background: var(--seat); border-color: var(--seat); }
.timeline li::before { content: ""; position: absolute; left: calc(110px + 16px + 10px); top: 30px; bottom: -16px; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline li b { display: block; }
.timeline li p { color: var(--fg-2); font-size: 0.95rem; }
@media (max-width: 600px) {
  .timeline li { grid-template-columns: 22px minmax(0, 1fr); }
  .timeline li .when { grid-column: 2; order: -1; padding: 0; }
  .timeline li::before { left: 10px; }
}

/* slot picker */
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.slots .day { display: grid; gap: 8px; }
.slots .day h4 { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); }
.slots .day h4 b { display: block; font-family: var(--display); font-variation-settings: "wdth" 80; font-weight: 800; font-size: 1.4rem; letter-spacing: 0; color: var(--fg); }
.slot { padding: 10px; border-radius: 10px; border: 1.5px solid var(--line-strong); font-family: var(--mono); font-size: 0.85rem; text-align: center; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.slot:hover { border-color: var(--fg); }
.slot[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.slot.taken { opacity: 0.35; text-decoration: line-through; cursor: not-allowed; }

/* ---------- cards ---------- */
.card { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 12px; align-content: start; }
.card.hover { transition: transform 0.3s var(--ease), border-color 0.2s; }
.card.hover:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.card .n { font-family: var(--display); font-variation-settings: "wdth" 84; font-weight: 800; font-size: 1.6rem; text-transform: uppercase; line-height: 1; }
.card p { color: var(--fg-2); }
.card .sw { width: 36px; height: 36px; border-radius: 10px; }
.card.seat-bg { background: var(--seat); color: var(--seat-ink); border-color: transparent; }
.card.seat-bg p { color: inherit; opacity: 0.8; }

/* ---------- product page feature strips ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 80px); align-items: center; padding-block: clamp(40px, 6vw, 96px); border-top: 1px solid var(--line); }
.feature:nth-child(even) .feature-media { order: -1; }
@media (max-width: 900px) { .feature { grid-template-columns: minmax(0, 1fr); } .feature:nth-child(even) .feature-media { order: 0; } }
.feature-media { border-radius: calc(var(--radius) * 1.4); background: var(--stage-c, var(--stage)); padding: clamp(24px, 4vw, 56px); display: flex; justify-content: center; align-items: center; gap: 20px; min-height: 420px; position: relative; overflow: hidden; }
.feature-media .phone:nth-child(2) { margin-top: 60px; }
@media (max-width: 600px) { .feature-media { flex-wrap: wrap; } .feature-media .phone:nth-child(2) { margin-top: 0; } }
.feature ul.ticks { display: grid; gap: 10px; margin-top: 18px; }
.feature ul.ticks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; color: var(--fg-2); }
.feature ul.ticks li::before { content: "✓"; color: var(--ok); font-weight: 800; }
.feature ul.ticks li b { color: var(--fg); }

/* ---------- demo ---------- */
.demo { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
@media (max-width: 1000px) { .demo { grid-template-columns: minmax(0, 1fr); } }
.demo-stage { background: var(--stage); border-radius: calc(var(--radius) * 1.4); padding: clamp(20px, 3vw, 36px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; position: sticky; top: 96px; min-height: 620px; }
@media (max-width: 1000px) { .demo-stage { position: static; grid-template-columns: minmax(0, 1fr); min-height: 0; justify-items: center; } }
.demo-controls { display: grid; gap: 14px; align-content: start; }
.demo-controls .eyebrow { margin-bottom: 4px; }
.demo-controls .ctl { background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; padding: 16px; display: grid; gap: 10px; }
.demo-controls .ctl b { font-size: 0.95rem; }
.demo-controls .ctl .chips .chip { min-height: 36px; font-size: 0.88rem; }
.demo-steps { display: grid; gap: 10px; }
.demo-step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 18px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); text-align: left; transition: border-color 0.2s, transform 0.3s var(--ease); align-items: start; }
.demo-step:hover { border-color: var(--line-strong); }
.demo-step[aria-current="true"] { border-color: var(--fg); transform: translateX(6px); }
.demo-step .d { font-family: var(--display); font-variation-settings: "wdth" 80; font-weight: 800; font-size: 1.7rem; text-transform: uppercase; line-height: 1; }
.demo-step .d small { display: block; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; color: var(--fg-3); margin-top: 4px; }
.demo-step b { display: block; font-size: 1.05rem; }
.demo-step p { color: var(--fg-2); font-size: 0.95rem; margin-top: 4px; }
.demo-step .who { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 8px; color: var(--fg-3); }
.demo-step .who i { width: 10px; height: 10px; border-radius: 50%; }
.demo-done { background: var(--seat); color: var(--seat-ink); border-radius: var(--radius); padding: 28px; display: grid; gap: 14px; justify-items: start; }
.demo-done .btn-primary { background: var(--seat-ink); color: var(--seat); }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
@media (max-width: 900px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.plan { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 20px; align-content: start; }
.plan .hl-tag { justify-self: start; }
.plan.hl { border-color: var(--fg); }
.plan .n { font-family: var(--display); font-variation-settings: "wdth" 82; font-weight: 800; font-size: 2rem; text-transform: uppercase; line-height: 1; }
.plan .price { font-family: var(--display); font-variation-settings: "wdth" 80; font-weight: 800; font-size: 3rem; line-height: 1; }
.plan .price small { font-family: var(--body); font-weight: 500; font-size: 0.95rem; color: var(--fg-3); margin-left: 6px; }
.plan ul { display: grid; gap: 8px; color: var(--fg-2); }
.plan ul li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; }
.plan ul li::before { content: "✓"; color: var(--ok); font-weight: 800; }
.plan .for { color: var(--fg-2); }
.illustrative { display: inline-flex; gap: 8px; align-items: center; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--warn); }

/* ---------- help ---------- */
.help-hero { background: var(--surface-2); border-radius: calc(var(--radius) * 1.4); padding: clamp(28px, 5vw, 72px); display: grid; gap: 20px; justify-items: start; }
.search { position: relative; width: min(100%, 640px); }
.search input { padding-left: 48px; min-height: 60px; font-size: 1.05rem; }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--fg-3); }
.results { display: grid; gap: 8px; width: min(100%, 640px); }
.results a { display: grid; gap: 2px; padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1.5px solid var(--line); }
.results a:hover { border-color: var(--fg); }
.results a small { color: var(--fg-3); }
.topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .topics { grid-template-columns: minmax(0, 1fr); } }
.topic { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; transition: border-color 0.2s, transform 0.3s var(--ease); }
.topic:hover { border-color: var(--fg); transform: translateY(-2px); }
.topic .sw { width: 34px; height: 34px; border-radius: 10px; }
.topic b { font-size: 1.1rem; }
.topic small { color: var(--fg-3); }
.article { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 64px); }
@media (max-width: 900px) { .article { grid-template-columns: minmax(0, 1fr); } }
.article aside { position: sticky; top: 96px; align-self: start; display: grid; gap: 8px; }
.article aside a { padding: 8px 12px; border-radius: 10px; color: var(--fg-2); }
.article aside a[aria-current="page"] { background: var(--surface-2); color: var(--fg); font-weight: 700; }
.prose { display: grid; gap: 18px; max-width: 66ch; }
.prose h2 { font-size: 1.4rem; margin-top: 14px; }
.prose h3 { font-size: 1.1rem; }
.prose p, .prose li { color: var(--fg-2); }
.prose ol, .prose ul { display: grid; gap: 8px; padding-left: 22px; list-style: revert; }
.prose .callout { border-left: 4px solid var(--seat); padding: 12px 16px; background: var(--surface); border-radius: 0 12px 12px 0; }
.helpful { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 18px; border-radius: 12px; background: var(--surface-2); margin-top: 12px; }
.status { display: inline-flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--line); font-size: 0.92rem; }
.status .dot { background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 20%, transparent); }

/* ---------- journal ---------- */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .posts { grid-template-columns: minmax(0, 1fr); } }
.post { border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1.5px solid var(--line); display: grid; grid-template-rows: auto 1fr; transition: transform 0.3s var(--ease), border-color 0.2s; }
.post:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.post .cover { aspect-ratio: 16 / 10; display: grid; place-items: center; padding: 24px; font-family: var(--display); font-variation-settings: "wdth" 78; font-weight: 800; text-transform: uppercase; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 0.95; text-align: center; }
.post .meta { padding: 18px 20px; display: grid; gap: 6px; }
.post .meta small { color: var(--fg-3); font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; }
.post.featured { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.post.featured .cover { aspect-ratio: auto; min-height: 320px; font-size: clamp(2.4rem, 5vw, 4.6rem); }
@media (max-width: 900px) { .post.featured { grid-template-columns: minmax(0, 1fr); } }

/* ---------- why page ---------- */
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 800px) { .principles { grid-template-columns: minmax(0, 1fr); } }
.principle { background: var(--surface); padding: 32px; display: grid; gap: 12px; }
.principle .k { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); }
.principle h3 { font-family: var(--display); font-variation-settings: "wdth" 82; font-weight: 800; font-size: 1.9rem; text-transform: uppercase; line-height: 1; }
.principle p { color: var(--fg-2); }
.statement { font-family: var(--display); font-variation-settings: "wdth" 80; font-weight: 800; text-transform: uppercase; font-size: clamp(2.2rem, 6vw, 5.4rem); line-height: 0.95; letter-spacing: -0.015em; }
.statement em { font-style: normal; color: transparent; -webkit-text-stroke: 2px var(--fg); }
.photo-band { border-radius: calc(var(--radius) * 1.4); overflow: hidden; aspect-ratio: 21 / 9; position: relative; }
.photo-band img { width: 100%; height: 100%; object-fit: cover; }
.photo-band .cap { position: absolute; left: 20px; bottom: 20px; background: rgba(11,13,18,.65); color: var(--chalk); padding: 10px 14px; border-radius: 999px; font-family: var(--mono); font-size: 0.72rem; }
@media (max-width: 700px) { .photo-band { aspect-ratio: 4 / 3; } }

/* ---------- app page ---------- */
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 18px; border-radius: 12px; background: var(--fg); color: var(--bg); font-weight: 700; opacity: 0.55; }
.store small { display: block; font-weight: 400; font-size: 0.75rem; opacity: 0.8; }

/* ---------- toast ---------- */
.toast-host { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 80; display: grid; gap: 8px; width: min(92vw, 420px); }
.toast-msg { background: var(--fg); color: var(--bg); padding: 14px 18px; border-radius: 14px; box-shadow: var(--shadow-lg); display: flex; gap: 12px; align-items: center; animation: toastin .4s var(--ease) both; }
.toast-msg .sw { width: 12px; height: 12px; border-radius: 50%; background: var(--seat); flex: none; }

/* ---------- misc ---------- */
.proto { display: inline-flex; gap: 8px; align-items: center; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); }
.proto::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--warn); }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.9rem; color: var(--fg-3); }
.breadcrumb a:hover { color: var(--fg); }
.page-head { padding-top: clamp(32px, 5vw, 72px); display: grid; gap: 18px; max-width: 70ch; }
.page-head .display { margin-top: 6px; }
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .reveal { transition: transform 0.8s var(--ease), opacity 0.8s var(--ease); }
  .reveal.pre { transform: translateY(14px); }
}
.kbd { font-family: var(--mono); font-size: 0.75rem; padding: 2px 6px; border-radius: 6px; border: 1px solid var(--line-strong); }
.count { font-family: var(--display); font-variation-settings: "wdth" 80; font-weight: 800; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1; }
.notfound { padding-block: var(--section); display: grid; gap: 20px; justify-items: start; }
