/* ============================================================
   Compounding Energy — Design System
   Stripe/Linear-modern. Light. Four-color disciplined palette.
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&family=JetBrains+Mono:wght@400;500&display=swap");

:root {
  /* Brand palette — locked. Use these and only these. */
  --brand:        #0B2545;   /* navy */
  --brand-700:    #0B2545;
  --brand-500:    #1E3A6A;
  --brand-100:    #C3CCD9;
  --brand-50:     #E6EAF0;
  --brand-25:     #F4F6FA;

  --accent:       #13C2C2;   /* electric teal */
  --accent-600:   #0F9A9A;
  --accent-400:   #3FDADA;
  --accent-50:    #E1F8F8;

  --gold:         #FFD166;   /* warm accent */
  --gold-50:      #FFF7E1;

  --paper:        #FAFAF7;   /* off-white surface */
  --white:        #FFFFFF;

  --ink:          #0B2545;
  --ink-soft:     #4A5A78;
  --ink-mute:     #8593AA;

  /* Type */
  --ff-sans:    "Inter", ui-sans-serif, system-ui, sans-serif;
  --ff-display: "Space Grotesk", "Inter", sans-serif;
  --ff-mono:    "JetBrains Mono", ui-monospace, monospace;

  /* Spacing rhythm */
  --gutter: 28px;
  --max:    1200px;

  /* Motion */
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ff-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body { overflow-x: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent-600); }

button { font-family: inherit; cursor: pointer; }

/* =============================================
   Layout
   ============================================= */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-dark { background: var(--brand); color: #fff; }
.section-sub { background: var(--brand-25); border-block: 1px solid var(--brand-50); }

/* =============================================
   Type
   ============================================= */
.eyebrow {
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-600);
}
.section-dark .eyebrow { color: var(--accent-400); }

.h-display {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.022em;
  color: var(--brand);
  margin: 0;
}
.h1 {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--brand);
  margin: 0;
}
.h2 {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--brand);
  margin: 0;
}
.h3 {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--brand);
  margin: 0;
}
.lede {
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 680px;
  text-wrap: pretty;
}
.section-dark .lede { color: rgba(255,255,255,.78); }

p { margin: 0 0 1em; }
.muted { color: var(--ink-mute); }
.subdued { color: var(--ink-soft); }
.mono { font-family: var(--ff-mono); }

/* =============================================
   Buttons
   ============================================= */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 600; font-size: 14px;
  border: 1px solid transparent;
  transition: transform .15s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-500); color:#fff; }
