/* ============================================================
   SNHU Tutors, snhututors.com
   Design system "The Milestone Ladder", design gate draft.
   School theme colors: SNHU blue family (cobalt #1E4A8A, deep
   #16386E, navy ink #0F2A54) + yellow (#C99A2E, lifted to #F0BF4C
   for highlight duty). White base, cobalt sections, yellow highlights.
   Type: Hanken Grotesk (display) + Lora (body) + IBM Plex Mono
   (course-code chips only).
   Independent tutoring service. Not affiliated with Southern New
   Hampshire University.
   ============================================================ */

:root {
  /* SNHU school color family (extracted from the settled preceptor tokens) */
  --cobalt: #1E4A8A;
  --cobalt-deep: #16386E;
  --navy-ink: #0F2A54;
  --abyss: #0A1F42;
  --gold: #C99A2E;          /* text-safe yellow on white */
  --sun: #F0BF4C;           /* highlight yellow, same hue as the gold, lifted */
  --sun-deep: #E3AC2E;
  --sun-pale: #FBF1DA;
  --cobalt-tint: rgba(30, 74, 138, 0.07);
  --cobalt-line: rgba(30, 74, 138, 0.28);

  /* white base */
  --white: #FFFFFF;
  --ice: #EFF4FA;           /* cool tint band */
  --card: #FFFFFF;
  --head-ink: #0F2A54;      /* headings on white */
  --body-ink: #2A3B58;      /* body on white */
  --muted: #55647E;
  --faint: #8492AB;
  --line: #DFE6F0;
  --line-strong: #C3CEDF;

  /* on cobalt / navy sections */
  --text-on-blue: #F2F6FC;
  --muted-on-blue: #B9C9E4;
  --faint-on-blue: #8FA5CB;
  --card-on-blue: #275396;      /* raised card on cobalt */
  --card-on-navy: #16386E;      /* raised card on navy ink */
  --line-on-blue: rgba(242, 246, 252, 0.16);

  /* type stacks */
  --f-display: "Hanken Grotesk", "Segoe UI", Arial, sans-serif;
  --f-body: "Lora", Georgia, "Times New Roman", serif;
  --f-mono: "IBM Plex Mono", Consolas, monospace;

  --r-card: 16px;
  --r-btn: 11px;
  --shadow-1: 0 8px 26px rgba(15, 42, 84, 0.12);
  --shadow-2: 0 18px 54px rgba(15, 42, 84, 0.2);
  --maxw: 1180px;
}

* { 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;
  background: var(--white);
  color: var(--body-ink);
  font-family: var(--f-body);
  font-size: 16.5px;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* sleek themed scrollbars, sitewide */
html { scrollbar-width: thin; scrollbar-color: #C3CEDF var(--white); }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: var(--white); }
::-webkit-scrollbar-thumb { background: #C3CEDF; border-radius: 999px; border: 2px solid var(--white); }
::-webkit-scrollbar-thumb:hover { background: var(--cobalt); }

::selection { background: var(--sun); color: var(--navy-ink); }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 2px; border-radius: 4px; }
.sec-cobalt :focus-visible, .sec-sig :focus-visible, .sec-navy :focus-visible,
.trust-band :focus-visible, .final-cta :focus-visible, .site-foot :focus-visible { outline-color: var(--sun); }

img, svg { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 18px; } }

/* ---------- typography ---------- */
h1, h2, h3 { font-family: var(--f-display); color: var(--head-ink); line-height: 1.1; margin: 0 0 14px; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.15rem, 4.7vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.13rem; font-weight: 700; line-height: 1.3; }
p { margin: 0 0 14px; }

.eyebrow {
  font-family: var(--f-display);
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--cobalt);
  display: inline-block;
  margin-bottom: 13px;
}
.sec-cobalt .eyebrow, .sec-sig .eyebrow, .sec-navy .eyebrow, .final-cta .eyebrow { color: var(--sun); }

.lead { font-family: var(--f-body); font-size: 1.1rem; color: var(--muted); max-width: 62ch; }
.sec-cobalt .lead, .sec-sig .lead, .sec-navy .lead, .final-cta .lead { color: var(--muted-on-blue); }

/* mono course-code chip, the ONLY monospace surface on the site */
.code-chip {
  font-family: var(--f-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cobalt);
  background: var(--cobalt-tint);
  border: 1px solid var(--cobalt-line);
  border-radius: 8px;
  padding: 3px 9px;
  display: inline-block;
  white-space: nowrap;
}
.lad-card .code-chip { color: #FFD87A; background: rgba(240, 191, 76, 0.13); border-color: rgba(240, 191, 76, 0.4); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--f-display); font-weight: 700; font-size: 0.98rem;
  border-radius: var(--r-btn); padding: 13px 24px; cursor: pointer;
  text-decoration: none; border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
  min-height: 46px;
}
.btn:active { transform: translateY(1px); }
.btn-brand { background: var(--cobalt); color: #FFFFFF; }
.btn-brand:hover { background: var(--cobalt-deep); }
.btn-sun { background: var(--sun); color: var(--navy-ink); }
.btn-sun:hover { background: #F5CD6B; }
.btn-ink { background: var(--navy-ink); color: #FFFFFF; }
.btn-ink:hover { background: var(--cobalt-deep); }
.btn-ghost { background: transparent; color: var(--head-ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--cobalt); color: var(--cobalt); }
.on-blue .btn-ghost, .sec-cobalt .btn-ghost, .sec-sig .btn-ghost, .final-cta .btn-ghost { color: var(--text-on-blue); border-color: rgba(242, 246, 252, 0.34); }
.on-blue .btn-ghost:hover, .sec-cobalt .btn-ghost:hover, .sec-sig .btn-ghost:hover, .final-cta .btn-ghost:hover { border-color: var(--sun); color: var(--sun); }

.tlink { font-family: var(--f-display); font-weight: 700; font-size: 0.95rem; color: var(--cobalt); text-decoration: none; }
.tlink:hover { color: var(--cobalt-deep); text-decoration: underline; text-underline-offset: 3px; }
.sec-cobalt .tlink, .sec-navy .tlink { color: var(--sun); }

/* ============================================================
   HEADER, two decks: centered logo on top, links below
   ============================================================ */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}
.head-top { border-bottom: 1px solid var(--line); }
.head-top .wrap { display: flex; align-items: center; justify-content: center; height: 58px; position: relative; }

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand > span { line-height: 1.12; }
.brand-tile {
  width: 37px; height: 37px; border-radius: 10px; background: var(--cobalt);
  display: grid; place-items: center; font-family: var(--f-display); font-weight: 800;
  font-size: 1rem; color: #FFFFFF;
}
.brand-name { font-family: var(--f-display); font-weight: 800; font-size: 1.1rem; color: var(--head-ink); line-height: 1.05; }
.brand-sub { font-family: var(--f-display); font-size: 0.72rem; font-weight: 600; color: var(--faint); }

.head-nav { border-bottom: 1px solid var(--line); }
.head-nav .wrap { display: flex; align-items: center; justify-content: center; height: 50px; position: relative; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-family: var(--f-display); font-size: 0.94rem; font-weight: 600;
  text-decoration: none; color: var(--muted); padding: 12px 13px; border-radius: 8px; position: relative;
}
.nav-links a span { position: relative; z-index: 1; }
.nav-links a::after {
  /* yellow marker sweep hover, the nav's signature indicator */
  content: ""; position: absolute; left: 9px; right: 9px; bottom: 10px; height: 9px;
  background: var(--sun); opacity: 0; transform: scaleX(0.35); transform-origin: left;
  transition: transform .18s ease, opacity .18s ease; z-index: 0; border-radius: 2px;
}
.nav-links a:hover { color: var(--head-ink); }
.nav-links a:hover::after { opacity: 0.55; transform: scaleX(1); }

.head-cta { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); padding: 9px 18px; min-height: 40px; font-size: 0.9rem; }
.head-cta:active { transform: translateY(calc(-50% + 1px)); }
.nav-burger {
  display: none; background: none; border: 1px solid var(--line-strong); border-radius: 9px;
  width: 44px; height: 44px; cursor: pointer; color: var(--head-ink); font-size: 1.1rem;
  position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
}
@media (max-width: 940px) {
  .head-nav { display: none; }
  .head-top .wrap { height: 60px; justify-content: flex-start; }
  .nav-burger { display: grid; place-items: center; }
  .site-head.menu-open .head-nav { display: block; border-bottom: 1px solid var(--line); }
  .site-head.menu-open .head-nav .wrap { height: auto; }
  .site-head.menu-open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; width: 100%;
    background: var(--white); padding: 10px 0 16px; gap: 2px;
  }
  .site-head.menu-open .nav-links a { padding: 13px 10px; }
  .site-head.menu-open .head-cta { position: static; transform: none; margin: 10px 10px 0; display: inline-flex; }
  .head-cta { display: none; }
}

