/* Dark Pools Trading — editorial fintech.
   Near-true-black surfaces, hairline borders, no gradients on UI.
   Single accent (Aperture Cyan). Tabular mono numerals on every number. */

/* ── Tokens ─────────────────────────────────────────────────────────── */
:root {
  --bg:        #08080B;
  --surface-2: #0E0E12;
  --surface-3: #14141A;
  --line:      #1C1C24;
  --line-2:    #2A2A36;

  --text:    #ECECEF;
  --text-2:  #8B8B95;
  --text-3:  #5A5A63;

  --accent:     #6FE3D9;
  --accent-ink: #052523;

  --bull: #5BD8A6;
  --bear: #F26D6D;

  --sans:  'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --serif: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
  --mono:  'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --r-card: 14px;
  --r-input: 8px;
  --r-btn: 8px;

  --gutter: 32px;
  --section-y: 112px;
  --card-pad: 28px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --t-fast: 120ms;
  --t-base: 200ms;

  color-scheme: dark;
}

/* ── Base ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01';
  min-height: 100vh;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
a:hover { color: var(--accent); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
::selection { background: rgba(111,227,217,0.25); color: var(--text); }

h1, h2, h3, h4, h5 { margin: 0; }

/* Subtle one-time fade-in on the body. No transforms — calm system. */
body { animation: dpt-fade 240ms var(--ease) both; }
@keyframes dpt-fade { from { opacity: 0; } to { opacity: 1; } }

/* ── Type utilities ─────────────────────────────────────────────────── */
.serif {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.05;
  text-wrap: balance;
}
.serif-i { font-style: italic; font-family: var(--serif); }
.sans { font-family: var(--sans); }

.mono {
  font-family: var(--mono);
  font-feature-settings: 'tnum' 1, 'zero' 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.caps {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  font-weight: 500;
}

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 38px;
  padding: 0 16px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.005em;
  border-radius: var(--r-btn);
  cursor: pointer;
  transition: background var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease);
  white-space: nowrap;
  user-select: none;
  border: 1px solid transparent;
  text-decoration: none;
}
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; }
.btn-lg { height: 44px; padding: 0 20px; font-size: 14px; }

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}
.btn-primary:hover { background: #82eae0; color: var(--accent-ink); }

.btn-outline {
  border-color: var(--line);
  color: var(--text);
  background: transparent;
}
.btn-outline:hover { border-color: var(--line-2); background: var(--surface-3); color: var(--text); }

.btn-ghost { color: var(--text-2); padding: 0 8px; height: 32px; }
.btn-ghost:hover { color: var(--text); }

/* ── Card ───────────────────────────────────────────────────────────── */
.card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: var(--card-pad);
  position: relative;
  transition: border-color var(--t-fast) var(--ease);
}
.card-hover { cursor: pointer; }
.card-hover:hover { border-color: var(--line-2); }

/* ── Tag chip ───────────────────────────────────────────────────────── */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 22px;
  padding: 0 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 4px;
  border: 1px solid var(--line);
  color: var(--text-2);
  background: transparent;
  transition: color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease);
  user-select: none;
}
.chip-clickable { cursor: pointer; }
.chip-clickable:hover { color: var(--text); border-color: var(--line-2); }
.chip.active { color: var(--accent); border-color: var(--accent); background: rgba(111,227,217,0.08); }

