/* ================================================================
   LF0 website — layout styles
   Tokens come from ../../colors_and_type.css. This file styles the
   recreated lf0.com surface: chrome, research feed, the backtests
   table, and the backtest article (Performance Results) layout.
   ================================================================ */

/* ── Site chrome ───────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg-1) 88%, transparent);
  backdrop-filter: saturate(1.1) blur(8px);
  border-bottom: 1px solid var(--border-1);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 0;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  cursor: pointer;
  text-decoration: none;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand__wm {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}
.brand__dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--accent);
  align-self: center;
  margin: 0 -0.15rem 2px;
}
.brand__kicker {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  color: var(--muted);
}

.site-nav {
  display: flex;
  gap: 1.6rem;
  align-items: center;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 600;
}
.site-nav__link {
  color: var(--ink);
  text-decoration: none;
  padding: 2px 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color var(--dur-1), border-color var(--dur-1);
}
.site-nav__link:hover { color: var(--accent); }
.site-nav__link.is-active { color: var(--accent); border-bottom-color: var(--accent); }
.site-nav__search {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--bg-3);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-1);
  padding: 0.34rem 0.7rem;
  cursor: pointer;
  transition: color var(--dur-1), border-color var(--dur-1);
}
.site-nav__search:hover { color: var(--ink); border-color: var(--ink); }

/* ── Footer ────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border-1);
  background: var(--bg-deep);
  margin-top: var(--space-2xl);
}
.site-footer__inner {
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: var(--space-xl);
  padding: var(--space-xl) var(--space-m) var(--space-l);
}
.site-footer__deck {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 0.5rem;
  max-width: 22rem;
}
.site-footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-l); }
.site-footer__cols nav { display: flex; flex-direction: column; gap: 0.45rem; font-family: var(--sans); font-size: 0.88rem; }
.site-footer__cols nav .kicker { margin-bottom: 0.2rem; }
.site-footer__cols nav a { color: var(--ink-2); text-decoration: none; cursor: pointer; }
.site-footer__cols nav a:hover { color: var(--accent); }
.site-footer__base {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-l);
  padding: var(--space-m) var(--space-m) var(--space-l);
  border-top: 1px solid var(--border-2);
}
.site-footer__legal {
  font-family: var(--sans);
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: 68ch;
  margin: 0;
}
.site-footer__base .caption-mono { white-space: nowrap; }
@media (max-width: 820px) {
  .site-footer__inner { grid-template-columns: 1fr; gap: var(--space-l); }
  .site-footer__base { flex-direction: column; align-items: flex-start; gap: var(--space-s); }
}

/* ── Shared atoms ──────────────────────────────────────────────── */
.up   { color: var(--up); }
.down { color: var(--down); }

/* Category chip */
.cat {
  display: inline-flex;
  align-items: center;
  font-family: var(--sans);
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  padding: 0.18rem 0.46rem;
  border-radius: var(--radius-1);
  border: 1px solid var(--border-1);
}
.cat::before {
  content: "";
  display: inline-block;
  width: 0.45em; height: 0.45em;
  margin-right: 0.4em;
  background: currentColor;
}
.cat--backtest { color: var(--umber); border-color: color-mix(in srgb, var(--umber) 40%, var(--border-1)); background: var(--umber-soft); }
.cat--research { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 40%, var(--border-1)); background: var(--accent-soft); }

/* Ticker chip — monospace symbol */
.tk {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  background: var(--bg-3);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-1);
  padding: 0.14rem 0.4rem;
}

/* Chart frame */
.chart-frame {
  border: 1px solid var(--border-1);
  border-radius: var(--radius-2);
  background: var(--surface);
  overflow: hidden;
}
.chart-frame__head, .chart-frame__foot {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  font-family: var(--mono);
  font-size: var(--fs-2xs);
  color: var(--muted);
}
.chart-frame__head { border-bottom: 1px solid var(--border-1); }
.chart-frame__foot { border-top: 1px solid var(--border-1); }
.chart-frame__body { padding: 0.75rem; }
.eq-svg { display: block; width: 100%; height: auto; }

/* ── Hero ──────────────────────────────────────────────────────── */
.hero2 { padding: var(--space-2xl) 0 var(--space-xl); border-bottom: 1px solid var(--border-1); }
.hero2__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-2xl);
  align-items: center;
}
.hero2__copy .display {
  max-width: 16ch;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 4.3vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0.9rem 0 0;
  font-optical-sizing: none;
}
.hero2__copy .lede {
  max-width: 50ch;
  margin: 1.1rem 0 0;
  font-size: 1.1rem;
}
.hero2__actions { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 1.8rem; }
.hero2__figure { color: var(--accent); }
@media (max-width: 880px) {
  .hero2__inner { grid-template-columns: 1fr; gap: var(--space-l); }
  .hero2 { padding: var(--space-xl) 0; }
}

