/* ============================================================
   WGU Tutors, wgututors.com
   Design system "The Term Clock", design-gate draft.
   School theme colors: the settled WGU navy/blue "Aqua" family
   (navy #0E1F3A, aqua #12C7D8) executed as a DEEP NAVY theme
   with ice-blue paper sections (the preceptor sibling is light;
   this site inverts it). Archivo Expanded display, Source Sans 3
   body, IBM Plex Mono for literal course codes only.
   Independent tutoring service. Not affiliated with WGU.
   ============================================================ */

:root {
  /* WGU school color family (from the settled preceptor tokens) */
  --navy: #0E1F3A;
  --navy-raised: #132A4C;
  --navy-card: #12294E;
  --navy-deep: #0A1730;
  --navy-floor: #071022;
  --aqua: #12C7D8;
  --aqua-soft: #2AD3E3;
  --aqua-deep: #0AA3B4;
  --aqua-tint: #D6F4F8;
  --aqua-glow: rgba(18, 199, 216, 0.16);

  /* text on the navy theme */
  --text-on-navy: #EAF2FA;
  --muted-on-navy: #A9BDD6;
  --faint-on-navy: #8199B8;
  --line-on-navy: #24406B;
  --line-soft-navy: #1B3459;

  /* ice-blue paper sections */
  --ice: #F4F8FB;
  --ice-deep: #E7F0F7;
  --card-ice: #FFFFFF;
  --ink-on-ice: #0E1F3A;
  --muted-on-ice: #46597A;
  --faint-on-ice: #5F7291;
  --line-on-ice: #D9E4EE;
  --line-strong-ice: #BFD2E1;

  /* type stacks */
  --f-display: "Archivo", "Segoe UI", Arial, sans-serif;
  --f-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", Consolas, monospace;

  --r-card: 18px;
  --r-btn: 12px;
  --shadow-1: 0 10px 30px rgba(4, 10, 24, 0.35);
  --shadow-2: 0 22px 64px rgba(4, 10, 24, 0.5);
  --shadow-ice: 0 6px 22px rgba(14, 31, 58, 0.08);
  --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(--navy);
  color: var(--text-on-navy);
  font-family: var(--f-body);
  font-size: 16.5px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

::selection { background: var(--aqua); color: var(--navy-deep); }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 2px; border-radius: 4px; }

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);
  font-stretch: 125%;
  line-height: 1.1;
  margin: 0 0 14px;
}
h1 { font-size: clamp(2.05rem, 4.5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; line-height: 1.3; }
p { margin: 0 0 14px; }

.eyebrow {
  font-family: var(--f-body);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--aqua);
  display: inline-block;
  margin-bottom: 14px;
}
.sec-ice .eyebrow, .sec-ice-deep .eyebrow { color: var(--aqua-deep); }

.lead { font-size: 1.12rem; color: var(--muted-on-navy); max-width: 62ch; }
.sec-ice .lead, .sec-ice-deep .lead { color: var(--muted-on-ice); }

.hl { color: var(--aqua); }