/* anchor targets clear the two-deck sticky header */
section[id] { scroll-margin-top: 122px; }

/* ============================================================
   HERO (white, ladder card right)
   ============================================================ */
.hero { padding: 74px 0 70px; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(680px 400px at 88% 4%, rgba(30, 74, 138, 0.06), transparent 62%),
    radial-gradient(520px 360px at 2% 96%, rgba(240, 191, 76, 0.1), transparent 60%);
  pointer-events: none;
}
.hero .wrap { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 54px; align-items: center; position: relative; }
@media (max-width: 940px) { .hero .wrap { grid-template-columns: 1fr; gap: 40px; } .hero { padding: 48px 0 54px; } }

.hero h1 .mark { position: relative; white-space: nowrap; }
.hero h1 .mark::after {
  content: ""; position: absolute; left: -3px; right: -5px; bottom: 0.1em; height: 0.36em;
  background: var(--sun); opacity: 0.55; z-index: -1; border-radius: 3px;
}
@media (max-width: 560px) { .hero h1 .mark { white-space: normal; } }
.hero-sub { font-size: 1.12rem; color: var(--muted); max-width: 54ch; margin-bottom: 26px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-points { display: flex; flex-direction: column; gap: 9px; padding: 0; margin: 0; list-style: none; }
.hero-points li { display: flex; gap: 11px; align-items: baseline; color: var(--muted); font-size: 0.96rem; }
.hero-points li::before { content: "\2713"; font-family: var(--f-display); color: var(--gold); font-weight: 800; }

/* the interactive Milestone Ladder card (cobalt, on the white hero) */
.lad-card {
  background: linear-gradient(165deg, var(--cobalt) 0%, var(--navy-ink) 100%);
  border: 1px solid var(--cobalt-deep); border-radius: var(--r-card);
  box-shadow: var(--shadow-2); overflow: hidden; color: var(--text-on-blue);
}
.lad-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  padding: 15px 18px; border-bottom: 1px solid var(--line-on-blue);
}
.lad-title { font-family: var(--f-display); font-size: 0.92rem; font-weight: 700; color: var(--muted-on-blue); }
.lad-rungs { padding: 10px 12px 6px; display: flex; flex-direction: column; gap: 4px; }
.rung {
  display: flex; align-items: center; gap: 13px; width: 100%; text-align: left;
  background: transparent; border: 1px solid transparent; border-radius: 12px;
  padding: 10px 10px; min-height: 52px; cursor: pointer; color: var(--faint-on-blue);
  font-family: var(--f-display); transition: background .15s ease, border-color .15s ease;
}
.rung:hover { background: rgba(242, 246, 252, 0.06); }
.rung-disc {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 999px;
  border: 2px solid var(--faint-on-blue); color: var(--faint-on-blue);
  display: grid; place-items: center; font-weight: 800; font-size: 0.88rem;
  transition: all .15s ease;
}
.rung-name { font-weight: 700; font-size: 0.98rem; }
.rung-mod {
  margin-left: auto; font-size: 0.78rem; font-weight: 600; color: var(--faint-on-blue);
  border: 1px solid var(--line-on-blue); border-radius: 999px; padding: 3px 11px; white-space: nowrap;
}
.rung.done { color: var(--text-on-blue); }
.rung.done .rung-disc { background: var(--sun); border-color: var(--sun); color: var(--navy-ink); }
.rung.here { background: rgba(240, 191, 76, 0.1); border-color: rgba(240, 191, 76, 0.45); color: #FFFFFF; }
.rung.here .rung-disc { border-color: var(--sun); color: var(--sun); }
.rung.here .rung-mod { border-color: rgba(240, 191, 76, 0.5); color: var(--sun); }
.lad-plan {
  margin: 8px 18px 14px; padding: 12px 14px; border-radius: 12px;
  background: rgba(240, 191, 76, 0.1); border: 1px solid rgba(240, 191, 76, 0.32);
  font-size: 0.88rem; color: #EDE4CE; font-family: var(--f-body);
}
.lad-plan b { color: var(--sun); font-weight: 700; }
.lad-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  padding: 13px 18px; background: rgba(10, 31, 66, 0.5);
}
.lad-score { font-family: var(--f-display); font-size: 0.86rem; color: var(--muted-on-blue); }
.lad-score b { color: var(--sun); font-weight: 800; }
.lad-note { padding: 0 18px 16px; font-size: 0.8rem; color: var(--faint-on-blue); font-family: var(--f-body); }

/* ============================================================
   TRUST BAND (cobalt)
   ============================================================ */
