/* ==========================================================================
   Maine Real Estate CE Program — client concept experience for Mattra Inc
   Palette, type, and component shapes taken from mattrainc.com.
   Tokens marked (M) are Mattra's own values; the rest are tints derived
   from them to fill out the scale this page needs.
   ========================================================================== */

:root {
  /* Brand — Mattra green */
  --green-950: #152a1d;  /* derived, deepest ground */
  --green-900: #1e3a28;  /* (M) --green-dark */
  --green-800: #2a5838;  /* (M) --green-forest */
  --green-700: #2a5838;  /* (M) --green-forest */
  --green-600: #316b43;  /* (M) --green-primary */
  --green-500: #3a873f;  /* (M) --green-secondary */
  --green-100: #d5e4da;  /* derived tint, borders and tags */
  --green-50:  #eef5f1;  /* derived wash */

  /* Accent — Mattra gold */
  /* Mattra's own --gold-dark (#c9a020) only reaches 2.5:1 on white, so it
     fails as text. This deepened gold is used wherever gold becomes type or
     an icon on a light background; #c9a020 itself is kept below for fills. */
  --gold-600: #8a6a12;   /* derived from (M) --gold-dark, 5.1:1 on white */
  --gold-dark: #c9a020;  /* (M) --gold-dark, decorative fills only */
  --gold-500: #e7bb3a;   /* (M) --gold-accent */
  --gold-400: #eecc63;   /* derived hover */
  --gold-100: #faeec4;   /* derived light background */
  --gold-50:  #fdf8e8;   /* derived wash */

  /* Neutrals — Mattra's warm grays */
  --gray-900: #2c2c2c;   /* (M) --text-dark */
  --gray-800: #3a3a3a;   /* derived */
  --gray-700: #4a4a4a;   /* (M) --text-body */
  --gray-500: #6b6b6b;   /* (M) --text-light */
  --gray-400: #736c68;   /* derived from (M) --brown-text; clears 4.5:1 on
                            white, --gray-100, --gray-50 and --green-50 alike */
  --gray-300: #cbd3d6;   /* derived */
  --gray-200: #e2e8f0;   /* (M) --border-light */
  --gray-100: #f3f6f7;   /* (M) --light-gray */
  --gray-50:  #f8f9fa;   /* (M) --off-white */
  --white:    #ffffff;   /* (M) */
  --brown:    #706460;   /* (M) --brown-text */

  /* Type — Mattra pairs a display serif with Montserrat for everything else */
  --font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-heading: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Montserrat', 'Segoe UI', Arial, sans-serif;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Radii — Mattra uses 8 / 12 / 16 */
  --r-sm: 6px;
  --r-md: 8px;    /* (M) --radius */
  --r-lg: 12px;   /* (M) --radius-full, their button radius */
  --r-xl: 16px;   /* (M) --radius-lg, their card radius */
  --r-2xl: 24px;
  --r-full: 9999px;

  /* Shadows — (M) scale, warmed to the green ground */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .06);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, .06), 0 1px 2px rgba(30, 58, 40, .05);
  --shadow-lg: 0 4px 20px rgba(0, 0, 0, .10);
  --shadow-xl: 0 12px 40px rgba(0, 0, 0, .14);
  --shadow-2xl: 0 30px 70px rgba(21, 42, 29, .28);

  --container: 1280px;  /* (M) --max-width */
  --nav-h: 72px;

  --ease: cubic-bezier(.25, .46, .45, .94);  /* (M) --transition easing */
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--gray-700);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
a { color: var(--green-600); text-decoration: none; }
a:hover { color: var(--green-500); }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--green-900);
  margin: 0 0 var(--space-md);
  line-height: 1.2;
}
/* Display scale uses DM Serif Display, which ships at weight 400 only. */
h1 { font-family: var(--font-display); font-size: clamp(2.3rem, 1.4rem + 3.5vw, 3.75rem); font-weight: 400; line-height: 1.1; letter-spacing: -.012em; text-wrap: balance; }
h2 { font-family: var(--font-display); font-size: clamp(1.85rem, 1.2rem + 2.2vw, 2.75rem); font-weight: 400; line-height: 1.16; letter-spacing: -.01em; text-wrap: balance; }
h3 { font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); font-weight: 700; letter-spacing: -.005em; }
h4 { font-size: 1.0625rem; font-weight: 700; }

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--gold-500); color: var(--green-900);
  padding: 12px 20px; font-weight: 600; border-radius: 0 0 var(--r-md) 0;
}
.skip-link:focus { left: 0; }

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: currentColor;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.ico--sm { width: 18px; height: 18px; stroke-width: 2; }
.ico--lg { width: 30px; height: 30px; stroke-width: 1.6; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container--narrow { max-width: 900px; }

.sec { padding-block: clamp(64px, 4rem + 4vw, 118px); position: relative; }
.sec--gray { background: var(--gray-50); }
/* Mattra's dark ground is linear-gradient(135deg, green-dark, green-primary). */
.sec--dark {
  background:
    radial-gradient(120% 90% at 88% 0%, rgba(58,135,63,.30) 0%, rgba(58,135,63,0) 58%),
    linear-gradient(135deg, var(--green-950) 0%, var(--green-900) 46%, var(--green-800) 100%);
  color: rgba(255,255,255,.82);
}
.sec--dark h2, .sec--dark h3, .sec--dark h4 { color: var(--white); }
.sec--dark .lede { color: rgba(255,255,255,.78); }

/* ---------- Section heads ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 11.5px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--green-600);
  margin: 0 0 12px; display: flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--gold-500); border-radius: 2px; flex: none;
}
.sec--dark .eyebrow { color: var(--gold-500); }
.sec--dark .eyebrow::before { background: rgba(231,187,58,.55); }

.sec-head { max-width: 760px; margin-bottom: clamp(36px, 2rem + 2vw, 60px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }
.lede { font-size: clamp(1rem, .96rem + .25vw, 1.1875rem); color: var(--gray-700); max-width: 68ch; }
.sec-head--center .lede { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-size: 16px; font-weight: 600; line-height: 1;
  padding: 15px 28px; border-radius: var(--r-md); border: 2px solid transparent;
  cursor: pointer; transition: all .22s var(--ease); white-space: nowrap;
}
.btn--primary {
  background: var(--gold-500); color: var(--green-900);
  box-shadow: 0 2px 10px rgba(231,187,58,.34);
}
.btn--primary:hover { background: var(--gold-400); color: var(--green-900); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(231,187,58,.4); }
.btn--ghost-light { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.38); color: var(--white); }
.btn--ghost-light:hover { background: var(--white); border-color: var(--white); color: var(--green-900); transform: translateY(-2px); }
.btn--lg { padding: 18px 36px; font-size: 17px; }

/* ---------- Nav ---------- */
.progressbar {
  position: fixed; inset: 0 auto auto 0; height: 3px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--gold-500), var(--green-500));
  z-index: 90; will-change: transform;
}