/* ── Input ──────────────────────────────────────────────────────────── */
.input {
  width: 100%;
  height: 38px;
  padding: 0 14px;
  font-size: 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  color: var(--text);
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.input::placeholder { color: var(--text-3); }
.input:focus { outline: none; border-color: var(--accent); }
.input-mono { font-family: var(--mono); font-size: 13px; letter-spacing: -0.01em; }
textarea.input { height: auto; padding: 12px 14px; line-height: 1.55; resize: vertical; min-height: 72px; }

/* ── Tables ────────────────────────────────────────────────────────── */
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  font-feature-settings: 'tnum' 1;
}
.table th, .table td {
  padding: 12px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.table th {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  font-weight: 500;
  border-bottom-color: var(--line-2);
  padding: 10px 12px;
}
.table td.num, .table th.num { text-align: right; font-family: var(--mono); }
.table td.label { font-weight: 500; color: var(--text); }
.table td.muted { color: var(--text-2); }
.table tr:last-child td { border-bottom: none; }
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* P&L coloring — toggleable via [data-callouts]; defaults on. */
.pl-up   { color: var(--bull); }
.pl-down { color: var(--bear); }
[data-callouts="off"] .pl-up,
[data-callouts="off"] .pl-down { color: var(--text-2); }

/* ── Hairline rule ──────────────────────────────────────────────────── */
.rule, .hl { height: 1px; background: var(--line); border: 0; margin: 0; }
.hl-2 { height: 1px; background: var(--line-2); border: 0; margin: 0; }

/* ── Layout containers ─────────────────────────────────────────────── */
.section { padding: var(--section-y) 0; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { width: 100%; max-width: 840px; margin: 0 auto; padding: 0 var(--gutter); }
.container-prose { width: 100%; max-width: 720px; margin: 0 auto; padding: 0 var(--gutter); }

/* ── Atmospheric glow (hero only, off-screen-anchored) ─────────────── */
.hero-glow {
  pointer-events: none;
  position: absolute;
  inset: -200px -200px auto -200px;
  height: 900px;
  background: radial-gradient(ellipse 1100px 600px at 50% 0%, rgba(111,227,217,0.10) 0%, rgba(111,227,217,0) 60%);
  opacity: 0.32;
  z-index: 0;
}

/* ── Nav ────────────────────────────────────────────────────────────── */
.nav {
  height: 56px;
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center;
  padding: 0 var(--gutter);
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast) var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; width: 100%; max-width: 1200px; margin: 0 auto; gap: 24px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: var(--sans); font-weight: 500; font-size: 14px; letter-spacing: -0.005em; color: var(--text); }
.nav-logo:hover { color: var(--text); }
.nav-links { display: flex; align-items: center; gap: 28px; margin: 0 auto; }
.nav-links a { font-size: 13px; color: var(--text-2); font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--accent); }
.nav-cta { flex-shrink: 0; }

.nav-toggle { display: none; }
.mobile-only { display: none; }
.desktop-only { display: initial; }

@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; margin-left: auto;
    border: 1px solid var(--line); border-radius: 6px; color: var(--text);
    background: transparent;
  }
  .nav-toggle:hover { border-color: var(--line-2); }
  .nav-toggle:focus-visible { border-color: var(--accent); }
  .desktop-only { display: none; }
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed; inset: 56px 0 0 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 32px var(--gutter);
  display: none;
  flex-direction: column;
  gap: 8px;
  z-index: 49;
}
.mobile-drawer.open { display: flex; animation: drawer-in 200ms var(--ease); }
@keyframes drawer-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mobile-drawer a {
  font-size: 18px; padding: 14px 0;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  letter-spacing: -0.01em;
}
.mobile-drawer a:hover { color: var(--accent); }
.mobile-drawer .btn { margin-top: 16px; align-self: flex-start; }
.mobile-drawer .caps { color: var(--text-3); padding-top: 24px; }

/* ── Footer ─────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--line);
  background: #0A0A0E;
  padding: 56px 0 24px;
  color: var(--text-2);
  font-size: 13px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 40px;
}
.footer h5 {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-3); font-weight: 500; margin-bottom: 16px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { color: var(--text); font-size: 13px; }
.footer ul a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px;
  color: var(--text-3);
  font-family: var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-bottom a { color: var(--text-3); }
.footer-tagline { font-family: var(--sans); margin-top: 12px; font-size: 13px; color: var(--text-2); max-width: 280px; line-height: 1.55; }
.footer-form { display: flex; gap: 6px; }
.footer-form .input { height: 36px; font-size: 12px; }

@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid > div:last-child  { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ── Disclaimer block ───────────────────────────────────────────────── */
.disclaimer {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 56px;
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.6;
  font-family: var(--mono);
}

