@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
:root {
  --navy: #0b1f3a;
  --navy-soft: #153b66;
  --navy-deep: #061426;
  --gold: #d8b15a;
  --gold-soft: #ffe7a8;
  --paper: #fffaf0;
  --mist: #edf5ff;
  --ink: #0e1b2f;
  --muted: #566981;
  --line: rgba(21, 72, 122, 0.16);
  --display: "Bricolage Grotesque", sans-serif;
  --body: "Plus Jakarta Sans", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 0, rgba(21, 72, 122, 0.13), transparent 25%),
    linear-gradient(180deg, #fff 0, var(--paper) 100%);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.75;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
.shell {
  width: min(1120px, calc(100% - 32px));
  margin: auto;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: 10px;
  z-index: 20;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--gold);
  font-weight: 800;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}
.top-note {
  padding: 10px 16px;
  text-align: center;
  background: var(--mist);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img {
  width: 58px;
  height: 42px;
  object-fit: contain;
}
.brand strong {
  display: block;
  font: 800 1.3rem/0.95 var(--display);
  letter-spacing: -0.06em;
}
.brand span {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 700;
}
.nav a {
  text-decoration: none;
}
.nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 800;
  text-decoration: none;
}
.page-hero {
  padding: 84px 0 56px;
  color: #fff;
  background: linear-gradient(
    135deg,
    var(--navy-deep),
    var(--navy) 58%,
    var(--navy-soft)
  );
  overflow: hidden;
}
.eyebrow {
  margin: 0 0 15px;
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.page-hero h1 {
  max-width: 900px;
  margin: 0;
  font: 800 clamp(2.8rem, 7vw, 5.8rem) / 0.93 var(--display);
  letter-spacing: -0.055em;
}
.page-hero h1 span {
  color: var(--gold);
}
.page-hero .lead {
  max-width: 780px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}
.crumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}
.crumbs a {
  color: #fff;
}
.article-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 52px;
  padding: 58px 0 88px;
}
.toc {
  position: sticky;
  top: 110px;
  align-self: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
}
.toc strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--display);
  font-size: 1.15rem;
}
.toc a {
  display: block;
  padding: 7px 0;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}
.toc a:hover {
  color: var(--navy);
  text-decoration: underline;
}
.prose {
  min-width: 0;
}
.prose h2 {
  scroll-margin-top: 110px;
  margin: 58px 0 16px;
  font: 800 clamp(2rem, 4vw, 3.2rem) / 1 var(--display);
  letter-spacing: -0.04em;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  margin: 30px 0 10px;
  font: 800 1.35rem/1.2 var(--display);
}
.prose p,
.prose li {
  color: #40536b;
}
.prose ul,
.prose ol {
  padding-left: 22px;
}
.prose li {
  margin: 9px 0;
}
.prose a {
  color: #124f8a;
  font-weight: 700;
  text-underline-offset: 3px;
}
.prose a.button {
  color: var(--navy-deep);
}
.callout {
  margin: 32px 0;
  padding: 24px 26px;
  border-left: 5px solid var(--gold);
  border-radius: 18px;
  background: var(--mist);
}
.callout strong {
  display: block;
  margin-bottom: 5px;
  color: var(--navy);
  font-family: var(--display);
  font-size: 1.25rem;
}
.callout p {
  margin: 0;
}
.risk {
  border-left-color: #c33b31;
  background: #fff0ed;
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0;
}
.card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
}
.card h3 {
  margin-top: 0;
}
.card p {
  margin-bottom: 0;
}
.source-note {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.next {
  margin-top: 56px;
  padding: 30px;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy-soft));
  color: #fff;
}
.next h2 {
  margin-top: 0;
  color: #fff;
}
.next p {
  color: rgba(255, 255, 255, 0.76);
}
.next .button {
  margin-top: 8px;
}
.footer {
  padding: 32px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-bottom: 12px;
}
.footer-links a {
  color: var(--navy-soft);
  font-weight: 700;
}
@media (max-width: 820px) {
  body {
    font-size: 16px;
  }
  .nav {
    display: none;
  }
  .header-row {
    gap: 10px;
  }
  .brand {
    min-width: 0;
    gap: 8px;
  }
  .brand img {
    width: 48px;
    height: 36px;
  }
  .brand strong {
    font-size: 1.05rem;
  }
  .brand span {
    font-size: 0.59rem;
    letter-spacing: 0.12em;
  }
  .article-layout {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 34px;
  }
  .toc {
    position: static;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .page-hero {
    padding: 58px 0 42px;
  }
  .page-hero h1 {
    font-size: clamp(2.55rem, 12vw, 4.4rem);
  }
  .header-row > .button {
    padding: 0 15px;
    font-size: 13px;
  }
  .top-note {
    font-size: 11px;
    line-height: 1.5;
  }
  .prose h2 {
    margin-top: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