/* Mattra's header is a white sticky bar, so this one is too. */
.nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 80;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gray-200);
  transition: background .3s var(--ease), height .3s var(--ease), box-shadow .3s var(--ease);
}
.nav.is-stuck { height: 64px; box-shadow: 0 4px 20px rgba(0,0,0,.10); background: rgba(255,255,255,.98); }
.nav-inner { height: 100%; display: flex; align-items: center; gap: 20px; }

.brand { display: flex; align-items: center; gap: 14px; color: var(--gray-900); }
.brand:hover { color: var(--gray-900); }

/* Mattra's own logo. The artwork is dark on transparent, so any placement on
   a green surface uses the --light variant to knock it out to white. */
.brand-logo { display: block; height: 38px; width: auto; flex: none; transition: height .3s var(--ease); }
.nav.is-stuck .brand-logo { height: 32px; }
.brand-logo--light { filter: brightness(0) invert(1); }

.brand-divider { width: 1px; height: 26px; background: var(--gray-300); flex: none; }
.footer .brand-divider { background: rgba(255,255,255,.24); }
.brand-sub {
  font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--green-600); line-height: 1.45; white-space: nowrap;
}
.brand-sub .line2 { display: block; }
@media (max-width: 430px) { .brand-divider, .nav .brand-sub { display: none; } }

.nav-links { display: none; align-items: center; gap: 2px; margin-left: auto; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--brown);
  padding: 9px 11px; border-radius: var(--r-sm); position: relative; transition: color .18s var(--ease);
}
.nav-links a:hover { color: var(--green-600); }
.nav-links a.is-active { color: var(--green-600); font-weight: 600; }
.nav-links a.is-active::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px;
  height: 2px; background: var(--gold-500); border-radius: 2px;
}
.nav-toggle {
  margin-left: auto; display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: var(--r-md);
  background: var(--green-50); border: 1px solid var(--green-100);
  color: var(--green-700); cursor: pointer;
}
.nav-toggle .ico--close { display: none; }
.nav-toggle[aria-expanded="true"] .ico--open { display: none; }
.nav-toggle[aria-expanded="true"] .ico--close { display: block; }

.nav-panel {
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 79;
  background: var(--white); border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 12px 40px rgba(0,0,0,.14);
  padding: 8px 0 18px; display: none; max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
}
.nav-panel.is-open { display: block; }
.nav-panel a {
  display: flex; align-items: center; justify-content: space-between;
  color: var(--gray-700); padding: 13px 24px; font-weight: 500; font-size: 15px;
  border-bottom: 1px solid var(--gray-100);
}
.nav-panel a:hover { color: var(--green-600); background: var(--green-50); }
.nav-panel a .ico { color: var(--gold-600); }

@media (min-width: 1100px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .nav-panel { display: none !important; }
}

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(20px); }
.js [data-reveal].is-in {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  padding-top: calc(var(--nav-h) + clamp(48px, 3rem + 3vw, 92px));
  padding-bottom: clamp(56px, 3rem + 4vw, 104px);
  background:
    radial-gradient(90% 70% at 80% 8%, rgba(58,135,63,.34) 0%, rgba(58,135,63,0) 60%),
    radial-gradient(70% 60% at 0% 100%, rgba(21,42,29,.34) 0%, rgba(21,42,29,0) 62%),
    linear-gradient(135deg, var(--green-900) 0%, var(--green-600) 100%);
  color: rgba(255,255,255,.84);
}
.hero-grid-lines {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(70% 60% at 50% 34%, #000 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 34%, #000 0%, transparent 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; gap: clamp(40px, 3rem + 3vw, 72px); align-items: center;
}
.hero-inner > * { min-width: 0; }
.hero h1 { color: var(--white); max-width: 100%; overflow-wrap: break-word; }
.hero h1 .accent { color: var(--gold-500); position: relative; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2);
  color: var(--white); padding: 8px 16px 8px 12px; border-radius: var(--r-full);
  font-size: 12.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(231,187,58,.22);
}
/* Scoped to unclassed paragraphs: a bare `.parent p` selector outranks the
   class rules on `<p class="...">` children and silently resets their size. */
.hero-copy > p:not([class]) { font-size: clamp(1rem, .95rem + .4vw, 1.1875rem); color: rgba(255,255,255,.8); max-width: 60ch; }
.hero-copy p .em { color: var(--white); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* Hero transformation band (full width, below both hero columns) */
.transform-band {
  position: relative; z-index: 2;
  margin-top: clamp(46px, 3rem + 2vw, 74px);
  padding-top: clamp(28px, 2rem + 1vw, 40px);
  border-top: 1px solid rgba(255,255,255,.14);
}
.transform-label {
  font-family: var(--font-body); font-size: 12px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.5);
  text-align: center; margin: 0 0 clamp(26px, 2rem + 1vw, 38px);
}

.transform-steps { display: grid; grid-template-columns: 1fr; gap: 34px 0; }
@media (min-width: 620px) { .transform-steps { grid-template-columns: 1fr 1fr; gap: 40px 0; } }
@media (min-width: 1000px) { .transform-steps { grid-template-columns: repeat(4, 1fr); gap: 0; } }

.tstep { position: relative; text-align: center; padding-inline: 14px; }
.tstep-num {
  display: block; font-family: var(--font-heading); font-size: 11px; font-weight: 700;
  letter-spacing: .16em; line-height: 1; color: rgba(255,255,255,.38);
  margin-bottom: 14px; transition: color .45s var(--ease);
}
.tstep-icon {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 18px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.8);
  transition: background .45s var(--ease), border-color .45s var(--ease), color .45s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease);
}
.tstep-icon .ico { width: 27px; height: 27px; }
.tstep-title {
  display: block; font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(1.05rem, .98rem + .35vw, 1.25rem); color: var(--white);
  letter-spacing: -.01em; line-height: 1.3;
}
.tstep-desc {
  display: block; font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,.58);
  margin: 9px auto 0; max-width: 26ch;
}
.tstep.is-lit .tstep-num { color: var(--gold-500); }
.tstep.is-lit .tstep-icon {
  background: var(--gold-500); border-color: var(--gold-500); color: var(--green-900);
  transform: translateY(-4px);
  box-shadow: 0 0 0 8px rgba(231,187,58,.12), 0 12px 28px rgba(231,187,58,.3);
}

@media (min-width: 1000px) {
  .tstep:not(:last-child)::after {
    content: ""; position: absolute; top: 57px; left: calc(50% + 46px); width: calc(100% - 92px); height: 2px;
    background-image: linear-gradient(90deg, rgba(255,255,255,.34) 46%, rgba(255,255,255,0) 46%);
    background-size: 13px 2px; background-repeat: repeat-x;
    animation: flowline 1.2s linear infinite;
    transition: background-image .45s var(--ease);
  }
  .tstep.is-lit:not(:last-child)::after {
    background-image: linear-gradient(90deg, rgba(231,187,58,.9) 46%, rgba(231,187,58,0) 46%);
  }
}
@keyframes flowline { to { background-position: 13px 0; } }

