@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  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: "Manrope";
  src: url("assets/fonts/manrope-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;
  --ink: #142c3b;
  --muted: #526877;
  --navy: #0c1d2c;
  --primary: #29566b;
  --primary-dark: #1b3b4a;
  --button-blue-hover: #23495b;
  --button-white: #f2efea;
  --cyan: #1ecad3;
  --bronze: #b67d40;
  --brand-bars: url("assets/inef-bars.svg");
  --line: #d7e2e9;
  --paper: #fff;
  --bg: #f5f8fb;
  --blue-pale: #eaf2f6;
  --orange-pale: #faf0e5;
  --radius: 16px;
  --shadow: 0 16px 50px rgb(22 51 70 / 7%);
  --header-height: 88px;
  --content-width: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.7 "Manrope", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: #c3eef0; color: var(--navy); }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; line-height: 1.18; letter-spacing: -.04em; overflow-wrap: break-word; }
h1 { font-size: clamp(2.25rem, 4.2vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.65rem); }
h3 { font-size: 1.4rem; }
p { color: var(--muted); margin-bottom: 1.25rem; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, summary { cursor: pointer; }
button { color: inherit; }
img, svg { max-width: 100%; }
img { display: block; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #087d91; outline-offset: 5px; }
:focus:not(:focus-visible) { outline: none; }
h1[tabindex="-1"]:focus, h2[tabindex="-1"]:focus, main[tabindex="-1"]:focus, section[tabindex="-1"]:focus { outline: none; }
[hidden] { display: none !important; }
main { min-height: 66vh; scroll-margin-top: calc(var(--header-height) + 20px); }
main > :first-child { animation: page-enter 380ms var(--ease) both; }
.container { width: min(var(--content-width), calc(100% - 64px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); border: 0; white-space: nowrap; }
.skip-link { position: fixed; left: 20px; top: 12px; z-index: 100; background: white; color: var(--navy); padding: 12px 20px; border: 2px solid var(--primary); border-radius: 6px; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }

/* The fixed-height header keeps navigation from moving as pages change. */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.nav-wrap { min-height: var(--header-height); display: flex; align-items: center; gap: 40px; position: relative; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 108px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 25px; margin-left: auto; }
.nav-links a { font-size: 13px; font-weight: 600; line-height: 1.4; color: #3b5364; padding-block: 14px; transition: color 150ms ease; }
.nav-links > a, .nav-courses > a { position: relative; white-space: nowrap; }
.nav-links > a::after, .nav-courses > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 5px; height: 2px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform 180ms var(--ease); }
.nav-links a:hover, .nav-links a.active, .nav-links a[aria-current] { color: var(--primary); }
.nav-links > a.active::after, .nav-courses > a.active::after, .nav-links > a:hover::after, .nav-courses > a:hover::after { transform: scaleX(1); }
.nav-courses { display: flex; align-items: center; gap: 0; }
.course-menu { position: relative; }
.course-menu summary { display: grid; place-items: center; list-style: none; width: 30px; height: 44px; font-size: 16px; color: var(--primary); border-radius: 6px; }
.course-menu summary::-webkit-details-marker { display: none; }
.course-menu summary:hover, .course-menu[open] summary { background: #f0f5f8; }
.course-menu summary svg { width: 14px; height: 14px; transition: transform 160ms; }
.course-menu[open] summary svg { transform: rotate(180deg); }
.course-popover { position: absolute; top: 100%; left: -130px; width: 330px; padding: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); z-index: 51; animation: popover-enter 180ms var(--ease); }
.course-popover a { display: block; padding: 12px 14px; border-radius: 7px; white-space: normal; line-height: 1.5; }
.course-popover a > span[aria-hidden] { float: right; margin-left: 12px; color: var(--primary); }
.popover-label { display: block; padding: 6px 14px 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: 9px; font-weight: 700; }
.course-popover a:hover, .course-popover a:focus-visible { background: var(--blue-pale); }
.course-popover small { display: block; font-size: 11px; font-weight: 400; color: var(--muted); margin-top: 4px; }
.nav-links .student, .student-link { border: 1px solid var(--line); border-radius: 6px; padding: 11px 15px; }
.nav-links .student > span { margin-left: 9px; }
.nav-links .student::after { display: none; }
.menu-toggle { display: none; align-items: center; justify-content: center; gap: 8px; margin-left: auto; min-width: 88px; min-height: 44px; padding: 9px 12px; border: 1px solid #bfced8; border-radius: 7px; background: white; font-size: 13px; font-weight: 700; }

/* Main composition: one clear promise, two direct paths. */
.hero { position: relative; isolation: isolate; overflow: clip; color: white; background: var(--navy); padding: clamp(70px, 7.5vw, 108px) 0 90px; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse at 87% 60%, rgb(29 102 120 / 29%), transparent 57%), linear-gradient(105deg, transparent 40%, rgb(46 105 123 / 9%)); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgb(30 202 211 / 55%), transparent); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.26fr) minmax(0, .84fr); align-items: center; gap: clamp(36px, 5vw, 76px); }
.hero h1 { max-width: 760px; margin-bottom: 26px; font-size: clamp(2.6rem, 4.45vw, 4.25rem); letter-spacing: -.05em; color: white; line-height: 1.09; }
.hero h1 em, .hero h1 .accent { color: #71dde0; font-style: normal; }
.hero-lead { font-size: clamp(1rem, 1.4vw, 1.125rem); line-height: 1.8; max-width: 570px; margin-bottom: 33px; color: #b9ccd7; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; line-height: 1.5; font-weight: 700; color: var(--primary); margin-bottom: 18px; }
.eyebrow::before { content: ""; display: inline-block; width: 22px; height: 2px; background: var(--bronze); flex: none; }
.hero .eyebrow { color: #a8d9de; margin-bottom: 27px; }
.hero .eyebrow::before { background: var(--cyan); }
.hero-note { margin: 25px 0 0; font-size: 11px; letter-spacing: .02em; color: #9db9c7; }
.hero-footnote { display: flex; align-items: center; gap: 10px; color: #a9c2d0; font-size: 10px; line-height: 1.8; margin: 26px 0 0; }
.hero-footnote::before { content: ""; width: 5px; height: 5px; background: var(--cyan); border-radius: 50%; flex: none; }
.hero-rule { display: none; }
.signal-dot { display: none; }
.hero-preview { position: relative; padding: 31px 29px 29px; border: 1px solid #3a5767; border-radius: 16px; background: #122c3d; box-shadow: 0 22px 60px rgb(0 0 0 / 13%); }
.hero-preview::before { content: ""; position: absolute; top: -1px; left: 29px; width: 65px; height: 2px; background: var(--cyan); }
.hero-preview h2 { font-size: 1.7rem; color: white; margin-bottom: 24px; letter-spacing: -.035em; }
.preview-overline { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: #a6c1cf; margin-bottom: 14px; }
.preview-route { display: flex; gap: 16px; align-items: flex-start; padding: 21px 0; margin: 0; border-top: 1px solid #3a5364; position: relative; transition: border-color 180ms ease; }
.preview-route:last-child { padding-bottom: 0; }
.preview-route > div { flex: 1; min-width: 0; }
.preview-route .dot { display: grid; place-items: center; flex: none; width: 35px; height: 35px; border: 1px solid #496776; border-radius: 7px; font-size: 12px; line-height: 1; font-weight: 600; color: #a4dfe2; background: #1b3b4a; }
.preview-route strong { display: block; color: #fff; font-size: 15px; line-height: 1.45; margin: 0 0 7px; font-weight: 600; }
.preview-route span { color: #b5c9d5; display: block; font-size: 12px; line-height: 1.7; }
.preview-route small { display: block; color: #aac1ce; font-size: 10px; margin-top: 4px; line-height: 1.7; }
.preview-route .route-arrow, .preview-route > svg { align-self: center; flex: none; width: 20px; height: 20px; color: #66dbe0; font-size: 22px; transition: transform 180ms var(--ease); }
.preview-route:hover { border-color: #70bbc6; }
.preview-route:hover .route-arrow, .preview-route:hover > svg { transform: translateX(4px); }
.preview-baseline { display: flex; align-items: center; gap: 14px; padding-top: 23px; margin-top: 23px; border-top: 1px solid #3a5364; color: #acc6d3; font-size: 10px; line-height: 1.7; }
.preview-baseline .brand-lines { display: block; width: 31px; height: 29px; color: var(--bronze); }
.preview-baseline > span:first-child { flex: none; }
.hero-art { position: absolute; z-index: -1; inset: 0; pointer-events: none; overflow: hidden; }
.hero-art svg, .tech-lines { width: 100%; height: 100%; opacity: .38; }
.tech-lines { position: absolute; inset: 0; pointer-events: none; }
.hero-art path, .tech-lines path { stroke-dasharray: 1500; stroke-dashoffset: 0; animation: draw-lines 1100ms ease-out both; }
.hero-footer, .hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 13px 22px; margin-top: 30px; color: #acc2cf; font-size: 11px; }

/* Shared actions and content system. */
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.section-actions { margin-top: 28px; }
.card-actions { margin-top: 23px; }
.space-top { margin-top: 26px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 48px; max-width: 100%; padding: 13px 21px; border: 1px solid var(--primary); border-radius: 99px; color: white; background: var(--primary); font-size: 13px; line-height: 1.5; font-weight: 700; text-align: center; transition: background 300ms ease, border-color 300ms ease; overflow-wrap: anywhere; }
.btn svg, .btn .icon { width: 17px; height: 17px; flex: none; }
.btn:hover { background: var(--button-blue-hover); border-color: var(--button-blue-hover); }
.btn.secondary { color: var(--primary); background: #edf2f5; border-color: #b9ccd8; }
.btn.secondary:hover { background: #dce2e6; border-color: #b9ccd8; }
.btn.light { background: var(--button-white); color: var(--navy); border-color: var(--button-white); }
.btn.light:hover { background: #ddd9d4; border-color: #ddd9d4; }
.btn.light-alt { background: rgb(255 255 255 / 8%); border-color: #7695a7; color: white; }
.btn.light-alt:hover { background: rgb(0 0 0 / 12%); border-color: #bdd9e3; }
.hero .btn:not(.secondary):not(.light-alt) { background: var(--button-white); border-color: var(--button-white); color: var(--navy); }
.hero .btn:not(.secondary):not(.light-alt):hover { background: #ddd9d4; border-color: #ddd9d4; }
.hero .btn.secondary { color: white; border-color: #638092; background: transparent; }
.hero .btn.secondary:hover { background: rgb(0 0 0 / 12%); }
.btn.mini { min-height: 42px; padding: 9px 14px; font-size: 12px; }
button:disabled { opacity: .65; cursor: wait; transform: none !important; }
.text-link, .card-arrow { display: inline-flex; align-items: center; gap: 9px; color: var(--primary); font-size: 13px; font-weight: 700; line-height: 1.6; min-height: 44px; max-width: 100%; }
.text-link { text-decoration: underline; text-decoration-color: #a3bccb; text-underline-offset: 4px; }
.text-link:hover, .card-arrow:hover { text-decoration: underline; text-underline-offset: 5px; }
.card-arrow svg { width: 18px; height: 18px; flex: none; }
.scroll-section, .module, .form-shell { scroll-margin-top: calc(var(--header-height) + 28px); }
.section { padding: clamp(60px, 6vw, 88px) 0; }
.section.alt { background: #fff; border-block: 1px solid #e5ecf1; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 35px; }
.section-head h2 { margin-bottom: 12px; max-width: 780px; }
.section-head p { margin: 0; max-width: 710px; font-size: 15px; }
.section-head .eyebrow { margin-bottom: 16px; }
.num { display: inline-flex; align-items: center; gap: 11px; margin-bottom: 16px; font-size: 11px; font-weight: 700; line-height: 1; letter-spacing: .07em; color: #8a5a2d; }
.num::after { content: ""; width: 33px; height: 1px; background: #c5a482; }
.grid { display: grid; gap: 22px; }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: white; transition: border-color 180ms ease, box-shadow 180ms ease; }
.card:hover { border-color: #9bb7c8; box-shadow: 0 12px 34px rgb(31 68 89 / 5%); }
.card h3 { margin: 19px 0 14px; font-size: 1.45rem; }
.card-topline { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; }
.card-index { font-size: 10px; color: #647c8c; font-weight: 600; }
.card p { font-size: 14px; line-height: 1.85; }
.card .spacer { flex: 1; min-height: 12px; }
.card .card-arrow { width: 100%; justify-content: space-between; margin-top: 18px; padding-top: 17px; border-top: 1px solid var(--line); }
.card .actions { margin-top: 19px; }
.tag { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; font-size: 10px; font-weight: 700; letter-spacing: .025em; line-height: 1.5; padding: 6px 9px; border-radius: 4px; background: #eaf2f6; color: #29566b; }
.tag.blue { background: #eaf0fa; color: #345a81; }
.tag.orange { background: #faf0e5; color: #855222; }
.tag.muted { background: #edf2f5; color: #526877; }
.detail-row { width: 100%; font-size: 12px; line-height: 1.7; color: var(--muted); margin-top: 13px; padding-top: 13px; border-top: 1px solid #e3ebf0; }
.detail-row strong { display: inline-block; color: #2c4657; font-weight: 700; margin-bottom: 3px; }
.detail-row > span { display: block; }
.segment-card { position: relative; border-radius: 12px; }
.segment-card::before { content: ""; display: block; width: 32px; height: 3px; background: var(--bronze); position: absolute; left: 30px; top: -2px; }
.segment-icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; background: var(--blue-pale); color: var(--primary); border-radius: 9px; margin-bottom: 22px; }
.segment-icon svg { width: 23px; height: 23px; }
.segment-index { font-size: 12px; color: #6d8797; margin-bottom: 18px; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
.choice-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; background: white; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.choice-card.pale { background: #eaf2f6; border-color: #d1e1e9; }
.choice-card h3 { font-size: 1.7rem; margin: 22px 0 16px; max-width: 440px; }
.choice-card p { flex: 1; font-size: 14px; max-width: 450px; }
.choice-card small { color: #526877; font-size: 11px; line-height: 1.7; }
.focus-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; border-radius: var(--radius); padding: 42px 44px; background: var(--navy); color: white; position: relative; overflow: hidden; }
.focus-card::after { content: ""; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--bronze); }
.focus-card h3 { color: white; font-size: clamp(1.5rem, 2.3vw, 2rem); margin: 16px 0 14px; max-width: 640px; }
.focus-card p { color: #bfd0db; font-size: 14px; max-width: 660px; margin-bottom: 0; }
.focus-card .tag { background: #223f52; color: #bedee7; }
.focus-card .btn { max-width: 280px; }
.info-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.info-panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; background: white; min-width: 0; }
.info-panel h3 { margin-bottom: 15px; }
.info-panel p:last-child { margin-bottom: 0; }
.info-panel .btn { margin-top: 10px; }
.cta-wide { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 48px; border-radius: var(--radius); color: white; background: var(--navy); }
.cta-wide h2 { color: white; margin: 0 0 16px; font-size: clamp(1.7rem, 2.5vw, 2.25rem); }
.cta-wide .eyebrow { color: #a8cbd8; }
.cta-wide p { color: #c0d1dc; max-width: 620px; margin: 0; font-size: 14px; }
.cta-wide > .actions { flex-shrink: 0; }
.cta-wide > .btn { flex-shrink: 0; max-width: 300px; }
.empty-portrait { display: grid; place-items: center; width: 47px; height: 47px; border: 1px solid #c9dce6; border-radius: 9px; background: #f2f7fa; color: var(--primary); font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.empty-portrait svg { width: 23px; height: 23px; }

/* Internal pages retain the same vocabulary without repeating the dark hero. */
.page-hero { position: relative; padding: 44px 0 60px; background: white; border-bottom: 1px solid var(--line); }
.page-hero::after { content: ""; position: absolute; bottom: -1px; left: 0; width: 18%; height: 2px; background: var(--bronze); }
.page-hero h1 { font-size: clamp(2.1rem, 3.8vw, 3.5rem); margin: 0 0 23px; max-width: 960px; }
.page-hero .lead { font-size: clamp(1rem, 1.6vw, 1.125rem); line-height: 1.8; max-width: 800px; margin-bottom: 27px; }
.page-hero .eyebrow { margin-bottom: 19px; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; font-size: 11px; line-height: 1.6; color: var(--muted); margin-bottom: 37px; }
.breadcrumb a { color: var(--primary); text-decoration: underline; text-decoration-color: #b8cbd6; text-underline-offset: 4px; }
.breadcrumb span[aria-hidden] { color: #728a99; }
.meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.meta:empty, .actions:empty { display: none; }
.section-lead { max-width: 760px; }
.catalog-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 65px; align-items: center; }
.catalog-aside { padding: 25px 0; }
.catalog-aside h2 { font-size: 2rem; max-width: 380px; }
.catalog-aside p { font-size: 14px; max-width: 450px; }
.about-split { align-items: center; }
.about-split > div:first-child > h3 { font-size: 1.9rem; max-width: 400px; }
.about-split > div:first-child > p { max-width: 480px; font-size: 14px; }
.modules { display: grid; gap: 24px; }
.module { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 35px; }
.module h2 { font-size: 1.75rem; margin: 18px 0; }
.module > p { max-width: 780px; }
.module-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 24px 0; }
.fact { padding: 17px 20px; background: var(--bg); border-radius: 8px; font-size: 13px; color: var(--muted); }
.fact strong { display: block; color: var(--ink); margin-bottom: 5px; }
.pending { padding: 23px 26px; border: 1px dashed #b8cbd6; border-radius: 10px; background: #f7fafc; color: var(--muted); font-size: 14px; }
.pending h2 { font-size: 1.55rem; }
.pending strong { color: var(--ink); }
.pending p:last-child { margin-bottom: 0; }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 30px 0 20px; padding: 0; list-style: none; counter-reset: step; }
.step { position: relative; background: transparent; padding: 0 24px 0 0; color: var(--muted); font-size: 12px; line-height: 1.8; min-width: 0; }
.step::before { counter-increment: step; content: "0" counter(step); display: grid; place-items: center; width: 40px; height: 40px; position: relative; z-index: 1; margin-bottom: 23px; border: 1px solid #c3d4de; border-radius: 50%; color: var(--primary); background: #fff; font-size: 12px; font-weight: 700; }
.step:not(:last-child)::after { content: ""; position: absolute; left: 40px; right: 0; top: 20px; height: 1px; background: #c3d4de; }
.step strong { display: block; color: var(--ink); font-size: 13px; margin-bottom: 8px; }
.small { font-size: 12px; color: var(--muted); }
.process-note { max-width: 800px; margin: 25px 0 0; }
.faq { max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); padding: 23px 0; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { position: relative; font-weight: 700; font-size: 15px; color: var(--ink); padding-right: 35px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 5px; top: -1px; color: var(--primary); font-size: 22px; line-height: 1.2; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 780px; margin: 16px 0 0; font-size: 14px; }
.empty-state { max-width: 850px; margin: 0 auto; text-align: center; padding: 60px 35px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.empty-state h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin-bottom: 17px; }
.empty-state p { max-width: 600px; margin-inline: auto; }
.empty-state .actions { justify-content: center; }
.empty-state .empty-portrait, .empty-state > svg { margin: 0 auto 24px; }
.empty-state > svg { width: 45px; height: 45px; color: var(--primary); }
.empty-symbol { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 27px; background: #eaf2f6; color: var(--primary); border-radius: 14px; }
.empty-symbol svg { width: 29px; height: 29px; }
.checkout-summary { max-width: 850px; margin-inline: auto; }

/* Forms are calm, readable, and keep validation close to each control. */
.form-shell { background: white; border: 1px solid #cfdfe8; border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); max-width: 900px; }
.form-shell h2 { font-size: 2rem; margin-bottom: 16px; }
.form-shell > p { font-size: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { color: #2a4556; font-size: 12px; line-height: 1.5; font-weight: 700; }
.field label small { font-weight: 400; }
.field input, .field textarea, .field select { width: 100%; min-width: 0; min-height: 48px; padding: 12px 14px; border: 1px solid #aabfcf; border-radius: 6px; color: var(--ink); background: #fff; font-size: 15px; line-height: 1.5; transition: border-color 120ms, box-shadow 120ms; }
.field select { text-overflow: ellipsis; padding-right: 25px; }
.field input::placeholder, .field textarea::placeholder { color: #647b8a; opacity: 1; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid #29566b; outline-offset: 2px; border-color: #29566b; }
.field textarea { min-height: 140px; resize: vertical; }
.field small { color: #5e7483; font-size: 11px; line-height: 1.6; }
.field [aria-invalid="true"] { border-color: #ae342e; box-shadow: inset 0 0 0 1px #ae342e; }
.field-error, .field small.field-error { color: #9b2a24; font-size: 12px; font-weight: 600; margin: 0; }
.field-error:empty { display: none; }
.form-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 23px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.form-footer small { max-width: 450px; color: #526877; font-size: 11px; line-height: 1.8; }
.form-footer .text-link { display: inline; font-size: inherit; min-height: auto; color: inherit; }
.form-status { display: none; margin-top: 24px; padding: 17px 19px; border-radius: 8px; background: #edf7f3; border: 1px solid #afcebe; color: #215b44; font-size: 13px; line-height: 1.8; }
.form-status.visible { display: block; }
.form-status.error { background: #fff3f1; border-color: #d59a92; color: #922d24; }
.form-status[data-state="sending"] { color: #2d506e; background: #edf4fa; border-color: #b7ccdd; }
.offer-context { background: #eef5f8; border-left: 3px solid var(--primary); padding: 15px 18px; margin-bottom: 26px; border-radius: 0 7px 7px 0; color: #395f74; font-size: 12px; }
.demo-notice, .tip { display: flex; align-items: flex-start; gap: 11px; padding: 14px 17px; margin: 20px 0; border: 1px solid #d0dee8; border-radius: 8px; background: #f0f5f9; color: #425f72; font-size: 12px; line-height: 1.8; }
.demo-notice svg, .tip svg { flex: none; width: 18px; height: 18px; margin-top: 2px; }
.demo-notice p, .tip p { color: inherit; margin: 0; }
.demo-notice strong { color: #294c63; }
.demo-dot { flex: none; width: 6px; height: 6px; background: #568095; border-radius: 50%; margin-top: 7px; }

/* Review controls are deliberately separate from the public navigation. */
.review-note { padding: 21px 24px; border-left: 3px solid var(--bronze); background: #faf2e9; color: #795125; font-size: 13px; border-radius: 0 8px 8px 0; margin: 24px 0; }
.review-note p { color: inherit; margin: 8px 0 0; }
.prototype-options-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 28px; border: 1px solid var(--line); background: white; border-radius: var(--radius); }
.prototype-options-grid label { display: flex; align-items: flex-start; gap: 12px; font-size: 13px; color: var(--ink); }
.prototype-options-grid input[type="checkbox"] { width: 19px; height: 19px; margin-top: 3px; flex: none; accent-color: var(--primary); }
.prototype-options-grid select { border: 1px solid #9fb8c8; border-radius: 5px; background: white; padding: 8px; max-width: 100%; min-width: 0; }
.prototype-options-grid p { grid-column: 1 / -1; font-size: 12px; margin: 0; }
.review-controls { margin-bottom: 30px; }
.review-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 25px; }
.review-toolbar p { flex: 1; margin: 0; font-size: 12px; min-width: 200px; }
.table-wrap { overflow-x: auto; max-width: 100%; border: 1px solid var(--line); border-radius: 10px; background: white; }
table { width: 100%; border-collapse: collapse; font-size: 12px; line-height: 1.7; }
th, td { text-align: left; padding: 17px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #eaf2f6; color: var(--ink); font-weight: 700; }
td { color: var(--muted); }
td a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
tbody tr:last-child td { border-bottom: 0; }
body[data-pending="hidden"] .conditional-section { display: none; }
body[data-future="hidden"] .future-only:not([data-forced-visible="true"]) { display: none !important; }
.conditional-cta { display: none; }
body[data-preview-ctas="true"] .conditional-cta { display: inline-flex; }

.footer { padding: 64px 0 27px; color: white; background: var(--navy); }
.footer .brand img { width: 126px; }
.footer-heading { display: block; color: #a3c0cf; text-transform: uppercase; letter-spacing: .12em; font-size: 10px; font-weight: 700; margin-bottom: 18px; }
.legal-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 80px; }
.footer p { max-width: 345px; margin: 26px 0 0; color: #b7cbd7; font-size: 13px; line-height: 1.9; }
.footer .links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 8px 28px; padding-top: 3px; font-size: 12px; }
.footer .links a { color: #d5e3eb; padding: 5px 0; line-height: 1.8; }
.footer .links a:hover { color: white; text-decoration: underline; text-underline-offset: 5px; }
.footer small { color: #a9c2d0; }
.footline { border-top: 1px solid #30495c; margin-top: 48px; padding-top: 22px; display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 14px; color: #a9c2d0; font-size: 10px; line-height: 1.7; }
.footline a { text-decoration: underline; text-underline-offset: 4px; }
.footer :focus-visible, .hero :focus-visible, .focus-card :focus-visible, .cta-wide :focus-visible { outline-color: #80e6ec; }

@keyframes page-enter { from { opacity: .6; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@keyframes popover-enter { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
@keyframes draw-lines { from { stroke-dashoffset: 1500; opacity: .1; } to { stroke-dashoffset: 0; opacity: 1; } }

@media (min-width: 1600px) {
  :root { --content-width: 1280px; }
  .hero { padding-top: 115px; padding-bottom: 112px; }
  .hero h1 { font-size: 4.5rem; }
}

@media (max-width: 1150px) {
  .nav-wrap { gap: 24px; }
  .nav-links { gap: 17px; }
  .nav-links a { font-size: 12px; }
  .cta-wide { gap: 25px; padding: 38px; }
  .cta-wide > .actions { flex-shrink: 1; }
  .focus-card { padding: 35px; gap: 28px; }
  .hero-grid { gap: 34px; }
  .hero-preview { padding: 27px 24px; }
}

@media (max-width: 1000px) {
  :root { --header-height: 76px; }
  .brand img { width: 100px; }
  .menu-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; top: 100%; left: -32px; right: -32px; padding: 16px 32px 24px; margin: 0; background: white; box-shadow: 0 18px 30px rgb(15 44 62 / 10%); border-bottom: 1px solid var(--line); max-height: calc(100dvh - var(--header-height)); overflow-y: auto; flex-direction: column; align-items: stretch; gap: 3px; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 14px; padding: 12px 10px; }
  .nav-links > a::after, .nav-courses > a::after { display: none; }
  .nav-links a.active { background: #edf4f8; border-radius: 6px; }
  .nav-courses { display: grid; grid-template-columns: minmax(0, 1fr) 48px; align-items: start; position: relative; }
  .course-menu { display: contents; }
  .course-menu summary { grid-column: 2; grid-row: 1; width: 48px; height: 45px; border: 1px solid #d7e3eb; }
  .course-popover { grid-column: 1 / -1; position: static; width: 100%; padding: 5px 12px 12px; margin: 6px 0; border: 0; border-left: 2px solid #b7cedc; border-radius: 0; box-shadow: none; }
  .course-popover a { font-size: 13px; padding: 12px; }
  .course-menu:not([open]) .course-popover { display: none; }
  .cols-3 { gap: 16px; }
  .card { padding: 24px; }
  .segment-card::before { left: 24px; }
  .card h3 { font-size: 1.3rem; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 0; }
  .step:nth-child(3)::after { display: none; }
}

@media (max-width: 900px) {
  .hero { padding-block: 66px; }
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero h1 { font-size: clamp(2.5rem, 6.7vw, 3.9rem); max-width: 700px; }
  .hero-lead { max-width: 660px; }
  .hero-preview { max-width: 640px; padding: 28px 30px; }
  .hero-preview h2 { margin-bottom: 18px; }
  .preview-route { padding-block: 18px; }
  .preview-route:last-child { padding-bottom: 0; }
  .cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .focus-card { grid-template-columns: 1fr; gap: 24px; }
  .focus-card > .btn { justify-self: start; }
  .cta-wide { align-items: flex-start; flex-direction: column; }
  .footer-inner { gap: 40px; }
  .form-shell { padding: 32px; }
}

@media (max-width: 640px) {
  :root { --header-height: 72px; }
  .container { width: calc(100% - 40px); }
  .brand img { width: 94px; }
  .nav-links { left: -20px; right: -20px; padding-inline: 20px; }
  .hero { padding: 49px 0 50px; }
  .hero h1 { font-size: clamp(2.2rem, 8.7vw, 3.5rem); letter-spacing: -.045em; line-height: 1.13; margin-bottom: 23px; }
  .hero .eyebrow { font-size: 9px; letter-spacing: .12em; margin-bottom: 22px; }
  .hero-lead { font-size: 14px; line-height: 1.85; margin-bottom: 26px; }
  .hero-grid { gap: 35px; }
  .hero-preview { padding: 25px 22px; }
  .hero-preview h2 { font-size: 1.4rem; }
  .preview-overline { font-size: 9px; }
  .preview-route { gap: 13px; }
  .preview-route strong { font-size: 14px; }
  .preview-route span { font-size: 11px; }
  .preview-route .dot { width: 30px; height: 32px; }
  .hero-note { font-size: 10px; margin-top: 20px; }
  .section { padding-block: 54px; }
  .section-head { margin-bottom: 28px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .section-head h2 { font-size: 1.8rem; line-height: 1.2; }
  .section-head p { font-size: 14px; line-height: 1.8; }
  .num { margin-bottom: 15px; }
  .grid, .split, .info-panels { gap: 18px; }
  .cols-2, .cols-3, .split, .info-panels { grid-template-columns: 1fr; }
  .catalog-layout { grid-template-columns: 1fr; gap: 30px; }
  .catalog-aside { padding: 6px 0; }
  .catalog-aside h2 { font-size: 1.75rem; }
  .card { padding: 27px; }
  .card h3 { font-size: 1.5rem; }
  .card p { font-size: 13px; }
  .card .detail-row { font-size: 12px; }
  .segment-card::before { left: 27px; }
  .focus-card { padding: 29px 26px; gap: 25px; }
  .focus-card h3 { font-size: 1.6rem; }
  .focus-card p { font-size: 13px; }
  .focus-card .btn { max-width: 100%; }
  .choice-card { padding: 28px; }
  .choice-card h3 { font-size: 1.6rem; }
  .choice-card .btn { width: 100%; }
  .info-panel { padding: 27px; }
  .info-panel p { font-size: 14px; }
  .cta-wide { padding: 32px 27px; gap: 26px; }
  .cta-wide h2 { font-size: 1.7rem; }
  .cta-wide > .actions { width: 100%; }
  .actions .btn { width: 100%; }
  .cta-wide > .btn { max-width: 100%; width: 100%; }
  .page-hero { padding: 29px 0 42px; }
  .page-hero h1 { font-size: clamp(2rem, 7.9vw, 2.8rem); line-height: 1.16; margin-bottom: 22px; }
  .page-hero .lead { font-size: 14px; line-height: 1.85; }
  .breadcrumb { margin-bottom: 27px; font-size: 10px; gap: 6px; }
  .eyebrow { font-size: 10px; letter-spacing: .11em; }
  .page-hero .meta { margin-bottom: 24px; }
  .tag { font-size: 10px; }
  .module { padding: 26px; }
  .module h2 { font-size: 1.6rem; }
  .module-facts { grid-template-columns: 1fr; gap: 12px; }
  .pending { padding: 22px; font-size: 13px; }
  .steps { grid-template-columns: 1fr; gap: 0; margin-top: 26px; }
  .step { padding: 0 0 26px 58px; min-height: 88px; font-size: 13px; }
  .step::before { position: absolute; top: 0; left: 0; margin: 0; }
  .step:not(:last-child)::after { display: block; top: 40px; bottom: 0; left: 20px; right: auto; width: 1px; height: auto; }
  .step:last-child { padding-bottom: 0; }
  .step strong { font-size: 14px; }
  .form-shell { padding: 26px 22px; }
  .form-shell h2 { font-size: 1.65rem; }
  .form-grid { grid-template-columns: 1fr; gap: 21px; }
  .field input, .field textarea, .field select { font-size: 16px; }
  .form-footer { gap: 20px; }
  .form-footer button { width: 100%; }
  .offer-context { padding: 13px 15px; }
  .form-status { padding: 15px; }
  .demo-notice, .tip { padding: 13px 15px; }
  .prototype-options-grid { grid-template-columns: 1fr; padding: 22px; }
  .prototype-options-grid label { flex-wrap: wrap; }
  .prototype-options-grid p { grid-column: auto; }
  .table-wrap table { min-width: 560px; }
  .review-note { padding: 19px 20px; }
  .empty-state { padding: 40px 23px; }
  .footer { padding: 46px 0 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 35px; }
  .footer .brand img { width: 117px; }
  .footer p { font-size: 12px; margin-top: 22px; }
  .footer .links { gap: 8px 20px; font-size: 11px; }
  .footline { margin-top: 33px; align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header { position: static; }
  .nav-links, .menu-toggle, .skip-link, .hero-art, .tech-lines, .form-footer button { display: none !important; }
  .hero, .focus-card, .cta-wide, .footer { background: #fff; color: #111; }
  .hero h1, .hero h2, .hero p, .focus-card h3, .focus-card p, .cta-wide h2, .cta-wide p, .footer p { color: #111; }
  .section { padding-block: 28px; }
  .card, .form-shell, .module { break-inside: avoid; box-shadow: none; }
}
