:root {
  --yellow: #d9a400;
  --yellow-soft: #fbf3d6;
  --navy: #1d3557;
  --navy-deep: #13243c;
  --ink: #26292e;
  --muted: #5f6670;
  --line: #e4e1d8;
  --paper: #fdfcf8;
  --card: #ffffff;
  --maxw: 760px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --yellow: #e8b62a;
    --yellow-soft: #2a2516;
    --navy: #9fbbe0;
    --navy-deep: #0d1828;
    --ink: #e7e5df;
    --muted: #a3a8b0;
    --line: #2f3440;
    --paper: #12161d;
    --card: #181d26;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy); text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--navy); }

.sans, h1, h2, h3, nav, .eyebrow, .btn, footer, .tag {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

header.site {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky; top: 0; z-index: 10;
}
header.site .inner {
  max-width: 1040px; margin: 0 auto; padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { font-weight: 700; font-size: 1rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.brand span { color: var(--yellow); }
nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 0.9rem; }
nav a { text-decoration: none; color: var(--muted); }
nav a:hover { color: var(--ink); }
@media (max-width: 640px) { nav { display: none; } }

.hero {
  background: var(--navy-deep);
  color: #f3f1ea;
  padding: 72px 16px 64px;
}
.hero .inner { max-width: var(--maxw); margin: 0 auto; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 600; color: var(--yellow); margin: 0 0 14px; }
.hero h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); line-height: 1.08; margin: 0 0 20px; letter-spacing: -0.02em; font-weight: 750; }
.hero p.lead { font-size: 1.2rem; color: #d6d9de; margin: 0 0 28px; max-width: 620px; }

.btn {
  display: inline-block; background: var(--yellow); color: #13243c; font-weight: 650;
  padding: 12px 20px; border-radius: 6px; text-decoration: none; font-size: 0.98rem;
}
.btn:hover { filter: brightness(1.06); }
.btn.ghost { background: transparent; color: #f3f1ea; border: 1px solid #5a6b85; margin-left: 8px; }

main section { padding: 56px 16px; border-bottom: 1px solid var(--line); }
main section .inner { max-width: var(--maxw); margin: 0 auto; }
h2 { font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1.2; margin: 0 0 18px; letter-spacing: -0.015em; }
h3 { font-size: 1.1rem; margin: 28px 0 8px; }
p { margin: 0 0 16px; }
ul.clean { padding-left: 1.2em; margin: 0 0 16px; }
ul.clean li { margin-bottom: 8px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 24px 0 8px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 20px;
}
.card h3 { margin-top: 0; }
.card p { font-size: 1rem; margin: 0; color: var(--muted); }
.card .num { font-family: "Inter", system-ui, sans-serif; font-weight: 700; color: var(--yellow); font-size: 0.85rem; letter-spacing: 0.1em; display: block; margin-bottom: 6px; }

.callout {
  background: var(--yellow-soft); border-left: 4px solid var(--yellow);
  padding: 18px 20px; border-radius: 0 8px 8px 0; margin: 24px 0;
}
.callout p:last-child { margin-bottom: 0; }

.source {
  display: grid; grid-template-columns: 1fr; gap: 6px;
  background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 22px; margin: 18px 0;
}
.source .tag { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 600; }
.source h3 { margin: 0; font-size: 1.25rem; }
.source p { margin: 0; font-size: 1rem; }
.source .meta { color: var(--muted); font-size: 0.95rem; }

details { border-top: 1px solid var(--line); padding: 14px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-family: "Inter", system-ui, sans-serif; font-weight: 600; font-size: 1rem; }
details p { margin-top: 10px; font-size: 1rem; }

.cta { background: var(--navy-deep); color: #e9e7e0; }
.cta h2 { color: #fff; }
.cta p { color: #cfd3da; }
.cta a:not(.btn) { color: #fff; }

footer { padding: 32px 16px 48px; font-size: 0.85rem; color: var(--muted); }
footer .inner { max-width: var(--maxw); margin: 0 auto; }
footer p { margin: 0 0 8px; }
