/* GTM Open - design system
   Warm paper ground, one serif voice for display, a mono voice for labels.
   Palette echoes a printed benchmark report: cream, sand, ink, rust. */

:root {
  --paper: #fffbef;
  --paper-2: #f6efda;
  --paper-3: #ddd2b4;
  --screen: #fffdf6;
  --sand: #e8dfc8;
  --sand-2: #ddd2b4;
  --sand-line: #c9bb99;

  --ink-900: #15110d;
  --ink-800: #241f1a;
  --ink-700: #3a3026;
  --ink-soft: rgba(36, 31, 26, 0.74);
  --ink-faint: rgba(36, 31, 26, 0.56);
  --ink-ghost: rgba(36, 31, 26, 0.3);
  --line: rgba(36, 31, 26, 0.16);
  --line-strong: rgba(36, 31, 26, 0.3);

  --rust: #9a4527;
  --rust-soft: #f0ac72;
  --forest: #1e4d38;
  --forest-soft: #8fd9ac;
  --steel: #2a5572;
  --steel-soft: #95beea;
  --violet: #2f194a;
  --wine: #6e1f2e;
  --tan: #c2a87c;
  --bronze: #7c5314;
  --bronze-soft: #e2c377;

  --font-lit: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-sans: 'Geist', ui-sans-serif, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, Menlo, Consolas, monospace;

  --maxw: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-card: 12px;
  --r-pill: 8px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--paper);
  color: var(--ink-700);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-700);
  font: 400 clamp(0.9375rem, 0.88rem + 0.25vw, 1.0625rem) / 1.65 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* paper grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

h1, h2, h3, h4 {
  font-family: var(--font-lit);
  font-weight: 500;
  color: var(--ink-800);
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 1.7rem + 3.6vw, 4.25rem); line-height: 1.04; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.75rem); line-height: 1.1; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.625rem); line-height: 1.2; }
h4 { font-size: 1.125rem; line-height: 1.3; }

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

::selection { background: var(--ink-800); color: var(--paper); }

.wrap {
  position: relative;
  z-index: 1;
  width: min(100% - 2 * var(--gutter), var(--maxw));
  margin-inline: auto;
}