.trust-band { background: var(--cobalt); color: #FFFFFF; padding: 26px 0; }
.trust-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.trust-cell { display: flex; flex-direction: column; gap: 2px; min-width: 150px; }
.trust-num { font-family: var(--f-display); font-weight: 800; font-size: 1.7rem; line-height: 1; }
.trust-label { font-family: var(--f-display); font-size: 0.82rem; font-weight: 600; opacity: 0.85; }
.trust-stars { font-size: 0.95rem; color: var(--sun); }

/* ============================================================
   SECTIONS
   ============================================================ */
.sec { padding: 88px 0; }
.sec-cobalt { background: var(--cobalt); color: var(--text-on-blue); }
.sec-cobalt h2, .sec-cobalt h3 { color: var(--text-on-blue); }
.sec-navy { background: var(--navy-ink); color: var(--text-on-blue); }
.sec-navy h2, .sec-navy h3 { color: var(--text-on-blue); }
.sec-ice { background: var(--ice); }
.sec-sig { background: linear-gradient(160deg, var(--cobalt-deep) 0%, var(--abyss) 100%); color: var(--text-on-blue); }
.sec-sig h2, .sec-sig h3 { color: var(--text-on-blue); }
.sec-head { max-width: 730px; margin-bottom: 44px; }
@media (max-width: 640px) { .sec { padding: 60px 0; } .sec-head { margin-bottom: 32px; } }

/* ============================================================
   PROGRAM GRID (white, before the model explainer)
   ============================================================ */
.prog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1020px) { .prog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .prog-grid { grid-template-columns: 1fr; } }
.prog {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 22px 20px 18px; text-decoration: none; display: flex; flex-direction: column; gap: 8px;
  box-shadow: 0 3px 14px rgba(15, 42, 84, 0.05);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.prog:hover { border-color: var(--cobalt-line); transform: translateY(-3px); box-shadow: var(--shadow-1); }
.prog h3 { margin: 0; font-size: 1.04rem; }
.prog p { color: var(--muted); font-size: 0.9rem; margin: 0; }
.prog-go { font-family: var(--f-display); font-size: 0.88rem; font-weight: 700; color: var(--cobalt); margin-top: auto; padding-top: 6px; }
.prog:hover .prog-go { color: var(--cobalt-deep); }

/* ============================================================
   MODEL EXPLAINER (cobalt, single pathway, no toggle)
   ============================================================ */
.model-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 940px) { .model-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .model-grid { grid-template-columns: 1fr; } }
.mcell { background: var(--card-on-blue); border: 1px solid var(--line-on-blue); border-radius: 14px; padding: 20px 18px; }
.mcell-k { font-family: var(--f-display); font-size: 0.88rem; font-weight: 800; color: var(--sun); margin-bottom: 8px; }
.mcell-v { font-size: 0.93rem; color: var(--text-on-blue); }
.mcell-v b { font-weight: 700; color: #FFFFFF; }
.model-note { margin-top: 22px; font-size: 0.92rem; color: var(--muted-on-blue); max-width: 76ch; }

/* ============================================================
   SERVICES GRID (ice)
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 940px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } }
.svc {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 24px 22px 20px; text-decoration: none; display: flex; flex-direction: column; gap: 10px;
  box-shadow: 0 3px 14px rgba(15, 42, 84, 0.05);
  transition: border-color .18s ease, transform .18s ease;
}
.svc:hover { border-color: var(--cobalt-line); transform: translateY(-3px); }
.svc-ico {
  width: 42px; height: 42px; border-radius: 11px; background: var(--sun-pale);
  border: 1px solid rgba(201, 154, 46, 0.4); display: grid; place-items: center; color: var(--gold);
}
.svc p { color: var(--muted); font-size: 0.93rem; margin: 0; }
.svc-go { font-family: var(--f-display); font-size: 0.9rem; font-weight: 700; color: var(--cobalt); margin-top: auto; }
.svc:hover .svc-go { color: var(--cobalt-deep); }

/* ============================================================
   THE LADDER PLANNER (signature device, deep cobalt)
   ============================================================ */
.plan-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-2); overflow: hidden; color: var(--body-ink);
}
.plan-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; }
@media (max-width: 880px) { .plan-grid { grid-template-columns: 1fr; } }
.plan-controls { padding: 34px 34px 30px; }
@media (max-width: 640px) { .plan-controls { padding: 26px 20px 24px; } }
.ctl { margin-bottom: 24px; }
.ctl-label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-family: var(--f-display); font-weight: 700; font-size: 0.95rem; margin-bottom: 10px; color: var(--head-ink); }
.ctl-label output { font-family: var(--f-display); font-weight: 800; color: var(--cobalt); font-size: 1.05rem; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg button {
  border: 1px solid var(--line-strong); background: #FFFFFF; border-radius: 10px; padding: 10px 18px;
  font-family: var(--f-display); font-weight: 700; font-size: 0.92rem; color: var(--muted);
  cursor: pointer; transition: all .15s ease; min-height: 44px; min-width: 52px;
}
.seg button.is-on { background: var(--cobalt); border-color: var(--cobalt); color: #FFFFFF; }

input[type="range"] { width: 100%; accent-color: var(--cobalt); height: 44px; margin: 0; }

.plan-how h3 { font-size: 1rem; margin: 4px 0 12px; color: var(--head-ink); }
.plan-how ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.plan-how li { display: flex; gap: 11px; align-items: baseline; color: var(--muted); font-size: 0.92rem; }
.plan-how li::before { content: "\2713"; font-family: var(--f-display); color: var(--gold); font-weight: 800; }

.plan-result {
  background: linear-gradient(155deg, var(--cobalt), var(--navy-ink)); color: #FFFFFF;
  padding: 34px 34px 30px; display: flex; flex-direction: column; gap: 4px;
}
@media (max-width: 640px) { .plan-result { padding: 26px 20px 24px; } }
.po-row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.po-row:last-of-type { border-bottom: none; }
.po-k { font-family: var(--f-display); font-size: 0.86rem; font-weight: 600; color: rgba(255, 255, 255, 0.8); flex-shrink: 0; }
.po-v { font-family: var(--f-display); font-weight: 800; font-size: 1.06rem; text-align: right; }
.po-v.hl { color: var(--sun); }
.plan-note { margin-top: 14px; font-size: 0.78rem; color: rgba(255, 255, 255, 0.74); line-height: 1.6; }

/* ============================================================
   SUPPORT VS DOING IT ALONE (white ledger)
   ============================================================ */
.ledger { border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; box-shadow: 0 3px 14px rgba(15, 42, 84, 0.05); background: var(--card); }
.ledger-row { display: grid; grid-template-columns: 1fr 1.15fr 1.15fr; gap: 0; border-bottom: 1px solid var(--line); }
.ledger-row:last-child { border-bottom: none; }
.ledger-head { background: var(--ice); }
.ledger-head .ledger-cell { font-family: var(--f-display); font-weight: 800; font-size: 0.9rem; color: var(--head-ink); }
.ledger-cell { padding: 18px 20px; font-size: 0.92rem; }
.ledger-cell.moment { font-family: var(--f-display); font-weight: 700; color: var(--head-ink); font-size: 0.95rem; }
.ledger-cell.alone { color: var(--muted); }
.ledger-cell.us { background: var(--cobalt-tint); color: var(--body-ink); }
.ledger-cell.us b { color: var(--cobalt-deep); }
.ledger-tag { display: none; font-family: var(--f-display); font-weight: 800; font-size: 0.78rem; color: var(--faint); margin-right: 6px; }
.ledger-cell.us .ledger-tag { color: var(--cobalt); }
@media (max-width: 760px) {
  .ledger-row { grid-template-columns: 1fr; }
  .ledger-head { display: none; }
  .ledger-cell { padding: 12px 18px; }
  .ledger-cell.moment { padding-top: 18px; }
  .ledger-cell.us { padding-bottom: 18px; }
  .ledger-tag { display: inline; }
}
.ledger-note { margin-top: 20px; font-size: 0.85rem; color: var(--muted); max-width: 76ch; }

/* ============================================================
   MOMENTUM (expedite reframed, ice)
   ============================================================ */
.mo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 880px) { .mo-grid { grid-template-columns: 1fr; } }
.mo {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 26px 24px 22px; box-shadow: 0 3px 14px rgba(15, 42, 84, 0.05);
}
.mo-num { font-family: var(--f-display); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--cobalt); }
.mo-num small { font-size: 1.05rem; font-weight: 700; color: var(--gold); margin-left: 6px; }
.mo h3 { font-size: 1.02rem; margin: 10px 0 6px; }
.mo p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.mo-honest { margin-top: 24px; font-size: 0.95rem; color: var(--muted); max-width: 76ch; }
.mo-honest b { color: var(--head-ink); }

