:root {
  --ink: #15201f;
  --muted: #5d6966;
  --paper: #f8f6f0;
  --white: #fffefa;
  --line: #d9ded9;
  --accent: #db5b3f;
  --accent-dark: #b83f29;
  --green: #173f3a;
  --mint: #dbe8df;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.shell { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

.hero {
  min-height: 760px;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 76% 20%, rgba(111, 185, 160, .22), transparent 25%),
    linear-gradient(135deg, #102724 0%, #173f3a 62%, #24534b 100%);
}
.nav { height: 82px; display: flex; align-items: center; justify-content: space-between; }
.brand { font-family: Manrope, sans-serif; font-weight: 800; text-decoration: none; letter-spacing: -.03em; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: #dce9e4; text-decoration: none; font-size: .94rem; }
.nav-links a:hover { color: white; }
.hero-grid { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 64px; padding: 68px 0 100px; }
.eyebrow, .section-kicker { margin: 0 0 14px; color: #8fd0bb; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { font-family: Manrope, sans-serif; line-height: 1.12; letter-spacing: -.04em; }
h1 { max-width: 700px; margin: 0; font-size: clamp(3rem, 5.6vw, 5.3rem); }
h2 { margin: 0; font-size: clamp(2rem, 3.7vw, 3.6rem); }
h3 { margin: 8px 0; font-size: 1.25rem; }
.authors { max-width: 660px; margin-top: 24px; }
.author-names { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 9px; font-family: Manrope, sans-serif; font-size: 1.08rem; font-weight: 700; }
.authors sup { color: #9fd8c5; font-size: .66em; }
.affiliations, .author-notes { margin: 3px 0; color: #b9cec7; font-size: .82rem; line-height: 1.45; }
.author-notes a { color: #f2a38f; text-underline-offset: 3px; }
.lede { max-width: 620px; margin: 26px 0 30px; color: #d9e6e1; font-size: 1.15rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { padding: 12px 19px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: .2s ease; }
.button.primary { color: white; background: var(--accent); }
.button.primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.button.secondary { border: 1px solid rgba(255,255,255,.35); }
.button.secondary:hover { border-color: white; background: rgba(255,255,255,.08); }
.meta { margin-top: 22px; color: #9eb9b1; font-size: .9rem; }
.hero-figure { margin: 0; padding: 12px; color: #bacdc7; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 24px; box-shadow: 0 30px 80px rgba(0,0,0,.27); transform: rotate(1deg); }
.hero-figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 15px; }
figcaption { padding: 9px 5px 1px; font-size: .84rem; }

.section { padding-block: 110px; }
.intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.intro .section-kicker, .section-heading .section-kicker, .citation .section-kicker, .conclusion .section-kicker { color: var(--accent); }
.intro > p { margin: 6px 0 0; color: var(--muted); font-size: 1.16rem; }
.tinted { background: var(--paper); border-block: 1px solid #ece9e0; }
.section-heading { max-width: 780px; margin-bottom: 50px; }
.section-heading > p:last-child { max-width: 650px; color: var(--muted); font-size: 1.08rem; }
.method-figure { margin: 0; padding: 24px; background: white; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 16px 50px rgba(31, 48, 44, .07); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 22px; }
.steps article { min-height: 210px; padding: 24px; background: white; border: 1px solid var(--line); border-radius: 18px; }
.steps span { color: var(--accent); font-family: Manrope, sans-serif; font-size: .78rem; font-weight: 800; }
.steps p { margin: 0; color: var(--muted); font-size: .94rem; }
.narrow { max-width: 700px; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.video-card { overflow: hidden; background: var(--paper); border: 1px solid #e6e3da; border-radius: 20px; }
.video-card video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #101d1b; object-fit: cover; }
.video-card > div { padding: 20px 21px 23px; }
.video-card span, .result-title > span { color: var(--accent); font-family: Manrope, sans-serif; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.video-card h3 { margin-top: 6px; }
.video-card p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.5; }

.results-section { background: var(--paper); border-block: 1px solid #ece9e0; }
.result-block { margin-top: 22px; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 20px; }
.result-title { padding: 24px 26px 18px; }
.result-title h3 { margin: 5px 0; font-size: 1.38rem; }
.result-title p { margin: 0; color: var(--muted); font-size: .93rem; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; white-space: nowrap; font-size: .87rem; font-variant-numeric: tabular-nums; }
.wide-table { min-width: 1280px; }
.handoff-table { min-width: 850px; }
.data-table th, .data-table td { padding: 12px 15px; border-top: 1px solid #e7eae6; text-align: right; }
.data-table thead th { color: #dfece7; background: var(--green); border-color: rgba(255,255,255,.13); font-weight: 600; }
.data-table thead tr:first-child th { text-align: center; }
.data-table thead th:first-child, .data-table tbody th { position: sticky; left: 0; z-index: 1; text-align: left; }
.data-table thead th:first-child { z-index: 2; }
.data-table tbody th { color: var(--ink); background: white; }
.data-table tbody tr:nth-child(even) td, .data-table tbody tr:nth-child(even) th { background: #faf9f5; }
.data-table .best { color: var(--accent-dark); background: #fff1ec !important; font-weight: 800; }
.data-table .average td, .data-table .average th { border-top: 2px solid var(--green); font-weight: 700; }
.data-table .featured td, .data-table .featured th { color: #0e594b; background: #e7f3ed !important; font-weight: 800; }
.data-table .group-row th { position: static; color: var(--muted); background: #eeece4 !important; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.conclusion { color: white; background: var(--green); }
.conclusion-card { max-width: 900px; text-align: center; }
.conclusion-card p:not(.section-kicker) { max-width: 720px; margin: 22px auto; color: #d3e0dc; font-size: 1.1rem; }
.text-link { color: #f6a693; font-weight: 700; text-decoration: none; }
.citation { display: grid; grid-template-columns: .5fr 1.5fr; gap: 42px; align-items: start; }
pre { margin: 0; padding: 24px; overflow-x: auto; color: #dbe8e3; background: #1a2927; border-radius: 15px; font-size: .9rem; }
.citation-note { grid-column: 2; margin: -24px 0 0; color: var(--muted); font-size: .9rem; }
footer { color: #96aaa4; background: #101d1b; }
.footer-inner { display: flex; justify-content: space-between; padding-block: 32px; font-size: .88rem; }

@media (max-width: 850px) {
  .hero { min-height: auto; }
  .hero-grid, .intro, .citation { grid-template-columns: 1fr; }
  .hero-grid { gap: 42px; padding-top: 42px; }
  .intro { gap: 30px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .result-grid { grid-template-columns: 1fr; gap: 0; }
  .citation-note { grid-column: 1; margin-top: -22px; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 28px, 1120px); }
  .nav-links { display: none; }
  .hero-grid { padding-bottom: 70px; }
  .section { padding-block: 76px; }
  .steps { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .steps article { min-height: auto; }
  .method-figure { padding: 9px; border-radius: 14px; }
  .footer-inner { flex-direction: column; gap: 5px; }
}