/* mono course-code chip, reserved for literal course codes */
.code-chip {
  font-family: var(--f-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: #7FE3ED;
  background: rgba(18, 199, 216, 0.12);
  border: 1px solid rgba(18, 199, 216, 0.4);
  border-radius: 8px;
  padding: 3px 9px;
  display: inline-block;
  white-space: nowrap;
}
.on-ice .code-chip {
  color: var(--aqua-deep);
  background: rgba(18, 199, 216, 0.1);
  border-color: rgba(10, 163, 180, 0.45);
}

/* humanist tag pill (sentence case, never mono, never uppercase) */
.tagchip {
  font-family: var(--f-body);
  font-size: 0.84rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 13px;
  display: inline-block;
  white-space: nowrap;
}
.tagchip-aqua { background: var(--aqua-tint); color: var(--navy); }
.tagchip-navy { background: var(--navy); color: #FFFFFF; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--f-display); font-stretch: 110%; 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-aqua { background: var(--aqua); color: var(--navy-deep); }
.btn-aqua:hover { background: var(--aqua-soft); }
.btn-ghost { background: transparent; color: var(--text-on-navy); border-color: #35507E; }
.btn-ghost:hover { border-color: var(--aqua); color: var(--aqua); }
.on-ice .btn-ghost, .sec-ice .btn-ghost, .sec-ice-deep .btn-ghost { color: var(--ink-on-ice); border-color: var(--line-strong-ice); }
.on-ice .btn-ghost:hover, .sec-ice .btn-ghost:hover, .sec-ice-deep .btn-ghost:hover { border-color: var(--aqua-deep); color: var(--aqua-deep); }
.btn-navy { background: var(--navy); color: #FFFFFF; }
.btn-navy:hover { background: var(--navy-raised); }

/* ============================================================
   HEADER: left links + right CTA + functional scroll progress
   ============================================================ */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(10, 23, 48, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft-navy);
}
.site-head .wrap { display: flex; align-items: center; gap: 20px; height: 70px; }

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; flex-shrink: 0; }
.brand > span { line-height: 1.12; }
.brand-tile {
  width: 38px; height: 38px; border-radius: 10px; background: var(--navy-raised);
  border: 1px solid var(--line-on-navy);
  display: grid; place-items: center; font-family: var(--f-display); font-stretch: 125%;
  font-weight: 800; font-size: 1rem; color: var(--aqua);
}
.brand-name { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: 1.06rem; color: var(--text-on-navy); line-height: 1.05; }
.brand-sub { font-family: var(--f-body); font-size: 0.72rem; font-weight: 500; color: var(--faint-on-navy); }

/* links cluster LEFT (right after the brand), CTA pinned right */
.nav-links { display: flex; align-items: center; gap: 2px; margin-right: auto; }
.nav-links a {
  font-family: var(--f-body); font-size: 0.94rem; font-weight: 600;
  text-decoration: none; color: var(--muted-on-navy);
  padding: 9px 12px; border-radius: 8px;
  transition: color .15s ease, background .15s ease;
}
.nav-links a:hover { color: #FFFFFF; background: rgba(18, 199, 216, 0.1); }

.head-cta { margin-left: auto; flex-shrink: 0; }
.nav-links + .head-cta { margin-left: 0; }
.nav-burger {
  display: none; background: none; border: 1px solid #35507E; border-radius: 9px;
  width: 44px; height: 44px; cursor: pointer; color: var(--text-on-navy); font-size: 1.1rem;
}

/* the thin scroll progress indicator (functional: width = scroll depth) */
.scroll-progress {
  position: absolute; left: 0; bottom: -1px; height: 3px; width: 0;
  background: var(--aqua); z-index: 2; border-radius: 0 2px 2px 0;
}

@media (max-width: 980px) {
  .nav-links, .head-cta { display: none; }
  .nav-burger { display: grid; place-items: center; margin-left: auto; }
  .site-head .wrap { height: 62px; }
  .site-head.menu-open .nav-links {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 62px; left: 0; right: 0; margin: 0;
    background: var(--navy-deep); border-bottom: 1px solid var(--line-soft-navy);
    padding: 12px 18px 18px; gap: 2px; box-shadow: var(--shadow-2);
  }
  .site-head.menu-open .nav-links a { padding: 13px 10px; }
}

/* ============================================================
   HERO (deep navy) + TERM BURN-DOWN artifact
   ============================================================ */
.hero { padding: 78px 0 66px; position: relative; background: linear-gradient(168deg, var(--navy) 0%, var(--navy-deep) 78%, #081428 100%); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(760px 420px at 84% -6%, var(--aqua-glow), transparent 62%);
  pointer-events: none;
}
.hero .wrap { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 54px; align-items: center; position: relative; }
@media (max-width: 980px) { .hero .wrap { grid-template-columns: 1fr; gap: 40px; } .hero { padding: 52px 0 54px; } }

.hero h1 { color: #FFFFFF; }
.hero-sub { font-size: 1.13rem; color: var(--muted-on-navy); max-width: 56ch; margin-bottom: 26px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-points { display: flex; flex-direction: column; gap: 8px; padding: 0; margin: 0; list-style: none; }
.hero-points li { display: flex; gap: 10px; align-items: baseline; color: var(--muted-on-navy); font-size: 0.95rem; }
.hero-points li::before { content: "+"; font-family: var(--f-display); color: var(--aqua); font-weight: 800; }

/* the burn-down card */
.burn-card {
  background: var(--navy-raised); border: 1px solid var(--line-on-navy); border-radius: var(--r-card);
  box-shadow: var(--shadow-2); overflow: hidden;
}
.burn-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  padding: 15px 20px; border-bottom: 1px solid var(--line-soft-navy); background: rgba(10, 23, 48, 0.55);
}
.burn-title { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: 1rem; color: #FFFFFF; }
.burn-sub { font-size: 0.82rem; color: var(--faint-on-navy); }
.burn-body { padding: 18px 20px 20px; }
.burn-ctl { margin-bottom: 16px; }
.burn-ctl-label {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  font-weight: 600; font-size: 0.9rem; color: var(--muted-on-navy); margin-bottom: 8px;
}
.burn-ctl-label output { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; color: var(--aqua); font-size: 1rem; }

.field {
  width: 100%; font-family: var(--f-body); font-size: 16px; color: var(--text-on-navy);
  background: var(--navy-deep); border: 1px solid #2C4A78; border-radius: 10px;
  padding: 12px 14px; min-height: 46px;
}
.field:focus { outline: none; border-color: var(--aqua); box-shadow: 0 0 0 4px rgba(18, 199, 216, 0.14); }
select.field {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23A9BDD6' stroke-width='2.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; padding-right: 36px;
}

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

.burn-bar { display: flex; gap: 2px; margin: 6px 0 8px; }
.burn-seg { flex: 1; min-width: 0; height: 30px; border-radius: 4px; background: rgba(18, 199, 216, 0.82); }
.burn-seg.spent { background: #1D3557; }
.burn-seg.now { background: #FFFFFF; }
.burn-key { display: flex; gap: 16px; font-size: 0.78rem; color: var(--faint-on-navy); margin-bottom: 14px; flex-wrap: wrap; }
.burn-key span { display: inline-flex; align-items: center; gap: 6px; }
.burn-key i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.burn-key .k-spent { background: #1D3557; }
.burn-key .k-left { background: rgba(18, 199, 216, 0.82); }
.burn-key .k-now { background: #FFFFFF; }

.burn-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.burn-stat { background: rgba(10, 23, 48, 0.55); border: 1px solid var(--line-soft-navy); border-radius: 12px; padding: 12px 13px; min-width: 0; }
.burn-stat .k { font-size: 0.76rem; color: var(--faint-on-navy); display: block; margin-bottom: 3px; }
.burn-stat .v { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: 1.14rem; color: #FFFFFF; line-height: 1.15; display: block; overflow-wrap: anywhere; }
.burn-stat .v.hot { color: var(--aqua); }
@media (max-width: 420px) { .burn-stats { grid-template-columns: 1fr 1fr; } }

.burn-note { margin: 14px 0 0; font-size: 0.84rem; color: var(--muted-on-navy); line-height: 1.55; }
.burn-go {
  display: inline-block; margin-top: 12px; font-weight: 700; font-size: 0.92rem;
  color: var(--aqua); text-decoration: none;
}
.burn-go:hover { color: var(--aqua-soft); text-decoration: underline; }

/* ============================================================
   SECTIONS
   ============================================================ */
.sec { padding: 88px 0; }
.sec-ice { background: var(--ice); color: var(--ink-on-ice); }
.sec-ice h2, .sec-ice h3 { color: var(--ink-on-ice); }
.sec-ice-deep { background: var(--ice-deep); color: var(--ink-on-ice); }
.sec-ice-deep h2, .sec-ice-deep h3 { color: var(--ink-on-ice); }
.sec-navy { background: var(--navy); }
.sec-navy-deep { background: var(--navy-deep); }
.sec-head { max-width: 740px; margin-bottom: 44px; }
@media (max-width: 640px) { .sec { padding: 60px 0; } .sec-head { margin-bottom: 30px; } }

/* ============================================================
   TERM VALUE METER (signature device, ice section under hero)
   ============================================================ */
.meter {
  background: var(--card-ice); border: 1px solid var(--line-on-ice); border-radius: 20px;
  box-shadow: var(--shadow-ice); padding: 30px; color: var(--ink-on-ice);
}
@media (max-width: 640px) { .meter { padding: 20px 16px; } }

.meter-top { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 24px; }
@media (max-width: 880px) { .meter-top { grid-template-columns: 1fr; gap: 18px; } }
.mctl-label {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  font-weight: 600; font-size: 0.95rem; color: var(--ink-on-ice); margin-bottom: 10px;
}
.mctl-label output { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; color: var(--aqua-deep); font-size: 1.1rem; }

.prog-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.prog-pills button {
  border: 1px solid var(--line-strong-ice); background: #FFFFFF; border-radius: 999px;
  padding: 10px 16px; font-family: var(--f-body); font-weight: 600; font-size: 0.88rem;
  color: var(--muted-on-ice); cursor: pointer; transition: all .15s ease; min-height: 44px;
}
.prog-pills button.is-on { background: var(--navy); border-color: var(--navy); color: #FFFFFF; }
.prog-pills button:hover { border-color: var(--aqua-deep); }

.meter-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 880px) { .meter-tiles { grid-template-columns: 1fr; } }
.mtile { background: var(--ice-deep); border: 1px solid var(--line-on-ice); border-radius: 14px; padding: 18px 18px 16px; min-width: 0; }
.mtile .k { font-size: 0.86rem; font-weight: 600; color: var(--muted-on-ice); display: block; margin-bottom: 6px; }
.mtile .v { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: 1.7rem; color: var(--navy); line-height: 1.1; display: block; overflow-wrap: anywhere; }
.mtile .s { font-size: 0.8rem; color: var(--faint-on-ice); display: block; margin-top: 5px; }
.mtile-hot { background: var(--aqua-tint); border-color: rgba(10, 163, 180, 0.35); }
.mtile-hot .v { color: var(--aqua-deep); }

.meter-fit {
  margin-top: 16px; background: #FFFFFF; border: 1px solid var(--line-on-ice); border-radius: 12px;
  padding: 14px 16px; font-size: 0.95rem; color: var(--ink-on-ice);
}
.meter-fit b { color: var(--aqua-deep); }

.meter-slip {
  margin-top: 16px; background: linear-gradient(150deg, var(--navy), var(--navy-deep));
  color: var(--text-on-navy); border-radius: 14px; padding: 20px 22px;
}
.meter-slip h3 { color: #FFFFFF; margin-bottom: 8px; }
.meter-slip p { margin: 0; font-size: 0.95rem; color: var(--muted-on-navy); }
.meter-slip b { color: var(--aqua); font-family: var(--f-display); font-stretch: 125%; font-weight: 800; }

.meter-how { margin-top: 26px; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 28px; align-items: start; }
@media (max-width: 880px) { .meter-how { grid-template-columns: 1fr; gap: 18px; } }
.meter-how h3 { margin-bottom: 12px; }
.meter-how ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.meter-how li { display: flex; gap: 10px; align-items: baseline; color: var(--muted-on-ice); font-size: 0.93rem; }
.meter-how li::before { content: "+"; font-family: var(--f-display); color: var(--aqua-deep); font-weight: 800; }
.meter-note { font-size: 0.82rem; color: var(--faint-on-ice); line-height: 1.55; background: var(--ice-deep); border: 1px solid var(--line-on-ice); border-radius: 12px; padding: 16px 18px; margin: 0; }

/* ============================================================
   TRUST BAND (aqua)
   ============================================================ */
.trust-band { background: var(--aqua); color: var(--navy-deep); padding: 26px 0; }
.trust-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.trust-cell { display: flex; flex-direction: column; gap: 2px; min-width: 150px; }
.trust-num { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: 1.7rem; line-height: 1; }
.trust-label { font-size: 0.84rem; font-weight: 600; opacity: 0.78; }
.trust-stars { font-size: 0.95rem; }

/* ============================================================
   SERVICES (navy)
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 980px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } }
.svc {
  background: var(--navy-raised); border: 1px solid var(--line-on-navy); border-radius: var(--r-card);
  padding: 24px 22px 20px; text-decoration: none; display: flex; flex-direction: column; gap: 10px;
  transition: border-color .18s ease, transform .18s ease;
}
.svc:hover { border-color: rgba(18, 199, 216, 0.6); transform: translateY(-3px); }
.svc h3 { color: #FFFFFF; margin: 0; }
.svc-ico {
  width: 42px; height: 42px; border-radius: 11px; background: rgba(18, 199, 216, 0.12);
  border: 1px solid rgba(18, 199, 216, 0.35); display: grid; place-items: center; color: var(--aqua);
}
.svc p { color: var(--muted-on-navy); font-size: 0.94rem; margin: 0; }
.svc-go { font-family: var(--f-body); font-size: 0.9rem; font-weight: 700; color: var(--aqua); margin-top: auto; }
.svc .tagchip { align-self: flex-start; }

/* ============================================================
   PA vs OA HONESTY SPLIT (ice)
   ============================================================ */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch; }
@media (max-width: 880px) { .split-grid { grid-template-columns: 1fr; } }
.split-panel {
  background: var(--card-ice); border: 1px solid var(--line-on-ice); border-radius: var(--r-card);
  padding: 26px 24px; box-shadow: var(--shadow-ice); display: flex; flex-direction: column; gap: 14px;
}
.split-panel h3 { font-size: 1.28rem; margin: 0; }
.split-panel .sub { color: var(--muted-on-ice); font-size: 0.92rem; margin: 0; }
.split-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.split-list li { display: flex; gap: 10px; align-items: baseline; font-size: 0.95rem; color: var(--ink-on-ice); }
.split-list li::before { content: "+"; font-family: var(--f-display); color: var(--aqua-deep); font-weight: 800; }
.split-we {
  margin-top: auto; background: var(--ice-deep); border: 1px solid var(--line-on-ice);
  border-radius: 12px; padding: 14px 16px; font-size: 0.92rem; color: var(--ink-on-ice);
}
.split-we b { display: block; margin-bottom: 4px; color: var(--navy); }
.split-oa .split-we { background: var(--navy); border-color: var(--navy); color: var(--text-on-navy); }
.split-oa .split-we b { color: var(--aqua); }
.split-foot { margin-top: 22px; font-size: 0.95rem; color: var(--muted-on-ice); max-width: 76ch; }

/* ============================================================
   COURSE RAIL (navy)
   ============================================================ */
.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: 252px; max-width: 252px; scroll-snap-align: start;
  background: var(--navy-raised); border: 1px solid var(--line-on-navy); border-radius: 14px;
  padding: 18px 17px 15px; text-decoration: none; display: flex; flex-direction: column; gap: 9px;
  transition: border-color .18s ease, transform .18s ease;
}
.course-card:hover { border-color: rgba(18, 199, 216, 0.6); transform: translateY(-2px); }
.course-card h3 { font-size: 0.97rem; margin: 0; color: #FFFFFF; }
.course-card .cc-meta { font-size: 0.8rem; color: var(--faint-on-navy); margin-top: auto; }
.cc-codes { display: flex; gap: 6px; flex-wrap: wrap; }
.rail-hint { font-size: 0.84rem; color: var(--faint-on-navy); margin-top: 4px; }

/* ============================================================
   TUITION COMPARISON (ice deep)
   ============================================================ */
.seg-tabs { display: inline-flex; flex-wrap: wrap; background: #DCE8F1; border: 1px solid var(--line-on-ice); border-radius: 999px; padding: 5px; gap: 4px; margin-bottom: 34px; }
.seg-tabs button {
  border: none; background: transparent; font-family: var(--f-body); font-weight: 700;
  font-size: 0.92rem; padding: 10px 20px; border-radius: 999px; cursor: pointer; color: var(--muted-on-ice);
  transition: all .18s ease; min-height: 44px;
}
.seg-tabs button.is-on { background: var(--navy); color: #FFFFFF; }

.vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 940px; }
@media (max-width: 880px) { .vs-grid { grid-template-columns: 1fr; } }
.vs-col {
  background: var(--card-ice); border: 1px solid var(--line-on-ice); border-radius: 16px;
  padding: 26px 24px; box-shadow: var(--shadow-ice);
}
.vs-col h3 { font-size: 1.06rem; margin-bottom: 4px; }
.vs-sub { color: var(--muted-on-ice); font-size: 0.86rem; margin-bottom: 14px; }
.vs-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-on-ice); font-size: 0.95rem; }
.vs-row:last-of-type { border-bottom: none; }
.vs-row b { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: 1.04rem; text-align: right; }
.vs-us { background: linear-gradient(150deg, var(--navy), var(--navy-deep)); border-color: transparent; color: var(--text-on-navy); }
.vs-us h3 { color: #FFFFFF; }
.vs-us .vs-sub { color: var(--muted-on-navy); }
.vs-us .vs-row { border-color: rgba(255, 255, 255, 0.18); }
.vs-keep {
  margin-top: 16px; background: rgba(18, 199, 216, 0.16); border-radius: 12px; padding: 13px 14px;
  font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: 1.2rem;
  color: var(--aqua); text-align: center;
}
.vs-note { margin-top: 20px; font-size: 0.8rem; color: var(--faint-on-ice); max-width: 84ch; line-height: 1.55; }

/* ============================================================
   HOW IT WORKS (navy)
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--navy-raised); border: 1px solid var(--line-on-navy); border-radius: var(--r-card); padding: 24px 21px; }
.step::before {
  counter-increment: step; content: counter(step);
  font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: 0.95rem; color: var(--navy-deep);
  width: 30px; height: 30px; border-radius: 999px; display: grid; place-items: center;
  margin-bottom: 14px; background: var(--aqua);
}
.step h3 { color: #FFFFFF; }
.step p { color: var(--muted-on-navy); font-size: 0.93rem; margin: 0; }

/* ============================================================
   TEAM OF EIGHT (ice)
   ============================================================ */
.role-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 980px) { .role-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .role-grid { grid-template-columns: 1fr; } }
.role { background: var(--card-ice); border: 1px solid var(--line-on-ice); border-radius: var(--r-card); padding: 20px 18px; box-shadow: var(--shadow-ice); }
.role-n {
  width: 30px; height: 30px; border-radius: 999px; background: var(--aqua); color: var(--navy-deep);
  font-family: var(--f-display); font-stretch: 125%; 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-ice); font-size: 0.88rem; margin: 0; }
.pipe-note { margin-top: 24px; color: var(--muted-on-ice); font-size: 0.97rem; max-width: 72ch; }
.pipe-note b { color: var(--aqua-deep); }

/* ============================================================
   VIRTUAL PRACTICUM (navy 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; } }
.duo h2 { color: #FFFFFF; }
.check-list {
  margin: 0; padding: 26px; list-style: none;
  background: var(--navy-raised); border: 1px solid var(--line-on-navy); border-radius: var(--r-card);
  display: flex; flex-direction: column; gap: 13px;
}
.check-list li { display: flex; gap: 12px; align-items: baseline; font-size: 0.97rem; color: var(--text-on-navy); }
.check-list li::before { content: "\2713"; color: var(--aqua); font-weight: 700; font-family: var(--f-display); }

/* ============================================================
   SAMPLE CTA BAND (aqua gradient)
   ============================================================ */
.sample-band { background: linear-gradient(135deg, var(--aqua), var(--aqua-deep)); color: var(--navy-deep); 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-deep); }
.sample-band p { color: rgba(7, 16, 34, 0.78); 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-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.band-link:hover { color: var(--navy); }

/* ============================================================
   REVIEWS (navy)
   ============================================================ */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 980px) { .quotes { grid-template-columns: 1fr; } }
.quote {
  background: var(--navy-raised); border: 1px solid var(--line-on-navy);
  border-radius: 14px; padding: 24px 22px; display: flex; flex-direction: column; gap: 14px;
}
.quote p { color: var(--text-on-navy); 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-weight: 600; font-size: 0.86rem; color: var(--muted-on-navy); }
.quote .stars { color: var(--aqua); font-size: 0.82rem; }
.more-link { color: var(--aqua); font-weight: 700; text-decoration: none; }
.more-link:hover { color: var(--aqua-soft); }

/* ============================================================
   FAQ (ice)
   ============================================================ */
.faq-list { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line-on-ice); }
.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-stretch: 125%;
  font-weight: 700; font-size: 1.04rem; min-height: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--f-display); color: var(--aqua-deep); font-weight: 800; font-size: 1.1rem; }
.faq-item[open] summary::after { content: "-"; }
.faq-item .faq-a { padding: 0 2px 22px; color: var(--muted-on-ice); max-width: 72ch; }

/* ============================================================
   FINAL CTA (deep navy) + FOOTER
   ============================================================ */
.final-cta { text-align: center; padding: 96px 0; background: var(--navy-deep); position: relative; overflow: hidden; }
.final-cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(620px 300px at 50% -10%, var(--aqua-glow), transparent 62%);
  pointer-events: none;
}
.final-cta .wrap { position: relative; }
.final-cta h2 { color: #FFFFFF; }
.final-cta .lead { margin: 0 auto 30px; }

.site-foot { background: var(--navy-floor); padding: 62px 0 34px; color: var(--text-on-navy); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 42px; border-bottom: 1px solid var(--line-soft-navy); }
@media (max-width: 980px) { .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-stretch: 125%; font-size: 0.94rem; font-weight: 800; color: #C9D6E6; margin: 0 0 16px; }
.foot-col a { display: block; color: var(--muted-on-navy); text-decoration: none; font-size: 0.92rem; padding: 5px 0; }
.foot-col a:hover { color: var(--aqua); }
.foot-about { color: var(--muted-on-navy); font-size: 0.9rem; max-width: 34ch; }
.foot-note { color: var(--muted-on-navy); 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-deep); border: 1px solid #2C4A78; border-radius: 10px;
  color: var(--text-on-navy); padding: 12px 14px; font-size: 16px; font-family: var(--f-body); min-height: 46px;
}
.news-form input::placeholder { color: var(--faint-on-navy); }
.news-form button { flex-shrink: 0; }
.news-done { color: var(--aqua); font-size: 0.88rem; margin-top: 10px; display: none; }

.foot-legal { padding-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.foot-disclaimer { color: var(--faint-on-navy); font-size: 0.8rem; max-width: 92ch; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--faint-on-navy); font-size: 0.8rem; }
.foot-base a { color: var(--muted-on-navy); text-decoration: none; }
.foot-base a:hover { color: var(--aqua); }

/* ============================================================
   WIDGET: seasonal offer modal (center, task-ticket masthead)
   ============================================================ */
.ob-modal-backdrop {
  display: none; position: fixed; inset: 0; z-index: 90;
  background: rgba(5, 11, 24, 0.7); 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(--ink-on-ice);
  border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-2); position: relative;
}
.ob-close {
  position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 999px;
  border: none; background: rgba(255, 255, 255, 0.16); color: #FFFFFF; font-size: 1rem; cursor: pointer;
}

/* masthead = a PA task ticket, Task 1 stamped Competent (this site's registered treatment) */
.ob-mast { background: var(--navy); color: var(--text-on-navy); 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 + span { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: 0.95rem; }
.ticket { background: var(--ice); color: var(--ink-on-ice); border-radius: 12px; padding: 13px 14px; }
.ticket-course { display: flex; align-items: center; gap: 9px; margin-bottom: 11px; flex-wrap: wrap; }
.ticket-course .ticket-name { font-size: 0.85rem; font-weight: 600; color: var(--muted-on-ice); }
.ticket-tasks { display: flex; gap: 8px; flex-wrap: wrap; }
.tchip {
  position: relative; font-family: var(--f-body); font-size: 0.82rem; font-weight: 700;
  border: 1px solid var(--line-strong-ice); color: var(--muted-on-ice); background: #FFFFFF;
  border-radius: 999px; padding: 5px 14px; white-space: nowrap;
}
.tchip.done { background: var(--aqua); border-color: var(--aqua); color: var(--navy-deep); }
.tchip .stamp {
  position: absolute; top: -11px; right: -14px; transform: rotate(-8deg);
  font-size: 0.62rem; font-weight: 800; color: var(--aqua-deep);
  border: 1.5px solid var(--aqua-deep); border-radius: 5px; background: rgba(255, 255, 255, 0.94);
  padding: 1px 6px;
}

.ob-body { padding: 22px; }
.ob-season { font-family: var(--f-body); font-size: 0.88rem; font-weight: 700; color: var(--aqua-deep); margin-bottom: 8px; }
.ob-body h3 { font-size: 1.35rem; margin-bottom: 6px; }
.ob-body .ob-sub { color: var(--muted-on-ice); 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-ice); border-radius: 10px; padding: 13px 14px;
  font-size: 16px; font-family: var(--f-body); color: var(--ink-on-ice); width: 100%; min-height: 46px;
}
.ob-form input:focus { outline: none; border-color: var(--aqua-deep); box-shadow: 0 0 0 4px rgba(18, 199, 216, 0.14); }
.ob-form .hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.ob-fine { font-size: 0.72rem; color: var(--faint-on-ice); margin-top: 10px; }
.ob-thanks { display: none; padding: 8px 0 4px; color: var(--aqua-deep); font-weight: 700; }
@media (max-width: 560px) {
  .ob-modal { max-width: 100%; }
  .ob-mast { padding: 16px 16px 14px; }
  .ob-body { padding: 16px; }
  .tchip .stamp { right: -8px; }
}

/* ============================================================
   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(--aqua-deep); }
.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(--aqua);
  padding: 0; cursor: pointer; overflow: hidden; background: var(--navy-raised); 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(--aqua); border: 2px solid var(--navy-deep);
}
.chat-nudge {
  position: fixed; right: 88px; bottom: 30px; z-index: 70; max-width: 235px;
  background: #FFFFFF; color: var(--ink-on-ice); border-radius: 14px 14px 3px 14px;
  padding: 12px 14px; font-size: 0.86rem; box-shadow: var(--shadow-2); display: none; cursor: pointer;
  border: 1px solid var(--line-on-ice);
}
.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(--ink-on-ice);
  border-radius: 18px; box-shadow: var(--shadow-2); overflow: hidden;
  display: none; flex-direction: column;
}
.chat-panel.is-open { display: flex; }
.chat-head { background: var(--navy); color: var(--text-on-navy); 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(--aqua); flex-shrink: 0; }
.chat-face svg { width: 100%; height: 100%; }
.chat-who { line-height: 1.25; min-width: 0; }
.chat-who b { font-size: 0.95rem; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #FFFFFF; }
.chat-who span { font-size: 0.74rem; color: var(--muted-on-navy); }
.chat-status { margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: 0.7rem; color: var(--muted-on-navy); 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-navy); 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-on-ice); }
.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-on-ice); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg-out { background: var(--navy); 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-ice); border-radius: 999px; padding: 11px 16px;
  font-size: 16px; font-family: var(--f-body); background: #fff; color: var(--ink-on-ice); min-height: 44px;
}
.chat-compose input:focus { outline: none; border-color: var(--aqua-deep); }
.chat-compose button {
  width: 44px; height: 44px; border-radius: 999px; border: none; background: var(--navy);
  color: #FFFFFF; cursor: pointer; display: grid; place-items: center; flex-shrink: 0;
}
@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, navy base)
   ============================================================ */
.crumbs { font-size: 0.84rem; color: var(--muted-on-navy); padding: 20px 0 0; display: flex; flex-wrap: wrap; gap: 7px; align-items: center; font-family: var(--f-display); }
.crumbs a { color: var(--muted-on-navy); text-decoration: none; }
.crumbs a:hover { color: var(--aqua-soft); }
.crumbs .sep { color: var(--faint-on-navy); }

.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(--navy-card); border: 1px solid var(--line-on-navy); border-radius: 999px; padding: 4px 13px; font-size: 0.8rem; font-weight: 600; color: var(--muted-on-navy); 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(--ink-on-ice); border-radius: var(--r-card); padding: 22px 24px; box-shadow: var(--shadow-1); margin: 12px 0 6px; }
.answer-box .ab-label { font-family: var(--f-display); font-weight: 700; color: var(--aqua-deep); 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(--muted-on-navy); background: var(--navy-card); border: 1px solid var(--line-on-navy); border-radius: 999px; padding: 7px 14px; text-decoration: none; }
.toc a:hover { color: var(--aqua-soft); border-color: var(--aqua-soft); }
.toc a.is-on { color: var(--aqua-soft); border-color: var(--aqua-soft); }

.table-wrap { overflow-x: auto; }
.man-table { width: 100%; border-collapse: collapse; margin: 16px 0; background: var(--navy-card); border: 1px solid var(--line-on-navy); font-size: 0.94rem; }
.man-table th, .man-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line-on-navy); vertical-align: top; }
.man-table th { font-family: var(--f-display); font-weight: 700; font-size: 0.88rem; background: var(--navy-raised); }
.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(--aqua); color: var(--navy-floor); 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-on-navy); }

