/* ============================================================
   COMPOUND COMMERCE — Shared Stylesheet
   vlozano.com | Performance Terminal · 2026
   ============================================================ */

/* DESIGN TOKENS */
:root {
  --ink: #0a0a0a;
  --ink-soft: #1a1a1a;
  --paper: #fafaf7;
  --paper-warm: #f4f1ea;
  --paper-deep: #efeae0;
  --rule: #d8d4ca;
  --rule-strong: #b8b3a8;
  --muted: #6b6660;
  --muted-soft: #8a857d;
  --accent: #c2410c;
  --accent-light: #fb923c;
  --data-ink: #1a2e1e;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'IBM Plex Sans', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* BASE */
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.serif { font-family: var(--serif); }
.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}
.muted { color: var(--muted); }
.accent-c { color: var(--accent); }
.dot { color: var(--rule-strong); padding: 0 4px; }

/* CONTAINERS */
.container        { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.container-narrow { max-width: 720px;  margin: 0 auto; padding: 0 32px; }
.container-medium { max-width: 880px;  margin: 0 auto; padding: 0 32px; }

/* TYPOGRAPHY */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
}

/* Live tick */
.tick {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 10px;
  position: relative;
}
.tick::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0.4;
  animation: vlPulse 2s ease-out infinite;
}
@keyframes vlPulse {
  0% { transform: scale(0.8); opacity: 0.5; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* ============================================================
   PERFORMANCE TERMINAL STRIP
   ============================================================ */
.terminal-strip {
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.terminal-strip .container { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 24px; padding: 10px 40px; align-items: center; }
.terminal-strip .strip-cell { display: flex; align-items: center; gap: 14px; }
.terminal-strip .strip-ticker { justify-content: center; }
.terminal-strip .strip-right { justify-content: flex-end; }
.terminal-strip .muted { color: rgba(250,250,247,0.45); }
@media (max-width: 768px) {
  .terminal-strip .container { grid-template-columns: 1fr; padding: 8px 20px; gap: 6px; white-space: nowrap; overflow: hidden; }
  .terminal-strip .strip-cell { gap: 6px; font-size: 10px; }
  .terminal-strip .strip-cell.strip-right { display: none; }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 247, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rule);
  padding: 16px 0;
}
nav .container { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
nav .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.logo-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
}
nav ul { display: flex; gap: 32px; list-style: none; align-items: center; }
nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
nav a:hover { color: var(--accent); }
nav a[aria-current="page"] { color: var(--accent); }
.nav-cta {
  font-size: 13px;
  font-weight: 500;
  color: var(--paper) !important;
  background: var(--ink);
  padding: 10px 18px;
  border: 1px solid var(--ink);
  transition: all 0.2s;
}
.nav-cta:hover { background: var(--accent); border-color: var(--accent); color: var(--paper) !important; }

/* HAMBURGER TOGGLE */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: all 0.25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   HERO (homepage)
   ============================================================ */
.hero { padding: 64px 0 96px; }
.hero-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}
.hero-meta { position: sticky; top: 120px; }
.rule-top { width: 100%; height: 1px; background: var(--ink); margin-bottom: 16px; }
.hero-meta-stack { display: flex; flex-direction: column; gap: 18px; margin-top: 32px; }
.meta-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--rule);
}
.meta-row:last-child { border-bottom: none; }
.meta-row .mono:first-child { font-size: 10px; }
.meta-row .mono:last-child { font-size: 12px; color: var(--ink); }

h1 {
  font-family: var(--serif);
  font-size: clamp(56px, 8vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  font-weight: 400;
  font-variation-settings: "opsz" 144;
  margin-bottom: 36px;
  color: var(--ink);
  max-width: 14ch;
}
h1 em { font-style: italic; font-weight: 500; color: var(--accent); }

.lede {
  font-family: var(--serif);
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.4;
  color: var(--ink-soft);
  max-width: 38ch;
  margin-bottom: 40px;
  font-weight: 400;
}

.hero-cta-row {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  flex-wrap: wrap;
  align-items: center;
}

/* ============================================================
   TEXT LINKS
   ============================================================ */
.text-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  transition: gap 0.2s, color 0.2s, border-color 0.2s;
}
.text-link:hover { gap: 14px; color: var(--accent); border-color: var(--accent); }
.text-link.muted-link { color: var(--muted); border-color: var(--rule); }
.text-link.muted-link:hover { color: var(--ink); border-color: var(--ink); }
.text-link.accent-link {
  color: var(--accent);
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  border-color: rgba(194,65,12,0.4);
}
.text-link.accent-link:hover { border-color: var(--accent); }
.arrow { font-family: var(--mono); font-style: normal; }

