/* cuatr.app — one stylesheet for every page.
   Colour tokens are the app's Palette.swift (design brief §3.1), light and dark.
   Outfit 500–800 is self-hosted (SIL OFL, see /assets/fonts/OFL.txt). */

@font-face { font-family: "Outfit"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/Outfit-Medium.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/Outfit-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/Outfit-Bold.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/Outfit-ExtraBold.woff2") format("woff2"); }

:root {
  color-scheme: light dark;
  /* Palette.swift */
  --bg: #F4F7FB;
  --surface: #FFFFFF;
  --elevated: #EEF3F9;
  --rim: #DCE5F0;
  --text: #0B1B3A;
  --text2: #5A6B86;
  --court: #1B5FD9;
  --court-deep: #123F94;
  --them: #0E2A66;
  --glass: rgba(170, 215, 255, .35);
  --ball: #E4FF3D;
  --ball-ink: #3D4A00;
  --destructive: #D6383A;
  /* Web-only derived values */
  --link: var(--court);
  --accent: var(--court);          /* headline accent, eyebrows */
  --stage-top: #DCEBFF;
  --stage-mid: #F4F9FF;
  --stage-bot: #E6EEF8;
  --shadow: 0 1px 2px rgba(11, 27, 58, .06), 0 10px 30px rgba(11, 27, 58, .08);
  --shadow-lg: 0 2px 6px rgba(11, 27, 58, .08), 0 24px 60px rgba(11, 27, 58, .16);
  --mark: rgba(228, 255, 61, .55);

  --font: "Outfit", -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, sans-serif;
  --r-card: 22px;
  --r-btn: 14px;
  --wrap: 1160px;
  --gutter: 20px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #07112A;
    --surface: #0E1C3D;
    --elevated: #15274F;
    --rim: #223768;
    --text: #EEF3FF;
    --text2: #9AAACB;
    /* Court blue is too dark for text on navy, so links and accents use a lighter court tint or the ball. */
    --link: #8DB0F5;
    --accent: var(--ball);
    --stage-top: #0B1D44;
    --stage-mid: #0E2350;
    --stage-bot: #0A1838;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .3);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, .35), 0 24px 60px rgba(0, 0, 0, .45);
    --mark: rgba(228, 255, 61, .3);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 500 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word; overflow-x: hidden;
}
img, svg, canvas, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-thickness: 2.5px; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.02em; line-height: 1.06; margin: 0; text-wrap: balance; }
p { margin: 0 0 14px; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--court); outline-offset: 3px; border-radius: 10px; }
@media (prefers-color-scheme: dark) { :focus-visible { outline-color: var(--ball); } }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right)); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ball); color: var(--ball-ink); padding: 10px 16px; border-radius: 12px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 84%, transparent); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled, .doc-page .site-header { border-bottom-color: var(--rim); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.brand svg { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 2px 8px rgba(18, 63, 148, .3); }
.nav { display: flex; align-items: center; gap: 4px; font-weight: 600; font-size: 15px; }
.nav a { color: var(--text); text-decoration: none; padding: 8px 10px; border-radius: 10px; }
.nav a:hover { background: var(--elevated); }
.nav a[aria-current="page"] { color: var(--link); }
.nav .lang { border: 1px solid var(--rim); padding: 6px 10px; margin-left: 4px; }
.nav .opt { display: none; }
@media (min-width: 860px) { .nav .opt { display: inline-block; } }

/* ---------- buttons, pills ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 20px; border-radius: var(--r-btn); border: 1px solid var(--rim); background: var(--surface); color: var(--text); font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { text-decoration: none; box-shadow: var(--shadow); }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--court); border-color: var(--court); color: #fff; }
.btn.ball { background: var(--ball); border-color: var(--ball); color: var(--ball-ink); }
.btn.small { min-height: 40px; padding: 6px 14px; font-size: 15px; border-radius: 12px; }
.btn svg { width: 18px; height: 18px; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--ball); color: var(--ball-ink); border-radius: 999px; padding: 5px 14px; font-weight: 700; font-size: 14px; letter-spacing: .01em; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--ball-ink); }
.eyebrow { display: block; color: var(--accent); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--text2); line-height: 1.5; max-width: 36em; }

/* ---------- hero ---------- */
.hero { padding: clamp(28px, 6vw, 72px) 0 clamp(40px, 6vw, 88px); position: relative; }
.hero .wrap { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); } }
.hero h1 { font-size: clamp(48px, 9vw, 96px); line-height: .98; letter-spacing: -.035em; margin: 18px 0 20px; }
.hero h1 span { color: var(--accent); display: inline-block; }
.hero .lead { margin-bottom: 26px; }
.hero .aside { color: var(--text2); font-size: 15px; margin-top: 18px; }