.btn-accent  { background: var(--accent); color: var(--brand); }
.btn-accent:hover { background: var(--accent-400); color: var(--brand); }
.btn-outline { background: transparent; color: var(--brand); border-color: var(--brand-100); }
.btn-outline:hover { border-color: var(--brand); background: var(--white); color: var(--brand); }
.section-dark .btn-outline { color:#fff; border-color: rgba(255,255,255,.3); }
.section-dark .btn-outline:hover { background: rgba(255,255,255,.08); color:#fff; border-color: rgba(255,255,255,.6); }

.btn-sm { padding: 8px 12px; font-size: 12px; border-radius: 8px;}

.arrow::after { content: "→"; display: inline-block; transition: transform .2s var(--ease); }
.btn:hover .arrow::after { transform: translateX(2px); }

/* =============================================
   Nav
   ============================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 247, 0.78);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--brand-50);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand-mark {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-display); font-weight: 600;
  color: var(--brand); font-size: 16px; letter-spacing: -0.005em;
}
.brand-mark img { height: 26px; width: 26px; }

.nav-links { display: none; gap: 28px; align-items: center; font-size: 14px; }
.nav-links a { color: var(--ink); }
.nav-links a:hover { color: var(--accent-600); }
.nav-actions { display: flex; gap: 8px; align-items: center; }

.launch-pill {
  display: none; align-items: center; gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--brand-50);
  border-radius: 999px;
  font-size: 11px; font-weight: 600;
  background: var(--white); color: var(--brand);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.launch-pill:hover { border-color: var(--accent); color: var(--accent-600); }
.launch-pill .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); display: inline-block; }
.launch-pill.alt .dot { background: var(--brand); }

/* Products dropdown in nav */
.nav-dd { position: relative; }
.nav-dd-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; border: 0; padding: 0;
  font: inherit; color: var(--ink); cursor: pointer;
}
.nav-dd-trigger:hover { color: var(--accent-600); }
.nav-dd-trigger .caret { font-size: 10px; opacity: .7; transition: transform .2s var(--ease); }
.nav-dd.open .nav-dd-trigger .caret { transform: rotate(180deg); }
.nav-dd-panel {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(-6px);
  background: #fff; border: 1px solid var(--brand-50); border-radius: 4px;
  box-shadow: 0 24px 60px -20px rgba(10,22,40,.25), 0 0 0 1px rgba(10,22,40,.04);
  padding: 22px;
  display: grid; grid-template-columns: repeat(3, minmax(220px, 1fr)); gap: 18px;
  min-width: 760px;
  max-width: calc(100vw - 32px);
  opacity: 0; pointer-events: none;
  transition: opacity .18s var(--ease), transform .18s var(--ease);
  z-index: 100;
}
.nav-dd.open .nav-dd-panel { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.nav-dd-panel::before {
  content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px;
}
.dd-col { display: grid; gap: 4px; align-content: start; }
.dd-col-head {
  font-family: var(--ff-mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: .08em; color: var(--ink-soft); padding: 6px 8px 4px;
}
.dd-item {
  display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: center;
  padding: 8px; border-radius: 3px; color: var(--ink);
  transition: background .15s var(--ease);
}
.dd-item:hover { background: var(--bg-soft, #f3f5f8); color: var(--brand); }
.dd-item img { width: 22px; height: 22px; opacity: .85; }
.dd-item span { display: grid; gap: 1px; }
.dd-item b { font-family: var(--ff-display); font-weight: 600; font-size: 14px; }
.dd-item em { font-style: normal; font-size: 12px; color: var(--ink-soft); }

@media (min-width: 880px) {
  .nav-links { display: flex; }
  .launch-pill { display: inline-flex; }
}

/* =============================================
   Hero
   ============================================= */
.hero {
  position: relative;
  padding: 56px 0 72px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: -10% -10% -10% -10%; z-index: -1;
  pointer-events: none;
  opacity: 0.55;
}
.hero-bg svg { width: 100%; height: 100%; }

.hero-grid {
  display: grid; gap: 48px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; }
  .hero { padding: 80px 0 100px; }
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.hero-meta {
  margin-top: 28px;
  display: flex; flex-wrap: wrap; gap: 22px;
  font-size: 13px; color: var(--ink-soft);
  font-family: var(--ff-mono);
}
.hero-meta b { color: var(--brand); font-weight: 600; }

.hero-stage {
  position: relative;
  aspect-ratio: 1.05;
  width: 100%;
  perspective: 1600px;
}
.hero-shot {
  position: absolute; inset: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 30px 60px -20px rgba(11,37,69,.35),
    0 8px 20px -6px rgba(11,37,69,.18),
    0 0 0 1px rgba(11,37,69,.06);
  transform: rotate3d(1, -0.4, 0, 8deg) translateZ(0);
  transition: transform .8s var(--ease);
}
.hero-shot img { width: 100%; height: 100%; object-fit: cover; }
.hero-shot.float-1 { transform: rotate3d(1, -0.4, 0, 8deg); animation: floatA 9s ease-in-out infinite; }

@keyframes floatA {
  0%,100% { transform: rotate3d(1,-0.4,0,8deg) translateY(0); }
  50%     { transform: rotate3d(1,-0.4,0,8deg) translateY(-10px); }
}

.hero-shot-mini {
  position: absolute;
  width: 42%;
  border-radius: 12px; overflow: hidden;
  background: #fff;
  box-shadow:
    0 24px 50px -16px rgba(11,37,69,.40),
    0 0 0 1px rgba(11,37,69,.08);
  bottom: -6%; right: -4%;
  transform: rotate3d(1,-0.3,0,-6deg);
  animation: floatB 11s ease-in-out infinite;
}
.hero-shot-mini img { width: 100%; height: 100%; object-fit: cover; }
@keyframes floatB {
  0%,100% { transform: rotate3d(1,-0.3,0,-6deg) translateY(0); }
  50%     { transform: rotate3d(1,-0.3,0,-6deg) translateY(8px); }
}

.hero-shot-tag {
  position: absolute;
  top: -14px; left: -14px;
  padding: 6px 10px;
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.05em;
  display: inline-flex; align-items: center; gap: 6px;
  box-shadow: 0 6px 14px -2px rgba(11,37,69,.35);
}
.hero-shot-tag .pulse {
  width: 8px; height: 8px; border-radius: 999px; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(19,194,194, .9);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(19,194,194,.7); }
  100% { box-shadow: 0 0 0 14px rgba(19,194,194,0); }
}

/* Floating data card */
.hero-card {
  position: absolute;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--brand-50);
  box-shadow: 0 24px 50px -16px rgba(11,37,69,.30), 0 0 0 1px rgba(11,37,69,.04);
  padding: 12px 14px;
  font-family: var(--ff-mono); font-size: 12px;
  min-width: 180px;
  animation: floatC 8s ease-in-out infinite;
}
.hero-card.left { top: 6%; left: -6%; }
.hero-card.right { top: 60%; right: -6%; }
.hero-card .label { color: var(--ink-mute); font-size: 10px; letter-spacing: .12em; text-transform: uppercase;}
.hero-card .val { color: var(--brand); font-size: 20px; font-weight: 600; font-family: var(--ff-display); }
.hero-card .delta { color: var(--accent-600); font-size: 11px;}
.hero-card .delta.neg { color: #d97706;}
@keyframes floatC {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-6px);}
}

/* =============================================
   Live ticker
   ============================================= */
.ticker {
  border-block: 1px solid var(--brand-50);
  background: var(--white);
  padding: 14px 0;
  overflow: hidden;
}
.ticker-row {
  display: flex; gap: 36px; white-space: nowrap;
  animation: tickerScroll 60s linear infinite;
  font-family: var(--ff-mono); font-size: 13px; color: var(--ink-soft);
}
.ticker-row span b { color: var(--brand); font-weight: 600; }
.ticker-row span .up { color: var(--accent-600); }
.ticker-row span .dn { color: #c2410c; }
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =============================================
   Stats panel
   ============================================= */
.stats {
  display: grid; gap: 36px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat .val {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: clamp(36px, 4vw, 52px);
  letter-spacing: -0.02em;
  color: var(--accent-400);
}
.stat .label { color: rgba(255,255,255,.78); font-size: 14px; max-width: 28ch; }

/* =============================================
   Cards
   ============================================= */
.card {
  background: var(--white);
  border: 1px solid var(--brand-50);
  border-radius: 16px;
  padding: 28px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover { box-shadow: 0 20px 40px -20px rgba(11,37,69,.18), 0 0 0 1px var(--brand-100); transform: translateY(-2px); }
.card.dashed { border-style: dashed; background: var(--brand-25); }

/* Card on dark background */
.section-dark .card {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.10);
  color: rgba(255,255,255,.92);
}
.section-dark .card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.22);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.18);
}
.section-dark .card.dashed {
  background: rgba(255,255,255,.025);
  border-style: dashed;
  border-color: rgba(255,255,255,.14);
}
.section-dark .card .h3 { color: #fff; }
.section-dark .card .subdued { color: rgba(255,255,255,.66); }
.section-dark .card .eyebrow { color: var(--accent-400); }

/* Pill variants */
.pill.live { background: rgba(19, 194, 194, .14); color: var(--accent-400); border-color: rgba(19, 194, 194, .35); }
.pill.live .dot { background: var(--accent-400); box-shadow: 0 0 0 3px rgba(19,194,194,.20); }
.pill.launching { background: rgba(245, 158, 11, .15); color: #f59e0b; border-color: rgba(245, 158, 11, .35); }
.pill.launching .dot { background: #f59e0b; box-shadow: 0 0 0 3px rgba(245,158,11,.20); }
.pill.build { background: rgba(255,255,255,.06); color: rgba(255,255,255,.78); border-color: rgba(255,255,255,.16); }
.pill.build .dot { background: rgba(255,255,255,.55); }
.pill.year3 { background: rgba(180, 140, 255, .14); color: #c4b5fd; border-color: rgba(180, 140, 255, .35); }
.pill.year3 .dot { background: #c4b5fd; }

.cards-3 { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.cards-2 { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .cards-2 { grid-template-columns: repeat(2, 1fr); } }
.cards-4 { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .cards-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px){ .cards-4 { grid-template-columns: repeat(4, 1fr); } }

/* =============================================
   Product showcase rows
   ============================================= */
.showcase {
  display: grid; gap: 36px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 980px) {
  .showcase { grid-template-columns: 1fr 1.2fr; gap: 60px; }
  .showcase.flip { grid-template-columns: 1.2fr 1fr; }
  .showcase.flip .showcase-art { order: -1; }
}
.showcase-shot {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--brand-25);
  box-shadow: 0 20px 50px -20px rgba(11,37,69,.28), 0 0 0 1px rgba(11,37,69,.06);
}
.showcase-shot img { width: 100%; height: auto; display: block; }
.showcase-shot::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 70%, rgba(255,255,255,.04));
}

.product-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px;
}
.product-head img { height: 44px; width: 44px; }
.product-tagline { color: var(--accent-600); font-weight: 600; font-size: 14px; margin-bottom: 6px; }

.feat-list { padding: 0; margin: 18px 0 0; list-style: none; display: grid; gap: 8px;}
.feat-list li { font-size: 14px; color: var(--ink-soft); display: flex; gap: 10px; align-items: flex-start; }
.feat-list li::before {
  content: ""; flex-shrink: 0; width: 16px; height: 16px;
  background: var(--accent-50); color: var(--accent-600);
  border-radius: 4px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F9A9A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 13l4 4L19 7'/></svg>");
  background-size: 14px; background-position: center; background-repeat: no-repeat;
  margin-top: 1px;
}

/* =============================================
   Logo grid (placeholder rectangles for "built for")
   ============================================= */
.who-card .icon-square {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--accent-50);
  color: var(--accent-600);
  display: grid; place-items: center;
  margin-bottom: 12px;
}

/* =============================================
   Pricing
   ============================================= */
.tier-row {
  display: grid; gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .tier-row.col3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 760px) { .tier-row.col4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px){ .tier-row.col4 { grid-template-columns: repeat(4, 1fr); } }

.tier {
  position: relative;
  border: 1px solid var(--brand-50);
  background: var(--white);
  border-radius: 16px;
  padding: 28px;
  display: flex; flex-direction: column;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.tier:hover { border-color: var(--brand-100); }
.tier.featured {
  background: var(--brand);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 20px 50px -20px rgba(11,37,69,.45);
}
.tier.featured .tier-name { color: #fff; }
.tier.featured .tier-price { color: #fff; }
.tier.featured .tier-cadence { color: rgba(255,255,255,.7); }
.tier.featured .tier-desc { color: rgba(255,255,255,.78); }
.tier.featured ul li { color: rgba(255,255,255,.85); }
.tier.featured .tier-cta { background: var(--accent); color: var(--brand); }
.tier.featured .tier-cta:hover { background: var(--accent-400); }
.tier.featured .tier-annual { color: rgba(255,255,255,.6); }

.tier.dashed { background: var(--brand-25); border-style: dashed; }

.tier .badge-pop {
  position: absolute; top: 16px; right: 16px;
  background: var(--accent-50); color: var(--accent-600);
  font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px;
}
.tier.featured .badge-pop { background: rgba(19,194,194,.2); color: var(--accent-400); }

.tier .badge-soon {
  position: absolute; top: -10px; left: 20px;
  background: var(--accent); color: var(--brand);
  font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px;
  letter-spacing: .04em; text-transform: uppercase;
}

.tier-name { font-family: var(--ff-display); font-size: 18px; font-weight: 600; color: var(--brand); margin-bottom: 12px;}
.tier-price { font-family: var(--ff-display); font-size: 38px; font-weight: 600; color: var(--brand); letter-spacing: -.02em; }
.tier-cadence { color: var(--ink-soft); font-size: 14px; margin-left: 4px; }
.tier-annual { color: var(--ink-mute); font-size: 11px; margin-top: 2px; font-family: var(--ff-mono);}
.tier-desc { color: var(--ink-soft); font-size: 14px; margin: 14px 0 18px; }
.tier ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; display: grid; gap: 10px; }
.tier ul li { color: var(--ink-soft); font-size: 13.5px; display: flex; gap: 8px; align-items: flex-start; line-height: 1.45;}
.tier ul li::before {
  content: "✓"; color: var(--accent-600); font-weight: 700; font-size: 13px; line-height: 1.2;
}
.tier.featured ul li::before { color: var(--accent-400); }
.tier .roadmap-tag {
  font-size: 10px; font-family: var(--ff-mono); letter-spacing: .08em;
  color: var(--ink-mute); margin-left: 6px; text-transform: uppercase;
}
.tier.featured .roadmap-tag { color: rgba(255,255,255,.55); }

.tier-cta {
  margin-top: auto;
  display: inline-flex; justify-content: center; align-items: center;
  background: var(--brand); color: #fff;
  padding: 12px 16px; border-radius: 10px;
  font-weight: 600; font-size: 14px;
  transition: background .2s var(--ease);
}
.tier-cta:hover { background: var(--brand-500); color: #fff; }
.tier.dashed .tier-cta {
  background: transparent; color: var(--brand); border: 1px solid var(--brand);
}
.tier.dashed .tier-cta:hover { background: var(--brand); color: #fff; }

/* =============================================
   FAQ
   ============================================= */
.faq-grid { display: grid; gap: 36px 60px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .faq-grid { grid-template-columns: 1fr 1fr; } }
.faq h3 { font-family: var(--ff-display); font-weight: 600; font-size: 17px; color: var(--brand); margin: 0 0 8px; }
.faq p  { color: var(--ink-soft); font-size: 14px; line-height: 1.6; margin: 0; }

/* =============================================
   Coverage chips
   ============================================= */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  background: var(--white); border: 1px solid var(--brand-50);
  font-family: var(--ff-mono); font-size: 12px; color: var(--brand);
  padding: 6px 10px; border-radius: 8px;
}

/* =============================================
   Pill / tag
   ============================================= */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent-50); color: var(--accent-600);
  border-radius: 999px;
  font-size: 12px; font-weight: 600; padding: 4px 10px;
  letter-spacing: .04em; text-transform: uppercase;
}
.pill .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); display: inline-block; }
.pill.gold { background: var(--gold-50); color: #8a5b00;}
.pill.gold .dot { background: var(--gold); }

/* =============================================
   Footer
   ============================================= */
.footer {
  margin-top: 96px;
  background: var(--brand);
  color: rgba(255,255,255,.78);
  padding: 60px 0 28px;
}
.footer h4 { color: #fff; font-family: var(--ff-display); font-size: 14px; font-weight: 600; margin: 0 0 14px;}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px;}
.footer ul a { color: rgba(255,255,255,.72); font-size: 14px; }
.footer ul a:hover { color: var(--accent-400);}
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-bottom {
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12px; color: rgba(255,255,255,.5);
  font-family: var(--ff-mono);
}

/* =============================================
   Page hero (interior)
   ============================================= */
.page-hero { padding: 80px 0 28px; }
.page-hero .crumb {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
}
.page-hero .crumb img { height: 48px; width: 48px; }
.page-hero .crumb .lab { font-family: var(--ff-mono); font-size: 12px; color: var(--accent-600); letter-spacing: .12em; text-transform: uppercase;}
.page-hero .crumb .by { color: var(--ink-mute); font-size: 11px; font-family: var(--ff-mono);}

/* =============================================
   Animated reveal on scroll
   ============================================= */
.reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* =============================================
   Misc
   ============================================= */
.divider { height: 1px; background: var(--brand-50); margin: 48px 0;}
.section-dark .divider { background: rgba(255,255,255,.12);}
.kbd {
  font-family: var(--ff-mono); font-size: 12px;
  background: var(--brand-25); border: 1px solid var(--brand-50);
  border-radius: 5px; padding: 1px 5px;
}

/* Selection */
::selection { background: var(--accent); color: var(--brand); }

/* Accessibility focus */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px;}


/* ============================================================
   Pricing, Contact, About, Legal — extra components
   ============================================================ */

/* Pill row of anchors at top of pricing */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.anchor-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--brand-100);
  border-radius: 999px;
  background: var(--white);
  font-family: var(--ff-mono);
  font-size: 12px; letter-spacing: .04em;
  color: var(--ink-soft);
  transition: all .2s var(--ease);
}
.anchor-pill:hover {
  border-color: var(--accent);
  color: var(--accent-600);
  background: var(--accent-50);
  transform: translateY(-1px);
}