.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(--aqua-soft); font-weight: 700; font-family: var(--f-display); }

.svc-strip { background: var(--ice); color: var(--ink-on-ice); 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-1); }
@media (max-width: 700px) { .svc-strip { grid-template-columns: 1fr; } }
.svc-strip h3 { color: var(--ink-on-ice); font-size: 1.3rem; margin: 0 0 8px; }
.svc-strip p { color: var(--muted-on-ice); margin: 0; font-size: 0.95rem; }
.svc-strip .btns { display: flex; flex-direction: column; gap: 10px; }
.svc-strip .btn-navy { background: var(--navy); color: var(--text-on-navy); }
.svc-strip .btn-navy:hover { background: var(--navy-raised); }

.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(--navy-card); border: 1px solid var(--line-on-navy); border-radius: 12px; padding: 16px; text-decoration: none; font-weight: 600; font-size: 0.93rem; color: var(--text-on-navy); font-family: var(--f-display); }
.related a:hover { border-color: var(--aqua-soft); color: var(--aqua-soft); }


/* 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(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1); }
.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: #12C7D8; }
.crs-search { margin-left: auto; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.24); 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 #12C7D8; 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: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); 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: #12C7D8; opacity: 0; transform: translate(-4px, 4px); transition: opacity 0.18s ease, transform 0.18s ease; }
.crs-card:hover { border-color: rgba(18, 199, 216, 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: #12C7D8; background: rgba(18, 199, 216, 0.1); border: 1px solid rgba(18, 199, 216, 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(255,255,255,0.12); }
.rail-group a { color: rgba(255,255,255,0.55); transition: color 0.15s ease, border-color 0.15s ease; }
.rail-group a:hover { color: inherit; border-left-color: rgba(255,255,255,0.3); }
.rail-group a.is-on { color: inherit; border-left-color: #12C7D8; }
.rail-group .rail-item { color: rgba(255,255,255,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(255,255,255,0.55); margin: 0; padding-left: 12px; border-left: 2px solid rgba(255,255,255,0.12); }
.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(255,255,255,0.12); color: rgba(255,255,255,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: #12C7D8; }
.rail-nums { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 0 8px 12px; border-left: 2px solid rgba(255,255,255,0.12); }
.rail-nums span { font-family: ui-monospace, Consolas, monospace; font-size: 0.68rem; padding: 3px 8px; border: 1px solid rgba(255,255,255,0.12); border-radius: 6px; color: rgba(255,255,255,0.55); }
