/* ==========================================================================
   Edureify — Comparison & Alternatives design system
   "Instrument panel": navy base, signal amber for Edureify, neutral slate
   for competitors. One accent, used sparingly, always meaning the same thing.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink-950: #07131f;
  --ink-900: #0c1e30;
  --ink-800: #12293f;
  --ink-700: #1b3c58;
  --slate-600: #4f6678;
  --slate-500: #6b8092;
  --slate-400: #93a5b5;
  --line: #dfe5e9;
  --line-strong: #c6d0d7;
  --paper: #f3f5f6;
  --paper-2: #e9edef;
  --white: #fff;

  --signal: #e9a13b;         /* Edureify — fills, rules, on-dark text */
  --signal-700: #9d6410;     /* Edureify — text on light backgrounds */
  --signal-050: #fdf4e4;
  --verify: #1c7f62;
  --verify-050: #e8f4f0;

  --radius-s: 4px;
  --radius-m: 10px;
  --radius-l: 18px;

  --shadow-lift: 0 1px 2px rgba(7, 19, 31, .06), 0 12px 32px -18px rgba(7, 19, 31, .35);
  --shadow-panel: 0 24px 60px -32px rgba(7, 19, 31, .6);

  --wrap: 1200px;
  --gutter: 24px;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Source Serif 4", Georgia, "Times New Roman", serif;

  --step--1: clamp(.82rem, .8rem + .1vw, .875rem);
  --step-0: clamp(1.03rem, 1rem + .18vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.13rem + .35vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.35rem + .7vw, 2rem);
  --step-3: clamp(1.95rem, 1.6rem + 1.6vw, 3rem);
  --step-4: clamp(2.05rem, 1.5rem + 1.9vw, 3.05rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-900);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.68;
  font-synthesis-weight: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; line-height: 1.12; margin: 0; }
p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }
table { border-collapse: collapse; width: 100%; }
button { font: inherit; }

::selection { background: var(--signal); color: var(--ink-950); }

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink-900); color: var(--white);
  padding: 10px 16px; border-radius: 0 0 var(--radius-s) var(--radius-s);
  font-family: var(--font-display); font-size: .9rem; text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Masthead ---------- */
.masthead {
  position: sticky; top: 0; z-index: 90;
  background: rgba(12, 30, 48, .92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  color: var(--white);
}
.masthead .wrap { display: flex; align-items: center; gap: 20px; min-height: 60px; }
.masthead-brand {
  font-family: var(--font-display); font-weight: 700; font-size: 1.12rem;
  letter-spacing: -.025em; text-decoration: none; display: flex; align-items: center; gap: 9px;
}
.masthead-brand .spark {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--signal); box-shadow: 0 0 0 4px rgba(233, 161, 59, .22);
}
.masthead-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.masthead-nav a {
  font-family: var(--font-display); font-size: .92rem; text-decoration: none;
  padding: 8px 12px; border-radius: var(--radius-s); color: rgba(255, 255, 255, .82);
}
.masthead-nav a:hover { color: var(--white); background: rgba(255, 255, 255, .09); }
.masthead-nav .btn { margin-left: 8px; }
.nav-toggle {
  display: none; margin-left: auto; background: transparent; color: inherit;
  border: 1px solid rgba(255, 255, 255, .28); border-radius: var(--radius-s);
  padding: 8px 12px; font-family: var(--font-display); font-size: .88rem; cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: .96rem; letter-spacing: -.01em;
  padding: 13px 22px; border-radius: var(--radius-s); text-decoration: none; border: 1px solid transparent;
  background: var(--signal); color: var(--ink-950); cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.btn:hover { background: #f5b358; }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .34); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .6); }
.btn-outline { background: transparent; color: var(--ink-900); border-color: var(--line-strong); }
.btn-outline:hover { background: var(--white); border-color: var(--ink-700); }
.btn-sm { padding: 9px 15px; font-size: .88rem; }

/* ---------- Breadcrumbs ---------- */
.crumbs { color: rgba(255, 255, 255, .62); }
.crumbs ol {
  list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap;
  gap: 6px; font-family: var(--font-display); font-size: .83rem;
}
.crumbs li::after { content: "/"; margin-left: 6px; color: rgba(255, 255, 255, .3); }
.crumbs li:last-child::after { content: none; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--signal); text-decoration: underline; }
.crumbs [aria-current] { color: rgba(255, 255, 255, .95); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background: var(--ink-900);
  padding: 34px 0 96px;
}
.hero::before {
  /* blueprint grid — the measurement metaphor, kept very quiet */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 90% at 78% 0%, #000 10%, transparent 72%);
}
.hero::after {
  content: ""; position: absolute; width: 620px; height: 620px; right: -180px; top: -300px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(233, 161, 59, .3), rgba(233, 161, 59, 0) 62%);
}
.hero > .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center; margin-top: 34px; }

.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-size: .84rem; font-weight: 500;
  color: var(--signal); margin-bottom: 18px;
}
.kicker::before { content: ""; width: 22px; height: 1px; background: var(--signal); }

.hero h1 { font-size: var(--step-4); font-weight: 700; letter-spacing: -.03em; max-width: 19ch; }
.hero-sub { margin-top: 20px; font-size: var(--step-1); color: rgba(255, 255, 255, .78); max-width: 46ch; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-meta {
  margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 22px;
  font-family: var(--font-display); font-size: .84rem; color: rgba(255, 255, 255, .58);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--signal); }

/* Readout — the one bold element on the page */
.readout {
  background: linear-gradient(170deg, #143049, #0a1a2a);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-panel);
  padding: 26px;
}
.readout-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, .12);
  font-family: var(--font-display);
}
.readout-head h2 { font-size: .96rem; font-weight: 600; letter-spacing: -.01em; }
.readout-head span { font-size: .78rem; color: rgba(255, 255, 255, .5); }

.gauge { display: flex; align-items: center; gap: 20px; padding: 22px 0 20px; }
.gauge-dial { position: relative; flex: 0 0 auto; width: 148px; height: 148px; }
.gauge-dial svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge-track { stroke: rgba(255, 255, 255, .1); }
.gauge-fill { stroke: var(--signal); stroke-linecap: round; }
.gauge-fill.is-rival { stroke: #a7bcce; }
.gauge-center {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center;
  font-family: var(--font-display); max-width: 78px; margin-inline: auto;
}
.gauge-center strong { display: block; font-size: 1.55rem; font-weight: 700; letter-spacing: -.04em; font-variant-numeric: tabular-nums; line-height: 1; }
.gauge-center em { display: block; font-style: normal; font-size: .68rem; color: rgba(255, 255, 255, .58); margin-top: 3px; }
.gauge-copy { font-family: var(--font-display); font-size: .9rem; line-height: 1.5; color: rgba(255, 255, 255, .72); }
.gauge-copy b { display: block; color: var(--white); font-size: 1rem; margin-bottom: 5px; font-weight: 600; }

.readout-rows { display: grid; gap: 1px; background: rgba(255, 255, 255, .11); border-radius: var(--radius-m); overflow: hidden; }
.readout-row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: #0f2438; padding: 14px 16px; font-family: var(--font-display); font-size: .92rem;
}
.readout-row .who { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.readout-row .swatch { width: 10px; height: 10px; border-radius: 2px; background: var(--slate-400); }
.readout-row.is-brand .swatch { background: var(--signal); }
.readout-row .val { font-size: .86rem; color: rgba(255, 255, 255, .62); text-align: right; }
.readout-row.is-brand .val { color: var(--signal); }

/* ---------- Answer box (featured-snippet target) ---------- */
.answer {
  position: relative; z-index: 2; margin-top: -60px; margin-bottom: 56px;
  background: var(--white); border: 1px solid var(--line);
  border-left: 5px solid var(--signal); border-radius: var(--radius-m);
  box-shadow: var(--shadow-lift); padding: 28px 30px;
}
.answer-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 20px 44px; }
.answer h2 { font-size: var(--step-1); margin-bottom: 16px; grid-column: 1 / -1; }
.answer p { max-width: 68ch; }
.answer-facts {
  margin: 0; padding-left: 26px; border-left: 1px solid var(--line);
  display: grid; gap: 12px; align-content: start;
  font-family: var(--font-display); font-size: .86rem; color: var(--slate-500);
}
.answer-facts > span { display: block; }
.answer-facts b { display: block; color: var(--ink-900); font-weight: 600; font-size: .95rem; margin-top: 1px; }

/* ---------- Page layout ---------- */
.layout { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 60px; align-items: start; padding-bottom: 88px; }

.toc { position: sticky; top: 88px; }
.toc-head {
  font-family: var(--font-display); font-size: .78rem; font-weight: 600;
  color: var(--slate-500); padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.toc-list { list-style: none; margin: 0; padding: 10px 0 0; }
.toc-list a {
  display: block; padding: 7px 0 7px 14px; border-left: 2px solid var(--line);
  font-family: var(--font-display); font-size: .89rem; color: var(--slate-600); text-decoration: none;
  transition: color .14s ease, border-color .14s ease;
}
.toc-list a:hover { color: var(--ink-900); border-color: var(--line-strong); }
.toc-list a[aria-current="true"] { color: var(--ink-900); font-weight: 600; border-color: var(--signal); }
.toc-cta { margin-top: 20px; width: 100%; }
.toc-note { margin-top: 12px; font-family: var(--font-display); font-size: .76rem; color: var(--slate-500); line-height: 1.45; }

/* ---------- Sections ---------- */
.section { padding-top: 12px; margin-bottom: 58px; }
.section > h2 { font-size: var(--step-2); max-width: 30ch; }
.section-lede { margin-top: 14px; max-width: 70ch; color: var(--slate-600); }
.section-body { margin-top: 18px; max-width: 72ch; }
.section-body p + p { margin-top: 0; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0 0 22px; }

.note {
  background: var(--signal-050); border: 1px solid #f0dcb6; border-radius: var(--radius-s);
  padding: 14px 18px; font-size: .95rem; margin: 22px 0; color: #6d4a13;
}
.footnote { font-size: .87rem; color: var(--slate-500); margin-top: 16px; }

/* ---------- Pillars (hairline grid, not cards) ---------- */
.pillars {
  margin-top: 30px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden;
}
.pillar { background: var(--white); padding: 24px; }
.pillar-icon { color: var(--signal-700); width: 26px; height: 26px; margin-bottom: 14px; }
.pillar-icon svg { width: 100%; height: 100%; }
.pillar h3 { font-size: 1.02rem; margin-bottom: 8px; }
.pillar p { font-size: .94rem; color: var(--slate-600); line-height: 1.6; }

/* ---------- Teams banner ---------- */
.teams {
  background: var(--ink-800); color: var(--white); border-radius: var(--radius-m);
  padding: 30px 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-bottom: 58px;
  border-left: 5px solid var(--signal);
}
.teams > div { flex: 1 1 340px; }
.teams h2 { font-size: var(--step-1); margin-bottom: 8px; }
.teams p { color: rgba(255, 255, 255, .76); font-size: .97rem; max-width: 62ch; }

/* ---------- Comparison matrix ---------- */
.matrix-wrap {
  margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius-m);
  background: var(--white); overflow: hidden;
}
.matrix-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.matrix { min-width: 560px; font-size: .96rem; }
/* Round-up table: many providers, so give it real width and let it scroll. */
.matrix--wide { min-width: 900px; }
.matrix--wide th[scope="row"] { width: auto; min-width: 210px; }
.matrix--wide th, .matrix--wide td { padding: 14px 16px; }
.matrix caption { text-align: left; padding: 18px 22px 0; font-family: var(--font-display); font-size: .84rem; color: var(--slate-500); caption-side: top; }
.matrix th, .matrix td { padding: 15px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.matrix thead th {
  position: sticky; top: 60px; z-index: 5; background: var(--paper-2);
  font-family: var(--font-display); font-size: .83rem; font-weight: 600; color: var(--slate-600);
  border-bottom: 1px solid var(--line-strong); white-space: nowrap;
}
.matrix thead th.is-brand { background: var(--ink-900); color: var(--white); }
.matrix thead th.is-baseline { background: var(--ink-700); color: rgba(255, 255, 255, .92); }
.matrix thead th small { display: block; font-weight: 400; font-size: .72rem; opacity: .72; }
.scroll-hint {
  font-family: var(--font-display); font-size: .8rem; color: var(--slate-500);
  margin-top: 10px; display: flex; align-items: center; gap: 8px;
}
.matrix tbody tr:last-child th, .matrix tbody tr:last-child td { border-bottom: 0; }
.matrix tbody tr:nth-child(even) td, .matrix tbody tr:nth-child(even) th { background: #fafbfb; }
.matrix th[scope="row"] { font-family: var(--font-body); font-weight: 400; color: var(--ink-900); width: 42%; }
.matrix td.is-brand { background: var(--signal-050) !important; box-shadow: inset 3px 0 0 var(--signal), inset -3px 0 0 var(--signal); }

.status { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-size: .9rem; }
.status .mark {
  flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%;
  display: inline-grid; place-content: center;
}
.status .mark svg { width: 12px; height: 12px; }
.status.check .mark { background: var(--verify-050); color: var(--verify); }
.status.cross .mark { background: var(--paper-2); color: var(--slate-500); }
.status.partial .mark { background: #fdf0da; color: var(--signal-700); }
.status.cross { color: var(--slate-500); }
.status.unknown .mark { background: var(--paper-2); color: var(--slate-400); }
.status.unknown { color: var(--slate-400); }
.status:not(.text) { white-space: nowrap; }
.status.text { font-family: var(--font-body); font-size: .95rem; }

.mid-cta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px; justify-content: space-between;
  margin-top: 26px; padding: 22px 24px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-m);
}
.mid-cta p { font-family: var(--font-display); font-size: 1rem; font-weight: 600; max-width: 46ch; }

/* ---------- Pricing ---------- */
.plans { margin-top: 26px; display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
.plan {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m);
  padding: 26px; display: flex; flex-direction: column;
}
.plan.is-brand { border-color: var(--ink-900); border-width: 2px; box-shadow: var(--shadow-lift); position: relative; }
.plan.is-brand::before {
  content: "Edureify"; position: absolute; top: -11px; left: 22px;
  background: var(--signal); color: var(--ink-950); font-family: var(--font-display);
  font-size: .74rem; font-weight: 700; padding: 3px 10px; border-radius: 99px;
}
.plan-name { font-family: var(--font-display); font-size: .92rem; font-weight: 600; color: var(--slate-600); }
.plan-price {
  font-family: var(--font-display); font-size: var(--step-2); font-weight: 700;
  letter-spacing: -.035em; margin: 8px 0 14px; font-variant-numeric: tabular-nums;
}
.plan.is-brand .plan-price { color: var(--signal-700); }
.plan p { font-size: .95rem; color: var(--slate-600); }
.plan-access {
  margin-top: auto; padding-top: 18px; display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: .84rem; color: var(--slate-600);
}
.plan-access .tag { background: var(--paper-2); border-radius: 99px; padding: 4px 11px; }
.plan.is-brand .plan-access .tag { background: var(--signal-050); color: var(--signal-700); }

/* ---------- Split panels (outcomes / experience) ---------- */
.split { margin-top: 26px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 26px; }
.panel.is-brand { border-top: 3px solid var(--signal); }
.panel > h3 { font-size: 1.08rem; padding-bottom: 14px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }

.stat { padding: 16px 0; border-bottom: 1px solid var(--line); }
.stat:last-child { border-bottom: 0; padding-bottom: 0; }
.stat-label { font-family: var(--font-display); font-size: .82rem; color: var(--slate-500); }
.stat-value {
  font-family: var(--font-display); font-size: 1.45rem; font-weight: 700;
  letter-spacing: -.03em; margin: 2px 0 6px; font-variant-numeric: tabular-nums;
}
.panel.is-brand .stat-value { color: var(--signal-700); }
.stat p { font-size: .93rem; color: var(--slate-600); line-height: 1.6; }

.ux { padding: 16px 0; border-bottom: 1px solid var(--line); }
.ux:last-child { border-bottom: 0; padding-bottom: 0; }
.ux h4 { font-size: 1rem; margin-bottom: 6px; }
.ux p { font-size: .93rem; color: var(--slate-600); line-height: 1.6; }

/* ---------- FAQ ---------- */
.faq { margin-top: 22px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 44px 18px 0; position: relative;
  font-family: var(--font-display); font-size: 1.04rem; font-weight: 600; letter-spacing: -.015em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 11px; height: 11px;
  border-right: 2px solid var(--signal-700); border-bottom: 2px solid var(--signal-700);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-item summary:hover { color: var(--signal-700); }
.faq-answer { padding: 0 8% 22px 0; max-width: 74ch; color: var(--slate-600); }

/* ---------- Verdict ---------- */
.verdict {
  background: var(--ink-900); color: var(--white); border-radius: var(--radius-l);
  padding: 44px 46px; margin-bottom: 58px; position: relative; overflow: hidden;
}
.verdict::after {
  content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px;
  border-radius: 50%; background: radial-gradient(circle, rgba(233, 161, 59, .22), transparent 62%);
}
.verdict > * { position: relative; z-index: 1; }
.verdict h2 { font-size: var(--step-2); margin-bottom: 18px; max-width: 30ch; }
.verdict p { color: rgba(255, 255, 255, .8); max-width: 70ch; }
.verdict .btn { margin-top: 26px; }

/* ---------- Related ---------- */
.related { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.related-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m);
  padding: 22px; text-decoration: none; display: block;
  transition: border-color .16s ease, transform .16s ease;
}
.related-card:hover { border-color: var(--ink-700); transform: translateY(-2px); }
.related-card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.related-card p {
  font-size: .91rem; color: var(--slate-600); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.related-card .go { display: inline-block; margin-top: 12px; font-family: var(--font-display); font-size: .85rem; font-weight: 600; color: var(--signal-700); }

/* ==========================================================================
   Alternatives page
   ========================================================================== */
.pick {
  margin-top: 26px; background: var(--white); border: 2px solid var(--ink-900);
  border-radius: var(--radius-l); padding: 30px 32px; box-shadow: var(--shadow-lift);
  display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 24px; align-items: start;
}
.rank {
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -.04em;
  width: 74px; height: 74px; border-radius: 50%; display: grid; place-content: center;
  background: var(--signal); color: var(--ink-950); font-variant-numeric: tabular-nums;
}
.rank.is-alt { background: var(--paper-2); color: var(--slate-600); font-size: 1.25rem; width: 56px; height: 56px; }
.pick h3 { font-size: var(--step-1); }
.pick-role { font-family: var(--font-display); font-size: .85rem; color: var(--signal-700); font-weight: 600; margin-bottom: 6px; }
.pick p { margin-top: 10px; max-width: 70ch; color: var(--slate-600); }
.pick-points { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.pick-points li { display: flex; gap: 10px; font-size: .95rem; align-items: flex-start; }
.pick-points svg { flex: 0 0 auto; width: 17px; height: 17px; margin-top: 5px; color: var(--verify); }
.pick-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.alt-list { margin-top: 22px; display: grid; gap: 16px; }
.alt {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m);
  padding: 24px 26px; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 22px; align-items: start;
}
.alt h3 { font-size: 1.16rem; }
.alt-best { font-family: var(--font-display); font-size: .84rem; color: var(--slate-500); margin: 4px 0 10px; }
.alt p { font-size: .96rem; color: var(--slate-600); max-width: 70ch; }
.alt-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tagline-chip {
  font-family: var(--font-display); font-size: .8rem; background: var(--paper-2);
  border-radius: 99px; padding: 5px 12px; color: var(--slate-600);
}
.alt-link { display: inline-block; margin-top: 16px; font-family: var(--font-display); font-size: .89rem; font-weight: 600; color: var(--signal-700); }

.method { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 28px 30px; margin-top: 24px; }
.method ol { margin: 16px 0 0; padding-left: 20px; }
.method li { margin-bottom: 10px; color: var(--slate-600); }
.byline {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 20px;
  padding-top: 18px; border-top: 1px solid var(--line);
  font-family: var(--font-display); font-size: .85rem; color: var(--slate-500);
}
.byline b { color: var(--ink-900); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-950); color: rgba(255, 255, 255, .62); padding: 46px 0 40px; font-size: .9rem; }
.footer-top { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; padding-bottom: 26px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-top strong { font-family: var(--font-display); color: var(--white); font-size: 1.05rem; display: block; margin-bottom: 8px; }
.footer-top p { max-width: 46ch; font-size: .9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: var(--font-display); font-size: .88rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--signal); }
.footer-legal { padding-top: 22px; font-size: .84rem; color: rgba(255, 255, 255, .45); max-width: 90ch; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .layout { grid-template-columns: 1fr; gap: 0; }
  .toc { position: static; margin-bottom: 40px; padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); }
  .toc-list { display: flex; flex-wrap: wrap; gap: 4px 6px; }
  .toc-list a { border-left: 0; border-bottom: 2px solid var(--line); padding: 6px 10px; }
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero h1 { max-width: 20ch; }
  .split, .pillars { grid-template-columns: 1fr; }
  .answer-grid { grid-template-columns: 1fr; gap: 18px; }
  .answer-facts {
    padding-left: 0; padding-top: 18px; border-left: 0; border-top: 1px solid var(--line);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .masthead-nav {
    display: none; position: absolute; top: 60px; left: 0; right: 0;
    background: var(--ink-900); flex-direction: column; align-items: stretch;
    padding: 12px; gap: 2px; border-bottom: 1px solid rgba(255, 255, 255, .12);
  }
  .masthead-nav.is-open { display: flex; }
  .masthead-nav .btn { margin: 8px 0 0; }
  .nav-toggle { display: inline-flex; }
  .matrix thead th { top: 0; }
}
@media (max-width: 620px) {
  :root { --gutter: 18px; }
  .hero { padding-bottom: 76px; }
  .answer { margin-top: -48px; padding: 22px; }
  .answer-facts { grid-template-columns: 1fr; }
  .verdict { padding: 32px 24px; }
  .pick { grid-template-columns: 1fr; gap: 16px; }
  .alt { grid-template-columns: 1fr; gap: 12px; }
  .teams { padding: 24px; }
  .related { grid-template-columns: 1fr; }
  .gauge { flex-direction: column; align-items: flex-start; gap: 16px; }
  .gauge-dial { width: 124px; height: 124px; }
  .hero-actions .btn, .pick-actions .btn { flex: 1 1 100%; }
  .mid-cta { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---------- Print ---------- */
@media print {
  .masthead, .toc, .hero::after, .mid-cta, .site-footer { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .hero, .verdict, .teams { background: #fff !important; color: #000 !important; }
  .faq-answer { display: block !important; }
  .layout { grid-template-columns: 1fr; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}
