/* ============================================================
   Applied Technology Academy — Design System
   Brand: Montserrat · #12679B primary · #BFDFF7 light · #818285 gray · #8F0631 accent
   Clean, cutting-edge cyber/AI. No clichés.
   ============================================================ */

:root {
  --blue: #12679B;
  --blue-dark: #0D4D75;
  --blue-deep: #082A40;          /* dark section anchor */
  --blue-deeper: #051D2E;
  --ice: #BFDFF7;
  --ice-soft: #EAF4FC;
  --gray: #818285;
  --gray-dark: #3E3F42;
  --ink: #14181C;
  --crimson: #8F0631;            /* sparing accent — CTAs & highlights only */
  --crimson-dark: #6E0426;
  --mulberry: #4B0522;           /* dark mulberry — header */
  --mulberry-deep: #36031A;
  --paper: #FFFFFF;
  --paper-soft: #F6FAFD;
  --line: #DCE8F1;
  --sans: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: var(--sans); /* brand rule: Montserrat everywhere — label styles keep tracking, not a second family */
  --shadow-1: 0 1px 2px rgba(8, 42, 64, .06), 0 2px 10px rgba(8, 42, 64, .07);
  --shadow-2: 0 6px 24px rgba(8, 42, 64, .13);
  --glow: 0 0 0 3px rgba(191, 223, 247, .55);
  --radius: 10px;
  --radius-lg: 16px;
  --max: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 .6em; font-weight: 700; color: var(--ink); letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.15rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.17rem; }
h4 { font-size: 1rem; }
p { margin: 0 0 1em; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 3px; }
.dark :focus-visible { outline-color: var(--ice); }

.kicker {
  font-family: var(--mono);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: .55em;
  margin-bottom: 1rem;
}
.kicker::before { content: ""; width: 1.9em; height: 3px; border-radius: 2px; background: var(--crimson); flex: none; }
.dark .kicker { color: var(--ice); }

.lead { font-size: 1.13rem; color: var(--gray-dark); max-width: 62ch; }
.dark .lead { color: #C9DCEA; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
section { padding-block: clamp(3.2rem, 7vw, 5.5rem); }
.section-tight { padding-block: clamp(2.2rem, 5vw, 3.5rem); }
.section-head { max-width: 720px; margin-bottom: 2.4rem; }
.grid { display: grid; gap: 1.4rem; }
.cols-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); }
.cols-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.cols-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

