:root {
  color-scheme: dark;
  --ink: #f3f8f6;
  --muted: #9eb2ac;
  --dim: #6e827c;
  --surface: rgba(10, 31, 28, .78);
  --surface-solid: #0a201d;
  --surface-2: #102b27;
  --line: rgba(188, 241, 224, .13);
  --line-strong: rgba(188, 241, 224, .24);
  --mint: #55e6c1;
  --mint-deep: #20b993;
  --gold: #f6c55c;
  --coral: #ff746c;
  --bg: #03100e;
  --radius: 20px;
  --shadow: 0 24px 80px rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 82% 5%, rgba(85, 230, 193, .11), transparent 31rem),
    radial-gradient(circle at 8% 24%, rgba(246, 197, 92, .07), transparent 26rem),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--mint); text-underline-offset: .18em; }
a:hover { color: #91f5dc; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-180%);
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(3, 16, 14, .84);
  backdrop-filter: blur(18px);
}

.nav-inner {
  width: min(1180px, calc(100% - 36px));
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -.04em;
  font-size: 1.08rem;
}
.brand-mark { color: var(--mint); }

.nav-links { display: flex; align-items: center; gap: 18px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .88rem; font-weight: 700; }
.nav-links a:hover { color: var(--ink); }
.nav-links .nav-cta {
  padding: 8px 13px;
  border: 1px solid rgba(85, 230, 193, .35);
  border-radius: 999px;
  color: var(--mint);
  background: rgba(85, 230, 193, .07);
}

.page-shell { width: min(1180px, calc(100% - 36px)); margin: 0 auto; padding: 70px 0 100px; }
.article-shell { width: min(920px, 100%); margin: 0 auto; }

.breadcrumb { margin: 0 0 30px; color: var(--dim); font-size: .82rem; }
.breadcrumb a { color: var(--muted); text-decoration: none; }

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr);
  gap: 28px;
  align-items: stretch;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(15, 44, 39, .93), rgba(6, 24, 21, .86));
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -220px;
  top: -230px;
  border: 1px solid rgba(85, 230, 193, .16);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(85, 230, 193, .025), 0 0 0 120px rgba(85, 230, 193, .018);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 17px;
  color: var(--mint);
  font-size: .74rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }

h1, h2, h3 { line-height: 1.16; letter-spacing: -.035em; }
h1 { max-width: 16ch; margin: 0; font-size: clamp(2.3rem, 6vw, 5rem); font-weight: 900; }
h2 { margin: 58px 0 18px; font-size: clamp(1.65rem, 4vw, 2.45rem); }
h3 { margin: 28px 0 10px; font-size: 1.15rem; }

.hero-lead { max-width: 68ch; margin: 22px 0 0; color: #c7d9d3; font-size: clamp(1rem, 2vw, 1.18rem); }
.study-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 24px; color: var(--muted); font-size: .82rem; }

.hero-proof {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  padding: 24px;
  border: 1px solid rgba(85, 230, 193, .23);
  border-radius: 22px;
  background: rgba(3, 16, 14, .52);
}
.proof-kicker { color: var(--gold); font-size: .7rem; font-weight: 900; text-transform: uppercase; letter-spacing: .14em; }
.proof-number { margin: 12px 0 2px; font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 950; line-height: 1; letter-spacing: -.055em; }
.proof-unit { color: var(--muted); font-size: .9rem; }
.proof-mini { padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }

.proof-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.proof-label::before { content: "✓"; display: grid; place-items: center; width: 21px; height: 21px; border: 1px solid currentColor; border-radius: 50%; }

.answer-box, .proof-panel, .method-panel, .note-panel {
  margin: 34px 0;
  padding: clamp(22px, 4vw, 34px);
  border-radius: var(--radius);
}
.answer-box { border: 1px solid rgba(246, 197, 92, .26); background: rgba(246, 197, 92, .06); }
.answer-box h2, .proof-panel h2, .method-panel h2 { margin-top: 0; }
.answer-box p:last-child, .proof-panel p:last-child, .method-panel p:last-child { margin-bottom: 0; }