/* ── Sections ──────────────────────────────────────────────────── */
.section { padding: var(--space-xl) 0; }
.section--alt { background: var(--bg-deep); border-top: 1px solid var(--border-1); border-bottom: 1px solid var(--border-1); }
.section__more { font-family: var(--sans); font-size: 0.88rem; font-weight: 600; cursor: pointer; white-space: nowrap; }

/* ── Research feed (home) ──────────────────────────────────────── */
.feed__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-m);
  margin-bottom: var(--space-m);
}
.feed__head h2 { font-size: 1.7rem; margin: 0.4rem 0 0; }
.feed__sub { font-family: var(--serif); color: var(--muted); margin: 0.5rem 0 0; max-width: 56ch; }
.feed__list { display: flex; flex-direction: column; border-top: 1px solid var(--ink); }

.feeditem {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: var(--space-l);
  padding: var(--space-m) 0;
  border-bottom: 1px solid var(--border-1);
  cursor: pointer;
  transition: background var(--dur-1);
}
.feeditem:hover { background: color-mix(in srgb, var(--accent) 4%, transparent); }
.feeditem:hover .feeditem__title { color: var(--accent); }
.feeditem__date { display: flex; flex-direction: column; gap: 0.35rem; padding-top: 0.15rem; }
.feeditem__asset {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  color: var(--muted);
}
.feeditem__body { display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; }
.feeditem__top { display: flex; gap: 0.5rem; align-items: center; }
.feeditem__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.22;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0;
  font-optical-sizing: none;
  transition: color var(--dur-1);
  text-wrap: pretty;
}
.feeditem__deck {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
  max-width: 70ch;
}
.feeditem__foot {
  display: flex;
  gap: 1.4rem;
  align-items: center;
  font-family: var(--mono);
  font-size: var(--fs-2xs);
  color: var(--muted);
  margin-top: 0.2rem;
}
.feeditem__stat b { font-family: var(--mono); font-weight: 700; margin-left: 0.3rem; }
.feeditem__read { margin-left: auto; font-family: var(--sans); font-weight: 600; color: var(--accent); }
@media (max-width: 640px) {
  .feeditem { grid-template-columns: 1fr; gap: 0.6rem; }
  .feeditem__date { flex-direction: row; gap: 0.7rem; align-items: center; }
  .feeditem__foot { flex-wrap: wrap; gap: 0.8rem; }
  .feeditem__read { margin-left: 0; }
}

/* ── Newsletter band ───────────────────────────────────────────── */
.nl__inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: var(--space-2xl);
  align-items: center;
}
.nl__copy h2 { font-size: 1.8rem; margin: 0.4rem 0 0; }
.nl__copy .lede { margin: 0.8rem 0 0; max-width: 48ch; }
.nl__form { display: flex; gap: 0.5rem; margin-top: 1.4rem; flex-wrap: wrap; }
.nl__form input {
  flex: 1;
  min-width: 14rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  padding: 0.66rem 0.85rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius-1);
  background: var(--surface);
  color: var(--ink);
}
.nl__form input:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}
.nl__note { margin-top: 0.8rem; }
.nl__figure { color: var(--accent); opacity: 0.9; }
@media (max-width: 880px) { .nl__inner { grid-template-columns: 1fr; gap: var(--space-l); } .nl__figure { display: none; } }

/* ── Research list / backtests table ───────────────────────────── */
.list__head { padding: var(--space-xl) 0 var(--space-m); }
.list__head .display { max-width: 20ch; font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 3.6vw, 2.9rem); letter-spacing: -0.018em; line-height: 1.12; font-optical-sizing: none; margin: 0.6rem 0 0; }
.list__lede { font-family: var(--serif); color: var(--muted); max-width: 60ch; margin: 0.9rem 0 0; line-height: 1.6; }

.list__toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-m);
  padding: 0.7rem 0;
  border-top: 1px solid var(--border-1);
  border-bottom: 1px solid var(--border-1);
  flex-wrap: wrap;
}
.list__filters { display: flex; gap: 0.4rem; align-items: center; flex-wrap: wrap; }
.list__divider { width: 1px; height: 1.3rem; background: var(--border-1); margin: 0 0.4rem; }
.filter {
  font-family: var(--sans); font-size: 0.76rem; font-weight: 650;
  text-transform: uppercase; letter-spacing: var(--tracking-eyebrow);
  border: 1px solid var(--border-1); background: transparent; color: var(--ink);
  border-radius: var(--radius-1); padding: 0.36rem 0.7rem;
  cursor: pointer; transition: background var(--dur-1), color var(--dur-1), border-color var(--dur-1);
}
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filter--ghost { font-size: 0.72rem; color: var(--muted); }
.filter--ghost.is-active { background: var(--accent); border-color: var(--accent); color: var(--paper); }

.list__search {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-1);
  padding: 0.34rem 0.6rem;
  background: var(--surface);
}
.list__search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent); }
.list__search input { border: 0; background: transparent; padding: 0; width: 16rem; font-family: var(--sans); font-size: 0.86rem; color: var(--ink); }
.list__search input:focus { outline: 0; box-shadow: none; }

.list__table { padding: var(--space-m) 0 var(--space-2xl); }

/* The showpiece table */
.restable { width: 100%; }
.restable thead th {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  color: var(--muted);
  white-space: nowrap;
}
.restable__date { width: 6.5rem; }
.restable__read { width: 2.5rem; text-align: right; }
.restable__row { cursor: pointer; transition: background var(--dur-1); }
.restable__row:hover td { background: color-mix(in srgb, var(--accent) 5%, transparent); }
.restable__row:hover .restable__title { color: var(--accent); }
.restable__row:hover .restable__arrow { transform: translateX(3px); color: var(--accent); }
.restable td { vertical-align: middle; }
.restable__date { color: var(--muted); font-size: 0.8rem; }

.restable__note { display: flex; flex-direction: column; gap: 0.35rem; padding: 0.2rem 0; max-width: 46ch; }
.restable__noteTop { display: flex; gap: 0.5rem; align-items: center; }
.restable__asset {
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  color: var(--muted);
}
.restable__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-optical-sizing: none;
  transition: color var(--dur-1);
  text-wrap: pretty;
}
.restable__arrow { display: inline-block; color: var(--muted); transition: transform var(--dur-1), color var(--dur-1); }

.list__empty { font-family: var(--serif); color: var(--muted); padding: var(--space-l) 0; text-align: center; }
.list__foot { margin-top: var(--space-m); color: var(--muted); max-width: 70ch; }

/* ── Article ───────────────────────────────────────────────────── */
.article__head { padding: var(--space-xl) 0 var(--space-m); max-width: 60rem; }
.article__cats { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; margin-bottom: 1rem; }
.article__asset { font-family: var(--sans); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: var(--tracking-eyebrow); color: var(--muted); }
.article__head .display {
  max-width: 24ch;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-optical-sizing: none;
  margin: 0;
}
.article__head .lede { max-width: 60ch; margin: 1rem 0 0; }
.article__byline {
  display: flex; gap: 0.5rem; align-items: center;
  font-family: var(--sans); font-size: 0.88rem; color: var(--muted);
  margin-top: 1.2rem;
}
.article__byline b { color: var(--ink); font-weight: 600; }
.article__byline .dot { color: var(--border-1); }

.article__layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 15rem;
  gap: var(--space-2xl);
  padding-top: var(--space-l);
  align-items: start;
}
@media (max-width: 920px) {
  .article__layout { grid-template-columns: 1fr; gap: var(--space-l); }
  .toc { display: none; }
}

.prose { max-width: 66ch; font-family: var(--serif); font-size: 1.05rem; line-height: 1.72; color: var(--ink); }
.prose h2 { font-family: var(--sans); font-size: 1.4rem; font-weight: 680; letter-spacing: -0.012em; margin: 2.2rem 0 0.7rem; scroll-margin-top: 5rem; }
.prose p { margin: 0 0 1.1em; }
.prose em { font-style: italic; }
.prose b { font-weight: 600; }

/* Config band — period / universe / engine */
.config-band {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-l);
  padding: var(--space-s) var(--space-m);
  background: var(--bg-3);
  border: 1px solid var(--border-1);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-2);
  margin: 0 0 var(--space-m);
}
.config-band div { display: flex; flex-direction: column; gap: 0.2rem; }
.config-band span {
  font-family: var(--sans); font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: var(--tracking-eyebrow); color: var(--muted);
}
.config-band b { font-family: var(--mono); font-size: 0.92rem; color: var(--ink); font-weight: 600; }

