/* =========================================================
   Capital Wake - editorial design system
   Institutional, photographic, flat. Modelled on cfainstitute.org.
   Serif display (Source Serif 4) + sans UI (Source Sans 3).
   ========================================================= */

:root {
  /* Brand - Wall Street Oasis palette (deep blue + bright blue) */
  --navy:        #0B405A;   /* WSO deep blue - primary */
  --navy-700:    #0E4A68;
  --navy-600:    #135A7C;
  --navy-dark:   #083349;
  --navy-deep:   #062536;

  --brass:       #1487C2;   /* WSO blue accent (replaces gold) */
  --brass-soft:  #1B9ED9;   /* bright blue highlight */
  --brass-deep:  #115F86;   /* legible blue for small text on light */

  --blue-link:   #115F86;   /* link blue */

  /* Neutrals (cool, clean) */
  --ink:         #122A38;
  --text:        #38505E;
  --muted:       #647885;
  --line:        #D8E3E9;   /* cool hairline */
  --line-soft:   #E8EFF3;
  --bg:          #F4F8FB;   /* cool off-white */
  --bg-white:    #FFFFFF;
  --bg-alt:      #E9F1F6;   /* cool light blue-grey */
  --bg-alt2:     #DAE7EE;
  --white:       #FFFFFF;

  /* Type */
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans:  "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Radius (sharp / editorial) */
  --r-sm: 2px;
  --r:    3px;
  --r-lg: 3px;

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --header-h: 74px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.62;
  font-size: 16px;   /* single consistent body/paragraph size */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: var(--blue-link); text-decoration: none; }
a:hover { color: var(--navy); }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.16; font-weight: 600; letter-spacing: -0.005em; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 800px; }
.section { padding-block: clamp(54px, 7vw, 96px); }
.section--tight { padding-block: clamp(38px, 5vw, 64px); }
.bg-alt  { background: var(--bg-alt); }
.bg-alt2 { background: var(--bg-alt2); }
.bg-navy { background: var(--navy); color: #C9D6E3; }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }

/* ---------- type helpers ---------- */
.eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brass-deep); margin-bottom: 16px;
}
.bg-navy .eyebrow, .page-hero .eyebrow, .hero .eyebrow { color: var(--brass-soft); }
.display { font-size: clamp(2.6rem, 5.8vw, 4.4rem); line-height: 1.05; letter-spacing: -.015em; font-weight: 600; }
.h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -.01em; }
.h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); }
.lead { font-size: 16px; color: var(--text); line-height: 1.65; font-weight: 400; }
.bg-navy .lead, .page-hero .lead, .hero .lead { color: #C2D0DE; }
.muted { color: var(--muted); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.maxw-60 { max-width: 60ch; }
.maxw-50 { max-width: 50ch; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 30px; } .mt-5 { margin-top: 42px; }

.section-head { max-width: 760px; }
.section-head.center { margin-inline: auto; }
.section-head .lead { margin-top: 18px; }

/* ---------- buttons (square, flat) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: .01em;
  padding: 14px 30px; border-radius: 999px; white-space: nowrap; /* pill, as on cfainstitute.org */
  border: 1px solid transparent; cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary, .btn-blue { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-primary:hover, .btn-blue:hover { background: var(--navy-dark); border-color: var(--navy-dark); color:#fff; }
.btn-gold { background: var(--brass); color: #fff; border-color: var(--brass); }
.btn-gold:hover { background: var(--brass-deep); border-color: var(--brass-deep); color:#fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: #BFC6CE; }
.btn-outline:hover { border-color: var(--navy); background: var(--navy); color:#fff; }
.btn-ghost-light { background: transparent; color:#fff; border-color: rgba(255,255,255,.4); }
.btn-ghost-light:hover { background: #fff; color: var(--navy); border-color:#fff; }
.btn-lg { padding: 16px 34px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: 8px; color: var(--blue-link); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow svg { width: 15px; height: 15px; transition: transform .2s ease; }
.link-arrow:hover { color: var(--navy); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- top utility bar (white, hairline - as on cfainstitute.org) ---------- */
.topbar { background: #fff; color: var(--muted); font-size: 13px; border-bottom: 1px solid var(--line-soft); }
.topbar .container { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 18px; }
.topbar a { color: var(--text); font-weight: 600; }
.topbar a:hover { color: var(--navy); }
.topbar a.on { color: var(--navy); box-shadow: inset 0 -2px 0 var(--brass); padding-bottom: 9px; }
.topbar-links { display: flex; gap: 24px; align-items: center; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand .mark { width: 36px; height: 36px; flex: none; border-radius: 2px; }
.brand .wordmark { display: flex; flex-direction: column; line-height: 1; }
.brand .wordmark b { font-family: var(--serif); color: var(--navy); font-weight: 600; font-size: 20px; letter-spacing: -.01em; white-space: nowrap; }
.brand .wordmark span { color: var(--muted); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; margin-top: 4px; white-space: nowrap; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links .nav-cta { display: none; } /* Register CTA lives in the mobile menu only */
.nav-links > li > a {
  display: inline-flex; align-items:center; padding: 9px 14px;
  color: var(--ink); font-weight: 600; font-size: 15.5px; white-space: nowrap;
}
.nav-links > li > a:hover { color: var(--blue-link); }
.nav-links > li > a.active { color: var(--navy); box-shadow: inset 0 -2px 0 var(--brass); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-signin { font-weight: 600; font-size: 15px; color: var(--navy); }
.nav-signin:hover { color: var(--blue-link); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 2px; background:#fff; align-items:center; justify-content:center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content:""; display:block; width: 20px; height: 2px; background: var(--navy); position: relative; transition: .25s; }
.nav-toggle span::before { position:absolute; top:-6px; } .nav-toggle span::after { position:absolute; top:6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top:0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { top:0; transform: rotate(-45deg); }

/* ---------- home hero (editorial + photo) ---------- */
.hero { background: var(--navy); color: #fff; border-bottom: 3px solid var(--brass); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 540px; }
.hero-text { display: flex; flex-direction: column; justify-content: center; padding-block: clamp(52px, 7vw, 96px); padding-right: clamp(28px, 5vw, 76px); }
.hero h1 { color:#fff; }
.hero .lead { margin-top: 22px; max-width: 40ch; }
.hero .btn-row { margin-top: 36px; }
.hero-photo {
  background: var(--navy-dark) center/cover no-repeat;
  position: relative;
}
.hero-photo::after { content:""; position:absolute; inset:0; background: linear-gradient(90deg, var(--navy) 0%, rgba(16,42,67,.55) 28%, rgba(16,42,67,.12) 100%); }
.hero-link-light { color:#E7EEF5; font-weight:600; border-bottom:1px solid rgba(255,255,255,.5); padding-bottom:2px; display:inline-flex; align-items:center; gap:8px; }
.hero-link-light:hover { color:#fff; border-color:#fff; }
.hero-link-light svg { width:15px; height:15px; }

/* ---------- home hero (CFI-style: white, product-led) ---------- */
.hero2 { background: var(--bg-white); border-bottom: 1px solid var(--line); }
.hero2-grid {
  display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(36px, 6vw, 80px);
  align-items: center; padding-block: clamp(52px, 8vw, 100px);
}
.hero2-text .eyebrow { color: var(--brass-deep); }
.hero2-text h1 { color: var(--ink); max-width: 16ch; }
.hero2-text .lead { margin-top: 22px; max-width: 46ch; color: var(--text); }
.hero2-text .btn-row { margin-top: 34px; gap: 24px; }
.hero2-text .link-arrow { color: var(--navy); }

.hero2-visual { position: relative; padding: 18px 12px; }
.hero-cert { width: 100%; height: auto; display: block; border-radius: 4px; box-shadow: 0 30px 68px rgba(11, 64, 90, .18); }
.mockwin {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 30px 68px rgba(7, 24, 42, .17); overflow: hidden;
}
.mockwin-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.mockwin-bar i { width: 10px; height: 10px; border-radius: 50%; background: #CDD2D9; }
.mockwin-bar span { margin-left: 12px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.mockwin-body { padding: 26px clamp(20px, 2.6vw, 30px) 22px; }
.mw-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--brass-deep); }
.mw-q { font-family: var(--serif); font-size: clamp(1.1rem, 1.6vw, 1.32rem); font-weight: 600; color: var(--ink); margin-top: 12px; line-height: 1.36; }
.mw-opt { display: flex; gap: 12px; align-items: center; border: 1px solid #CFD3D9; border-radius: 4px; padding: 12px 14px; margin-top: 10px; font-size: 14px; color: var(--text); line-height: 1.4; }
.mw-opt b { width: 23px; height: 23px; flex: none; display: grid; place-items: center; border: 1px solid #CFD3D9; border-radius: 50%; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.mw-opt.sel { border-color: var(--navy); background: #F2F6FA; color: var(--ink); box-shadow: inset 3px 0 0 var(--navy); }
.mw-opt.sel b { background: var(--navy); border-color: var(--navy); color: #fff; }
.mw-progress { height: 5px; background: var(--line-soft); border-radius: 999px; margin-top: 20px; overflow: hidden; }
.mw-progress span { display: block; height: 100%; width: 70%; background: var(--brass); }
.mw-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 13px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.mw-timer { background: var(--navy); color: #fff; padding: 4px 11px; border-radius: 999px; font-variant-numeric: tabular-nums; }

.hero-seal {
  position: absolute; top: -10px; right: -8px; width: 116px; height: 116px;
  filter: drop-shadow(0 14px 26px rgba(11, 64, 90, .34));
}
.hero-seal svg { display: block; width: 100%; height: 100%; }

/* honest trust strip */
.hero2-trust { background: var(--bg-alt); border-top: 1px solid var(--line); }
.hero2-trust .container { padding-block: clamp(26px, 3.5vw, 40px); }
.trust-lead { display: block; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); text-align: center; }
.trust-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 22px; }
.trust-stats > div { text-align: center; padding: 0 18px; border-left: 1px solid var(--line); }
.trust-stats > div:first-child { border-left: 0; }
.trust-stats b { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 600; color: var(--navy); display: block; line-height: 1; }
.trust-stats span { display: block; margin-top: 9px; font-size: 13px; color: var(--muted); line-height: 1.45; }

@media (max-width: 880px) {
  .hero2-grid { grid-template-columns: 1fr; gap: 8px; padding-bottom: 30px; }
  .hero2-visual { padding: 30px 6px 6px; max-width: 520px; }
  .hero-seal { width: 96px; height: 96px; top: 4px; }
  .trust-stats { grid-template-columns: 1fr 1fr; gap: 22px 0; }
  .trust-stats > div:nth-child(3) { border-left: 0; }
}
@media (max-width: 460px) {
  .trust-stats { grid-template-columns: 1fr; }
  .trust-stats > div { border-left: 0; padding: 12px 0; border-top: 1px solid var(--line); }
  .trust-stats > div:first-child { border-top: 0; }
}

/* hero facts strip */
.hero-facts { background: var(--navy-deep); }
.hero-facts .container { display: grid; grid-template-columns: repeat(3, 1fr); }
.hero-facts .fact { padding: 26px clamp(16px, 3vw, 36px); border-left: 1px solid rgba(255,255,255,.10); }
.hero-facts .fact:first-child { border-left: 0; padding-left: 0; }
.hero-facts .fact b { font-family: var(--serif); display:block; font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 600; color:#fff; line-height:1; }
.hero-facts .fact span { display:block; margin-top: 9px; font-size: 13.5px; color:#92A4B8; line-height: 1.45; }

/* ---------- interior page hero (photo + overlay) ---------- */
.page-hero { position: relative; background: var(--navy) center/cover no-repeat; color:#fff; border-bottom: 3px solid var(--brass); }
.page-hero::before { content:""; position:absolute; inset:0; background: linear-gradient(90deg, rgba(8,24,42,.93) 0%, rgba(8,24,42,.78) 55%, rgba(8,24,42,.62) 100%); }
.page-hero .container { position: relative; z-index:1; padding-block: clamp(54px, 7vw, 92px); }
.page-hero .crumbs { font-size: 13px; color:#9FB0C2; font-weight:600; letter-spacing:.02em; }
.page-hero .crumbs a { color:#C2D0DE; } .page-hero .crumbs a:hover { color:#fff; }
.page-hero h1 { color:#fff; margin-top: 16px; max-width: 20ch; }
.page-hero .lead { margin-top: 18px; max-width: 58ch; }

/* ---------- stat band (editorial) ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: left; padding: 6px 28px; border-left: 1px solid rgba(255,255,255,.12); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .num { font-family: var(--serif); font-size: clamp(2.1rem, 4vw, 3rem); font-weight: 600; color: var(--navy); letter-spacing: -.01em; line-height:1; }
.bg-navy .stat { border-left-color: rgba(255,255,255,.14); }
.bg-navy .stat .num { color:#fff; }
.stat .num span { color: var(--brass-soft); font-size: .6em; }
.bg-navy .stat .num span { color: #fff; }
.stat .label { margin-top: 12px; font-size: 14px; color: var(--muted); line-height: 1.45; }
.bg-navy .stat .label { color:#9CB0C4; }

/* ---------- cards (flat, ruled) ---------- */
.grid { display: grid; gap: 0; }
.grid-2, .grid-3, .grid-4 { border-top: 1px solid var(--line); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: transparent; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 34px clamp(22px, 2.4vw, 34px) 36px;
}
.grid-3 .card:nth-child(3n), .grid-4 .card:nth-child(4n), .grid-2 .card:nth-child(2n) { border-right: 0; }
.card .ico { color: var(--navy); margin-bottom: 18px; }
.card .ico svg { width: 30px; height: 30px; }
.card .ico.gold { color: var(--brass); }
.card h3 { font-size: 1.24rem; }
.card p { margin-top: 12px; color: var(--text); font-size: 16px; }
.card .link-arrow { margin-top: 18px; font-size: 15px; }
/* card on its own (not in a ruled grid) */
.card.standalone { border: 1px solid var(--line); background:#fff; }

/* ---------- photo cards (cfainstitute.org "Explore our programs" pattern) ---------- */
.pcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(26px, 3.4vw, 44px); }
.pcard { display: block; }
.pcard .ph { aspect-ratio: 16 / 10; background: var(--navy-dark) center/cover no-repeat; }
.pcard h3 { font-size: 1.32rem; margin-top: 22px; }
.pcard p { margin-top: 10px; color: var(--text); font-size: 16px; }
.pcard .link-arrow { margin-top: 16px; font-size: 15px; }

/* ---------- numbered process (editorial) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 32px clamp(22px, 2.4vw, 36px) 8px; border-right: 1px solid var(--line); }
.steps .step:last-child { border-right: 0; }
.step .num-badge {
  font-family: var(--serif); font-size: 2.6rem; font-weight: 600; color: var(--brass);
  line-height: 1; padding-bottom: 16px; margin-bottom: 18px; display: inline-block;
  border-bottom: 2px solid var(--navy);
}
.step h3 { font-size: 1.24rem; }
.step p { margin-top: 12px; color: var(--text); font-size: 16px; }
@media (min-width: 861px) {
  .steps[style*="repeat(4"] .step:nth-child(4) { border-right: 0; }
}

/* ---------- alternating feature rows ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.feature-row > * { min-width: 0; } /* grid items must shrink below content min-width on phones */
.feature-row + .feature-row { margin-top: clamp(48px, 7vw, 88px); }
.feature-row.reverse .fr-media { order: 2; }
.feature-row .fr-body .lead { margin-top: 16px; }
.checklist { margin-top: 24px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.checklist li { display:flex; gap: 14px; align-items:flex-start; color: var(--text); padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.checklist .tick { width: 22px; height: 22px; color: var(--brass); display:grid; place-items:center; flex:none; margin-top:2px; }
.checklist .tick svg { width: 18px; height: 18px; }
.bg-navy .checklist li { color:#C6D3E0; border-bottom-color: rgba(255,255,255,.12); }
.bg-navy .checklist { border-top-color: rgba(255,255,255,.12); }
.bg-navy .checklist .tick { color: var(--brass-soft); }

/* media panel (fact list, flat) */
.fr-media .panel {
  background: var(--navy); color:#fff; padding: 38px clamp(26px, 3vw, 40px);
  border-top: 3px solid var(--brass);
}
.fr-media .panel.light { background:#fff; color: var(--ink); border: 1px solid var(--line); border-top: 3px solid var(--brass); }
.panel .ribbon { display:none; }
.panel .panel-eyebrow { font-family: var(--sans); font-size: 12px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color: var(--brass-soft); }
.panel.light .panel-eyebrow { color: var(--brass-deep); }
.panel .panel-big { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 600; letter-spacing:-.01em; margin-top: 10px; }
.panel .panel-rows { display:grid; gap: 0; }
.panel .panel-rows .pr { display:flex; justify-content: space-between; gap: 14px; padding: 15px 0; border-top: 1px solid rgba(255,255,255,.14); font-size: 15.5px; }
.panel.light .panel-rows .pr { border-top-color: var(--line); }
.panel .panel-rows .pr b { font-weight: 700; font-family: var(--sans); }
.panel.light .panel-rows .pr b { color: var(--navy); }

/* media as photograph */
.fr-media .photo { background: var(--navy-dark) center/cover no-repeat; min-height: 420px; border-top: 3px solid var(--brass); }

/* ---------- curriculum ---------- */
.curric { display:grid; grid-template-columns: repeat(2,1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.curric .topic { display:flex; align-items:flex-start; gap: 18px; padding: 22px 24px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.curric .topic .w { font-family: var(--serif); font-weight:600; color: var(--brass); font-size: 18px; min-width: 30px; line-height: 1.3; }
.curric .topic .nm { font-weight: 600; color: var(--ink); font-family: var(--serif); font-size: 1.12rem; }
.curric .topic .nm small { display:block; font-family: var(--sans); font-weight: 400; color: var(--muted); font-size: 14.5px; margin-top: 4px; line-height: 1.4; }

/* ---------- accordion / FAQ ---------- */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-q {
  width:100%; text-align:left; background:none; border:0; padding: 24px 48px 24px 0;
  font-family: var(--serif); font-size: 1.22rem; font-weight: 600; color: var(--ink); position: relative; line-height:1.4;
}
.acc-q::after {
  content:""; position:absolute; right: 4px; top: 30px; width: 11px; height: 11px;
  border-right: 2px solid var(--brass); border-bottom: 2px solid var(--brass);
  transform: rotate(45deg); transition: transform .25s ease;
}
.acc-item.open .acc-q::after { transform: rotate(-135deg); top: 34px; }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc-a-inner { padding: 0 56px 26px 0; color: var(--text); font-size: 16px; }
.acc-a-inner p + p { margin-top: 12px; }

/* ---------- pricing callout (flat navy) ---------- */
.pricing-callout {
  background: var(--navy); color:#fff; border-top: 3px solid var(--brass);
  padding: clamp(36px, 5vw, 60px);
  display:grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 60px); align-items:center;
}
.pricing-callout h2 { color:#fff; }
.pricing-callout .lead { color:#C2D0DE; }
.price-box { border: 1px solid rgba(255,255,255,.2); padding: 32px; }
.price-box .amt { font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 3.4rem); font-weight: 600; letter-spacing:-.01em; color:#fff; line-height:1; }
.price-box .amt small { font-family: var(--sans); font-size: 1rem; font-weight:600; color:#9CB0C4; }
.price-box .refund-line { margin-top: 16px; display:inline-flex; align-items:center; gap:8px; font-weight:600; font-size: 14px; color:#fff; border:1px solid rgba(255,255,255,.28); padding: 8px 13px; }
.price-box ul { margin-top: 24px; display:grid; gap: 0; }
.price-box li { display:flex; gap: 12px; align-items:flex-start; color:#CBD8E4; font-size: 15.5px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.14); }
.price-box .tick { color: var(--brass-soft); flex:none; font-weight:700; }

/* ---------- cta band ---------- */
.cta-band { background: var(--navy); color:#fff; border-top: 3px solid var(--brass); }
.cta-band .inner { display:flex; align-items:center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.cta-band h2 { color:#fff; max-width: 24ch; }
.cta-band p { color:#B7C4D2; margin-top: 12px; max-width: 48ch; }

/* ---------- prose ---------- */
.prose { color: var(--text); font-size: 16px; }
.prose .h2 { margin-bottom: 6px; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 40px; }
.prose h3 { font-size: 1.28rem; margin-top: 30px; }
.prose p { margin-top: 16px; }
.prose ul.bullets { margin-top: 18px; display:grid; gap: 0; border-top:1px solid var(--line); }
.prose ul.bullets li { padding: 13px 0 13px 24px; position: relative; border-bottom: 1px solid var(--line); }
.prose ul.bullets li::before { content:""; position:absolute; left: 2px; top: 22px; width: 8px; height: 8px; background: var(--brass); }
.prose strong { color: var(--ink); font-weight: 700; }

/* ---------- table ---------- */
.table-wrap { border: 1px solid var(--line); border-top: 3px solid var(--brass); background:#fff; }
table.specs { width: 100%; border-collapse: collapse; font-size: 16px; }
table.specs th, table.specs td { text-align:left; padding: 18px 26px; border-bottom: 1px solid var(--line); }
table.specs th { color: var(--ink); font-weight: 700; font-family: var(--sans); width: 32%; background: var(--bg-alt); }
table.specs tr:last-child td, table.specs tr:last-child th { border-bottom: 0; }

/* ---------- forms ---------- */
.form-card { background:#fff; border: 1px solid var(--line); border-top: 3px solid var(--brass); padding: clamp(26px, 4vw, 42px); }
.field { margin-bottom: 20px; }
.field label { display:block; font-weight: 600; font-size: 14.5px; color: var(--ink); margin-bottom: 8px; }
.field .req { color: #B0392B; }
.field input, .field select, .field textarea {
  width:100%; font-family: inherit; font-size: 16px; color: var(--ink);
  padding: 13px 15px; border: 1px solid #CFD3D9; border-radius: var(--r-sm); background:#fff; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline:none; border-color: var(--navy); box-shadow: 0 0 0 2px rgba(16,42,67,.12); }
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display:grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 8px; }
.form-success { display:none; background:#EAF4EC; border:1px solid #C2DEC9; border-left: 3px solid #2F7A45; color:#1F5E36; padding: 16px 18px; font-weight: 600; margin-bottom: 22px; }
.form-success.show { display:block; }

/* inline employer-code confirmation (register form) */
.emp-inline { display: none; align-items: center; gap: 14px; margin-top: 12px; padding: 13px 16px; background: #EAF4EC; border: 1px solid #C2DEC9; border-left: 3px solid #2F7A45; border-radius: var(--r-sm); }
.emp-inline.show { display: flex; }
.emp-inline .firm-ava { width: 40px; height: 40px; font-size: 13px; }
.emp-inline-txt { flex: 1; min-width: 0; }
.emp-inline-txt b { display: block; color: #1F5E36; font-family: var(--serif); font-size: 1.05rem; font-weight: 600; }
.emp-inline-txt span { display: block; font-size: 12.5px; color: #2C5239; margin-top: 2px; line-height: 1.4; }
.emp-inline-tick { width: 22px; height: 22px; color: #2F7A45; flex: none; }
.emp-inline.bad { background: #FAEDE9; border-color: #EBCDC4; border-left-color: #8C2F23; }
.emp-inline.bad .emp-inline-txt b { color: #7A2A1F; }
.emp-inline.bad .emp-inline-txt span { color: #7A2A1F; }
.emp-inline.bad .emp-inline-tick, .emp-inline.bad img { display: none; }

/* employer field: firm dropdown (left) + code input (right), like a phone country-code field */
.empcode-row { display: flex; gap: 10px; align-items: stretch; }
.firm-select { position: relative; flex: 1 1 auto; min-width: 0; }
.firm-trigger {
  width: 100%; height: 100%; min-height: 50px; display: flex; align-items: center; gap: 11px;
  background: #fff; border: 1px solid #CFD3D9; border-radius: var(--r-sm); padding: 0 12px;
  cursor: pointer; text-align: left; font-family: inherit;
}
.firm-trigger:hover { border-color: var(--navy); }
.firm-select.open .firm-trigger { border-color: var(--navy); box-shadow: 0 0 0 2px rgba(11, 64, 90, .12); }
.firm-trigger-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15.5px; color: var(--ink); font-weight: 500; }
.firm-trigger-name.placeholder { color: var(--muted); font-weight: 400; }
.firm-chev { width: 18px; height: 18px; flex: none; color: var(--muted); transition: transform .2s ease; }
.firm-select.open .firm-chev { transform: rotate(180deg); color: var(--brass); }
.empcode-input { flex: 0 0 96px; width: 96px; text-align: center; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.empcode-input[readonly] { background: var(--bg-alt); color: var(--navy); cursor: default; border-color: var(--line); }

/* monogram avatar */
.firm-ava { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: .02em; overflow: hidden; }
.firm-ava-empty { background: var(--bg-alt2); }
.firm-ava-img { background: #fff; border: 1px solid var(--line); }
.firm-ava img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }

/* dropdown panel */
.combo-panel { display: none; position: absolute; left: 0; top: calc(100% + 6px); z-index: 40; width: 360px; max-width: 86vw; background: #fff; border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 18px 44px rgba(11, 64, 90, .18); }
.firm-select.open .combo-panel { display: block; }
.combo-search-wrap { padding: 10px; border-bottom: 1px solid var(--line); }
.combo-search { width: 100%; padding: 10px 13px; border: 1px solid #CFD3D9; border-radius: var(--r-sm); font-family: inherit; font-size: 14px; }
.combo-search:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 2px rgba(11, 64, 90, .12); }
.combo-list { max-height: 280px; overflow-y: auto; }
.combo-item { display: flex; align-items: center; gap: 11px; padding: 9px 14px; cursor: pointer; border-bottom: 1px solid var(--line-soft); }
.combo-item:last-child { border-bottom: 0; }
.combo-item:hover, .combo-item.active { background: var(--bg-alt); }
.ci-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14.5px; color: var(--ink); font-weight: 500; }
.ci-code { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--brass-deep); background: var(--bg-alt); padding: 3px 9px; border-radius: 999px; flex: none; }
.combo-item:hover .ci-code, .combo-item.active .ci-code { background: #fff; }
.combo-empty { padding: 14px 16px; color: var(--muted); font-size: 14px; }

/* ---------- study pack ---------- */
.study-cover { max-width: 340px; margin-inline: auto; }
.study-cover img { width: 100%; height: auto; display: block; border-radius: 3px; box-shadow: 0 26px 60px rgba(11, 64, 90, .22); }

/* ---------- coaching widget (floating) ---------- */
.coach-fab {
  position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px); z-index: 80;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--brass); color: #fff; border: 0; border-radius: 999px;
  padding: 13px 20px 13px 18px; font-family: var(--sans); font-weight: 600; font-size: 14.5px;
  box-shadow: 0 12px 30px rgba(11, 64, 90, .30); cursor: pointer;
  transition: transform .16s var(--ease, ease), box-shadow .2s ease, background .2s ease;
}
.coach-fab svg { width: 19px; height: 19px; }
.coach-fab:hover { transform: translateY(-2px); background: var(--navy); box-shadow: 0 16px 38px rgba(11, 64, 90, .38); }
@media (max-width: 560px) { .coach-fab span { display: none; } .coach-fab { padding: 14px; } .coach-fab svg { width: 22px; height: 22px; } }

/* ---------- modal (coaching + study) ---------- */
body.cw-modal-open { overflow: hidden; }
.cw-modal {
  position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center;
  background: rgba(6, 37, 54, .55); padding: var(--gutter); overflow-y: auto;
}
.cw-modal.open { display: flex; }
.cw-modal-card {
  background: #fff; border-top: 3px solid var(--brass); width: 100%; max-width: 480px;
  padding: clamp(26px, 4vw, 40px); position: relative; box-shadow: 0 30px 80px rgba(6, 37, 54, .4);
  border-radius: 4px; margin: auto;
}
.cw-modal-x {
  position: absolute; top: 12px; right: 14px; background: none; border: 0; font-size: 26px; line-height: 1;
  color: var(--muted); cursor: pointer; padding: 4px 8px;
}
.cw-modal-x:hover { color: var(--navy); }
.cw-modal-eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brass-deep); margin-bottom: 10px; }
.cw-modal-card h3 { font-size: 1.5rem; line-height: 1.25; }
.cw-modal-sub { color: var(--text); font-size: 15px; margin: 12px 0 20px; }
.cw-modal-card .field { margin-bottom: 16px; }
.cw-modal-ok { display: none; background: #EAF4EC; border: 1px solid #C2DEC9; border-left: 3px solid #2F7A45; color: #1F5E36; padding: 16px 18px; font-weight: 600; border-radius: 4px; }
.cw-modal-ok.show { display: block; }

/* ---------- post-purchase banner ---------- */
.cw-topbanner {
  position: fixed; left: 0; right: 0; top: 0; z-index: 120; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; gap: 16px; padding: 13px 20px;
  font-size: 14.5px; font-weight: 500; box-shadow: 0 6px 20px rgba(6, 37, 54, .25);
}
.cw-topbanner button { background: none; border: 0; color: #9FC0D2; font-size: 22px; line-height: 1; cursor: pointer; }
.cw-topbanner button:hover { color: #fff; }

/* aside summary */
.aside-card { background: var(--bg-alt); border: 1px solid var(--line); border-top: 3px solid var(--brass); padding: 32px 30px; position: sticky; top: calc(var(--header-h) + 18px); }
.aside-card h3 { font-size: 1.3rem; }
.aside-card .price { font-family: var(--serif); font-size: 2.1rem; font-weight: 600; color: var(--navy); margin: 8px 0 2px; }
.aside-card ul { margin-top: 20px; display:grid; gap: 0; }
.aside-card li { display:flex; gap: 12px; align-items:flex-start; font-size: 15px; color: var(--text); padding: 11px 0; border-top: 1px solid var(--line); }
.aside-card .tick { color: var(--brass); flex:none; font-weight: 700; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: #93A5B8; padding-top: clamp(48px, 6vw, 72px); }
.footer-grid { display:grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 44px; }
.footer-brand .brand .wordmark b { color:#fff; }
.footer-brand .brand .wordmark span { color:#74879C; }
.footer-brand p { margin-top: 20px; max-width: 36ch; font-size: 15px; color:#8497AC; line-height: 1.6; }
.footer-brand .social { margin-top: 24px; display:flex; gap: 12px; }
.footer-brand .social a { width: 38px; height: 38px; border:1px solid rgba(255,255,255,.14); display:grid; place-items:center; color:#C2D0DE; }
.footer-brand .social a:hover { background: rgba(255,255,255,.08); color:#fff; }
.footer-brand .social svg { width: 16px; height: 16px; }
.footer-col h4 { font-family: var(--sans); color:#fff; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.footer-col ul { margin-top: 18px; display:grid; gap: 12px; }
.footer-col a { color:#93A5B8; font-size: 15px; }
.footer-col a:hover { color:#fff; }
.footer-bottom { margin-top: clamp(40px, 5vw, 60px); border-top: 1px solid rgba(255,255,255,.09); padding-block: 24px; display:flex; align-items:center; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 13px; color:#74879C; }
.footer-bottom .legal { display:flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom a { color:#93A5B8; } .footer-bottom a:hover { color:#fff; }
.footer-disclaimer { font-size: 12px; color:#5E7286; max-width: 78ch; line-height: 1.6; }

/* ---------- reveal (kept solid - no template fade) ---------- */
.reveal, .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* =========================================================
   Craft / motion layer - tactile, smooth, hand-designed feel.
   All movement is subtle and disabled under reduced-motion.
   ========================================================= */
:root { --ease: cubic-bezier(.4, 0, .2, 1); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* tactile buttons - lift + soft shadow on hover, press on active */
.btn { transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .25s var(--ease), transform .14s var(--ease); }
.btn:hover { transform: translateY(-1.5px); }
.btn:active { transform: translateY(0); transition-duration: .05s; }
.btn-gold:hover { box-shadow: 0 10px 24px rgba(20, 135, 194, .30); }
.btn-primary:hover, .btn-blue:hover { box-shadow: 0 10px 24px rgba(16, 42, 67, .24); }
.btn-outline:hover { box-shadow: 0 8px 20px rgba(16, 42, 67, .12); }

/* clear, on-brand keyboard focus */
a:focus-visible, button:focus-visible, .btn:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--brass); outline-offset: 2px;
}

/* sticky header gains a soft shadow once you scroll */
.site-header { transition: box-shadow .3s var(--ease), border-color .3s var(--ease); }
.site-header.scrolled { box-shadow: 0 8px 30px rgba(7, 24, 42, .08); border-bottom-color: transparent; }

/* link-arrow + hero link: smoother arrow nudge */
.link-arrow svg, .hero-link-light svg { transition: transform .25s var(--ease); }
.link-arrow:hover svg, .hero-link-light:hover svg { transform: translateX(4px); }

/* photo cards: framed image zoom + title shift on hover */
.pcard { overflow: hidden; }
.pcard .ph { transition: transform .6s var(--ease); will-change: transform; }
.pcard:hover .ph { transform: scale(1.05); }
.pcard h3 { transition: color .2s var(--ease); }
.pcard:hover h3 { color: var(--navy); }

/* hero product mock: gentle continuous float + depth on hover (desktop only) */
.mockwin { transition: box-shadow .4s var(--ease); }
.hero2-visual:hover .mockwin, .hero2-visual:hover .hero-cert { box-shadow: 0 42px 92px rgba(11, 64, 90, .24); }
@media (prefers-reduced-motion: no-preference) and (min-width: 881px) {
  .hero2-visual { animation: heroFloat 7s ease-in-out infinite; }
  @keyframes heroFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
}

/* curriculum rows + checklist: subtle hover feedback */
.curric .topic { transition: background .2s var(--ease); }
.curric .topic:hover { background: var(--bg-alt); }

/* desktop nav: animated underline replaces the static inset border */
@media (min-width: 861px) {
  .nav-links > li > a { position: relative; transition: color .18s var(--ease); }
  .nav-links > li > a.active { box-shadow: none; }
  .nav-links > li > a::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
    background: var(--brass); border-radius: 2px; transform: scaleX(0); transform-origin: left;
    transition: transform .26s var(--ease);
  }
  .nav-links > li > a:hover::after, .nav-links > li > a.active::after { transform: scaleX(1); }
  .nav-links > li.nav-cta > a::after { display: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 .card:nth-child(2n) { border-right: 0; }
  .grid-4 .card:nth-child(odd) { border-right: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav-toggle { display:flex; }
  .nav-links {
    /* anchored to the sticky header so the topbar height never misaligns it */
    position: absolute; top: 100%; left: 0; right: 0; background:#fff; flex-direction: column;
    align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(7,24,42,.12);
    transform: translateY(-12px); opacity:0; pointer-events:none; transition: .2s ease;
  }
  body.nav-open .nav-links { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links > li > a { padding: 15px 4px; font-size: 16px; border-bottom: 1px solid var(--line-soft); }
  .nav-links > li > a.active { box-shadow: inset 3px 0 0 var(--brass); }
  .nav-links .nav-cta { display: block; padding: 16px 4px 6px; }
  .nav-links > li.nav-cta > a.btn { width: 100%; border-bottom: 0; color: #fff; font-size: 15px; padding: 14px 28px; }
  .nav-links > li.nav-cta > a.btn:hover { color: #fff; }
  .nav-actions .nav-signin { display:none; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-text { padding-right: 0; padding-bottom: 40px; }
  .hero-photo { min-height: 280px; }
  .hero-facts .container { grid-template-columns: 1fr; }
  .hero-facts .fact { border-left: 0; border-top: 1px solid rgba(255,255,255,.10); padding: 20px 0; }
  .hero-facts .fact:first-child { border-top: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-left: 0; padding: 18px 0; }
  .stat:nth-child(even) { border-left: 1px solid rgba(255,255,255,.12); padding-left: 24px; }
  .bg-navy .stat { border-top: 1px solid rgba(255,255,255,.14); }
  .steps, .grid-3, .grid-2, .curric, .pcards { grid-template-columns: 1fr; }
  .steps .step, .grid-3 .card, .grid-2 .card { border-right: 0; border-bottom: 1px solid var(--line); }
  .curric .topic { border-right: 0; }
  .steps[style] { grid-template-columns: 1fr !important; }
  .feature-row { grid-template-columns: 1fr; }
  .feature-row.reverse .fr-media { order: 0; }
  .pricing-callout { grid-template-columns: 1fr; }
  .cta-band .inner { flex-direction: column; align-items: flex-start; }
  .field-row { grid-template-columns: 1fr; }
  .aside-card { position: static; margin-top: 28px; }
  .topbar-links { display:none; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 400px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  /* keep the header to one clean line on phones */
  .brand .wordmark span { display: none; }
  .brand .mark { width: 32px; height: 32px; }
  .nav-actions .btn { padding: 11px 20px; font-size: 14px; }
}
@media (max-width: 430px) {
  /* small phones: the Register button moves into the mobile menu */
  .nav-actions .btn { display: none; }
  .nav-actions { gap: 8px; }
  .nav { gap: 12px; }
  .brand { gap: 10px; }
  .brand .wordmark b { font-size: 18px; }
  .nav-toggle { width: 40px; height: 40px; }
}
@media (max-width: 520px) {
  .grid-4 { grid-template-columns: 1fr; }
  .grid-4 .card { border-right: 0 !important; }
  .btn-row .btn { width: 100%; }
}