/* ============================================================
   NEWSLETTER CARD (hero variant + standalone)
   ============================================================ */
.news-card {
  border: 1px solid var(--ink);
  background: var(--paper);
  max-width: 640px;
}
.news-card-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  border-bottom: 1px solid var(--ink);
  background: var(--paper-warm);
}
.news-tag {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--accent);
  font-style: italic;
}
.news-card-body { padding: 28px 24px 24px; }
.news-card-pitch {
  font-family: var(--serif);
  font-size: clamp(19px, 1.8vw, 22px);
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 20px;
  max-width: 28ch;
}
.news-card-meta {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* Beehiiv iframe wrapper — keep sharp edges */
.beehiiv-embed {
  width: 100% !important;
  border-radius: 0 !important;
  background: transparent;
  box-shadow: none;
}

/* ============================================================
   SECTIONS
   ============================================================ */
section { padding: 96px 0; border-top: 1px solid var(--ink); }
.section-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
  font-weight: 500;
}
h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  font-weight: 400;
  font-variation-settings: "opsz" 96;
  margin-bottom: 48px;
  max-width: 18ch;
}
h2 em { font-style: italic; font-weight: 500; color: var(--accent); }

.h2-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.h2-row h2 { margin-bottom: 0; }
.h2-row .text-link { margin-bottom: 12px; }

/* ============================================================
   PILLARS
   ============================================================ */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.pillar { display: flex; flex-direction: column; }
