/* ==========================================================================
   CIAI — public website stylesheet
   Brand tokens, layout, components.
   ========================================================================== */

:root {
  --primary: #0E5AF2;
  --primary-600: #0A49CC;
  --primary-700: #083BA6;
  --primary-50: #EEF3FF;
  --primary-100: #DCE7FF;
  --secondary: #1E73BE;
  --navy: #222237;
  --navy-900: #17172A;
  --navy-800: #2C2C46;
  --ink: #1B1B1B;
  --ink-2: #3A3F4B;
  --muted: #5A6274;
  --line: #E4E7EE;
  --line-2: #D5DAE5;
  --bg: #FDFDFD;
  --bg-alt: #F5F7FB;
  --white: #FFFFFF;

  --teal: #35E1B4;
  --teal-ink: #0A7D60;
  --teal-50: #E7FBF5;
  --purple: #7360F2;
  --purple-ink: #5442D8;
  --purple-50: #F0EEFE;
  --gold: #FFA903;
  --gold-ink: #9A5B00;
  --gold-50: #FFF5E1;

  --success: #0F8A5F;
  --success-50: #E6F6EF;
  --warning: #A36100;
  --warning-50: #FFF4E0;
  --danger: #C62F3D;
  --danger-50: #FDECEE;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(23, 23, 42, .06), 0 1px 3px rgba(23, 23, 42, .05);
  --shadow: 0 8px 24px rgba(23, 23, 42, .08), 0 2px 6px rgba(23, 23, 42, .05);
  --shadow-lg: 0 24px 60px rgba(23, 23, 42, .16);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1200px;
  --gutter: 20px;
  --header-h: 76px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-700); text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.015em; }
h1 { font-size: clamp(2.1rem, 3.2vw + 1rem, 3.4rem); letter-spacing: -.025em; }
h2, .h2 { font-size: clamp(1.65rem, 1.6vw + 1rem, 2.35rem); }
h3, .h3 { font-size: clamp(1.25rem, .6vw + 1rem, 1.5rem); }
h4, .h4 { font-size: 1.125rem; }
.h2 { font-weight: 700; color: var(--navy); }
p { margin: 0 0 1em; }
ul, ol { padding-inline-start: 1.25em; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; background: var(--bg-alt); padding: .1em .4em; border-radius: 6px; color: var(--navy); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
:focus-visible { outline: 3px solid rgba(14, 90, 242, .45); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--primary-100); }
[hidden] { display: none !important; }
main { display: block; outline: none; }

.icon { width: 1.15em; height: 1.15em; flex: 0 0 auto; vertical-align: -0.2em; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.mt-md { margin-top: 1.5rem; }
.mt-lg { margin-top: 2.5rem; }
.text-start { text-align: start; }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 46rem; }
.lead-lg { font-size: 1.25rem; color: var(--ink-2); line-height: 1.6; }
.placeholder-text { color: var(--muted); font-style: italic; }
.fine-print { font-size: .8125rem; color: var(--muted); margin: .75rem 0 0; }
.hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .72rem 1.25rem; border-radius: 10px; border: 1.5px solid transparent;
  font: inherit; font-weight: 600; font-size: .95rem; line-height: 1.2; cursor: pointer;
  text-decoration: none; transition: background .15s, color .15s, border-color .15s, box-shadow .15s, transform .15s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: none; }
.btn[disabled], .btn.is-loading { opacity: .65; pointer-events: none; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 16px rgba(14, 90, 242, .25); }
.btn-primary:hover { background: var(--primary-600); color: #fff; }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-light { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-light:hover { color: var(--primary); }
.btn-ghost-light { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.btn-link { background: none; color: var(--primary); padding-inline: .25rem; border: 0; box-shadow: none; }
.btn-link:hover { text-decoration: underline; transform: none; }
.btn-sm { padding: .5rem .9rem; font-size: .875rem; border-radius: 8px; }
.btn-lg { padding: .9rem 1.5rem; font-size: 1rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; }
.link-arrow .icon { transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Utility bar & header ---------- */
.utility-bar { background: var(--navy-900); color: #C9CEDB; font-size: .8125rem; }
.utility-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 38px; }
.utility-bar a { color: #C9CEDB; display: inline-flex; align-items: center; gap: .4em; }
.utility-bar a:hover { color: #fff; text-decoration: none; }
.utility-links { display: flex; gap: 1.4rem; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--navy); flex: 0 0 auto; }
.brand:hover { text-decoration: none; color: var(--navy); }
.brand-mark { width: 44px; height: 44px; flex: 0 0 auto; }
.brand-text { display: flex; align-items: center; gap: .7rem; }
.brand-name { font-weight: 800; font-size: 1.55rem; letter-spacing: .06em; line-height: 1; }
.brand-sub { font-size: .66rem; line-height: 1.3; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-inline-start: 1.5px solid var(--line-2); padding-inline-start: .7rem; }
.brand--light, .brand--light:hover { color: #fff; }
.brand--light .brand-sub { color: #AEB4C4; border-color: #3E3E5C; }

.main-nav { margin-inline-start: auto; }
.nav-list { list-style: none; display: flex; align-items: center; gap: .15rem; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: .3rem; padding: .6rem .8rem; border-radius: 8px;
  color: var(--ink-2); font: inherit; font-weight: 600; font-size: .935rem; background: none; border: 0; cursor: pointer;
}
.nav-link:hover, .nav-item.is-open > .nav-link { color: var(--primary); background: var(--primary-50); text-decoration: none; }
.nav-item.is-active > .nav-link { color: var(--primary); }
.nav-item.is-active > .nav-link::after { content: ""; position: absolute; inset-inline: .8rem; bottom: -14px; height: 3px; border-radius: 3px; background: var(--primary); }
.nav-caret { width: 14px; height: 14px; transition: transform .2s; }
.nav-item.is-open .nav-caret { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 10px); inset-inline-start: -12px; min-width: 300px; padding: .6rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.mega::before { content: ""; position: absolute; inset-inline: 0; top: -12px; height: 12px; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .2rem; min-width: 560px; }
.nav-item.is-open > .mega { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1025px) {
  .nav-item.has-menu:hover > .mega { opacity: 1; visibility: visible; transform: none; }
  .nav-item.has-menu:hover .nav-caret { transform: rotate(180deg); }
}
.mega-item { display: flex; align-items: flex-start; gap: .75rem; padding: .7rem .8rem; border-radius: 10px; color: var(--ink); }
.mega-item:hover { background: var(--bg-alt); text-decoration: none; color: var(--ink); }
.mega-item > .icon { color: var(--primary); margin-top: .15rem; width: 20px; height: 20px; }
.mega-item strong { display: block; font-size: .92rem; color: var(--navy); }
.mega-item small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.35; }
.lvl-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); flex: 0 0 auto; margin-top: .45rem; }
.lvl-teal .lvl-dot { background: var(--teal); box-shadow: 0 0 0 3px var(--teal-50); }
.lvl-purple .lvl-dot { background: var(--purple); box-shadow: 0 0 0 3px var(--purple-50); }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle .icon-close, .menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.mobile-nav { border-top: 1px solid var(--line); background: #fff; max-height: calc(100vh - var(--header-h)); overflow-y: auto; padding: .5rem 0 1.5rem; }
.mobile-nav a { display: flex; align-items: center; gap: .6rem; padding: .7rem 0; color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-nav a .lvl-dot { margin-top: 0; }
.mobile-label { margin: 1.1rem 0 .2rem; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mobile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: 1.2rem; }
.mobile-actions a { border: 0; justify-content: center; }
.mobile-actions .btn-primary { color: #fff; }

/* ---------- Eyebrow, sections ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); margin: 0 0 .8rem; }
.eyebrow-light { color: #8FB3FF; }
.section { padding: clamp(3.5rem, 6vw, 6rem) 0; }
.section-tight { padding: clamp(2rem, 4vw, 3rem) 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-head { margin-bottom: 2.2rem; max-width: 52rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; max-width: none; flex-wrap: wrap; }
.section-head--row h2 { margin: 0; }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.gap-xl { gap: clamp(2rem, 5vw, 4.5rem); }
.align-start { align-items: start; }
.stack { display: grid; gap: 1.25rem; }
.stack-sm { display: grid; gap: .6rem; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy-900); color: #fff; padding: clamp(3.5rem, 7vw, 6.5rem) 0 clamp(6rem, 9vw, 8rem); }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 500px at 85% 15%, rgba(14, 90, 242, .45), transparent 60%),
    radial-gradient(700px 420px at 10% 90%, rgba(115, 96, 242, .28), transparent 60%),
    linear-gradient(180deg, #1A1A30 0%, #17172A 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 4.6vw + 1rem, 4.4rem); line-height: 1.05; margin-bottom: 1.2rem; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .6rem; padding: .45rem .9rem; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: .85rem; font-weight: 600; color: #DCE4F7; margin-bottom: 1.6rem; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(53, 225, 180, .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(53, 225, 180, 0); } 100% { box-shadow: 0 0 0 0 rgba(53, 225, 180, 0); } }
.hero-lead { font-size: clamp(1.05rem, .4vw + 1rem, 1.25rem); color: #C9CEDB; max-width: 36rem; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-actions.center { justify-content: center; }
.hero-note { display: flex; align-items: center; gap: .5rem; margin-top: 1.6rem; color: #AEB4C4; font-size: .9rem; }

.hero-visual { position: relative; padding: 1.5rem 0; }
.cert-mock {
  position: relative; background: #FDFDFD; color: var(--navy); border-radius: 18px; padding: 1.6rem 1.8rem 1.4rem;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .45); transform: rotate(-2.2deg); border: 1px solid rgba(255, 255, 255, .6);
}
.cert-mock::before { content: ""; position: absolute; inset: 9px; border: 1.5px solid var(--navy); border-radius: 12px; pointer-events: none; }
.cert-mock-band { position: absolute; inset-block: 12px; inset-inline-start: 12px; width: 5px; border-radius: 4px; background: var(--purple); }
.cert-mock-head { display: flex; align-items: center; gap: .6rem; padding-inline-start: .6rem; }
.cert-mock-mark { width: 30px; height: 30px; }
.cert-mock-head strong { display: block; font-size: .95rem; letter-spacing: .06em; }
.cert-mock-head small { display: block; font-size: .5rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cert-mock-chip { margin-inline-start: auto; font-size: .55rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--purple-ink); }
.cert-mock-title { margin: 1.3rem 0 .2rem; text-align: center; color: var(--primary); font-weight: 700; font-size: .8rem; letter-spacing: .3em; }
.cert-mock-sub { text-align: center; color: var(--muted); font-size: .72rem; margin: 0; }
.cert-mock-name { text-align: center; font-size: 1.65rem; font-weight: 700; margin: .25rem 0 .1rem; letter-spacing: -.01em; }
.cert-mock-cred { text-align: center; font-weight: 700; color: var(--purple-ink); font-size: .9rem; margin: 0 0 1.1rem; }
.cert-mock-foot { display: flex; align-items: center; gap: 1rem; border-top: 1px solid var(--line); padding-top: .9rem; }
.cert-mock-foot dl { margin: 0; display: grid; gap: .3rem; flex: 1; }
.cert-mock-foot dt { font-size: .5rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cert-mock-foot dd { margin: 0; font-size: .68rem; font-weight: 700; }
.cert-mock-seal { width: 58px; height: 58px; border-radius: 50%; background: var(--purple); color: #fff; display: grid; place-content: center; text-align: center; box-shadow: inset 0 0 0 4px var(--purple), inset 0 0 0 5.5px rgba(255, 255, 255, .8); }
.cert-mock-seal b { font-size: .8rem; letter-spacing: .05em; line-height: 1; }
.cert-mock-seal small { font-size: .42rem; letter-spacing: .08em; }
.cert-mock-qr { width: 64px; height: 64px; }
.cert-mock-qr svg { width: 64px; height: 64px; display: block; }
.float-card { position: absolute; display: flex; align-items: center; gap: .7rem; background: #fff; color: var(--navy); border-radius: 14px; padding: .7rem 1rem; box-shadow: var(--shadow-lg); }
.float-verified { inset-inline-start: -1.5rem; bottom: -.4rem; }
.float-verified strong { display: block; font-size: .9rem; }
.float-verified small { display: inline-flex; align-items: center; gap: .35rem; color: var(--muted); font-size: .72rem; }
.float-icon { width: 34px; height: 34px; border-radius: 50%; background: var(--success-50); color: var(--success); display: grid; place-items: center; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); display: inline-block; }
.float-badges { inset-inline-end: -1rem; top: -.5rem; gap: .2rem; padding: .5rem .7rem; }

/* ---------- Stats ---------- */
.stats-wrap { position: relative; margin-top: -3.5rem; z-index: 2; }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.stats li { padding: 1.5rem 1.4rem; border-inline-start: 1px solid var(--line); }
.stats li:first-child { border-inline-start: 0; }
.stats strong { display: block; font-size: clamp(1.5rem, 1.4vw + 1rem, 2.1rem); color: var(--navy); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.stats span { display: block; color: var(--muted); font-size: .88rem; line-height: 1.4; margin-top: .3rem; }
.stats--flat { box-shadow: none; }

/* ---------- Credential pathway ---------- */
.pathway { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: stretch; max-width: 900px; margin-inline: auto; }
.pathway-note { display: flex; align-items: center; justify-content: center; gap: .5rem; color: var(--muted); font-size: .92rem; margin-top: 1.6rem; text-align: center; }
.cred-card {
  --lvl: var(--primary); --lvl-ink: var(--primary); --lvl-50: var(--primary-50);
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s; overflow: hidden;
}
.cred-card::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 5px; background: var(--lvl); }
.cred-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.lvl-teal { --lvl: var(--teal); --lvl-ink: var(--teal-ink); --lvl-50: var(--teal-50); }
.lvl-purple { --lvl: var(--purple); --lvl-ink: var(--purple-ink); --lvl-50: var(--purple-50); }
.cred-card-top { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.cred-badge { width: 64px; height: 64px; }
.cred-code { margin: .2rem 0 0; font-size: 1.6rem; letter-spacing: .04em; }
.level-pill { display: inline-block; padding: .2rem .65rem; border-radius: 999px; background: var(--lvl-50, var(--primary-50)); color: var(--lvl-ink, var(--primary)); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.level-pill--solid { background: var(--lvl); color: var(--navy-900); }
.cred-title { font-size: 1.1rem; margin-bottom: .5rem; }
.cred-hero { color: var(--muted); font-size: .95rem; }
.cred-facts { list-style: none; padding: 0; margin: .4rem 0 1.4rem; display: grid; gap: .45rem; font-size: .9rem; color: var(--ink-2); }
.cred-facts li { display: flex; align-items: center; gap: .55rem; }
.cred-facts .icon { color: var(--lvl-ink); }
.cred-link { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--lvl-ink); }
.cred-link:hover { color: var(--navy); text-decoration: none; }

/* ---------- Features, steps, lists ---------- */
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.section-alt .feature { box-shadow: var(--shadow-sm); }
.feature h3 { font-size: 1.1rem; margin: .9rem 0 .4rem; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }
.feature--center { text-align: center; }
.feature--center .feature-icon { margin-inline: auto; }
.feature-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-50); color: var(--primary); flex: 0 0 auto; }
.feature-icon .icon { width: 24px; height: 24px; }
.feature-icon--gold { background: var(--gold-50); color: var(--gold-ink); }
.feature-icon--purple { background: var(--purple-50); color: var(--purple-ink); }
.feature-icon--sm { width: 40px; height: 40px; border-radius: 10px; }
.feature-icon--sm .icon { width: 20px; height: 20px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 24px; inset-inline: 12%; border-top: 2px dashed var(--line-2); }
.step { position: relative; text-align: center; padding: 0 .5rem; }
.step-num { position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 1rem; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; font-size: 1.1rem; box-shadow: 0 0 0 8px var(--bg); }
.step-icon { display: none; }
.step h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }
.check-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .7rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; }
.check-list .icon { color: var(--success); margin-top: .2rem; }
.check-list--sm { gap: .5rem; font-size: .95rem; }
.check-list--light li { color: #DCE4F7; }
.check-list--light .icon { color: var(--teal); }
.num-list { counter-reset: n; list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.num-list li { counter-increment: n; position: relative; padding-inline-start: 2.6rem; }
.num-list li::before { content: counter(n); position: absolute; inset-inline-start: 0; top: 0; width: 1.8rem; height: 1.8rem; border-radius: 50%; display: grid; place-items: center; background: var(--primary-50); color: var(--primary); font-weight: 700; font-size: .85rem; }
.num-list--sm li { font-size: .95rem; }
.num-list.cols-2 { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.timeline li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; display: grid; gap: .7rem; box-shadow: var(--shadow-sm); }
.timeline-num { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; }
.timeline-text { font-weight: 600; color: var(--navy); }

/* ---------- Org band, CTA band ---------- */
.org-band { background: linear-gradient(120deg, var(--navy) 0%, #1B2A6B 100%); color: #fff; padding: clamp(3.5rem, 6vw, 5.5rem) 0; position: relative; overflow: hidden; }
.org-band::after { content: ""; position: absolute; inset-inline-end: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(14, 90, 242, .45), transparent 70%); }
.org-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
.org-band h2 { color: #fff; }
.org-band .lead { color: #C9CEDB; margin-bottom: 1.8rem; }
.org-band .check-list { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-lg); padding: 1.8rem; gap: 1rem; }
.cta-band { background: var(--primary); color: #fff; padding: 3.5rem 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 90% 0%, rgba(255, 255, 255, .18), transparent 60%), radial-gradient(500px 300px at 0% 100%, rgba(23, 23, 42, .35), transparent 60%); }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .3rem; }
.cta-band p { color: #E4ECFF; margin: 0; font-size: 1.05rem; }
.cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.3rem, 2.5vw, 2rem); box-shadow: var(--shadow-sm); }
.card-soft { background: var(--bg-alt); box-shadow: none; }
.card-navy { background: var(--navy); color: #DCE4F7; border-color: var(--navy); }
.card-navy h2, .card-navy h3 { color: #fff; }
.card-row { display: flex; gap: 1.2rem; align-items: flex-start; }
.card-row h2 { margin-bottom: .3rem; }
.card-row p { color: var(--muted); }
.card h2 .icon, .card h3 .icon { color: var(--primary); }
.lvl-border { border-top: 4px solid var(--lvl, var(--primary)); }
.statement-card { display: flex; gap: 1.2rem; padding: 1.6rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.statement-card h2 { margin-bottom: .3rem; }
.statement-card p { margin: 0; color: var(--ink-2); }
.info-list { margin: 0; display: grid; gap: .1rem; }
.info-list > div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.info-list > div:last-child { border-bottom: 0; }
.info-list dt { color: var(--muted); font-size: .875rem; }
.info-list dd { margin: 0; font-weight: 500; color: var(--ink); font-size: .95rem; }
.info-list dd small { color: var(--muted); font-weight: 400; }
.info-list--wide > div { grid-template-columns: 11rem 1fr; }
.callout { background: var(--bg-alt); border-inline-start: 4px solid var(--purple); border-radius: var(--radius); padding: 1.1rem 1.3rem; margin-top: 1.4rem; }
.callout p { margin: .4rem 0 0; color: var(--ink-2); font-size: .95rem; }
.callout--navy { background: var(--navy); color: #DCE4F7; border-color: var(--gold); }
.callout--navy h3 { color: #fff; }
.notice { display: flex; gap: .6rem; align-items: flex-start; background: var(--primary-50); color: var(--navy); border-radius: var(--radius-sm); padding: .8rem 1rem; font-size: .92rem; }
.notice .icon { color: var(--primary); margin-top: .15rem; }
.notice--ok { background: var(--success-50); }
.notice--ok .icon { color: var(--success); }
.code-note { display: flex; gap: .6rem; background: var(--bg-alt); padding: 1rem; border-radius: var(--radius); font-size: .9rem; color: var(--ink-2); }
.code-note .icon { color: var(--primary); margin-top: .2rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(180deg, var(--bg-alt), #fff); border-bottom: 1px solid var(--line); padding: clamp(2.2rem, 4vw, 3.6rem) 0 clamp(2.5rem, 4vw, 3.4rem); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset-inline-end: -80px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(14, 90, 242, .10), transparent 70%); }
.page-hero h1 { max-width: 52rem; font-size: clamp(2rem, 2.4vw + 1rem, 3rem); }
.page-hero .lead { margin-bottom: 0; }
.page-hero .hero-actions { margin-top: 1.5rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .45rem; font-size: .85rem; color: var(--muted); margin-bottom: 1.4rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb [aria-current] { color: var(--ink-2); font-weight: 500; }
.breadcrumb--light, .breadcrumb--light a { color: #AEB4C4; }
.breadcrumb--light [aria-current] { color: #fff; }
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.subnav-inner { display: flex; gap: .3rem; overflow-x: auto; scrollbar-width: none; }
.subnav a { padding: .9rem .9rem; color: var(--ink-2); font-weight: 600; font-size: .9rem; white-space: nowrap; border-bottom: 2px solid transparent; }
.subnav a:hover { color: var(--primary); border-color: var(--primary); text-decoration: none; }

/* ---------- Course pages ---------- */
.course-hero { background: var(--navy-900); color: #fff; padding: clamp(2.5rem, 5vw, 4.5rem) 0; position: relative; overflow: hidden; }
.course-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 85% 30%, color-mix(in srgb, var(--lvl) 35%, transparent), transparent 65%), radial-gradient(500px 300px at 0% 100%, rgba(14, 90, 242, .25), transparent 60%); }
.course-hero::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 5px; background: var(--lvl); }
.course-hero-grid { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center; }
.course-hero h1 { color: #fff; font-size: clamp(2rem, 2.8vw + 1rem, 3.2rem); max-width: 44rem; }
.course-kicker { display: flex; align-items: center; gap: .8rem; font-weight: 800; letter-spacing: .1em; color: #DCE4F7; margin-bottom: 1rem; }
.course-hero-badge { width: clamp(150px, 18vw, 230px); height: auto; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .45)); }
.hero-facts { list-style: none; padding: 0; margin: 1.8rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; color: #C9CEDB; font-size: .95rem; }
.hero-facts li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-facts .icon { color: var(--lvl); }
.course-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(2rem, 4vw, 3.5rem); padding-block: clamp(2.5rem, 5vw, 4rem); align-items: start; }
.course-section { padding-bottom: 2.4rem; margin-bottom: 2.4rem; border-bottom: 1px solid var(--line); }
.course-section:last-child { border-bottom: 0; margin-bottom: 0; }
.course-section > h2 { font-size: clamp(1.4rem, 1vw + 1rem, 1.75rem); }
.course-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 1.2rem; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow); }
.info-card .info-list > div { grid-template-columns: 7.2rem 1fr; padding: .6rem 0; }
.info-card .info-list dd { font-size: .9rem; }
.aside-actions { display: grid; gap: .6rem; margin-top: 1.3rem; }
.next-card { background: var(--bg-alt); border-radius: var(--radius-lg); padding: 1.3rem 1.5rem; border: 1px solid var(--line); }
.next-card p { margin-bottom: .6rem; font-size: .95rem; }
.prose { color: var(--ink-2); }
.prose p { margin-bottom: 1.1em; }
.prose h2 { font-size: 1.35rem; margin: 1.8em 0 .6em; }
.prose h3 { font-size: 1.15rem; margin: 1.5em 0 .5em; }
.prose ul, .prose ol { margin: 0 0 1.2em; display: grid; gap: .4em; }
.prose blockquote { margin: 1.5em 0; padding: .8em 1.2em; border-inline-start: 4px solid var(--primary); background: var(--bg-alt); border-radius: 0 var(--radius) var(--radius) 0; }
.prose img { border-radius: var(--radius); }
.outline { display: grid; gap: .8rem; }
.outline-day { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.outline-day[open] { box-shadow: var(--shadow-sm); border-color: var(--line-2); }
.outline-day summary { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; cursor: pointer; list-style: none; font-weight: 600; color: var(--navy); }
.outline-day summary::-webkit-details-marker { display: none; }
.outline-num { width: 34px; height: 34px; border-radius: 10px; background: var(--lvl-50, var(--primary-50)); color: var(--lvl-ink, var(--primary)); display: grid; place-items: center; font-weight: 800; flex: 0 0 auto; }
.course-layout .outline-num { background: var(--primary-50); color: var(--primary); }
.outline-title { flex: 1; }
.outline-hours { font-size: .85rem; color: var(--muted); font-weight: 600; background: var(--bg-alt); padding: .2rem .6rem; border-radius: 999px; }
.outline-caret { color: var(--muted); transition: transform .2s; }
.outline-day[open] .outline-caret { transform: rotate(180deg); }
.outline-sessions { list-style: none; margin: 0; padding: 0 1.2rem 1rem calc(1.2rem + 34px + 1rem); display: grid; gap: .2rem; }
.outline-sessions li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-top: 1px dashed var(--line); font-size: .94rem; color: var(--ink-2); }
.session-hours { color: var(--muted); font-size: .85rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.swatches { display: flex; gap: .5rem; margin-top: 1rem; flex-wrap: wrap; }
.sw { display: inline-flex; padding: .35rem .8rem; border-radius: 8px; font-weight: 800; font-size: .8rem; letter-spacing: .06em; color: var(--navy-900); }
.sw-teal { background: var(--teal); }
.sw-purple { background: var(--purple); color: #fff; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th, .table td { padding: 1rem 1.2rem; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); }
.table thead th { background: var(--navy); color: #fff; font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; font-weight: 700; }
.table tbody tr:last-child > * { border-bottom: 0; }
.table tbody th { color: var(--navy); font-weight: 600; }
.table tbody tr:nth-child(even) { background: #FAFBFD; }
.table a { color: var(--navy); }
.table a:hover { color: var(--primary); }
.table .lvl-dot { margin: 0 .5rem 0 0; vertical-align: middle; margin-top: 0; }
.table-exams thead th.lvl-teal { box-shadow: inset 0 -4px 0 var(--teal); }
.table-exams thead th.lvl-purple { box-shadow: inset 0 -4px 0 var(--purple); }
.table-exams tbody th { width: 22%; background: var(--bg-alt); }

/* ---------- Blueprint ---------- */
.blueprint { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0; }
.bp-domain { padding: 1.2rem 0; border-top: 1px solid var(--line); }
.bp-domain:first-child { border-top: 0; padding-top: .4rem; }
.bp-head { display: grid; grid-template-columns: 1fr 120px 3rem; gap: .9rem; align-items: center; }
.bp-label { display: flex; gap: .7rem; align-items: center; }
.bp-title { color: var(--navy); font-size: 1rem; font-weight: 700; line-height: 1.35; }
.bp-num { width: 28px; height: 28px; border-radius: 8px; background: var(--lvl-50); color: var(--lvl-ink); font-size: .82rem; font-weight: 800; display: grid; place-items: center; flex: 0 0 auto; }
.bp-bar { height: 8px; border-radius: 99px; background: var(--bg-alt); overflow: hidden; }
.bp-bar span { display: block; height: 100%; background: var(--lvl); border-radius: 99px; }
.bp-weight { text-align: end; color: var(--lvl-ink); font-variant-numeric: tabular-nums; font-size: 1rem; }
.bp-desc { margin: .55rem 0 .6rem calc(28px + .7rem); color: var(--ink-2); font-size: .94rem; line-height: 1.6; }
.bp-topics { list-style: none; margin: 0 0 0 calc(28px + .7rem); padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .35rem 1.4rem; }
.bp-topics li { position: relative; padding-inline-start: 1.1rem; font-size: .89rem; color: var(--muted); line-height: 1.45; }
.bp-topics li::before { content: ""; position: absolute; inset-inline-start: 0; top: .55em; width: 6px; height: 6px; border-radius: 2px; background: var(--lvl); }
.bp-part { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lvl-ink); margin: 0 0 .2rem; }
.bp-partb .bp-topics { margin: .8rem 0 0; }
.bp-stack { display: grid; gap: 1.5rem; }
.adv-grid .feature h3 { font-size: 1.04rem; }
.adv-grid .feature p { font-size: .92rem; line-height: 1.6; }
.role-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.3rem 1.4rem; border-top: 3px solid var(--primary); }
.role-card h3 { font-size: 1rem; margin: .75rem 0 .35rem; }
.role-card p { color: var(--muted); font-size: .9rem; line-height: 1.55; margin: 0; }
.role-chips { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.role-chips li { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .95rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--navy); }
.role-chips .icon { width: 16px; height: 16px; color: var(--primary); }
.benefit-card h2 { display: flex; align-items: center; gap: .55rem; }
.benefit-card h2 .icon { color: var(--primary); }
.benefit-card .check-list { margin: 1.2rem 0 1.6rem; }
.group-band { display: flex; gap: 1.2rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--primary); border-radius: var(--radius); padding: 1.4rem 1.6rem; box-shadow: var(--shadow-sm); }
.group-band h2 { margin: 0 0 .35rem; }
.group-band p { margin: 0; color: var(--ink-2); }
.footer-group { display: flex; align-items: center; gap: .5rem; font-size: .88rem; color: #C9CEDB; margin-top: .8rem; }
.footer-group .icon { width: 18px; height: 18px; color: var(--teal); flex: 0 0 auto; }
.faq-wide { max-width: 860px; }
.bp-stack > .card { padding: clamp(1.4rem, 3vw, 2.2rem); }
.policy-grid { gap: 1.2rem; }
.policy { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; }
.policy h3 { font-size: 1rem; margin: .8rem 0 .3rem; }
.policy p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- Lists ---------- */
.cohort-meta { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; color: var(--muted); font-size: .88rem; margin: 0; }
.cohort-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.pager { display: flex; justify-content: center; align-items: center; gap: .8rem; margin-top: 1.6rem; color: var(--muted); font-size: .9rem; }
.skeleton-row, .skeleton-card { border-radius: var(--radius); background: linear-gradient(90deg, #F0F2F6 25%, #F7F8FB 37%, #F0F2F6 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; }
.skeleton-row { height: 84px; }
.skeleton-card { height: 260px; }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.empty-state { text-align: center; padding: 2.4rem 1rem; background: #fff; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--muted); }

/* ---------- Accordion (FAQ) ---------- */
.accordion { display: grid; gap: .7rem; }
.acc-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.acc-item summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.05rem 1.2rem; cursor: pointer; font-weight: 600; color: var(--navy); list-style: none; }
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary .icon { color: var(--primary); transition: transform .2s; flex: 0 0 auto; }
.acc-item[open] summary .icon { transform: rotate(45deg); }
.acc-item[open] { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.acc-body { padding: 0 1.2rem 1.1rem; color: var(--ink-2); }
.accordion--lg .acc-item summary { font-size: 1.05rem; padding: 1.25rem 1.4rem; }
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2.5rem; align-items: start; }
.faq-layout aside { position: sticky; top: calc(var(--header-h) + 20px); }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.news-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; color: inherit; box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s; }
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); text-decoration: none; color: inherit; }
.news-cover { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--navy) 0%, #1B2A6B 60%, var(--primary) 100%); position: relative; display: grid; place-items: center; color: rgba(255, 255, 255, .9); }
.news-cover img { width: 100%; height: 100%; object-fit: cover; }
.news-cover .icon { width: 42px; height: 42px; opacity: .85; }
.news-cover.cat-insights { background: linear-gradient(135deg, #2B1F6B 0%, var(--purple) 100%); }
.news-cover.cat-events { background: linear-gradient(135deg, #0A5A47 0%, #14A882 100%); }
.news-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.news-cat { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.news-body h3 { font-size: 1.12rem; margin: 0; }
.news-body p { color: var(--muted); font-size: .93rem; margin: 0; }
.news-date { margin-top: auto; padding-top: .6rem; font-size: .82rem; color: var(--muted); }
.news-mini { display: grid; gap: .7rem; }
.news-row { display: flex; gap: 1rem; align-items: center; padding: 1rem 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: inherit; }
.news-row:hover { text-decoration: none; border-color: var(--line-2); box-shadow: var(--shadow-sm); color: inherit; }
.news-row .news-thumb { width: 52px; height: 52px; border-radius: 12px; flex: 0 0 auto; display: grid; place-items: center; background: var(--primary-50); color: var(--primary); }
.news-row strong { display: block; color: var(--navy); line-height: 1.35; }
.news-row small { color: var(--muted); }
.tabs { display: flex; gap: .4rem; flex-wrap: wrap; }
.tab { padding: .55rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: inherit; font-weight: 600; font-size: .9rem; color: var(--ink-2); cursor: pointer; }
.tab:hover { border-color: var(--primary); color: var(--primary); }
.tab.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.tabs--full { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-alt); padding: .3rem; border-radius: 12px; gap: .3rem; margin-bottom: 1.4rem; }
.tabs--full .tab { border: 0; border-radius: 9px; background: transparent; }
.tabs--full .tab.is-active { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.article-head { padding: clamp(2.5rem, 5vw, 4rem) 0 1.5rem; }
.article-head h1 { font-size: clamp(2rem, 2.2vw + 1rem, 2.9rem); }
.article-meta { display: flex; align-items: center; gap: .5rem; color: var(--muted); font-size: .9rem; }
.article-cover { width: 100%; border-radius: var(--radius-lg); margin-bottom: 2rem; }
.article-body { font-size: 1.08rem; line-height: 1.75; padding-bottom: 1rem; }
.tags { display: flex; gap: .5rem; flex-wrap: wrap; }
.tag { background: var(--bg-alt); color: var(--muted); padding: .25rem .7rem; border-radius: 999px; font-size: .82rem; }
.article-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-top: 1px solid var(--line); padding: 1.5rem 0 4rem; margin-top: 1.5rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
.span-2 { grid-column: 1 / -1; }
.field { display: grid; gap: .4rem; margin: 0; min-width: 0; border: 0; padding: 0; }
fieldset.field { margin: 0; }
.field label, .field legend { font-weight: 600; font-size: .9rem; color: var(--navy); padding: 0; }
.field label small, .field legend small { color: var(--muted); font-weight: 400; }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], input[type="password"], input[type="date"], input[type="search"], input:not([type]), select, textarea {
  width: 100%; font: inherit; font-size: .97rem; color: var(--ink); background: #fff; border: 1.5px solid var(--line-2); border-radius: 10px;
  padding: .7rem .85rem; transition: border-color .15s, box-shadow .15s; min-height: 46px;
}
textarea { resize: vertical; min-height: 110px; }
select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235A6274' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; padding-inline-end: 2.4rem; }
input:hover, select:hover, textarea:hover { border-color: #B9C1D1; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(14, 90, 242, .14); }
input[type="file"] { font-size: .9rem; padding: .6rem; border: 1.5px dashed var(--line-2); border-radius: 10px; background: var(--bg-alt); width: 100%; }
input:disabled { background: var(--bg-alt); color: var(--muted); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .82rem; font-weight: 500; }
.field-help { display: flex; align-items: center; gap: .35rem; color: var(--muted); font-size: .82rem; margin: 0; }
.check { display: flex; gap: .65rem; align-items: flex-start; font-size: .93rem; color: var(--ink-2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: .2rem; accent-color: var(--primary); flex: 0 0 auto; }
.check.has-error span { color: var(--danger); }
.check-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.check-chip { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .9rem; border: 1.5px solid var(--line-2); border-radius: 999px; font-weight: 600; font-size: .9rem; cursor: pointer; color: var(--navy); }
.check-chip input { accent-color: var(--primary); }
.check-chip .lvl-dot { margin-top: 0; }
.check-chip:has(input:checked) { border-color: var(--lvl, var(--primary)); background: var(--lvl-50, var(--primary-50)); }
.form-status:empty { display: none; }
.alert { padding: .85rem 1rem; border-radius: 10px; font-size: .93rem; display: flex; gap: .6rem; align-items: flex-start; }
.alert .icon { margin-top: .15rem; }
.alert-success { background: var(--success-50); color: #0B5E41; }
.alert-error { background: var(--danger-50); color: #8E1F2A; }
.form-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.form-layout--reverse { grid-template-columns: 1.4fr 1fr; }
.form-step { border: 0; padding: 0 0 1.4rem; margin: 0 0 .4rem; border-bottom: 1px solid var(--line); display: grid; gap: 1rem; }
.form-step legend { display: flex; align-items: center; gap: .7rem; font-weight: 700; font-size: 1.1rem; color: var(--navy); margin-bottom: 1rem; padding: 0; }
.step-badge { width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: .9rem; }
.pay-options { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.pay-option { display: flex; gap: .8rem; align-items: flex-start; padding: 1rem; border: 1.5px solid var(--line-2); border-radius: 12px; cursor: pointer; }
.pay-option input { accent-color: var(--primary); margin-top: .3rem; }
.pay-option strong { display: block; color: var(--navy); font-size: .95rem; }
.pay-option small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.4; margin-top: .2rem; }
.pay-option:has(input:checked) { border-color: var(--primary); background: var(--primary-50); }
.pay-option.is-disabled { opacity: .6; cursor: not-allowed; }
.pay-icon { width: 38px; height: 38px; border-radius: 10px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--primary); flex: 0 0 auto; }
.register-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 2rem; align-items: start; }
.register-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 1rem; }
.summary-body dl { margin: 0; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 1rem; padding-top: 1rem; border-top: 2px solid var(--navy); font-weight: 800; color: var(--navy); font-size: 1.15rem; }
.success-card { text-align: center; }
.success-card .info-list { text-align: start; margin: 1rem 0; }
.success-icon, .warn-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 1rem; background: var(--success-50); color: var(--success); }
.success-icon .icon, .warn-icon .icon { width: 30px; height: 30px; }
.warn-icon { background: var(--warning-50); color: var(--warning); }
.result-card { text-align: center; padding: 3rem 2rem; }

/* ---------- Verify ---------- */
.verify-hero { background: var(--navy-900); color: #fff; padding: clamp(2.5rem, 5vw, 4.5rem) 0; position: relative; overflow: hidden; }
.verify-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 380px at 85% 20%, rgba(14, 90, 242, .4), transparent 60%); }
.verify-hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; }
.verify-hero h1 { color: #fff; }
.verify-card { color: var(--ink); }
.verify-band { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; }
.verify-form label { font-weight: 700; color: var(--navy); display: block; margin-bottom: .5rem; }
.verify-input { display: flex; align-items: center; gap: .6rem; border: 1.5px solid var(--line-2); border-radius: 12px; padding: .35rem .35rem .35rem .9rem; background: #fff; }
.verify-input:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(14, 90, 242, .14); }
.verify-input > .icon { color: var(--muted); }
.verify-input input { border: 0; box-shadow: none !important; padding: .5rem 0; min-height: 40px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 1rem; letter-spacing: .02em; text-transform: uppercase; }
.verify-input input::placeholder { text-transform: none; color: #9AA2B3; }
.verify-form .field-help { margin-top: .7rem; }
.verify-result { margin-top: 1.2rem; }
.verify-result:empty { display: none; }
.v-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.v-card-head { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.2rem; background: var(--success-50); }
.v-card-head.is-bad { background: var(--danger-50); }
.v-card-head.is-warn { background: var(--warning-50); }
.v-card-head .icon { width: 28px; height: 28px; color: var(--success); }
.v-card-head.is-bad .icon { color: var(--danger); }
.v-card-head.is-warn .icon { color: var(--warning); }
.v-card-head strong { display: block; color: var(--navy); }
.v-card-body { padding: .3rem 1.2rem 1rem; }
.v-card-body .info-list > div { grid-template-columns: 8rem 1fr; }
.v-card-foot { display: flex; align-items: center; gap: .8rem; padding: .9rem 1.2rem; border-top: 1px solid var(--line); background: var(--bg-alt); }
.v-card-foot img { width: 44px; height: 44px; }
.status { display: inline-flex; align-items: center; gap: .4rem; padding: .22rem .7rem; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-valid, .status-active, .status-pass, .status-paid, .status-approved, .status-completed, .status-passed, .status-confirmed, .status-included, .status-current { background: var(--success-50); color: var(--success); }
.status-expired, .status-cancelled, .status-void, .status-not_current, .status-not_started { background: #EEF0F4; color: #5A6274; }
.status-suspended, .status-pending, .status-invoice_requested, .status-booked, .status-submitted, .status-registered { background: var(--warning-50); color: var(--warning); }
.status-invalid, .status-revoked, .status-fail, .status-failed, .status-rejected, .status-absent, .status-refunded { background: var(--danger-50); color: var(--danger); }
.status-lg { font-size: .95rem; padding: .4rem 1rem; }
.status-legend { margin: 0; display: grid; gap: .9rem; }
.status-legend > div { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; align-items: start; }
.status-legend dd { margin: 0; color: var(--ink-2); font-size: .93rem; }

/* ---------- Credential page ---------- */
.credential-page { padding: clamp(2.5rem, 6vw, 5rem) 0; background: linear-gradient(180deg, var(--bg-alt), #fff 60%); }
.credential-grid { display: grid; grid-template-columns: 320px 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.credential-badge-wrap { display: grid; justify-items: center; gap: 1.2rem; background: var(--navy); border-radius: var(--radius-lg); padding: 2.4rem 1.5rem; box-shadow: var(--shadow-lg); border-bottom: 5px solid var(--lvl); }
.credential-body h1 { font-size: clamp(1.8rem, 2vw + 1rem, 2.6rem); }
.credential-qr { display: flex; align-items: center; gap: 1rem; margin-top: 1.8rem; padding: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); max-width: 360px; }
.qr-box svg { width: 96px; height: 96px; display: block; }
.credential-qr p { margin: 0; font-size: .9rem; color: var(--muted); }

/* ---------- Take an exam ---------- */
.signin-card { padding: 2.2rem; display: grid; gap: .6rem; justify-items: start; }
.signin-card h2 { margin: .4rem 0 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: .6rem; }
.exam-options { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.exam-option { display: flex; gap: .8rem; align-items: flex-start; padding: 1.1rem; border: 1.5px solid var(--line-2); border-radius: 12px; cursor: pointer; border-inline-start: 4px solid var(--lvl); }
.exam-option input { accent-color: var(--lvl-ink); margin-top: .3rem; }
.exam-option .lvl-dot { display: none; }
.exam-option-body { display: grid; gap: .25rem; }
.exam-option strong { color: var(--navy); }
.exam-option small { display: flex; align-items: center; gap: .35rem; color: var(--muted); font-size: .83rem; line-height: 1.4; }
.exam-option small .icon { width: 15px; height: 15px; }
.exam-option-note { color: var(--lvl-ink) !important; }
.exam-option:has(input:checked) { border-color: var(--lvl); background: var(--lvl-50); }
.input-code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; text-transform: uppercase; letter-spacing: .04em; }

/* ---------- Exam room ---------- */
.exam-body { background: var(--bg-alt); min-height: 100vh; }
.exam-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.exam-header-inner { display: flex; align-items: center; gap: 1.2rem; min-height: 68px; }
.exam-header-title { flex: 1; font-weight: 700; color: var(--navy); font-size: .95rem; text-align: center; }
.exam-timer { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .9rem; border-radius: 999px; background: var(--navy); color: #fff; font-variant-numeric: tabular-nums; }
.exam-timer strong { font-size: 1.05rem; letter-spacing: .03em; }
.exam-timer.is-low { background: var(--danger); }
.exam-main { padding: 2rem 0 4rem; }
.exam-room .card { padding: clamp(1.4rem, 3vw, 2.2rem); }
.exam-loading { display: flex; align-items: center; justify-content: center; gap: .7rem; padding: 4rem 1rem; color: var(--muted); }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--line-2); border-top-color: var(--primary); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.exam-intro { max-width: 760px; margin: 0 auto; }
.exam-intro .check-list { margin: 1.4rem 0; }
.exam-intro .notice { margin-bottom: 1rem; }
.exam-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 1.5rem; align-items: start; }
.exam-aside { position: sticky; top: 88px; }
.exam-q-num { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); margin: 0 0 .6rem; }
.exam-q-text { font-size: 1.2rem; line-height: 1.5; font-weight: 600; margin: 0 0 .4rem; }
.answer-list { display: grid; gap: .65rem; margin: 1.2rem 0 1.6rem; }
.answer-option { display: flex; gap: .85rem; align-items: flex-start; padding: .9rem 1rem; border: 1.5px solid var(--line-2); border-radius: 12px; cursor: pointer; background: #fff; }
.answer-option:hover { border-color: #B9C1D1; }
.answer-option input { position: absolute; opacity: 0; pointer-events: none; }
.answer-letter { width: 28px; height: 28px; border-radius: 8px; border: 1.5px solid var(--line-2); display: grid; place-items: center; font-weight: 700; font-size: .85rem; color: var(--muted); flex: 0 0 auto; }
.answer-option:has(input:checked) { border-color: var(--primary); background: var(--primary-50); }
.answer-option:has(input:checked) .answer-letter { background: var(--primary); border-color: var(--primary); color: #fff; }
.answer-option:has(input:focus-visible) { box-shadow: 0 0 0 4px rgba(14, 90, 242, .2); }
.exam-scenario { background: var(--bg-alt); border-radius: var(--radius); padding: 1.1rem 1.2rem; margin-bottom: 1rem; line-height: 1.6; }
.exam-part-b { min-height: 320px; margin-bottom: 1.4rem; }
.exam-q-actions { display: flex; justify-content: space-between; gap: .8rem; }
.exam-progress { font-weight: 700; color: var(--navy); margin: 0 0 .8rem; }
.exam-nav { display: grid; grid-template-columns: repeat(6, 1fr); gap: .4rem; margin-bottom: 1rem; }
.exam-nav-btn { aspect-ratio: 1; border: 1.5px solid var(--line-2); background: #fff; border-radius: 8px; font: inherit; font-size: .82rem; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.exam-nav-btn.is-answered { background: var(--primary-50); border-color: var(--primary-50); color: var(--primary); }
.exam-nav-btn.is-current { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.exam-save { font-size: .82rem; color: var(--muted); min-height: 1.2em; margin: 0 0 .8rem; }
.exam-save.is-bad { color: var(--danger); }
.exam-result { max-width: 640px; margin: 0 auto; text-align: center; }
.exam-result .lead { margin-inline: auto; }
.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; }

/* ---------- Home: exam cards ---------- */
.exam-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.exam-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow-sm); border-top: 4px solid var(--lvl); display: grid; gap: .9rem; }
.exam-card h3 { margin: 0; font-size: 1.2rem; }
.exam-card .cohort-meta { font-size: .9rem; }
.exam-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: .9rem; border-top: 1px solid var(--line); }
.exam-card-price { font-weight: 800; color: var(--navy); font-size: 1.1rem; }
/* ---------- Legal ---------- */
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 3rem; align-items: start; }
.legal-nav { display: grid; gap: .2rem; position: sticky; top: calc(var(--header-h) + 20px); }
.legal-nav a { padding: .6rem .9rem; border-radius: 8px; color: var(--ink-2); font-weight: 500; font-size: .93rem; }
.legal-nav a:hover { background: var(--bg-alt); text-decoration: none; }
.legal-nav a.is-active { background: var(--primary-50); color: var(--primary); font-weight: 700; }
.legal-layout .notice { margin-bottom: 1.5rem; background: var(--warning-50); }
.legal-layout .notice .icon { color: var(--warning); }

/* ---------- Auth & portal ---------- */
.auth-page { background: var(--navy-900); padding: clamp(2.5rem, 6vw, 5rem) 0; position: relative; overflow: hidden; min-height: 70vh; }
.auth-page::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 400px at 80% 20%, rgba(14, 90, 242, .4), transparent 60%), radial-gradient(500px 300px at 0% 100%, rgba(115, 96, 242, .25), transparent 60%); }
.auth-grid { position: relative; display: grid; grid-template-columns: 1fr 460px; gap: 4rem; align-items: center; }
.auth-grid--single { grid-template-columns: minmax(0, 460px); justify-content: center; }
.auth-intro { color: #fff; }
.auth-intro h1 { color: #fff; font-size: clamp(2rem, 2vw + 1rem, 2.8rem); }
.auth-card { padding: 2rem; box-shadow: var(--shadow-lg); }
.portal-head { background: var(--navy-900); color: #fff; padding: 2rem 0 4.5rem; }
.portal-head h1 { color: #fff; margin: 0; }
.portal-head-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.portal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 2rem; margin-top: -3rem; padding-bottom: 4rem; align-items: start; }
.portal-nav { display: grid; gap: .2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: .6rem; box-shadow: var(--shadow); position: sticky; top: calc(var(--header-h) + 20px); }
.portal-tab { display: flex; align-items: center; gap: .7rem; padding: .75rem .9rem; border-radius: 10px; border: 0; background: none; font: inherit; font-weight: 600; font-size: .93rem; color: var(--ink-2); cursor: pointer; text-align: start; }
.portal-tab:hover { background: var(--bg-alt); }
.portal-tab.is-active { background: var(--primary-50); color: var(--primary); }
.portal-panels { min-width: 0; }
.portal-panel { display: grid; gap: 1.3rem; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.3rem; box-shadow: var(--shadow); }
.kpi strong { display: block; font-size: 2rem; font-weight: 800; color: var(--navy); line-height: 1.1; }
.kpi span { color: var(--muted); font-size: .88rem; }
.quick-links { display: flex; flex-wrap: wrap; gap: .7rem; }
.quick-link { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1rem; border: 1px solid var(--line); border-radius: 10px; font-weight: 600; color: var(--navy); }
.quick-link .icon { color: var(--primary); }
.quick-link:hover { border-color: var(--primary); text-decoration: none; }
.cert-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.p-cert { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem; display: grid; gap: 1rem; box-shadow: var(--shadow-sm); border-top: 4px solid var(--lvl); }
.p-cert-head { display: flex; gap: 1rem; align-items: center; }
.p-cert-head img { width: 72px; height: 72px; }
.p-cert-head h3 { font-size: 1.05rem; margin: 0 0 .3rem; }
.p-cert-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.p-row { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center; box-shadow: var(--shadow-sm); }
.p-row + .p-row { margin-top: .8rem; }
.p-row h3 { font-size: 1rem; margin: 0 0 .3rem; }
.p-row .cohort-meta { font-size: .85rem; }
.p-row-side { display: grid; gap: .4rem; justify-items: end; text-align: end; }
.disclosure { border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem 1rem; }
.disclosure summary { cursor: pointer; font-weight: 600; color: var(--navy); }
.disclosure[open] summary { margin-bottom: 1rem; }
.modal { border: 0; border-radius: var(--radius-lg); padding: 1.8rem; width: min(480px, calc(100vw - 32px)); box-shadow: var(--shadow-lg); }
.modal::backdrop { background: rgba(23, 23, 42, .55); }
.modal-actions { display: flex; justify-content: flex-end; gap: .6rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #AEB4C4; padding-top: 4rem; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-about p { margin: 1.2rem 0; line-height: 1.6; max-width: 22rem; }
.footer-title { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.footer-links a { color: #C9CEDB; }
.footer-links a:hover { color: #fff; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact .icon { color: #8FB3FF; margin-top: .25rem; }
.social { display: flex; gap: .5rem; }
.social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: #C9CEDB; }
.social a:hover { background: var(--primary); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.3rem; flex-wrap: wrap; font-size: .82rem; }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.footer-legal a { color: #AEB4C4; display: inline-flex; align-items: center; gap: .35rem; }
.footer-legal a:hover { color: #fff; }

/* ---------- Cookie banner & toasts ---------- */
.cookie-banner { position: fixed; inset-inline: 16px; bottom: 16px; z-index: 200; max-width: 640px; margin-inline: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 1.1rem 1.3rem; display: flex; gap: 1rem; align-items: center; }
.cookie-banner p { margin: 0; font-size: .9rem; color: var(--ink-2); }
.cookie-actions { display: flex; gap: .5rem; flex: 0 0 auto; }
.toast-region { position: fixed; top: 16px; inset-inline-end: 16px; z-index: 300; display: grid; gap: .5rem; }
.toast { background: var(--navy); color: #fff; padding: .8rem 1.1rem; border-radius: 10px; box-shadow: var(--shadow-lg); font-size: .9rem; animation: toast-in .25s ease; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Error page ---------- */
.error-page { min-height: 55vh; display: grid; align-items: center; }
.error-code { font-size: clamp(4rem, 10vw, 7rem); font-weight: 800; line-height: 1; margin: 0 0 1rem; background: linear-gradient(135deg, var(--primary), var(--purple)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-detail { text-align: start; background: var(--bg-alt); padding: 1rem; border-radius: var(--radius); overflow: auto; font-size: .8rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .brand-sub { display: none; }
  .nav-link { padding: .6rem .6rem; font-size: .9rem; }
}
@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; margin-inline-start: auto; }
  .header-actions { margin-inline-start: auto; }
  .brand-sub { display: block; }
  .hero-grid, .org-grid, .verify-hero-grid, .verify-band, .auth-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin: 1rem auto 0; width: 100%; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats li:nth-child(4) { border-inline-start: 0; }
  .stats li:nth-child(n+4) { border-top: 1px solid var(--line); }
  .pathway { grid-template-columns: 1fr; }
  .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .steps::before { display: none; }
  .course-layout, .register-layout, .exam-layout, .faq-layout, .form-layout, .form-layout--reverse, .legal-layout, .credential-grid { grid-template-columns: 1fr; }
  .course-aside, .register-aside, .faq-layout aside, .legal-nav, .exam-aside { position: static; }
  .course-hero-grid { grid-template-columns: 1fr; }
  .course-hero-badge { display: none; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .portal-layout { grid-template-columns: 1fr; }
  .portal-nav { position: static; display: flex; overflow-x: auto; }
  .portal-tab { white-space: nowrap; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .legal-nav { display: flex; flex-wrap: wrap; }
  .credential-badge-wrap { max-width: 360px; }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  .utility-contact { display: none; }
  .utility-links { gap: 1rem; width: 100%; justify-content: space-between; }
  .utility-links a:not(.lang-switch) span { font-size: .78rem; }
  .brand-sub { display: none; }
  .brand-mark { width: 38px; height: 38px; }
  .grid-2, .grid-3, .grid-4, .grid-5, .form-grid, .pay-options, .cert-grid, .news-grid, .exam-options, .exam-cards, .num-list.cols-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats li { border-inline-start: 0 !important; border-top: 1px solid var(--line); padding: 1.1rem; }
  .stats li:nth-child(-n+2) { border-top: 0; }
  .stats li:nth-child(odd) { border-inline-end: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .exam-header-title { display: none; }
  .exam-header-inner { justify-content: space-between; }
  .exam-nav { grid-template-columns: repeat(8, 1fr); }
  .p-row { grid-template-columns: 1fr; }
  .p-row-side { justify-items: start; text-align: start; }
  .bp-head { grid-template-columns: 1fr 3rem; }
  .bp-bar { grid-column: 1 / -1; grid-row: 2; }
  .bp-topics { grid-template-columns: 1fr; }
  .bp-desc, .bp-topics { margin-inline-start: 0; }
  .info-list > div, .info-card .info-list > div, .v-card-body .info-list > div, .info-list--wide > div { grid-template-columns: 1fr; gap: .15rem; }
  .float-verified { inset-inline-start: .5rem; }
  .float-badges { inset-inline-end: .5rem; }
  .cert-mock { padding: 1.3rem 1.2rem 1.1rem; transform: rotate(-1.2deg); }
  .cert-mock-name { font-size: 1.3rem; }
  .cert-mock-chip { display: none; }
  .cookie-banner { flex-direction: column; align-items: stretch; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .status-legend > div { grid-template-columns: 1fr; gap: .3rem; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .table th, .table td { padding: .8rem .9rem; }
  .mega-grid { min-width: 0; grid-template-columns: 1fr; }
  .article-foot { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .utility-bar, .site-header, .site-footer, .cookie-banner, .cta-band, .hero-actions { display: none !important; }
  body { background: #fff; }
}