/* ── Octagon mark ───────────────────────────────────────────────────── */
.octagon-mark { display: block; }

/* ── Section number label (insight post) ───────────────────────────── */
.sec-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  flex: 0 0 auto;
  padding-top: 4px;
}

/* ── Pull quote ─────────────────────────────────────────────────────── */
.pullquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--text);
  text-wrap: balance;
  margin: 0;
}

/* ── Product-shot frame ─────────────────────────────────────────────── */
.product-shot {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-2);
}
.product-shot-glow::before {
  content: '';
  position: absolute;
  inset: -200px;
  background: radial-gradient(circle at 50% 0%, rgba(111,227,217,0.12), transparent 60%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}
.product-shot-chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.product-shot-chrome .dot {
  width: 10px; height: 10px; border-radius: 50%; background: #2A2A36;
}
.product-shot-chrome .url {
  flex: 1; margin-left: 14px;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.02em;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.product-shot-body {
  padding: 28px 32px 24px;
  position: relative;
  z-index: 1;
}

/* ── Ticker strip ──────────────────────────────────────────────────── */
.ticker-strip-wrap {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.ticker-strip {
  display: flex; gap: 36px; align-items: center;
  padding: 10px var(--gutter);
  white-space: nowrap;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.ticker-item {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--text-2);
  display: inline-flex; align-items: center; gap: 6px;
}
.ticker-item .sym { color: var(--text-3); }
.ticker-item .px  { color: var(--text); }

/* ── Hero ──────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  padding: 120px 0 56px;
}
.hero-eyebrow { margin-bottom: 24px; }
.hero h1 {
  font-size: 76px;
  line-height: 1.04;
  margin-bottom: 28px;
  max-width: 940px;
  color: var(--text);
}
.hero-sub {
  font-size: 18px;
  color: var(--text-2);
  max-width: 60ch;
  line-height: 1.6;
  margin-bottom: 36px;
}
.hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-inner { position: relative; z-index: 1; }

@media (max-width: 880px) {
  .hero { padding: 64px 0 48px; }
  .hero h1 { font-size: 44px; }
  .hero-sub { font-size: 16px; }
}

/* ── Three pillars ─────────────────────────────────────────────────── */
.pillars {
  padding: 64px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pillars-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px;
}
.pillar-key {
  font-family: var(--mono);
  font-size: 13px; letter-spacing: 0.06em;
  color: var(--text); margin-bottom: 14px;
}
.pillar-num { color: var(--text-3); margin-bottom: 12px; }
.pillar p { font-size: 14px; color: var(--text-2); line-height: 1.6; max-width: 34ch; }

@media (max-width: 880px) {
  .pillars { padding: 40px 0; }
  .pillars-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ── Insights grid ─────────────────────────────────────────────────── */
.insights-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 1000px) {
  .insights-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .insights-grid { grid-template-columns: 1fr; }
}
.insight-card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 22px;
  text-decoration: none;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  transition: border-color var(--t-fast) var(--ease);
}
.insight-card:hover { border-color: var(--line-2); color: inherit; }
.insight-card-head { display: flex; justify-content: space-between; align-items: center; }
.insight-card-title {
  font-size: 22px; line-height: 1.2; color: var(--text);
  font-family: var(--serif); font-weight: 400;
  letter-spacing: -0.015em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 54px;
}
.insight-card-excerpt {
  font-size: 14px; color: var(--text-2); line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 44px;
}
.insight-card-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: auto; padding-top: 14px;
  border-top: 1px solid var(--line);
}
.insight-card-foot .arrow { color: var(--text-3); font-size: 13px; }

/* ── Pull-quote band ───────────────────────────────────────────────── */
.quote-band {
  padding: 96px 0;
  border-top: 1px solid var(--line);
}
.quote-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
@media (max-width: 880px) {
  .quote-band { padding: 56px 0; }
  .quote-grid { grid-template-columns: 1fr; gap: 32px; }
  .pullquote { font-size: 24px; }
}

/* ── Two-column community cards ────────────────────────────────────── */
.two-col-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
@media (max-width: 880px) { .two-col-cards { grid-template-columns: 1fr; } }
.tier-card { padding: 32px; display: flex; flex-direction: column; }
.tier-card.is-premium { border-color: var(--accent); }
.tier-card h2 { font-size: 30px; color: var(--text); margin-bottom: 8px; }
.tier-card .tier-blurb { color: var(--text-2); margin-bottom: 28px; font-size: 15px; line-height: 1.55; }
.tier-card .tier-list { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 12px; }
.tier-card .tier-list li {
  display: flex; gap: 10px; font-size: 14px; color: var(--text); align-items: flex-start;
}
.tier-card .tier-list li .num { color: var(--text-3); flex: 0 0 auto; font-family: var(--mono); }
.tier-card.is-premium .tier-list li .num { color: var(--accent); }
.tier-meta {
  padding-top: 20px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-bottom: 24px;
}
.tier-meta .price { font-family: var(--mono); font-size: 22px; color: var(--text); margin-top: 4px; }
.tier-meta .price small { font-size: 13px; color: var(--text-2); font-family: var(--mono); }
.tier-meta .cadence { font-size: 14px; color: var(--text); margin-top: 4px; }

/* ── Pre-market checklist ──────────────────────────────────────────── */
.checklist {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-top: 1px solid var(--line);
}
.checklist li {
  display: flex; gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px; color: var(--text); line-height: 1.5;
}
.checklist li:nth-child(odd) { padding-right: 32px; border-right: 1px solid var(--line); }
.checklist li:nth-child(even) { padding-left: 32px; }
.checklist .num { color: var(--text-3); font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; flex: 0 0 32px; }

@media (max-width: 880px) {
  .checklist { grid-template-columns: 1fr; }
  .checklist li, .checklist li:nth-child(odd), .checklist li:nth-child(even) {
    padding: 20px 0; border-right: 0;
  }
}

/* ── End card (CTA panel) ──────────────────────────────────────────── */
.end-card {
  padding: 56px;
  display: flex; gap: 28px;
  align-items: center; justify-content: space-between;
}
.end-card h3 { font-size: 28px; color: var(--text); margin-bottom: 10px; }
.end-card .end-text { color: var(--text-2); font-size: 15px; line-height: 1.55; max-width: 540px; }
.end-card .end-ctas { display: flex; gap: 8px; flex-shrink: 0; }
@media (max-width: 880px) {
  .end-card { padding: 28px; flex-direction: column; align-items: flex-start; }
}

/* ── Insight post ──────────────────────────────────────────────────── */
.post-section { margin-bottom: 56px; }
.post-section-head {
  display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px;
}
.post-section-head h2 { font-size: 26px; color: var(--text); font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; line-height: 1.05; }
.post-section-body {
  display: flex; flex-direction: column; gap: 16px;
  color: var(--text-2); font-size: 17px; line-height: 1.65;
}
.post-section-body p .mono { color: var(--text); }

/* Inline subscribe + share blocks */
.inline-block {
  margin: 56px 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface-2);
}
.inline-block .lede { font-size: 22px; color: var(--text); margin-bottom: 6px; font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; }
.inline-block .sub { color: var(--text-2); font-size: 14px; margin-bottom: 16px; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; }
.inline-form .input { flex: 1; min-width: 220px; }