/* ============================================================
   TUITION, published rates only (white)
   ============================================================ */
.rate-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 26px; }
@media (max-width: 940px) { .rate-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .rate-grid { grid-template-columns: 1fr; } }
.rate { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px 18px; box-shadow: 0 3px 14px rgba(15, 42, 84, 0.05); }
.rate-v { font-family: var(--f-display); font-weight: 800; font-size: 1.55rem; color: var(--head-ink); line-height: 1.1; }
.rate-k { font-family: var(--f-display); font-weight: 700; font-size: 0.88rem; color: var(--cobalt); margin: 6px 0 4px; }
.rate p { color: var(--muted); font-size: 0.86rem; margin: 0; }

.rate-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 920px; }
@media (max-width: 760px) { .rate-vs { grid-template-columns: 1fr; } }
.rv-cell { border-radius: 14px; padding: 22px 22px 18px; font-size: 0.95rem; }
.rv-cell h3 { font-size: 1rem; margin-bottom: 8px; }
.rv-alone { background: var(--ice); border: 1px solid var(--line); color: var(--muted); }
.rv-us { background: linear-gradient(155deg, var(--cobalt), var(--navy-ink)); color: rgba(255, 255, 255, 0.9); }
.rv-us h3 { color: #FFFFFF; }
.rv-us b { color: var(--sun); }
.rate-note { margin-top: 20px; font-size: 0.8rem; color: var(--muted); max-width: 80ch; line-height: 1.6; }

/* ============================================================
   COURSE RAIL (ice)
   ============================================================ */
.rail-wrap { position: relative; }
.rail {
  display: flex; gap: 14px; overflow-x: auto; padding: 6px 4px 18px;
  scroll-snap-type: x mandatory; scrollbar-width: thin;
}
.rail::-webkit-scrollbar { height: 8px; }
.course-card {
  min-width: 248px; max-width: 248px; scroll-snap-align: start;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 17px 15px; text-decoration: none; display: flex; flex-direction: column; gap: 9px;
  transition: border-color .18s ease, box-shadow .18s ease; box-shadow: 0 3px 14px rgba(15, 42, 84, 0.05);
}
.course-card:hover { border-color: var(--cobalt-line); box-shadow: 0 8px 24px rgba(30, 74, 138, 0.14); }
.course-card h3 { font-size: 0.97rem; margin: 0; color: var(--head-ink); }
.course-card .cc-meta { font-family: var(--f-display); font-size: 0.8rem; font-weight: 600; color: var(--faint); }
.rail-hint { font-family: var(--f-display); font-size: 0.84rem; font-weight: 600; color: var(--faint); margin-top: 4px; }

/* ============================================================
   HOW IT WORKS (white)
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
@media (max-width: 940px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px 21px; box-shadow: 0 3px 14px rgba(15, 42, 84, 0.05); }
.step::before {
  counter-increment: step; content: counter(step);
  font-family: var(--f-display); font-weight: 800; font-size: 0.92rem; color: var(--navy-ink);
  width: 31px; height: 31px; border-radius: 999px; display: grid; place-items: center;
  margin-bottom: 14px; background: var(--sun);
}
.step p { color: var(--muted); font-size: 0.93rem; margin: 0; }

/* ============================================================
   TEAM OF EIGHT (cobalt)
   ============================================================ */
.role-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 940px) { .role-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .role-grid { grid-template-columns: 1fr; } }
.role { background: var(--card-on-blue); border: 1px solid var(--line-on-blue); border-radius: var(--r-card); padding: 20px 18px; }
.role-n {
  width: 30px; height: 30px; border-radius: 999px; background: var(--sun); color: var(--navy-ink);
  font-family: var(--f-display); font-weight: 800; font-size: 0.92rem; display: grid; place-items: center;
  margin-bottom: 12px;
}
.role h3 { font-size: 1rem; margin-bottom: 6px; }
.role p { color: var(--muted-on-blue); font-size: 0.88rem; margin: 0; }
.pipe-note { margin-top: 24px; color: var(--muted-on-blue); font-size: 0.97rem; max-width: 70ch; }
.pipe-note b { color: var(--sun); }

/* ============================================================
   VIRTUAL PRACTICUM (white, duo)
   ============================================================ */