/* Product head (icon + tagline + h2) */
.product-head { display: flex; align-items: center; gap: 18px; margin-bottom: 32px; }
.product-head img { width: 56px; height: 56px; }
.product-tagline {
  font-family: var(--ff-mono); font-size: 12px;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 4px;
}

/* Pricing tier grid */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.price-grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1180px) { .price-grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) { .price-grid { grid-template-columns: 1fr; } .price-grid.four { grid-template-columns: 1fr; } }

/* Per-tier description below price */
.price-desc {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 8px 0 0;
  line-height: 1.55;
  min-height: 60px;
}
.price-card.featured .price-desc { color: rgba(255,255,255,.78); }

/* Annual billing note */
.price-annual {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--ink-mute);
  margin: 4px 0 0;
}
.price-card.featured .price-annual { color: rgba(255,255,255,.6); }

/* Round-18bt: per-card billing-period subtext + per-section toggle.
   Mirrors the in-app /subscription toggle so the marketing funnel and
   the in-app onboarding tell the same story. Toggle defaults to
   "annual" — cheaper headline is the first thing visitors see. */
.price-billing {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--ink-mute);
  margin: 6px 0 0;
  line-height: 1.5;
}
.price-card.featured .price-billing { color: rgba(255,255,255,.7); }

