:root {
  --navy: #071a33;
  --navy-2: #0d2d49;
  --teal: #1e7d78;
  --teal-light: #37a69d;
  --teal-pale: #dff3ef;
  --gold: #d6a33e;
  --gold-dark: #9f6f13;
  --gold-pale: #f8eed7;
  --paper: #f7f3ea;
  --paper-2: #fffdf8;
  --white: #ffffff;
  --ink: #172638;
  --muted: #64748b;
  --line: #d7dfe5;
  --line-warm: #e7ddca;
  --success: #167a57;
  --danger: #a42e2e;
  --warning: #9a5d00;
  --shadow-sm: 0 8px 24px rgba(7, 26, 51, .08);
  --shadow-md: 0 22px 64px rgba(7, 26, 51, .13);
  --radius-sm: .6rem;
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --measure: 72ch;
  --content: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behaviour: smooth; }
body {
  margin: 0;
  background: var(--paper-2);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--teal); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--navy); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
::selection { background: var(--gold-pale); color: var(--navy); }

.skip-link {
  position: fixed; left: 1rem; top: .75rem; z-index: 9999;
  transform: translateY(-180%); background: var(--white); color: var(--navy);
  padding: .65rem 1rem; border: 2px solid var(--gold); border-radius: .4rem;
  font-weight: 800; transition: transform .15s ease;
}
.skip-link:focus { transform: none; }