.duo { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
@media (max-width: 880px) { .duo { grid-template-columns: 1fr; gap: 30px; } }
.check-list {
  margin: 0; padding: 26px; list-style: none;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: 0 3px 14px rgba(15, 42, 84, 0.05); display: flex; flex-direction: column; gap: 13px;
}
.check-list li { display: flex; gap: 12px; align-items: baseline; font-size: 0.97rem; color: var(--body-ink); }
.check-list li::before { content: "\2713"; color: var(--gold); font-weight: 800; font-family: var(--f-display); }

/* ============================================================
   SAMPLE BAND (yellow highlight band)
   ============================================================ */
.sample-band { background: linear-gradient(135deg, var(--sun), var(--sun-deep)); color: var(--navy-ink); padding: 66px 0; }
.sample-band .wrap { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }
@media (max-width: 880px) { .sample-band .wrap { grid-template-columns: 1fr; } }
.sample-band h2 { color: var(--navy-ink); }
.sample-band p { color: rgba(15, 42, 84, 0.82); max-width: 56ch; }
.band-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
@media (min-width: 881px) { .band-cta { align-items: flex-end; } }
.band-link { color: var(--navy-ink); font-family: var(--f-display); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.band-link:hover { color: var(--cobalt-deep); }

/* ============================================================
   REVIEWS (navy)
   ============================================================ */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 940px) { .quotes { grid-template-columns: 1fr; } }
.quote {
  background: var(--card-on-navy); border: 1px solid var(--line-on-blue);
  border-radius: 14px; padding: 24px 22px; display: flex; flex-direction: column; gap: 14px;
}
.quote p { color: var(--text-on-blue); font-size: 0.97rem; margin: 0; }
.quote footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.quote cite { font-style: normal; font-family: var(--f-display); font-weight: 700; font-size: 0.85rem; color: var(--muted-on-blue); }
.quote .stars { color: var(--sun); font-size: 0.84rem; }
.more-link { color: var(--sun); font-family: var(--f-display); font-weight: 700; text-decoration: none; }
.more-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   FAQ (white)
   ============================================================ */
.faq-list { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 18px;
  align-items: baseline; padding: 21px 2px; font-family: var(--f-display); font-weight: 700; font-size: 1.04rem;
  color: var(--head-ink); min-height: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--f-display); color: var(--gold); font-weight: 800; font-size: 1.15rem; }
.faq-item[open] summary::after { content: "\00d7"; }
.faq-item .faq-a { padding: 0 2px 22px; color: var(--muted); max-width: 70ch; }

/* ============================================================
   FINAL CTA (cobalt) + FOOTER (abyss)
   ============================================================ */