/* Hero art */
.hero-art { position: relative; }
.hero-scene { display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 60px rgba(0,0,0,.34)); }
.hero-chip {
  position: absolute; background: var(--white); border-radius: var(--r-lg);
  box-shadow: var(--shadow-2xl); padding: 13px 16px; display: flex; gap: 12px; align-items: center;
  border: 1px solid rgba(255,255,255,.7);
  max-width: 66%; pointer-events: none;
}
.hero-chip .chip-icon {
  width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; flex: none;
}
.hero-chip .chip-body { display: block; min-width: 0; max-width: 168px; }
.hero-chip .chip-label { display: block; font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--gray-500); font-weight: 600; line-height: 1.3; }
.hero-chip .chip-value { display: block; font-family: var(--font-heading); font-weight: 700; font-size: 14.5px; color: var(--green-900); line-height: 1.35; margin-top: 2px; }
.hero-chip--a { left: 2%; top: 11%; animation: floaty 7s ease-in-out infinite; }
.hero-chip--b { right: 2%; bottom: 10%; animation: floaty 8.5s ease-in-out .8s infinite; }
.hero-chip--a .chip-icon { background: var(--green-50); color: var(--green-600); }
.hero-chip--b .chip-icon { background: var(--gold-100); color: var(--gold-600); }
.chip-meter { display: block; width: 118px; height: 5px; border-radius: 3px; background: var(--gray-200); margin-top: 8px; overflow: hidden; }
.chip-meter span { display: block; height: 100%; width: 62%; border-radius: 3px; background: linear-gradient(90deg, var(--green-600), var(--green-500)); }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-note {
  position: relative; z-index: 2; margin-top: clamp(40px, 3rem + 2vw, 66px);
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 13.5px; color: rgba(255,255,255,.6); max-width: 70ch;
}
.hero-note .ico { color: var(--gold-500); margin-top: 2px; }

@media (min-width: 1060px) {
  .hero-inner { grid-template-columns: 1.1fr .9fr; }
}

/* ==========================================================================
   Cards
   ========================================================================== */
.card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r-xl);
  padding: 32px; box-shadow: var(--shadow-md);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); border-color: var(--green-100); }
.card h3 { margin-bottom: 10px; }
.card p:not([class]) { font-size: 15.5px; line-height: 1.65; }

.card-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--green-50); color: var(--green-600); margin-bottom: 20px;
  border: 1px solid var(--green-100);
  transition: all .3s var(--ease);
}
.card:hover .card-icon { background: var(--green-600); color: var(--white); border-color: var(--green-600); }
.card--accent .card-icon { background: var(--gold-100); color: var(--gold-600); border-color: #eddc9b; }
.card--accent:hover .card-icon { background: var(--gold-500); color: var(--green-900); border-color: var(--gold-500); }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card-index {
  font-family: var(--font-heading); font-size: 12px; font-weight: 700; letter-spacing: .12em;
  color: var(--green-600); margin-bottom: 14px;
}

/* ==========================================================================
   Opportunity focus note
   ========================================================================== */
.focus-note {
  margin-top: 40px; display: grid; gap: 18px; align-items: start;
  grid-template-columns: auto 1fr;
  background: var(--white); border: 1px solid var(--gray-200); border-left: 4px solid var(--gold-500);
  border-radius: var(--r-lg); padding: 26px 28px; box-shadow: var(--shadow-sm);
}
.focus-note .ico { color: var(--gold-600); }
.focus-note h4 { margin-bottom: 6px; }
.focus-note p { font-size: 15.5px; margin: 0; }

/* ==========================================================================
   Maine CE stats
   ========================================================================== */
.stat-band { display: grid; gap: 20px; grid-template-columns: 1fr; margin-bottom: 44px; }
@media (min-width: 860px) { .stat-band { grid-template-columns: repeat(3, 1fr); } }

.stat {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r-xl);
  padding: 30px 28px; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stat::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--green-600);
}
.stat--core::before { background: var(--gold-500); }
.stat--elective::before { background: var(--green-500); }
.stat-num {
  font-family: var(--font-heading); font-weight: 800; letter-spacing: -.03em;
  font-size: clamp(2.6rem, 1.9rem + 2.6vw, 3.75rem); line-height: 1; color: var(--green-900);
  display: flex; align-items: baseline; gap: 8px;
  margin: 0 0 8px;  /* the inherited 1em would scale with the display size */
}
.stat-num .unit { font-size: .34em; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gray-500); }
.stat-label { font-family: var(--font-heading); font-weight: 700; font-size: 15px; color: var(--green-700); margin: 0 0 10px; }
.stat--core .stat-label { color: var(--gold-600); }
.stat > p:not([class]) { font-size: 14.5px; line-height: 1.6; color: var(--gray-700); margin: 0; }

.hours-viz {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r-xl);
  padding: clamp(24px, 2rem + 1vw, 38px); box-shadow: var(--shadow-md);
}
.hours-viz-head { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: baseline; justify-content: space-between; margin-bottom: 22px; }
.hours-viz-head h3 { margin: 0; font-size: 1.15rem; }
.hours-legend { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13.5px; color: var(--gray-700); }
.hours-legend span { display: inline-flex; align-items: center; gap: 8px; }
.swatch { width: 13px; height: 13px; border-radius: 4px; flex: none; }
.swatch--core { background: var(--gold-500); }
.swatch--elective { background: var(--green-600); }

.hours-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
@media (min-width: 900px) { .hours-grid { grid-template-columns: repeat(21, 1fr); gap: 6px; } }
.hour-block {
  aspect-ratio: 1 / 1.15; border-radius: var(--r-sm); background: var(--green-600);
  display: grid; place-items: center; color: rgba(255,255,255,.85);
  font-size: 11px; font-weight: 600; font-family: var(--font-heading);
}
.js .hour-block { opacity: 0; transform: scale(.7); }
.js .hour-block.is-on { opacity: 1; transform: none; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.hour-block--core { background: var(--gold-500); color: var(--green-900); }
.hours-foot {
  margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--gray-200);
  font-size: 14.5px; color: var(--gray-700);
}
.hours-foot strong { color: var(--green-900); }

/* ==========================================================================
   Phase One spine
   ========================================================================== */
.phase-layout { display: grid; gap: clamp(36px, 2rem + 3vw, 64px); align-items: start; }
@media (min-width: 980px) { .phase-layout { grid-template-columns: .95fr 1.05fr; } }