.store { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.store-soon { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 18px 8px 12px; border-radius: 14px; background: var(--text); color: var(--bg); font-weight: 700; font-size: 16px; line-height: 1.15; }
.store-soon svg { width: 26px; height: 26px; flex: 0 0 auto; }
.store-soon small { display: block; font-size: 12px; font-weight: 600; opacity: .75; letter-spacing: .02em; }
.store-note { flex-basis: 100%; color: var(--text2); font-size: 14px; margin: 0; }

/* the glass-bounce stage */
.stage { position: relative; border-radius: 28px; overflow: hidden; background: linear-gradient(180deg, var(--stage-top) 0%, var(--stage-mid) 65%, var(--stage-bot) 100%); border: 1px solid var(--rim); box-shadow: var(--shadow-lg); aspect-ratio: 600 / 400; isolation: isolate; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; touch-action: manipulation; }
.stage .mini { position: absolute; left: 14px; top: 14px; z-index: 2; display: grid; grid-template-columns: auto auto auto; gap: 4px 8px; align-items: center; background: var(--court-deep); color: #fff; border-radius: 14px; padding: 8px 10px 8px 12px; font-weight: 700; font-size: 14px; box-shadow: 0 6px 20px rgba(11, 27, 58, .25); pointer-events: none; }
.stage .mini .t { display: flex; align-items: center; gap: 6px; }
.stage .mini .t i { width: 7px; height: 7px; border-radius: 50%; background: var(--ball); opacity: 0; }
.stage .mini .t.serving i { opacity: 1; }
.stage .mini .g { min-width: 22px; text-align: center; font-variant-numeric: tabular-nums; opacity: .75; }
.stage .mini .p { min-width: 38px; height: 26px; border-radius: 8px; display: flex; align-items: center; justify-content: center; background: var(--ball); color: var(--ball-ink); font-variant-numeric: tabular-nums; overflow: hidden; position: relative; }
.stage .call { position: absolute; left: 50%; top: 18%; transform: translateX(-50%); z-index: 2; background: var(--ball); color: var(--ball-ink); font-weight: 800; font-size: clamp(16px, 2.6vw, 22px); padding: 6px 16px; border-radius: 999px; box-shadow: 0 8px 24px rgba(61, 74, 0, .3); opacity: 0; pointer-events: none; white-space: nowrap; }
.stage-controls { position: absolute; right: 12px; top: 12px; z-index: 3; display: flex; gap: 8px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .86); color: var(--court-deep); display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 14px rgba(11, 27, 58, .18); }
.icon-btn svg { width: 18px; height: 18px; }
@media (prefers-color-scheme: dark) { .icon-btn { background: rgba(14, 28, 61, .86); color: #fff; } }
.hero-visual { position: relative; }
.hero-visual .caption { font-size: 14px; color: var(--text2); margin: 12px 4px 0; }

/* ---------- strip of facts under the hero ---------- */
.facts { border-block: 1px solid var(--rim); background: var(--surface); }
.facts ul { list-style: none; margin: 0 auto; padding-block: 18px; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; font-weight: 600; font-size: 15px; color: var(--text2); }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ball); box-shadow: inset 0 0 0 1.5px var(--ball-ink); }

/* ---------- feature sections ---------- */
.section { padding-block: clamp(64px, 10vw, 128px); }
.section + .section { padding-top: 0; }
.section h2 { font-size: clamp(36px, 6vw, 60px); margin-bottom: 18px; }
.feature { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 960px) {
  .feature { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
  .feature.flip > .copy { order: 2; }
}
.copy .lead { margin-bottom: 22px; }
.ticks { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--ball) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%233D4A00' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.note { color: var(--text2); font-size: 15px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; border-radius: 999px; padding: 2px 9px; background: var(--elevated); color: var(--text2); vertical-align: 2px; margin-left: 4px; }
.tag.pro { background: var(--court); color: #fff; }

.visual { position: relative; min-width: 0; }
.card { background: var(--surface); border: 1px solid var(--rim); border-radius: var(--r-card); box-shadow: var(--shadow); }

/* phone and watch frames for the simulator captures */
.phone { position: relative; width: min(300px, 74vw); margin-inline: auto; border-radius: 46px; padding: 10px; background: #0B1B3A; box-shadow: var(--shadow-lg); }
.phone img { width: 100%; border-radius: 37px; background: var(--bg); aspect-ratio: 640 / 1304; }
@media (prefers-color-scheme: dark) { .phone { background: #1C2C52; } }
.watch { width: 168px; border-radius: 48px; padding: 12px; background: #0B1B3A; box-shadow: var(--shadow-lg); }
.watch img { width: 100%; border-radius: 34px; aspect-ratio: 416 / 496; }
@media (prefers-color-scheme: dark) { .watch { background: #1C2C52; } }

/* a demo card overlapping a phone */
.combo { display: grid; justify-items: center; }
.combo .phone { margin: 0; }
.combo .float { position: relative; width: min(360px, 100%); margin-top: -96px; z-index: 2; }
@media (min-width: 720px) {
  .combo { grid-template-columns: 1fr 1fr; align-items: end; justify-items: stretch; }
  .combo .phone { grid-column: 2; grid-row: 1; justify-self: start; }
  .combo .float { grid-column: 1 / span 2; grid-row: 1; width: 340px; margin: 0 0 48px; align-self: end; }
  .flip .combo .phone { grid-column: 1; justify-self: end; }
  .flip .combo .float { justify-self: end; }
}

/* ---------- slots card (groups) ---------- */
.slots { padding: 18px; }
.slots-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.slots-head b { font-size: 30px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.slots-head span { color: var(--text2); font-size: 14px; }
.slots .where { color: var(--text2); font-size: 14px; margin: 0 0 14px; }
.slot-row { display: flex; align-items: center; gap: 10px; }
.av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 18px; background: var(--court); color: #fff; flex: 0 0 auto; position: relative; }
.av.ball { background: var(--ball); color: var(--ball-ink); }
.av.empty { background: transparent; border: 2px dashed var(--court); color: var(--court); }
@media (prefers-color-scheme: dark) { .av.empty { border-color: var(--ball); color: var(--ball); } }
.av.empty.glow { animation: glow 1.8s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: 0 0 0 7px rgba(228, 255, 61, .45); } }
.missing { margin-left: auto; background: var(--ball); color: var(--ball-ink); font-weight: 700; font-size: 13px; border-radius: 999px; padding: 4px 11px; white-space: nowrap; }
.missing.full { background: var(--elevated); color: var(--text2); }
.wait { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--rim); display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text2); min-height: 62px; }
.wait .av { width: 38px; height: 38px; font-size: 15px; }
.wait b { color: var(--text); }

/* ---------- scoreboard (live) ---------- */
.board-card { padding: 16px; }
.sb { background: var(--court-deep); color: #fff; border-radius: 18px; padding: 12px; display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, 40px) 58px; gap: 6px; align-items: center; position: relative; overflow: hidden; }
@media (min-width: 420px) { .sb { grid-template-columns: minmax(0, 1fr) repeat(3, 46px) 64px; padding: 14px; } }
.sb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .22) 50%, transparent 60%); transform: translateX(-120%); pointer-events: none; }
.sb.sweep::after { animation: sweep .9s ease-in-out; }
@keyframes sweep { to { transform: translateX(120%); } }
.sb .hdr { font-size: 11px; font-weight: 600; opacity: .65; text-align: center; letter-spacing: .06em; text-transform: uppercase; }
.sb .tm { font-weight: 700; font-size: 17px; display: flex; align-items: center; gap: 8px; min-width: 0; }
.sb .tm i { width: 10px; height: 10px; border-radius: 50%; background: var(--ball); opacity: 0; flex: 0 0 auto; }
.sb .tm.serving i { opacity: 1; }
.sb .tm span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cell { height: 44px; border-radius: 10px; background: rgba(255, 255, 255, .08); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 22px; font-variant-numeric: tabular-nums; position: relative; overflow: hidden; }
.cell.won { background: rgba(228, 255, 61, .18); color: var(--ball); }
.cell.pts { background: var(--ball); color: var(--ball-ink); font-size: 24px; font-weight: 800; }
.cell span { position: absolute; }
.state { min-height: 30px; text-align: center; font-weight: 700; color: var(--accent); margin: 10px 0; display: flex; align-items: center; justify-content: center; }
.state.gold { color: var(--ball-ink); }
.state.gold span { background: var(--ball); padding: 2px 14px; border-radius: 999px; }
.tap { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tap button { min-height: 92px; border-radius: 18px; border: 0; cursor: pointer; font-weight: 800; font-size: 22px; color: #fff; background: var(--court); transition: transform .12s; }
.tap button + button { background: var(--them); }
.tap button:active { transform: scale(.97); }
@media (prefers-color-scheme: dark) { .tap button + button { box-shadow: inset 0 0 0 1px var(--rim); } }
.board-tools { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; }
.board-tools .note { margin: 0; font-size: 14px; }
.devices { display: flex; justify-content: center; align-items: end; gap: clamp(16px, 4vw, 36px); margin-top: 28px; }
.devices .phone { width: min(220px, 52vw); margin: 0; border-radius: 38px; padding: 8px; }
.devices .phone img { border-radius: 31px; }

/* ---------- Americano courts ---------- */
.amer { padding: 16px; }
.amer-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.amer-head b { font-size: 20px; }
.amer-head span { color: var(--text2); font-size: 14px; font-weight: 600; }
.courts { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.court { position: relative; aspect-ratio: 1.45 / 1; border-radius: 14px; background: var(--court); overflow: hidden; }
.court::before { content: ""; position: absolute; inset: 8px; border: 2px solid rgba(255, 255, 255, .75); border-radius: 4px; }
.court::after { content: ""; position: absolute; left: 50%; top: 8px; bottom: 8px; border-left: 3px dashed rgba(255, 255, 255, .85); }
.court .cname { position: absolute; left: 14px; top: 11px; color: #fff; font-weight: 700; font-size: 12px; opacity: .85; z-index: 1; }
.court .sc { position: absolute; left: 50%; top: 50%; margin-top: -11px; transform: translateX(-50%); background: rgba(11, 27, 58, .8); color: #fff; border-radius: 999px; padding: 1px 10px; font-weight: 700; font-variant-numeric: tabular-nums; z-index: 2; font-size: 13px; white-space: nowrap; }
.court .sc:empty { display: none; }
.chip { position: absolute; left: 0; top: 0; height: 28px; margin: -14px 0 0 -38px; width: 76px; border-radius: 999px; background: #fff; color: #0B1B3A; display: flex; align-items: center; gap: 5px; padding: 0 8px 0 3px; font-weight: 700; font-size: 12px; box-shadow: 0 3px 10px rgba(11, 27, 58, .28); z-index: 3; white-space: nowrap; overflow: hidden; will-change: transform; }
.chip b { width: 22px; height: 22px; border-radius: 50%; background: var(--ball); color: var(--ball-ink); display: grid; place-items: center; font-size: 11px; flex: 0 0 auto; }
@media (max-width: 420px) { .chip { width: 30px; margin-left: -15px; padding: 0 3px; } .chip span { display: none; } }
.stand-h { display: flex; justify-content: space-between; margin: 16px 0 6px; color: var(--text2); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.stand { list-style: none; margin: 0; padding: 0; display: grid; grid-template-rows: repeat(4, auto); grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); column-gap: 18px; font-variant-numeric: tabular-nums; font-size: 15px; }
.stand li { display: flex; gap: 10px; align-items: center; padding: 6px 2px; border-bottom: 1px solid var(--rim); background: var(--surface); position: relative; }
.stand li:nth-child(4n) { border-bottom: 0; }
.stand .rk { width: 18px; color: var(--text2); font-weight: 600; }
.stand .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.stand .pt { font-weight: 800; }
.stand li:first-child .nm, .stand li:first-child .pt { color: var(--link); }
.amer-wide { display: grid; gap: 28px; align-items: center; }
@media (min-width: 960px) { .amer-wide { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.amer-wide .phone { width: min(260px, 64vw); }

/* ---------- split ---------- */
.split { padding: 22px; }
.split-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.split-top .fee { color: var(--text2); font-size: 15px; }
.split-top .fee b { color: var(--text); display: block; font-size: 20px; }
.per { font-weight: 800; font-size: clamp(56px, 9vw, 76px); letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; margin: 18px 0 4px; }
.per small { font-size: 20px; color: var(--text2); font-weight: 600; letter-spacing: 0; }
.payers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.payer { border: 1px solid var(--rim); border-radius: 16px; padding: 12px 4px 10px; text-align: center; cursor: pointer; background: var(--elevated); font-weight: 600; font-size: 14px; position: relative; min-height: 44px; color: var(--text); }
.payer .av { margin: 0 auto 6px; }
.payer.paid { border-color: var(--court); }
.payer.paid .av { background: var(--ball); color: var(--ball-ink); }
.payer .tick { position: absolute; top: 6px; right: 7px; width: 18px; height: 18px; border-radius: 50%; background: var(--court); color: #fff; display: grid; place-items: center; opacity: 0; }
.payer .tick svg { width: 12px; height: 12px; }
.payer.paid .tick { opacity: 1; }
.paid-line { margin-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--text2); font-size: 15px; font-weight: 600; }
.paid-line b { color: var(--text); }
.payways { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.payways span { border: 1px solid var(--rim); border-radius: 999px; padding: 4px 12px; font-size: 14px; font-weight: 600; color: var(--text2); background: var(--surface); }

/* ---------- level ---------- */
.level { padding: 20px; }
.level-top { display: flex; align-items: baseline; gap: 12px; }
.level-top b { font-size: 64px; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--link); font-variant-numeric: tabular-nums; }
.level-top span { font-weight: 700; font-size: 17px; }
.prov { display: inline-block; margin-top: 10px; background: var(--ball); color: var(--ball-ink); border-radius: 999px; font-size: 13px; font-weight: 700; padding: 3px 10px; }
.dots { display: flex; gap: 6px; margin-top: 14px; }
.dots i { flex: 1; height: 8px; border-radius: 4px; background: var(--elevated); box-shadow: inset 0 0 0 1px var(--rim); }
.dots i.on { background: var(--court); box-shadow: none; }
.level .note { margin: 12px 0 0; font-size: 14px; }

/* ---------- more tiles ---------- */
.tiles { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); margin-top: 36px; }
.tile { padding: 20px; }
.tile h3 { font-size: 19px; letter-spacing: -.01em; margin-bottom: 6px; }
.tile p { margin: 0; color: var(--text2); font-size: 15px; }
.tile svg { width: 30px; height: 30px; color: var(--link); margin-bottom: 12px; }

/* ---------- privacy band ---------- */
.band { background: var(--court-deep); color: #fff; border-radius: 32px; padding: clamp(28px, 6vw, 64px); position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; right: -60px; top: -60px; width: 300px; height: 300px; border-radius: 50%; border: 10px solid rgba(228, 255, 61, .35); }
.band::after { content: ""; position: absolute; right: 40px; top: 40px; width: 100px; height: 100px; border-radius: 50%; background: var(--ball); box-shadow: inset 0 0 0 6px var(--ball-ink); opacity: .9; }
.band h2 { color: #fff; position: relative; z-index: 1; max-width: 12em; }
.band .eyebrow { color: var(--ball); position: relative; z-index: 1; }
.band .lead { color: rgba(255, 255, 255, .85); position: relative; z-index: 1; }
.band .grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); margin-top: 28px; position: relative; z-index: 1; }
.band .grid div { background: rgba(170, 215, 255, .14); border: 1px solid rgba(255, 255, 255, .18); border-radius: 18px; padding: 18px; }
.band .grid b { display: block; font-size: 18px; margin-bottom: 4px; }
.band .grid p { margin: 0; color: rgba(255, 255, 255, .82); font-size: 15px; }
.band a { color: var(--ball); }
@media (max-width: 600px) { .band::after { width: 64px; height: 64px; right: 22px; top: 22px; } .band::before { width: 180px; height: 180px; right: -50px; top: -50px; } .band h2 { padding-right: 70px; } }

/* ---------- pricing ---------- */
.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); margin-top: 36px; align-items: stretch; }
.plan { padding: 26px 24px; display: flex; flex-direction: column; }
.plan h3 { font-size: 24px; }
.plan .price { font-size: 40px; font-weight: 800; letter-spacing: -.03em; margin: 12px 0 2px; font-variant-numeric: tabular-nums; line-height: 1.1; }
.plan .price small { font-size: 16px; font-weight: 600; color: var(--text2); letter-spacing: 0; }
.plan .sub { color: var(--text2); font-size: 15px; margin-bottom: 18px; min-height: 2.8em; }
.plan .ticks { font-size: 15px; margin: 0; }
.plan .ticks li::before { top: 3px; }
.plan.pro { border: 2px solid var(--court); box-shadow: var(--shadow-lg); position: relative; }
.plan.pro .badge { position: absolute; top: -14px; left: 22px; background: var(--court); color: #fff; font-size: 13px; font-weight: 700; border-radius: 999px; padding: 4px 12px; }
.plans-note { margin-top: 22px; color: var(--text2); font-size: 15px; max-width: 46em; }

/* ---------- closing CTA ---------- */
.cta { text-align: center; }
.cta .stage { max-width: 560px; margin: 0 auto 32px; aspect-ratio: 600 / 260; }
.cta h2 { margin-bottom: 14px; }
.cta .lead { margin: 0 auto 26px; }
.cta .store { justify-content: center; }
.cta .store-note { text-align: center; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--rim); padding-block: 28px 44px; color: var(--text2); font-size: 15px; margin-top: 24px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px; }
.site-footer a { color: var(--text2); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.site-footer .small { flex-basis: 100%; font-size: 13px; margin: 0; }

/* ---------- legal and support pages ---------- */
.doc { padding-block: clamp(28px, 5vw, 56px) 72px; }
.doc .wrap { max-width: 800px; }
.doc h1 { font-size: clamp(38px, 7vw, 56px); margin-bottom: 10px; }
.doc h2 { font-size: 24px; letter-spacing: -.015em; line-height: 1.2; margin: 44px 0 12px; padding-top: 18px; border-top: 1px solid var(--rim); }
.doc h3 { font-size: 19px; letter-spacing: -.01em; margin: 26px 0 8px; }
.doc p, .doc li { color: var(--text); }
.doc ul, .doc ol { padding-left: 22px; margin: 0 0 14px; }
.doc li { margin-bottom: 8px; }
.doc .meta { color: var(--text2); margin-bottom: 26px; font-size: 15px; }
.doc .card { padding: 18px 22px; margin: 20px 0; }
.doc .card > :last-child { margin-bottom: 0; }
.doc .card ul { margin-bottom: 0; }
.doc .card.short { border-left: 5px solid var(--ball); }
.toc ol { columns: 2 240px; column-gap: 28px; margin: 0; }
.toc li { margin-bottom: 4px; break-inside: avoid; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.table { overflow-x: auto; margin: 14px 0 20px; border: 1px solid var(--rim); border-radius: 16px; background: var(--surface); }
.table table { border-collapse: collapse; width: 100%; min-width: 540px; font-size: 15px; }
.table th, .table td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--rim); }
.table tr:last-child td { border-bottom: 0; }
.table th { color: var(--text2); font-weight: 600; font-size: 14px; }
.muted { color: var(--text2); }
.ph { background: var(--mark); padding: 0 4px; border-radius: 4px; font-weight: 700; }
address { font-style: normal; margin-bottom: 14px; }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .9em; background: var(--elevated); padding: 1px 5px; border-radius: 6px; }
section[id], h2[id] { scroll-margin-top: 80px; }

/* FAQ */
.faq details { border: 1px solid var(--rim); border-radius: 16px; background: var(--surface); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 48px 16px 20px; font-weight: 700; font-size: 17px; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2.5px solid var(--text2); border-bottom: 2.5px solid var(--text2); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > div { padding: 0 20px 6px; }
.faq h2 { border-top: 0; padding-top: 0; margin-top: 40px; }
.contact-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.contact-card p { margin: 0; }

/* 404 */
.nf { text-align: center; padding-block: clamp(40px, 8vw, 96px); }
.nf .stage { max-width: 480px; margin: 0 auto 28px; aspect-ratio: 600 / 300; }
.nf h1 { font-size: clamp(40px, 8vw, 64px); margin-bottom: 12px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .av.empty.glow { animation: none; box-shadow: 0 0 0 5px rgba(228, 255, 61, .45); }
}

@media print {
  .site-header, .site-footer, .skip, .stage, .toc { display: none; }
  body { background: #fff; color: #000; }
}
.tiles-list { margin-top: 28px; max-width: 46em; }

@media (min-width: 700px) { .band .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .band .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tiles { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
@media (max-width: 520px) {
  .board-tools .note { display: none; }
  .phone { width: min(260px, 64vw); }
  .facts ul { display: grid; grid-template-columns: 1fr 1fr; justify-content: start; font-size: 14px; }
  .facts li { align-items: flex-start; } .facts li::before { margin-top: 6px; flex: 0 0 auto; }
}
.band::before { border-color: rgba(228, 255, 61, .55); border-width: 8px; }
.nf .btn { margin: 4px; }
