:root {
  --bg: #f7f4ee;
  --ink: #1e2528;
  --muted: #5b656b;
  --line: #ded8cd;
  --panel: #fffaf1;
  --panel-2: #eef5f1;
  --accent: #b8453f;
  --accent-2: #1f6f78;
  --gold: #d59b2d;
  --radius: 10px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}

a { color: var(--accent-2); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 244, 238, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand {
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
}
.nav-links a:hover { color: var(--ink); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-weight: 700;
}
.button.secondary {
  background: transparent;
  color: var(--accent);
}

.hero {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 36px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 44px;
  align-items: center;
}
.eyebrow {
  color: var(--accent-2);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}
h1 {
  margin: 12px 0 18px;
  font-size: clamp(2.4rem, 5vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: 0;
}
.lead {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: #334047;
  max-width: 680px;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.age-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}
.word-board {
  background: #202735;
  color: #f4efe3;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 20px 60px rgba(20, 25, 30, 0.22);
  border: 1px solid rgba(255,255,255,0.08);
}
.board-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #aeb7c4;
  font-size: 12px;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
}
.tile {
  aspect-ratio: 1;
  border-radius: 8px;
  background: #f2dfaa;
  color: #202735;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: clamp(1.1rem, 3vw, 1.8rem);
  box-shadow: inset 0 -4px 0 rgba(0,0,0,0.12);
}
.tile.hot {
  background: #e7a744;
  color: #171c25;
}
.board-caption {
  margin: 18px 0 0;
  color: #cbd3dd;
  font-size: 14px;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0;
}
.section h2 {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.05;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.card strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.stat {
  background: var(--panel-2);
  border: 1px solid #d5e1da;
  border-radius: var(--radius);
  padding: 18px;
}
.stat b {
  display: block;
  font-family: var(--mono);
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  color: var(--accent-2);
}
.prose {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0 70px;
}
.prose h1 {
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  line-height: 1.05;
}
.prose h2 {
  margin-top: 34px;
  font-size: 1.5rem;
}
.prose p, .prose li {
  color: #344047;
}
.note {
  background: var(--panel-2);
  border: 1px solid #d5e1da;
  border-radius: var(--radius);
  padding: 16px 18px;
}
.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
  font-size: 14px;
}
.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer a { color: var(--muted); }

@media (max-width: 840px) {
  .nav {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }
  .nav-links {
    margin-left: 0;
    flex-wrap: wrap;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 36px;
  }
  .grid,
  .stat-grid {
    grid-template-columns: 1fr;
  }
}