.spine { position: relative; padding-left: 46px; }
.spine::before {
  content: ""; position: absolute; left: 15px; top: 10px; bottom: 10px; width: 2px;
  background: var(--gray-200); border-radius: 2px;
}
.spine::after {
  content: ""; position: absolute; left: 15px; top: 10px; width: 2px; border-radius: 2px;
  height: 100%; background: linear-gradient(180deg, var(--gold-500), var(--green-600));
  transition: height .5s var(--ease);
}
.js .spine::after { height: var(--fill, 0%); }
.spine-step { position: relative; padding: 0 0 26px; }
.spine-step:last-child { padding-bottom: 0; }
.spine-dot {
  position: absolute; left: -46px; top: 3px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--gray-300); display: grid; place-items: center;
  color: var(--gray-400); font-size: 12px; font-weight: 700; font-family: var(--font-heading);
  transition: all .35s var(--ease); z-index: 1;
}
.spine-step.is-in .spine-dot { border-color: var(--green-600); color: var(--green-600); }
.spine-step--first .spine-dot,
.spine-step.is-in.spine-step--first .spine-dot { background: var(--gold-500); border-color: var(--gold-500); color: var(--green-900); }
.spine-step--last .spine-dot,
.spine-step.is-in.spine-step--last .spine-dot { background: var(--green-600); border-color: var(--green-600); color: var(--white); }
.spine-title { font-family: var(--font-heading); font-weight: 700; color: var(--green-900); font-size: 1.0625rem; line-height: 1.4; }
.spine-step--first .spine-title { font-size: 1.3rem; letter-spacing: -.01em; }
.spine-note { font-size: 14px; color: var(--gray-500); margin-top: 2px; }

.blueprint-callout {
  margin-top: 34px; border-radius: var(--r-xl); padding: 30px 32px;
  background: linear-gradient(140deg, var(--green-900), var(--green-950));
  color: rgba(255,255,255,.82); box-shadow: var(--shadow-xl); position: relative; overflow: hidden;
}
.blueprint-callout::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 190px; height: 190px; border-radius: 50%;
  background: radial-gradient(circle, rgba(231,187,58,.24) 0%, rgba(231,187,58,0) 68%);
}
.blueprint-callout .ico { color: var(--gold-500); margin-bottom: 14px; }
.blueprint-callout p {
  font-family: var(--font-heading); font-weight: 700; color: var(--white);
  font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem); line-height: 1.35; letter-spacing: -.01em; margin: 0;
  position: relative; z-index: 1;
}

/* ==========================================================================
   Flagship course card
   ========================================================================== */
.course-layout { display: grid; gap: clamp(32px, 2rem + 2vw, 52px); align-items: start; }
@media (min-width: 1000px) { .course-layout { grid-template-columns: 1.02fr .98fr; } }

.course-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r-2xl);
  overflow: hidden; box-shadow: var(--shadow-xl);
}
.course-thumb { position: relative; background: linear-gradient(150deg, #316b43, var(--green-950)); }
.course-thumb svg { display: block; width: 100%; height: auto; }
.course-badge {
  position: absolute; left: 22px; top: 22px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.94); color: var(--green-900);
  font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  padding: 8px 14px; border-radius: var(--r-full);
}
.course-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); }
.course-body { padding: clamp(26px, 2rem + 1vw, 36px); }
.course-kicker { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--green-600); margin-bottom: 10px; }
.course-card h3 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.85rem); margin-bottom: 6px; }
.course-sub { font-size: 1.0625rem; color: var(--gray-700); margin-bottom: 22px; }
.course-meta { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 22px; border-bottom: 1px solid var(--gray-200); }
.meta-pill {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  color: var(--green-800); background: var(--green-50); border: 1px solid var(--green-100);
  padding: 8px 14px; border-radius: var(--r-full);
}
.meta-pill .ico { width: 15px; height: 15px; color: var(--green-600); }
.meta-pill--pending { background: var(--gold-50); border-color: #ecd98f; color: var(--gold-600); }
.meta-pill--pending .ico { color: var(--gold-600); }

.themes { margin-top: 24px; }
.themes h4 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 16px; }
.themes li {
  display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start;
  padding: 9px 0; font-size: 15px; color: var(--gray-700); border-bottom: 1px dashed var(--gray-200);
}
.themes li:last-child { border-bottom: 0; }
.themes li .ico { color: var(--green-600); width: 20px; height: 20px; margin-top: 2px; }

.boundary-card {
  border-radius: var(--r-xl); padding: 28px 30px; background: var(--white);
  border: 1px solid var(--gray-200); border-top: 4px solid var(--green-600); box-shadow: var(--shadow-md);
  margin-bottom: 24px;
}
.boundary-card h4 { display: flex; align-items: center; gap: 10px; color: var(--green-900); margin-bottom: 14px; font-size: 1.0625rem; }
.boundary-card .ico { color: var(--green-600); }
.boundary-list li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; padding: 8px 0; font-size: 15px; }
.boundary-list .mark { font-weight: 700; line-height: 1.6; }
.boundary-list .mark--no { color: #b9432f; }
.boundary-list .mark--yes { color: #1f7a4d; }

.experience-strip {
  background: linear-gradient(140deg, var(--green-900), var(--green-950));
  border-radius: var(--r-xl); padding: 30px; color: rgba(255,255,255,.8); box-shadow: var(--shadow-xl);
}
.experience-strip h4 { color: var(--white); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 20px; opacity: .7; }
.xp-track { display: grid; gap: 0; }
.xp-step { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: center; position: relative; padding: 9px 0; }
.xp-step::after {
  content: ""; position: absolute; left: 16px; top: 100%; height: 9px; width: 2px; background: rgba(255,255,255,.18);
}
.xp-step:last-child::after { display: none; }
.xp-num {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); color: var(--white);
}
.xp-num .ico { width: 17px; height: 17px; }
.xp-step:last-child .xp-num { background: var(--gold-500); border-color: var(--gold-500); color: var(--green-900); }
.xp-label { font-family: var(--font-heading); font-weight: 600; font-size: 15px; color: var(--white); }

/* ==========================================================================
   Converge (three roles)
   ========================================================================== */
.roles { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .roles { grid-template-columns: repeat(3, 1fr); } }
.role {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-xl); padding: 30px; backdrop-filter: blur(6px);
  transition: all .3s var(--ease);
}
.role:hover { background: rgba(255,255,255,.09); border-color: rgba(231,187,58,.42); transform: translateY(-4px); }
.role-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(231,187,58,.14); border: 1px solid rgba(231,187,58,.32); color: var(--gold-500);
  margin-bottom: 20px;
}
.role h3 { font-size: 1.15rem; margin-bottom: 12px; }
.role p { font-size: 14.5px; color: rgba(255,255,255,.72); margin: 0; }

.converge { margin-top: 8px; }
.converge-svg { display: block; width: 100%; height: 92px; }
.converge-svg path { stroke: rgba(255,255,255,.28); stroke-width: 2; fill: none; }
.converge-svg path.is-flowing {
  stroke: var(--gold-500); stroke-dasharray: 6 10; animation: dashflow 1.6s linear infinite;
  opacity: .9;
}
@keyframes dashflow { to { stroke-dashoffset: -32; } }

.converge-target {
  margin-inline: auto; max-width: 640px; text-align: center;
  background: var(--gold-500); color: var(--green-900);
  border-radius: var(--r-xl); padding: 26px 32px; box-shadow: 0 22px 50px rgba(231,187,58,.24);
}
.converge-target .label { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .72; }
.converge-target .title {
  font-family: var(--font-heading); font-weight: 800; letter-spacing: -.015em;
  font-size: clamp(1.2rem, 1rem + .9vw, 1.7rem); line-height: 1.2; margin-top: 6px;
}
.converge-note { text-align: center; max-width: 62ch; margin: 30px auto 0; font-size: 15.5px; color: rgba(255,255,255,.72); }

/* ==========================================================================
   Roadmap
   ========================================================================== */
.roadmap { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1040px) { .roadmap { grid-template-columns: 268px 1fr; gap: 56px; } }

.rail { display: none; position: sticky; top: calc(var(--nav-h) + 28px); }
@media (min-width: 1040px) { .rail { display: block; } }
.rail-group + .rail-group { margin-top: 22px; }
.rail-group-title {
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gray-400); margin: 0 0 8px; padding-left: 12px;
}
.rail-item {
  display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: center;
  padding: 7px 12px; border-radius: var(--r-md); color: var(--gray-500);
  font-size: 14.5px; font-weight: 500; border-left: 2px solid transparent;
  transition: all .25s var(--ease);
}
.rail-item:hover { color: var(--green-700); background: var(--white); }
.rail-num { font-family: var(--font-heading); font-size: 12px; font-weight: 700; color: var(--gray-400); letter-spacing: .04em; }
.rail-item.is-active {
  color: var(--green-900); font-weight: 600; background: var(--white);
  border-left-color: var(--gold-500); box-shadow: var(--shadow-sm);
}
.rail-item.is-active .rail-num { color: var(--green-600); }

.stages { position: relative; padding-left: 0; }
.stage {
  position: relative; display: grid; grid-template-columns: 1fr; gap: 0;
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r-xl);
  padding: 26px 28px; margin-bottom: 16px; box-shadow: var(--shadow-sm);
  transition: all .35s var(--ease);
}
.stage::before {
  content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 3px;
  background: var(--gray-200); border-radius: 0 3px 3px 0; transition: background .35s var(--ease);
}
.stage.is-active { border-color: var(--green-100); box-shadow: var(--shadow-lg); transform: translateX(4px); }
.stage.is-active::before { background: var(--gold-500); }
.stage-head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; flex-wrap: wrap; }
.stage-num {
  font-family: var(--font-heading); font-weight: 800; font-size: 13px; letter-spacing: .1em;
  color: var(--green-600); background: var(--green-50); border: 1px solid var(--green-100);
  padding: 5px 10px; border-radius: var(--r-sm);
}
.stage.is-active .stage-num { background: var(--green-600); color: var(--white); border-color: var(--green-600); }
.stage h3 { margin: 0; font-size: 1.2rem; }
.stage-icon { margin-left: auto; color: var(--gray-300); transition: color .35s var(--ease); }
.stage.is-active .stage-icon { color: var(--green-500); }
.stage p:not([class]) { font-size: 15.5px; margin: 0; }

.stage--milestone { background: linear-gradient(140deg, var(--green-900), var(--green-950)); border-color: transparent; }.stage--milestone h3 { color: var(--white); }
.stage--milestone p { color: rgba(255,255,255,.78); }
.stage--milestone .stage-num { background: rgba(255,255,255,.12); color: var(--white); border-color: rgba(255,255,255,.24); }
.stage--milestone.is-active .stage-num { background: var(--gold-500); color: var(--green-900); border-color: var(--gold-500); }.stage--milestone .stage-icon { color: var(--gold-500); }

/* ==========================================================================
   Compliance dashboard
   ========================================================================== */

/* 14 items never fill the last row, so trim the borders that would otherwise
   dangle into the empty cell. */

/* These are spans; without display:block they run together on one line and
   the margin-top below is silently ignored. */


/* ==========================================================================
   LMS mockup
   ========================================================================== */
