/* ===================== Methodology page ===================== */
:root {
  --navy: #0A1A2F;
  --ink: #142033;
  --paper: #F4F7FB;
  --white: #FFFFFF;
  --line: #E1E7EE;
  --muted: #5F6B7A;
  --vivid-blue: #0A6EFF;
  --vivid-green: #00C853;
  --gold: #FFB300;
  --magenta: #E91E63;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", "Inter", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(10,110,255,0.08), transparent 55%),
    radial-gradient(700px 400px at 0% 100%, rgba(255,179,0,0.08), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
  background-attachment: fixed;
  line-height: 1.6;
}

/* Header */
.m-header {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px;
  background: rgba(10,26,47,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 6px 18px rgba(10,26,47,0.18);
}
.m-brand { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; }
.m-mark {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold) 0%, #ff8a00 100%);
  color: var(--navy);
  font-weight: 900; font-size: 12px;
  box-shadow: 0 6px 18px rgba(255,179,0,0.45);
}
.m-words strong { display: block; font-size: 15px; }
.m-words small { display: block; font-size: 11px; color: rgba(255,255,255,0.7); }
.m-nav { display: flex; gap: 18px; }
.m-nav a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.15s ease;
}
.m-nav a:hover { background: rgba(255,255,255,0.1); color: var(--gold); }

/* Main */
.m-main {
  max-width: 920px;
  margin: 0 auto;
  padding: 36px 24px 80px;
}

/* Hero */
.m-hero {
  background: linear-gradient(135deg, #0a1a2f 0%, #163655 100%);
  color: var(--white);
  border-radius: 20px;
  padding: 36px 36px 32px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(10,26,47,0.20);
  border: 1px solid rgba(255,179,0,0.20);
}
.m-hero::before, .m-hero::after {
  content: ""; position: absolute; pointer-events: none;
  width: 260px; height: 260px; border-radius: 50%;
  filter: blur(60px); opacity: 0.5;
}
.m-hero::before { background: var(--vivid-blue); top: -60px; left: -40px; }
.m-hero::after { background: var(--gold); right: -60px; bottom: -80px; }
.m-eyebrow {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255,179,0,0.18);
  color: var(--gold);
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 11px;
  text-transform: uppercase;
  position: relative; z-index: 1;
}
.m-hero h1 {
  font-size: clamp(24px, 3.5vw, 32px);
  margin: 12px 0 14px;
  position: relative; z-index: 1;
  line-height: 1.25;
}
.m-lead {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  margin: 0;
  max-width: 760px;
  position: relative; z-index: 1;
}

/* TOC */
.m-toc {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 28px;
  box-shadow: 0 8px 22px rgba(10,26,47,0.05);
}
.m-toc strong {
  display: block;
  color: var(--navy);
  margin-bottom: 10px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.m-toc a {
  display: inline-block;
  margin: 4px 14px 4px 0;
  color: var(--vivid-blue);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  border-bottom: 2px solid transparent;
  padding-bottom: 1px;
  transition: border-color 0.15s ease;
}
.m-toc a:hover { border-bottom-color: var(--vivid-blue); }

/* Section */
.m-section {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 30px;
  margin-bottom: 22px;
  box-shadow: 0 10px 28px rgba(10,26,47,0.06);
  scroll-margin-top: 80px;
}
.m-section h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.3;
}
.m-section h3 {
  margin: 22px 0 10px;
  color: var(--navy);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-left: 3px solid var(--vivid-blue);
  padding-left: 10px;
}
.m-section p {
  color: var(--ink);
  font-size: 15px;
  margin: 0 0 12px;
}
.m-list {
  margin: 0 0 14px;
  padding-left: 22px;
  color: var(--ink);
  font-size: 15px;
}
.m-list li { margin-bottom: 6px; }
.m-sources-line {
  margin-top: 14px !important;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(10,110,255,0.06) 0%, rgba(0,200,83,0.04) 100%);
  border-left: 3px solid var(--vivid-blue);
  border-radius: 6px;
  font-size: 13px !important;
  line-height: 1.6;
  color: var(--muted);
}

/* Bibliography */
.m-biblio { background: linear-gradient(180deg, #ffffff 0%, #fafcff 100%); }
.m-biblio-list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  columns: 2;
  column-gap: 28px;
}
@media (max-width: 720px) { .m-biblio-list { columns: 1; } }
.m-biblio-list li {
  padding: 4px 0;
  font-size: 13px;
  color: var(--ink);
  break-inside: avoid;
  border-bottom: 1px dashed rgba(10,26,47,0.08);
}

/* CTA */
.m-cta {
  background: linear-gradient(135deg, var(--vivid-green) 0%, var(--vivid-blue) 100%);
  color: var(--white);
  border-radius: 16px;
  padding: 28px 32px;
  margin-top: 30px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(10,110,255,0.25);
}
.m-cta h2 { color: var(--white); margin: 0 0 10px; font-size: 22px; }
.m-cta p { color: rgba(255,255,255,0.95); font-size: 15px; margin: 0; }
.m-cta a { color: var(--gold); font-weight: 800; text-decoration: none; border-bottom: 2px solid rgba(255,179,0,0.4); }
.m-cta a:hover { border-bottom-color: var(--gold); }

/* Footer */
.m-footer {
  text-align: center;
  padding: 30px 20px 40px;
  color: var(--muted);
  font-size: 13px;
}
.m-footer a { color: var(--vivid-blue); text-decoration: none; font-weight: 700; }
.m-footer a:hover { text-decoration: underline; }