.final-cta { text-align: center; padding: 96px 0; background: var(--cobalt); color: var(--text-on-blue); }
.final-cta h2 { color: #FFFFFF; }
.final-cta .lead { margin: 0 auto 30px; }

.site-foot { background: var(--abyss); padding: 62px 0 34px; color: var(--text-on-blue); }
.site-foot .brand-name { color: var(--text-on-blue); }
.site-foot .brand-tile { background: var(--sun); color: var(--navy-ink); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 36px; margin-bottom: 38px; border-bottom: 1px solid rgba(242, 246, 252, 0.14); padding-bottom: 38px; }
@media (max-width: 940px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-col h4 { font-family: var(--f-display); font-size: 0.92rem; font-weight: 800; color: #D6E1F2; margin: 0 0 16px; }
.foot-col a { display: block; color: var(--muted-on-blue); text-decoration: none; font-size: 0.92rem; padding: 5px 0; }
.foot-col a:hover { color: var(--sun); }
.foot-about { color: var(--muted-on-blue); font-size: 0.9rem; max-width: 34ch; }
.foot-note { color: var(--muted-on-blue); font-size: 0.9rem; margin-bottom: 4px; }

.news-form { display: flex; gap: 8px; margin-top: 14px; }
.news-form input {
  flex: 1; min-width: 0; background: var(--navy-ink); border: 1px solid rgba(242, 246, 252, 0.2); border-radius: 10px;
  color: var(--text-on-blue); padding: 12px 14px; font-size: 16px; font-family: var(--f-display);
}
.news-form input::placeholder { color: var(--faint-on-blue); }
.news-form button { flex-shrink: 0; }
.news-done { color: var(--sun); font-family: var(--f-display); font-size: 0.88rem; margin-top: 10px; display: none; }
.news-wrap.is-sent .news-form { display: none; }
.news-wrap.is-sent .news-done { display: block; }

.foot-legal { display: flex; flex-direction: column; gap: 12px; }
.foot-disclaimer { color: var(--faint-on-blue); font-size: 0.8rem; max-width: 90ch; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--faint-on-blue); font-family: var(--f-display); font-size: 0.8rem; }
.foot-base a { color: var(--muted-on-blue); text-decoration: none; }
.foot-base a:hover { color: var(--sun); }

/* ============================================================
   MANUAL / ARTICLE PRIMITIVES (course, program, guide pages)
   ============================================================ */
.crumbs { font-family: var(--f-display); font-size: 0.84rem; font-weight: 600; color: var(--muted); padding: 20px 0 0; display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--cobalt); }
.crumbs .sep { color: var(--faint); }

.article-hero { padding: 26px 0 6px; }
.article-hero h1 { font-size: clamp(1.85rem, 3.6vw, 2.6rem); }
.article { max-width: 820px; padding-bottom: 46px; }
.article h2 { margin: 46px 0 14px; font-size: 1.5rem; scroll-margin-top: 130px; }
.article h3 { margin: 26px 0 10px; font-size: 1.08rem; }
.article ul { padding-left: 22px; }
.article li { margin-bottom: 7px; }

.answer-box {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 22px 24px; box-shadow: 0 3px 14px rgba(15, 42, 84, 0.05); margin: 12px 0 6px;
}
.answer-box .ab-label { font-family: var(--f-display); font-weight: 800; color: var(--cobalt); font-size: 0.92rem; display: block; margin-bottom: 8px; }
.answer-box p { margin: 0; }

.table-wrap { overflow-x: auto; }
.man-table { width: 100%; border-collapse: collapse; margin: 16px 0; background: var(--card); border: 1px solid var(--line); font-size: 0.94rem; }
.man-table th, .man-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.man-table th { font-family: var(--f-display); font-weight: 800; font-size: 0.88rem; background: var(--ice); color: var(--head-ink); }
.man-table tr:last-child td { border-bottom: none; }

.checklist { list-style: none; padding: 0; margin: 16px 0; display: flex; flex-direction: column; gap: 9px; }
.checklist li { display: flex; gap: 11px; align-items: baseline; margin: 0; }
.checklist li::before { content: "\2713"; color: var(--gold); font-weight: 800; font-family: var(--f-display); }

/* ============================================================
   WIDGETS: seasonal offer modal
   ============================================================ */
.ob-modal-backdrop {
  display: none; position: fixed; inset: 0; z-index: 90;
  background: rgba(10, 31, 66, 0.66); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 20px;
}
.ob-modal-backdrop.is-open { display: flex; }
.ob-modal {
  width: 100%; max-width: 470px; background: #FFFFFF; color: var(--body-ink);
  border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-2); position: relative;
}
.ob-close {
  position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 999px;
  border: none; background: rgba(255, 255, 255, 0.16); color: #FFFFFF; font-size: 1rem; cursor: pointer;
}
/* modal masthead = the milestone stepper mini (this site's registered header treatment) */
.ob-mast { background: linear-gradient(160deg, var(--cobalt), var(--navy-ink)); color: var(--text-on-blue); padding: 20px 22px 18px; }
.ob-mast-brand { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.ob-mast-brand .brand-tile { width: 30px; height: 30px; border-radius: 8px; font-size: 0.82rem; }
.ob-mast-brand span { font-family: var(--f-display); font-weight: 800; font-size: 0.95rem; }
.ob-step { border: 1px solid var(--line-on-blue); border-radius: 12px; padding: 12px 14px; }
.ob-step-t { font-family: var(--f-display); font-size: 0.82rem; font-weight: 700; color: var(--muted-on-blue); margin-bottom: 9px; }
.ob-step-chips { display: flex; gap: 7px; flex-wrap: wrap; }
.mschip {
  font-family: var(--f-display); font-size: 0.8rem; font-weight: 700;
  border: 1px solid var(--line-on-blue); color: var(--muted-on-blue);
  border-radius: 999px; padding: 4px 13px;
}
.mschip.is-lit { background: var(--sun); border-color: var(--sun); color: var(--navy-ink); }
.ob-body { padding: 22px; }
.ob-season { font-family: var(--f-display); font-size: 0.88rem; font-weight: 800; color: var(--gold); margin-bottom: 8px; }
.ob-body h3 { font-size: 1.35rem; margin-bottom: 6px; }
.ob-body .ob-sub { color: var(--muted); font-size: 0.92rem; margin-bottom: 16px; }
.ob-form { display: flex; flex-direction: column; gap: 10px; }
.ob-form input {
  background: #FFFFFF; border: 1px solid var(--line-strong); border-radius: 10px; padding: 13px 14px;
  font-size: 16px; font-family: var(--f-display); color: var(--body-ink); width: 100%;
}
.ob-form .hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.ob-fine { font-size: 0.72rem; color: var(--faint); margin-top: 10px; }
.ob-thanks { display: none; padding: 8px 0 4px; color: var(--cobalt); font-family: var(--f-display); font-weight: 700; }
.ob-body.is-sent .ob-form { display: none; }
.ob-body.is-sent .ob-thanks { display: block; }
@media (max-width: 560px) {
  .ob-modal { max-width: 100%; }
  .ob-mast { padding: 16px 16px 14px; }
  .ob-body { padding: 16px; }
}

/* ============================================================
   WIDGETS: direct-text dock (LEFT) + live chat (RIGHT)
   ============================================================ */
.dock-left { position: fixed; left: 18px; bottom: 18px; z-index: 70; display: flex; flex-direction: column; gap: 10px; }
.dock-btn {
  width: 52px; height: 52px; border-radius: 999px; display: grid; place-items: center;
  border: none; cursor: pointer; box-shadow: var(--shadow-1); color: #fff;
}
.dock-wa { background: #25D366; color: #fff; }
.dock-sms { background: var(--cobalt); }
.dock-btn svg { width: 25px; height: 25px; }

.chat-launch {
  position: fixed; right: 18px; bottom: 18px; z-index: 70;
  width: 60px; height: 60px; border-radius: 999px; border: 2px solid var(--sun);
  padding: 0; cursor: pointer; overflow: hidden; background: #FFFFFF; box-shadow: var(--shadow-1);
}
.chat-launch img, .chat-launch svg { width: 100%; height: 100%; }
.chat-badge {
  position: absolute; top: -2px; right: -2px; width: 15px; height: 15px; border-radius: 999px;
  background: var(--cobalt); border: 2px solid #FFFFFF;
}
.chat-nudge {
  position: fixed; right: 88px; bottom: 30px; z-index: 70; max-width: 230px;
  background: #FFFFFF; color: var(--body-ink); border-radius: 14px 14px 3px 14px;
  padding: 12px 14px; font-family: var(--f-display); font-size: 0.86rem; box-shadow: var(--shadow-2); display: none; cursor: pointer;
  border: 1px solid var(--line);
}
.chat-nudge.is-on { display: block; }

.chat-panel {
  position: fixed; right: 18px; bottom: 90px; z-index: 80;
  width: 372px; max-width: calc(100vw - 36px); height: clamp(460px, 72vh, 580px);
  background: #FFFFFF; color: var(--body-ink);
  border-radius: 18px; box-shadow: var(--shadow-2); overflow: hidden;
  display: none; flex-direction: column;
}
.chat-panel.is-open { display: flex; }
.chat-head { background: linear-gradient(160deg, var(--cobalt), var(--navy-ink)); color: var(--text-on-blue); padding: 14px 16px; display: flex; align-items: center; gap: 12px; }
.chat-face { width: 42px; height: 42px; border-radius: 999px; overflow: hidden; border: 2px solid var(--sun); flex-shrink: 0; }
.chat-face svg { width: 100%; height: 100%; }
.chat-who { line-height: 1.25; min-width: 0; font-family: var(--f-display); }
.chat-who b { font-size: 0.95rem; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-who span { font-size: 0.74rem; color: var(--muted-on-blue); }
.chat-status { margin-left: auto; display: flex; align-items: center; gap: 6px; font-family: var(--f-display); font-size: 0.7rem; color: var(--muted-on-blue); flex-shrink: 0; }
.chat-status i { width: 8px; height: 8px; border-radius: 999px; background: #4CC97B; display: inline-block; }
.chat-back { display: none; background: none; border: none; color: var(--text-on-blue); font-size: 1.2rem; cursor: pointer; padding: 4px 8px 4px 0; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--ice); border-bottom: 1px solid var(--line); }
.msg { max-width: 82%; padding: 10px 13px; border-radius: 13px; font-size: 0.92rem; line-height: 1.45; }
.msg-in { background: #FFFFFF; border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg-out { background: var(--cobalt); color: #FFFFFF; border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-compose { display: flex; gap: 8px; padding: 12px; background: #FFFFFF; }
.chat-compose input {
  flex: 1; min-width: 0; border: 1px solid var(--line-strong); border-radius: 999px; padding: 11px 16px;
  font-size: 16px; font-family: var(--f-display); background: #fff; color: var(--body-ink);
}
.chat-compose button {
  width: 44px; height: 44px; border-radius: 999px; border: none; background: var(--cobalt);
  color: #FFFFFF; cursor: pointer; display: grid; place-items: center; flex-shrink: 0;
}
.chat-compose button:hover { background: var(--cobalt-deep); }
@media (max-width: 640px) {
  .chat-panel.is-open {
    inset: 0; width: 100%; max-width: 100%; height: 100dvh; border-radius: 0; bottom: 0;
  }
  .chat-back { display: inline-block; }
  body.chat-open .dock-left, body.chat-open .chat-launch, body.chat-open .chat-nudge { display: none; }
}

/* ============================================================
   ARTICLE / MANUAL PAGES (content layer, white base)
   ============================================================ */
.crumbs { font-size: 0.84rem; color: var(--muted); padding: 20px 0 0; display: flex; flex-wrap: wrap; gap: 7px; align-items: center; font-family: var(--f-display); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--cobalt); }
.crumbs .sep { color: var(--faint); }

.article-hero { padding: 26px 0 6px; }
.article-hero h1 { font-size: clamp(1.85rem, 3.6vw, 2.6rem); }
.article-meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 14px 0 4px; }
.badge-verify { background: var(--ice); border: 1px solid var(--line); border-radius: 999px; padding: 4px 13px; font-size: 0.8rem; font-weight: 600; color: var(--body-ink); font-family: var(--f-display); }

.article { max-width: 820px; padding-bottom: 46px; }
.article h2 { margin: 46px 0 14px; font-size: 1.5rem; scroll-margin-top: 90px; }
.article h3 { margin: 26px 0 10px; font-size: 1.08rem; }
.article ul { padding-left: 22px; }
.article li { margin-bottom: 7px; }

.answer-box { background: var(--ice); color: var(--body-ink); border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px 24px; margin: 12px 0 6px; }
.answer-box .ab-label { font-family: var(--f-display); font-weight: 700; color: var(--cobalt); font-size: 0.92rem; display: block; margin-bottom: 8px; }
.answer-box p { margin: 0; }

.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 4px; }
.toc a { font-family: var(--f-display); font-size: 0.84rem; font-weight: 600; color: var(--body-ink); background: var(--card); border: 1px solid var(--line-strong); border-radius: 999px; padding: 7px 14px; text-decoration: none; }
.toc a:hover, .toc a.is-on { color: var(--cobalt); border-color: var(--cobalt); }

.table-wrap { overflow-x: auto; }
.man-table { width: 100%; border-collapse: collapse; margin: 16px 0; background: var(--card); border: 1px solid var(--line); font-size: 0.94rem; }
.man-table th, .man-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.man-table th { font-family: var(--f-display); font-weight: 700; font-size: 0.88rem; background: var(--ice); }
.man-table tr:last-child td { border-bottom: none; }

.steps-list { counter-reset: mstep; list-style: none; margin: 18px 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.steps-list > li { position: relative; padding-left: 46px; margin: 0; }
.steps-list > li::before { counter-increment: mstep; content: counter(mstep); position: absolute; left: 0; top: 1px; width: 30px; height: 30px; border-radius: 999px; background: var(--sun); color: var(--navy-ink); font-family: var(--f-display); font-weight: 700; font-size: 0.92rem; display: grid; place-items: center; }
.steps-list h3 { margin: 0 0 6px; }
.steps-list p { margin: 0; color: var(--muted); }

.checklist { list-style: none; padding: 0; margin: 16px 0; display: flex; flex-direction: column; gap: 9px; }
.checklist li { display: flex; gap: 11px; align-items: baseline; margin: 0; }
.checklist li::before { content: "\2713"; color: var(--cobalt); font-weight: 700; font-family: var(--f-display); }

.svc-strip { background: var(--navy-ink); color: var(--text-on-blue); border-radius: var(--r-card); padding: 28px; margin: 38px 0; display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 26px; align-items: center; box-shadow: var(--shadow-2); }
@media (max-width: 700px) { .svc-strip { grid-template-columns: 1fr; } }
.svc-strip h3 { color: var(--text-on-blue); font-size: 1.3rem; margin: 0 0 8px; }
.svc-strip p { color: var(--muted-on-blue); margin: 0; font-size: 0.95rem; }
.svc-strip .btns { display: flex; flex-direction: column; gap: 10px; }
.svc-strip .btn-sun { background: var(--sun); color: var(--navy-ink); }
.svc-strip .btn-ghost { color: var(--text-on-blue); border-color: rgba(242, 246, 252, 0.34); }
.svc-strip .btn-ghost:hover { border-color: var(--sun); color: var(--sun); }

.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 12px; }
@media (max-width: 880px) { .related { grid-template-columns: 1fr; } }
.related a { background: var(--card); border: 1px solid var(--line-strong); border-radius: 12px; padding: 16px; text-decoration: none; font-weight: 600; font-size: 0.93rem; color: var(--head-ink); font-family: var(--f-display); }
.related a:hover { border-color: var(--cobalt); color: var(--cobalt); }


/* brand-mark v2: standalone marks, no box */
svg.brand-tile { background: none !important; border: none !important; border-radius: 0 !important; box-shadow: none !important; padding: 0 !important; display: inline-block; }


/* image-program figures (apply_images.py) */
.ig-fig{margin:26px 0;max-width:100%}
.ig-fig img{display:block;width:100%;height:auto;border-radius:14px;border:1px solid rgba(0,0,0,.08);box-shadow:0 1px 2px rgba(0,0,0,.05),0 10px 26px rgba(0,0,0,.07)}
.ig-fig figcaption{margin-top:10px;font-size:.86rem;opacity:.72;line-height:1.5}


/* hero lead form (post-audit P0) */
.hero-lead{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 4px;align-items:center;max-width:580px}
.hero-lead input{flex:1 1 200px;min-width:0;padding:12px 14px;font-size:16px;border:1px solid rgba(0,0,0,.22);border-radius:10px;background:#fff;color:#1a1a1a}
.hero-lead input:focus{outline:2px solid rgba(0,0,0,.35);outline-offset:1px}
.hero-lead input.hp{position:absolute!important;left:-9999px;width:1px;height:1px;opacity:0}
.hero-lead .btn{flex:0 0 auto}
.hero-lead-done,.hero-lead-err{margin:10px 0 0;font-size:.92rem}
.hero-lead-done{font-weight:600}
@media(max-width:560px){.hero-lead input{flex:1 1 100%}.hero-lead .btn{width:100%}}


/* sample-paper thumbnails */
.sample-thumbs{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:22px 0 6px;max-width:560px}
.sample-thumbs figure{margin:0}
.sample-thumbs img{width:100%;height:auto;border-radius:8px;border:1px solid rgba(0,0,0,.1);box-shadow:0 6px 18px rgba(0,0,0,.09)}
.sample-thumbs figcaption{margin-top:6px;font-size:.8rem;opacity:.7;text-align:center}
@media(max-width:520px){.sample-thumbs{grid-template-columns:1fr;max-width:340px}}


/* honesty + a11y polish */
.hp{position:absolute!important;left:-9999px;width:1px;height:1px;opacity:0;pointer-events:none}
.ob-modal,.ae-modal{max-height:calc(100dvh - 40px);overflow-y:auto}

/* ============ hero contact form card ============ */
.hero-form-card { background: #FFFFFF; color: #211D18; border: 1px solid rgba(0,0,0,0.10); border-radius: 16px; padding: 22px; box-shadow: 0 18px 44px rgba(0,0,0,0.12); }
.hero-form-card .hfc-head { font-weight: 800; font-size: 1.16rem; margin: 0 0 4px; }
.hero-form-card .hfc-sub { font-size: 0.9rem; opacity: 0.75; margin: 0 0 14px; }
#heroCard { display: flex; flex-direction: column; gap: 10px; }
#heroCard input, #heroCard textarea { font: inherit; font-size: 16px; padding: 11px 13px; border: 1px solid rgba(0,0,0,0.16); border-radius: 10px; background: #FFF; color: inherit; width: 100%; box-sizing: border-box; }
#heroCard textarea { resize: vertical; min-height: 64px; }
#heroCard .hp { position: absolute; left: -9999px; opacity: 0; height: 0; }
.hero-form-card .hfc-note { font-size: 0.78rem; opacity: 0.65; margin: 10px 0 0; }
.hero-card-done { font-weight: 600; }
.hero-card-err { color: #B3261E; font-size: 0.85rem; margin: 4px 0 0; }
.hero-viz-band { padding: 64px 0 30px; }
.hero-viz-band .hvb-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.hero-viz-band .hvb-eyebrow { display: block; font-size: 0.82rem; font-weight: 700; opacity: 0.62; margin-bottom: 10px; }
.hero-viz-band .hvb-copy h2 { font-size: clamp(1.55rem, 2.8vw, 2.05rem); margin: 0 0 12px; }
.hero-viz-band .hvb-copy p { max-width: 46ch; margin: 0 0 22px; opacity: 0.85; }
@media (max-width: 900px) { .hero-viz-band { padding: 44px 0 12px; } .hero-viz-band .hvb-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ============ Courses catalog ============ */
.crs-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.crs-crumbs { font-size: 0.84rem; opacity: 0.7; padding: 20px 0 0; }
.crs-crumbs a { color: inherit; text-decoration: none; }
.crs-crumbs a:hover { text-decoration: underline; }
.crs-crumbs .sep { margin: 0 7px; opacity: 0.6; }
.crs-hero { padding: 26px 0 6px; }
.crs-hero h1 { font-size: clamp(1.85rem, 3.6vw, 2.6rem); margin: 0 0 12px; }
.crs-hero p { max-width: 64ch; font-size: 1.08rem; opacity: 0.8; margin: 0; }
.crs-bar { display: flex; flex-wrap: wrap; gap: 6px 26px; align-items: center; margin: 26px 0 8px; padding: 13px 0; border-top: 1px solid rgba(0,0,0,0.12); border-bottom: 1px solid rgba(0,0,0,0.12); }
.crs-tab { font-family: inherit; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: inherit; opacity: 0.6; background: none; border: none; cursor: pointer; padding: 8px 0; display: inline-flex; align-items: baseline; gap: 8px; position: relative; }
.crs-tab i { font-style: normal; font-size: 0.66rem; opacity: 0.7; }
.crs-tab:hover, .crs-tab.is-on { opacity: 1; }
.crs-tab.is-on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -14px; height: 2px; background: #1E4A8A; }
.crs-search { margin-left: auto; background: #FFFFFF; border: 1px solid rgba(0,0,0,0.22); border-radius: 10px; padding: 9px 14px; color: inherit; font: inherit; font-size: 0.9rem; width: 240px; max-width: 100%; }
.crs-search:focus { outline: 2px solid #1E4A8A; outline-offset: 1px; }
@media (max-width: 700px) { .crs-search { margin-left: 0; width: 100%; } .crs-tab.is-on::after { bottom: -4px; } }
.crs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin-top: 18px; }
.crs-card { display: flex; flex-direction: column; gap: 11px; background: #FFFFFF; border: 1px solid rgba(0,0,0,0.12); border-radius: 14px; padding: 20px 20px 18px; text-decoration: none; color: inherit; transition: border-color 0.18s ease, transform 0.18s ease; position: relative; }
.crs-card::after { content: "\2197"; position: absolute; top: 15px; right: 17px; font-size: 0.95rem; font-weight: 600; color: #1E4A8A; opacity: 0; transform: translate(-4px, 4px); transition: opacity 0.18s ease, transform 0.18s ease; }
.crs-card:hover { border-color: rgba(30, 74, 138, 0.5); transform: translateY(-2px); }
.crs-card:hover::after { opacity: 1; transform: none; }
.crs-code { align-self: flex-start; font-family: ui-monospace, Consolas, monospace; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em; color: #1E4A8A; background: rgba(30, 74, 138, 0.1); border: 1px solid rgba(30, 74, 138, 0.35); border-radius: 8px; padding: 3px 9px; white-space: nowrap; }
.crs-card h3 { margin: 0; font-size: 1.04rem; line-height: 1.35; flex: 1; padding-right: 22px; }
.crs-empty { display: none; margin: 26px 2px 8px; opacity: 0.75; font-size: 0.95rem; }

/* ============ Course right rail ============ */
.course-layout { display: grid; min-width: 0; grid-template-columns: minmax(0, 1fr) 264px; gap: 44px; align-items: start; }
.course-rail { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 24px; padding: 4px 0 40px; }
.rail-group { display: flex; flex-direction: column; gap: 2px; }
.rail-h { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.55; margin-bottom: 8px; }
.rail-group a, .rail-group .rail-item { font-size: 0.82rem; line-height: 1.4; color: inherit; text-decoration: none; padding: 5px 0 5px 12px; border-left: 2px solid rgba(0,0,0,0.14); }
.rail-group a { color: rgba(0,0,0,0.55); transition: color 0.15s ease, border-color 0.15s ease; }
.rail-group a:hover { color: inherit; border-left-color: rgba(0,0,0,0.3); }
.rail-group a.is-on { color: inherit; border-left-color: #1E4A8A; }
.rail-group .rail-item { color: rgba(0,0,0,0.55); }
.rail-group .rail-item b { color: inherit; font-weight: 600; }
.rail-group .rail-hint2 { font-size: 0.76rem; opacity: 0.8; }
.rail-group p { font-size: 0.8rem; line-height: 1.5; color: rgba(0,0,0,0.55); margin: 0; padding-left: 12px; border-left: 2px solid rgba(0,0,0,0.14); }
.rail-group p a { display: inline; padding: 0; border: none; text-decoration: underline; text-underline-offset: 2px; color: inherit; }
@media (max-width: 1100px) { .course-layout { display: block; } .course-rail { display: none; } }

/* rail sleek v2 */
.rail-group a.rail-item { display: flex; gap: 9px; align-items: baseline; padding: 4px 0 4px 12px; border-left: 2px solid rgba(0,0,0,0.14); color: rgba(0,0,0,0.55); text-decoration: none; min-width: 0; transition: color 0.15s ease, border-color 0.15s ease; }
.rail-group a.rail-item i { font-style: normal; font-family: ui-monospace, Consolas, monospace; font-size: 0.64rem; opacity: 0.55; flex: none; }
.rail-group a.rail-item span { white-space: normal; font-size: 0.8rem; line-height: 1.35; }
.rail-group a.rail-item:hover { color: inherit; border-left-color: #1E4A8A; }
.rail-nums { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 0 8px 12px; border-left: 2px solid rgba(0,0,0,0.14); }
.rail-nums span { font-family: ui-monospace, Consolas, monospace; font-size: 0.68rem; padding: 3px 8px; border: 1px solid rgba(0,0,0,0.14); border-radius: 6px; color: rgba(0,0,0,0.55); }