.billing-toggle {
  display: inline-flex;
  align-self: center;
  margin: 28px auto 0;
  background: #fff;
  border: 1px solid var(--brand-50);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
  box-shadow: 0 1px 2px rgba(11, 37, 69, .04);
}
.section.section-sub .billing-toggle {
  /* Center the toggle inside .wrap so it doesn't sit hard-left. */
  display: flex;
  width: max-content;
  margin-left: auto;
  margin-right: auto;
}
.billing-btn {
  appearance: none;
  background: transparent;
  border: none;
  color: var(--ink-mute);
  font-family: var(--ff-mono);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 999px;
  cursor: pointer;
  letter-spacing: .02em;
  transition: background 150ms ease, color 150ms ease;
}
.billing-btn:hover {
  color: var(--brand);
}
.billing-btn.is-active {
  background: var(--brand);
  color: #fff;
}
.billing-btn.is-active:hover {
  color: #fff;
}
.billing-save {
  font-weight: 500;
  opacity: .85;
  margin-left: 2px;
}

/* Featured (dark) variant */
.price-card.featured { background: var(--brand); color: #fff; }
.price-card.featured .price-tier { color: rgba(255,255,255,.78); }
.price-card.featured .price-tier .badge { background: var(--accent); color: var(--brand); }
.price-card.featured .price-amount { color: #fff; }
.price-card.featured .price-amount .per { color: rgba(255,255,255,.65); }
.price-card.featured .price-list { border-top-color: rgba(255,255,255,.12); }
.price-card.featured .price-list li { color: rgba(255,255,255,.85); border-bottom-color: rgba(255,255,255,.08); }
.price-card.featured .price-list li::before { background: rgba(19,194,194,.18); border-color: var(--accent-400); }
.price-card.featured .price-list li::after { border-color: var(--accent-400); }
.price-card.featured .price-list strong { color: #fff; }
.price-card.featured .price-list em { color: var(--accent-400); font-style: normal; font-family: var(--ff-mono); font-size: 11px; letter-spacing: .04em; }

/* Roadmap / coming markers in price-list */
.price-list em {
  font-style: normal;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--accent-600);
  margin-left: 4px;
}

/* Coming-soon variant card */
.price-card.coming {
  border-style: dashed;
  border-color: var(--brand-100);
  background: rgba(244, 246, 250, .5);
}
.coming-pill {
  position: absolute;
  top: -12px; left: 24px;
  background: var(--accent);
  color: var(--brand);
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
}
.coming-note {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-mute);
  text-align: center;
}

/* Generic tier note (under each pricing block) */
.tier-note {
  margin-top: 24px;
  font-size: 13px;
  color: var(--ink-mute);
  font-family: var(--ff-mono);
  letter-spacing: .02em;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--brand-50);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex; flex-direction: column;
  position: relative;
}
.price-card.featured {
  border: 1.5px solid var(--brand);
  box-shadow: 0 24px 50px -28px rgba(11, 37, 69, .35);
}
.price-tier {
  font-family: var(--ff-mono); font-size: 12px;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.price-tier .badge {
  background: var(--brand);
  color: var(--white);
  font-size: 10px;
  letter-spacing: .08em;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
}
.price-amount {
  font-family: var(--ff-display);
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 12px;
  color: var(--brand);
}
.price-amount .per {
  font-size: 14px;
  font-family: var(--ff-sans);
  font-weight: 400;
  color: var(--ink-mute);
  letter-spacing: 0;
  margin-left: 6px;
}
.price-list {
  list-style: none; padding: 0; margin: 24px 0 28px;
  border-top: 1px solid var(--brand-50);
  padding-top: 22px;
  flex: 1;
}
.price-list li {
  position: relative;
  padding: 9px 0 9px 26px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
  border-bottom: 1px dashed var(--brand-50);
}
.price-list li:last-child { border-bottom: none; }
.price-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 14px; height: 14px;
  background: var(--accent-50);
  border: 1px solid var(--accent);
  border-radius: 4px;
}
.price-list li::after {
  content: "";
  position: absolute;
  left: 4px; top: 16px;
  width: 6px; height: 3px;
  border-left: 2px solid var(--accent-600);
  border-bottom: 2px solid var(--accent-600);
  transform: rotate(-45deg);
}
.price-list strong { color: var(--ink); font-weight: 600; }