.share-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
@media (max-width: 700px) { .share-grid { grid-template-columns: 1fr; } }

.prevnext {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 56px;
}
.prevnext a { padding: 20px 0; border-top: 1px solid var(--line); display: block; }
.prevnext a:hover { color: var(--text); }
.prevnext a:hover .pn-title { color: var(--accent); }
.prevnext .next { text-align: right; }
.pn-title { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; font-size: 18px; color: var(--text); transition: color var(--t-fast) var(--ease); }
@media (max-width: 700px) {
  .prevnext { grid-template-columns: 1fr; }
  .prevnext .next { text-align: left; }
}

/* ── Quote with accent bar (long-form) ─────────────────────────────── */
.quote-rule {
  margin: 12px 0;
  padding-left: 24px;
  border-left: 2px solid var(--accent);
}

/* ── Subscribe page ────────────────────────────────────────────────── */
.sub-shell {
  min-height: 100vh;
  display: flex; flex-direction: column;
}
.sub-nav {
  height: 56px;
  display: flex; align-items: center;
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--line);
}
.sub-main {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 80px var(--gutter);
  position: relative;
  overflow: hidden;
}
.sub-card { width: 100%; max-width: 560px; position: relative; z-index: 1; }
.sub-card h1 { font-size: 56px; line-height: 1.05; margin-bottom: 20px; color: var(--text); }
.sub-card .sub-form { display: flex; gap: 8px; margin-bottom: 40px; }
.sub-card .sub-form .input { flex: 1; height: 44px; font-size: 14px; }
.sub-card .sub-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  padding-top: 32px; border-top: 1px solid var(--line);
}
.sub-card .sub-grid .caps { margin-bottom: 8px; }
.sub-card .sub-grid p { font-size: 13px; color: var(--text-2); line-height: 1.55; }
.sub-foot {
  border-top: 1px solid var(--line);
  padding: 20px var(--gutter);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; font-family: var(--mono); color: var(--text-3); letter-spacing: 0.04em;
}

