:root {
  --ink: #102229;
  --soft: #52686d;
  --paper: #f5f4ee;
  --white: #fffefa;
  --line: #dbe1dc;
  --teal: #0f6d67;
  --mint: #d9eeea;
  --coral: #c7664f;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--paper); }
a { color: inherit; }
.shell { min-height: 100vh; display: flex; flex-direction: column; }
.header { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 26px; padding: 0 clamp(22px, 7vw, 112px); border-bottom: 1px solid rgba(219,225,220,.85); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: 21px; font-weight: 770; letter-spacing: -.045em; }
.dot, .accent { color: var(--coral); }
.mark { display: flex; align-items: end; gap: 3px; width: 21px; height: 22px; transform: rotate(-15deg); }
.mark i { display: block; width: 5px; border-radius: 5px; background: var(--teal); }
.mark i:nth-child(1) { height: 10px; opacity: .46; }
.mark i:nth-child(2) { height: 16px; opacity: .72; }
.mark i:nth-child(3) { height: 22px; }
nav { display: flex; align-items: center; gap: 25px; }
nav a { color: var(--soft); text-decoration: none; font-size: 13px; font-weight: 700; }
nav a:hover, nav a.active { color: var(--ink); }
nav a.active { border-bottom: 2px solid var(--coral); padding-bottom: 8px; margin-bottom: -10px; }
.hero, .page-hero, .section { padding-left: clamp(22px, 7vw, 112px); padding-right: clamp(22px, 7vw, 112px); }
.hero { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(220px, .55fr); gap: 11%; padding-top: clamp(80px, 12vw, 170px); padding-bottom: clamp(85px, 11vw, 150px); background: radial-gradient(circle at 76% 18%, rgba(217,238,234,.74), transparent 34%), var(--paper); }
.page-hero { padding-top: clamp(70px, 10vw, 130px); padding-bottom: 70px; background: radial-gradient(circle at 78% 20%, rgba(217,238,234,.65), transparent 35%), var(--paper); }
.eyebrow { margin: 0 0 17px; color: var(--teal); font-size: 10px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 790px; margin-bottom: 25px; font-size: clamp(48px, 7vw, 92px); line-height: .94; letter-spacing: -.075em; font-weight: 680; }
.page-hero h1 { font-size: clamp(48px, 7vw, 82px); }
.lede { max-width: 640px; color: var(--soft); font-size: clamp(17px, 1.8vw, 21px); line-height: 1.55; letter-spacing: -.02em; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 25px; margin-top: 35px; }
.button { display: inline-flex; align-items: center; gap: 24px; padding: 14px 18px; border-radius: 8px; color: var(--ink); background: var(--mint); text-decoration: none; font-size: 12px; font-weight: 850; }
.button span, .text-link span { color: var(--coral); }
.text-link { color: var(--teal); text-decoration: none; font-size: 12px; font-weight: 850; }
.signal { align-self: end; max-width: 250px; padding-bottom: 8px; }
.signal-line { height: 88px; margin-bottom: 25px; border-top: 1px solid var(--teal); background: linear-gradient(140deg, transparent 0 18%, rgba(15,109,103,.18) 18.2% 18.7%, transparent 19% 34%, rgba(15,109,103,.28) 34.2% 34.8%, transparent 35% 52%, rgba(15,109,103,.6) 52.2% 53%, transparent 53.2% 69%, var(--coral) 69.2% 70%, transparent 70.2% 100%); clip-path: polygon(0 24%, 17% 24%, 17% 53%, 33% 53%, 33% 12%, 52% 12%, 52% 71%, 69% 71%, 69% 37%, 84% 37%, 84% 84%, 100% 84%, 100% 86%, 0 86%); }
.signal p { color: var(--soft); font-size: 14px; line-height: 1.5; }
.section { padding-top: 92px; padding-bottom: 100px; border-top: 1px solid var(--line); }
.section-heading { max-width: 650px; margin-bottom: 35px; }
h2 { margin-bottom: 15px; font-size: clamp(29px, 4vw, 48px); line-height: 1; letter-spacing: -.065em; }
.section-heading > p:last-child { color: var(--soft); font-size: 15px; line-height: 1.55; }
.empty-card { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 28px; padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.empty-number { color: var(--coral); font: 800 13px ui-monospace, SFMono-Regular, Menlo, monospace; }
.empty-card h3, .empty-card h2 { margin-bottom: 9px; font-size: clamp(20px, 2.5vw, 29px); letter-spacing: -.045em; }
.empty-card p { max-width: 640px; margin-bottom: 0; color: var(--soft); font-size: 13px; line-height: 1.55; }
.empty-card .status { margin-bottom: 10px; color: var(--teal); font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.pattern-card { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 28px; padding: 27px 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.pattern-card h3, .pattern-card h2 { margin-bottom: 9px; font-size: clamp(20px, 2.5vw, 29px); letter-spacing: -.045em; }
.pattern-card h3 a, .pattern-card h2 a { text-decoration: none; }
.pattern-card h3 a:hover, .pattern-card h2 a:hover { color: var(--teal); }
.pattern-card p { max-width: 670px; margin-bottom: 0; color: var(--soft); font-size: 13px; line-height: 1.55; }
.pattern-card .status { margin-bottom: 10px; color: var(--teal); font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.pattern-number { color: var(--coral); font: 800 13px ui-monospace, SFMono-Regular, Menlo, monospace; }
.article { padding-bottom: 100px; }
.article-header { max-width: 1000px; margin: 0 auto; padding: 100px clamp(22px, 7vw, 112px) 62px; }
.article-header h1 { max-width: 900px; font-size: clamp(43px, 6.3vw, 79px); }
.article-dek { max-width: 720px; color: var(--soft); font-size: clamp(17px, 1.8vw, 21px); line-height: 1.55; }
.article-meta { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 35px; }
.article-meta span { padding: 9px 11px; border: 1px solid var(--line); border-radius: 7px; color: var(--soft); background: rgba(255,254,250,.7); font-size: 10px; line-height: 1.3; }
.article-meta b { display: block; margin-bottom: 4px; color: var(--ink); font-size: 9px; letter-spacing: .09em; text-transform: uppercase; }
.article-body { max-width: 920px; margin: 0 auto; padding: 0 clamp(22px, 7vw, 112px); }
.article-body section { padding: 58px 0; border-top: 1px solid var(--line); }
.article-body section:first-child { border-top: 0; }
.article-body h2 { max-width: 750px; margin-bottom: 18px; font-size: clamp(28px, 4vw, 46px); }
.article-body p, .article-body li { max-width: 730px; color: var(--soft); font-size: 15px; line-height: 1.7; }
.article-body em { color: var(--ink); }
.claim-block { padding: 34px 36px !important; border: 1px solid #c5ddd8 !important; border-radius: 14px; background: var(--mint); }
.claim { max-width: 790px !important; color: var(--ink) !important; font-size: clamp(22px, 3vw, 33px) !important; line-height: 1.28 !important; letter-spacing: -.04em; }
.label { display: inline-block; margin-right: 5px; padding: 4px 7px; border-radius: 4px; font-size: 9px; font-weight: 900; letter-spacing: .1em; line-height: 1.2; }
.label-note, .small-note { font-size: 12px !important; line-height: 1.55 !important; }
.label.calculated { color: var(--teal); background: #c1e1db; }
.label.observed { color: #6b4d1f; background: #f0ddb5; }
.label.modelled { color: #6b4d1f; background: #f0ddb5; }
.label.unknown { color: #934c3c; background: #f1d3c9; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin: 30px 0 22px; }
.stat-grid div { min-height: 112px; padding: 17px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.stat-grid strong { display: block; color: var(--teal); font-size: 31px; letter-spacing: -.06em; }
.stat-grid span { display: block; margin-top: 16px; color: var(--soft); font-size: 10px; line-height: 1.35; }
.evidence-callout { margin-top: 27px; padding: 19px 22px; border-left: 3px solid var(--coral); background: #fff8e9; }
.evidence-callout strong { display: block; margin-bottom: 6px; font-size: 13px; }
.evidence-callout p { margin-bottom: 0; font-size: 13px; }
.article-list { padding-left: 21px; }
.article-list li { margin: 8px 0; }
.dark-section { padding: 42px 36px !important; border: 0 !important; border-radius: 14px; background: var(--ink); }
.dark-section h2, .dark-section p, .dark-section li { color: var(--white); }
.dark-section .eyebrow { color: #a2c5c2; }
.dark-section li { color: #b3c6c5; }
.method-table { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin: 28px 0 22px; }
.method-table div { padding: 16px; border-radius: 8px; background: #eef1ed; }
.method-table span, .method-table strong { display: block; }
.method-table span { color: var(--soft); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.method-table strong { margin-top: 10px; overflow-wrap: anywhere; font: 700 11px ui-monospace, SFMono-Regular, Menlo, monospace; }
.source-list { display: grid; gap: 9px; padding: 0; list-style: none; }
.source-list li { display: flex; flex-direction: column; gap: 5px; padding: 15px 17px; border: 1px solid var(--line); border-radius: 8px; }
.source-list strong { color: var(--ink); font-size: 13px; }
.source-list span { color: var(--soft); font-size: 12px; }
.source-list a { color: var(--teal); }
.source-page { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; background: #eef1ed; }
.source-note { min-height: 240px; padding: 25px; border-radius: 10px; background: var(--white); }
.source-note:last-child { grid-column: 1 / -1; min-height: auto; }
.source-note h2 { font-size: 28px; }
.source-note p { color: var(--soft); font-size: 13px; line-height: 1.6; }
.source-note dl { margin: 25px 0 0; }
.source-note dl div { padding: 12px 0; border-top: 1px solid var(--line); }
.source-note dt { color: var(--soft); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.source-note dd { margin: 7px 0 0; overflow-wrap: anywhere; font: 700 11px ui-monospace, SFMono-Regular, Menlo, monospace; }
.principles { background: #eef1ed; }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.principle-grid article { padding: 24px; border-radius: 10px; background: rgba(255,254,250,.7); }
.principle-grid span, .method-block > span { color: var(--teal); font-size: 10px; font-weight: 850; letter-spacing: .12em; }
.principle-grid h3 { margin: 35px 0 10px; font-size: 21px; letter-spacing: -.04em; }
.principle-grid p, .method-block p { margin-bottom: 0; color: var(--soft); font-size: 13px; line-height: 1.55; }
.method-copy { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 10%; }
.method-block { padding: 26px 0 34px; border-bottom: 1px solid var(--line); }
.method-block h2 { margin: 19px 0 12px; font-size: clamp(24px, 3vw, 34px); }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: auto; padding: 28px clamp(22px, 7vw, 112px); color: #b3c6c5; background: var(--ink); }
.footer-brand { color: var(--white); font-weight: 770; letter-spacing: -.04em; }
.footer-note { margin-left: 17px; color: #799295; font-size: 11px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: #b3c6c5; font-size: 11px; text-decoration: none; }
@media (max-width: 760px) {
  .header { align-items: flex-start; flex-direction: column; padding-top: 18px; padding-bottom: 18px; }
  nav { flex-wrap: wrap; gap: 13px 19px; }
  .hero { grid-template-columns: 1fr; gap: 45px; }
  .signal { max-width: 320px; }
  .empty-card, .pattern-card, .principle-grid, .method-copy, .source-page, .method-table { grid-template-columns: 1fr; }
  .empty-card, .pattern-card { gap: 15px; }
  .empty-card .text-link, .pattern-card .text-link { margin-top: 8px; }
  .principle-grid { gap: 10px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .source-note:last-child { grid-column: auto; }
  .footer { align-items: flex-start; flex-direction: column; }
}