/* Figures */
.figure { margin: var(--space-l) 0; }
.figure__frame { border: 1px solid var(--border-1); border-radius: var(--radius-2); background: var(--surface); padding: 0.5rem 0.75rem 0.75rem; color: var(--accent); }
.figure__head { display: flex; justify-content: space-between; padding: 0.3rem 0 0.5rem; }
.figure__dd { margin-top: 0.3rem; }
.figure .caption { font-family: var(--sans); font-size: 0.78rem; color: var(--muted); margin: 0.5rem 0 0; }

/* Performance Results */
.perf {
  display: grid;
  grid-template-columns: 16rem 1fr;
  gap: var(--space-l);
  margin: var(--space-m) 0 var(--space-l);
  align-items: start;
}
.perf__table { font-family: var(--sans); }
.perf__table th[scope="row"] {
  text-align: left;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--muted);
  border-top: 0;
  border-bottom: 1px solid var(--border-1);
  padding: 0.5rem 0.4rem 0.5rem 0;
}
.perf__table tr:first-child th { border-top: 1px solid var(--ink); }
.perf__table tr:first-child td { border-top: 1px solid var(--ink); }
.perf__val {
  text-align: right;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  border-bottom: 1px solid var(--border-1);
  padding: 0.5rem 0;
}
.perf__val.up { color: var(--up); }
.perf__val.down { color: var(--down); }
.perf__val.muted { color: var(--muted); }
.perf__table tr:last-child th, .perf__table tr:last-child td { border-bottom: 1px solid var(--ink); }
.perf__read p { font-size: 1rem; }
.perf__read p:first-child { margin-top: 0; }
.perf__takeaways {
  list-style: none; padding: 0; margin: 1.2rem 0 0;
  display: flex; flex-direction: column; gap: 0.6rem;
  font-family: var(--serif); font-size: 0.98rem; color: var(--ink-2);
}
.perf__takeaways li { position: relative; padding-left: 1.3rem; line-height: 1.5; }
.perf__takeaways li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-family: var(--mono); }
@media (max-width: 760px) { .perf { grid-template-columns: 1fr; gap: var(--space-m); } }

.verdict {
  border-left: 3px solid var(--umber);
  background: var(--umber-soft);
  border-radius: 0 var(--radius-2) var(--radius-2) 0;
  padding: var(--space-s) var(--space-m);
  margin: var(--space-s) 0 var(--space-m);
}
.verdict p { margin: 0; font-size: 1rem; color: var(--ink-2); }

.disclaimer {
  font-family: var(--sans);
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--muted);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-2);
  background: var(--bg-3);
  padding: var(--space-s) var(--space-m);
  margin: var(--space-l) 0;
}
.disclaimer b { color: var(--ink-2); }

/* Article newsletter */
.article__nl {
  border-top: 1px solid var(--ink);
  padding-top: var(--space-l);
  margin-top: var(--space-l);
}
.article__nl p { font-family: var(--serif); color: var(--muted); margin: 0.4rem 0 0; }
.article__nl .nl__form { margin-top: 1rem; max-width: 32rem; }
.article__nl .caption-mono { margin-top: 0.7rem; }

/* TOC */
.toc {
  position: sticky; top: 5rem;
  display: flex; flex-direction: column; gap: var(--space-s);
  font-family: var(--sans);
}
.toc ol { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.4rem; border-left: 1px solid var(--border-1); padding-left: var(--space-s); }
.toc ol li a { color: var(--muted); text-decoration: none; font-size: 0.84rem; }
.toc ol li a:hover { color: var(--accent); }
.toc__stats {
  display: flex; flex-direction: column; gap: 0.5rem;
  border: 1px solid var(--border-1); border-radius: var(--radius-2);
  background: var(--bg-3); padding: var(--space-s);
}
.toc__stats div { display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem; }
.toc__stats span { font-family: var(--sans); font-size: 0.74rem; color: var(--muted); white-space: nowrap; }
.toc__stats b { font-family: var(--mono); font-size: 0.86rem; font-weight: 700; color: var(--ink); }
.toc__back { font-family: var(--sans); font-size: 0.82rem; font-weight: 600; cursor: pointer; text-decoration: none; color: var(--muted); }
.toc__back:hover { color: var(--accent); }