@media (max-width: 880px) {
  .sub-card h1 { font-size: 40px; }
  .sub-card .sub-form { flex-direction: column; }
  .sub-card .sub-grid { grid-template-columns: 1fr; }
  .sub-main { padding: 60px var(--gutter); }
}

/* ── Page hero (about/insights/etc.) ───────────────────────────────── */
.pagehead {
  padding: 96px 0 32px;
  position: relative;
  overflow: hidden;
}
.pagehead h1 {
  font-size: 64px; line-height: 1.05; margin-bottom: 20px;
  max-width: 800px;
  color: var(--text);
}
.pagehead p { font-size: 17px; color: var(--text-2); max-width: 60ch; line-height: 1.6; }
@media (max-width: 880px) {
  .pagehead { padding: 40px 0 24px; }
  .pagehead h1 { font-size: 40px; }
}

/* About long-form */
.long-form {
  display: flex; flex-direction: column; gap: 22px;
  font-size: 17px; line-height: 1.7; color: var(--text-2);
}
.long-form p { margin: 0; }

/* ── Filter bar ────────────────────────────────────────────────────── */
.filter-bar {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.filter-bar .caps { margin-right: 6px; }

/* ── Misc utilities ────────────────────────────────────────────────── */
.flex-row { display: flex; }
.gap-8 { gap: 8px; }
.gap-10 { gap: 10px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.eyebrow { margin-bottom: 16px; display: block; }
.pad-x { padding-left: var(--gutter); padding-right: var(--gutter); }

.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 32px; flex-wrap: wrap; gap: 12px;
}
.section-head h2 { font-size: 40px; color: var(--text); }
.section-head .more {
  font-family: var(--mono); font-size: 12px;
  color: var(--text-2); letter-spacing: 0.04em;
}
@media (max-width: 880px) {
  .section-head h2 { font-size: 32px; }
}

/* SVG chart wrapper */
.chart-wrap { width: 100%; }
.chart-wrap svg { display: block; max-width: 100%; height: auto; }

/* Prose blockquote (about) */
.prose-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  color: var(--text);
  margin: 12px 0;
  padding-left: 24px;
  border-left: 2px solid var(--accent);
}

/* ── Page hero CTA-row (about) ─────────────────────────────────────── */
.about-pillars {
  margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line);
}
.about-pillars-row {
  display: flex; gap: 24px; justify-content: space-between;
}
@media (max-width: 700px) {
  .about-pillars-row { flex-direction: column; }
}

/* Subscribe header (insights) */
.subscribe-header {
  display: flex; gap: 8px; max-width: 480px; margin-bottom: 24px; flex-wrap: wrap;
}
.subscribe-header .input { flex: 1; min-width: 220px; }

/* Skip link */
.skip-link {
  position: absolute; left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }
