/* ============================================================
   Rasmussen Tutors, rasmussentutors.com
   Design system "The Competency Dial", v1 (design gate draft)
   School theme colors: the settled Rasmussen green family from
   rasmussenpreceptor.com (forest #15452A / #1E5E3A / #0E3320,
   lime #7DBE3C / #4E7A1E, gold #B98F2E), executed here as a
   light mint-paper base with forest sections.
   Independent tutoring service. Not affiliated with Rasmussen University.
   ============================================================ */

:root {
  /* Rasmussen school green family (source: Preceptor/rasmussenpreceptor.com/public/styles.css) */
  --forest: #15452A;        /* core forest (preceptor --green) */
  --forest-2: #1E5E3A;      /* raised forest (preceptor --green-2) */
  --forest-deep: #0E3320;   /* deepest forest (preceptor --green-d) */
  --leaf: #7DBE3C;          /* lime accent (preceptor --lime) */
  --leaf-deep: #4E7A1E;     /* text-safe lime on light (preceptor --lime-d) */
  --leaf-lite: #A8D97E;     /* text-safe lime on forest */
  --leaf-tint: rgba(125, 190, 60, 0.14);
  --leaf-line: rgba(78, 122, 30, 0.4);
  --gold: #B98F2E;          /* warm secondary (preceptor --gold) */
  --star: #E9C25A;          /* stars on forest */

  /* light mint-paper base (mintier than the preceptor's cool #F6F8F3) */
  --mint: #EFF5EC;
  --mint-deep: #E3EDDC;     /* deeper mint band */
  --card: #FFFFFF;
  --ink-on-mint: #17251C;
  --muted-on-mint: #516457;
  --line-on-mint: #D8E3D1;
  --line-strong: #BCD0B3;

  /* forest sections */
  --card-forest: #1C5233;
  --line-forest: #2B6343;
  --text-on-forest: #EEF4EC;
  --muted-on-forest: #A9C2B0;
  --faint-on-forest: #7FA18C;

  /* competency score colors, the 4/3/2/1 scale */
  --s4: #2E7D46;            /* 4, converts to an A */
  --s3: #B98F2E;            /* 3, a B */
  --s2: #C06A2B;            /* 2, a C */
  --s1: #B23A2E;            /* 1, an F */

  /* type stacks */
  --f-display: "Epilogue", "Segoe UI", Arial, sans-serif;
  --f-body: "Inter", "Segoe UI", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", Consolas, monospace;

  --r-card: 18px;
  --r-btn: 11px;
  --shadow-1: 0 8px 26px rgba(14, 51, 32, 0.12);
  --shadow-2: 0 20px 54px rgba(14, 51, 32, 0.2);
  --shadow-head: 0 6px 24px rgba(14, 51, 32, 0.1);
  --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(--mint);
  color: var(--ink-on-mint);
  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: #B9CBAF var(--mint); }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: var(--mint); }
::-webkit-scrollbar-thumb { background: #B9CBAF; border-radius: 999px; border: 2px solid var(--mint); }
::-webkit-scrollbar-thumb:hover { background: #96AF89; }

::selection { background: var(--forest); color: #FFFFFF; }
:focus-visible { outline: 2px solid var(--leaf-deep); 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); line-height: 1.14; margin: 0 0 14px; }
h1 { font-size: clamp(2.05rem, 4.5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.13rem; font-weight: 600; line-height: 1.32; }
p { margin: 0 0 14px; }

.eyebrow {
  font-family: var(--f-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--leaf-deep);
  display: inline-block;
  margin-bottom: 13px;
}
.on-forest .eyebrow { color: var(--leaf-lite); }

.lead { font-size: 1.12rem; color: var(--muted-on-mint); max-width: 62ch; }
.on-forest .lead { color: var(--muted-on-forest); }

/* 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(--leaf-deep);
  background: var(--leaf-tint);
  border: 1px solid var(--leaf-line);
  border-radius: 8px;
  padding: 3px 9px;
  display: inline-block;
  white-space: nowrap;
}
.on-forest .code-chip { color: var(--leaf-lite); background: rgba(168, 217, 126, 0.12); border-color: rgba(168, 217, 126, 0.38); }

/* competency score pill (4 / 3 / 2 / 1), the site's core motif */
.sp {
  font-family: var(--f-display); font-size: 0.98rem; font-weight: 700;
  min-width: 46px; min-height: 44px; padding: 8px 4px;
  border-radius: 12px; border: 1px solid var(--line-strong);
  color: var(--muted-on-mint); background: #FFFFFF; cursor: pointer;
  display: inline-grid; place-items: center; transition: all .16s ease;
}
.sp:hover { border-color: var(--forest); color: var(--forest); }
.sp.is-on[data-s="4"] { background: var(--s4); border-color: var(--s4); color: #FFFFFF; }
.sp.is-on[data-s="3"] { background: var(--s3); border-color: var(--s3); color: #FFFFFF; }
.sp.is-on[data-s="2"] { background: var(--s2); border-color: var(--s2); color: #FFFFFF; }
.sp.is-on[data-s="1"] { background: var(--s1); border-color: var(--s1); color: #FFFFFF; }
.sp-row { display: flex; gap: 7px; flex-wrap: wrap; }

/* ---------- 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;
  min-height: 46px;
}
.btn:active { transform: translateY(1px); }
.btn-brand { background: var(--forest); color: #FFFFFF; }
.btn-brand:hover { background: var(--forest-2); }
.btn-leaf { background: var(--leaf); color: var(--forest-deep); }
.btn-leaf:hover { background: #8FCB52; }
.btn-ghost { background: transparent; color: var(--ink-on-mint); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--forest); color: var(--forest); }
.on-forest .btn-ghost { color: var(--text-on-forest); border-color: #38714F; }
.on-forest .btn-ghost:hover { border-color: var(--leaf-lite); color: var(--leaf-lite); }

/* ============================================================
   HEADER (left logo, right links, soft shadow once sticky)
   ============================================================ */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(239, 245, 236, 0.92);
  backdrop-filter: blur(12px);
  transition: box-shadow .25s ease;
}
.site-head.is-stuck { box-shadow: var(--shadow-head); }
.site-head .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
.brand > span { line-height: 1.12; }
.brand-tile {
  width: 38px; height: 38px; border-radius: 11px; background: var(--forest);
  display: grid; place-items: center; font-family: var(--f-display); font-weight: 800;
  font-size: 1.02rem; color: #FFFFFF;
}
.brand-name { font-family: var(--f-display); font-weight: 800; font-size: 1.08rem; color: var(--ink-on-mint); line-height: 1.05; }
.brand-sub { font-family: var(--f-body); font-size: 0.72rem; font-weight: 500; color: #7E927F; }
.site-foot .brand-name { color: var(--text-on-forest); }

.nav-links { display: flex; align-items: center; gap: 3px; }
.nav-links a {
  font-family: var(--f-body); font-size: 0.94rem; font-weight: 600;
  text-decoration: none; color: var(--muted-on-mint);
  padding: 9px 13px; border-radius: 999px;
  transition: background .16s ease, color .16s ease;
}
.nav-links a:hover { color: var(--forest); background: var(--leaf-tint); }

.head-cta { margin-left: 8px; }
.nav-burger {
  display: none; background: none; border: 1px solid var(--line-strong); border-radius: 10px;
  width: 44px; height: 44px; cursor: pointer; color: var(--ink-on-mint); font-size: 1.1rem;
}
@media (max-width: 960px) {
  .nav-links, .head-cta { display: none; }
  .nav-burger { display: grid; place-items: center; }
  .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;
    background: var(--mint); box-shadow: var(--shadow-head);
    padding: 12px 18px 18px; gap: 2px;
  }
  .site-head.menu-open .nav-links a { padding: 13px 12px; border-radius: 10px; }
}

/* ============================================================
   HERO (mint paper, white Competency Dial card)
   ============================================================ */
.hero { padding: 82px 0 70px; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(680px 420px at 88% 0%, rgba(125, 190, 60, 0.1), transparent 62%),
    radial-gradient(520px 380px at 0% 100%, rgba(21, 69, 42, 0.06), transparent 60%);
  pointer-events: none;
}
.hero .wrap { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 54px; align-items: center; position: relative; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; gap: 40px; } .hero { padding: 52px 0 56px; } }

/* marker-box keyword highlight (full-height tint, not an underline) */
.hero h1 .hl {
  background: var(--leaf-tint);
  border-radius: 8px;
  padding: 0 7px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  color: var(--forest);
}
.hero-sub { font-size: 1.13rem; color: var(--muted-on-mint); 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: 10px; align-items: baseline; color: var(--muted-on-mint); font-size: 0.95rem; }
.hero-points li::before { content: "\2713"; color: var(--leaf-deep); font-weight: 700; font-family: var(--f-display); }

/* the Competency Dial card (white, on the mint hero) */
.dial-card {
  background: var(--card); border: 1px solid var(--line-on-mint); border-radius: var(--r-card);
  box-shadow: var(--shadow-2); overflow: hidden; color: var(--ink-on-mint);
}
.dial-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  padding: 15px 20px; background: var(--mint-deep);
}
.dial-title { font-family: var(--f-body); font-size: 0.9rem; font-weight: 600; color: var(--muted-on-mint); }
.dial-stage { padding: 20px 20px 4px; display: grid; place-items: center; }
.dial-stage svg { width: min(330px, 100%); height: auto; }
.dial-needle { transition: transform .5s cubic-bezier(.6, .1, .25, 1.2); transform-origin: 100px 104px; }
.dial-seg-label { font-family: var(--f-display); font-weight: 800; font-size: 15px; fill: #FFFFFF; text-anchor: middle; }
.dial-seg-letter { font-family: var(--f-body); font-weight: 600; font-size: 8.5px; fill: rgba(255, 255, 255, 0.85); text-anchor: middle; }
.dial-rows { padding: 8px 20px 4px; }
.dial-row { padding: 12px 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.dial-row + .dial-row { border-bottom: none; }
.dial-crit { font-size: 0.9rem; font-weight: 600; color: var(--ink-on-mint); max-width: 24ch; }
.dial-row .sp { min-width: 44px; }
.dial-note {
  margin: 10px 20px 16px; padding: 12px 14px; border-radius: 12px;
  background: var(--leaf-tint); border: 1px solid var(--leaf-line);
  font-size: 0.88rem; color: #2C4433;
}
.dial-note strong { color: var(--forest); }
.dial-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  padding: 14px 20px; background: var(--forest); color: var(--text-on-forest);
}
.dial-read { font-size: 0.88rem; color: var(--muted-on-forest); }
.dial-read b { color: var(--leaf-lite); font-weight: 700; font-family: var(--f-display); }

/* ============================================================
   TRUST BAND (forest)
   ============================================================ */
.trust-band { background: var(--forest); color: #FFFFFF; padding: 28px 0; }
.trust-band .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 880px) { .trust-band .wrap { grid-template-columns: repeat(2, 1fr); } }
.trust-cell { display: flex; flex-direction: column; gap: 2px; text-align: center; }
.trust-num { font-family: var(--f-display); font-weight: 800; font-size: 1.7rem; line-height: 1.15; }
.trust-label { font-size: 0.82rem; font-weight: 500; color: var(--muted-on-forest); }
.trust-stars { font-size: 0.95rem; color: var(--star); }
.trust-stars i { font-style: normal; opacity: 0.35; }

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

/* ---------- CBE explainer (Empowered Learning, before services) ---------- */
.model-toggle {
  display: inline-flex; background: #FFFFFF; border: 1px solid var(--line-on-mint);
  border-radius: 14px; padding: 5px; gap: 4px; margin-bottom: 34px; flex-wrap: wrap;
}
.model-toggle button {
  border: none; background: transparent; font-family: var(--f-display); font-weight: 700;
  font-size: 0.95rem; padding: 10px 22px; border-radius: 10px; cursor: pointer;
  color: var(--muted-on-mint); transition: all .16s ease; min-height: 44px;
}
.model-toggle button.is-on { background: var(--forest); color: #FFFFFF; }
.model-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 960px) { .model-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .model-grid { grid-template-columns: 1fr; } }
.model-cell {
  background: var(--card); border: 1px solid var(--line-on-mint); border-radius: 14px;
  padding: 20px 18px; box-shadow: 0 3px 14px rgba(14, 51, 32, 0.05);
}
.model-k { font-family: var(--f-display); font-size: 0.86rem; font-weight: 700; color: var(--leaf-deep); margin-bottom: 8px; }
.model-v { font-size: 0.95rem; color: var(--ink-on-mint); }
.model-v b { font-weight: 700; color: var(--forest); }
.model-note { margin-top: 22px; font-size: 0.92rem; color: var(--muted-on-mint); max-width: 76ch; }

/* ---------- services grid (forest) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } }
.svc {
  background: var(--card-forest); border: 1px solid var(--line-forest); 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(168, 217, 126, 0.6); transform: translateY(-3px); }
.svc-ico {
  width: 42px; height: 42px; border-radius: 12px; background: rgba(168, 217, 126, 0.12);
  border: 1px solid rgba(168, 217, 126, 0.34); display: grid; place-items: center; color: var(--leaf-lite);
}
.svc p { color: var(--muted-on-forest); font-size: 0.94rem; margin: 0; }
.svc-go { font-family: var(--f-body); font-size: 0.9rem; font-weight: 600; color: var(--leaf-lite); margin-top: auto; }

/* ---------- course rail (deep mint) ---------- */
.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-on-mint); 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(14, 51, 32, 0.05);
}
.course-card:hover { border-color: var(--leaf-line); box-shadow: 0 8px 24px rgba(78, 122, 30, 0.16); }
.course-card h3 { font-size: 0.97rem; margin: 0; color: var(--ink-on-mint); }
.course-card .cc-meta { font-family: var(--f-body); font-size: 0.8rem; color: #7E927F; }
.rail-hint { font-family: var(--f-body); font-size: 0.84rem; color: #7E927F; margin-top: 4px; }

/* ============================================================
   SCORE CONVERTER (signature device, white card on forest)
   ============================================================ */
.conv {
  background: var(--card); border: 1px solid var(--line-on-mint); border-radius: 20px;
  box-shadow: var(--shadow-2); overflow: hidden; color: var(--ink-on-mint);
}
.conv-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; }
@media (max-width: 880px) { .conv-grid { grid-template-columns: 1fr; } }
.conv-controls { padding: 32px 32px 28px; }
@media (max-width: 640px) { .conv-controls { padding: 24px 18px 22px; } }
.conv-intro { font-size: 0.92rem; color: var(--muted-on-mint); margin-bottom: 18px; }
.conv-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 0; flex-wrap: wrap; }
.conv-crit { font-size: 0.92rem; font-weight: 600; max-width: 26ch; }
.conv-row .sp { min-width: 44px; }
.conv-actions { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }

.conv-result {
  background: linear-gradient(155deg, var(--forest-2), var(--forest-deep));
  color: #FFFFFF; padding: 32px 32px 28px; display: flex; flex-direction: column; gap: 2px;
}
@media (max-width: 640px) { .conv-result { padding: 24px 18px 22px; } }
.cr-row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 11px 0; }
.cr-row + .cr-row { box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.2); }
.cr-k { font-size: 0.88rem; color: rgba(255, 255, 255, 0.82); }
.cr-v { font-family: var(--f-display); font-weight: 800; font-size: 1.4rem; text-align: right; }
.cr-v small { font-family: var(--f-body); font-weight: 400; font-size: 0.74rem; color: rgba(255, 255, 255, 0.68); display: block; }
.cr-v.big { font-size: 2rem; color: var(--leaf-lite); }
.cr-verdict {
  margin-top: 16px; background: rgba(255, 255, 255, 0.12); border-radius: 12px; padding: 13px 15px;
  font-family: var(--f-display); font-weight: 700; font-size: 1.02rem; color: #FFFFFF;
}
.cr-note { margin-top: 14px; font-size: 0.78rem; color: rgba(255, 255, 255, 0.72); line-height: 1.55; }

/* nursing 78% honesty callout */
.rule78 {
  margin-top: 26px; background: var(--card-forest); border: 1px solid var(--line-forest);
  border-radius: var(--r-card); padding: 24px 24px 20px;
  display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 22px; align-items: center;
}
@media (max-width: 880px) { .rule78 { grid-template-columns: 1fr; } }
.rule78 h3 { margin-bottom: 8px; }
.rule78 p { color: var(--muted-on-forest); font-size: 0.94rem; margin: 0; }
.rule78 p b { color: var(--leaf-lite); }
.rule78-chips { display: flex; flex-direction: column; gap: 10px; }
.rc {
  border-radius: 12px; padding: 12px 15px; font-family: var(--f-display); font-weight: 700;
  font-size: 0.98rem; display: flex; justify-content: space-between; gap: 12px; align-items: baseline;
}
.rc small { font-family: var(--f-body); font-weight: 500; font-size: 0.78rem; }
.rc-fail { background: rgba(178, 58, 46, 0.18); border: 1px solid rgba(178, 58, 46, 0.55); color: #F3C1BB; }
.rc-pass { background: rgba(125, 190, 60, 0.14); border: 1px solid rgba(125, 190, 60, 0.5); color: var(--leaf-lite); }

/* ============================================================
   SUBSCRIPTION SPRINT (expedite device, forest card on mint)
   ============================================================ */
.sprint {
  background: var(--forest); border-radius: 20px; box-shadow: var(--shadow-2);
  color: var(--text-on-forest); overflow: hidden;
}
.sprint-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; }
@media (max-width: 880px) { .sprint-grid { grid-template-columns: 1fr; } }
.sprint-how { padding: 32px 32px 28px; }
@media (max-width: 640px) { .sprint-how { padding: 24px 18px 22px; } }
.sprint-how h3 { font-size: 1.05rem; margin: 0 0 14px; }
.sprint-how ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.sprint-how li { display: flex; gap: 10px; align-items: baseline; color: var(--muted-on-forest); font-size: 0.94rem; }
.sprint-how li::before { content: "\2713"; color: var(--leaf); font-weight: 700; font-family: var(--f-display); }
.sprint-how li b { color: var(--text-on-forest); }

.sprint-calc { background: var(--forest-deep); padding: 32px 32px 28px; }
@media (max-width: 640px) { .sprint-calc { padding: 24px 18px 22px; } }
.ctl { margin-bottom: 22px; }
.ctl-label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; font-size: 0.95rem; margin-bottom: 10px; color: var(--text-on-forest); }
.ctl-label output { font-family: var(--f-display); font-weight: 700; color: var(--leaf); font-size: 1.1rem; }
input[type="range"] { width: 100%; accent-color: var(--leaf); height: 34px; background: transparent; }
.sp-out { display: flex; flex-direction: column; }
.sp-row-out { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 11px 0; }
.sp-row-out + .sp-row-out { box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.16); }
.sp-k { font-size: 0.88rem; color: var(--muted-on-forest); }
.sp-v { font-family: var(--f-display); font-weight: 800; font-size: 1.4rem; color: #FFFFFF; text-align: right; }
.sp-v.gl { color: var(--leaf); }
.sprint-note { margin-top: 14px; font-size: 0.78rem; color: var(--faint-on-forest); line-height: 1.55; }

/* ============================================================
   HOW IT WORKS (deep mint)
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
@media (max-width: 960px) { .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-on-mint); border-radius: var(--r-card);
  padding: 24px 21px; box-shadow: 0 3px 14px rgba(14, 51, 32, 0.05);
}
.step::before {
  counter-increment: step; content: counter(step);
  font-family: var(--f-display); font-weight: 800; font-size: 1rem; color: var(--forest);
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  margin-bottom: 14px; background: var(--leaf-tint); border: 1px solid var(--leaf-line);
}
.step p { color: var(--muted-on-mint); font-size: 0.93rem; margin: 0; }

/* ============================================================
   TEAM OF EIGHT (forest)
   ============================================================ */
.role-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 960px) { .role-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .role-grid { grid-template-columns: 1fr; } }
.role { background: var(--card-forest); border: 1px solid var(--line-forest); border-radius: var(--r-card); padding: 20px 18px; }
.role-n {
  width: 32px; height: 32px; border-radius: 10px; background: var(--leaf); color: var(--forest-deep);
  font-family: var(--f-display); font-weight: 800; font-size: 0.95rem; display: grid; place-items: center;
  margin-bottom: 12px;
}
.role h3 { font-size: 1rem; margin-bottom: 6px; }
.role p { color: var(--muted-on-forest); font-size: 0.88rem; margin: 0; }
.pipe-note { margin-top: 24px; color: var(--muted-on-forest); font-size: 0.97rem; max-width: 72ch; }
.pipe-note b { color: var(--leaf-lite); }

/* ============================================================
   VIRTUAL PRACTICUM (duo, mint)
   ============================================================ */
.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-on-mint); border-radius: var(--r-card);
  box-shadow: 0 3px 14px rgba(14, 51, 32, 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(--ink-on-mint); }
.check-list li::before { content: "\2713"; color: var(--leaf-deep); font-weight: 700; font-family: var(--f-display); }

/* ============================================================
   SAMPLE BAND (leaf)
   ============================================================ */
.sample-band { background: linear-gradient(135deg, var(--leaf), #5E9A2C); color: var(--forest-deep); padding: 64px 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(--forest-deep); }
.sample-band p { color: rgba(14, 51, 32, 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(--forest-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.band-link:hover { color: #123B24; }

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

/* ============================================================
   COMPARISON (late, deep mint): going alone vs the sprint
   ============================================================ */
.vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 960px; }
@media (max-width: 880px) { .vs-grid { grid-template-columns: 1fr; } }
.vs-col {
  background: var(--card); border: 1px solid var(--line-on-mint); border-radius: 16px;
  padding: 26px 24px; box-shadow: 0 3px 14px rgba(14, 51, 32, 0.05);
}
.vs-col h3 { font-size: 1.05rem; margin-bottom: 4px; }
.vs-sub { color: var(--muted-on-mint); font-size: 0.86rem; margin-bottom: 14px; }
.vs-row { display: flex; flex-direction: column; gap: 2px; padding: 11px 0; font-size: 0.95rem; }
.vs-row + .vs-row { box-shadow: 0 -1px 0 var(--line-on-mint); }
.vs-row span { font-size: 0.8rem; font-weight: 600; color: var(--muted-on-mint); }
.vs-row b { font-family: var(--f-display); font-weight: 700; font-size: 1rem; }
.vs-us { background: linear-gradient(155deg, var(--forest-2), var(--forest-deep)); border-color: transparent; color: #FFFFFF; }
.vs-us h3 { color: #FFFFFF; }
.vs-us .vs-sub { color: rgba(255, 255, 255, 0.82); }
.vs-us .vs-row span { color: rgba(255, 255, 255, 0.7); }
.vs-us .vs-row + .vs-row { box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.2); }
.vs-keep {
  margin-top: 16px; background: rgba(125, 190, 60, 0.16); border: 1px solid rgba(125, 190, 60, 0.45);
  border-radius: 12px; padding: 13px 14px;
  font-family: var(--f-display); font-weight: 800; font-size: 1.1rem; color: var(--leaf-lite); text-align: center;
}
.vs-note { margin-top: 20px; font-size: 0.8rem; color: var(--muted-on-mint); max-width: 80ch; line-height: 1.55; }

/* ============================================================
   FAQ (mint)
   ============================================================ */
.faq-list { max-width: 820px; }
.faq-item { box-shadow: 0 1px 0 var(--line-on-mint); }
.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: 600; font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--f-display); color: var(--leaf-deep); font-weight: 700; font-size: 1.15rem; }
.faq-item[open] summary::after { content: "-"; }
.faq-item .faq-a { padding: 0 2px 22px; color: var(--muted-on-mint); max-width: 70ch; }

/* ============================================================
   FINAL CTA (forest) + FOOTER (deepest forest)
   ============================================================ */
.final-cta { text-align: center; padding: 96px 0; background: var(--forest); color: var(--text-on-forest); }
.final-cta h2 { color: var(--text-on-forest); }
.final-cta .lead { margin: 0 auto 30px; }
.final-cta .eyebrow { color: var(--leaf-lite); }

.site-foot { background: var(--forest-deep); padding: 62px 0 34px; color: var(--text-on-forest); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 36px; margin-bottom: 42px; }
@media (max-width: 960px) { .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: 700; color: #C3D6C6; margin: 0 0 16px; }
.foot-col a { display: block; color: var(--muted-on-forest); text-decoration: none; font-size: 0.92rem; padding: 5px 0; }
.foot-col a:hover { color: var(--leaf-lite); }
.foot-about { color: var(--muted-on-forest); font-size: 0.9rem; max-width: 34ch; }
.foot-note { color: var(--muted-on-forest); 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(--forest); border: 1px solid var(--line-forest); border-radius: 10px;
  color: var(--text-on-forest); padding: 12px 14px; font-size: 16px; font-family: var(--f-body);
}
.news-form input::placeholder { color: var(--faint-on-forest); }
.news-form button { flex-shrink: 0; }
.news-done { color: var(--leaf-lite); font-size: 0.88rem; margin-top: 10px; display: none; }

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

/* ============================================================
   ARTICLE / MANUAL PAGES (course, project, guide; full build)
   ============================================================ */
.crumbs { font-size: 0.84rem; color: var(--muted-on-mint); padding: 20px 0 0; display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.crumbs a { color: var(--muted-on-mint); text-decoration: none; }
.crumbs a:hover { color: var(--forest); }
.crumbs .sep { color: #A9BCA3; }

.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(--card); border: 1px solid var(--line-on-mint); border-radius: 999px;
  padding: 4px 13px; font-size: 0.8rem; font-weight: 600; color: var(--muted-on-mint);
}

.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(--card); border: 1px solid var(--line-on-mint); border-radius: var(--r-card);
  padding: 22px 24px; box-shadow: 0 3px 14px rgba(14, 51, 32, 0.05); margin: 12px 0 6px;
}
.answer-box .ab-label { font-family: var(--f-display); font-weight: 700; color: var(--leaf-deep); 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-on-mint); font-size: 0.94rem; }
.man-table th, .man-table td { text-align: left; padding: 11px 14px; vertical-align: top; }
.man-table th { font-family: var(--f-display); font-weight: 700; font-size: 0.88rem; background: var(--mint-deep); }
.man-table tr + tr td { box-shadow: 0 -1px 0 var(--line-on-mint); }

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

/* ============================================================
   WIDGETS: seasonal offer modal (score pill masthead)
   ============================================================ */
.ob-modal-backdrop {
  display: none; position: fixed; inset: 0; z-index: 90;
  background: rgba(10, 26, 17, 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(--ink-on-mint);
  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;
}
/* modal masthead = the score pill row, 4 lit (this site's registered popup treatment) */
.ob-mast { background: var(--forest); color: var(--text-on-forest); 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: 700; font-size: 0.95rem; }
.ob-score { border: 1px solid var(--line-forest); background: var(--forest-deep); border-radius: 12px; padding: 12px 14px; }
.ob-score-t { font-family: var(--f-body); font-size: 0.82rem; font-weight: 600; color: var(--muted-on-forest); margin-bottom: 9px; }
.ob-score .sp-row .sp { cursor: default; background: transparent; border-color: #35684A; color: var(--faint-on-forest); min-height: 38px; min-width: 42px; }
.ob-score .sp-row .sp.is-on[data-s="4"] { background: var(--s4); border-color: var(--s4); color: #FFFFFF; }
.ob-body { padding: 22px; }
.ob-season { font-family: var(--f-display); font-size: 0.88rem; font-weight: 700; color: var(--leaf-deep); margin-bottom: 8px; }
.ob-body h3 { font-size: 1.35rem; margin-bottom: 6px; }
.ob-body .ob-sub { color: var(--muted-on-mint); 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-body); color: var(--ink-on-mint); width: 100%;
}
.ob-form .hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.ob-fine { font-size: 0.72rem; color: #7E927F; margin-top: 10px; }
.ob-thanks { display: none; padding: 8px 0 4px; color: var(--leaf-deep); font-weight: 600; }
@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: #2F6FB5; }
.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(--forest);
  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(--leaf); border: 2px solid #FFFFFF;
}
.chat-nudge {
  position: fixed; right: 88px; bottom: 30px; z-index: 70; max-width: 230px;
  background: #FFFFFF; color: var(--ink-on-mint); 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-mint);
}
.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-mint);
  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(--forest); color: var(--text-on-forest); 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(--leaf); 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; }
.chat-who span { font-size: 0.74rem; color: var(--muted-on-forest); }
.chat-status { margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: 0.7rem; color: var(--muted-on-forest); flex-shrink: 0; }
.chat-status i { width: 8px; height: 8px; border-radius: 999px; background: var(--leaf); display: inline-block; }
.chat-back { display: none; background: none; border: none; color: var(--text-on-forest); 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(--mint); }
.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-mint); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg-out { background: var(--forest); color: #FFFFFF; border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-compose { display: flex; gap: 8px; padding: 12px; background: var(--mint-deep); }
.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-body); background: #fff; color: var(--ink-on-mint);
}
.chat-compose button {
  width: 44px; height: 44px; border-radius: 999px; border: none; background: var(--forest);
  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, mint base)
   ============================================================ */
.crumbs { font-size: 0.84rem; color: var(--muted-on-mint); 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-mint); text-decoration: none; }
.crumbs a:hover { color: var(--forest-2); }
.crumbs .sep { color: var(--line-strong); }

.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(--card); border: 1px solid var(--line-on-mint); border-radius: 999px; padding: 4px 13px; font-size: 0.8rem; font-weight: 600; color: var(--ink-on-mint); 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(--card); color: var(--ink-on-mint); border: 1px solid var(--line-on-mint); border-radius: var(--r-card); padding: 22px 24px; margin: 12px 0 6px; box-shadow: var(--shadow-1); }
.answer-box .ab-label { font-family: var(--f-display); font-weight: 700; color: var(--forest-2); 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(--ink-on-mint); 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(--forest-2); border-color: var(--forest-2); }

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

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

