/* Self-hosted, latin-subset variable fonts with font-display: swap (Rank #1 standard §9 Performance). No third-party font requests. */
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-latin-var.woff2") format("woff2-variations"), url("/fonts/fraunces-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-latin-var.woff2") format("woff2-variations"), url("/fonts/manrope-latin-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Education Training — "The Register" (concept 3): navy, red accent, cool grey surfaces */
  --night: #1D2D5C;
  --night-2: #2A3F7A;
  --night-3: #121D3E;
  --chalk: #F2F4F7;
  --line: #DDE2EA;
  --mute: #596479;
  --signal: #C8323C;
  --signal-2: #A92630;
  --signal-3: #FCE8EA;
  /* level scale: light → deep navy */
  --bar-2: #E8EDF8;
  --bar-3: #D2DBF0;
  --bar-4: #B5C4E8;
  --bar-5: #8FA3D4;
  --bar-6: #5A73B8;
  --bar-7: #2A3F7A;
  --bar-8: #1D2D5C;
  --paper: #fff;
  --ok: #2d7a46;
  --warn: #b3541e;

  /* aliases used across views */
  --ink: var(--night);
  --ink-2: var(--night-2);
  --ink-3: var(--night-3);
  --bone: var(--chalk);
  --bone-2: #E8ECF2;
  --teal: var(--bar-7);
  --teal-2: var(--bar-6);
  --teal-3: var(--bar-4);
  --teal-4: var(--bar-3);
  --amber: var(--signal);
  --amber-2: var(--signal-2);
  --amber-3: var(--signal-3);
  --line-2: #C8D0DC;
  --focus: var(--signal);
  --lv3: var(--bar-3); --lv4: var(--bar-4); --lv5: var(--bar-5); --lv6: var(--bar-6); --lv7: var(--bar-7); --lv8: var(--bar-8); --lvs: var(--mute);

  --font-display: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-text: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --step--1: 0.88rem;
  --step-0: 1.0625rem;
  --step-1: 1.2rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.4rem + 1.2vw, 2.75rem);
  --step-4: clamp(2.25rem, 1.8rem + 2vw, 3.5rem);
  --step-5: clamp(2.4rem, 2rem + 3vw, 4.5rem);
  --s-1: 0.25rem; --s0: 0.5rem; --s1: 0.75rem; --s2: 1rem; --s3: 1.5rem; --s4: 2rem; --s5: 3rem; --s6: 4.5rem; --s7: 5.5rem;
  --radius: 6px;
  --radius-s: 4px;
  --shadow-1: 0 12px 28px -16px rgba(18, 29, 62, 0.22);
  --shadow-2: 0 20px 40px -24px rgba(18, 29, 62, 0.3);
  --wrap: 77.5rem;
  --wrap-narrow: 46rem;
  --header-h: 4.75rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--night-3);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--night); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--night-2); }
.prose a:not(.btn), .detail-main a:not(.btn), .faq-a a:not(.btn) { color: var(--night-2); font-weight: 600; }
a.btn { text-decoration: none; }
a.btn:hover { text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 0.5em; color: var(--night-3); }
h1 { font-size: clamp(2.25rem, 4.8vw, 4rem); font-weight: 900; line-height: 1.04; }
h2 { font-size: clamp(1.875rem, 3.8vw, 3rem); font-weight: 900; }
h3 { font-size: var(--step-2); font-weight: 700; }
h4 { font-size: var(--step-1); font-weight: 700; }
h2.t, h2.sec { font-size: clamp(1.875rem, 3.8vw, 3rem); letter-spacing: -0.03em; line-height: 1.05; font-weight: 900; max-width: 20ch; }
.lead { font-size: 1.1875rem; color: var(--mute); max-width: 56ch; margin: 0 0 2.5rem; line-height: 1.5; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.25em; }
table { border-collapse: collapse; width: 100%; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--s4) 0; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--s2); top: -3rem; background: var(--night); color: #fff; padding: var(--s1) var(--s2); border-radius: var(--radius-s); z-index: 100; }
.skip:focus { top: var(--s2); }