.container { width: min(calc(100% - 2rem), var(--content)); margin-inline: auto; }
.narrow { width: min(calc(100% - 2rem), 860px); margin-inline: auto; }
.prose { max-width: var(--measure); }
.prose > :first-child { margin-top: 0; }
.prose h2, .prose h3 { scroll-margin-top: 7rem; }
.prose h2 { margin-top: 2.7rem; font-size: clamp(1.55rem, 3vw, 2.15rem); line-height: 1.15; color: var(--navy); }
.prose h3 { margin-top: 2rem; font-size: 1.3rem; line-height: 1.25; color: var(--navy); }
.prose p, .prose li { max-width: 72ch; }
.prose blockquote { margin: 2rem 0; padding: 1rem 1.3rem; border-left: 4px solid var(--gold); background: var(--gold-pale); color: var(--navy); }
.prose table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.prose th, .prose td { padding: .8rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--navy); color: white; }
.prose code { background: #eef2f5; border-radius: .3rem; padding: .1rem .3rem; font-size: .92em; }

.announcement {
  background: var(--navy); color: #d9e6ef; font-size: .84rem; line-height: 1.35;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.announcement .container { display: flex; justify-content: center; gap: .45rem; padding-block: .48rem; text-align: center; }
.announcement strong { color: var(--gold); }
.announcement a { color: white; }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 253, 248, .96); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(7,26,51,.1);
}
.header-inner { min-height: 79px; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; }
.brand-link { display: flex; align-items: center; width: min(330px, 54vw); text-decoration: none; }
.brand-link img { display: block; width: 100%; max-height: 55px; object-fit: contain; object-position: left center; }
.primary-nav { display: flex; align-items: center; gap: .1rem; }
.primary-nav a {
  color: var(--navy); text-decoration: none; padding: .62rem .7rem; border-radius: .55rem;
  font-size: .91rem; font-weight: 720; white-space: nowrap;
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] { background: var(--teal-pale); color: var(--navy); }
.primary-nav .nav-cta { background: var(--gold); color: var(--navy); margin-left: .3rem; }
.primary-nav .nav-cta:hover { background: #e3b956; }
.nav-toggle { display: none; border: 1px solid var(--line); background: white; border-radius: .55rem; padding: .5rem .7rem; color: var(--navy); font-weight: 800; }
.nav-toggle svg { width: 24px; display: block; }

.breadcrumbs { padding-top: 1.15rem; font-size: .83rem; color: var(--muted); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: .45rem; color: #9aa7b4; }
.breadcrumbs a { color: var(--muted); }

.hero {
  position: relative; overflow: hidden; background: var(--navy); color: white;
  min-height: 650px; display: grid; align-items: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 82% 22%, rgba(55,166,157,.24), transparent 28%),
    radial-gradient(circle at 7% 90%, rgba(214,163,62,.16), transparent 30%),
    linear-gradient(rgba(255,255,255,.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.032) 1px, transparent 1px);
  background-size: auto, auto, 44px 44px, 44px 44px;
}
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr); gap: clamp(2rem, 6vw, 5rem); padding-block: clamp(4.5rem, 10vw, 8rem); }
.eyebrow { margin: 0 0 .8rem; color: var(--teal-light); font-weight: 850; letter-spacing: .13em; text-transform: uppercase; font-size: .78rem; }
.hero .eyebrow { color: #8ee0d8; }
.hero h1 { margin: 0; max-width: 13ch; font-size: clamp(3rem, 7.5vw, 6rem); line-height: .93; letter-spacing: -.055em; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-lead { max-width: 63ch; margin: 1.55rem 0 0; color: #d5e1ea; font-size: clamp(1.08rem, 2vw, 1.28rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.7rem; }
.hero-smallprint { max-width: 66ch; margin: 1rem 0 0; color: #aebfcd; font-size: .82rem; line-height: 1.5; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  min-height: 46px; padding: .78rem 1.15rem; border-radius: .62rem;
  border: 1px solid transparent; text-decoration: none; font-weight: 820; line-height: 1.15;
}
.button-primary { background: var(--gold); color: var(--navy); }
.button-primary:hover { background: #e6bc5f; color: var(--navy); }
.button-secondary { background: transparent; color: white; border-color: rgba(255,255,255,.35); }
.button-secondary:hover { background: white; color: var(--navy); }
.button-teal { background: var(--teal); color: white; }
.button-teal:hover { background: #176762; color: white; }
.button-ghost { background: white; border-color: var(--line); color: var(--navy); }
.button-ghost:hover { border-color: var(--teal); color: var(--teal); }
.button-small { min-height: 38px; padding: .55rem .85rem; font-size: .9rem; }
.hero-panel { align-self: center; position: relative; }
.hero-panel::before { content: ""; position: absolute; width: 150px; height: 3px; background: var(--gold); right: -30px; top: -28px; }
.hero-art-panel { margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 1.4rem; background: rgba(255,255,255,.06); box-shadow: 0 28px 70px rgba(0,0,0,.32); }
.hero-art-panel::before { right: 0; top: 0; width: 38%; height: 4px; z-index: 2; }
.hero-art-panel picture, .hero-art-panel img { display: block; width: 100%; }
.hero-art-panel img { aspect-ratio: 4 / 5; object-fit: cover; }
.hero-art-panel figcaption { padding: .85rem 1rem 1rem; color: #d5e1ea; font-size: .8rem; line-height: 1.45; }
.route-panel { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.17); border-radius: var(--radius-lg); padding: clamp(1.4rem, 4vw, 2.5rem); box-shadow: var(--shadow-md); }
.route-panel h2 { margin-top: 0; color: white; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.route-panel .check-list { color: #e5edf3; }
.hero-diagram { background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-lg); padding: 1.2rem; box-shadow: var(--shadow-md); }
.hero-diagram img { width: 100%; display: block; }
.hero-evidence { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-top: .85rem; }
.hero-evidence div { background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.13); border-radius: .8rem; padding: .85rem; }
.hero-evidence strong { display: block; color: var(--gold); font-size: 1.3rem; line-height: 1.1; }
.hero-evidence span { display: block; color: #d5e1ea; font-size: .78rem; margin-top: .22rem; line-height: 1.35; }

.page-hero { padding: clamp(3.5rem, 8vw, 6rem) 0; background: var(--navy); color: white; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; width: 420px; height: 420px; right: -180px; top: -210px; border: 80px solid rgba(55,166,157,.13); border-radius: 50%; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin: 0; max-width: 17ch; font-size: clamp(2.5rem, 6vw, 4.9rem); line-height: .98; letter-spacing: -.045em; }
.page-hero .lede { max-width: 68ch; margin: 1.2rem 0 0; color: #d5e1ea; font-size: clamp(1.08rem, 2vw, 1.25rem); }
.page-hero-meta { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.3rem; }
.meta-chip { display: inline-flex; align-items: center; gap: .35rem; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: .35rem .7rem; font-size: .78rem; color: #e4edf3; }

.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-tight { padding: clamp(2.8rem, 5vw, 4.4rem) 0; }
.section-paper { background: var(--paper); border-block: 1px solid var(--line-warm); }
.section-navy { background: var(--navy); color: white; }
.section-teal { background: var(--teal-pale); }
.section-head { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2rem; align-items: end; margin-bottom: 2.2rem; }
.section-head h2 { margin: 0; color: var(--navy); font-size: clamp(2rem, 4.5vw, 3.55rem); line-height: 1; letter-spacing: -.035em; }
.section-head p { margin: 0; max-width: 62ch; color: var(--muted); }
.section-navy .section-head h2, .section-navy h2, .section-navy h3 { color: white; }
.section-navy .section-head p { color: #cbd9e4; }
.display { font-size: clamp(2.5rem, 6vw, 5.2rem); line-height: .96; letter-spacing: -.05em; margin: 0; color: var(--navy); }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .75fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.split-reverse { grid-template-columns: minmax(340px, .75fr) minmax(0, 1fr); }

.card { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem; box-shadow: 0 1px 0 rgba(7,26,51,.02); }
.card:hover { border-color: #b7c7ce; }
.card h3 { margin: 0 0 .55rem; color: var(--navy); font-size: 1.25rem; line-height: 1.2; }
.card p { margin: .5rem 0; color: #4c5b69; }
.card .card-link { display: inline-flex; margin-top: .65rem; font-weight: 800; text-decoration: none; }
.card .card-link::after { content: " →"; }
.card-dark { background: var(--navy-2); border-color: rgba(255,255,255,.12); color: white; }
.card-dark h3 { color: white; }
.card-dark p { color: #cbd9e4; }
.card-gold { background: var(--gold-pale); border-color: #e4c989; }
.card-teal { background: var(--teal-pale); border-color: #afd9d3; }
.journey-card { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.5rem, 4vw, 2.5rem); }
.journey-card .number { color: var(--gold-dark); font-weight: 900; letter-spacing: .09em; font-size: .78rem; }
.journey-card h3 { font-size: clamp(1.65rem, 3vw, 2.35rem); max-width: 18ch; }
.journey-card .check-list { flex: 1; }
.journey-card .button { margin-top: 1rem; }
.free-panel { box-shadow: inset 0 4px 0 var(--gold); }
.number-card { position: relative; padding-top: 3.7rem; }
.number-card .number { position: absolute; top: 1rem; left: 1.25rem; color: var(--gold-dark); font-weight: 900; letter-spacing: .08em; font-size: .8rem; }

.stat-strip { margin-top: -1.8rem; position: relative; z-index: 3; }
.stat-strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); background: white; border: 1px solid var(--line); box-shadow: var(--shadow-sm); border-radius: var(--radius); overflow: hidden; }
.stat { padding: 1.25rem 1.35rem; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 1.85rem; color: var(--navy); line-height: 1; }
.stat span { display: block; color: var(--muted); font-size: .78rem; margin-top: .38rem; line-height: 1.35; }

.accord-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: .65rem; }
.accord-step { position: relative; padding: 1.15rem .9rem; min-height: 190px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.accord-step .letter { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--gold); font-weight: 950; font-size: 1.25rem; }
.accord-step h3 { margin: .9rem 0 .35rem; color: var(--navy); font-size: 1.03rem; }
.accord-step p { font-size: .84rem; line-height: 1.45; color: var(--muted); margin: 0; }

.gap-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.gap-card { display: grid; grid-template-columns: 48px 1fr; gap: .95rem; padding: 1.15rem; background: white; border: 1px solid var(--line); border-radius: .9rem; text-decoration: none; color: var(--ink); }
.gap-card:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); color: var(--ink); }
.gap-card .gap-no { font-weight: 950; color: var(--gold-dark); font-size: .85rem; }
.gap-card strong { display: block; color: var(--navy); line-height: 1.25; }
.gap-card span { display: block; color: var(--muted); font-size: .86rem; margin-top: .25rem; line-height: 1.4; }

.programme-card { display: flex; flex-direction: column; min-height: 100%; }
.programme-card .tag-row { margin-bottom: .65rem; }
.programme-card .card-link { margin-top: auto; padding-top: .9rem; }
.tag-row { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag { display: inline-flex; align-items: center; border-radius: 999px; padding: .25rem .58rem; background: #edf2f5; color: #445565; font-size: .72rem; font-weight: 780; line-height: 1.25; }
.tag-teal { background: var(--teal-pale); color: #155c58; }
.tag-gold { background: var(--gold-pale); color: #71500e; }
.tag-navy { background: var(--navy); color: white; }
.tag-success { background: #e1f3ea; color: #146345; }
.tag-warning { background: #fff2d6; color: #815100; }

.signal-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; display: grid; grid-template-rows: auto auto 1fr auto; }
.signal-card h3 { margin: .55rem 0; color: var(--navy); font-size: 1.22rem; line-height: 1.22; }
.signal-card .signal-date { color: var(--muted); font-size: .78rem; }
.signal-card .signal-implications { margin-top: 1rem; border-top: 1px solid var(--line); padding-top: .85rem; display: grid; gap: .55rem; font-size: .86rem; }
.signal-card .signal-implications strong { color: var(--navy); }
.signal-card .source-link { margin-top: .9rem; font-size: .84rem; font-weight: 800; }

.filter-bar { display: flex; flex-wrap: wrap; gap: .75rem; align-items: end; padding: 1rem; background: var(--paper); border: 1px solid var(--line-warm); border-radius: var(--radius); margin-bottom: 1.5rem; }
.filter-field { display: grid; gap: .28rem; min-width: 180px; }
.filter-field label { font-size: .76rem; font-weight: 820; color: var(--navy); }
.filter-field select, .filter-field input { min-height: 42px; border: 1px solid #b8c4cd; border-radius: .5rem; background: white; padding: .45rem .65rem; color: var(--ink); }
.filter-count { margin-left: auto; color: var(--muted); font-size: .85rem; align-self: center; }
[data-filter-item][hidden] { display: none !important; }

.registry-card { border-left: 5px solid var(--teal); }
.registry-card .registry-id { color: var(--gold-dark); font-weight: 900; letter-spacing: .08em; font-size: .74rem; }
.registry-card dl { display: grid; grid-template-columns: 125px 1fr; gap: .45rem .8rem; font-size: .88rem; margin: 1rem 0 0; }
.registry-card dt { font-weight: 800; color: var(--navy); }
.registry-card dd { margin: 0; color: #4c5b69; }

.status-panel { background: var(--navy); color: white; border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.6rem); position: relative; overflow: hidden; }
.status-panel::after { content: ""; position: absolute; right: -75px; bottom: -75px; width: 220px; height: 220px; border: 45px solid rgba(55,166,157,.15); border-radius: 50%; }
.status-panel > * { position: relative; z-index: 1; }
.status-panel h2, .status-panel h3 { color: white; }
.status-panel p { color: #d5e1ea; }

.evidence-note { border-left: 4px solid var(--teal); background: var(--teal-pale); padding: 1rem 1.15rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.evidence-note strong { color: var(--navy); }
.warning-note { border-left-color: var(--gold); background: var(--gold-pale); }
.legal-note { border-left-color: #8898aa; background: #edf2f5; }

.source-list { display: grid; gap: .65rem; padding: 0; list-style: none; }
.source-item { background: white; border: 1px solid var(--line); border-radius: .75rem; padding: .9rem 1rem; }
.source-item strong { display: block; color: var(--navy); }
.source-item span { display: block; color: var(--muted); font-size: .83rem; }
.source-item a { overflow-wrap: anywhere; }

.callout { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 2rem; align-items: center; padding: clamp(1.5rem, 4vw, 2.7rem); background: var(--navy); color: white; border-radius: var(--radius-lg); }
.callout h2 { margin: 0; color: white; font-size: clamp(1.7rem, 4vw, 2.8rem); line-height: 1.03; }
.callout p { color: #d5e1ea; margin: .75rem 0 0; max-width: 64ch; }
.callout .button { white-space: nowrap; }

.side-nav { position: sticky; top: 108px; background: var(--paper); border: 1px solid var(--line-warm); border-radius: var(--radius); padding: 1rem; }
.side-nav h2 { margin: 0 0 .65rem; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.side-nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .15rem; }
.side-nav a { display: block; padding: .5rem .6rem; border-radius: .45rem; text-decoration: none; color: var(--navy); font-size: .88rem; font-weight: 700; }
.side-nav a:hover { background: white; }

.detail-list { display: grid; gap: .75rem; padding: 0; list-style: none; }
.detail-list li { position: relative; padding-left: 1.55rem; }
.detail-list li::before { content: ""; position: absolute; left: 0; top: .68em; width: .55rem; height: .55rem; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px var(--teal-pale); }
.check-list { list-style: none; padding: 0; display: grid; gap: .6rem; }
.check-list li { position: relative; padding-left: 1.7rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--success); font-weight: 950; }
.cross-list { list-style: none; padding: 0; display: grid; gap: .6rem; }
.cross-list li { position: relative; padding-left: 1.7rem; }
.cross-list li::before { content: "×"; position: absolute; left: 0; top: -.05rem; color: var(--danger); font-size: 1.3rem; font-weight: 950; }

.form-shell { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 2rem; align-items: start; }
.form-panel { background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.2rem, 4vw, 2rem); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field-full { grid-column: 1 / -1; }
.field label, fieldset legend { font-weight: 790; color: var(--navy); font-size: .9rem; }
.field .hint { color: var(--muted); font-size: .76rem; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid #aebbc5; background: #fff; color: var(--ink);
  border-radius: .55rem; padding: .72rem .78rem; min-height: 46px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(30,125,120,.12); outline: none; }
.checkbox { display: grid; grid-template-columns: 20px 1fr; gap: .65rem; align-items: start; font-size: .84rem; color: #425363; }
.checkbox input { width: 18px; height: 18px; margin-top: .18rem; accent-color: var(--teal); }
.form-status { display: none; margin: 1rem 0; padding: .8rem 1rem; border-radius: .55rem; }
.form-status.is-visible { display: block; }
.form-status.success { background: #e1f3ea; color: #10563d; }
.form-status.error { background: #fde7e7; color: #812323; }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; }

.badge-demo { display: grid; grid-template-columns: minmax(230px, .7fr) minmax(0, 1.3fr); gap: 2rem; align-items: center; }
.badge-demo img { max-width: 360px; margin-inline: auto; }
.code-box { position: relative; background: #081725; color: #d8e6ef; border-radius: .75rem; padding: 1rem; overflow-x: auto; font: .78rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.copy-button { position: absolute; right: .55rem; top: .55rem; background: var(--gold); color: var(--navy); border: 0; border-radius: .4rem; padding: .4rem .6rem; font-weight: 800; font-size: .75rem; }

.faq-list { display: grid; gap: .7rem; }
details { background: white; border: 1px solid var(--line); border-radius: .8rem; }
summary { cursor: pointer; padding: 1rem 1.1rem; color: var(--navy); font-weight: 820; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--teal); font-size: 1.25rem; }
details[open] summary::after { content: "−"; }
details > div { padding: 0 1.1rem 1rem; color: #4c5b69; }

.article-meta { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.1rem; }
.article-meta span { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: .3rem .65rem; font-size: .76rem; color: #dce7ef; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.article-aside { position: sticky; top: 108px; }
.article-aside .card { font-size: .86rem; }
.article-aside h2 { font-size: 1rem; margin: 0 0 .6rem; }
.article-footer { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }

.download-card { display: flex; flex-direction: column; }
.download-card .tag { align-self: flex-start; }
.download-card .button { margin-top: auto; align-self: flex-start; }
.resource-sheet { background: white; border: 1px solid var(--line); padding: clamp(1.2rem, 5vw, 3rem); box-shadow: var(--shadow-sm); }
.resource-sheet h1 { color: var(--navy); line-height: 1.05; }
.resource-sheet table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.resource-sheet th, .resource-sheet td { border: 1px solid var(--line); padding: .65rem; text-align: left; vertical-align: top; }
.resource-sheet th { background: var(--navy); color: white; }
.print-actions { display: flex; gap: .7rem; margin-bottom: 1rem; }

.site-footer { background: #051426; color: #c8d5df; padding: 4rem 0 1.6rem; }
.footer-grid { display: grid; grid-template-columns: 1.45fr repeat(3, 1fr); gap: 2rem; }
.footer-brand img { width: 280px; max-width: 100%; }
.footer-brand p { max-width: 44ch; font-size: .88rem; }
.footer-col h2 { color: white; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 .75rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .48rem; }
.footer-col a { color: #c8d5df; text-decoration: none; font-size: .86rem; }
.footer-col a:hover { color: white; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.13); margin-top: 2.6rem; padding-top: 1.2rem; display: flex; justify-content: space-between; gap: 1rem; align-items: end; font-size: .74rem; color: #9fb0bd; }
.footer-bottom p { margin: 0; max-width: 85ch; }
.parent-mark { display: flex; align-items: center; gap: .6rem; white-space: nowrap; }
.parent-mark img { width: 34px; height: 34px; object-fit: contain; }

.no-js .requires-js { display: none; }
.js-only { display: none; }
.js .js-only { display: block; }
.empty-state { padding: 1.5rem; border: 1px dashed #aebbc5; border-radius: .8rem; color: var(--muted); text-align: center; }
.divider { height: 1px; background: var(--line); margin: 2rem 0; }
.text-small { font-size: .84rem; }
.text-muted { color: var(--muted); }
.text-navy { color: var(--navy); }
.text-gold { color: var(--gold-dark); }
.no-margin { margin: 0; }
.flow > * + * { margin-top: 1rem; }
.align-center { text-align: center; }

@media (max-width: 1040px) {
  .primary-nav { position: fixed; inset: auto 1rem auto 1rem; top: 95px; display: none; background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: .75rem; box-shadow: var(--shadow-md); flex-direction: column; align-items: stretch; max-height: calc(100vh - 120px); overflow: auto; }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: .75rem .9rem; }
  .primary-nav .nav-cta { margin: .4rem 0 0; }
  .nav-toggle { display: inline-flex; align-items: center; gap: .45rem; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-panel { max-width: 640px; }
  .hero-art-panel { width: min(100%, 560px); }
  .accord-steps { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-col:last-child { grid-column: 2 / -1; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .container, .narrow { width: min(calc(100% - 1.25rem), var(--content)); }
  .header-inner { min-height: 70px; }
  .brand-link { width: min(260px, 66vw); }
  .primary-nav { top: 84px; }
  .hero { min-height: 0; }
  .hero-inner { padding-block: 4rem; }
  .hero h1 { font-size: clamp(2.75rem, 15vw, 4.5rem); }
  .hero-art-panel { justify-self: center; }
  .hero-evidence { grid-template-columns: 1fr 1fr; }
  .stat-strip { margin-top: 0; }
  .stat-strip-inner { grid-template-columns: 1fr 1fr; border-radius: 0; border-inline: 0; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-head, .split, .split-reverse, .form-shell, .article-layout, .badge-demo { grid-template-columns: 1fr; }
  .section-head { gap: .85rem; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .gap-grid { grid-template-columns: 1fr; }
  .accord-steps { grid-template-columns: 1fr 1fr; }
  .accord-step { min-height: 160px; }
  .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .article-aside, .side-nav { position: static; }
  .callout { grid-template-columns: 1fr; }
  .callout > div { min-width: 0; }
  .callout .button { justify-self: start; white-space: normal; max-width: 100%; text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .registry-card dl { grid-template-columns: 1fr; gap: .1rem; }
  .registry-card dd { margin-bottom: .5rem; }
}

@media (max-width: 480px) {
  .announcement .container { display: block; }
  .brand-link { width: 225px; }
  .nav-toggle span { display: none; }
  .hero-actions, .print-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button, .print-actions .button { width: 100%; }
  .hero-evidence, .stat-strip-inner, .grid-4, .accord-steps, .footer-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .gap-card { grid-template-columns: 38px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behaviour: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  .announcement, .site-header, .site-footer, .breadcrumbs, .print-actions, .button, .filter-bar { display: none !important; }
  body { background: white; color: black; font-size: 11pt; }
  .section, .section-tight { padding: 1rem 0; }
  .page-hero { background: white; color: black; padding: 1rem 0; }
  .page-hero h1, .page-hero .lede { color: black; }
  .resource-sheet { box-shadow: none; border: 0; padding: 0; }
  a { color: black; text-decoration: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 8pt; overflow-wrap: anywhere; }
  @page { size: A4; margin: 14mm; }
}