.browser {
  border-radius: var(--r-xl); overflow: hidden; background: var(--white);
  box-shadow: var(--shadow-2xl); border: 1px solid rgba(255,255,255,.16);
}
.browser-bar {
  display: flex; align-items: center; gap: 14px; padding: 12px 16px;
  background: var(--gray-100); border-bottom: 1px solid var(--gray-200);
}
.browser-dots { display: flex; gap: 7px; flex: none; }
.browser-dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--gray-300); display: block; }
.browser-url {
  flex: 1; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r-full);
  padding: 6px 14px; font-size: 12.5px; color: var(--gray-500); display: flex; align-items: center; gap: 8px;
  min-width: 0;
}
.browser-url .ico { width: 13px; height: 13px; color: #1f7a4d; flex: none; }
.browser-url span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.lms { display: grid; grid-template-columns: 1fr; background: var(--white); }
@media (min-width: 860px) { .lms { grid-template-columns: 232px 1fr 216px; } }

.lms-side { background: var(--gray-50); border-right: 1px solid var(--gray-200); padding: 20px 18px; }
.lms-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; padding-bottom: 16px; border-bottom: 1px solid var(--gray-200); margin-bottom: 16px; }
.lms-logo { display: block; height: 24px; width: auto; }
.lms-brand .txt { font-family: var(--font-heading); font-weight: 700; font-size: 11.5px; color: var(--green-800); line-height: 1.3; letter-spacing: .01em; }
.lms-side-label { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-400); font-weight: 700; margin-bottom: 10px; }
.lms-mod { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: center; padding: 8px 8px; border-radius: var(--r-sm); font-size: 12.5px; color: var(--gray-700); }
.lms-mod .ico { width: 15px; height: 15px; color: var(--gray-300); }
.lms-mod.done .ico { color: #2f9e63; }
.lms-mod.current { background: var(--green-50); color: var(--green-900); font-weight: 600; }
.lms-mod.current .ico { color: var(--green-600); }
.lms-mod.locked { color: var(--gray-400); }

.lms-main { padding: clamp(20px, 1.5rem + 1vw, 30px); min-width: 0; }
.lms-crumb { font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--green-600); font-weight: 600; }
.lms-main .lms-title { font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.05rem, .95rem + .5vw, 1.35rem); line-height: 1.3; margin: 8px 0 16px; color: var(--green-900); }
.lms-progress { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.lms-progress .track { flex: 1; height: 7px; border-radius: 4px; background: var(--gray-200); overflow: hidden; }
.lms-progress .track i { display: block; height: 100%; width: 62%; border-radius: 4px; background: linear-gradient(90deg, var(--green-600), var(--green-500)); transition: width 1.4s var(--ease); }
.js .lms-progress .track i { width: 0; }
.js .lms-progress.is-on .track i { width: 62%; }
.lms-progress .pct { font-family: var(--font-heading); font-weight: 700; font-size: 12.5px; color: var(--green-700); flex: none; }

.lms-media {
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--gray-200); margin-bottom: 18px;
  background: linear-gradient(150deg, #2a5838, var(--green-950));
}
.lms-media svg { display: block; width: 100%; height: auto; }
.lms-lines { display: grid; gap: 9px; margin-bottom: 20px; }
.lms-lines i { display: block; height: 9px; border-radius: 5px; background: var(--gray-100); }
.lms-lines i:nth-child(1) { width: 96%; }
.lms-lines i:nth-child(2) { width: 88%; }
.lms-lines i:nth-child(3) { width: 62%; }
.lms-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.lms-btn {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  padding: 10px 18px; border-radius: var(--r-md);
}
.lms-btn--primary { background: var(--green-600); color: var(--white); }
.lms-btn--ghost { border: 1px solid var(--gray-300); color: var(--gray-700); }
.lms-timer { margin-left: auto; font-size: 12px; color: var(--gray-500); display: inline-flex; align-items: center; gap: 7px; }
.lms-timer .ico { width: 14px; height: 14px; }

.lms-rail { border-left: 1px solid var(--gray-200); padding: 22px 18px; background: var(--white); }
.lms-ring { display: grid; place-items: center; margin-bottom: 8px; }
.lms-ring svg { width: 116px; height: 116px; }
.ring-bg { fill: none; stroke: var(--gray-200); stroke-width: 9; }
.ring-fg {
  fill: none; stroke: var(--green-600); stroke-width: 9; stroke-linecap: round;
  stroke-dasharray: 302; stroke-dashoffset: 115; transform: rotate(-90deg); transform-origin: 50% 50%;
  transition: stroke-dashoffset 1.6s var(--ease);
}
.js .ring-fg { stroke-dashoffset: 302; }
.js .lms-ring.is-on .ring-fg { stroke-dashoffset: 115; }
.ring-num { font-family: var(--font-heading); font-weight: 800; font-size: 22px; fill: var(--green-900); stroke: none; }
.ring-cap { font-family: var(--font-body); font-size: 9px; fill: var(--gray-500); stroke: none; letter-spacing: .09em; }
.lms-rail-title { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-400); font-weight: 700; margin: 16px 0 10px; }
.lms-fact { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; padding: 8px 0; border-bottom: 1px solid var(--gray-100); }
.lms-fact:last-of-type { border-bottom: 0; }
.lms-fact .k { color: var(--gray-500); }
.lms-fact .v { font-weight: 600; color: var(--green-900); font-family: var(--font-heading); }
.lms-flag {
  margin-top: 14px; background: var(--gold-50); border: 1px solid #ecd98f; border-radius: var(--r-md);
  padding: 11px 12px; font-size: 11.5px; color: var(--gold-600); font-weight: 600; line-height: 1.45;
  display: flex; gap: 8px; align-items: flex-start;
}
.lms-flag .ico { width: 14px; height: 14px; flex: none; margin-top: 1px; }

/* Learner journey */
.journey { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; margin-top: clamp(38px, 2rem + 2vw, 56px); }
.j-step {
  flex: 1 1 158px; display: flex; flex-direction: column; gap: 8px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-lg); padding: 18px 16px; transition: all .3s var(--ease); position: relative;
}
.j-step:hover { background: rgba(255,255,255,.1); border-color: rgba(231,187,58,.4); transform: translateY(-3px); }
.j-step .ico { color: var(--gold-500); width: 20px; height: 20px; }
.j-step .j-n { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; color: rgba(255,255,255,.42); }
.j-step .j-t { font-family: var(--font-heading); font-weight: 600; font-size: 13.5px; color: var(--white); line-height: 1.35; }
.j-step--final { background: rgba(231,187,58,.14); border-color: rgba(231,187,58,.46); }

.req-cards { display: grid; gap: 20px; grid-template-columns: 1fr; margin-top: clamp(34px, 2rem + 2vw, 50px); }
@media (min-width: 800px) { .req-cards { grid-template-columns: 1fr 1fr; } }
.req {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-xl); padding: 26px 28px; display: grid; grid-template-columns: auto 1fr; gap: 18px;
}
.req .ico { color: var(--gold-500); }
.req h4 { color: var(--white); margin-bottom: 6px; font-size: 1rem; }
.req p { font-size: 14.5px; color: rgba(255,255,255,.72); margin: 0; }

/* ==========================================================================
   Behind the scenes
   ========================================================================== */


/* ==========================================================================
   Marketing / trust chain
   ========================================================================== */
.pullquote {
  max-width: 900px; margin: 0 auto clamp(38px, 2rem + 2vw, 56px);
  text-align: center; position: relative; padding-top: 26px;
}
.pullquote .qmark {
  font-family: var(--font-heading); font-size: 96px; line-height: .6; color: rgba(231,187,58,.32);
  display: block; margin-bottom: 8px;
}
.pullquote blockquote {
  margin: 0; font-family: var(--font-heading); font-weight: 700; color: var(--white);
  font-size: clamp(1.3rem, 1.05rem + 1.4vw, 2.1rem); line-height: 1.34; letter-spacing: -.015em;
}
.pullquote blockquote .hi { color: var(--gold-500); }

.guard-note {
  max-width: 760px; margin: clamp(34px, 2rem + 2vw, 48px) auto 0;
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-lg); padding: 22px 24px; font-size: 14.5px; color: rgba(255,255,255,.72);
}
.guard-note .ico { color: var(--gold-500); }

/* ==========================================================================
   After the course
   ========================================================================== */


/* ==========================================================================
   Bigger vision
   ========================================================================== */
.vision-stack { position: relative; padding-top: 106px; }
.vision-ghosts { position: absolute; inset: 0 0 auto 0; height: 106px; }
.ghost {
  position: absolute; left: 50%; transform: translateX(-50%);
  height: 92px; border-radius: var(--r-xl); background: var(--white);
  border: 1px dashed var(--gray-300); box-shadow: var(--shadow-sm);
  display: flex; align-items: flex-start; justify-content: center; padding-top: 9px;
  font-family: var(--font-heading); font-weight: 600; font-size: 11.5px; color: var(--gray-400);
  letter-spacing: .09em; text-transform: uppercase;
}
.ghost--1 { top: 54px; width: min(584px, 90%); opacity: .9; z-index: 3; }
.ghost--2 { top: 27px; width: min(546px, 82%); opacity: .58; z-index: 2; }
.ghost--3 { top: 0; width: min(508px, 74%); opacity: .32; z-index: 1; }

.active-course-card {
  position: relative; z-index: 4; max-width: 620px; margin: 0 auto;
  background: var(--white); border: 1px solid var(--green-100); border-radius: var(--r-xl);
  box-shadow: var(--shadow-2xl); padding: 30px 32px;
}
.active-course-card .flag {
  display: inline-flex; align-items: center; gap: 8px; background: var(--gold-500); color: var(--green-900);
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 13px; border-radius: var(--r-full); margin-bottom: 16px;
}
.active-course-card h3 { margin-bottom: 6px; }
.active-course-card p { font-size: 15px; color: var(--gray-500); margin: 0; }