.kicker {
  font: 500 0.7rem / 1.2 var(--font-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.kicker--rust { color: var(--rust); }

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.1rem;
  border-radius: var(--r-pill);
  font: 500 0.875rem / 1 var(--font-sans);
  color: var(--paper);
  background: var(--ink-800);
  border: 1px solid var(--ink-800);
  white-space: nowrap;
  transition: transform 0.4s var(--ease), background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn .arr { transition: transform 0.4s var(--ease); }
.btn:hover { background: var(--ink-900); transform: translateY(-1px); }
.btn:hover .arr { transform: translateX(3px); }

.btn--sand {
  background: var(--sand);
  color: var(--ink-800);
  border-color: var(--sand);
}
.btn--sand:hover { background: var(--sand-2); border-color: var(--sand-2); }

.btn--paper {
  background: var(--paper);
  color: var(--ink-800);
  border-color: var(--paper);
}
.btn--paper:hover { background: #ffffff; border-color: #ffffff; }

.btn--ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(255, 251, 239, 0.35);
}
.btn--ghost:hover { background: rgba(255, 251, 239, 0.08); border-color: rgba(255, 251, 239, 0.6); }

.btn--sm { padding: 0.55rem 0.9rem; font-size: 0.8125rem; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 251, 239, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.nav.is-stuck { border-bottom-color: var(--line); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 68px;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  font: 500 1.35rem / 1 var(--font-lit);
  color: var(--ink-800);
  letter-spacing: -0.01em;
}
.wordmark__ring {
  width: 0.78em;
  height: 0.78em;
  border-radius: 50%;
  border: 2.5px solid var(--ink-800);
  position: relative;
  top: 0.06em;
  flex: none;
}
.wordmark__ring::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--rust);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__links a {
  font: 400 0.6875rem / 1 var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
.nav__links a:hover { color: var(--ink-900); }

/* Hero */
.hero {
  padding: clamp(3rem, 8vw, 7rem) 0 clamp(2.5rem, 5vw, 4rem);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.hero__copy > * + * { margin-top: 1.25rem; }
.hero__copy h1 { margin-top: 1.1rem; max-width: 12ch; }
.hero__sub {
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  line-height: 1.4;
  color: var(--ink-800);
  max-width: 30ch;
}
.hero__body {
  color: var(--ink-soft);
  max-width: 46ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.9rem;
}
.hero__art {
  position: relative;
  min-width: 0;
}
.hero__art svg { width: 100%; height: auto; display: block; }
.hero__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.1rem;
  margin-top: 0.5rem;
  font: 400 0.6875rem / 1.4 var(--font-mono);
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  justify-content: flex-end;
}
.hero__legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.dot {
  width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none;
}
.dot--ink { background: var(--ink-700); }
.dot--forest { background: var(--forest); }
.dot--steel { background: var(--steel); }
.dot--hollow { background: var(--paper); border: 1.4px solid var(--tan); }

/* page-load stagger */
[data-rise] {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.9s var(--ease) forwards;
}
[data-rise="1"] { animation-delay: 0.05s; }
[data-rise="2"] { animation-delay: 0.15s; }
[data-rise="3"] { animation-delay: 0.25s; }
[data-rise="4"] { animation-delay: 0.35s; }
[data-rise="5"] { animation-delay: 0.45s; }
[data-rise="6"] { animation-delay: 0.3s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-rise], [data-reveal] { opacity: 1; transform: none; animation: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Stats */
.stats {
  padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(3rem, 6vw, 5rem);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  border-top: 1px solid var(--line-strong);
  padding-top: 1.5rem;
}
.stat .kicker { display: block; margin-bottom: 0.5rem; }
.stat__num {
  font: 500 clamp(2rem, 1.6rem + 1.4vw, 2.75rem) / 1 var(--font-lit);
  color: var(--ink-800);
  letter-spacing: -0.01em;
}
.stat__num small {
  font-size: 0.55em;
  color: var(--ink-faint);
  margin-left: 0.15em;
}
.stat__note {
  margin-top: 0.4rem;
  font-size: 0.8125rem;
  color: var(--ink-faint);
}

/* Section rhythm */
.section { padding: clamp(3rem, 7vw, 6rem) 0; }
.section__head {
  max-width: 62ch;
  margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
}
.section__head .kicker { display: block; margin-bottom: 0.9rem; }
.section__head p {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 1.0625rem;
  max-width: 56ch;
}

/* Statement */
.statement {
  text-align: center;
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}
.statement h2 {
  max-width: 24ch;
  margin-inline: auto;
}
.statement p {
  margin: 1.25rem auto 0;
  max-width: 54ch;
  color: var(--ink-soft);
  font-size: 1.0625rem;
}
.statement p + p { margin-top: 0.4rem; }

/* Feature cards (bordered, graphic inside) */
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: clamp(1.25rem, 2.4vw, 1.9rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}
.card--wide { grid-column: span 2; }
.card__text h3 { margin-bottom: 0.5rem; }
.card__text p { color: var(--ink-soft); font-size: 0.9375rem; max-width: 52ch; }
.card__screen {
  margin-top: auto;
  background: var(--screen);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem 1.1rem;
  overflow: hidden;
  position: relative;
}
.card__screen--flush { padding: 0; }

/* leaderboard mini */
.lb { width: 100%; border-collapse: collapse; font-size: 0.8125rem; }
.lb th {
  text-align: left;
  font: 500 0.625rem / 1.2 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: 0 0 0.5rem;
  border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
}
.lb td {
  padding: 0.42rem 0;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  vertical-align: middle;
}
.lb tbody tr:last-child td { border-bottom: none; }
.lb .n { font-family: var(--font-mono); color: var(--ink-faint); width: 2.1rem; font-size: 0.75rem; }
.lb .m { font-weight: 500; color: var(--ink-800); padding-right: 0.75rem; }
.lb .m .dot { margin-right: 0.5rem; position: relative; top: -1px; }
.lb .bar { width: 100%; padding-right: 0.75rem; }
.lb .bar i {
  display: block;
  height: 7px;
  border-radius: 2px;
  background: var(--ink-700);
  opacity: 0.85;
}
.lb tr.lead .bar i { background: var(--rust); opacity: 1; }
.lb .v, .lb .c { text-align: right; font-family: var(--font-mono); font-size: 0.75rem; padding-left: 0.5rem; }
.lb .v { color: var(--ink-800); }
.lb .c { color: var(--ink-faint); }
.lb tr.lead .v { color: var(--rust); font-weight: 500; }
.lb .open {
  font: 500 0.5625rem / 1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.15rem 0.3rem;
  margin-left: 0.4rem;
  position: relative;
  top: -1px;
}
.dot--anthropic { background: var(--rust); }
.dot--openai { background: var(--forest); }
.dot--google { background: var(--steel); }
.dot--open { background: var(--bronze); }

/* evidence pack mock */
.pack { font: 400 0.75rem / 1.7 var(--font-mono); color: var(--ink-soft); }
.pack__head {
  display: flex; justify-content: space-between; gap: 1rem;
  color: var(--ink-800); padding-bottom: 0.45rem; margin-bottom: 0.45rem;
  border-bottom: 1px dashed var(--line-strong);
}
.pack__row { display: flex; justify-content: space-between; gap: 1rem; }
.pack__row b { font-weight: 500; color: var(--ink-800); }
.pack__row span { color: var(--ink-faint); }
.pack__foot {
  margin-top: 0.6rem; padding-top: 0.5rem; border-top: 1px dashed var(--line-strong);
  color: var(--forest); display: flex; gap: 0.5rem; align-items: center;
}
.pack__foot::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--forest); flex: none; }

/* release log mock */
.log { font: 400 0.75rem / 1.6 var(--font-mono); color: var(--ink-soft); display: grid; gap: 0.7rem; }
.log__row { display: grid; grid-template-columns: 3.4rem 1fr; gap: 0.75rem; align-items: start; }
.log__t { color: var(--ink-faint); }
.log__row b { color: var(--ink-800); font-weight: 500; }
.log__cmp {
  margin-top: 0.3rem;
  display: grid; gap: 0.35rem;
}
.log__bar { display: grid; grid-template-columns: 2.6rem 1fr 3rem; gap: 0.5rem; align-items: center; }
.log__bar i { display: block; height: 7px; border-radius: 2px; background: var(--tan); }
.log__bar.is-new i { background: var(--rust); }
.log__bar em { font-style: normal; text-align: right; color: var(--ink-800); }

/* provenance grid */
.grid243 {
  display: grid;
  grid-template-columns: repeat(27, 1fr);
  gap: 3px;
}
.grid243 i {
  display: block;
  aspect-ratio: 1;
  border-radius: 2px;
  background: var(--tan);
  opacity: 0.55;
}
.grid243 i.h { background: var(--forest); opacity: 0.9; }
.gridlegend {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem;
  margin-top: 0.8rem;
  font: 400 0.6875rem / 1.4 var(--font-mono);
  color: var(--ink-faint);
}
.gridlegend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.sw { width: 10px; height: 10px; border-radius: 2px; display: inline-block; flex: none; }
.sw--h { background: var(--forest); opacity: 0.9; }
.sw--p { background: var(--tan); opacity: 0.55; }

/* Modules row */
.modules {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}
.module {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-width: 0;
  transition: transform 0.5s var(--ease), border-color 0.3s ease;
}
.module:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.module__top { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.module__icon {
  width: 38px; height: 38px; border-radius: 8px;
  display: grid; place-items: center;
  font: 500 0.75rem / 1 var(--font-mono);
  letter-spacing: 0.06em;
  color: var(--ink-800);
}
.module__icon--a { background: var(--forest-soft); color: var(--forest); }
.module__icon--b { background: var(--steel-soft); color: var(--steel); }
.module__icon--c { background: var(--bronze-soft); color: var(--bronze); }
.module__icon--d { background: var(--rust-soft); color: var(--rust); }
.chip {
  font: 500 0.625rem / 1 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.5rem;
  border-radius: 4px;
  border: 1px solid var(--line);
  color: var(--ink-faint);
  white-space: nowrap;
}
.chip--live { color: var(--forest); border-color: rgba(30, 77, 56, 0.4); background: rgba(143, 217, 172, 0.18); }
.module h4 { font-size: 1.25rem; }
.module p { color: var(--ink-soft); font-size: 0.9rem; }
.module a.more {
  margin-top: auto;
  font: 500 0.6875rem / 1 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rust);
}
.module a.more:hover { text-decoration: underline; text-underline-offset: 3px; }
.module--dim { opacity: 0.78; }

/* Featured band */
.band {
  background: var(--sand);
  padding: clamp(3rem, 7vw, 6rem) 0;
  position: relative;
  z-index: 1;
}
.band__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem;
  font: 500 0.6875rem / 1.2 var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.meta .sep { opacity: 0.5; }
.band h2 { margin-top: 1.1rem; }
.band__excerpt { margin-top: 1.25rem; color: var(--ink-700); max-width: 52ch; }
.band__excerpt + .band__excerpt { margin-top: 0.75rem; color: var(--ink-soft); }
.band .hero__actions { margin-top: 1.75rem; }
.frame {
  background: var(--paper);
  border: 1px solid var(--sand-line);
  border-radius: 10px;
  padding: 1.1rem;
  box-shadow: 0 1px 0 rgba(36, 31, 26, 0.04), 0 24px 50px -30px rgba(36, 31, 26, 0.35);
}
.frame svg { width: 100%; height: auto; display: block; }
.frame__cap {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-top: 0.75rem;
  font: 400 0.6875rem / 1.4 var(--font-mono);
  color: var(--ink-faint);
}

/* Rules */
.rules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem 1.75rem;
}
.rule { border-top: 1px solid var(--line-strong); padding-top: 1rem; }
.rule__n {
  font: 500 0.7rem / 1 var(--font-mono);
  letter-spacing: 0.18em;
  color: var(--rust);
  display: block;
  margin-bottom: 0.8rem;
}
.rule h4 { margin-bottom: 0.45rem; font-size: 1.2rem; }
.rule p { color: var(--ink-soft); font-size: 0.9375rem; }

/* Audience */
.who {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.who__item {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 1.5rem;
}
.who__item .kicker { display: block; margin-bottom: 0.8rem; }
.who__item h4 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.who__item p { color: var(--ink-soft); font-size: 0.9375rem; }

/* Closing band */
.close {
  background: var(--ink-900);
  color: var(--paper);
  padding: clamp(4rem, 9vw, 7.5rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.close::before {
  content: '';
  position: absolute;
  inset: -40% -10% auto;
  height: 120%;
  background: radial-gradient(60% 50% at 50% 40%, rgba(154, 69, 39, 0.35), transparent 70%);
  pointer-events: none;
}
.close .wrap { position: relative; }
.close h2 { color: var(--paper); max-width: 18ch; margin-inline: auto; }
.close p {
  margin: 1.1rem auto 0;
  max-width: 50ch;
  color: rgba(255, 251, 239, 0.72);
  font-size: 1.0625rem;
}
.close .hero__actions { justify-content: center; margin-top: 2rem; }

/* Footer */
.footer {
  padding: clamp(2.5rem, 5vw, 4rem) 0 2rem;
  background: var(--paper);
  position: relative;
  z-index: 1;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}
.footer__brand p {
  margin-top: 0.8rem;
  max-width: 34ch;
  color: var(--ink-soft);
  font-size: 0.9rem;
}
.footer h5 {
  margin: 0 0 0.9rem;
  font: 500 0.625rem / 1.2 var(--font-mono);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer li a {
  font: 400 0.75rem / 1.4 var(--font-mono);
  letter-spacing: 0.06em;
  color: var(--ink-700);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}
.footer li a:hover { text-decoration-color: var(--ink-800); }
.footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font: 400 0.6875rem / 1.5 var(--font-mono);
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}
.footer__bottom a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }

/* Article */
.article { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem); }
.article__head {
  max-width: 820px;
  margin: 0 auto clamp(2rem, 5vw, 3.5rem);
}
.article__head h1 {
  margin-top: 1.1rem;
  font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.5rem);
}
.article__lede {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  color: var(--ink-soft);
  max-width: 64ch;
}
.article__by {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem;
  font: 400 0.6875rem / 1.5 var(--font-mono);
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}
.article__by a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.article__hero {
  max-width: 1000px;
  margin: 0 auto clamp(2rem, 5vw, 3.5rem);
}
.article__hero img {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.prose {
  max-width: 720px;
  margin-inline: auto;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-700);
}
.prose > * + * { margin-top: 1.1em; }
.prose h2 {
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem);
  margin-top: 2.4em;
  margin-bottom: 0.6em;
}
.prose h3 { margin-top: 1.8em; }
.prose p strong { color: var(--ink-800); font-weight: 600; }
.prose em { font-family: var(--font-lit); font-size: 1.05em; }
.prose a {
  color: var(--rust);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(154, 69, 39, 0.4);
  transition: text-decoration-color 0.2s ease;
}
.prose a:hover { text-decoration-color: var(--rust); }
.prose ul, .prose ol { padding-left: 1.35rem; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--rust); font-family: var(--font-mono); font-size: 0.9em; }
.prose hr { border: 0; border-top: 1px solid var(--line-strong); margin: 2.4em 0; }
.prose blockquote {
  margin: 1.5em 0;
  padding: 0.2em 0 0.2em 1.25rem;
  border-left: 2px solid var(--rust);
  color: var(--ink-soft);
  font-family: var(--font-lit);
  font-size: 1.15em;
}
.prose code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.05em 0.35em;
}
.prose a:has(> img) {
  display: block;
  text-decoration: none;
  margin: 2em -1rem;
}
.prose img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.prose a:hover > img {
  transform: translateY(-2px);
  box-shadow: 0 24px 50px -30px rgba(36, 31, 26, 0.45);
}
.prose .tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.6em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; min-width: 28rem; }
.prose th {
  text-align: left;
  font: 500 0.75rem / 1.3 var(--font-mono);
  letter-spacing: 0.02em;
  color: var(--ink-faint);
  padding: 0 0.75rem 0.6rem 0;
  border-bottom: 1px solid var(--line-strong);
  vertical-align: bottom;
}
.prose td {
  padding: 0.5rem 0.75rem 0.5rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.prose td:not(:first-child), .prose th:not(:first-child) { font-family: var(--font-mono); font-size: 0.875rem; white-space: nowrap; }
.prose td:first-child { font-weight: 500; color: var(--ink-800); white-space: nowrap; }
.prose tbody tr:first-child td { color: var(--rust); }
.prose tbody tr:first-child td:first-child { color: var(--rust); }

.article__foot {
  max-width: 720px;
  margin: clamp(2.5rem, 6vw, 4rem) auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-strong);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  align-items: center;
}
.article__foot p { font: 400 0.75rem / 1.5 var(--font-mono); color: var(--ink-faint); max-width: 46ch; }
.article__foot p a { text-decoration: underline; text-underline-offset: 3px; }

/* Responsive */
@media (max-width: 1024px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card--wide { grid-column: span 2; }
  .modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .nav__links { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { max-width: 520px; }
  .hero__legend { justify-content: flex-start; }
  .band__grid { grid-template-columns: 1fr; }
  .rules, .who { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .card--wide { grid-column: auto; }
  .prose a:has(> img) { margin-inline: 0; }
}

@media (max-width: 560px) {
  .hero__legend { font-size: 0.625rem; gap: 0.5rem 0.85rem; }
  .modules { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 1.25rem 1rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .lb .c { display: none; }
  .lb th:last-child { display: none; }
}