/* ── Subscribe ─────────────────────────────────────────────────── */
.subscribe__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-2xl);
  padding: var(--space-2xl) 0;
  align-items: start;
}
.subscribe__copy .display { max-width: 16ch; font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 3.6vw, 3rem); letter-spacing: -0.02em; line-height: 1.1; font-optical-sizing: none; margin: 0.7rem 0 0; }
.subscribe__copy .lede { max-width: 46ch; margin: 1rem 0 0; }
.subscribe__list { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; flex-direction: column; gap: 0.6rem; font-family: var(--serif); color: var(--ink-2); }
.subscribe__list li { position: relative; padding-left: 1.4rem; line-height: 1.5; }
.subscribe__list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-family: var(--mono); }
.subscribe__meta { margin-top: 1.6rem; }

.subscribe__card {
  border: 1px solid var(--border-1);
  border-radius: var(--radius-3);
  background: var(--surface);
  box-shadow: var(--shadow-3);
  padding: var(--space-l);
}
.subscribe__cardTitle { font-family: var(--sans); font-size: 1.2rem; font-weight: 680; margin: 0 0 var(--space-m); }
.subscribe__form { display: flex; flex-direction: column; gap: var(--space-s); }
.subscribe__form label { display: flex; flex-direction: column; gap: 0.4rem; }
.subscribe__form label > span {
  font-family: var(--sans); font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: var(--tracking-eyebrow); color: var(--muted);
}
.subscribe__form label > span em { font-weight: 500; text-transform: none; letter-spacing: 0; font-style: normal; color: var(--muted); }
.subscribe__form .btn { margin-top: 0.4rem; justify-content: center; }
.subscribe__form .caption-mono { line-height: 1.5; }
.subscribe__done { padding: var(--space-2xl) 0; display: flex; flex-direction: column; gap: var(--space-s); align-items: flex-start; }
.subscribe__done .display { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 3.4vw, 2.8rem); letter-spacing: -0.02em; font-optical-sizing: none; margin: 0.5rem 0 0; }
.subscribe__done .lede { max-width: 52ch; margin: 0.8rem 0 1rem; }
@media (max-width: 820px) { .subscribe__inner { grid-template-columns: 1fr; gap: var(--space-l); } }

/* ── About ─────────────────────────────────────────────────────── */
.about__head { padding: var(--space-2xl) 0 var(--space-m); }
.about__head .display { font-family: var(--serif); font-weight: 500; font-size: clamp(2.1rem, 3.6vw, 3rem); letter-spacing: -0.02em; line-height: 1.12; font-optical-sizing: none; margin: 0.6rem 0 0; max-width: 20ch; }
.about__head .lede { margin: 1rem 0 0; }
.about__body { padding: 0 0 var(--space-2xl); font-family: var(--serif); font-size: 1.08rem; line-height: 1.74; }
.about__body h2 { font-family: var(--sans); font-size: 1.35rem; font-weight: 680; letter-spacing: -0.012em; margin: 2rem 0 0.6rem; }
.about__body code { font-family: var(--mono); font-size: 0.9em; background: var(--surface-alt); padding: 1px 6px; border-radius: 3px; }

.about__principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-l);
  margin: var(--space-l) 0;
}
.principle { display: flex; flex-direction: column; gap: 0.4rem; padding-right: var(--space-m); border-right: 1px solid var(--border-1); }
.principle:last-child { border-right: 0; }
.principle__num { font-family: var(--mono); font-size: 0.78rem; color: var(--accent); letter-spacing: 0.04em; }
.principle h3 { font-family: var(--sans); font-weight: 680; font-size: 1.1rem; letter-spacing: -0.012em; }
.principle p { font-family: var(--serif); font-size: 0.96rem; color: var(--muted); line-height: 1.55; margin: 0; }
@media (max-width: 760px) {
  .about__principles { grid-template-columns: 1fr; gap: var(--space-m); }
  .principle { border-right: 0; border-top: 1px solid var(--border-1); padding: var(--space-s) 0 0; }
}
.about__cta { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: var(--space-l); padding-top: var(--space-l); border-top: 1px solid var(--border-1); }

/* ── Buttons (kit-flavoured) ───────────────────────────────────── */
.btn--primary { background: var(--ink); color: var(--paper); border: 1px solid var(--ink); }
.btn--primary:hover { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.btn--outline { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--border-1); }
.btn--ghost:hover { background: var(--bg-3); border-color: var(--ink); }
.btn--sm { padding: 0.4rem 0.7rem; font-size: var(--fs-xs); }

/* Tag modifiers */
.tag--accent { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 40%, var(--border-1)); }
.tag--umber  { color: var(--umber);  border-color: color-mix(in srgb, var(--umber)  40%, var(--border-1)); }