.btn-block { display: flex; justify-content: center; width: 100%; }

/* Bundle stack on dark */
.bundle-stack {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,.02);
}
.bundle-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 24px;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.92);
}
.bundle-row:last-child { border-bottom: none; }
.bundle-row.faded { color: rgba(255,255,255,.6); }
.bundle-name {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 18px;
}
.bundle-name img {
  width: 26px; height: 26px;
  filter: invert(1) brightness(1.3);
  opacity: .9;
}
.bundle-price {
  font-family: var(--ff-mono);
  font-size: 14px;
  color: var(--accent-400);
}
.bundle-note {
  font-size: 13px;
  color: rgba(255,255,255,.55);
}
@media (max-width: 760px) {
  .bundle-row { grid-template-columns: 1fr; gap: 6px; }
  .bundle-note { font-size: 12px; }
}

/* FAQ */
.faq details {
  border-bottom: 1px solid var(--brand-50);
  padding: 22px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--brand);
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--ff-mono);
  font-size: 22px;
  color: var(--ink-mute);
  font-weight: 300;
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { content: "−"; }
.faq p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
  max-width: 720px;
}

/* Chips (zone codes) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: .04em;
  background: var(--white);
  border: 1px solid var(--brand-100);
  border-radius: 6px;
  padding: 8px 12px;
  color: var(--ink-soft);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}
@media (max-width: 960px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--white);
  border: 1px solid var(--brand-50);
  border-radius: 14px;
  padding: 24px;
}
.contact-eyebrow {
  font-family: var(--ff-mono); font-size: 11px;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 12px;
}
.contact-link {
  display: inline-block;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--brand) !important;
  word-break: break-word;
}
.contact-link:hover { color: var(--accent-600) !important; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--brand-50);
  border-radius: 16px;
  padding: 36px;
  display: flex; flex-direction: column; gap: 18px;
  max-width: 820px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.contact-form label {
  display: flex; flex-direction: column; gap: 6px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--ff-sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--brand-50);
  border-radius: 8px;
  padding: 12px 14px;
  text-transform: none;
  letter-spacing: 0;
  outline: none;
  transition: border-color .2s var(--ease);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-50);
}
.contact-form button { align-self: flex-start; }

/* About — founder */
.founder {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 760px) { .founder { grid-template-columns: 1fr; gap: 28px; } }
.founder-photo {
  border-radius: 16px;
  overflow: hidden;
  background: var(--brand-50);
  aspect-ratio: 4/5;
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }

/* About — rules list */
.rules-list {
  list-style: none; padding: 0; margin: 0;
  counter-reset: rule;
}
.rules-list li {
  counter-increment: rule;
  padding: 16px 0 16px 56px;
  border-bottom: 1px solid var(--brand-50);
  position: relative;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.rules-list li::before {
  content: "0" counter(rule);
  position: absolute; left: 0; top: 16px;
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--accent-600);
  letter-spacing: .08em;
  background: var(--accent-50);
  border-radius: 6px;
  padding: 4px 8px;
}
.rules-list strong { color: var(--ink); font-weight: 600; }

/* Cards-4 grid */
.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
@media (max-width: 960px) { .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .cards-4 { grid-template-columns: 1fr; } }

/* "In build" pill gold variant */
.pill.gold { background: var(--gold-50); color: #8B6F1A; border-color: rgba(255, 209, 102, .5); }
.pill.gold .dot { background: var(--gold); }

/* Legal-page prose */
.legal-prose {
  max-width: 760px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.legal-prose h2 {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--brand);
  margin: 36px 0 12px;
}
.legal-prose h3 {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--brand);
  margin: 24px 0 8px;
}
.legal-prose p { margin: 10px 0; }
.legal-prose ul { padding-left: 22px; margin: 10px 0; }
.legal-prose li { margin: 6px 0; }
.legal-prose strong { color: var(--ink); }
.legal-prose a { color: var(--accent-600); border-bottom: 1px dashed var(--accent); }

