/* Pickleball Event Manager — marketing site.
   One stylesheet for every page, in both languages.

   ── Type ──────────────────────────────────────────────────────────────────
   Archivo, self-hosted from public/fonts/. It is the app's OWN display face for
   the Fresh theme (lib/theme-fonts.ts: fresh → archivo), so the site inherits the
   product's identity rather than inventing a second one. Converted once from the
   TTFs in the app repo's @expo-google-fonts/archivo package with `wawoff2`; the
   converter was a temporary devDependency and is gone. To add a weight, install
   wawoff2, compress, commit the .woff2, uninstall. OFL licence in public/fonts/.

   Archivo carries no CJK glyphs, so the stack falls through to a system Chinese
   face on the zh-Hant pages. That is the same rule the app applies ("script beats
   theme") and it is why Chinese headlines look different from English ones —
   intentional, not a bug.

   ── Colour ────────────────────────────────────────────────────────────────
   The light/dark poles are copied from the app repo's public/legal.css: light
   mirrors Fresh, dark mirrors Night (the brand theme). Visitors cross from here
   to /privacy and /terms on the apex mid-session and those pages are served by
   the OTHER repo, so matching the poles is what makes the crossing invisible.
   If legal.css changes, change this too.

   --brand and --link stay separate. Fresh's accent is optic volt (#CBF23F):
   correct as a fill, illegible as text on white. Volt paints buttons and marks;
   links take near-black ink and are underlined, because on Fresh the link ink IS
   near-black and colour alone could not distinguish a link from body text.

   ── No JavaScript ─────────────────────────────────────────────────────────
   _headers sets `script-src 'none'` AND `style-src 'self'` — no 'unsafe-inline'.
   So: the language picker and FAQ are <details>/<summary>, and there is NO style=""
   attribute anywhere in public/. Every value a page needs must be a class here.
   Anything that seems to need a script or an inline style needs a different
   design, not a loosened CSP. */

@font-face{font-family:Archivo;src:url(/fonts/archivo-400.woff2) format('woff2');
  font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Archivo;src:url(/fonts/archivo-600.woff2) format('woff2');
  font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:Archivo;src:url(/fonts/archivo-800.woff2) format('woff2');
  font-weight:800;font-style:normal;font-display:swap}

:root{
  /* Fresh (light pole) */
  --bg:#F1F3EE; --band:#E8EBE3; --ink:#0E1311; --sub:#68716D; --muted:#8E968A;
  --line:#DFE3D9; --tint:#FFFFFF; --brand:#CBF23F; --link:#0E1311;
  --on-brand:#0E1311;
  --shadow-sm:0 1px 2px rgba(14,19,17,.06);
  --shadow:0 2px 4px rgba(14,19,17,.05), 0 12px 32px rgba(14,19,17,.07);
  --shadow-lg:0 4px 8px rgba(14,19,17,.06), 0 32px 64px rgba(14,19,17,.12);
  --glow:rgba(203,242,63,.5);

  /* The inverted band. Fixed Night values in BOTH schemes — a section whose whole
     job is to be the dark one cannot follow the theme, or it vanishes in dark
     mode. Kept as its own token set rather than hard-coded hexes at the use
     sites, so the two dark surfaces on a page stay in step. */
  --dk-bg:#0A0C10; --dk-panel:#141922; --dk-ink:#EDF1F7; --dk-sub:#8B95A7;
  --dk-line:rgba(255,255,255,.10); --dk-brand:#37E0A0;

  --r-sm:10px; --r:16px; --r-lg:24px; --r-xl:32px;
}
@media (prefers-color-scheme: dark){
  /* Night (dark pole) */
  :root{
    --bg:#0A0C10; --band:#0F1319; --ink:#EDF1F7; --sub:#8B95A7; --muted:#5C6675;
    --line:rgba(255,255,255,.09); --tint:#141922; --brand:#37E0A0; --link:#37E0A0;
    --on-brand:#06120D;
    --shadow-sm:0 1px 2px rgba(0,0,0,.5);
    --shadow:0 2px 4px rgba(0,0,0,.4), 0 12px 32px rgba(0,0,0,.45);
    --shadow-lg:0 4px 8px rgba(0,0,0,.5), 0 32px 64px rgba(0,0,0,.55);
    --glow:rgba(55,224,160,.28);
  }
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family:Archivo,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,
    "Noto Sans TC","PingFang TC","Microsoft JhengHei","Noto Sans SC",sans-serif;
  font-size:17px; line-height:1.65; font-weight:400;
  overflow-x:hidden;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--link);text-decoration:underline;text-underline-offset:3px;
  text-decoration-thickness:1.5px}
a:hover{opacity:.7}
:focus-visible{outline:2px solid var(--link);outline-offset:3px;border-radius:4px}

/* ─── Layout ──────────────────────────────────────────────────────────────── */
.wrap{max-width:1120px;margin:0 auto;padding:0 24px}
/* Narrow measure for long-form. margin-left:0 so the block stays flush with every
   other section — a centred prose column beside a full-width grid reads as a bug. */
.prose{max-width:740px;margin-left:0;margin-right:auto}
section{padding:104px 0}
/* Bands carry the section rhythm now. Hairline dividers between eight identical
   full-width blocks is what made the first draft read as a document. */
.band{background:var(--band)}
/* The inverted band REDEFINES THE TOKENS rather than overriding rule by rule.
   Per-rule overrides lost a specificity fight the first time — `ul.ticks strong`
   (0,1,2) beat `.band-dark strong` (0,1,1) and shipped near-black bold text on a
   near-black background. Anything added to this band from now on inherits the
   right colours without a matching override, which is the point. */
.band-dark{
  --bg:var(--dk-bg); --band:var(--dk-bg); --tint:var(--dk-panel);
  --ink:var(--dk-ink); --sub:var(--dk-sub); --muted:var(--dk-sub);
  --line:var(--dk-line); --brand:var(--dk-brand); --link:var(--dk-brand);
  --on-brand:#06120D; --glow:rgba(55,224,160,.26);
  --shadow-sm:0 1px 2px rgba(0,0,0,.5);
  --shadow:0 2px 4px rgba(0,0,0,.4), 0 12px 32px rgba(0,0,0,.45);
  background:var(--dk-bg); color:var(--dk-ink);
}

h1,h2,h3,h4{font-weight:800;letter-spacing:-.03em;line-height:1.04;margin:0}
h1{font-size:clamp(40px,6.4vw,80px)}
h2{font-size:clamp(30px,4.2vw,50px)}
h3{font-size:20px;font-weight:600;letter-spacing:-.01em;line-height:1.3}
p{margin:0 0 18px}
.lede{font-size:clamp(18px,2vw,21px);line-height:1.55;color:var(--sub);max-width:56ch;
  margin:20px 0 0}
.eyebrow{font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;
  color:var(--sub);margin:0 0 18px;display:flex;align-items:center;gap:9px}
.eyebrow::before{content:"";width:22px;height:3px;border-radius:2px;background:var(--brand)}
/* px, not ch: `ch` resolves against the container's 17px body size, so 44ch pinched
   a 50px headline into four lines while the grid beside it ran full width. */
.section-head{max-width:640px;margin-bottom:52px}
.section-head .lede{margin-top:18px}

/* ─── Header ──────────────────────────────────────────────────────────────── */
/* Sticky + blurred. `position:sticky` needs no script; the border is always on
   rather than appearing on scroll, which would. */
.site-head{position:sticky;top:0;z-index:50;background:color-mix(in srgb,var(--bg) 82%,transparent);
  backdrop-filter:saturate(180%) blur(14px);-webkit-backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid var(--line)}
.site-head .wrap{display:flex;align-items:center;gap:18px;min-height:70px;flex-wrap:wrap;
  padding-top:12px;padding-bottom:12px}
.brand{display:inline-flex;align-items:center;gap:11px;text-decoration:none;color:inherit;
  font-weight:800;letter-spacing:-.02em;font-size:17px;margin-right:auto}
.brand:hover{opacity:1}
/* The mark: a volt disc with the paddle-and-ball notch cut out of it. Drawn, not
   an image file — it has to stay crisp at 28px and recolour with the theme. */
.mark{width:32px;height:32px;flex:0 0 auto;border-radius:11px;background:var(--brand);
  display:flex;align-items:center;justify-content:center}
.mark span{width:12px;height:12px;border-radius:999px;border:2.5px solid var(--on-brand);
  display:block}
.nav{display:flex;gap:26px;flex-wrap:wrap;font-size:15px}
.nav a{text-decoration:none;color:var(--sub);font-weight:600}
.nav a:hover,.nav a[aria-current="page"]{color:var(--ink);opacity:1}

/* ─── Language picker — <details>, no JS ──────────────────────────────────── */
.lang{position:relative}
.lang summary{list-style:none;cursor:pointer;font-size:14px;font-weight:600;color:var(--sub);
  border:1px solid var(--line);border-radius:999px;padding:8px 14px;background:var(--tint);
  white-space:nowrap}
.lang summary::-webkit-details-marker{display:none}
.lang summary:hover,.lang[open] summary{color:var(--ink)}
.lang-menu{position:absolute;right:0;top:calc(100% + 10px);min-width:200px;
  background:var(--tint);border:1px solid var(--line);border-radius:var(--r);
  box-shadow:var(--shadow);padding:7px;margin:0;list-style:none;z-index:60}
.lang-menu li{margin:0}
.lang-menu a,.lang-menu span{display:flex;justify-content:space-between;gap:12px;
  padding:9px 11px;border-radius:var(--r-sm);font-size:14px;text-decoration:none;
  color:var(--ink)}
.lang-menu a:hover{background:var(--bg);opacity:1}
.lang-menu a[aria-current="true"]{font-weight:700}
/* Six of the app's eight languages are unwritten. Listed rather than hidden so the
   set reads as complete-by-design, and each is a <span> not a dead <a>, so nothing
   focusable goes nowhere. */
.lang-menu span{color:var(--muted);cursor:default}
.soon{font-size:10px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;
  color:var(--muted);align-self:center;border:1px solid var(--line);border-radius:999px;
  padding:2px 7px;font-style:normal}

/* ─── Buttons ─────────────────────────────────────────────────────────────── */
.cta-row{display:flex;gap:12px;flex-wrap:wrap;margin:34px 0 0;align-items:center}
.btn{display:inline-flex;align-items:center;gap:9px;padding:15px 26px;border-radius:var(--r-sm);
  font-weight:700;font-size:16px;text-decoration:none;border:1px solid transparent;
  line-height:1.2;letter-spacing:-.01em;transition:transform .15s ease,box-shadow .15s ease}
.btn-primary{background:var(--brand);color:var(--on-brand);box-shadow:0 6px 20px var(--glow)}
.btn-primary:hover{opacity:1;transform:translateY(-2px);box-shadow:0 10px 28px var(--glow)}
.btn-secondary{background:var(--tint);color:var(--ink);border-color:var(--line);
  box-shadow:var(--shadow-sm)}
.btn-secondary:hover{opacity:1;transform:translateY(-2px);border-color:var(--sub)}
/* Store listings do not exist yet, so store buttons are inert rather than linking
   nowhere. Swap each <span class="btn btn-store"> for <a class="btn btn-primary">
   the day a listing goes live. */
.btn-store{background:transparent;color:var(--sub);border-color:var(--line);
  border-style:dashed;cursor:default;font-weight:600;font-size:15px;padding:12px 20px}
/* Their own row. Three same-size buttons in one flex wrapped to a ragged two
   lines; the store buttons are also secondary information today, since neither
   listing exists. */
.store-row{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0 0;align-items:center}
.center .store-row{justify-content:center}
.btn-note{font-size:13px;color:var(--muted);margin:14px 0 0;max-width:60ch}
.trust{font-size:14.5px;color:var(--sub);margin:26px 0 0;display:flex;flex-wrap:wrap;
  gap:8px 18px}
.trust span{display:inline-flex;align-items:center;gap:7px}
.trust span::before{content:"";width:6px;height:6px;border-radius:999px;background:var(--brand)}
@media (prefers-reduced-motion: reduce){
  .btn,.card,.plan{transition:none}
  .btn:hover,.card:hover,.plan:hover{transform:none}
}

/* ─── Hero ────────────────────────────────────────────────────────────────── */
.hero{padding:88px 0 96px;position:relative;overflow:hidden}
/* The volt wash behind the device. Pure CSS radial gradient — no image request,
   and it re-tints with the theme because it reads --glow. */
.hero::before{content:"";position:absolute;top:-160px;right:-120px;width:760px;height:760px;
  border-radius:50%;background:radial-gradient(circle,var(--glow) 0%,transparent 68%);
  pointer-events:none;z-index:0}
.hero .wrap{position:relative;z-index:1}
.hero-grid{display:grid;gap:56px;grid-template-columns:1.05fr .95fr;align-items:center}
.hero h1{max-width:12ch}
.hero .lede{font-size:clamp(18px,2.1vw,22px);max-width:46ch}

/* ─── Drawn product imagery ───────────────────────────────────────────────────
   A phone and a venue display board, built from divs. They exist because there
   are no screenshots yet (the app's dev client has to be rebuilt first) and a
   marketing page of empty dashed rectangles converts badly. When real captures
   arrive, drop an <img> inside .device-screen — the frame and its shadow stay.
   Everything here is decorative, so the markup carries aria-hidden. */
/* The hairline is what separates the frame from the page in dark mode, where the
   shadow alone has almost nothing to fall on. */
.device{width:100%;max-width:330px;margin:0 auto;border-radius:42px;padding:11px;
  background:linear-gradient(160deg,#2A3038,#0E1216);box-shadow:var(--shadow-lg);
  border:1px solid rgba(255,255,255,.10);position:relative}
.device::after{content:"";position:absolute;top:22px;left:50%;transform:translateX(-50%);
  width:98px;height:6px;border-radius:99px;background:rgba(255,255,255,.22)}
.device-screen{background:#0A0C10;border-radius:32px;padding:34px 13px 15px;overflow:hidden;
  display:flex;flex-direction:column;gap:9px}
.app-bar{display:flex;align-items:center;justify-content:space-between;padding:0 4px 5px}
.app-bar b{font-size:13.5px;font-weight:700;color:#EDF1F7;letter-spacing:-.01em}
.pill{font-size:9.5px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;
  padding:3px 8px;border-radius:999px;background:rgba(55,224,160,.16);color:#37E0A0}
.pill-wait{background:rgba(255,255,255,.08);color:#8B95A7}

.court{background:#141922;border:1px solid rgba(255,255,255,.07);border-radius:14px;
  padding:11px 12px}
.court-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px}
.court-top b{font-size:11.5px;font-weight:700;color:#8B95A7;letter-spacing:.02em}
.court-top i{font-size:11.5px;color:#5C6675;font-style:normal;font-variant-numeric:tabular-nums}
.side{display:flex;gap:6px;align-items:center}
.side + .side{margin-top:7px}
.who{display:flex;align-items:center;gap:6px;background:rgba(255,255,255,.05);
  border-radius:99px;padding:3px 9px 3px 3px;flex:1;min-width:0}
.av{width:19px;height:19px;border-radius:99px;background:#37E0A0;color:#06120D;
  font-size:8.5px;font-weight:800;display:flex;align-items:center;justify-content:center;
  flex:0 0 auto}
.av-b{background:#5FA8FF}
/* A single Chinese character is illegible at the Latin initials' 8.5px, and it
   needs no letter-spacing. Used on the zh-Hant pages' mockups. */
.av-cjk{font-size:11px;font-weight:700}
.who em{font-size:11.5px;color:#EDF1F7;font-style:normal;white-space:nowrap;overflow:hidden;
  text-overflow:ellipsis}
.mid{text-align:center;font-size:9.5px;font-weight:800;color:#5C6675;letter-spacing:.12em;
  margin:6px 0}

.qhead{display:flex;justify-content:space-between;align-items:center;padding:6px 5px 2px}
.qhead b{font-size:11.5px;font-weight:700;color:#8B95A7;letter-spacing:.02em}
.qhead i{font-size:10.5px;color:#5C6675;font-style:normal}
.qrow{display:flex;align-items:center;gap:9px;padding:7px 10px;border-radius:11px;
  background:#141922;border:1px solid rgba(255,255,255,.05)}
.qrow + .qrow{margin-top:5px}
.qn{width:18px;height:18px;border-radius:6px;background:rgba(255,255,255,.07);color:#8B95A7;
  font-size:9.5px;font-weight:800;display:flex;align-items:center;justify-content:center;
  flex:0 0 auto}
.qrow.up .qn{background:#CBF23F;color:#0E1311}
.qrow em{font-size:12px;color:#EDF1F7;font-style:normal;flex:1;white-space:nowrap;
  overflow:hidden;text-overflow:ellipsis}
.qrow i{font-size:10.5px;color:#5C6675;font-style:normal;font-variant-numeric:tabular-nums}

/* The venue display board — the same vocabulary, laid out wide for a TV. */
.board{background:#0A0C10;border:1px solid rgba(255,255,255,.09);border-radius:var(--r-lg);
  padding:22px;box-shadow:var(--shadow-lg)}
.board-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}
.board-top b{font-size:16px;font-weight:800;color:#EDF1F7;letter-spacing:-.01em}
.board-courts{display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(148px,1fr))}
.board .court{padding:12px}
.board-wait{margin-top:14px;padding-top:14px;border-top:1px solid rgba(255,255,255,.08);
  display:flex;flex-wrap:wrap;gap:7px;align-items:center}
.chip{font-size:11.5px;color:#8B95A7;background:rgba(255,255,255,.05);border-radius:99px;
  padding:4px 11px;white-space:nowrap}
.chip-lead{color:#5C6675;background:transparent;padding-left:2px;font-weight:700;
  letter-spacing:.02em}

/* ─── Stat strip ──────────────────────────────────────────────────────────── */
.stats{display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
  padding:44px 0}
.stat b{display:block;font-size:clamp(34px,4.4vw,52px);font-weight:800;letter-spacing:-.04em;
  line-height:1;color:var(--ink)}
.stat span{display:block;font-size:14.5px;color:var(--sub);margin-top:10px}

/* ─── Cards & bento ───────────────────────────────────────────────────────── */
.grid{display:grid;gap:18px}
.grid-2{grid-template-columns:repeat(auto-fit,minmax(380px,1fr))}
.grid-3{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
/* Bento: a wide feature leading, then three of equal weight. Four identical cards
   in a 2×2 is what a spreadsheet looks like. */
.bento{grid-template-columns:repeat(3,1fr)}
.bento > :first-child{grid-column:span 3}
.card{background:var(--tint);border:1px solid var(--line);border-radius:var(--r-lg);
  padding:28px;box-shadow:var(--shadow-sm);transition:transform .18s ease,box-shadow .18s ease}
.card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.card h3{margin-bottom:10px}
.card p{color:var(--sub);margin:0}
.card p + p{margin-top:12px}
.card-wide{display:grid;gap:32px;grid-template-columns:1fr 1.15fr;align-items:center}
/* A small square glyph above a card title. Colour only — the shape does the work. */
.ico{width:38px;height:38px;border-radius:12px;background:var(--brand);margin-bottom:16px;
  display:flex;align-items:center;justify-content:center}
.ico svg{width:20px;height:20px;stroke:var(--on-brand);fill:none;stroke-width:2.1;
  stroke-linecap:round;stroke-linejoin:round}

.steps{list-style:none;counter-reset:step;padding:0;margin:0;display:grid;gap:18px;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}
.steps li{counter-increment:step;background:var(--tint);border:1px solid var(--line);
  border-radius:var(--r-lg);padding:28px;box-shadow:var(--shadow-sm)}
.steps li::before{content:counter(step);display:flex;align-items:center;justify-content:center;
  width:34px;height:34px;border-radius:11px;background:var(--brand);color:var(--on-brand);
  font-weight:800;font-size:16px;margin-bottom:16px}
/* Forces one column, for a step list sitting inside a two-column grid where the
   auto-fit default would split it again and make the cards unreadably narrow. */
.steps-stack{grid-template-columns:1fr}
.steps h3{margin-bottom:8px}
.steps p{margin:0;color:var(--sub);font-size:15.5px}

ul.ticks{list-style:none;padding:0;margin:20px 0 0}
ul.ticks li{position:relative;padding-left:30px;margin:0 0 13px;color:var(--sub);
  font-size:16px;line-height:1.6}
ul.ticks li::before{content:"";position:absolute;left:2px;top:.55em;width:12px;height:12px;
  border-radius:4px;background:var(--brand)}
ul.ticks strong{color:var(--ink);font-weight:700}

.panel{background:var(--tint);border:1px solid var(--line);border-left:4px solid var(--brand);
  border-radius:var(--r);padding:22px 26px;margin:28px 0;box-shadow:var(--shadow-sm)}
.panel :first-child{margin-top:0}
.panel :last-child{margin-bottom:0}

/* ─── Diagram ─────────────────────────────────────────────────────────────── */
/* Winners' Court diagram. Reads TOP-DOWN — court, then the win/lose split, then
   the two pools — rather than as a cycle. The first attempt drew long return arcs
   looping back to the court, and at any realistic width the arcs and their labels
   collided. The return leg is a caption underneath instead; the diagram's job is
   to explain the SPLIT, which is the part that is actually unusual. */
/* Every diagram class reads the THEME tokens, not the --dk-* set directly. Inside
   .band-dark those tokens already resolve to the dark values, so one set of
   classes works on a light section and on the inverted band with no variants —
   and a diagram moved between the two cannot come out invisible, which the
   earlier hardcoded version would have. */
.diagram{width:100%;height:auto;display:block}
.dg-panel{fill:var(--tint);stroke:var(--line);stroke-width:1.5}
/* Dots must not take .dg-panel's fill — that is panel-on-panel and they vanish. */
.dg-dot{fill:var(--muted)}
.dg-flow{stroke:var(--sub);fill:none;stroke-width:2;stroke-linecap:round}
.dg-court{fill:var(--brand)}
.dg-arrow{fill:var(--sub)}
.dg-ink{fill:var(--ink);font-size:14px;font-weight:800;letter-spacing:.1em}
.dg-sub{fill:var(--sub);font-size:12px;font-weight:700;letter-spacing:.1em}
.dg-on{fill:var(--on-brand);font-size:15px;font-weight:800;letter-spacing:.1em}
.diagram-note{color:var(--sub);font-size:14.5px;margin:18px 0 0;text-align:center}

/* Bracket diagram — same token discipline. Stands in for the tournament
   screenshot that does not exist yet. */
.bk-slot{fill:var(--tint);stroke:var(--line);stroke-width:1.5}
.bk-win{fill:var(--brand)}
.bk-line{stroke:var(--line);fill:none;stroke-width:2}
.bk-t{fill:var(--sub);font-size:12px;font-weight:600}
.bk-tw{fill:var(--on-brand);font-size:12px;font-weight:800}
.bk-r{fill:var(--muted);font-size:10.5px;font-weight:800;letter-spacing:.12em}

/* ─── Tables ──────────────────────────────────────────────────────────────── */
.table-scroll{overflow-x:auto;margin:28px 0;border:1px solid var(--line);
  border-radius:var(--r-lg);background:var(--tint);box-shadow:var(--shadow-sm)}
table{border-collapse:collapse;width:100%;font-size:15.5px;min-width:560px}
th,td{text-align:left;padding:16px 20px;border-bottom:1px solid var(--line);vertical-align:top}
tr:last-child th,tr:last-child td{border-bottom:0}
th{font-weight:700}
thead th{white-space:nowrap;font-size:13px;letter-spacing:.06em;text-transform:uppercase;
  color:var(--sub)}
td.yes{color:var(--ink);font-weight:700}
td.no{color:var(--muted)}

/* ─── Pricing plans ───────────────────────────────────────────────────────── */
/* Four tiers since 2026-09-20, so an explicit count rather than auto-fit — a
   280px minimum fits only three tracks at this wrap width and left the fourth
   plan stranded on its own row. */
.plans{display:grid;gap:18px;grid-template-columns:repeat(4,1fr);
  margin-top:44px;align-items:start}
@media (max-width:1040px){ .plans{grid-template-columns:repeat(2,1fr)} }
@media (max-width:560px){ .plans{grid-template-columns:1fr} }
.plan{background:var(--tint);border:1px solid var(--line);border-radius:var(--r-lg);
  padding:32px;box-shadow:var(--shadow-sm);transition:transform .18s ease,box-shadow .18s ease}
.plan:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
/* The middle tier is the one most clubs land on, so it is the one the eye lands on. */
.plan-hi{border:2px solid var(--brand);box-shadow:var(--shadow)}
.plan-tag{font-size:11px;font-weight:800;letter-spacing:.11em;text-transform:uppercase;
  color:var(--on-brand);background:var(--brand);border-radius:99px;padding:4px 11px;
  display:inline-block;margin-bottom:14px}
.plan h3{font-size:22px;font-weight:800;letter-spacing:-.02em}
.plan-price{font-size:34px;font-weight:800;letter-spacing:-.03em;margin:14px 0 4px;
  line-height:1.1}
.plan-price small{font-size:15px;font-weight:600;color:var(--sub);letter-spacing:0}
.plan-note{font-size:14px;color:var(--muted);margin:0 0 20px}
.plan ul{list-style:none;padding:0;margin:20px 0 0;border-top:1px solid var(--line);
  padding-top:20px}
.plan li{font-size:15.5px;color:var(--sub);margin:0 0 11px;padding-left:26px;position:relative}
.plan li::before{content:"";position:absolute;left:0;top:.5em;width:11px;height:11px;
  border-radius:4px;background:var(--brand)}
.plan li b{color:var(--ink);font-weight:700}

/* ─── FAQ — <details>, no JS ──────────────────────────────────────────────── */
.faq{margin-top:32px;border-top:1px solid var(--line)}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{cursor:pointer;padding:22px 46px 22px 0;font-weight:700;font-size:17.5px;
  position:relative;list-style:none;letter-spacing:-.01em}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";position:absolute;right:10px;top:50%;width:13px;height:13px;
  margin-top:-7px;border-right:2.4px solid var(--sub);border-bottom:2.4px solid var(--sub);
  transform:rotate(45deg);transition:transform .2s ease}
.faq details[open] summary::after{transform:rotate(-135deg)}
.faq details > *:not(summary){margin:0 0 22px;color:var(--sub);max-width:68ch}
@media (prefers-reduced-motion: reduce){ .faq summary::after{transition:none} }

/* ─── Screenshot slots ────────────────────────────────────────────────────── */
/* Sized by aspect-ratio so dropping a real capture in does not reflow the page. */
.shot{background:var(--tint);border:1px dashed var(--muted);border-radius:var(--r-lg);
  display:flex;align-items:center;justify-content:center;text-align:center;
  color:var(--muted);font-size:14px;padding:24px;aspect-ratio:16/10}

/* ─── Footer ──────────────────────────────────────────────────────────────── */
.site-foot{border-top:1px solid var(--line);padding:64px 0 72px;color:var(--muted);
  font-size:14.5px;background:var(--band)}
/* An explicit count, NOT `1.5fr repeat(auto-fit,minmax(150px,1fr))`. An auto-fit
   repeat may not share a track list with a flexible track — the whole
   declaration is invalid and the grid silently collapses to one column, which is
   exactly what shipped. */
.foot-cols{display:grid;gap:36px;grid-template-columns:1.6fr repeat(4,1fr)}
.foot-brand p{color:var(--sub);max-width:30ch;margin:16px 0 0;font-size:14.5px}
.foot-cols h4{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--sub);
  margin:0 0 14px;font-weight:800}
.foot-cols ul{list-style:none;padding:0;margin:0}
.foot-cols li{margin:0 0 10px}
.foot-cols a{color:var(--sub);text-decoration:none}
.foot-cols a:hover{color:var(--ink);opacity:1}
.foot-legal{margin-top:44px;padding-top:26px;border-top:1px solid var(--line)}

/* ─── Utilities ───────────────────────────────────────────────────────────── */
.center{text-align:center}
.center .lede,.center h1,.center h2,.center .section-head{margin-left:auto;margin-right:auto}
.center .cta-row{justify-content:center}
.center .eyebrow{justify-content:center}
.langs-strip{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}
.langs-strip span{border:1px solid var(--line);background:var(--tint);border-radius:999px;
  padding:9px 18px;font-size:15px;color:var(--sub);box-shadow:var(--shadow-sm)}
/* Marks copy standing in for a fact not yet known — a price, a store URL, a
   screenshot. `grep -rn "todo" public/` before any launch announcement. */
.todo{background:var(--brand);color:var(--on-brand);padding:1px 7px;border-radius:5px;
  font-size:.85em;font-weight:800;letter-spacing:.04em}

@media (max-width:900px){
  .hero-grid{grid-template-columns:1fr;gap:48px}
  .bento{grid-template-columns:1fr 1fr}
  .bento > :first-child{grid-column:span 2}
  .card-wide{grid-template-columns:1fr;gap:28px}
  .foot-cols{grid-template-columns:1fr 1fr}
}
@media (max-width:640px){
  body{font-size:16px}
  section{padding:72px 0}
  .hero{padding:56px 0 68px}
  .bento,.bento > :first-child{grid-template-columns:1fr;grid-column:auto}
  /* Two rows, not three: brand + language picker share row one, and the nav gets
     row two as a horizontal scroller instead of wrapping onto a third line. */
  .site-head .wrap{min-height:0;gap:10px}
  .brand{font-size:15px;gap:9px}
  .mark{width:28px;height:28px;border-radius:9px}
  .nav{width:100%;order:3;gap:18px;font-size:14.5px;flex-wrap:nowrap;overflow-x:auto;
    scrollbar-width:none}
  .nav::-webkit-scrollbar{display:none}
  .nav a{white-space:nowrap}
  .card,.plan,.steps li{padding:24px}
  .section-head{margin-bottom:36px}
}