.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2rem, var(--wrap-narrow)); margin-inline: auto; }
.section { padding-block: 5.5rem; }
.hero.hero-register { background: var(--night); color: #fff; }
.hero.hero-register h1 { color: #fff; }
.hero.hero-register .lede { color: #C5CDE0; }
.hero.hero-register .crumbs, .hero.hero-register .crumbs a { color: #C5CDE0; }
.hero.hero-register .crumbs a:hover { color: #fff; }
.hero.hero-register .crumbs [aria-current="page"] { color: #fff; }
.section-tight { padding-block: 4rem; }
.grid { display: grid; gap: var(--s3); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.stack > * + * { margin-top: var(--s2); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--s1); align-items: center; }
.eyebrow { font-size: var(--step--1); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--signal); margin-bottom: var(--s1); display: block; }
.lede, .intro { color: var(--mute); font-size: 1.12rem; max-width: 56ch; line-height: 1.6; }
h2.sec { font-size: clamp(1.875rem, 3.6vw, 2.75rem); letter-spacing: -0.02em; line-height: 1.08; margin: 0 0 0.75rem; max-width: 22ch; }
.muted { color: var(--mute); }
.small { font-size: var(--step--1); }
.measure { max-width: 68ch; }
.center { text-align: center; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font: inherit; font-weight: 700; border: 0; border-radius: var(--radius-s); padding: 0.8125rem 1.25rem;
  text-decoration: none; cursor: pointer; white-space: nowrap; line-height: 1.2;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary, .btn-red, a.btn-primary, a.btn-red { background: var(--signal); color: #fff; }
.btn-primary:hover, .btn-red:hover, a.btn-primary:hover, a.btn-red:hover { background: var(--signal-2); color: #fff; }
.btn-ink, .btn-dark, .btn-navy { background: var(--night); color: #fff; }
.btn-ink:hover, .btn-dark:hover, .btn-navy:hover { background: var(--night-2); color: #fff; }
.btn-outline, .btn-line { background: #fff; color: var(--night); box-shadow: inset 0 0 0 1.5px var(--night); }
.btn-outline:hover, .btn-line:hover { background: var(--chalk); color: var(--night); }
.btn-ghost { background: transparent; color: var(--night); padding-inline: 0.5em; }
.btn-ghost:hover { background: var(--bone-2); color: var(--night); }
.page-head .cluster button.btn:not(.btn-primary):not(.btn-red),
.facts-panel .cta button.btn:not(.btn-primary):not(.btn-red) { color: var(--night); }
.page-head .cluster .btn-primary, .page-head .cluster .btn-red,
.facts-panel .cta .btn-primary, .facts-panel .cta .btn-red { color: #fff; }
.page-head .cluster a.btn-primary, .page-head .cluster a.btn-primary:hover,
.cta-band a.btn-primary, .cta-band a.btn-primary:hover { color: #fff; }
.btn-lg { padding: 0.95rem 1.6rem; }
.btn-sm { padding: 0.45rem 0.9rem; font-size: var(--step--1); }
.btn-block { width: 100%; }

.util-bar { background: var(--night-3); color: #C5CDE0; font-size: 0.875rem; }
.util-bar .wrap { display: flex; gap: 1.5rem; min-height: 2.375rem; align-items: center; justify-content: flex-end; }
.util-bar a { text-decoration: none; color: inherit; }
.util-bar a:hover { color: #fff; }
@media (max-width: 60rem) { .util-bar { display: none; } }

/* header — white bar, red rule (Register) */
.site-header { background: var(--paper); color: var(--night); position: sticky; top: 0; z-index: 50; border-bottom: 4px solid var(--signal); }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 4.75rem; }
.brand, .logo { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--night); font-weight: 700; font-size: 1.1rem; letter-spacing: -0.01em; }
.brand img { height: 42px; width: auto; }
.brand svg, .logo svg { width: 28px; height: 28px; flex-shrink: 0; }
.brand small, .logo span { font-weight: 500; opacity: 0.7; font-size: 0.875rem; letter-spacing: 0; }
.brand-mark { display: none; }
.nav { display: none; margin-left: auto; gap: 0.15rem; align-items: center; }
.nav a:not(.btn) { color: var(--night); text-decoration: none; font-weight: 500; font-size: 0.95rem; padding: 0.5rem 0.8rem; border-radius: 999px; }
.nav a:not(.btn):hover, .nav a:not(.btn)[aria-current="page"] { background: var(--chalk); color: var(--night); }
.nav a.btn { text-decoration: none; margin-left: 0.25rem; }
.nav-cta { margin-left: 0.5rem; }
.nav-toggle { margin-left: auto; background: var(--night); border: 0; color: #fff; border-radius: var(--radius-s); padding: 0.55rem 1rem; display: inline-flex; gap: 0.5rem; align-items: center; font-weight: 700; cursor: pointer; }
@media (max-width: 60rem) { .site-header .nav .btn-primary { margin-left: auto; } }
.mobile-nav { display: none; background: #fff; border-top: 1px solid var(--line); }
.mobile-nav[data-open="true"] { display: block; }
.mobile-nav a { display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--night); font-weight: 600; }
@media (min-width: 60rem) {
  .nav { display: flex; }
  .nav-toggle, .mobile-nav { display: none !important; }
}
@media (max-width: 860px) { .brand small { display: none; } }

/* home hero — split: copy left, pathway board right */
.page-home .hero { background: var(--night); color: #fff; padding: 4rem 0 4rem; position: relative; overflow: hidden; }
.page-home .hero::after { content: ""; position: absolute; right: -12rem; top: -12rem; width: 36rem; height: 36rem; border-radius: 50%; background: radial-gradient(circle, rgba(217,100,58,0.35), transparent 65%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; position: relative; }
.hero-grid > * { min-width: 0; }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 6fr 6fr; align-items: center; }
  .hero-register .hero-grid { grid-template-columns: 1fr; align-items: stretch; }
}
.page-home .hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.02; letter-spacing: -0.02em; margin: 0 0 1rem; color: #fff; }
.page-home .hero h1 em { font-style: italic; color: var(--signal-2); font-variation-settings: "opsz" 72, "SOFT" 100; }
.page-home .hero .hero-sub { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 500; color: #C5CDE0; margin: 0 0 1rem; max-width: 40ch; line-height: 1.35; }
.page-home .hero .lede { font-size: 1.1875rem; color: #C5CDE0; max-width: 48ch; margin: 0 0 1.75rem; }
.hero-register { padding: 3.5rem 0 0; }
.hero-register .hero-grid { grid-template-columns: 1fr; gap: 2rem; align-items: stretch; }
.hero-register .hero-copy { max-width: 40rem; }
.hero-bodies { display: grid; grid-template-columns: 1fr; gap: 1px; background: rgba(255, 255, 255, 0.15); border-radius: 6px 6px 0 0; overflow: hidden; width: 100%; }
.hero-bodies > div, .hero-bodies > a { background: var(--night-2); padding: 1.25rem; color: #fff; text-decoration: none; min-width: 0; }
.hero-bodies b { display: block; font-size: 1.375rem; font-weight: 800; }
.hero-bodies span { font-size: 0.8125rem; color: #C5CDE0; display: block; line-height: 1.35; }
.hero-bodies em { font-style: normal; font-size: 1.75rem; font-weight: 900; display: block; margin-top: 0.625rem; }
@media (min-width: 40rem) { .hero-bodies { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.finder { background: var(--chalk); padding: 0 0 4.5rem; margin-top: 0; }
.finder .panel { background: #fff; border-radius: 0 0 8px 8px; box-shadow: var(--shadow-2); padding: 1.5rem; margin-top: 0; }
.hero-register + .finder .wrap { margin-top: 0; }
.register-ctl { display: grid; gap: 0.75rem; grid-template-columns: 2fr 1fr 1fr auto; align-items: end; }
.register-ctl label { display: block; font-size: 0.8125rem; font-weight: 700; margin-bottom: 0.375rem; color: var(--mute); }
.register-ctl input, .register-ctl select { width: 100%; font: inherit; padding: 0.75rem 0.875rem; border: 1.5px solid var(--line); border-radius: var(--radius-s); background: #fff; }
.register-ctl input:focus, .register-ctl select:focus { outline: none; border-color: var(--night); }
@media (max-width: 860px) { .register-ctl { grid-template-columns: 1fr 1fr; } .register-ctl .register-q { grid-column: 1 / -1; } }
.levelbar { display: flex; flex-wrap: wrap; gap: 0.375rem; margin: 1rem 0 0.25rem; }
.levelbar button { font: inherit; font-size: 0.875rem; font-weight: 700; border: 1.5px solid var(--line); background: #fff; padding: 0.4375rem 0.75rem; border-radius: 999px; cursor: pointer; }
.levelbar button span { color: var(--mute); font-weight: 500; margin-left: 0.25rem; }
.levelbar button[aria-pressed="true"] { background: var(--night); color: #fff; border-color: var(--night); }
.levelbar button[aria-pressed="true"] span { color: #C5CDE0; }
.register-count { font-size: 0.875rem; color: var(--mute); margin: 0.875rem 0 0.5rem; }
.table-wrap.register-scroll {
  max-height: 35rem;
  overflow: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
table.reg { width: 100%; border-collapse: collapse; font-size: 1rem; }
.reg th { text-align: left; font-size: 0.8125rem; color: var(--mute); font-weight: 700; padding: 0.625rem; border-bottom: 2px solid var(--night); white-space: nowrap; background: #fff; position: sticky; top: 0; z-index: 1; }
.reg td { padding: 0.875rem 0.625rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.reg tbody tr:hover td { background: #FAFBFD; }
.reg .lvl { font-weight: 900; color: var(--night); font-size: 1.125rem; width: 3.75rem; }
.reg .type { font-size: 0.8125rem; font-weight: 700; background: var(--chalk); border-radius: 999px; padding: 0.1875rem 0.5625rem; white-space: nowrap; }
.reg td.act { text-align: right; white-space: nowrap; }
.reg td.act a { font-weight: 700; font-size: 0.875rem; margin-left: 0.75rem; text-decoration: none; }
.reg td.act a.ap { color: var(--signal); }
.reg .empty { padding: 1.75rem; color: var(--mute); }
@media (max-width: 700px) { .reg .typec, .reg th.typeh { display: none; } .reg td.act a.dt { display: none; } }
.facts-grid { display: grid; gap: 0; grid-template-columns: repeat(4, 1fr); border-top: 4px solid var(--night); margin-top: 0.5rem; }
.facts-grid > div { padding: 1.5rem 1.5rem 0 0; }
.facts-grid > div + div { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.facts-grid h3 { margin: 0 0 0.375rem; font-size: 1.125rem; font-weight: 800; }
.facts-grid p { margin: 0; color: var(--mute); font-size: 0.9375rem; }
@media (max-width: 900px) { .facts-grid { grid-template-columns: 1fr 1fr; row-gap: 1.5rem; } .facts-grid > div:nth-child(3) { border-left: 0; padding-left: 0; } }
.section-process { background: var(--chalk); }
.proc-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; counter-reset: regstep; }
.proc-steps li { counter-increment: regstep; background: #fff; padding: 1.5rem; border-top: 4px solid var(--signal); border-radius: 0 0 6px 6px; }
.proc-steps li::before { content: "Step " counter(regstep); font-size: 0.8125rem; font-weight: 800; color: var(--signal); display: block; margin-bottom: 0.5rem; }
.proc-steps h3 { margin: 0 0 0.375rem; font-size: 1.125rem; font-weight: 800; }
.proc-steps p { margin: 0; color: var(--mute); font-size: 0.9375rem; }
@media (max-width: 900px) { .proc-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .proc-steps { grid-template-columns: 1fr; } }
.section-final, .section-cta { background: var(--night); color: #fff; padding: 5.5rem 0; }
.section-final h2, .section-cta h2 { color: #fff; margin: 0; max-width: none; }
.section-final p, .section-cta p { color: #C5CDE0; margin: 0.5rem 0 0; max-width: 50ch; }
.section-final .btn-line, .section-cta .btn-outline { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55); background: transparent; }
.section-final .btn-line:hover, .section-cta .btn-outline:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.hero .ctas, .hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.btn-line, .btn-outline-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.5); }
.btn-outline-light:hover { background: rgba(255,255,255,0.08); color: #fff; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 1.5rem; color: #CFE3D8; font-size: 0.95rem; }
.hero-proof b { display: block; color: #fff; font-size: 1.5rem; font-family: var(--font-display); font-weight: 600; }

/* pathway board (replaces the old stairs) */
.pathway { display: grid; gap: 0.6rem; }
.pathway a { display: grid; grid-template-columns: 3.25rem 1fr auto; gap: 1rem; align-items: center; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; padding: 0.85rem 1rem; color: #fff; text-decoration: none; transition: background 0.15s ease, transform 0.15s ease; }
.pathway a:hover { background: rgba(255,255,255,0.12); transform: translateX(4px); color: #fff; }
.pathway .lv { width: 3.25rem; height: 3.25rem; border-radius: 10px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--night); background: var(--lv, var(--bar-4)); }
.pathway a[data-level="6"] .lv, .pathway a[data-level="7"] .lv, .pathway a[data-level="8"] .lv { color: #fff; }
.pathway .lv--short { background: var(--signal); color: #fff; font-size: 0.9rem; letter-spacing: 0.04em; }
.pathway h3 { margin: 0; font-size: 1.05rem; color: #fff; font-family: var(--font-text); font-weight: 600; }
.pathway p { margin: 0.1rem 0 0; color: #CFE3D8; font-size: 0.875rem; }
.pathway .count { color: #CFE3D8; font-size: 0.875rem; white-space: nowrap; font-variant-numeric: tabular-nums; }

.level-detail { background: #fff; color: var(--night); padding: 1.75rem 0 2rem; border-bottom: 1px solid var(--line); }
.level-detail .wrap { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 860px) { .level-detail .wrap { grid-template-columns: auto 1fr auto; align-items: center; gap: 2.5rem; } }
.level-detail .big { font-size: 4rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; font-family: var(--font-display); }
.level-detail .big small { display: block; font-size: 0.9375rem; font-weight: 600; color: var(--mute); margin-top: 4px; font-family: var(--font-text); }
.level-detail h2 { margin: 0 0 4px; font-size: 1.5rem; }
.level-detail p { margin: 0; color: var(--mute); }

/* awarding body strip */
.bodies { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 48rem) { .bodies { grid-template-columns: repeat(3, 1fr); } }
.body-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: grid; gap: 0.5rem; text-decoration: none; color: inherit; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.body-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-1); color: inherit; }
.body-card .mark { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--bar-7); }
.body-card p { color: var(--mute); font-size: 0.95rem; margin: 0; }
.body-card .meta { font-size: var(--step--1); color: var(--bar-7); font-weight: 600; }

/* flagship flag list */
.flag { display: grid; grid-template-columns: 1fr; border-top: 2px solid var(--night); }
.flag a { display: grid; grid-template-columns: 72px 1fr auto; gap: 1rem; align-items: center; padding: 1.375rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.flag a:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.flag .tag {
  width: 56px; height: 56px; border-radius: 10px; display: grid; place-items: center;
  font-weight: 900; font-size: 1.625rem; flex-shrink: 0; line-height: 1;
}
.flag .tag-lv { background-color: var(--lv, var(--bar-4)); color: var(--night); }
.flag .tag-lv[data-level="6"], .flag .tag-lv[data-level="7"], .flag .tag-lv[data-level="8"] { color: #fff; }
.flag .tag-lv[data-level="0"] { background-color: var(--signal); color: #fff; font-size: 0.8rem; }
.flag h3 { margin: 0; font-size: 1.2rem; letter-spacing: -0.01em; font-weight: 600; font-family: var(--font-text); }
.flag p { margin: 2px 0 0; color: var(--mute); font-size: 0.9375rem; }
.flag .facts { font-size: 0.9375rem; color: var(--mute); text-align: right; }
.flag .facts b { color: var(--night); }
@media (max-width: 640px) {
  .flag a { grid-template-columns: 56px 1fr; gap: 0.85rem 1rem; align-items: start; padding: 1.25rem 0; }
  .flag .tag { width: 48px; height: 48px; font-size: 1.35rem; }
  .flag .facts { grid-column: 2; text-align: left; margin-top: 0.15rem; }
}

/* subject columns */
.subjects { columns: 3 260px; column-gap: 2.5rem; margin: 0; padding: 0; list-style: none; }
.subjects li { break-inside: avoid; border-bottom: 1px solid var(--line); }
.subjects a { display: flex; justify-content: space-between; gap: 0.75rem; padding: 0.75rem 0; text-decoration: none; font-weight: 500; color: var(--night); }
.subjects a:hover { color: var(--bar-7); }
.subjects span { color: var(--mute); font-variant-numeric: tabular-nums; }
.more { margin-top: 1.75rem; }

/* how it works */
.section-how, .section-process { background: var(--chalk); border-block: 1px solid var(--line); }
.how-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .how-grid { grid-template-columns: 1fr 1fr; } }
.how-grid ol.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.how-grid ol.steps li { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; gap: 1rem; padding: 1.25rem 0; border-top: 1px solid var(--line); }
.how-grid ol.steps li::before { content: counter(s); width: 40px; height: 40px; border-radius: 50%; background: var(--night); color: #fff; display: grid; place-items: center; font-weight: 800; }
.how-grid ol.steps h3 { margin: 0.35rem 0 0.25rem; font-size: 1.12rem; font-weight: 700; }
.how-grid ol.steps p { margin: 0; color: var(--mute); font-size: 0.98rem; }
.facts-box { background: var(--chalk); border-radius: 16px; padding: 2rem; }
.facts-box h3 { margin: 0 0 1rem; font-size: 1.375rem; letter-spacing: -0.02em; }
.facts-box dl { margin: 0; display: grid; gap: 1rem; }
.facts-box dt { font-weight: 700; }
.facts-box dd { margin: 2px 0 0; color: var(--mute); }

/* CTA band */
.section-cta .wrap, .section-final .wrap { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; }

.cta-band {
  background: var(--night); color: #fff;
  padding: 2.5rem 1.75rem;
  border-radius: var(--radius-s);
  display: flex; flex-wrap: wrap; gap: 1.5rem 2rem;
  align-items: center; justify-content: space-between;
}
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; width: 100%; }
.cta-band h2 { font-size: clamp(1.35rem, 2.8vw, 2rem); letter-spacing: -0.03em; margin: 0; max-width: 42ch; line-height: 1.1; color: #fff; font-weight: 900; }
.cta-band p { margin: 0.5rem 0 0; max-width: 52ch; color: #C5CDE0; }
.cta-band .btn-outline { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55); background: transparent; }
.cta-band .btn-outline:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.section-cta .btn-primary { background: var(--signal); color: #fff; }
.section-cta .btn-primary:hover { background: var(--signal-2); }

/* inner pages — Register navy page hero (site-wide default) */
.hero:not(.page-home .hero) { padding-block: var(--s5); background: var(--night); color: #fff; }
.page-head, .page-head--dark {
  padding-block: var(--s5) var(--s4);
  background: var(--night);
  color: #fff;
  border-bottom: 0;
}
.page-head h1, .page-head--dark h1 { color: #fff; max-width: 24ch; }
.page-head .lede, .page-head .intro, .page-head--dark .lede { color: #C5CDE0; max-width: 52ch; margin-bottom: 0; }
.page-head .eyebrow, .page-head--dark .eyebrow { color: #F0A8AD; }
.page-head .crumbs, .page-head--dark .crumbs { color: #C5CDE0; margin-bottom: var(--s2); }
.page-head .crumbs a, .page-head--dark .crumbs a { color: #C5CDE0; text-decoration: none; }
.page-head .crumbs a:hover, .page-head--dark .crumbs a:hover { color: #fff; }
.page-head .crumbs [aria-current="page"], .page-head--dark .crumbs [aria-current="page"] { color: #fff; }
.page-head .crumbs li + li::before, .page-head--dark .crumbs li + li::before { color: rgba(255, 255, 255, 0.35); }
.page-head .filters a { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.2); color: #fff; }
.page-head .filters a[aria-current="true"] { background: #fff; color: var(--night); border-color: #fff; }
.page-head .filters a .muted { color: var(--mute); }
.page-head--light { background: #fff; color: var(--night-3); border-bottom: 1px solid var(--line); }
.page-head--light h1 { color: var(--night-3); }
.page-head--light .lede, .page-head--light .intro { color: var(--mute); }
.page-head--light .crumbs, .page-head--light .crumbs a { color: var(--mute); }
.page-head--light .crumbs a:hover { color: var(--night); }
.crumbs { font-size: var(--step--1); }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.4em; }
.crumbs li + li::before { content: "/"; margin-right: 0.4em; }

/* badges & cards */
.badge { display: inline-flex; align-items: center; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.3em 0.75em; border-radius: 999px; background: var(--bar-2); color: var(--bar-7); border: 1px solid var(--bar-3); }
.badge-amber { background: var(--signal-3); color: #9B3E1B; border-color: #F0CFBF; }
.badge-ink { background: var(--night); color: #fff; border-color: var(--night); }
.badge-short { background: var(--signal); color: #fff; border-color: var(--signal); }
.badge-lv {
  background: color-mix(in srgb, var(--lv, var(--bar-7)) 22%, #fff);
  color: var(--night);
  border-color: color-mix(in srgb, var(--lv, var(--bar-7)) 45%, var(--line));
}
.card[data-level="7"] .badge-lv,
.card[data-level="8"] .badge-lv {
  background: color-mix(in srgb, var(--lv) 28%, #fff);
  color: var(--bar-8);
}
[data-level="0"] { --lv: var(--signal-3); }
[data-level="2"] { --lv: var(--bar-2); }
[data-level="3"] { --lv: var(--bar-3); }
[data-level="4"] { --lv: var(--bar-4); }
[data-level="5"] { --lv: var(--bar-5); }
[data-level="6"] { --lv: var(--bar-6); }
[data-level="7"] { --lv: var(--bar-7); }
[data-level="8"] { --lv: var(--bar-8); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s3); display: flex; flex-direction: column; gap: var(--s1); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-1); }
.card h3 { font-size: var(--step-1); margin: 0; }
.card h3 a { color: var(--night); text-decoration: none; }
.card-accent { border-top: 4px solid var(--lv, var(--bar-7)); }
.card .facts { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; font-size: var(--step--1); color: var(--mute); margin-top: auto; padding-top: var(--s1); border-top: 1px dashed var(--line); }
.grid-3-fixed { display: grid; gap: var(--s3); grid-template-columns: 1fr; }
@media (min-width: 40rem) { .grid-3-fixed { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .grid-3-fixed { grid-template-columns: repeat(3, 1fr); } }

/* course / article layout */
.page-detail { display: grid; gap: var(--s5); align-items: start; }
@media (min-width: 64rem) { .page-detail { grid-template-columns: minmax(0, 1fr) 21rem; } }
.detail-main > section { padding-block: var(--s4); border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 1rem); }
.detail-main h2 { font-size: var(--step-2); }
.rail { position: sticky; top: calc(var(--header-h) + 1rem); display: grid; gap: var(--s2); }
.facts-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); }
.facts-panel header { padding: var(--s2) var(--s3); background: var(--night); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: var(--s1); }
.facts-panel dl { margin: 0; padding: 0.35rem var(--s3) 0.5rem; display: grid; grid-template-columns: minmax(5.75rem, 42%) minmax(0, 1fr); column-gap: 1rem; row-gap: 0; align-items: start; font-size: var(--step--1); }
.facts-panel dt { color: var(--mute); font-weight: 600; font-size: 0.75rem; line-height: 1.35; padding: 0.7rem 0 0.2rem; }
.facts-panel dd { margin: 0; font-weight: 600; text-align: left; line-height: 1.45; color: var(--night); padding: 0.2rem 0 0.7rem; border-bottom: 1px solid var(--line); }
.facts-panel dt:last-of-type { padding-bottom: 0.65rem; }
.facts-panel dd:last-of-type { border-bottom: 0; padding-bottom: 0.85rem; }
.facts-panel dd.fact-fees { padding-bottom: 0.85rem; }
.facts-panel .cta { padding: var(--s2) var(--s3) var(--s3); display: grid; gap: var(--s1); border-top: 1px solid var(--line); }
.answer-first { font-size: var(--step-1); border-left: 4px solid var(--signal); font-family: var(--font-display); font-weight: 500; line-height: 1.45; padding: var(--s1) var(--s3); background: #fff; border-radius: 0 var(--radius-s) var(--radius-s) 0; margin: var(--s3) 0; color: var(--night-2); }
.detail-main ol.steps:not(.contact-steps) { counter-reset: step; list-style: none; padding: 0; display: grid; gap: var(--s3); }
.detail-main ol.steps:not(.contact-steps) li { counter-increment: step; position: relative; padding-left: calc(3rem + var(--s2)); min-width: 0; }
.detail-main ol.steps:not(.contact-steps) li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 3rem; font-size: var(--step-2); color: var(--bar-7); line-height: 1; font-weight: 800; }
.detail-main ol.steps:not(.contact-steps) b { display: block; font-size: var(--step-0); margin-bottom: 0.2rem; }

.filters { display: flex; flex-wrap: wrap; gap: var(--s1); margin-bottom: var(--s4); }
.filters a { text-decoration: none; padding: 0.45rem 0.95rem; border-radius: 999px; border: 1px solid var(--line); color: var(--mute); font-weight: 600; font-size: var(--step--1); background: #fff; }
.filters a[aria-current="true"] { background: var(--night); color: #fff; border-color: var(--night); }
.page-head .filters { margin-top: 1.5rem; }
.faq > h2 { margin-bottom: 1rem; }
.faq-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-1);
  max-width: 48rem;
}
.faq-panel details { border-bottom: 1px solid var(--line); }
.faq-panel details:last-child { border-bottom: 0; }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.15rem;
  font-weight: 600;
  font-size: var(--step--1);
  line-height: 1.45;
  color: var(--night);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--bar-7);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.15;
}
.faq details[open] summary { color: var(--bar-7); }
.faq details[open] summary::after { content: "−"; }
.faq-a {
  padding: 0 1.15rem 1.1rem;
  color: var(--mute);
  font-size: var(--step--1);
  line-height: 1.55;
}
.faq-a p { margin: 0 0 0.65rem; }
.faq-a p:last-child { margin-bottom: 0; }
.prose { max-width: 68ch; }
.prose a { font-weight: 600; }
.prose > section > h2 { margin-bottom: 0.65rem; }
.prose > section > p + ul,
.prose > section > h2 + ul { margin-top: 0.35rem; }
.teach-list { margin: 0.35rem 0 0; padding-left: 1.35rem; display: grid; gap: 0.85rem; }
.teach-list li { line-height: 1.55; padding-left: 0.15rem; }
.teach-list li::marker { color: var(--bar-6); }
.teach-list strong { color: var(--night); font-weight: 800; }

/* forms */
.form { display: grid; gap: var(--s2); }
.form-panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s4); box-shadow: var(--shadow-1); margin-top: var(--s2);
}
.form-actions { display: flex; flex-wrap: wrap; gap: var(--s1); align-items: center; margin-top: var(--s1); }
.field { display: grid; gap: 0.35rem; }
.field label { font-weight: 700; font-size: var(--step--1); }
.field input, .field select, .field textarea { width: 100%; padding: 0.8rem 0.95rem; border-radius: var(--radius-s); border: 1.5px solid var(--line); background: #fff; color: var(--night); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--bar-7); outline: none; box-shadow: 0 0 0 3px var(--bar-3); }
.field-row { display: grid; gap: var(--s2); grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.consent { font-size: var(--step--1); color: var(--mute); display: flex; gap: 0.65rem; align-items: flex-start; line-height: 1.45; }
.consent input { margin-top: 0.25rem; flex-shrink: 0; accent-color: var(--bar-7); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status:empty { display: none; }
.facts-panel-note { margin: 0; padding: 0 var(--s3) var(--s2); font-size: var(--step--1); color: var(--mute); line-height: 1.5; border-bottom: 1px solid var(--line); }
.facts-panel dd a { color: var(--bar-7); font-weight: 700; text-decoration: none; }
.facts-panel dd a:hover { text-decoration: underline; text-underline-offset: 3px; }
.page-contact .detail-main > section { border-bottom: 1px solid var(--line); padding-block: var(--s4); }
.page-contact .detail-main > section:first-child { padding-top: 0; }
.contact-steps { list-style: none; margin: 0; padding: 0; counter-reset: cstep; display: grid; gap: 1.25rem; max-width: 42rem; }
.contact-steps li { counter-increment: cstep; display: flex; flex-direction: row; align-items: center; gap: 1rem; min-width: 0; }
.contact-steps li::before {
  content: counter(cstep, decimal-leading-zero);
  flex: 0 0 2.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--night);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.contact-steps li > div { flex: 1; min-width: 0; }
.contact-steps h3 { margin: 0 0 0.35rem; font-size: var(--step-0); font-weight: 700; line-height: 1.3; }
.contact-steps p { margin: 0; color: var(--mute); font-size: var(--step--1); line-height: 1.55; }
.page-contact + .section-cta { margin-top: 0; }
.alert { padding: var(--s2) var(--s3); border-radius: var(--radius-s); border: 1px solid; font-size: var(--step--1); }
.alert-ok { background: #ecf7ef; border-color: #bfe3c8; color: var(--ok); }
.alert-err { background: #fbeaea; border-color: #f0c0c0; color: #9b2222; }
dialog.sheet {
  border: 0; border-radius: var(--radius); padding: 0; max-width: min(92vw, 34rem); width: 100%;
  box-shadow: var(--shadow-2); background: #fff; color: var(--night);
}
dialog.sheet::backdrop { background: rgba(20, 33, 61, 0.55); backdrop-filter: blur(3px); }
dialog.sheet .sheet-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s2);
  padding: var(--s3) var(--s4) 0; border-bottom: 0;
}
dialog.sheet .sheet-head > div { flex: 1; min-width: 0; }
dialog.sheet .sheet-head h2 { font-size: var(--step-2); margin: 0; color: var(--night); line-height: 1.15; }
dialog.sheet .sheet-head .eyebrow { margin-bottom: 0.35rem; }
dialog.sheet .close-x {
  flex-shrink: 0; margin: 0; padding: 0; border: 0; cursor: pointer;
  width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center;
  font-size: 1.25rem; line-height: 1; color: var(--mute); background: transparent;
}
dialog.sheet .close-x:hover { background: var(--bone-2); color: var(--night); }
dialog.sheet .sheet-body { padding: var(--s3) var(--s4) var(--s4); }
dialog.sheet .sheet-body > .muted { margin: 0 0 var(--s2); line-height: 1.45; }
dialog.sheet .form { margin-top: var(--s1); }
dialog.sheet .field-row { grid-template-columns: 1fr; }
@media (min-width: 30rem) { dialog.sheet .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
dialog.sheet .field input,
dialog.sheet .field select,
dialog.sheet .field textarea { color: var(--night); background: #fff; }
dialog.sheet .field input::placeholder,
dialog.sheet .field textarea::placeholder { color: var(--mute); opacity: 1; }
.sheet-done { margin-top: var(--s1); }
.sheet-done__title { font-weight: 800; font-size: var(--step-1); color: var(--night); margin: 0 0 0.5rem; }
.sheet-done__text { margin: 0 0 var(--s2); color: var(--night-2); line-height: 1.5; }
.sheet-done__download { margin: 0; }

/* footer */
.site-footer { background: var(--night-3); color: #9FAACB; padding: 2.25rem 0 2rem; font-size: 0.875rem; margin-top: 0; }
.site-footer a { color: #9FAACB; text-decoration: none; }
.site-footer .contact-img { max-width: 100%; height: auto; margin-top: 1rem; }
.footer-bottom__legal { display: flex; flex-direction: column; gap: 0.65rem; max-width: 36rem; font-size: inherit; }
.footer-bottom__legal .brand-ownership-img {
  display: block;
  margin-top: 0.15rem;
  max-width: min(100%, 36rem);
  max-height: 2.85em;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: left top;
}
.detail-main .brand-ownership-img { max-height: none; max-width: min(100%, 22rem); }
.contact-img { display: block; height: auto; }
.contact-img--inline { display: inline-block; vertical-align: middle; }
.facts-panel__contact { padding: 0 var(--s3) var(--s2); }
.contact-block { font-style: normal; font-size: var(--step--1); line-height: 1.55; color: var(--night-2); margin: 0; }
.contact-block__org { margin: 0 0 0.5rem; }
.contact-block__addr { margin: 0 0 0.65rem; color: var(--mute); }
.contact-block__channels { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.contact-block__channels a { font-weight: 600; text-decoration: none; color: var(--bar-7); }
.contact-block__channels a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-block--footer { margin-top: 1rem; color: #C5CDE0; }
.contact-block--footer .contact-block__org { color: #fff; }
.contact-block--footer .contact-block__addr { color: #C5CDE0; }
.contact-block--footer .contact-block__channels a { color: #F0A8AD; }
.brand-ownership { margin: 0.35rem 0 0; font-size: var(--step--1); line-height: 1.45; color: #C5CDE0; max-width: 42ch; }
.brand-ownership strong { color: #fff; font-weight: 700; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer h4 { color: #fff; margin: 0 0 0.75rem; font-size: 0.9375rem; font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.footer-grid, .footer-cols { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.footer-bottom, .legal { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 2.5rem; padding-top: 1.25rem; font-size: 0.8125rem; display: flex; flex-wrap: wrap; gap: var(--s2); justify-content: space-between; }
.footer-brand { color: #fff; font-weight: 700; font-size: 1.15rem; font-family: var(--font-display); }
.footer-brand img { height: 36px; width: auto; background: #fff; padding: 4px 8px; border-radius: 6px; }

.hero-search {
  display: flex; gap: var(--s1); background: #fff; border-radius: 999px;
  padding: 0.5rem 0.5rem 0.5rem 1.35rem; max-width: 36rem; align-items: center;
  min-height: 3.35rem; box-shadow: var(--shadow-2); margin-bottom: 1rem;
}
.hero-search input {
  flex: 1; border: 0; background: transparent; min-width: 0; font-size: 1.05rem; padding: 0.4rem 0;
  color: var(--night);
}
.hero-search input::placeholder { color: var(--mute); opacity: 1; }
.hero-search input:focus { outline: none; }
.hero-search .btn { padding: 0.85rem 1.5rem; font-size: 1rem; border-radius: 999px; min-height: 2.65rem; }
.search-form { display: flex; gap: var(--s1); max-width: 40rem; }
.pill-list { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0; }
.toc {
  font-size: var(--step--1);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s2) var(--s3);
  box-shadow: var(--shadow-1);
}
.toc__title {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mute);
  font-weight: 700;
  margin: 0 0 0.5rem;
}
.toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.toc__list a {
  display: block;
  padding: 0.42rem 0 0.42rem 0.75rem;
  margin-left: -0.75rem;
  line-height: 1.4;
  text-decoration: none;
  color: var(--night-2);
  font-weight: 500;
  border-left: 2px solid transparent;
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
}
.toc__list a:hover { color: var(--bar-7); }
.toc__list a.is-active {
  color: var(--bar-7);
  font-weight: 700;
  border-left-color: var(--signal);
  background: color-mix(in srgb, var(--bar-3) 22%, #fff);
}
.related-searches { margin-top: var(--s3); }
.related-searches__list { list-style: none; padding: 0; margin: 0.65rem 0 0; display: flex; flex-direction: column; gap: 0.5rem; }
.related-searches__list a { display: block; line-height: 1.45; text-decoration: underline; text-underline-offset: 2px; color: var(--night-2); }
.related-searches__list a:hover { color: var(--bar-7); }
.units-table th, .units-table td { text-align: left; padding: 0.7rem 0.75rem; border-bottom: 1px solid var(--line); font-size: var(--step--1); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-1); }
/* first-party information-gain block (standard §5): dated figures from our own catalogue and enquiry records */
.first-party { margin: var(--s2) 0 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-1); }
.first-party dt { padding: 0.8rem 1rem 0.2rem; font-weight: 700; font-size: var(--step--1); color: var(--night); }
.first-party dd { margin: 0; padding: 0 1rem 0.9rem; font-size: var(--step--1); color: var(--ink); border-bottom: 1px solid var(--line); }
.first-party dd:last-child { border-bottom: 0; }
.first-party .as-of { font-weight: 500; color: var(--mute); font-size: 0.8em; }
.first-party q { font-style: italic; }
.compare { width: 100%; }
.compare th, .compare td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--line); text-align: left; font-size: var(--step--1); vertical-align: top; }
.compare th { background: var(--bone-2); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--mute); font-weight: 700; white-space: nowrap; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr:hover { background: color-mix(in srgb, var(--bar-3) 35%, #fff); }
.compare td a { font-weight: 700; text-decoration: none; color: var(--night); }
.compare td a:hover { color: var(--bar-7); text-decoration: underline; }
.table-wrap > .compare { border: 0; border-radius: 0; box-shadow: none; width: 100%; }
.approved-centre-table td:first-child { white-space: nowrap; }
.approved-centre-table__levels { display: block; margin-top: 0.2rem; font-size: 0.92em; color: var(--mute); font-weight: 500; }
.approved-centre-table td.num { font-variant-numeric: tabular-nums; text-align: center; white-space: nowrap; }
.approved-centre-table th:last-child,
.approved-centre-table td:last-child { white-space: nowrap; }
.register-table td:nth-child(2),
.register-table td:nth-child(4) { white-space: nowrap; font-variant-numeric: tabular-nums; }

.fee-schedule { display: grid; gap: var(--s3); max-width: 52rem; }
.fee-schedule h3 { font-size: var(--step-1); margin: var(--s2) 0 0; }
.fee-schedule h4 { font-size: var(--step-0); font-weight: 700; margin: 0 0 var(--s1); line-height: 1.3; }
.fee-schedule h4 .muted { font-weight: 600; font-size: var(--step--1); }
.fee-schedule-note { margin: 0; color: var(--night-2); font-size: var(--step--1); }
.fee-schedule-foot { margin: 0; }
.fee-schedule-grid { display: grid; gap: var(--s3); align-items: start; }
@media (min-width: 48rem) { .fee-schedule-grid { grid-template-columns: 1fr 1fr; } }
.fee-schedule-block { min-width: 0; }

.fee-plan, table.fees { width: 100%; margin: 0; font-size: var(--step--1); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-1); }
.table-wrap > .fee-plan, .table-wrap > table.fees { border: 0; border-radius: 0; box-shadow: none; }
.fee-plan caption, table.fees caption { caption-side: top; }
.fee-plan th, .fee-plan td, table.fees th, table.fees td { padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.fee-plan th, table.fees th { background: var(--bone-2); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--mute); font-weight: 700; }
.fee-plan tbody tr:last-child td, table.fees tbody tr:last-child td { border-bottom: 0; }
.fee-plan tbody tr:hover, table.fees tbody tr:hover { background: color-mix(in srgb, var(--bar-3) 25%, #fff); }
.fee-plan td:nth-child(2), table.fees td:nth-child(2) { white-space: nowrap; font-variant-numeric: tabular-nums; }
.fee-plan td:last-child, table.fees td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.detail-main .table-wrap { margin: 0 0 1.25rem; }
.detail-main h3 { font-size: var(--step-1); font-weight: 800; margin: 1.75rem 0 0.85rem; color: var(--night); }

.included, table.included { width: 100%; margin: 0; font-size: var(--step--1); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-1); }
.table-wrap > .included, .table-wrap > table.included { border: 0; border-radius: 0; box-shadow: none; }
.included th, .included td { padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.included th { background: var(--bone-2); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--mute); font-weight: 700; }
.included tbody tr:last-child td { border-bottom: 0; }
.included tbody tr:hover { background: color-mix(in srgb, var(--bar-3) 25%, #fff); }
.included td:first-child { color: var(--night); font-weight: 600; max-width: 28rem; }
.included td:last-child { text-align: right; font-weight: 700; color: var(--night-2); white-space: nowrap; }
.fee-plan--summary { margin-top: var(--s1); }
.fee-plan--summary td:last-child { font-size: var(--step-0); color: var(--night); }
.fee-plan--summary tbody td:first-child { width: 42%; }
.facts-panel .fee-plan--compact { margin-top: 0.35rem; box-shadow: none; font-size: 0.8125rem; }
.facts-panel .fee-plan--compact th, .facts-panel .fee-plan--compact td { padding: 0.45rem 0.55rem; border-bottom: 1px solid var(--line); }
.facts-panel .fee-plan--compact th { background: transparent; text-transform: none; letter-spacing: 0; font-size: inherit; color: var(--mute); font-weight: 600; text-align: left; width: 55%; }
.facts-panel .fee-plan--compact td { text-align: right; font-weight: 700; color: var(--night); }
.facts-panel .fee-plan--compact tbody tr:last-child th,
.facts-panel .fee-plan--compact tbody tr:last-child td { border-bottom: 0; }
.facts-panel dd .small.muted { display: block; margin-top: 0.35rem; line-height: 1.35; }
.fee-stack { list-style: none; margin: 0.15rem 0 0; padding: 0.55rem 0.65rem; background: var(--chalk); border-radius: var(--radius-s); display: grid; gap: 0.45rem; }
.fee-stack__row { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; }
.fee-stack__term { font-size: 0.8125rem; color: var(--mute); font-weight: 600; }
.fee-stack__price { font-size: 0.9375rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--night); white-space: nowrap; }
.fee-stack__note { margin: 0.5rem 0 0; line-height: 1.4; }
.facts-panel dd.fact-fees { border-bottom: 1px solid var(--line); }

.hub-compare { margin-bottom: var(--s5); }
.hub-compare h2 { font-size: var(--step-2); margin-bottom: 0.35rem; }
.hub-compare .intro { margin-bottom: var(--s3); }

.subject-group { padding-block: var(--s4); border-top: 1px solid var(--line); }
.subject-group:first-of-type { border-top: 0; padding-top: 0; }
.subject-group--solo { padding-block: var(--s3); }
.subject-group__head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 0.5rem 1rem; margin-bottom: var(--s2);
}
.subject-group__title { font-size: var(--step-1); margin: 0; max-width: 42ch; line-height: 1.2; }
.subject-group__count {
  font-size: var(--step--1); font-weight: 700; color: var(--mute);
  background: var(--bone-2); border: 1px solid var(--line); border-radius: 999px;
  padding: 0.25rem 0.75rem; white-space: nowrap;
}
.hub-grid { align-items: stretch; }
.card .card-meta { margin: 0; line-height: 1.4; }
.card h3 { font-size: var(--step-1); line-height: 1.25; }
.card h3 a { color: var(--night); text-decoration: none; }
.card h3 a:hover { color: var(--bar-7); text-decoration: underline; text-underline-offset: 3px; }

.progression-path { display: flex; flex-wrap: wrap; gap: 0.5rem 0.65rem; align-items: center; list-style: none; padding: 0; margin: var(--s2) 0 var(--s3); max-width: 48rem; }
.progression-path li:not(.progression-path__sep) {
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0.5rem 1rem;
  font-size: var(--step--1); font-weight: 600; line-height: 1.35;
}
.progression-path li.is-current { background: var(--night); color: #fff; border-color: var(--night); }
.progression-path__link { text-decoration: none; color: inherit; }
.progression-path li:not(.is-current) .progression-path__link:hover { color: var(--bar-7); }
.progression-path li.is-current .progression-path__link { color: inherit; }
.progression-path__sep {
  padding: 0; margin: 0; border: 0; background: none; color: var(--signal); font-weight: 700;
  font-size: 1.05rem; line-height: 1; flex: 0 0 auto;
}
#progression-path h3 { font-size: var(--step-1); font-weight: 800; margin: var(--s3) 0 0.75rem; color: var(--night); }
.related-block { list-style: none; margin: 0 0 var(--s2); padding: 0; display: grid; gap: 0.45rem; max-width: 48rem; }
.related-block a {
  display: block; padding: 0.65rem 0.9rem; border: 1px solid var(--line); border-radius: var(--radius-s);
  background: #fff; text-decoration: none; font-weight: 600; font-size: var(--step--1); line-height: 1.4; color: var(--night-2);
}
.related-block a:hover { border-color: var(--bar-6); color: var(--bar-7); background: color-mix(in srgb, var(--bar-3) 18%, #fff); }
.credentials-block h2 { font-size: var(--step-2); margin: 0 0 var(--s2); }
.cred-list { margin: 0; padding: 0; display: grid; gap: 1rem; max-width: 48rem; }
.cred-list dt { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; color: var(--mute); margin: 0 0 0.35rem; }
.cred-list dd { margin: 0; font-size: var(--step--1); line-height: 1.55; color: var(--night-2); }
.cred-list dd p { margin: 0 0 0.5rem; }
.cred-list dd p:last-child { margin-bottom: 0; }
.cred-list dd a { font-weight: 700; white-space: nowrap; }
.utility-callout { padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bone-2); margin-bottom: 1.5rem; }
.utility-callout h2 { font-size: var(--step-0); margin: 0 0 0.5rem; }
.ab-list { list-style: none; padding: 0; margin: 0.35rem 0 0; display: grid; gap: 0.85rem; max-width: 68ch; }
.ab-list li { line-height: 1.55; }
.ab-list a { text-decoration: underline; text-underline-offset: 0.15em; color: var(--bar-7); }
.ab-list a:hover { color: var(--night); }
.contact-card {
  margin: 0.75rem 0 0;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--chalk);
  max-width: 26rem;
}
.contact-card .contact-block { font-size: var(--step-0); }
.blog-grid { display: grid; gap: var(--s3); grid-template-columns: 1fr; }
@media (min-width: 40rem) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s3); display: flex; flex-direction: column; gap: 0.5rem; }
.blog-card h3 { font-size: var(--step-1); margin: 0; line-height: 1.3; }
.blog-card h3 a { color: var(--night); text-decoration: none; }
.blog-card h3 a:hover { color: var(--signal); }
.blog-card time { font-size: var(--step--1); color: var(--mute); }
.landing-grid { display: grid; gap: var(--s3); grid-template-columns: 1fr; }
@media (min-width: 48rem) { .landing-grid { grid-template-columns: 1fr 1fr; } }
.landing-list { columns: 2 18rem; column-gap: 2rem; list-style: none; padding: 0; margin: 0; }
.landing-list li { break-inside: avoid; padding: 0.4rem 0; border-bottom: 1px solid var(--line); font-size: var(--step--1); }
.landing-list a { text-decoration: none; color: var(--night); }
.landing-list a:hover { color: var(--signal); }
.apply-steps-intro { margin: 0 0 1.25rem; max-width: 52ch; color: var(--mute); line-height: 1.55; }
.apply-steps { counter-reset: a; list-style: none; padding: 0; margin: 0; display: grid; gap: 0; max-width: 42rem; }
.apply-steps li { counter-increment: a; display: flex; flex-direction: row; align-items: center; gap: 1rem; padding: 1.15rem 0; border-top: 1px solid var(--line); min-width: 0; }
.apply-steps li:first-child { border-top: 0; padding-top: 0; }
.apply-steps li:last-child { padding-bottom: 0; }
.apply-steps li::before {
  content: counter(a);
  flex: 0 0 2.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--night);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.9375rem;
  flex-shrink: 0;
}
.apply-steps li > div { flex: 1; min-width: 0; font-size: var(--step--1); line-height: 1.55; color: var(--mute); }
.apply-steps li > div h3 { margin: 0 0 0.35rem; font-size: var(--step-0); font-weight: 700; line-height: 1.3; color: var(--night); }
.apply-steps li > div p { margin: 0; color: var(--mute); line-height: 1.55; }
.apply-steps li > div b { display: block; font-size: var(--step-0); font-weight: 700; color: var(--night); line-height: 1.3; margin-bottom: 0.35rem; }
.apply-steps li > div strong { color: var(--night); font-weight: 700; }
.apply-steps--process { gap: 1.25rem; max-width: 42rem; }
.apply-steps--process li { border-top: 0; padding: 0; align-items: center; }
.apply-steps--process li::before { content: counter(a, decimal-leading-zero); font-size: 0.72rem; letter-spacing: -0.02em; }
.reviewed { font-size: var(--step--1); color: var(--mute); display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.reviewed b { color: var(--night); }
.pill-list a {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.45rem 0.9rem; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; text-decoration: none; font-weight: 600; font-size: var(--step--1); color: var(--night);
}
.pill-list a:hover { border-color: var(--bar-6); color: var(--bar-7); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .rail .cta, .nav, .chat-launch { display: none !important; } body { background: #fff; } }