/* btn-sm */
.btn-sm { padding: 10px 16px; font-size: 13px; }

/* ============== PAPER ACCESS GATE ============== */
.access-banner {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid var(--brand-50);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  padding: 18px 22px;
  margin-top: 8px;
  box-shadow: 0 12px 28px -22px rgba(10,22,40,.25);
}
.access-banner.unlocked { border-left-color: #2e9b6a; }
.access-banner-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14.5px;
  line-height: 1.55;
  max-width: 660px;
}
.access-banner-text b { color: var(--brand); font-weight: 600; }
.access-banner-text .subdued { color: var(--ink-soft); font-size: 13.5px; }
.access-banner .btn { white-space: nowrap; }

/* Modal */
.paper-login-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.paper-login-modal[hidden] { display: none; }
.paper-login-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.55);
  backdrop-filter: blur(2px);
  animation: fadeIn 0.18s ease-out;
}
.paper-login-card {
  position: relative;
  background: #fff;
  border-radius: 6px;
  padding: 38px 38px 32px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 30px 80px -20px rgba(10,22,40,.45);
  animation: cardIn 0.22s ease-out;
  border-top: 3px solid var(--accent);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes cardIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.paper-login-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  font-size: 24px;
  color: var(--ink-soft);
  cursor: pointer;
  line-height: 1;
  border-radius: 50%;
  transition: background .15s;
}
.paper-login-close:hover { background: var(--brand-50); color: var(--brand); }
.paper-login-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 22px;
}
.paper-login-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.paper-login-field span {
  font-family: var(--ff-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-soft);
}
.paper-login-field input {
  font-family: var(--ff-display);
  font-size: 14.5px;
  padding: 11px 14px;
  border: 1px solid var(--brand-50);
  border-radius: 4px;
  background: #fafafa;
  color: var(--brand);
  transition: border-color .15s, background .15s;
}
.paper-login-field input:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.paper-login-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.45;
  cursor: pointer;
}
.paper-login-check input { margin-top: 3px; accent-color: var(--accent); }
.paper-login-note {
  font-size: 12.5px;
  text-align: center;
  margin-top: 4px;
}
.paper-login-note a {
  color: var(--accent-600);
  border-bottom: 1px dashed var(--accent);
}

