/* landing.css — the shared stylesheet for blitzmate.co's SEO landing pages
   (quick 261007-landing-play-chess-online).
   See docs/website/LANDING-PAGES.md for how to add a page that uses it.

   WHY THIS IS A FILE AND NOT AN INLINE <style>. index.html, support.html,
   delete-account.html and the generated legal pages each inline their own copy
   of the house :root. That is right for them: each is a one-off, and the legal
   pages must render with no second request at all. Landing pages are the
   opposite case by design — there will be several, each a copy of the last — and
   a fourth and fifth inlined copy of the same 70 lines is exactly what makes a
   template rot out of sync with the design it came from. One file, long-cached
   (web-invite/vercel.json), same origin, so the [origin] guard is untouched.

   Type colours follow the standalone-page rule, which is NOT a preference:
   --text with an underline for body links, because #FF5A4D fails WCAG AA at 15px
   on this background (TOKENS, Brand accent). The accent survives as a solid fill
   behind --bg text on the CTA, where contrast runs the other way, and in the
   13px footer. Do not promote it to body text. */
:root {
  /* House :root — byte-identical to support.html:20-29 and
     generate-privacy-html.ts:103-112. Never redefined. */
  --bg: #0E0E11;
  --surface: #17171B;
  --accent: #FF5A4D;
  --accent-hot: #FF7A6E;
  --accent-tint: rgba(255, 90, 77, .12);
  --text: #F4F2EE;
  --text-dim: #8C8B92;
  --border: rgba(255, 255, 255, .08);
  --text-bright: #C9C8CE;
}
@font-face { font-family: 'Space Grotesk'; font-weight: 700; font-style: normal; font-display: swap; src: url('/fonts/SpaceGrotesk-700.woff2') format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-weight: 400; font-style: normal; font-display: swap; src: url('/fonts/HankenGrotesk-400.woff2') format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-weight: 600; font-style: normal; font-display: swap; src: url('/fonts/HankenGrotesk-600.woff2') format('woff2'); }
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
main { max-width: 760px; margin: 0 auto; padding: 32px 24px 64px; text-align: left; }

/* Breadcrumb trail. The visible counterpart of the BreadcrumbList JSON-LD —
   structured data that describes a trail the page does not show is a mismatch
   a crawler is entitled to distrust. */
.crumbs { margin-bottom: 20px; font-size: 13px; color: var(--text-dim); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); text-decoration: underline; }
.crumbs span { margin: 0 6px; }

h1 { font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 34px; font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }
h2 { font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 21px; font-weight: 700; letter-spacing: -0.01em; margin-top: 40px; }
h3 { font-size: 16px; font-weight: 600; margin-top: 24px; }
p { font-size: 16px; line-height: 1.6; color: var(--text-dim); margin-top: 10px; }
.lede { font-size: 18px; line-height: 1.55; color: var(--text-bright); margin-top: 14px; }
strong { color: var(--text); font-weight: 600; }
main p a, main li a { color: var(--text); text-decoration: underline; }
ul { margin-top: 10px; padding-left: 20px; }
li { font-size: 16px; line-height: 1.6; color: var(--text-dim); margin-top: 6px; }

/* Call to action. 48px tall, --bg on --accent: the one place the accent carries
   type, and the contrast runs the right way round because the text is dark. */
.cta { margin-top: 26px; }
.cta a {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 13px 26px; border-radius: 10px;
  font-size: 16px; font-weight: 700; color: var(--bg);
  background: var(--accent); text-decoration: none;
}
.cta a:hover { background: var(--accent-hot); }
.cta svg { fill: currentColor; }
.cta-fine { margin-top: 10px; font-size: 13px; color: var(--text-dim); }
a:focus-visible { outline: 2px solid var(--accent-hot); outline-offset: 2px; }

/* A bordered aside for a single fact worth lifting out of the flow. */
.note { margin-top: 20px; padding: 16px 18px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 14px; }
.note p { margin-top: 0; }

footer {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border);
  font-size: 13px; line-height: 1.6; color: var(--text-dim);
}
footer a { color: var(--accent); text-decoration: none; }

@media (max-width: 520px) {
  main { padding: 24px 20px 52px; }
  h1 { font-size: 27px; }
  h2 { font-size: 19px; margin-top: 34px; }
  .lede { font-size: 16px; }
  p, li { font-size: 15px; }
}