.pillar-num {
  font-family: var(--serif);
  font-size: 84px;
  line-height: 0.9;
  font-weight: 400;
  color: var(--rule-strong);
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  font-variation-settings: "opsz" 144;
}
.pillar-rule { height: 1px; background: var(--ink); margin-bottom: 16px; }
.pillar-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pillar-meta .alloc { color: var(--accent); }
.pillar h3 {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 500;
  margin-bottom: 14px;
  color: var(--ink);
}
.pillar p {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.pillar-keys { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.key {
  display: inline-block;
  padding: 4px 8px;
  background: var(--paper-warm);
  border: 1px solid var(--rule);
  color: var(--data-ink);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}
.pillar > a { margin-top: auto; align-self: flex-start; }

/* ============================================================
   ESSAYS LIST (homepage + archive)
   ============================================================ */
.essays-list { display: flex; flex-direction: column; }
.essay-link {
  display: grid;
  grid-template-columns: 60px 110px 1fr 140px 24px;
  gap: 32px;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
  align-items: baseline;
  position: relative;
  transition: background 0.2s, padding 0.2s;
}
.essay-link:last-child { border-bottom: 1px solid var(--rule); }
.essay-link::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: var(--accent);
  transition: width 0.2s;
}
.essay-link:hover { background: var(--paper-warm); padding-left: 16px; padding-right: 16px; margin: 0 -16px; }
.essay-link:hover::before { width: 3px; }
.essay-link:hover .essay-title { color: var(--accent); }
.essay-link:hover .essay-arrow { color: var(--accent); transform: translateX(4px); }

.essay-num, .essay-date {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.essay-body { padding-right: 16px; }
.essay-title {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
  transition: color 0.2s;
}
.essay-dek { font-size: 14px; line-height: 1.5; color: var(--muted); }
.essay-tag-col { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.essay-read {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.essay-arrow {
  font-family: var(--mono);
  color: var(--rule-strong);
  font-size: 16px;
  transition: color 0.2s, transform 0.2s;
}

.pillar-tag {
  display: inline-block;
  padding: 3px 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--paper);
  font-weight: 500;
}

/* ============================================================
   ABOUT STRIP (homepage)
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
  padding-top: 16px;
  border-top: 1px solid var(--ink);
}
.about-quote { padding-top: 40px; }
.quote-mark {
  font-family: var(--serif);
  font-size: 120px;
  line-height: 0.5;
  color: var(--accent);
  margin-bottom: 8px;
}
.about-pull {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 32px;
}
.about-pull em { font-weight: 500; color: var(--accent); }
.about-attrib {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.about-body { padding-top: 40px; }
.about-body p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 20px;
  max-width: 56ch;
}

.about-stats {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat .mono { font-size: 10px; }
.stat-num {
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1;
  font-weight: 400;
  color: var(--data-ink);
  letter-spacing: -0.02em;
}
.stat-num.text { font-size: 22px; }

/* ============================================================
   DARK NEWSLETTER SECTION
   ============================================================ */
.newsletter-section {
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid var(--ink);
  padding: 0;
}
.news-band { border-bottom: 1px solid rgba(250,250,247,0.12); padding: 12px 0; }
.news-band .container {
  display: flex;
  gap: 32px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250,250,247,0.55);
  flex-wrap: wrap;
}
.news-body { padding: 96px 0; }
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.news-grid .section-label { color: rgba(250,250,247,0.55); }
.newsletter-section h2 { color: var(--paper); }
.newsletter-section h2 em { color: var(--accent-light); }
.news-pitch {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.4;
  color: rgba(250,250,247,0.8);
  margin-bottom: 40px;
  max-width: 36ch;
}
.news-features {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(250,250,247,0.15);
}
.news-feature {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(250,250,247,0.85);
  padding: 16px 0;
  border-bottom: 1px solid rgba(250,250,247,0.1);
}
.news-feature:last-child { border-bottom: none; }
.news-feature .mono { color: rgba(250,250,247,0.5); }

.dark-card {
  background: rgba(250,250,247,0.04);
  border: 1px solid rgba(250,250,247,0.18);
  padding: 32px;
}
.dark-card-top {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250,250,247,0.55);
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(250,250,247,0.15);
  margin-bottom: 28px;
}
.dark-card h3 {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin-bottom: 28px;
  font-weight: 400;
}
.dark-card h3 em { font-style: italic; color: var(--accent-light); font-weight: 500; }
.dark-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250,250,247,0.55);
}
.dark-card-rule { height: 1px; background: rgba(250,250,247,0.12); margin: 24px 0; }
.dark-card-quote {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.4;
  color: rgba(250,250,247,0.85);
  font-style: italic;
}
.dark-card-attrib {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250,250,247,0.5);
  font-style: normal;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--ink);
  color: var(--paper);
  padding: 64px 0 48px;
  border-top: 1px solid rgba(250,250,247,0.12);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.footer-brand .logo-mark { background: var(--paper); color: var(--ink); margin-bottom: 16px; }
.footer-name {
  font-family: var(--serif);
  font-size: 18px;
  margin-bottom: 4px;
  color: var(--paper);
}
.footer-meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250,250,247,0.5);
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250,250,247,0.5);
  margin-bottom: 8px;
  font-weight: 500;
}
.footer-col a {
  color: rgba(250,250,247,0.85);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent-light); }
.footer-pitch {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.4;
  color: rgba(250,250,247,0.85);
}
.footer-pitch em { font-style: italic; color: var(--accent-light); }

/* ============================================================
   PAGE HEADER (interior pages)
   ============================================================ */
.page-header { padding: 96px 0 56px; }
.page-header h1 {
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  max-width: 18ch;
}
.page-header h1 em { font-style: italic; font-weight: 500; color: var(--accent); }
.page-header .lede {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 21px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 60ch;
  margin-bottom: 0;
}

/* PULL QUOTE */
.pull-quote {
  font-family: var(--serif);
  font-size: 26px;
  font-style: italic;
  line-height: 1.4;
  color: var(--ink);
  border-left: 3px solid var(--accent);
  padding: 8px 0 8px 28px;
  margin: 48px 0;
  max-width: 52ch;
}

