@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url("fonts/poppins-700.woff2") format("woff2"); }
@font-face { font-family: "Playfair"; font-weight: 800; font-display: swap; src: url("fonts/playfair-800.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --navy: #00398C;
  --navy-deep: #002A68;
  --navy-soft: #CFDDF2;
  --ink: #1F2D3D;
  --muted: #55606C;
  --panel: #F4F7FB;
  --line: #E1E6EC;
  --track: #E6EAEF;
  --series-blue: #1C6FA6;
  --series-red: #B03A2E;
  --series-grey: #A9B2BB;
  --focus: #E9A23B;
  --radius-card: 14px;
  --radius-btn: 10px;
  --radius-panel: 12px;
  --serif: "Playfair", Georgia, "Times New Roman", serif;
  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #fff; color: var(--ink); font: 400 1rem/1.6 var(--sans); }
h1, h2, h3 { font-family: var(--serif); font-weight: 800; margin: 0; text-wrap: balance; font-variant-numeric: lining-nums; color: var(--navy); }
h4 { margin: 0; }
p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--navy); text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
sup { line-height: 0; }
[id] { scroll-margin-top: 16px; }
.nb { white-space: nowrap; }
.wrap { width: min(100% - 32px, 1040px); margin-inline: auto; }
.eyebrow { font-weight: 700; font-size: .8125rem; line-height: 1.4; color: var(--series-blue); margin-bottom: 8px; }
.section-title { font-size: 1.625rem; line-height: 1.15; }

/* Buttons */
.btn { display: block; width: 100%; min-height: 52px; padding: 14px 20px; border: 0; border-radius: var(--radius-btn); background: var(--navy); color: #fff; font: 700 1rem/1.25 var(--sans); text-align: center; text-decoration: none; text-wrap: balance; transition: background-color .15s ease; }
.btn:hover { background: var(--navy-deep); }
.btn:active { transform: translateY(1px); }
.btn.secondary { background: #fff; color: var(--navy); border: 1.5px solid var(--navy); }
.btn.secondary:hover { background: var(--panel); }
.touch { display: inline-flex; align-items: center; min-height: 44px; }

/* Opening */
.hero { background: linear-gradient(var(--navy) calc(100% - 72px), #fff 0); color: #fff; padding-block: 6px 0; }
.lang { display: flex; justify-content: flex-end; gap: 4px; font-size: .875rem; font-weight: 500; }
.lang a, .lang span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; color: #fff; text-decoration: none; }
.lang span { background: rgba(255, 255, 255, .16); }
.lang a:hover { background: rgba(255, 255, 255, .1); }
.hero-grid { display: grid; gap: 24px; margin-top: 10px; }
.hero .eyebrow { color: #fff; font-size: .875rem; }
.hero h1 { color: #fff; font-size: clamp(2.125rem, 1.2rem + 4vw, 3.5rem); line-height: 1.1; }
.context { color: var(--navy-soft); margin-top: 14px; line-height: 1.55; }
.byline { color: var(--navy-soft); margin-top: 12px; font-size: .875rem; line-height: 1.45; }
.byline b { color: #fff; font-weight: 700; }
.to-results { color: #fff; font-weight: 500; font-size: .9375rem; margin-top: 2px; }

/* Call-out */
.callout { background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: 0 8px 24px rgba(0, 30, 80, .10); padding: 20px; }
.callout h2 { font-size: 1.375rem; line-height: 1.2; }
.callout p { margin-top: 10px; font-size: .9375rem; line-height: 1.55; }
.callout .btn { margin-top: 16px; }
.facts { display: flex; flex-wrap: wrap; gap: 0 8px; margin-top: 12px; font-size: .84375rem; line-height: 1.45; color: var(--muted); }
.facts li + li::before { content: "·"; margin-right: 8px; }
.callout .touch { font-size: .9rem; margin-top: 2px; }

/* The study */
section { padding-block: 48px; }
.study-grid { display: grid; gap: 24px; }
.lead { margin-top: 12px; }
.numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; font-size: .84375rem; line-height: 1.3; color: var(--muted); }
.numbers b { display: block; color: var(--ink); font-size: 1.1875rem; line-height: 1.2; margin-bottom: 2px; }
.panel { background: var(--panel); border-radius: var(--radius-panel); padding: 16px; min-width: 0; overflow: hidden; }
.chart-title { font-size: .84375rem; line-height: 1.45; color: var(--muted); margin-bottom: 14px; }
.waves svg { display: block; width: 100%; height: auto; overflow: visible; }
.waves path { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.waves .a { stroke: var(--series-blue); }
.waves .b { stroke: var(--series-red); }
.waves .base { stroke: #C6CED7; stroke-width: 1; }
.waves .mark { stroke: #AAB4BF; stroke-width: 1; stroke-dasharray: 3 3; }
.axis { position: relative; height: 22px; margin-top: 6px; font-size: .8125rem; color: var(--muted); }
.axis span { position: absolute; top: 0; white-space: nowrap; transform: translateX(-50%); }
.axis span:first-child { transform: none; }
.axis span:last-child { transform: translateX(-100%); }
.peaks { display: grid; gap: 6px; margin-top: 10px; font-size: .875rem; line-height: 1.35; }
.peaks li { position: relative; padding-left: 18px; }
.peaks li::before { content: ""; position: absolute; left: 0; top: .34em; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.pdf-link { margin-top: 4px; font-size: .9375rem; }

/* Findings */
.results { padding-top: 0; }
.chapter { margin-top: 48px; }
.question { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .9375rem; line-height: 1.35; color: var(--series-blue); margin-bottom: 10px; }
.question i { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font-style: normal; font-size: .875rem; }
.finding { display: grid; gap: 16px; align-items: center; }
.finding + .finding { margin-top: 32px; }
.finding h3 { font-size: 1.3125rem; line-height: 1.2; }
.finding .text { margin-top: 10px; color: var(--muted); font-size: .9375rem; line-height: 1.55; }
.note-line { margin-top: 12px; font-size: .84375rem; line-height: 1.45; color: var(--muted); }

/* Bars: label and value above, track below */
.bars { display: grid; gap: 14px; }
.bars li { font-size: .875rem; line-height: 1.35; }
.row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 5px; }
.row b { white-space: nowrap; font-size: 1rem; }
.track { position: relative; display: block; height: 14px; border-radius: 4px; background: var(--track); }
.track i { position: absolute; inset-block: 0; left: 0; min-width: 4px; border-radius: 0 4px 4px 0; background: var(--series-blue); }
.hot .track i { background: var(--series-red); }
.center .track::after { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; background: var(--ink); }
.center .neg .track i { border-radius: 4px 0 0 4px; }

/* Stacked bars */
.legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .84375rem; margin-bottom: 14px; }
.legend span::before { content: ""; display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; background: var(--c); }
.stack { display: grid; gap: 14px; }
.stack h4 { font: 500 .875rem/1.3 var(--sans); margin-bottom: 5px; }
.seg { display: flex; gap: 2px; height: 32px; }
.seg i { display: grid; place-items: center; min-width: 4px; overflow: hidden; font: 700 .8125rem var(--sans); color: #fff; font-style: normal; white-space: nowrap; }
.seg i:first-child { border-radius: 4px 0 0 4px; }
.seg i:last-child { border-radius: 0 4px 4px 0; }
.seg .s { background: var(--series-blue); }
.seg .m { background: var(--series-red); }
.seg .o { background: var(--series-grey); color: var(--ink); }
.seg-note { margin-top: 4px; font-size: .8125rem; color: var(--muted); text-align: right; }

/* Limits */
.limit { margin-top: 48px; padding-left: 16px; border-left: 3px solid var(--navy); }
.limit-cta { margin-top: 24px; }

/* What you share */
.share { background: var(--panel); }
.steps { display: grid; gap: 14px; margin-top: 24px; counter-reset: step; }
.steps li { position: relative; padding-left: 44px; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: .9375rem; }
.cards { display: grid; gap: 12px; margin-top: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-panel); padding: 18px 20px; font-size: .9375rem; line-height: 1.5; }
.card h3 { font: 700 1rem/1.3 var(--sans); color: var(--ink); margin-bottom: 8px; }
.check li, .no li { position: relative; padding: 5px 0 5px 24px; }
.check li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 6px; height: 11px; border: solid var(--series-blue); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.no li::before, .no li::after { content: ""; position: absolute; left: 0; top: 1.02em; width: 13px; height: 2px; background: var(--muted); transform: rotate(45deg); }
.no li::after { transform: rotate(-45deg); }
.opt, .stay { color: var(--muted); font-size: .875rem; margin-top: 8px; }
.know { margin-top: 12px; padding: 18px 20px; border-radius: var(--radius-panel); background: #fff; border: 1px solid var(--line); font-size: .9375rem; line-height: 1.5; }
.know h3 { font: 700 1rem/1.3 var(--sans); color: var(--ink); margin-bottom: 8px; }
.know li { position: relative; padding: 5px 0 5px 16px; }
.know li::before { content: ""; position: absolute; left: 0; top: .95em; width: 6px; height: 6px; border-radius: 50%; background: var(--series-blue); }
.share-cta { margin-top: 24px; }
.fine { color: var(--muted); font-size: .875rem; margin-top: 12px; }
.fine a { display: inline-block; padding-block: 12px; }

/* Sticky call to action, phones only */
.sticky-cta { position: sticky; bottom: 0; z-index: 5; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0, 30, 80, .08); padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); }
.sticky-cta .btn { min-height: 48px; padding-block: 12px; }

/* Note */
.note-grid { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: start; }
.cover { display: block; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; box-shadow: 0 6px 18px rgba(0, 30, 80, .12); }
.cover img { display: block; width: 100%; height: auto; }
.note h2 { font-size: 1.625rem; line-height: 1.15; }
.note .subtitle { margin-top: 8px; font-size: .9375rem; line-height: 1.5; }
.note-actions { grid-column: 1 / -1; }
.note-actions .touch { margin-top: 6px; }
.cite { margin-top: 10px; color: var(--muted); font-size: .8125rem; line-height: 1.5; }

/* About */
.about { padding-top: 0; }
.about-box { background: var(--panel); border-radius: var(--radius-card); padding: 24px 20px; }
.about-box h2 { font-size: 1.625rem; line-height: 1.15; }
.about-lead { margin-top: 8px; }
.people { display: grid; gap: 20px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.people h3 { font: 700 1rem/1.3 var(--sans); color: var(--ink); margin-bottom: 4px; }
.people .role { color: var(--navy); font-weight: 500; font-size: .9375rem; line-height: 1.4; margin-bottom: 2px; }
.people p { color: var(--muted); font-size: .9rem; line-height: 1.5; }
.people .role { color: var(--navy); }
.contact { display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0 0 -10px; }
.contact a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--navy); transition: background-color .15s ease; }
.contact a:hover { background: #E3EAF4; }
.contact svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact svg .dot { fill: currentColor; }
.contact svg.solid { fill: currentColor; stroke: none; width: 20px; height: 20px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding-block: 24px; color: var(--muted); font-size: .8125rem; line-height: 1.5; }
footer p + p { margin-top: 6px; }
footer a { color: inherit; display: inline-block; padding-block: 13px; }

/* Only on phones, the sticky bar replaces the in-flow buttons */
@media (max-width: 799.98px) {
  .desk-only, .to-results { display: none; }
  .facts { display: block; }
  .facts li + li::before { content: none; }
  .note-actions .btn { margin-top: 4px; }
}

@media (min-width: 800px) {
  body { font-size: 1.0625rem; line-height: 1.65; }
  .eyebrow { font-size: .875rem; }
  .section-title, .note h2, .about-box h2 { font-size: 2.25rem; line-height: 1.1; }
  section { padding-block: 80px; }
  .hero { background: var(--navy); padding-block: 12px 56px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; margin-top: 28px; }
  .hero-grid > :first-child { padding-top: 12px; }
  .context { font-size: 1.125rem; margin-top: 18px; }
  .to-results { margin-top: 8px; }
  .callout { padding: 32px; }
  .callout h2 { font-size: 1.75rem; line-height: 1.15; }
  .callout p { font-size: 1rem; }
  .callout .btn { margin-top: 20px; }
  .btn { padding-inline: 28px; }
  .btn.inline { display: inline-block; width: auto; min-width: 280px; }
  .sticky-cta { display: none; }
  .study-grid { grid-template-columns: 5fr 6fr; gap: 56px; align-items: center; }
  .numbers { font-size: .875rem; }
  .numbers b { font-size: 1.5rem; }
  .panel { padding: 24px; }
  .chart-title { font-size: .875rem; }
  .peaks { font-size: .9375rem; }
  .chapter { margin-top: 64px; }
  .question { font-size: 1rem; }
  .finding { grid-template-columns: 5fr 6fr; gap: 24px 56px; }
  .finding h3 { font-size: 1.5625rem; }
  .finding .text { font-size: 1rem; }
  .bars li { font-size: .9375rem; }
  .limit { margin-top: 64px; max-width: 72ch; padding-left: 20px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
  .cards { grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
  .know { margin-top: 16px; }
  .note-grid { grid-template-columns: 200px minmax(0, 1fr); gap: 16px 48px; align-items: center; }
  .note-actions { grid-column: 2; }
  .note .subtitle { font-size: 1.0625rem; }
  .about { padding-top: 0; }
  .about-box { padding: 36px 40px; }
  .people { grid-template-columns: repeat(3, 1fr); gap: 16px 32px; }
}