/* Dark sections — deep blue, fine grid lines */
.dark {
  background:
    linear-gradient(rgba(191,223,247,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(191,223,247,.045) 1px, transparent 1px),
    linear-gradient(180deg, var(--blue-deep), var(--blue-deeper));
  background-size: 44px 44px, 44px 44px, 100% 100%;
  color: #E7F1F9;
}
.dark h1, .dark h2, .dark h3, .dark h4 { color: #FFFFFF; }
.dark a { color: var(--ice); }
.tint { background: var(--paper-soft); }
.tint-ice { background: linear-gradient(180deg, var(--ice-soft), #fff); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font: 700 .92rem/1 var(--sans);
  padding: .95em 1.7em;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--crimson); color: #fff !important; }
.btn-primary:hover { background: var(--crimson-dark); box-shadow: 0 4px 18px rgba(143, 6, 49, .35); }
.btn-blue { background: var(--blue); color: #fff !important; }
.btn-blue:hover { background: var(--blue-dark); box-shadow: 0 4px 18px rgba(18, 103, 155, .35); }
.btn-ghost { border-color: var(--blue); color: var(--blue) !important; background: transparent; }
.btn-ghost:hover { background: var(--ice-soft); }
.dark .btn-ghost { border-color: var(--ice); color: var(--ice) !important; }
.dark .btn-ghost:hover { background: rgba(191,223,247,.12); box-shadow: 0 0 22px rgba(191,223,247,.25); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: linear-gradient(180deg, var(--crimson), var(--crimson-dark)); /* brand-guide mulberry #8F0631 */
  border-bottom: 1px solid rgba(255,255,255,.14);
  transform: translateZ(0); /* own compositor layer — prevents sticky-gradient smear onto dark sections */
}
.topbar {
  background: var(--mulberry); color: #F2D9E1;
  border-bottom: 1px solid rgba(255,255,255,.12);
  font-family: var(--mono); font-size: .72rem; letter-spacing: .06em;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 1rem; padding-block: .45rem; }
.topbar a { color: #F2D9E1; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar .gov { opacity: .85; }
@media (max-width: 720px) { .topbar .gov { display: none; } }

.navbar { display: flex; align-items: center; gap: 1.2rem; padding-block: .7rem; }
.brand-lockup { display: flex; align-items: center; text-decoration: none; margin-right: auto; }
.brand-lockup img { height: 54px; width: auto; }
@media (max-width: 480px) { .brand-lockup img { height: 44px; } }

.nav-list { display: flex; align-items: center; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-list > li > a, .nav-list > li > button {
  display: inline-flex; align-items: center; gap: .35em;
  font: 600 .9rem/1 var(--sans); color: #fff;
  padding: .7em .85em; border-radius: 8px;
  background: none; border: 0; cursor: pointer; text-decoration: none;
}
.nav-list > li > a:hover, .nav-list > li > button:hover { background: rgba(255,255,255,.14); color: #fff; }
.nav-list .caret { width: .55em; height: .55em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .15s; }
.nav-list li.open > button .caret { transform: rotate(225deg) translateY(-1px); }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 300px; max-height: min(70vh, 560px); overflow: auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  padding: .6rem; display: none; z-index: 70;
}
.dropdown.wide { min-width: 560px; columns: 2; column-gap: .5rem; }
@media (max-width: 900px) { .dropdown.wide { min-width: 300px; columns: 1; } }
li.open > .dropdown { display: block; }
.dropdown a {
  display: block; break-inside: avoid;
  font: 500 .86rem/1.35 var(--sans); color: var(--ink); text-decoration: none;
  padding: .5em .7em; border-radius: 7px;
}
.dropdown a:hover { background: var(--ice-soft); color: var(--blue-dark); }
.dropdown .dd-head {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 700; color: var(--crimson); padding: .6em .7em .3em; break-inside: avoid;
}
.dropdown a .new-badge {
  font-family: var(--mono); font-size: .58rem; letter-spacing: .1em;
  color: var(--crimson); border: 1px solid currentColor; border-radius: 4px;
  padding: .1em .4em; margin-left: .5em; vertical-align: 1px;
}

.nav-cta { margin-left: .4rem; }
.site-header .btn-primary { background: #fff; color: var(--crimson) !important; }
.site-header .btn-primary:hover { background: var(--ice-soft); box-shadow: 0 4px 18px rgba(0,0,0,.3); }
.nav-toggle { display: none; }

@media (max-width: 1080px) {
  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 5px; justify-content: center;
    background: none; border: 0; padding: .6rem; cursor: pointer;
  }
  .nav-toggle span { width: 24px; height: 2px; background: #fff; transition: transform .2s, opacity .2s; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-cta { display: none; }
  .nav-list {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--crimson-dark); border-bottom: 1px solid rgba(255,255,255,.15);
    box-shadow: var(--shadow-2); padding: .6rem var(--gutter) 1.2rem;
    max-height: calc(100vh - 120px); overflow: auto;
  }
  .nav-list .dropdown, .nav-list .dropdown.wide { background: rgba(255,255,255,.06); border-left-color: rgba(255,255,255,.25); }
  .nav-list .dropdown a { color: #F2D9E1; }
  .nav-list .dropdown a:hover { background: rgba(255,255,255,.12); color: #fff; }
  .nav-list .dropdown .dd-head { color: rgba(242,217,225,.6); }
  .nav-open .nav-list { display: flex; }
  .nav-list > li > a, .nav-list > li > button { width: 100%; justify-content: space-between; padding: .9em .4em; font-size: 1rem; }
  .dropdown, .dropdown.wide { position: static; min-width: 0; box-shadow: none; border: 0; border-left: 2px solid var(--ice); border-radius: 0; margin-left: .5rem; columns: 1; max-height: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(620px 420px at 82% 18%, rgba(18,103,155,.55), transparent 65%),
    radial-gradient(520px 380px at 8% 92%, rgba(143,6,49,.28), transparent 70%),
    radial-gradient(700px 500px at 50% 120%, rgba(191,223,247,.12), transparent 70%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-mark {
  position: absolute; right: clamp(1rem, 4vw, 7rem); top: 50%; transform: translateY(-50%);
  width: min(42vw, 520px); opacity: .07; pointer-events: none; z-index: 0;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: 3rem; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
.hero .lead { font-size: 1.16rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 2rem 2.6rem; margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid rgba(191,223,247,.25); }
.hero-stats div b { display: block; font-size: 1.5rem; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.hero-stats div span { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ice); }

.hero-panel {
  border: 1px solid rgba(191,223,247,.28);
  background: linear-gradient(160deg, rgba(18,103,155,.35), rgba(5,29,46,.7));
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.5rem 1.2rem;
  font-size: .84rem; line-height: 1.55;
  box-shadow: 0 0 60px rgba(18,103,155,.35);
  backdrop-filter: blur(4px);
}
.hero-panel .ph-title {
  font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ice); display: flex; align-items: center; gap: .6em; margin-bottom: 1rem;
}
.hero-panel .ph-title::after { content: ""; flex: 1; height: 1px; background: rgba(191,223,247,.3); }
.hero-panel .row {
  display: flex; gap: .9em; align-items: baseline;
  padding: .5em 0; border-bottom: 1px solid rgba(191,223,247,.12);
}
.hero-panel .row:last-child { border-bottom: 0; }
.hero-panel .dim {
  flex: none; width: 5.2em; font-size: .64rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(191,223,247,.65);
}
.hero-panel .val { color: #fff; font-weight: 600; }
.hero-panel .ok { color: var(--ice); font-weight: 700; }

/* ---------- Proof strip ---------- */
.proof { border-block: 1px solid var(--ice); background: linear-gradient(180deg, var(--ice), var(--ice-soft)); }
.proof .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .7rem 1rem; padding-block: 1.5rem; }
.proof .label { font-family: var(--mono); font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--blue-dark); flex-basis: 100%; text-align: center; margin-bottom: .3rem; }
.proof b, .proof a.pchip {
  font-size: .85rem; font-weight: 700; color: var(--blue-dark); white-space: nowrap;
  background: #fff; border: 1px solid rgba(18,103,155,.18); border-radius: 999px;
  padding: .55em 1.1em; box-shadow: 0 1px 4px rgba(8,42,64,.07);
  text-decoration: none;
}
.proof .row-break { flex-basis: 100%; height: 0; }
.proof a.pchip { border-color: rgba(143,6,49,.35); color: var(--crimson); }
.proof a.pchip:hover { background: #FDF3F6; border-color: var(--crimson); box-shadow: 0 2px 8px rgba(143,6,49,.18); }
/* Rotating accent per strip line (0=crimson marquee, 1=blue, 2=mulberry, 3=blue-deep) */
.proof a.pchip.pchip-c0 { border-color: rgba(143,6,49,.40);  color: var(--crimson); }
.proof a.pchip.pchip-c1 { border-color: rgba(18,103,155,.45); color: var(--blue); }
.proof a.pchip.pchip-c2 { border-color: rgba(75,5,34,.45);   color: var(--mulberry); }
.proof a.pchip.pchip-c3 { border-color: rgba(8,42,64,.45);   color: var(--blue-deep); }
.proof a.pchip.pchip-c0:hover { background: #FDF3F6; border-color: var(--crimson);    box-shadow: 0 2px 8px rgba(143,6,49,.18); }
.proof a.pchip.pchip-c1:hover { background: #EAF4FC; border-color: var(--blue);        box-shadow: 0 2px 8px rgba(18,103,155,.18); }
.proof a.pchip.pchip-c2:hover { background: #F7EEF2; border-color: var(--mulberry);    box-shadow: 0 2px 8px rgba(75,5,34,.18); }
.proof a.pchip.pchip-c3:hover { background: #EAF1F6; border-color: var(--blue-deep);   box-shadow: 0 2px 8px rgba(8,42,64,.18); }

/* ---------- Solid blue band ---------- */
.band-blue {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
}
.band-blue h2, .band-blue h3 { color: #fff; }
.band-blue .lead { color: var(--ice); }
.band-blue .checklist li { color: #EAF4FC; }

/* ---------- Cards ---------- */
.card {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.7rem; box-shadow: var(--shadow-1);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  display: flex; flex-direction: column;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--ice));
  opacity: 0; transition: opacity .18s ease;
}
a.card { text-decoration: none; color: inherit; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--ice); }
.card:hover::before { opacity: 1; }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px; flex: none;
  display: grid; place-items: center; margin-bottom: 1.1rem;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: #fff;
  box-shadow: 0 4px 14px rgba(18,103,155,.3);
}
.card .icon svg { width: 26px; height: 26px; }
.card.card-ice { background: linear-gradient(160deg, var(--ice-soft), #fff 55%); border-color: var(--ice); }
.card.card-crimson .icon { background: linear-gradient(135deg, var(--crimson), var(--mulberry)); box-shadow: 0 4px 14px rgba(143,6,49,.35); }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--blue); }
.card p { color: var(--gray-dark); font-size: .93rem; margin-bottom: 0; }
.card .card-meta { margin-top: auto; padding-top: 1rem; font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; color: var(--gray); text-transform: uppercase; }
.card .go { margin-top: 1rem; font-weight: 700; font-size: .88rem; color: var(--blue); }
.card:hover .go { color: var(--blue-dark); }

.dark .card { background: rgba(255,255,255,.045); border-color: rgba(191,223,247,.2); box-shadow: none; }
.dark .card:hover { border-color: rgba(191,223,247,.5); box-shadow: 0 0 30px rgba(18,103,155,.35); }
.dark .card p { color: #C9DCEA; }
.dark .card .icon { background: linear-gradient(135deg, var(--blue), var(--ice)); color: #fff; box-shadow: 0 0 24px rgba(18,103,155,.5); }
.dark .card .card-meta { color: rgba(191,223,247,.6); }

/* course list rows */
.course-list { display: grid; gap: .7rem; }
.course-row {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem 1.3rem; text-decoration: none; color: inherit;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.course-row:hover { border-color: var(--blue); box-shadow: var(--shadow-1); transform: translateX(2px); }
.course-row b { font-size: .97rem; font-weight: 600; color: var(--ink); flex: 1 1 340px; }
.course-row:hover b { color: var(--blue-dark); }
.course-row .tag {
  font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue); background: var(--ice-soft); border-radius: 5px; padding: .3em .6em;
}
.course-row .arrow { color: var(--blue); font-weight: 700; }

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: .8rem; color: var(--gray); padding-block: 1rem 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5em; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: .5em; color: var(--line); }
.crumbs a { color: var(--gray); text-decoration: none; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }

/* ---------- Course page ---------- */
.course-hero { padding-block: 2.6rem 3rem; }
.course-hero .brand-chip {
  display: inline-block; font: 700 .78rem/1 var(--sans); color: var(--blue-dark);
  background: var(--ice-soft); border: 1px solid var(--ice);
  padding: .5em .9em; border-radius: 999px; margin-bottom: 1.1rem; text-decoration: none;
}
.course-hero .brand-chip:hover { background: var(--ice); }
.facts { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.fact {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: .8rem 1.15rem; min-width: 128px;
}
.fact span { display: block; font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gray); }
.fact b { font-size: .98rem; font-weight: 700; color: var(--ink); }

.course-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 3rem; align-items: start; }
@media (max-width: 980px) { .course-layout { grid-template-columns: 1fr; } }
.course-body h2 { font-size: 1.45rem; margin-top: 2.2rem; }
.course-body h2:first-child { margin-top: 0; }
.course-body details {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0; margin-bottom: .8rem; background: #fff;
}
.course-body summary {
  cursor: pointer; font-weight: 700; font-size: 1rem; padding: 1rem 1.25rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.course-body summary::-webkit-details-marker { display: none; }
.course-body summary::after { content: "+"; font-weight: 600; color: var(--blue); font-size: 1.25em; line-height: 1; }
.course-body details[open] summary::after { content: "–"; }
.course-body details .acc-body { padding: 0 1.25rem 1.1rem; color: var(--gray-dark); font-size: .95rem; }
.acc-body p { margin: 0 0 .8em; }
.acc-body ul { margin: .3em 0 .9em; padding-left: 1.25em; display: grid; gap: .4em; }
.acc-body ul ul { margin: .45em 0 .15em; padding-left: 1.15em; gap: .3em; }
.acc-body li::marker { color: var(--blue); }
.acc-body ul.outline > li { margin-bottom: .35em; }
.acc-body ul.outline > li > strong { color: var(--ink); }
.acc-body ul.outline ul li::marker { color: var(--gray); }

.sidebar { position: sticky; top: 110px; display: grid; gap: 1.2rem; }
.schedule-box {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue);
  border-radius: var(--radius); padding: 1.4rem;
}
.schedule-box h2, .schedule-box h3 { font-size: 1.05rem; margin-bottom: .6rem; }
.arlo-embed {
  display: grid; justify-items: center; text-align: center; gap: .3rem;
  padding: 1.5rem 1.1rem; border-radius: var(--radius);
  border: 1px solid var(--line); background: linear-gradient(180deg, var(--ice-soft), #fff);
  overflow-wrap: anywhere;
}
.arlo-embed .arlo-ico { color: var(--blue); margin-bottom: .3rem; }
.arlo-embed .arlo-head { font-weight: 700; font-size: .98rem; letter-spacing: -.01em; color: var(--ink); }
.arlo-embed .arlo-sub { font-size: .82rem; line-height: 1.45; color: var(--gray); }
.arlo-embed.todo { background: linear-gradient(180deg, #FBF5EF, #fff); }
.arlo-embed.todo .arlo-ico { color: var(--crimson); }
.quote-box { background: var(--blue-deep); color: #E7F1F9; border-radius: var(--radius); padding: 1.4rem; }
.quote-box h3 { color: #fff; font-size: 1.02rem; }
.quote-box p { font-size: .88rem; color: #C9DCEA; }
.quote-box .btn { width: 100%; justify-content: center; }

/* ---------- Numbered step rail ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 1.2rem; counter-reset: step; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem 1.4rem; box-shadow: var(--shadow-1); counter-increment: step;
}
.step::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--crimson), var(--mulberry));
  color: #fff; font-weight: 800; font-size: 1.05rem;
  margin-bottom: .9rem; box-shadow: 0 4px 12px rgba(143,6,49,.35);
}
.step::after {
  content: ""; position: absolute; top: 2.55rem; left: calc(1.4rem + 48px); right: .9rem;
  height: 2px; background: linear-gradient(90deg, var(--ice), transparent);
}
.step:last-child::after { display: none; }
.step h3 { font-size: 1rem; margin-bottom: .35rem; }
.step p { font-size: .88rem; color: var(--gray-dark); margin: 0; }

/* ---------- Flex Spending bonus graph ---------- */
.fs-graph {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; align-items: end;
  padding: 1.5rem 0 0; min-height: 340px;
}
@media (max-width: 640px) { .fs-graph { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; } }
.fs-col { display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: flex-end; }
.fs-col .fs-value { font-weight: 800; font-size: 1.1rem; color: var(--ink); margin-bottom: .5rem; }
.fs-col .fs-value span { display: block; font-family: var(--mono); font-size: .6rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); }
.fs-bar {
  width: 100%; max-width: 96px; border-radius: 12px 12px 0 0;
  background: linear-gradient(180deg, var(--crimson), var(--mulberry));
  display: flex; align-items: flex-start; justify-content: center; padding-top: .6rem;
  box-shadow: 0 6px 20px rgba(143,6,49,.28); position: relative; transition: filter .2s;
}
.fs-col:hover .fs-bar { filter: brightness(1.1); }
.fs-bar .fs-pct { color: #fff; font-weight: 800; font-size: 1.15rem; }
.fs-col .fs-buy {
  margin-top: .8rem; padding-top: .8rem; border-top: 2px solid var(--line); width: 100%;
  text-align: center; font-weight: 700; font-size: .92rem; color: var(--blue-dark);
}
.fs-col .fs-buy span { display: block; font-family: var(--mono); font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gray); font-weight: 600; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1.6rem; }
.post-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-1);
  text-decoration: none; color: inherit; transition: transform .18s, box-shadow .18s, border-color .18s;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--ice); }
.post-card .thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--ice-soft); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.post-card:hover .thumb img { transform: scale(1.04); }
.post-card .pc-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: .5rem; }
.post-card h3 { font-size: 1.06rem; line-height: 1.28; margin-bottom: .5rem; }
.post-card p { font-size: .9rem; color: var(--gray-dark); margin: 0 0 1rem; }
.post-card .go { margin-top: auto; font-weight: 700; font-size: .85rem; color: var(--blue); }

.post-tag { display: inline-block; font-family: var(--mono); font-size: .64rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue-dark); background: var(--ice-soft); border: 1px solid var(--ice);
  border-radius: 5px; padding: .3em .6em; margin: 0 .35rem .35rem 0; text-decoration: none; }
.post-tag:hover { background: var(--ice); }

.article { max-width: 760px; margin-inline: auto; }
.article-hero { aspect-ratio: 16/8; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 1.8rem; box-shadow: var(--shadow-1); }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article h2 { font-size: 1.4rem; margin-top: 1.8rem; }
.article p { font-size: 1.02rem; line-height: 1.75; color: var(--gray-dark); }
.article .byline { font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; color: var(--gray); margin-bottom: 1.4rem; }

/* ---------- Testimonials carousel ---------- */
.tstm-wrap { position: relative; }
.tstm-track {
  display: flex; gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding: .4rem .2rem 1.2rem; scrollbar-width: none;
}
.tstm-track::-webkit-scrollbar { display: none; }
.tstm-card {
  flex: 0 0 min(100%, 400px); scroll-snap-align: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem 1.5rem; box-shadow: var(--shadow-1); position: relative;
  display: flex; flex-direction: column;
}
.tstm-card::before {
  content: "\201C"; font-size: 3.4rem; font-weight: 800; line-height: 1;
  color: var(--ice); position: absolute; top: .6rem; left: 1.1rem;
}
.tstm-stars { color: #E8A33D; font-size: .95rem; letter-spacing: .15em; margin-bottom: .7rem; padding-left: 2.2rem; }
.tstm-card p { font-size: .92rem; color: var(--gray-dark); flex: 1; }
.tstm-card b { color: var(--ink); font-size: .9rem; }
.tstm-nav { display: flex; gap: .6rem; justify-content: center; margin-top: .4rem; }
.tstm-nav button {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--blue); font-size: 1.1rem; font-weight: 700; cursor: pointer;
  transition: background .15s, border-color .15s;
}
.tstm-nav button:hover { background: var(--ice-soft); border-color: var(--blue); }

/* ---------- Team ---------- */
.team-photo {
  width: 108px; height: 108px; border-radius: 50%; object-fit: cover;
  margin-bottom: 1.1rem; border: 3px solid var(--ice);
  box-shadow: 0 4px 14px rgba(18,103,155,.18);
}

/* ---------- Range capability matrix ---------- */
.cmp { border-collapse: separate; border-spacing: 0; width: 100%; font-size: .88rem; min-width: 680px; }
.cmp th, .cmp td { padding: .75em .9em; border-bottom: 1px solid var(--line); text-align: center; }
.cmp th { font-weight: 700; font-size: .8rem; color: var(--ink); background: var(--ice-soft); }
.cmp th:first-child, .cmp td:first-child { text-align: left; }
.cmp td:first-child { font-weight: 600; color: var(--gray-dark); }
.cmp tbody tr:hover td { background: var(--paper-soft); }
.lv { display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .06em;
      text-transform: uppercase; border-radius: 999px; padding: .4em .9em; }
.lv-core { background: linear-gradient(135deg, var(--crimson), var(--mulberry)); color: #fff; }
.lv-strong { background: var(--blue); color: #fff; }
.lv-avail { background: var(--ice-soft); color: var(--blue-dark); border: 1px solid var(--ice); }
.cmp-legend { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; font-size: .8rem; color: var(--gray-dark); align-items: center; }

/* ---------- Range platform profiles ---------- */
.platform { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: 2.2rem;
            padding: 2.2rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.platform:last-child { border-bottom: 0; }
@media (max-width: 900px) { .platform { grid-template-columns: 1fr; } }
.platform .p-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.platform .p-head .icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--crimson), var(--mulberry)); color: #fff; flex: none;
  box-shadow: 0 4px 14px rgba(143,6,49,.3); }
.platform .p-head .icon svg { width: 26px; height: 26px; }
.platform .p-head h3 { margin: 0; font-size: 1.3rem; }
.platform .p-head .p-tag { display: block; font-size: .82rem; font-weight: 600; color: var(--blue); }
.bestfit { background: var(--ice-soft); border-left: 4px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0;
           padding: 1.1rem 1.3rem; font-size: .92rem; color: var(--blue-deep); margin-top: 1.2rem; }
.bestfit b { color: var(--blue-dark); }

/* ---------- Deadline timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1.2rem; }
.tl-item {
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--crimson);
  border-radius: var(--radius-lg); padding: 1.5rem 1.4rem; box-shadow: var(--shadow-1);
}
.tl-item .tl-date {
  display: inline-block; font-weight: 800; font-size: 1.05rem; color: var(--crimson);
  margin-bottom: .4rem; letter-spacing: -.01em;
}
.tl-item h3 { font-size: .98rem; margin-bottom: .35rem; }
.tl-item p { font-size: .88rem; color: var(--gray-dark); margin: 0; }

/* ---------- DCWF work-role grid ---------- */
.wr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: .7rem; }
.wr {
  display: flex; align-items: center; gap: .8rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: .75rem .95rem; text-decoration: none; color: inherit;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.wr:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-1); }
.wr .wr-code {
  flex: none; font-size: .68rem; font-weight: 800; letter-spacing: .05em;
  color: #fff; background: var(--blue); border-radius: 6px; padding: .35em .5em;
}
.wr b { font-size: .84rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.wr:hover b { color: var(--blue-dark); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .8rem; max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { cursor: pointer; font-weight: 700; padding: 1.05rem 1.3rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-weight: 600; font-size: 1.2em; line-height: 1.1; }
.faq details[open] summary::after { content: "–"; }
.faq .faq-a { padding: 0 1.3rem 1.15rem; color: var(--gray-dark); font-size: .95rem; }
.dark .faq details { background: rgba(255,255,255,.05); border-color: rgba(191,223,247,.22); }
.dark .faq .faq-a { color: #C9DCEA; }
.dark .faq summary::after { color: var(--ice); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band .inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.6rem;
  border: 1px solid rgba(191,223,247,.3); border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 3rem);
  background: linear-gradient(120deg, rgba(18,103,155,.35), rgba(5,29,46,.2));
  box-shadow: inset 0 0 80px rgba(18,103,155,.18);
}
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { margin: 0; color: #C9DCEA; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-deeper); color: #B9CEDD; font-size: .88rem; }
.site-footer .footer-logo { height: 52px; width: auto; margin-bottom: 1.1rem; display: block; }
.footer-badges { display: flex; align-items: center; gap: 1.4rem; margin-top: 1.3rem; flex-wrap: wrap; }
.footer-badges img { height: 44px; width: auto; opacity: .85; transition: opacity .15s; }
.footer-badges a:last-child img { height: 40px; }
.footer-badges a:hover img { opacity: 1; }
.site-footer a { color: #D7E7F3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.4rem; padding-block: 3.2rem 2rem; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-family: var(--mono); font-weight: 500; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer-cred {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .05em; line-height: 2;
  color: #8FAFC5;
}
.footer-bottom { border-top: 1px solid rgba(191,223,247,.16); padding-block: 1.2rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; font-size: .76rem; color: #8FAFC5; }
.footer-social { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; align-items: center; }
.footer-social a { display: inline-flex; align-items: center; gap: .45em; color: #D7E7F3; text-decoration: none; font-weight: 600; }
.footer-social a:hover { color: #fff; text-decoration: underline; }
.footer-social svg { width: 16px; height: 16px; flex: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Misc ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.pill {
  font: 600 .82rem/1 var(--sans); color: var(--blue-dark);
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: .6em 1.1em; text-decoration: none;
}
.pill:hover { border-color: var(--blue); color: var(--blue); }
.dark .pill { background: rgba(255,255,255,.06); border-color: rgba(191,223,247,.25); color: var(--ice); }
.dark .pill:hover { border-color: var(--ice); }

.note-strip {
  background: var(--ice-soft); border: 1px solid var(--ice); border-radius: var(--radius);
  padding: 1rem 1.3rem; font-size: .9rem; color: var(--blue-dark);
}
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.checklist li { padding-left: 1.9rem; position: relative; color: var(--gray-dark); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .3rem; width: 1.05rem; height: 1.05rem;
  border-radius: 50%; background: var(--ice-soft);
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="none" stroke="%2312679B" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" d="M3.5 8.5l3 3 6-7"/></svg>');
  background-size: 62%; background-position: center; background-repeat: no-repeat;
}
.dark .checklist li { color: #C9DCEA; }

.table-scroll { overflow-x: auto; }
table.data { border-collapse: collapse; width: 100%; font-size: .92rem; }
table.data th, table.data td { text-align: left; padding: .7em .9em; border-bottom: 1px solid var(--line); }
table.data th { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gray); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--blue); color: #fff; padding: .8em 1.2em; border-radius: 0 0 8px 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ---------- Learning paths ---------- */
.lp-tracks { display: flex; flex-direction: column; gap: 1.4rem; }
.lp-track { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1); overflow: hidden; border-top: 3px solid var(--lp-hue, var(--blue)); scroll-margin-top: 90px; }
.lp-head { padding: 1.1rem 1.3rem .8rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1rem; }
.lp-eyebrow { font: 700 .7rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  color: var(--lp-hue, var(--blue)); display: flex; align-items: center; gap: .5rem; }
.lp-eyebrow .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lp-hue, var(--blue)); }
.lp-head h2 { font-size: 1.2rem; margin: 0; flex: 1 1 auto; min-width: 12rem; }
.lp-aud { color: var(--gray-dark); font-size: .9rem; margin: 0; flex-basis: 100%; }
.lp-steps { display: flex; gap: 0; padding: .3rem 1.3rem 1.4rem; overflow-x: auto; }
.lp-step { flex: 1 1 0; min-width: 172px; position: relative; padding: 0 .55rem; }
.lp-step:first-child { padding-left: 0; } .lp-step:last-child { padding-right: 0; }
.lp-step::before { content: ""; position: absolute; top: 15px; left: -.5rem; width: 1rem; height: 2px;
  background: linear-gradient(90deg, var(--line), var(--lp-hue, var(--blue))); opacity: .55; }
.lp-step:first-child::before { display: none; }
.lp-node { display: flex; align-items: center; gap: .5rem; margin-bottom: .55rem; }
.lp-num { width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font: 700 .82rem/1 var(--sans); color: #fff; background: var(--lp-hue, var(--blue)); font-variant-numeric: tabular-nums; }
.lp-lvl { font: 700 .62rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--lp-hue, var(--blue));
  border: 1px solid color-mix(in srgb, var(--lp-hue, var(--blue)) 40%, var(--line)); border-radius: 999px;
  padding: .3em .6em; background: color-mix(in srgb, var(--lp-hue, var(--blue)) 8%, transparent); }
.lp-ortag { font: 700 .58rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gray); margin-left: auto; }
.lp-card { display: block; text-decoration: none; color: var(--ink); border: 1px solid var(--line);
  border-radius: 10px; padding: .6rem .7rem; background: var(--paper); transition: border-color .15s, transform .15s, box-shadow .15s;
  height: calc(100% - 2.7rem); }
.lp-card:hover { border-color: var(--lp-hue, var(--blue)); transform: translateY(-2px); box-shadow: var(--shadow-1); }
.lp-c-title { font: 650 .86rem/1.28 var(--sans); }
.lp-c-brand { font-size: .7rem; color: var(--gray); margin-top: .35rem; font-weight: 600; }
.lp-altbox { display: flex; flex-direction: column; gap: .4rem; }
.lp-ordiv { display: flex; align-items: center; gap: .5rem; font: 700 .6rem/1 var(--sans); letter-spacing: .14em;
  text-transform: uppercase; color: var(--lp-hue, var(--blue)); }
.lp-ordiv::before, .lp-ordiv::after { content: ""; flex: 1; height: 1px;
  background: color-mix(in srgb, var(--lp-hue, var(--blue)) 35%, var(--line)); }
/* homepage "find your path" tiles */
.lp-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.lp-tile { display: flex; flex-direction: column; gap: .3rem; text-decoration: none; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--lp-hue, var(--blue));
  border-radius: 10px; padding: .85rem 1rem; transition: transform .15s, box-shadow .15s, border-color .15s; }
.lp-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-1); }
.lp-tile b { font-size: .96rem; }
.lp-tile span { font-size: .78rem; color: var(--gray-dark); }
.lp-tile .go { font-size: .75rem; font-weight: 700; color: var(--lp-hue, var(--blue)); margin-top: .2rem; }
@media (max-width: 900px) { .lp-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .lp-steps { flex-direction: column; gap: .7rem; }
  .lp-step { min-width: 0; padding: 0; } .lp-step::before { display: none; } .lp-card { height: auto; }
  .lp-tiles { grid-template-columns: 1fr; } }