.proof-panel {
  border: 1px solid rgba(85, 230, 193, .34);
  background: linear-gradient(145deg, rgba(85, 230, 193, .085), rgba(85, 230, 193, .025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}
.method-panel { border: 1px solid var(--line); background: var(--surface); }
.note-panel { border-left: 3px solid var(--coral); background: rgba(255, 116, 108, .06); color: #d4c3c0; }

p { color: #b8cac4; margin: 0 0 18px; }
strong { color: var(--ink); }
.lede { font-size: 1.08rem; color: #cedbd7; }
.fine-print { color: var(--dim); font-size: .82rem; }

.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 30px 0 40px; }
.stat-card {
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
.stat-card .label { color: var(--muted); font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.stat-card .value { margin: 12px 0 5px; color: var(--ink); font-size: clamp(1.75rem, 4vw, 2.65rem); font-weight: 950; line-height: 1; letter-spacing: -.05em; }
.stat-card .detail { color: var(--dim); font-size: .8rem; }

.table-wrap { overflow-x: auto; margin: 22px 0 38px; border: 1px solid var(--line); border-radius: 18px; background: rgba(7, 26, 23, .72); }
table { width: 100%; border-collapse: collapse; min-width: 700px; font-variant-numeric: tabular-nums; }
caption { padding: 16px 18px; color: var(--muted); text-align: left; font-size: .82rem; border-bottom: 1px solid var(--line); }
th, td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: right; font-size: .86rem; }
th { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; background: rgba(255, 255, 255, .018); }
th:first-child, td:first-child { text-align: left; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(85, 230, 193, .035); }
.top-row td { color: #dffdf5; background: rgba(85, 230, 193, .045); }
.rank-chip { display: inline-block; margin-left: 7px; padding: 2px 7px; border-radius: 999px; background: rgba(85, 230, 193, .11); color: var(--mint); font-size: .64rem; font-weight: 900; text-transform: uppercase; }

.bar-list { display: grid; gap: 14px; margin: 24px 0 36px; }
.bar-row { display: grid; grid-template-columns: minmax(160px, 1fr) minmax(180px, 2.2fr) auto; gap: 16px; align-items: center; }
.bar-label { color: #c8dad4; font-size: .84rem; }
.bar-track { height: 12px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, .055); }
.bar-fill { width: var(--bar); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--mint-deep), var(--mint)); box-shadow: 0 0 22px rgba(85, 230, 193, .22); }
.bar-value { color: var(--ink); font-size: .82rem; font-weight: 850; font-variant-numeric: tabular-nums; }

.method-grid, .proof-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin-top: 22px; }
.method-item, .proof-item { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(0, 0, 0, .09); }
.method-item dt, .proof-item dt { margin-bottom: 5px; color: var(--muted); font-size: .7rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.method-item dd, .proof-item dd { margin: 0; color: #d4e2de; font-size: .87rem; overflow-wrap: anywhere; }
code { color: #b9f8e8; font-family: "SFMono-Regular", Consolas, monospace; font-size: .78em; }

.takeaways { display: grid; gap: 12px; counter-reset: takeaway; margin: 24px 0 38px; padding: 0; list-style: none; }
.takeaways li { position: relative; padding: 18px 18px 18px 56px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255, 255, 255, .018); color: #b9cbc5; }
.takeaways li::before { counter-increment: takeaway; content: counter(takeaway); position: absolute; left: 17px; top: 17px; display: grid; place-items: center; width: 25px; height: 25px; border-radius: 8px; background: rgba(246, 197, 92, .12); color: var(--gold); font-size: .75rem; font-weight: 900; }

.cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: center;
  margin: 56px 0;
  padding: clamp(25px, 5vw, 42px);
  border: 1px solid rgba(85, 230, 193, .25);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(85, 230, 193, .1), rgba(7, 30, 26, .86));
}
.cta-panel h2 { margin: 0 0 8px; font-size: 1.55rem; }
.cta-panel p { margin: 0; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: var(--mint);
  color: #022119;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 950;
  box-shadow: 0 12px 30px rgba(32, 185, 147, .19);
}
.button:hover { color: #011610; background: #8af1d8; }
.button.secondary { border-color: var(--line-strong); background: transparent; color: var(--ink); box-shadow: none; }

.faq-list { display: grid; gap: 12px; margin: 24px 0; }
details { padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .018); }
summary { cursor: pointer; color: var(--ink); font-weight: 800; }
details p { margin: 13px 0 0; }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related-card { display: block; padding: 19px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255, 255, 255, .018); color: var(--ink); text-decoration: none; }
.related-card span { display: block; margin-top: 6px; color: var(--dim); font-size: .77rem; }
.related-card:hover { border-color: rgba(85, 230, 193, .3); background: rgba(85, 230, 193, .035); }

.page-footer { margin-top: 80px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--dim); font-size: .78rem; }
.page-footer nav { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 12px; }

/* Evidence Lab */
.lab-hero h1 { max-width: 13ch; }
.lab-controls { margin: 34px 0 22px; padding: 8px; display: flex; flex-wrap: wrap; gap: 7px; border: 1px solid var(--line); border-radius: 16px; background: rgba(3, 16, 14, .6); }
.pair-tab { min-height: 42px; padding: 0 17px; border: 1px solid transparent; border-radius: 11px; background: transparent; color: var(--muted); font: inherit; font-size: .82rem; font-weight: 850; cursor: pointer; }
.pair-tab:hover { color: var(--ink); background: rgba(255, 255, 255, .035); }
.pair-tab[aria-selected="true"] { border-color: rgba(85, 230, 193, .28); background: rgba(85, 230, 193, .1); color: var(--mint); }
.lab-status { min-height: 1.5em; color: var(--muted); font-size: .82rem; }
.lab-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.lab-card { padding: clamp(20px, 4vw, 30px); border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.lab-card h2 { margin: 0 0 7px; font-size: 1.35rem; }
.lab-card .bar-row { grid-template-columns: minmax(125px, 1fr) minmax(120px, 1.6fr) auto; }
.lab-finding { display: grid; gap: 11px; margin-top: 22px; }
.lab-finding div { padding: 15px; border: 1px solid var(--line); border-radius: 13px; background: rgba(0, 0, 0, .08); }
.lab-finding span { display: block; color: var(--dim); font-size: .7rem; text-transform: uppercase; font-weight: 850; letter-spacing: .07em; }
.lab-finding strong { display: block; margin-top: 4px; font-size: 1.08rem; }
.noscript-note { margin: 18px 0; padding: 14px 17px; border: 1px solid rgba(246, 197, 92, .25); border-radius: 12px; background: rgba(246, 197, 92, .06); color: #dbc992; }

@media (max-width: 820px) {
  .hero, .lab-grid { grid-template-columns: 1fr; }
  .hero-proof { min-height: 220px; }
  .stat-grid, .related-grid { grid-template-columns: 1fr 1fr; }
  .cta-panel { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .page-shell { width: min(100% - 24px, 1180px); padding-top: 35px; }
  .nav-inner { width: calc(100% - 24px); }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { padding: 25px 20px; border-radius: 22px; }
  h1 { font-size: clamp(2.15rem, 12vw, 3.4rem); }
  .stat-grid, .related-grid, .method-grid, .proof-grid { grid-template-columns: 1fr; }
  .bar-row, .lab-card .bar-row { grid-template-columns: 1fr auto; gap: 7px 12px; }
  .bar-track { grid-column: 1 / -1; grid-row: 2; }
  .bar-value { grid-column: 2; grid-row: 1; }
  .cta-panel .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
