/* Values are packages/core/src/tokens.ts, verbatim — this site has no build
   step to import them, so the numbers are copied and that file stays the
   source of truth. The product is light-only (tourneyrook.md D-31); so is
   this page. */
:root {
  --bg: #f2efe9;
  --surface: #fbf9f5;
  --surface-raised: #fffdf9;
  --border: #dcd6ca;
  --border-subtle: #ebe6dc;
  --ink: #16140f;
  --ink-muted: #5d574a;
  --ink-soft: #6f675a;
  --accent: #2e9e44;        /* marks only — never text (3.00:1) */
  --accent-text: #1b6b2d;
  --accent-fill: #1f7a34;
  --accent-fill-hover: #186327;
  --font-display: 'Fraunces', Georgia, serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 44rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

header.site {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 3.5rem;
}
header.site svg { width: 28px; height: 28px; flex: none; }
header.site a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--ink);
  text-decoration: none;
}

h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 6vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 1.1rem;
}

.lede { font-size: 1.12rem; color: var(--ink-muted); max-width: 38rem; }

.kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
.kicker .dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 0.45rem;
  vertical-align: 1px;
}

.features {
  margin-top: 3rem;
  display: grid;
  gap: 1px;                       /* hairline grid, borders via background */
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
}
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
.features article { background: var(--surface); padding: 1.4rem 1.5rem; }
.features h2 {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 0.5rem;
}
.features p { font-size: 0.95rem; color: var(--ink-muted); }

.status {
  margin-top: 3rem;
  padding: 1.1rem 1.4rem;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

/* Legal pages */
.prose h1 { font-size: clamp(1.7rem, 5vw, 2.3rem); }
.prose .updated {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-bottom: 2.2rem;
}
.prose h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  margin: 2.2rem 0 0.6rem;
}
.prose p, .prose li { color: var(--ink-muted); margin-bottom: 0.7rem; }
.prose ul { padding-left: 1.3rem; margin-bottom: 0.7rem; }
.prose a { color: var(--accent-text); }

footer.site {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
}
footer.site a { color: var(--accent-text); text-decoration: none; }
footer.site a:hover { text-decoration: underline; }
