/* ==========================================================================
   EMI Static SEO Pages — brand-native styling for semantic HTML
   Inherits tokens from styles.css. Apply .seo-doc to <main> to activate.
   ========================================================================== */

.seo-doc {
  padding-bottom: 0;
}

/* -------- Section scaffolding -------- */
.seo-section {
  padding: 120px 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.seo-section.seo-hero { border-top: none; padding: 72px 0 96px; }
.seo-section.seo-tight { padding: 72px 0; }

/* -------- Eyebrow / kicker -------- */
.seo-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
}
.seo-eyebrow::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--mint-bright);
  box-shadow: 0 0 10px var(--mint-bright);
  animation: dispatchPulse 2s ease-in-out infinite;
}

/* -------- Headings -------- */
.seo-doc h1 {
  font-weight: 800;
  font-size: clamp(44px, 6vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin: 0 0 28px;
  max-width: 22ch;
  color: var(--fg);
}
.seo-doc h1 em, .seo-doc h1 .italic {
  color: var(--mint-bright);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.055em;
  font-family: 'Inter', sans-serif;
}
.seo-doc h2 {
  font-weight: 700;
  font-size: clamp(32px, 3.6vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 0 0 20px;
  max-width: 28ch;
  color: var(--fg);
}
.seo-doc h3 {
  font-weight: 600;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 32px 0 12px;
  color: var(--fg);
}
.seo-doc h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin: 0 0 10px;
  font-weight: 500;
}

/* -------- Lede + body copy -------- */
.seo-lede {
  font-size: clamp(19px, 1.4vw, 22px);
  line-height: 1.55;
  color: var(--fg-2);
  max-width: 62ch;
  margin: 0 0 32px;
  text-wrap: pretty;
}
.seo-lede strong { color: var(--fg); font-weight: 600; }
.seo-doc p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--fg-2);
  max-width: 72ch;
  margin: 0 0 18px;
  text-wrap: pretty;
}
.seo-doc p strong { color: var(--fg); font-weight: 600; }
.seo-doc .answer-first {
  font-size: 19px;
  line-height: 1.55;
  color: var(--fg);
  max-width: 70ch;
  margin: 0 0 24px;
  border-left: 2px solid var(--mint);
  padding: 4px 0 4px 20px;
  font-weight: 400;
}
.seo-doc .answer-first strong { color: var(--mint-bright); font-weight: 600; }

/* -------- Lists -------- */
.seo-doc ul, .seo-doc ol {
  padding: 0;
  margin: 0 0 24px;
  max-width: 72ch;
  list-style: none;
}
.seo-doc ul li, .seo-doc ol li {
  position: relative;
  padding: 10px 0 10px 28px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg-2);
  border-top: 1px solid var(--line);
}
.seo-doc ul li:last-child, .seo-doc ol li:last-child { border-bottom: 1px solid var(--line); }
.seo-doc ul li::before {
  content: '';
  position: absolute;
  left: 6px; top: 19px;
  width: 6px; height: 6px;
  background: var(--mint);
  border-radius: 50%;
}
.seo-doc ol { counter-reset: seoList; }
.seo-doc ol li { counter-increment: seoList; padding-left: 44px; }
.seo-doc ol li::before {
  content: counter(seoList, decimal-leading-zero);
  position: absolute;
  left: 0; top: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--mint-bright);
  font-weight: 600;
}
.seo-doc li strong { color: var(--fg); font-weight: 600; }

/* -------- CTA row -------- */
.seo-cta-row {
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
  margin: 36px 0 0;
}
.seo-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px;
  font-size: 14px; font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background 120ms, border-color 120ms, color 120ms;
  white-space: nowrap;
}
.seo-btn-primary { background: var(--mint); color: #0b1d22; }
.seo-btn-primary:hover { background: var(--mint-bright); }
.seo-btn-ghost { color: var(--fg); border-color: var(--line-2); }
.seo-btn-ghost:hover { border-color: var(--mint); color: var(--mint-bright); }

/* -------- Trust row -------- */
.seo-trust {
  display: flex; flex-wrap: wrap; gap: 28px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  list-style: none;
  max-width: none;
}
.seo-trust li {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
  padding: 0 !important;
  border: none !important;
}
.seo-trust li::before { display: none !important; }
.seo-trust li strong { color: var(--mint-bright); font-weight: 600; }

/* -------- Stat grid (mirrors .hero-meta / .agent-stats) -------- */
.seo-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  margin: 48px 0;
  max-width: none;
  list-style: none;
  padding: 0;
}
.seo-stat-grid li {
  background: var(--bg);
  padding: 28px 24px;
  border: none !important;
}
.seo-stat-grid li::before { display: none !important; }
.seo-stat-grid .seo-stat-num {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.035em;
  color: var(--mint-bright);
  line-height: 1;
  margin-bottom: 10px;
}
.seo-stat-grid .seo-stat-num .unit {
  font-size: 18px;
  color: var(--fg-3);
  font-weight: 500;
  margin-left: 4px;
}
.seo-stat-grid .seo-stat-k {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 6px;
}
.seo-stat-grid .seo-stat-note {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--fg-2);
  line-height: 1.5;
}

/* -------- Fund card grid (for activist hedge fund hub) -------- */
.seo-fund-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  margin: 48px 0;
  list-style: none;
  padding: 0;
  max-width: none;
}
.seo-fund-grid li {
  background: var(--bg);
  padding: 24px 24px 20px;
  border: none !important;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.2s;
}
.seo-fund-grid li:hover { background: var(--bg-2); }
.seo-fund-grid li::before { display: none !important; }
.seo-fund-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin: 0;
}
.seo-fund-principal {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint-bright);
}
.seo-fund-aum {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--fg-3);
  text-transform: uppercase;
}
.seo-fund-style {
  font-size: 13px;
  line-height: 1.5;
  color: var(--fg-2);
  margin: 6px 0 0;
}

/* -------- Phase ladder (mirrors .phase-ladder) -------- */
.seo-ladder {
  margin: 64px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  padding: 0;
  max-width: none;
}
.seo-ladder li {
  display: grid;
  grid-template-columns: 200px 1fr 80px;
  gap: 48px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  border-top: none !important;
  transition: background 0.2s;
  margin: 0;
}
.seo-ladder li:hover { background: rgba(75, 183, 163, 0.03); }
.seo-ladder li::before { display: none !important; }
.seo-ladder-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mint-bright);
  font-weight: 600;
  padding-top: 6px;
}
.seo-ladder-body h3 {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg);
  text-transform: none;
}
.seo-ladder-body p {
  margin: 0;
  color: var(--fg-2);
  font-size: 16px;
  line-height: 1.6;
  max-width: 70ch;
}
.seo-ladder-idx {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--fg-3);
  letter-spacing: 0.14em;
  text-align: right;
  padding-top: 10px;
}

/* -------- Comparison table -------- */
.seo-table-wrap {
  margin: 40px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-2);
}
.seo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.seo-table caption {
  text-align: left;
  padding: 16px 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.seo-table th, .seo-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  color: var(--fg-2);
}
.seo-table thead th {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
  font-weight: 500;
  background: var(--bg);
}
.seo-table tbody th {
  color: var(--fg);
  font-weight: 500;
  font-size: 14px;
}
.seo-table tbody tr:last-child th, .seo-table tbody tr:last-child td { border-bottom: none; }
.seo-table td.yes { color: var(--mint-bright); font-weight: 600; }
.seo-table td.no { color: var(--fg-3); }
.seo-table td.partial { color: var(--amber); }

/* -------- Callout / pull-quote -------- */
.seo-callout {
  margin: 56px 0;
  padding: 40px 48px;
  border: 1px solid var(--mint-dim);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(75,183,163,0.06) 0%, rgba(75,183,163,0) 100%);
}
.seo-callout-k {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mint-bright);
  margin-bottom: 14px;
}
.seo-callout p {
  margin: 0;
  font-size: 22px;
  line-height: 1.45;
  color: var(--fg);
  letter-spacing: -0.015em;
  text-wrap: pretty;
  font-weight: 500;
  max-width: none;
}
.seo-callout cite {
  display: block;
  margin-top: 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
  font-style: normal;
}

/* -------- FAQ block -------- */
.seo-faq {
  list-style: none;
  padding: 0;
  margin: 32px 0;
  max-width: 80ch;
}
.seo-faq li {
  padding: 28px 0 !important;
  border-top: 1px solid var(--line) !important;
  border-bottom: none !important;
}
.seo-faq li:last-child { border-bottom: 1px solid var(--line) !important; }
.seo-faq li::before { display: none !important; }
.seo-faq h3 {
  margin: 0 0 12px;
  font-size: 20px;
  letter-spacing: -0.015em;
  color: var(--fg);
  text-transform: none;
  font-weight: 600;
}
.seo-faq p {
  margin: 0;
  color: var(--fg-2);
  font-size: 16px;
  line-height: 1.6;
}

/* -------- Related / cross-link footer -------- */
.seo-related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  margin: 64px 0 0;
}
.seo-related a {
  background: var(--bg);
  padding: 28px;
  display: block;
  transition: background 0.2s;
}
.seo-related a:hover { background: var(--bg-2); }
.seo-related-k {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mint-bright);
  margin-bottom: 14px;
}
.seo-related h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg);
  text-transform: none;
}
.seo-related p {
  margin: 0;
  color: var(--fg-2);
  font-size: 14px;
  line-height: 1.55;
}

/* -------- Static nav + footer (no React) -------- */
.seo-nav-static {
  position: sticky; top: 0; z-index: 40;
  background: rgba(27, 43, 52, 0.85);
  backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.seo-nav-static .nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 32px;
}
.seo-nav-static .logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; letter-spacing: -0.02em; font-size: 18px;
  color: var(--fg);
}
.seo-nav-static .logo-mark {
  width: 26px; height: 26px;
  background: var(--mint); color: #0b1d22;
  border-radius: 6px;
  display: grid; place-items: center;
  font-weight: 800; font-size: 14px;
  letter-spacing: -0.05em;
}
.seo-nav-static .nav-left { display: flex; align-items: center; gap: 44px; }
.seo-nav-static .nav-links {
  display: flex; gap: 30px; font-size: 14px;
  color: var(--fg-2); font-weight: 500;
}
.seo-nav-static .nav-links a:hover { color: var(--mint-bright); }
.seo-nav-static .nav-right { display: flex; align-items: center; gap: 14px; font-size: 14px; }
.seo-nav-static .btn-primary {
  background: var(--mint); color: #0b1d22;
  padding: 8px 16px; border-radius: 6px;
  font-weight: 600; font-size: 13px;
}

.seo-footer {
  padding: 64px 0 40px;
  border-top: 1px solid var(--line);
  background: var(--bg);
  font-size: 13px;
  color: var(--fg-3);
}
.seo-footer .container { max-width: 1360px; margin: 0 auto; padding: 0 32px; }
.seo-footer-nav {
  display: flex; flex-wrap: wrap; gap: 24px;
  margin: 20px 0;
}
.seo-footer-nav a { color: var(--fg-2); }
.seo-footer-nav a:hover { color: var(--mint-bright); }
.seo-footer-legal {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--fg-3);
  line-height: 1.6;
}

/* -------- Responsive -------- */
@media (max-width: 1100px) {
  .seo-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .seo-fund-grid { grid-template-columns: repeat(2, 1fr); }
  .seo-related { grid-template-columns: 1fr; }
  .seo-ladder li { grid-template-columns: 140px 1fr; gap: 24px; }
  .seo-ladder-idx { display: none; }
}
@media (max-width: 700px) {
  .seo-section { padding: 72px 0; }
  .seo-stat-grid { grid-template-columns: 1fr; }
  .seo-fund-grid { grid-template-columns: 1fr; }
  .seo-ladder li { grid-template-columns: 1fr; gap: 8px; }
  .seo-callout { padding: 28px 24px; }
  .seo-nav-static .nav-links { display: none; }
  .seo-table { font-size: 12px; }
  .seo-table th, .seo-table td { padding: 10px 12px; }
}
