/* LSPM — London School of Planning and Management (v-05).
   Design system from /lspm/template (Inter Tight headings, Inter body, LSPM blue, square corners, light header + footer).
   Fonts are self-hosted and subsetted (rank-1 §9: no third-party font requests; font-display: swap). */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-tight-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #14263F; --ink-2: #3E4C61; --muted: #6B778A; --navy: #24446B;
  --blue: #2F6EC2; --blue-d: #24446B; --blue-50: #F0F5FC; --blue-100: #DDE8F7;
  --grey-50: #F6F7F9; --line: #E3E7ED; --line-2: #B9C3D0; --red: #E30613; --white: #FFFFFF;
  --ok: #2d7a46; --warn: #b3541e;
  --hd: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --bd: "Inter", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1280px; --wrap-narrow: 46rem; --gut: clamp(20px, 4vw, 48px);
  --header-h: 96px;
  --shadow-1: 0 24px 40px -24px rgba(11, 27, 52, .18);
  --shadow-2: 0 30px 60px -30px rgba(11, 27, 52, .35);
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  /* legacy aliases still referenced by views */
  --night: var(--ink); --night-2: var(--navy); --chalk: var(--grey-50); --mute: var(--muted); --paper: #fff;
  --bone: var(--grey-50); --bone-2: var(--blue-50); --signal: var(--blue); --focus: var(--blue);
  --radius: 0; --radius-s: 0;
  --step--1: 0.875rem; --step-0: 1.0625rem; --step-1: 1.1875rem; --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); --step-4: clamp(2rem, 1.8rem + 2vw, 3rem); --step-5: clamp(2.25rem, 2vw + 1.5rem, 3.75rem);
  --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;
  /* level bars (used by badges/cards) */
  --bar-3: #DDE8F7; --bar-4: #BFD4EF; --bar-5: #8FB5E3; --bar-6: #5B8FD2; --bar-7: #2F6EC2; --bar-8: #24446B;
  --lv3: var(--bar-3); --lv4: var(--bar-4); --lv5: var(--bar-5); --lv6: var(--bar-6); --lv7: var(--bar-7); --lv8: var(--bar-8);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink-2); font: 400 17px/1.65 var(--bd); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-d); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--hd); color: var(--ink); font-weight: 500; margin: 0 0 0.5em; letter-spacing: -.025em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(32px, 4vw, 52px); letter-spacing: -.035em; line-height: 1.04; }