/* CE BESS Arbitrage hero figure */
.bess-figure {
  background: #fff;
  border: 1px solid var(--brand-50);
  border-radius: 4px;
  padding: 22px 22px 18px;
  box-shadow: 0 18px 40px -28px rgba(10,22,40,.25);
  position: relative;
}
.bess-figure::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  border-radius: 4px 4px 0 0;
}
.bess-figure-head { margin-bottom: 14px; }
.bess-figure-eyebrow {
  font-family: var(--ff-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-soft);
}
.bess-figure-title {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--brand);
  margin-top: 4px;
  line-height: 1.3;
}
.bess-figure-svg { width: 100%; height: auto; display: block; }
.bess-figure-svg-2 { margin-top: 6px; }
.bess-figure-divider {
  height: 1px;
  background: var(--brand-50);
  margin: 12px 0 14px;
}
.bess-figure-subhead {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 13px;
  color: var(--brand);
  margin-bottom: 4px;
}
.bess-figure-subhead .mono {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-soft);
}
.bess-figure-cap {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--brand-50);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.bess-figure-cap strong { color: var(--brand); font-weight: 600; }
.bess-figure-cap a { color: var(--accent-600); border-bottom: 1px dashed var(--accent); }

/* =============================================
   Papers page
   ============================================= */
.featured-paper {
  background: var(--white);
  border: 1px solid var(--brand-50);
  border-radius: 4px;
  padding: 40px;
  position: relative;
}
.featured-paper::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
}
.paper-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.paper-bullets {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 8px;
  font-family: var(--ff-mono);
  font-size: 13px;
  color: var(--ink-soft);
}
.paper-bullets li {
  padding-left: 20px;
  position: relative;
}
.paper-bullets li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent-600);
  font-weight: 500;
}

.papers-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--brand-50);
}
.paper-row {
  padding: 28px 0;
  border-bottom: 1px solid var(--brand-50);
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  transition: background 0.2s ease;
}
.paper-row:hover { background: var(--brand-25, rgba(10, 22, 40, 0.015)); }
.paper-row-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.paper-row h3 {
  margin: 4px 0 6px;
  max-width: 880px;
}
.paper-row p {
  max-width: 880px;
  margin: 0;
}
.paper-row-actions {
  margin-top: 6px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-600) !important;
  font-family: var(--ff-mono);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, gap 0.2s ease;
}
.link-arrow:hover {
  border-bottom-color: var(--accent-600);
  gap: 10px;
}
.link-arrow .arrow {
  display: inline-block;
  color: var(--accent-600);
}
.link-arrow .arrow::after {
  content: "→";
  display: inline-block;
}

/* Forthcoming list (dark band) */
.forthcoming-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.forthcoming-list li {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.forthcoming-list .forthcoming-title {
  color: rgba(255,255,255,0.92);
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
}
@media (max-width: 760px) {
  .forthcoming-list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.small { font-size: 12px; }
.subdued { color: var(--ink-soft); }
.section-dark .subdued { color: rgba(255,255,255,0.65); }
.section-dark .mono.small.subdued { color: rgba(255,255,255,0.5); }

/* Headline stat strip inside featured paper */
.paper-headline-stat {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 28px 0 4px;
  border-top: 1px solid var(--brand-50);
  border-bottom: 1px solid var(--brand-50);
}
.paper-headline-stat > div {
  padding: 22px 24px 22px 0;
  border-right: 1px solid var(--brand-50);
}
.paper-headline-stat > div:last-child { border-right: 0; padding-right: 0; }
.paper-headline-stat > div + div { padding-left: 24px; }
.paper-stat-num {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 30px;
  letter-spacing: -.01em;
  color: var(--brand);
  line-height: 1.05;
}
.paper-stat-label {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 30ch;
}
@media (max-width: 760px) {
  .paper-headline-stat { grid-template-columns: 1fr; }
  .paper-headline-stat > div { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--brand-50); }
  .paper-headline-stat > div:last-child { border-bottom: 0; padding-bottom: 0; }
  .paper-headline-stat > div + div { padding-left: 0; }
}

/* Citation footer */
.paper-cite {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px dashed var(--brand-50);
  font-family: var(--ff-mono);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.paper-cite em { font-style: italic; color: var(--ink); }

/* Multiple link-arrows in a row */
.paper-row-actions { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.link-arrow.alt {
  color: var(--ink-soft) !important;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--ff-mono);
  font-size: 13px;
}
.link-arrow.alt:hover { color: var(--accent-600) !important; border-bottom-color: var(--accent-600); }

/* Tech-spec grid */
.techspec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--brand-50);
  border-left: 1px solid var(--brand-50);
}
.techspec-row {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 18px 20px;
  border-right: 1px solid var(--brand-50);
  border-bottom: 1px solid var(--brand-50);
  color: var(--ink);
  transition: background .15s var(--ease);
}
.techspec-row:hover { background: var(--bg-soft, #f3f5f8); }
.techspec-row img { width: 26px; height: 26px; opacity: .9; }
.techspec-row b { font-family: var(--ff-display); font-weight: 600; font-size: 15px; display: block; }
.techspec-row em { font-style: normal; font-size: 12.5px; color: var(--ink-soft); }
@media (max-width: 960px) { .techspec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .techspec-grid { grid-template-columns: 1fr; } }