/* BREADCRUMBS */
.breadcrumbs {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs .sep { color: var(--rule); }

/* TL;DR BOX */
.tldr {
  background: var(--paper-warm);
  border-left: 3px solid var(--accent);
  padding: 24px 28px;
  margin: 0 0 48px;
}
.tldr .tldr-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 10px;
}
.tldr p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

/* FAQ */
.faq { padding: 64px 0; border-top: 1px solid var(--rule); }
.faq h2 { font-size: 28px; margin-bottom: 40px; max-width: none; }
.faq-item { padding: 28px 0; border-bottom: 1px solid var(--rule); }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.faq-item p { font-size: 16px; line-height: 1.65; color: var(--ink-soft); }

/* CTA BUTTONS (shared) */
.cta-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.cta-buttons a {
  padding: 14px 28px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.2s;
}
.cta-buttons a.primary { background: var(--ink); color: var(--paper); border: 1px solid var(--ink); }
.cta-buttons a.primary:hover { background: var(--accent); border-color: var(--accent); }
.cta-buttons a.secondary { border: 1px solid var(--rule); color: var(--ink-soft); }
.cta-buttons a.secondary:hover { border-color: var(--ink); color: var(--ink); }

/* DARK CTA SECTION */
.cta-dark { background: var(--ink); color: var(--paper); padding: 96px 0; }
.cta-dark h2 { color: var(--paper); max-width: 20ch; }
.cta-dark h2 em { color: var(--accent-light); }
.cta-dark .cta-buttons a.primary { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.cta-dark .cta-buttons a.primary:hover { background: var(--accent-light); border-color: var(--accent-light); }
.cta-dark .cta-buttons a.secondary { border-color: rgba(250,250,247,0.3); color: var(--paper); }
.cta-dark .cta-buttons a.secondary:hover { border-color: var(--paper); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-meta { position: static; }
  .news-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  nav .container { flex-wrap: wrap; }
  nav ul {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding: 8px 0 16px;
    border-top: 1px solid var(--rule);
    margin-top: 12px;
  }
  nav ul.open { display: flex; }
  nav ul li { width: 100%; }
  nav ul li a { display: block; padding: 10px 0; font-size: 16px; }
  .nav-cta { width: auto; align-self: flex-start; }
  section { padding: 56px 0; }
  .hero { padding: 48px 0 56px; }
  .pillars { grid-template-columns: 1fr; gap: 0; }
  .pillar { padding: 32px 0; border-top: 1px solid var(--rule); }
  .pillar-num { font-size: 64px; }
  .essay-link { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
  .essay-link .essay-num, .essay-link .essay-date { font-size: 10px; }
  .essay-tag-col { flex-direction: row; align-items: center; gap: 12px; }
  .essay-arrow { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-stats { grid-template-columns: 1fr; gap: 16px; }
  .news-body { padding: 56px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  h1 { font-size: 48px; max-width: none; }
  h2 { font-size: 36px; }
}

/* ============================================================
   LEGACY (kept for interior pages still using these classes)
   ============================================================ */
.newsletter-form { display: flex; gap: 0; border: 1px solid var(--ink); }
.newsletter-form input {
  flex: 1;
  padding: 13px 16px;
  border: none;
  background: var(--paper);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: none;
}
.newsletter-form input::placeholder { color: var(--muted-soft); }
.newsletter-form button {
  padding: 13px 22px;
  background: var(--ink);
  color: var(--paper);
  border: none;
  border-left: 1px solid var(--ink);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.newsletter-form button:hover { background: var(--accent); }
.newsletter-card {
  max-width: 540px;
  background: var(--paper-warm);
  border: 1px solid var(--rule);
  padding: 32px;
  position: relative;
}
.newsletter-card::before {
  content: "Compound Commerce";
  position: absolute;
  top: -10px;
  left: 24px;
  background: var(--paper);
  padding: 0 12px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--accent);
}
.newsletter-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 8px;
}
.newsletter-card p { font-size: 15px; color: var(--muted); margin-bottom: 20px; }
.newsletter-meta {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.newsletter-meta span::before { content: "—"; margin-right: 6px; color: var(--rule); }

footer .footer-links { display: flex; gap: 20px; flex-wrap: wrap; }

.text-link.legacy {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink);
}