h2 { font-size: clamp(26px, 3vw, 38px); }
h3 { font-size: 21px; letter-spacing: -.015em; line-height: 1.25; }
h4 { font-size: 17px; letter-spacing: -.01em; }
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: 2rem 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.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(--gut); top: -3rem; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { top: 8px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap-narrow { max-width: var(--wrap-narrow); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(56px, 7vw, 96px); }
.section-tight { padding-block: clamp(40px, 5vw, 64px); }
.grid { display: grid; gap: 20px; }
.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: 1rem; }
.cluster { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.eyebrow { display: block; font: 500 13px/1 var(--bd); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.lede, .intro { color: var(--ink-2); font-size: 18px; max-width: 34em; line-height: 1.55; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 1rem 0 0; font-size: 15px; color: var(--muted); }
.hero-facts b { color: var(--ink); font-weight: 500; }
.included-table td:first-child { font-weight: 500; white-space: nowrap; }
h2.sec { font-size: clamp(32px, 3.6vw, 48px); letter-spacing: -.03em; line-height: 1.05; margin: 0 0 14px; max-width: 20ch; }
.muted, .mute { color: var(--muted); }
.small { font-size: 14px; }
.measure { max-width: 68ch; }
.center { text-align: center; }
.arrow { width: 14px; height: 14px; flex: none; transition: transform .2s; }
a:hover .arrow, button:hover .arrow { transform: translateX(3px); }
.link { display: inline-flex; align-items: center; gap: 8px; font: 500 15px var(--bd); color: var(--blue); }
.link:hover { color: var(--blue-d); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px;
  font: 500 15px/1 var(--bd); border: 1px solid transparent; border-radius: 0; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-d); color: #fff; }
.btn-secondary, .btn-outline { border-color: var(--ink); color: var(--ink); background: #fff; }
.btn-secondary:hover, .btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ink, .btn-dark { background: var(--ink); color: #fff; }
.btn-ink:hover, .btn-dark:hover { background: var(--navy); color: #fff; }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--blue); padding-inline: 10px; }
.btn-ghost:hover { color: var(--blue-d); background: var(--blue-50); }
.btn-line, .btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-line:hover, .btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* utility bar */
.util { background: var(--grey-50); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.util .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; flex-wrap: wrap; }
.util nav { display: flex; gap: 22px; flex-wrap: wrap; }
.util a { color: inherit; }
.util a:hover { color: var(--blue); }
.util .r { display: flex; gap: 22px; align-items: center; }
.util .r b { font-weight: 500; color: var(--ink); }
.util .r a { color: var(--ink); font-weight: 500; }

/* header */
header.site { position: relative; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; height: var(--header-h); gap: 40px; }
.logo { flex: none; line-height: 0; position: relative; z-index: 60; align-self: flex-start; margin-top: 14px; }
.logo-img { display: block; height: 147px; width: auto; background: #fff; padding: 6px; box-shadow: 0 18px 36px -16px rgba(20, 38, 63, .45); }
/* The block logo overlaps into the hero on the home page only; inner pages keep it inside the bar. */
body:not(.page-home) .logo { align-self: center; margin-top: 0; }
body:not(.page-home) .logo-img { height: 78px; padding: 0; box-shadow: none; }
.nav { display: flex; gap: 2px; height: 100%; margin-left: auto; }
.nav > button, .nav > a { background: none; border: 0; padding: 0 14px; height: 100%; display: flex; align-items: center; gap: 6px; font: 500 15px var(--bd); color: var(--ink); position: relative; white-space: nowrap; }
.nav > button::after, .nav > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform .2s; }
.nav > button:hover::after, .nav > button[aria-expanded="true"]::after, .nav > a:hover::after, .nav > a[aria-current="page"]::after { transform: scaleX(1); }
.nav .chev { width: 9px; height: 9px; opacity: .6; transition: transform .2s; }
.nav button[aria-expanded="true"] .chev { transform: rotate(180deg); }
.actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 44px; height: 44px; border: 0; background: none; display: grid; place-items: center; color: var(--ink); }
.icon-btn:hover { background: var(--blue-50); color: var(--blue); }
.icon-btn svg { width: 19px; height: 19px; }
.actions .btn { height: 44px; padding: 0 20px; font-size: 14px; margin-left: 8px; }
.burger { display: none; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-1); }
.mega .in { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; padding-block: 44px 52px; }
.page-home .mega .in { padding-top: 96px; } /* clear the overlapping block logo */
.mega .intro h3 { font-size: 28px; margin: 14px 0; }
.mega .intro p { color: var(--muted); font-size: 15px; max-width: 26em; margin-bottom: 20px; }
.mega ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.mega li a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--ink); }
.mega li a small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; margin-top: 2px; }
.mega li a:hover { color: var(--blue); }
.searchbar { border-top: 1px solid var(--line); background: #fff; }
/* Home uses hero search; header dropdown clashes with the block logo. */
.page-home #searchBtn { display: none; }
.page-home #searchbar { display: none !important; }
.searchbar .wrap, .searchbar form { display: flex; align-items: center; gap: 14px; height: 76px; }
.searchbar form { flex: 1; }
.searchbar input { flex: 1; border: 0; outline: 0; font-size: 20px; color: var(--ink); background: none; min-width: 0; }
.drawer { border-top: 1px solid var(--line); background: #fff; }
.drawer .wrap { display: flex; flex-direction: column; padding-block: 8px 24px; }
.drawer a { padding: 15px 0; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--ink); }
.drawer .btn { margin-top: 18px; justify-content: center; border: 0; color: #fff; }

/* imagery panels */
.img { position: relative; overflow: hidden; background: #DCE8F4; }
.img::after { content: ""; position: absolute; inset: 0; background: var(--noise); mix-blend-mode: multiply; pointer-events: none; }
.img.a { background: radial-gradient(55% 60% at 78% 22%, #FFFFFF 0%, rgba(255,255,255,0) 60%), radial-gradient(70% 80% at 18% 88%, #4281D1 0%, rgba(66,129,209,0) 65%), radial-gradient(60% 70% at 95% 95%, #7FB6E2 0%, rgba(127,182,226,0) 70%), linear-gradient(160deg, #CFE1F2, #9EC3E6); }
.img.b { background: radial-gradient(50% 60% at 25% 25%, #FFFFFF 0%, rgba(255,255,255,0) 60%), radial-gradient(70% 70% at 85% 80%, #24446B 0%, rgba(36,68,107,0) 70%), linear-gradient(135deg, #B9D3EC, #5E95C9); }
.img.c { background: radial-gradient(60% 60% at 70% 30%, #F4F8FC 0%, rgba(244,248,252,0) 60%), radial-gradient(60% 70% at 10% 70%, #A9C9E6 0%, rgba(169,201,230,0) 70%), linear-gradient(180deg, #E8EFF6, #C7D8E8); }
.img.d { background: radial-gradient(50% 60% at 80% 70%, #FFFFFF 0%, rgba(255,255,255,0) 60%), radial-gradient(70% 80% at 20% 20%, #2B7BC4 0%, rgba(43,123,196,0) 70%), linear-gradient(200deg, #D8E6F3, #8FB8DF); }
.img.e { background: radial-gradient(60% 70% at 20% 30%, #5FA3DC 0%, rgba(95,163,220,0) 65%), radial-gradient(60% 60% at 90% 90%, #24446B 0%, rgba(36,68,107,0) 70%), linear-gradient(160deg, #3A78C8, #24446B); }
.img svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* home hero */
.page-home .hero { position: relative; background: #fff; padding-block: 120px 128px; }
.page-home .hero .hero-photo { position: absolute; inset: 0; left: 0; background: #E9EEF3; }
.page-home .hero .hero-photo::after { display: none; }
.page-home .hero .hero-photo img { object-position: 60% 35%; }
.page-home .hero .panel-wrap { position: relative; z-index: 2; }
.page-home .hero .panel { background: #fff; max-width: 600px; padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow-2); }
.page-home .hero h1 { font-size: clamp(36px, 4.4vw, 60px); letter-spacing: -.035em; line-height: 1.04; margin: 18px 0 18px; }
.page-home .hero .lede { font-size: 18px; color: var(--ink-2); max-width: 30em; margin: 0; }
.hero .ctas, .hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.badges span { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--ink); background: var(--blue-50); padding: 8px 12px; }
.badges span::before { content: ""; width: 6px; height: 6px; background: var(--blue); border-radius: 50%; }

/* course finder */
.finder { position: relative; z-index: 3; margin-top: -64px; }
.finder .box { background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -36px rgba(11, 27, 52, .35); padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 40px); }
.finder h2 { font-size: 26px; margin-bottom: 8px; }
.finder-note { margin: 0 0 18px; font-size: 15px; color: var(--muted); }
.fform { display: grid; grid-template-columns: 1fr 260px auto; border: 1px solid var(--line-2); }
.fform label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.fform input, .fform select { border: 0; outline: 0; background: #fff; height: 58px; padding: 0 18px; font-size: 16px; color: var(--ink); min-width: 0; width: 100%; border-radius: 0; }
.fform select { border-left: 1px solid var(--line-2); appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10'%3E%3Cpath d='M1 3l4 4 4-4' fill='none' stroke='%230B1B34' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; }
.fform .btn { height: 58px; border: 0; }
.finder-browse { margin: 10px 2px 0; font-size: 14px; color: var(--muted); text-align: right; }
.finder-browse a { color: var(--blue); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.finder-browse a:hover { color: var(--blue-d); }
.popular { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 16px; font-size: 14px; color: var(--muted); }
.popular a { background: none; border: 1px solid var(--line); padding: 6px 12px; font-size: 14px; color: var(--ink); }
.popular a:hover { border-color: var(--blue); color: var(--blue); }

/* two-column link list (course picks, search results) */
.list-2 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; border-top: 1px solid var(--line); }
.list-2 li a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--ink); }
.list-2 li a small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); margin-top: 2px; }
.list-2 li a:hover { color: var(--blue); }
.list-2 li a .arrow { color: var(--blue); }
@media (max-width: 960px) { .list-2 { grid-template-columns: 1fr; } }

/* section head */
section.block { padding-block: clamp(72px, 9vw, 120px); }
.grey { background: var(--grey-50); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 48px; flex-wrap: wrap; }
@media (min-width: 961px) { .sec-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } .sec-head > :only-child { grid-column: 1 / -1; } .sec-head > .link { justify-self: end; margin-bottom: 6px; } }
.sec-head h2 { font-size: clamp(32px, 3.6vw, 48px); margin: 16px 0 0; }
.sec-head p { font-size: 18px; color: var(--ink-2); max-width: 34em; margin: 14px 0 0; }

/* welcome strip */
.welcome { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding-block: 40px; border-bottom: 1px solid var(--line); }
.welcome h2 { font-size: clamp(26px, 2.6vw, 34px); margin: 0; }
.welcome p { color: var(--muted); margin-top: 8px; }
.welcome .links { display: flex; gap: 10px; flex-wrap: wrap; }

/* recognition cards */
.recog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rc { background: #fff; border: 1px solid var(--line); padding: 28px 26px 26px; display: flex; flex-direction: column; gap: 14px; border-top: 3px solid var(--blue); color: inherit; }
.rc b { font: 500 34px/1 var(--hd); color: var(--ink); letter-spacing: -.03em; }
.rc h3 { font-size: 18px; letter-spacing: -.01em; line-height: 1.3; margin: 0; }
.rc p { font-size: 14px; color: var(--muted); margin: 0; }
.rc small { margin-top: auto; font-size: 12px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
a.rc:hover h3 { color: var(--blue); }

/* applications split */
.apply { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.apply .img { aspect-ratio: 5/4; max-width: 100%; }
.apply h2 { font-size: clamp(32px, 3.6vw, 48px); margin: 16px 0 20px; }
.apply .lede { font-size: 18px; margin-bottom: 28px; }
.levels { border-top: 1px solid var(--line); }
.levels a { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); font: 500 19px var(--hd); color: var(--ink); letter-spacing: -.01em; }
.levels a span { display: inline-flex; align-items: center; gap: 12px; }
.levels a small { font: 400 14px var(--bd); color: var(--muted); letter-spacing: 0; }
.levels a:hover { color: var(--blue); }
.levels a .arrow { color: var(--blue); }

/* why study */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.why > div { padding-top: 26px; border-top: 1px solid var(--ink); display: grid; gap: 14px; align-content: start; }
.why svg { width: 36px; height: 36px; color: var(--blue); }
.why h3 { font-size: 24px; margin: 0; }
.why p { font-size: 16px; margin: 0; }

/* insights */
.ins { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
.ins .lead { background: var(--blue); color: #fff; padding: 36px 32px; display: flex; flex-direction: column; gap: 16px; }
.ins .lead .eyebrow { color: #CFE3F5; margin: 0; }
.ins .lead h3 { color: #fff; font-size: 30px; margin: 0; }
.ins .lead p { color: #DCE9F6; font-size: 16px; margin: 0; }
.ins .lead .btn { margin-top: auto; align-self: flex-start; }
.post { display: flex; flex-direction: column; gap: 14px; color: inherit; }
.post .img { aspect-ratio: 3/2; max-width: 100%; }
.post small { font-size: 13px; color: var(--blue); font-weight: 500; }
.post h3 { font-size: 21px; line-height: 1.25; letter-spacing: -.015em; margin: 0; }
.post:hover h3 { color: var(--blue); }
.post p { font-size: 15px; color: var(--muted); margin: 0; }

/* tour CTA */
.tour { position: relative; }
.tour .img { height: 340px; }
.tour .wrap { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.tour h2 { color: #fff; font-size: clamp(30px, 3.6vw, 48px); max-width: 14em; margin: 0; }
.tour p { color: #E1EEF9; margin: 12px 0 0; max-width: 34em; }

/* news */
.ne { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 72px); }
.ne > div:only-child { grid-column: 1 / -1; }
.ne .items { border-top: 1px solid var(--line); }
.ne .items .item { border-top: 0; border-bottom: 1px solid var(--line); }
.ne > div:only-child .items { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(40px, 5vw, 72px); }
@media (max-width: 960px) { .ne > div:only-child .items { grid-template-columns: 1fr; } }
.ne h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 20px; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.ne h2 a { font: 500 15px var(--bd); color: var(--blue); letter-spacing: 0; }
.item { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); align-items: start; color: inherit; }
.item:last-child { border-bottom: 1px solid var(--line); }
.item .img { aspect-ratio: 4/3; max-width: 100%; }
.item time { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.item h3 { font-size: 18px; line-height: 1.3; letter-spacing: -.01em; margin: 0; }
.item:hover h3 { color: var(--blue); }
.date { width: 120px; aspect-ratio: 4/3; max-width: 100%; background: var(--blue-50); border: 1px solid var(--blue-100); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.date b { font: 500 34px/1 var(--hd); color: var(--blue); letter-spacing: -.03em; }
.date span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-top: 4px; }

/* learn more image cards */
.more-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 20px; }
.mc { position: relative; display: block; overflow: hidden; }
.mc .img { position: absolute; inset: 0; transition: transform .5s; }
.mc:hover .img { transform: scale(1.03); }
.mc .cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 24px 26px; background: linear-gradient(0deg, rgba(11,27,52,.55), rgba(11,27,52,0)); display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.mc h3 { color: #fff; font-size: 24px; margin: 0; }
.mc .arrow { color: #fff; width: 18px; height: 18px; }
.mc.big { grid-row: 1/3; }
.mc.big h3 { font-size: 32px; }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); }
.contact h2 { font-size: clamp(32px, 3.6vw, 48px); margin: 16px 0 18px; }
.contact .lede { font-size: 18px; }
.clist { margin: 36px 0 0; border-top: 1px solid var(--line); }
.clist div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.clist dt { color: var(--muted); }
.clist dd { margin: 0; color: var(--ink); font-weight: 500; }
.clist dd a { color: var(--ink); }

/* forms (template "cf" style: underline inputs) */
.form { display: grid; gap: 24px 20px; }
.form-panel { background: #fff; border: 1px solid var(--line); padding: clamp(24px, 3vw, 40px); margin-top: 1rem; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 4px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 500; color: var(--ink); }
.field input, .field select, .field textarea, .search-form input, .input {
  font-size: 16px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line-2); padding: 10px 0 12px; width: 100%; border-radius: 0; outline: 0;
}
.field textarea { resize: vertical; min-height: 84px; font-family: var(--bd); }
.field input:focus, .field select:focus, .field textarea:focus, .search-form input:focus, .input:focus { border-bottom: 2px solid var(--blue); padding-bottom: 11px; box-shadow: none; }
.field-row { display: grid; gap: 24px 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.consent { font-size: 14px; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.consent input { margin-top: 4px; flex-shrink: 0; accent-color: var(--blue); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status:empty { display: none; }
.fmsg, .alert { font-size: 15px; padding: 14px 16px; background: var(--blue-50); color: var(--ink); border: 0; }
.alert-ok { background: var(--blue-50); color: var(--ink); }
.alert-err, .fmsg.err { background: #FDF1F1; color: #9b2222; }
.search-form { display: flex; gap: 14px; max-width: 40rem; align-items: end; }
.search-form input { flex: 1; min-width: 0; }

/* footer (light) */
footer.site { background: var(--blue-50); border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.ftop { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; padding-block: 64px 44px; }
.ftop h5 { margin: 0 0 16px; font: 600 14px var(--bd); color: var(--ink); }
.ftop ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.ftop a { color: inherit; }
.ftop a:hover { color: var(--blue); }
.ftop address { font-style: normal; margin-top: 20px; line-height: 1.7; }
.ftop .logo-img { height: 96px; box-shadow: none; padding: 0; }
.social { display: flex; gap: 8px; margin-top: 18px; }
.social a { width: 38px; height: 38px; border: 1px solid #C9D6E4; display: grid; place-items: center; font: 600 12px var(--bd); color: var(--ink); background: #fff; }
.social a:hover { border-color: var(--blue); color: var(--blue); }
.legal { border-top: 1px solid #D5E1ED; padding-block: 22px 30px; display: grid; gap: 12px; font-size: 13px; line-height: 1.7; color: var(--muted); }
.legal p { margin: 0; }
.legal .row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.legal nav { display: flex; gap: 22px; flex-wrap: wrap; }
.legal a { color: inherit; }
.legal a:hover { color: var(--blue); }

/* inner page head */
.page-head { padding-block: clamp(40px, 5vw, 72px) clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line); background: #fff; }
.page-head h1 { max-width: 24ch; margin-bottom: 14px; }
.page-head .lede { margin-bottom: 0; }
.page-head--dark { background: var(--navy); color: #fff; border-bottom: 0; }
.page-head--dark h1 { color: #fff; }
.page-head--dark .lede { color: #DCE9F6; }
.page-head--dark .eyebrow { color: #CFE3F5; }
.page-head--dark .crumbs, .page-head--dark .crumbs a { color: #DCE9F6; }
.page-head--dark .crumbs a:hover { color: #fff; }
.page-head--dark .crumbs [aria-current="page"] { color: #fff; }
.page-head--dark .crumbs li + li::before { color: rgba(255,255,255,.35); }
.hero:not(.page-home .hero) { padding-block: 3rem; background: var(--navy); color: #fff; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4em; }
.crumbs li + li::before { content: "/"; margin-right: .4em; color: var(--line-2); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue); }

/* badges & cards */
.badge { display: inline-flex; align-items: center; font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; background: var(--blue-50); color: var(--ink); border: 1px solid var(--blue-100); }
a.badge:hover { border-color: var(--blue); color: var(--blue); }
.badge-lv { background: color-mix(in srgb, var(--lv, var(--blue)) 22%, #fff); color: var(--ink); border-color: color-mix(in srgb, var(--lv, var(--blue)) 45%, var(--line)); }
.badge-amber { background: var(--ink); color: #fff; border-color: var(--ink); }
a.badge-amber:hover { background: var(--navy); color: #fff; }
.badge-ink { background: var(--red); color: #fff; border-color: var(--red); }
.badge-soft { background: #fff; color: var(--ink-2); border-color: var(--line); }
[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); padding: 26px; display: flex; flex-direction: column; gap: 12px; transition: border-color .15s; }
.card:hover { border-color: var(--blue); }
.card h3 { font-size: 19px; margin: 0; line-height: 1.25; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--blue); }
.card-accent { border-top: 3px solid var(--lv, var(--blue)); }
.card .card-meta { margin: 0; line-height: 1.4; }
.card .facts { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--muted); margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.card .facts b { color: var(--ink); font-weight: 500; }
.card-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.grid-3-fixed { display: grid; gap: 20px; 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); } }
.hub-grid { align-items: stretch; }

/* course / article layout */
.page-detail { display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (min-width: 64rem) { .page-detail { grid-template-columns: minmax(0, 1fr) 22rem; } }
.detail-main > section { padding-block: 32px; border-bottom: 1px solid var(--line); scroll-margin-top: 1rem; }
.detail-main > section:first-of-type { padding-top: 0; }
.detail-main h2 { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 18px; }
.detail-main h3 { font-size: 19px; margin: 24px 0 10px; }
.detail-main ul, .detail-main ol { padding-left: 1.25em; }
.detail-main li { margin-bottom: .35em; }
.detail-main table { font-size: 15px; }
.detail-main td, .detail-main th { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.detail-main th { color: var(--ink); font-weight: 500; }
.rail { position: sticky; top: 1rem; display: grid; gap: 16px; }
.facts-panel { background: #fff; border: 1px solid var(--line); overflow: hidden; }
.facts-panel header { padding: 16px 24px; background: var(--ink); color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: var(--hd); font-size: 18px; }
.facts-panel header b { font-weight: 500; }
.facts-panel header .badge { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.25); }
.facts-panel dl { margin: 0; padding: 16px 24px; display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; font-size: 14px; }
.facts-panel dt { color: var(--muted); }
.facts-panel dd { margin: 0; color: var(--ink); font-weight: 500; text-align: right; }
.facts-panel dd a { color: var(--blue); }
.facts-panel .cta { padding: 16px 24px 24px; display: grid; gap: 10px; border-top: 1px solid var(--line); }
.facts-panel-note { margin: 0; padding: 0 24px 16px; font-size: 14px; color: var(--muted); line-height: 1.5; border-bottom: 1px solid var(--line); }
.facts-panel dd .small.muted { display: block; margin-top: 6px; line-height: 1.35; font-weight: 400; }
.answer-first { font-size: 19px; border-left: 3px solid var(--blue); padding: 14px 24px; background: var(--blue-50); margin: 0 0 32px; color: var(--ink); }
.detail-main ol.steps:not(.contact-steps) { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 20px; }
.detail-main ol.steps:not(.contact-steps) li { counter-increment: step; position: relative; padding-left: 4rem; 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: 500 24px/1 var(--hd); color: var(--blue); }
.detail-main ol.steps:not(.contact-steps) b { display: block; font-size: 17px; margin-bottom: 4px; color: var(--ink); font-weight: 500; }
.credentials { background: var(--grey-50); border: 1px solid var(--line); padding: 24px; font-size: 15px; }
.credentials strong { display: block; font-family: var(--hd); font-size: 19px; font-weight: 500; color: var(--ink); margin-bottom: 12px; }
.credentials p { margin: 0 0 8px; }
.credentials b { color: var(--ink); font-weight: 500; }
.related-block { list-style: none; padding: 0; margin: 0; }
.related-block li { padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; }
.related-block li a { font-weight: 500; color: var(--ink); }
.related-block li a:hover { color: var(--blue); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters a { padding: 8px 14px; border: 1px solid var(--line); color: var(--ink-2); font-weight: 500; font-size: 14px; background: #fff; }
.filters a:hover { border-color: var(--blue); color: var(--blue); }
.filters a[aria-current="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.filters .muted { color: inherit; opacity: .6; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 500; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 22px/1 var(--hd); color: var(--blue); flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq .faq-a { padding-top: 10px; }
.prose { max-width: 68ch; }
.prose a { font-weight: 500; }

dialog.sheet { border: 0; padding: 0; max-width: min(92vw, 34rem); width: 100%; box-shadow: var(--shadow-2); background: #fff; color: var(--ink); }
dialog.sheet::backdrop { background: rgba(20, 38, 63, .55); backdrop-filter: blur(3px); }
dialog.sheet .sheet-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 28px 32px 0; }
dialog.sheet .sheet-head > div { flex: 1; min-width: 0; }
dialog.sheet .sheet-head h2 { font-size: 24px; margin: 0; line-height: 1.15; }
dialog.sheet .sheet-head .eyebrow { margin-bottom: 6px; }
dialog.sheet .close-x { flex-shrink: 0; margin: 0; padding: 0; border: 0; cursor: pointer; width: 40px; height: 40px; display: grid; place-items: center; font-size: 20px; line-height: 1; color: var(--muted); background: transparent; }
dialog.sheet .close-x:hover { background: var(--blue-50); color: var(--ink); }
dialog.sheet .sheet-body { padding: 20px 32px 32px; }
dialog.sheet .sheet-body > .muted { margin: 0 0 16px; line-height: 1.45; }
dialog.sheet .form { margin-top: 8px; }

/* CTA band (blue, replaces yellow) */
.section-cta { background: var(--blue); color: #fff; padding: clamp(48px, 6vw, 80px) 0; }
.section-cta .wrap { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.section-cta h2 { font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -.03em; margin: 0; max-width: 18ch; line-height: 1.05; color: #fff; }
.section-cta p { margin: 8px 0 0; max-width: 46ch; color: #DCE9F6; }
.section-cta .btn-ink, .section-cta .btn-primary { background: #fff; color: var(--blue); }
.section-cta .btn-ink:hover, .section-cta .btn-primary:hover { background: var(--ink); color: #fff; }
.section-cta .btn-outline { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.section-cta .btn-outline:hover { background: #fff; color: var(--ink); }
.cta-band { background: var(--blue); color: #fff; padding: 36px 32px; display: flex; flex-wrap: wrap; gap: 24px 32px; align-items: center; justify-content: space-between; margin-top: 32px; }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; width: 100%; }
.cta-band h2 { font-size: clamp(22px, 2.8vw, 30px); letter-spacing: -.025em; margin: 0 0 6px; max-width: 42ch; line-height: 1.1; color: #fff; }
.cta-band p { margin: 0; max-width: 52ch; color: #DCE9F6; }
.cta-band .btn-primary { background: #fff; color: var(--blue); }
.cta-band .btn-primary:hover { background: var(--ink); color: #fff; }
.cta-band .btn-outline { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.cta-band .btn-outline:hover { background: #fff; color: var(--ink); }

/* tables */
.toc { font-size: 14px; border-left: 1px solid var(--line); padding-left: 16px; display: grid; gap: 8px; }
.toc a { color: var(--ink-2); }
.toc a:hover, .toc a.is-active { color: var(--blue); }
.units-table th, .units-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 14px; }
.units-table, .compare-table, .ladder-table { width: 100%; border-collapse: collapse; }
.units-table thead th, .compare-table thead th, .ladder-table thead th { background: var(--paper, #f7f7f5); font-weight: 600; }
.units-table tfoot th { text-align: left; padding: 10px 12px; font-size: 14px; }
.compare-table th, .compare-table td, .ladder-table th, .ladder-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; }
.compare-table tbody th[scope="row"], .ladder-table tbody th[scope="row"] { font-weight: 500; white-space: nowrap; }
.compare-table .muted, .ladder-table .muted { color: var(--ink-2); font-weight: 400; font-size: 13px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: #fff; }
.unit-descriptors { margin-top: 20px; }
.unit-descriptors h3 { margin: 22px 0 2px; font-size: 17px; }
.unit-descriptors h3 + .muted { margin: 0 0 8px; font-size: 13px; }
.unit-descriptors ul { margin: 6px 0 0; padding-left: 20px; }
.unit-descriptors li { margin-bottom: 4px; line-height: 1.45; }
.compare { width: 100%; }
.compare th, .compare td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14px; vertical-align: top; }
.compare th { background: var(--grey-50); font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 500; white-space: nowrap; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr:hover { background: var(--blue-50); }
.compare td a { font-weight: 500; color: var(--ink); }
.compare td a:hover { color: var(--blue); }
.compare td .btn-ghost { height: 34px; }

.fee-schedule { display: grid; gap: 24px; max-width: 52rem; }
.fee-schedule h3 { font-size: 19px; margin: 16px 0 0; }
.fee-schedule h4 { font-size: 17px; margin: 0 0 12px; line-height: 1.3; }
.fee-schedule h4 .muted { font-weight: 400; font-size: 14px; }
.fee-schedule-note { margin: 0; color: var(--ink-2); font-size: 14px; }
.fee-schedule-foot { margin: 0; }
.fee-schedule-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 48rem) { .fee-schedule-grid { grid-template-columns: 1fr 1fr; } }
.fee-schedule-block { min-width: 0; }
.fee-plan { width: 100%; margin: 0; font-size: 14px; border: 1px solid var(--line); background: #fff; }
.fee-plan caption { caption-side: top; }
.fee-plan th, .fee-plan td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.fee-plan th { background: var(--grey-50); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 500; }
.fee-plan tbody tr:last-child td { border-bottom: 0; }
.fee-plan td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fee-plan--summary { margin-top: 8px; }
.fee-plan--summary td:last-child { font-size: 17px; color: var(--ink); }
.fee-plan--summary tbody td:first-child { width: 42%; }
.fee-plan--payments { margin: 8px 0 28px; }
.fee-plan--payments td:first-child { white-space: nowrap; font-weight: 500; color: var(--ink); }
.fee-plan--payments td:nth-child(2) { text-align: left; white-space: normal; }
.fee-plan--payments td:last-child { text-align: left; white-space: normal; font-weight: 400; color: var(--ink-2); font-size: 13px; }
.facts-panel .fee-plan--compact { margin-top: 6px; border: 0; font-size: 13px; }
.facts-panel .fee-plan--compact th, .facts-panel .fee-plan--compact td { padding: 6px 8px; 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(--muted); font-weight: 400; text-align: left; width: 55%; }
.facts-panel .fee-plan--compact td { text-align: right; font-weight: 500; color: var(--ink); }
.facts-panel .fee-plan--compact tbody tr:last-child th, .facts-panel .fee-plan--compact tbody tr:last-child td { border-bottom: 0; }

.hub-compare { margin-bottom: 48px; }
.hub-compare h2 { font-size: 26px; margin-bottom: 6px; }
.hub-compare .intro { margin-bottom: 24px; }
.subject-group { padding-block: 32px; border-top: 1px solid var(--line); }
.subject-group:first-of-type { border-top: 0; padding-top: 0; }
.subject-group--solo { padding-block: 24px; }
.subject-group__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 16px; }
.subject-group__title { font-size: 24px; margin: 0; max-width: 42ch; line-height: 1.2; }
.subject-group__count { font-size: 14px; font-weight: 500; color: var(--muted); background: var(--grey-50); border: 1px solid var(--line); padding: 4px 12px; white-space: nowrap; }
.subject-group__more { margin: 16px 0 0; }

.progression-path { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; list-style: none; padding: 0; margin: 16px 0; }
.progression-path li { background: #fff; border: 1px solid var(--line); padding: 7px 14px; font-size: 14px; font-weight: 500; margin: 0; }
.progression-path li a { color: var(--ink); }
.progression-path li.is-current { background: var(--ink); color: #fff; border-color: var(--ink); }
.progression-path li + li::before { content: "→"; margin-right: 10px; color: var(--blue); font-weight: 500; }
.reviewed { font-size: 14px; color: var(--muted); display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.reviewed b { color: var(--ink); font-weight: 500; }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.pill-list a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line); background: #fff; font-weight: 500; font-size: 14px; color: var(--ink); }
.pill-list a:hover { border-color: var(--blue); color: var(--blue); }
.pill-list--lg a { font-size: 16px; padding: 12px 18px; }
.subjects { columns: 3 260px; column-gap: 40px; 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: 12px; padding: 12px 0; font-weight: 500; color: var(--ink); }
.subjects a:hover { color: var(--blue); }
.subjects span { color: var(--muted); font-variant-numeric: tabular-nums; }
.more { margin-top: 28px; }

/* how it works (inner pages) */
.section-how { background: var(--grey-50); border-block: 1px solid var(--line); }
.how-grid { display: grid; gap: 48px; 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: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.how-grid ol.steps li::before { content: counter(s); width: 40px; height: 40px; background: var(--ink); color: #fff; display: grid; place-items: center; font: 500 16px var(--hd); }
.how-grid ol.steps h3 { margin: 6px 0 4px; font-size: 18px; }
.how-grid ol.steps p { margin: 0; color: var(--muted); font-size: 15px; }
.facts-box { background: #fff; border: 1px solid var(--line); padding: 32px; }
.facts-box h3 { margin: 0 0 16px; font-size: 22px; }
.facts-box dl { margin: 0; display: grid; gap: 16px; }
.facts-box dt { font-weight: 500; color: var(--ink); }
.facts-box dd { margin: 2px 0 0; color: var(--muted); }
.contact-steps { list-style: none; margin: 0; padding: 0; counter-reset: cstep; display: grid; gap: 24px; max-width: 42rem; }
.contact-steps li { counter-increment: cstep; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; min-width: 0; margin: 0; }
.contact-steps li::before { content: counter(cstep, decimal-leading-zero); width: 44px; height: 44px; background: var(--ink); color: #fff; display: grid; place-items: center; font: 500 13px var(--hd); letter-spacing: -.02em; }
.contact-steps h3 { margin: 0 0 4px; font-size: 17px; }
.contact-steps p { margin: 0; color: var(--muted); font-size: 14px; }
.page-contact .detail-main > section:first-child { padding-top: 0; }

/* blog */
.blog-feature { margin-bottom: 40px; }
.blog-feature__link { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; color: inherit; border: 1px solid var(--line); overflow: hidden; background: #fff; }
.blog-feature__link:hover h2 { color: var(--blue); }
.blog-feature__media img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1200 / 630; }
.blog-feature__body { padding: 24px 32px 24px 0; }
.blog-feature__body h2 { margin: 8px 0; font-size: 26px; }
@media (max-width: 800px) { .blog-feature__link { grid-template-columns: 1fr; } .blog-feature__body { padding: 20px; } }
.blog-grid .blog-card h3 { font-size: 19px; margin: 6px 0; }
.blog-card__media img { display: block; width: 100%; aspect-ratio: 600 / 315; object-fit: cover; margin-bottom: 12px; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 40px 0 16px; flex-wrap: wrap; }
.pagination ol { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; }
.pagination li a, .pagination li span { display: inline-block; min-width: 36px; text-align: center; padding: 6px 8px; color: var(--ink); }
.pagination li a:hover { background: var(--blue-50); }
.pagination li span[aria-current] { background: var(--ink); color: #fff; font-weight: 500; }
.blog-meta { font-size: 14px; }
.blog-hero img { display: block; width: 100%; height: auto; margin-bottom: 24px; }
.prose-blog h2 { margin-top: 2rem; }
.prose-blog table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; }
.prose-blog th, .prose-blog td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; }
.prose-blog th { background: var(--grey-50); }
.prose-blog img { max-width: 100%; height: auto; }
.prose-blog blockquote { border-left: 3px solid var(--blue); margin: 20px 0; padding: 8px 16px; background: var(--blue-50); }

/* responsive */
@media (max-width: 1180px) { .nav { display: none; } .burger { display: grid; } .actions { margin-left: auto; } }
@media (max-width: 960px) {
  :root { --header-h: 80px; }
  .logo-img { height: 90px; padding: 5px; }
  .page-home .hero { padding-block: 220px 0; }
  .page-home .hero .hero-photo { bottom: auto; height: 320px; }
  .page-home .hero .hero-photo img { object-position: 62% 30%; }
  .page-home .hero .panel { max-width: none; }
  .finder { margin-top: 32px; }
  .fform { grid-template-columns: 1fr; }
  .fform select { border-left: 0; border-top: 1px solid var(--line-2); }
  .finder-browse { text-align: left; }
  .welcome, .apply, .contact, .ne { grid-template-columns: 1fr; }
  .recog { grid-template-columns: 1fr 1fr; }
  .why { grid-template-columns: 1fr; gap: 36px; }
  .ins { grid-template-columns: 1fr 1fr; }
  .ins .lead { grid-column: 1/-1; }
  .more-grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 220px; }
  .mc.big { grid-row: auto; grid-column: 1/-1; }
  .tour .img { height: auto; min-height: 340px; }
  .ftop { grid-template-columns: repeat(4, 1fr); }
  .ftop .fb { grid-column: 1/-1; }
  .rail { position: static; }
}
@media (max-width: 640px) {
  .util nav, .util .r .small { display: none; }
  .bar { gap: 12px; }
  .logo { margin-top: 10px; }
  .logo-img { height: 74px; padding: 4px; }
  .actions .btn { display: none; }
  .recog, .ins, .more-grid, form.cf { grid-template-columns: 1fr; }
  .item { grid-template-columns: 88px 1fr; gap: 14px; }
  .date { width: 88px; }
  .date b { font-size: 26px; }
  .clist div { grid-template-columns: 1fr; gap: 2px; }
  .ftop { grid-template-columns: 1fr 1fr; }
  .tour .wrap { padding-block: 40px; }
  .btn-lg { height: 50px; padding: 0 22px; font-size: 15px; }
  .cta-band { padding: 28px 22px; }
}
@media print { .util, header.site, footer.site, .rail .cta, .nav, .chat-launch { display: none !important; } body { background: #fff; } }