.svc-strip { background: var(--forest); color: var(--text-on-forest); 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-forest); font-size: 1.3rem; margin: 0 0 8px; }
.svc-strip p { color: var(--muted-on-forest); margin: 0; font-size: 0.95rem; }
.svc-strip .btns { display: flex; flex-direction: column; gap: 10px; }
.svc-strip .btn-leaf { background: var(--leaf); color: var(--forest-deep); }
.svc-strip .btn-ghost { color: var(--text-on-forest); border-color: rgba(238, 244, 236, 0.34); }
.svc-strip .btn-ghost:hover { border-color: var(--leaf-lite); color: var(--leaf-lite); }

.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(--ink-on-mint); font-family: var(--f-display); }
.related a:hover { border-color: var(--forest-2); color: var(--forest-2); }


/* 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; }

/* course index: labels vary in length, so these chips must wrap on a phone
   (.code-chip is nowrap by design for real course codes) */
#course-index .code-chip { white-space: normal; max-width: 100%; }


/* 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: #15452A; }
.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 #15452A; 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: #15452A; opacity: 0; transform: translate(-4px, 4px); transition: opacity 0.18s ease, transform 0.18s ease; }
.crs-card:hover { border-color: rgba(21, 69, 42, 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: #15452A; background: rgba(21, 69, 42, 0.1); border: 1px solid rgba(21, 69, 42, 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: #15452A; }
.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: #15452A; }
.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); }