.future-topics { margin-top: clamp(52px, 3rem + 3vw, 84px); }
.future-label {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px;
  background: var(--gray-100); border: 1px dashed var(--gray-300); color: var(--gray-500);
  font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  padding: 9px 16px; border-radius: var(--r-full); margin-bottom: 24px;
}
.future-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .future-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .future-grid { grid-template-columns: repeat(3, 1fr); } }
.future-topic {
  display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: center;
  background: var(--white); border: 1px dashed var(--gray-300); border-radius: var(--r-lg);
  padding: 18px 20px; font-family: var(--font-heading); font-weight: 600; font-size: 14.5px; color: var(--gray-500);
  transition: all .3s var(--ease);
}
.future-topic:hover { border-color: var(--green-100); color: var(--green-800); background: var(--green-50); }
.future-topic .ico { width: 19px; height: 19px; color: var(--gray-400); }
.future-topic:hover .ico { color: var(--green-500); }

/* ==========================================================================
   Ecosystem
   ========================================================================== */


/* ==========================================================================
   Success statements
   ========================================================================== */


/* ==========================================================================
   Final CTA
   ========================================================================== */
.final { text-align: center; position: relative; overflow: hidden; }
.final .container { position: relative; z-index: 1; }
.final h2 {
  font-size: clamp(2rem, 1.35rem + 3vw, 3.5rem); font-weight: 800; letter-spacing: -.028em; line-height: 1.1;
  max-width: 18ch; margin-inline: auto; margin-bottom: 26px;
}
.final h2 .line { display: block; }
.final h2 .line--accent { color: var(--gold-500); }
.final p { max-width: 62ch; margin-inline: auto; font-size: clamp(1rem, .96rem + .3vw, 1.125rem); color: rgba(255,255,255,.78); }
.final-meta {
  margin-top: 46px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px;
}
.final-meta span {
  font-size: 12.5px; font-weight: 600; letter-spacing: .05em; color: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.18); border-radius: var(--r-full); padding: 8px 16px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--green-950); color: rgba(255,255,255,.6); padding: 56px 0 34px; font-size: 14px; }
.footer-top { display: grid; gap: 30px; align-items: start; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (min-width: 880px) { .footer-top { grid-template-columns: 1.2fr 1fr; } }.footer h4 { color: var(--white); }
.footer .brand, .footer .brand:hover { color: var(--white); }
/* The nav sets this green for a white bar; on the dark footer it needs gold. */
.footer .brand-sub { color: var(--gold-500); }
.footer h4 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; color: rgba(255,255,255,.55); font-weight: 700; }
.footer p { max-width: 56ch; line-height: 1.65; }
.footer-note {
  margin-top: 26px; font-size: 12.5px; line-height: 1.7; color: rgba(255,255,255,.45);
  display: grid; gap: 8px;
}
.footer-note strong { color: rgba(255,255,255,.7); font-weight: 600; }
.footer-bottom {
  margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  font-size: 12.5px; color: rgba(255,255,255,.42);
}

/* ==========================================================================
   MARKETING ARC
   ========================================================================== */

/* --- The client's business name. Kept as a hook so it stays easy to update. --- */


/* --- Big standalone statements --- */
.statement {
  max-width: 940px; text-align: center;
  /* A statement is a section's closing beat; it needs air above it. Set here
     rather than per-instance so every usage gets the same rhythm. */
  margin: clamp(48px, 3rem + 2vw, 76px) auto 0;
  font-family: var(--font-heading); font-weight: 800; letter-spacing: -.022em;
  font-size: clamp(1.5rem, 1.1rem + 1.9vw, 2.7rem); line-height: 1.22;
  color: var(--green-900);
}
.sec--dark .statement { color: var(--white); }
.statement .hi { color: var(--gold-500); }
.sec:not(.sec--dark) .statement .hi { color: var(--green-600); }

/* --- Compliance / guard notes on light sections --- */
.guard-note--light {
  background: var(--white); border: 1px solid var(--gray-200); border-left: 4px solid var(--gold-500);
  color: var(--gray-700);
}
.guard-note--light .ico { color: var(--gold-600); }

/* ==========================================================================
   Marketing engine funnel
   ========================================================================== */


/* ==========================================================================
   Mock advertisement
   ========================================================================== */
.mock-wrap { position: relative; }
.mock-label {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gray-500); background: var(--gray-100); border: 1px dashed var(--gray-300);
  padding: 6px 13px; border-radius: var(--r-full);
}
.sec--dark .mock-label { color: rgba(255,255,255,.6); background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.22); }

.adcard {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  background:
    radial-gradient(110% 80% at 88% 6%, rgba(58,135,63,.28) 0%, rgba(58,135,63,0) 58%),
    linear-gradient(135deg, var(--green-900) 0%, var(--green-600) 100%);
  box-shadow: var(--shadow-2xl); padding: clamp(28px, 2rem + 1.4vw, 44px); text-align: center;
  border: 1px solid rgba(255,255,255,.1);
}
.adcard-house { position: absolute; right: -30px; bottom: -26px; width: 230px; opacity: .13; color: #fff; pointer-events: none; }
.adcard > * { position: relative; z-index: 1; }
.ad-presented {
  font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.55); margin: 0 0 10px;
}
.ad-brand {
  padding-bottom: 22px; margin-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.16);
  display: flex; justify-content: center;
}
.ad-logo { display: block; height: clamp(42px, 3.4vw + 26px, 58px); width: auto; }
.ad-free {
  font-family: var(--font-heading); font-weight: 800; letter-spacing: -.02em; line-height: 1.14;
  font-size: clamp(1.5rem, 1.15rem + 1.6vw, 2.3rem); color: var(--white); margin-bottom: 14px;
}
.ad-free .hi { color: var(--gold-500); }
.ad-course {
  font-family: var(--font-heading); font-weight: 700; font-size: clamp(1rem, .95rem + .4vw, 1.2rem);
  color: rgba(255,255,255,.9); margin-bottom: 6px;
}
.ad-sub { font-size: 14.5px; color: rgba(255,255,255,.62); margin-bottom: 22px; }
.ad-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--gold-500); background: rgba(231,187,58,.12); border: 1px solid rgba(231,187,58,.38);
  padding: 7px 15px; border-radius: var(--r-full);
}
.ad-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold-500); color: var(--green-900);
  font-family: var(--font-body); font-weight: 700; font-size: 16px;
  padding: 15px 34px; border-radius: var(--r-md);
  box-shadow: 0 10px 26px rgba(231,187,58,.3);
}
.ad-fine { margin-top: 20px; font-size: 12px; color: rgba(255,255,255,.45); line-height: 1.55; }

/* ==========================================================================
   Brand exposure journey
   ========================================================================== */


/* ==========================================================================
   Traditional vs education-based marketing
   ========================================================================== */


/* --- FREE banner --- */


/* ==========================================================================
   Content ecosystem hub + satellites
   ========================================================================== */

@media (min-width: 900px) {
  /* spokes into the hub */
  
}
/* The halo bleeds outward, which counts as scrollable overflow. Below the
   3-column layout the hub spans the full container, so horizontal bleed would
   push the whole page wider than the viewport. Bleed vertically only there. */


/* --- interconnection chain --- */


/* ==========================================================================
   Article library mockup
   ========================================================================== */


/* ==========================================================================
   Engagement activities
   ========================================================================== */


/* ==========================================================================
   Two paths (individual vs brokerage)
   ========================================================================== */

.path {
  border-radius: var(--r-xl); padding: clamp(26px, 2rem + 1vw, 36px);
  background: var(--white); border: 1px solid var(--gray-200); box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Marketing flywheel
   ========================================================================== */


/* ==========================================================================
   What we're really building
   ========================================================================== */


/* ==========================================================================
   DISPLAY TYPOGRAPHY
   Mattra reserves its serif for display-scale headlines and sets everything
   else in Montserrat. DM Serif Display ships at weight 400 only, so anything
   using it must declare 400 or the browser fakes a bold and it looks wrong.
   This block runs last so it wins over the component rules above.
   ========================================================================== */
.statement,
.final h2,
.pullquote blockquote,
.ad-free,
.stat-num,
.converge-target .title,
.blueprint-callout p {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -.012em;
}
.statement { line-height: 1.24; }
.final h2 { line-height: 1.14; letter-spacing: -.018em; }

/* Small type inside display elements stays in Montserrat. */
.stat-num .unit {
  font-family: var(--font-heading);
  font-weight: 700;
}
.stat-num .unit { letter-spacing: .06em; }

/* ---------- Utility ---------- */


/* ==========================================================================
   COMPONENTS ADDED IN THE CONCISE REVISION
   ========================================================================== */

/* Who-does-what tag on the three contributor roles */
.role-who {
  display: inline-block; margin-bottom: 10px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-500); background: rgba(231,187,58,.12);
  border: 1px solid rgba(231,187,58,.32); padding: 5px 11px; border-radius: var(--r-full);
}

/* Reserves the full curriculum for the engagement */
.themes-note {
  margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--gray-200);
  font-size: 13px; color: var(--gray-500); font-style: italic;
}

/* Platform capability strip, folded in under the LMS mockup */
.builtin {
  margin-top: clamp(30px, 2rem + 1vw, 44px);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-xl); padding: clamp(22px, 1.5rem + 1vw, 30px);
}
.builtin-label {
  display: flex; align-items: center; gap: 9px; margin: 0 0 16px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-500);
}
.builtin-list { display: flex; flex-wrap: wrap; gap: 8px; }
.builtin-list li {
  font-family: var(--font-heading); font-weight: 600; font-size: 13.5px; color: var(--white);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  padding: 8px 15px; border-radius: var(--r-full);
}
.builtin-note { margin: 16px 0 0; font-size: 13.5px; color: rgba(255,255,255,.6); }

/* Education First now sits on a light section */
.pullquote--light blockquote { color: var(--green-900); }
.pullquote--light .qmark { color: rgba(231,187,58,.55); }
.pullquote--light blockquote .hi { color: var(--gold-600); }

/* Benefits: mock ad beside the relationship journey */
.benefit-layout { display: grid; gap: clamp(28px, 2rem + 1.5vw, 46px); align-items: start; }
@media (min-width: 1000px) { .benefit-layout { grid-template-columns: 1.05fr .95fr; } }

.jrny {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r-xl);
  padding: clamp(24px, 2rem + 1vw, 34px); box-shadow: var(--shadow-md);
}
.jrny-label {
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gray-400); margin: 0 0 18px;
}
.jrny-step {
  display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: center;
  background: var(--green-50); border: 1px solid var(--green-100);
  border-radius: var(--r-md); padding: 13px 16px;
}
.jrny-ico {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: var(--white); border: 1px solid var(--green-100); color: var(--green-600);
}
.jrny-ico .ico { width: 19px; height: 19px; }
.jrny-t { font-family: var(--font-heading); font-weight: 600; font-size: 15px; color: var(--green-900); line-height: 1.35; }
.jrny-arrow { display: grid; place-items: center; height: 26px; color: var(--green-100); }
.jrny-arrow .ico { width: 17px; height: 17px; }
.jrny-step--final { background: var(--gold-100); border-color: #ecd98f; }
.jrny-step--final .jrny-ico { border-color: #ecd98f; color: var(--gold-600); }

/* Ghost cards now sit on a white section */
.ghost { background: var(--gray-50); }

/* Mattra brings / We build */
.duty {
  display: grid; gap: 18px; grid-template-columns: 1fr;
  max-width: 940px; margin: clamp(34px, 2rem + 2vw, 52px) auto 0;
}
@media (min-width: 800px) { .duty { grid-template-columns: 1fr 1fr; gap: 22px; } }
.duty-col {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-xl); padding: 26px 28px;
}
.duty-col--ours { background: rgba(231,187,58,.09); border-color: rgba(231,187,58,.32); }
.duty-head {
  display: flex; align-items: center; gap: 9px; margin: 0 0 16px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--white);
}
.duty-col--ours .duty-head { color: var(--gold-500); }

/* Compact example lists used inside cards */
.mini-list { margin-top: 14px; }
.mini-list li {
  position: relative; padding-left: 18px; margin-bottom: 8px;
  font-size: 14px; line-height: 1.5; color: var(--gray-700);
}
.mini-list li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500);
}
.mini-list li:last-child { margin-bottom: 0; }
.sec--dark .mini-list li { color: rgba(255,255,255,.78); }
.duty-col .mini-list { margin-top: 0; }

/* ==========================================================================
   Engagement activities
   ========================================================================== */
.activity {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r-xl);
  border-top: 4px solid var(--green-600); padding: 28px 30px; box-shadow: var(--shadow-md);
  display: flex; flex-direction: column;
}
.activity--alt { border-top-color: var(--gold-500); }
.activity-kind {
  display: inline-flex; align-items: center; gap: 9px; align-self: flex-start;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--green-700); background: var(--green-50); border: 1px solid var(--green-100);
  padding: 6px 13px; border-radius: var(--r-full); margin-bottom: 18px;
}
.activity--alt .activity-kind { color: var(--gold-600); background: var(--gold-50); border-color: #ecd98f; }
.activity-kind .ico { width: 14px; height: 14px; }
.activity-prompt {
  font-family: var(--font-heading); font-weight: 600; font-size: 15.5px; line-height: 1.55;
  color: var(--green-900); padding-left: 18px; border-left: 3px solid var(--gray-200); margin: 0 0 16px;
}
