/* ===========================================================
   ELDTTraining.us — Shared Stylesheet
   Editorial design: warm paper background, serif display type,
   brand red (from the ELDTTraining.us logo) as the one accent
   =========================================================== */

:root {
  /* Neutrals (interface skeleton) */
  --bg:        #f6f3ec;
  --bg-deep:   #ede8dc;
  --surface:   #fffdf8;
  --hover:     #faf7f0;
  --text:      #1c1b19;
  --text-body: #3a3833;
  --text-2:    #5c5a54;
  --text-3:    #858177;
  --text-4:    #aba699;
  --faint:     #d9d3c4;
  --hairline:  rgba(28,27,25,0.11);
  --hairline-dark: rgba(246,243,236,0.13);
  --ink:       #1c1b19;
  --paper:     #f6f3ec;

  /* Brand accent — the one color allowed to carry meaning */
  --accent:      #dd1b23;
  --accent-deep: #b8141b;
  --accent-ink:  #ffffff;   /* text/icon color ON the accent */
  --accent-link: #b8141b;   /* accent text on paper — meets contrast */
  --accent-tint: rgba(221,27,35,0.08);

  /* legacy aliases so existing inline styles keep working */
  --navy: var(--text);
  --navy-mid: var(--text-2);
  --navy-dark: #000000;
  --orange: var(--accent);
  --orange-dark: var(--accent-deep);
  --green: #1d1d1f;
  --gray-50: var(--bg);
  --gray-100: #ececee;
  --gray-200: var(--hairline);
  --gray-400: var(--text-4);
  --gray-600: var(--text-2);
  --gray-800: var(--text);
  --gray-900: var(--text);
  --white: var(--surface);

  /* Radius tiers */
  --r-pill:  999px;
  --r-chip:  6px;
  --r-thumb: 12px;
  --r-card:  18px;
  --r-panel: 22px;
  --r-hero:  26px;
  --r-sheet: 16px;
  --radius: var(--r-card);
  --radius-sm: var(--r-sheet);

  /* Shadow (two-layer) */
  --sh-card:    0 1px 2px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.05);
  --sh-panel:   0 1px 3px rgba(0,0,0,0.05), 0 14px 40px rgba(0,0,0,0.05);
  --sh-lift:    0 12px 32px rgba(0,0,0,0.1);
  --sh-cta:     0 20px 54px rgba(28,27,25,0.18);
  --sh-overlay: 0 2px 8px rgba(0,0,0,0.10), 0 30px 80px rgba(0,0,0,0.24);
  --shadow: var(--sh-card);
  --shadow-lg: var(--sh-lift);

  --track: #e8e8ed;

  --max-width: 1160px;
  --max-read: 720px;
  --max-grid: 1080px;
  --pad-x: 22px;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Inter',
          'Segoe UI', 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;

  --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-optical-sizing: auto; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text-body);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--text); font-weight: 650; letter-spacing: -0.015em; }
h1, h2 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.03em; line-height: 1.04; font-optical-sizing: auto; }
h1 em, h2 em { font-style: italic; color: var(--accent); }
h2 { font-size: clamp(30px, 4.2vw, 46px); }
p { margin: 0 0 1em; color: var(--text-2); }
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section-sm { padding: clamp(32px, 5vw, 56px) 0; }
.section-alt { background: var(--bg-deep); }
.section-navy { background: var(--ink); color: var(--paper); border-radius: clamp(24px, 4vw, 40px); margin: 0 clamp(8px, 1.6vw, 20px); }
.section-navy h2, .section-navy h3, .section-navy p { color: var(--paper); }
.section-navy p, .section-navy .section-head p { color: rgba(246,243,236,.66); }
.section-alt .icon-circle, .section-alt .pill, .section-alt .tag { background: var(--surface); }
.section-alt .faq-item summary .plus { background: var(--bg-deep); }
.text-center { text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--text);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); flex-shrink: 0; }
.section-navy .eyebrow { color: var(--paper); }
.section-head { max-width: var(--max-read); margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(32px, 5vw, 54px); }
.section-head p { font-size: clamp(15px, 2.2vw, 17px); color: var(--text-2); line-height: 1.65; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 26px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s var(--ease-out-quart), box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.btn-primary:hover { background: var(--accent-deep); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: #000; }
.btn-outline { border-color: var(--ink); color: var(--text); background: transparent; border-width: 1.5px; }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-outline-light { border-color: rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.06); }
.btn-outline-light:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.5); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* Header — glass nav, hairline appears only once the page actually scrolls */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(246,243,236,.86);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { border-bottom-color: var(--hairline); box-shadow: 0 1px 12px rgba(0,0,0,.04); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-img { height: 30px; width: auto; display: block; }
.footer-logo .logo-img { height: 30px; }

.main-nav ul { display: flex; align-items: center; gap: 2px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 13px;
  border-radius: var(--r-pill);
  font-weight: 500;
  font-size: 14.5px;
  color: var(--text-body);
  transition: background .15s ease, color .15s ease;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li.active > a { color: var(--text); background: rgba(0,0,0,.05); }
.chev { width: 10px; height: 10px; margin-top: 1px; }

.has-dropdown .dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 280px;
  max-height: 70vh;
  overflow-y: auto;
  background: var(--surface);
  border-radius: var(--r-sheet);
  box-shadow: var(--sh-overlay);
  border: 1px solid var(--hairline);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px) scale(.98);
  transition: opacity .2s var(--ease-out-quart), transform .2s var(--ease-out-quart), visibility .2s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.main-nav .dropdown { display: block; }
.dropdown li a { display: block; padding: 10px 14px; border-radius: var(--r-thumb); font-size: 14px; font-weight: 500; color: var(--text); white-space: nowrap; }
.dropdown li a:hover { background: rgba(0,0,0,.05); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: rgba(0,0,0,.05);
  border: none;
  border-radius: var(--r-pill);
  cursor: pointer;
}
.nav-toggle span { display: block; width: 16px; height: 2px; border-radius: 1px; background: var(--text); margin: 0 auto; transition: all .2s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Breadcrumb */
.breadcrumb { padding: 14px 0; font-size: 12.5px; color: var(--text-3); background: var(--bg); border-bottom: 1px solid var(--hairline); }
.breadcrumb a { color: var(--text-2); font-weight: 550; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span.sep { margin: 0 8px; color: var(--faint); }
.breadcrumb span.current { color: var(--text-3); }

/* Hero — editorial: paper background, large serif headline */
.hero {
  position: relative;
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
  padding: clamp(48px, 7vw, 88px) 0 clamp(48px, 7vw, 80px);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.hero .hero-grid h1 { font-size: clamp(38px, 5.2vw, 64px); }
.hero h1 { color: var(--text); font-size: clamp(40px, 6.6vw, 80px); line-height: 1; margin-bottom: 26px; }
.hero p.lead { color: var(--text-2); font-size: clamp(17px, 2.3vw, 20px); line-height: 1.6; max-width: 580px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.hero-badge {
  display: flex; align-items: center; gap: 7px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  padding: 7px 13px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 550;
  color: var(--text-body);
}
.hero-badge svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--accent-link); }

.hero-panel {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-panel);
  padding: 26px;
  box-shadow: var(--sh-panel);
}
.hero-panel h3 { color: var(--text); font-size: 16px; letter-spacing: -0.01em; margin-bottom: 16px; }
.hero-panel-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--hairline);
}
.hero-panel-row:first-of-type { border-top: none; padding-top: 0; }
.hero-panel-row .ico {
  width: 32px; height: 32px; border-radius: var(--r-thumb);
  background: var(--accent-tint);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-panel-row .ico svg { width: 16px; height: 16px; color: var(--accent-link); }
.hero-panel-row strong { display: block; color: var(--text); font-size: 14px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 2px; }
.hero-panel-row span { display: block; font-size: 13px; line-height: 1.5; color: var(--text-2); }

/* Hero — photo: the page photo sits in a rounded band under the headline */
.hero-photo { --band: clamp(220px, 34vw, 420px); padding-bottom: calc(var(--band) + clamp(64px, 8vw, 100px)); }
.hero-photo::after {
  content: "";
  position: absolute;
  left: max(var(--pad-x), calc((100% - var(--max-width)) / 2 + var(--pad-x)));
  right: max(var(--pad-x), calc((100% - var(--max-width)) / 2 + var(--pad-x)));
  bottom: clamp(32px, 5vw, 64px);
  height: var(--band);
  border-radius: clamp(18px, 3vw, 28px);
  background: var(--hero-img) center 35% / cover no-repeat;
}

/* Icon circle */
.icon-circle {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-deep);
  color: var(--text);
  margin-bottom: 16px;
  flex-shrink: 0;
}
.icon-circle svg { width: 21px; height: 21px; }
.icon-circle.navy { background: rgba(0,0,0,.05); color: var(--text); }
.icon-circle.green { background: rgba(0,0,0,.05); color: var(--text); }
.icon-circle.accent { background: var(--accent-tint); color: var(--accent); }

/* Grids */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* Feature tiles — no card chrome (grouped by whitespace, not borders) */
.card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  transition: none;
}
.card:hover { transform: none; box-shadow: none; }
.card h3 { font-size: 18px; letter-spacing: -0.01em; }
.card p:last-child { margin-bottom: 0; }
.card p { font-size: 14.5px; line-height: 1.6; }

/* Category cards (genuinely independent, pick-one items) */
.cat-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--sh-card);
  transition: transform .2s var(--ease-out-quart), box-shadow .2s var(--ease-out-quart);
  height: 100%;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--sh-lift); }
.cat-card-top { padding: 24px 24px 0; }
.cat-card-body { padding: 8px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.cat-card h3 { font-size: 17px; margin-bottom: 6px; }
.cat-card p { font-size: 14px; flex: 1; }
.cat-card .tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 16px; }
.tag {
  font-size: 11px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: .04em;
  background: rgba(0,0,0,.05);
  color: var(--text-2);
  padding: 4px 10px;
  border-radius: var(--r-pill);
}
.cat-card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--text); font-size: 14px; margin-top: auto; }
.cat-card-link svg { width: 14px; height: 14px; transition: transform .15s ease; }
.cat-card:hover .cat-card-link svg { transform: translateX(4px); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 30px; counter-reset: step; }
.step { position: relative; padding-top: 4px; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,.06);
  color: var(--text);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  margin-bottom: 16px;
}
.section-navy .step-num { background: var(--accent); color: var(--accent-ink); }
.step-num { font-family: var(--font-display); font-size: 18px; }
.step h3 { font-size: 16.5px; letter-spacing: -0.01em; }
.step p { font-size: 14px; line-height: 1.6; }

/* Pricing / plan cards — independent, pick-one options: stays a card grid */
.plan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; align-items: stretch; }
.plan-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-panel);
  box-shadow: var(--sh-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: transform .2s var(--ease-out-quart), box-shadow .2s var(--ease-out-quart);
}
.plan-card:hover { transform: translateY(-3px); box-shadow: var(--sh-lift); }
.plan-card.featured { border-color: var(--ink); border-width: 1.5px; box-shadow: var(--sh-panel); position: relative; }
.plan-card.featured::before {
  content: "Most Flexible";
  position: absolute; top: -12px; left: 28px;
  background: var(--ink); color: var(--paper);
  font-size: 11.5px; font-weight: 700; letter-spacing: .02em;
  padding: 5px 13px; border-radius: var(--r-pill);
}
.plan-price { font-family: var(--font-display); font-size: 48px; font-weight: 500; letter-spacing: -0.02em; color: var(--text); margin: 10px 0 4px; font-variant-numeric: tabular-nums; }
.plan-price span { font-size: 14px; font-weight: 550; color: var(--text-2); }
.plan-sub { font-size: 13.5px; color: var(--text-2); margin-bottom: 22px; line-height: 1.55; }
.plan-features { margin: 0 0 26px; }
.plan-card > .btn:last-child { margin-top: auto; }
.plan-features li { display: flex; gap: 10px; padding: 9px 0; font-size: 14px; color: var(--text-body); border-top: 1px solid var(--hairline); }
.plan-features li:first-child { border-top: none; }
.plan-features svg { width: 17px; height: 17px; color: var(--text); flex-shrink: 0; margin-top: 1px; }

/* Checklist */
.check-list li { display: flex; gap: 11px; padding: 9px 0; font-size: 14.5px; color: var(--text-body); line-height: 1.55; }
.check-list svg { width: 18px; height: 18px; color: var(--text); flex-shrink: 0; margin-top: 2px; }
.check-list.on-navy li { color: rgba(255,255,255,.85); }
.check-list.on-navy svg { color: var(--accent); }

/* Benefits strip — unboxed feature tiles */
.benefit-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.benefit-item { text-align: center; padding: 16px 10px; }
.benefit-item .icon-circle { margin: 0 auto 14px; }
.benefit-item h4 { font-size: 15px; letter-spacing: -0.01em; margin-bottom: 6px; }
.benefit-item p { font-size: 13px; margin: 0; line-height: 1.55; }

/* Callout / disclosure box */
.callout {
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--accent);
  background: var(--surface);
  border-radius: var(--r-sheet);
  padding: 20px 24px;
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.6;
}
.callout strong { color: var(--text); }

/* Table — already a unified surface; just retoken */
.table-wrap { overflow: hidden; border-radius: var(--r-panel); border: 1px solid var(--hairline); box-shadow: var(--sh-card); }
table.compare { width: 100%; table-layout: fixed; border-collapse: collapse; background: var(--surface); }
table.compare th, table.compare td { padding: 15px 20px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--hairline); word-wrap: break-word; }
table.compare th { background: var(--hover); color: var(--text); font-weight: 650; }
table.compare tr:last-child td { border-bottom: none; }
table.compare td svg { width: 17px; height: 17px; color: var(--text); }

/* FAQ — unified panel of hairline rows, not fragmented boxes */
.panel {
  background: var(--surface);
  border-radius: var(--r-panel);
  box-shadow: var(--sh-panel);
  overflow: hidden;
}
.panel .faq-item,
.faq-item {
  border: none;
  border-radius: 0;
  margin-bottom: 0;
  overflow: visible;
  background: transparent;
}
.panel .faq-item + .faq-item,
.faq-item + .faq-item { border-top: 1px solid var(--hairline); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px clamp(18px, 3vw, 24px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
  transition: background .15s ease;
}
.faq-item summary:hover { background: var(--hover); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: rgba(0,0,0,.05); display: flex; align-items: center; justify-content: center; position: relative; }
.faq-item summary .plus::before, .faq-item summary .plus::after { content: ""; position: absolute; background: var(--text); }
.faq-item summary .plus::before { width: 10px; height: 1.5px; }
.faq-item summary .plus::after { width: 1.5px; height: 10px; transition: transform .15s ease; }
.faq-item[open] summary .plus::after { transform: rotate(90deg) scaleY(0); }
.faq-item .faq-body { padding: 0 clamp(18px, 3vw, 24px) 20px; font-size: 14px; color: var(--text-2); line-height: 1.65; }

/* CTA banner — ink panel with serif headline */
.cta-banner {
  position: relative;
  overflow: hidden;
  border-radius: clamp(24px, 4vw, 36px);
  padding: clamp(36px, 6vw, 68px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner-yellow { background: var(--ink); }
.cta-banner-yellow h2 { color: var(--paper); font-size: clamp(30px, 4.4vw, 48px); max-width: 680px; margin: 0; }
.cta-banner-yellow p { color: rgba(246,243,236,.66); margin: 12px 0 0; font-size: 17px; }

/* Compact course chip grid — one panel, hairline grid lines (gap-as-divider trick) */
.course-chip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--hairline);
  border-radius: var(--r-panel);
  overflow: hidden;
  box-shadow: var(--sh-panel);
}
.course-chip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--surface);
  border: none;
  border-radius: 0;
  padding: 15px 18px;
  font-size: 14px;
  font-weight: 550;
  color: var(--text-body);
  cursor: pointer;
  transition: background .15s ease;
}
.course-chip:hover { background: var(--hover); }
.course-chip > svg:first-child { width: 16px; height: 16px; color: var(--text-3); flex-shrink: 0; margin-top: 2px; }
.course-chip span { flex: 1; }
.course-chip .ext-icon,
.course-chip > svg:last-child { width: 13px; height: 13px; color: var(--text-4); flex-shrink: 0; margin-top: 3px; opacity: 0; transition: opacity .15s ease; }
.course-chip:hover > svg:last-child { opacity: 1; color: var(--text-2); }

/* Course list rows */
.course-list { display: flex; flex-direction: column; gap: 1px; background: var(--hairline); border-radius: var(--r-panel); overflow: hidden; box-shadow: var(--sh-panel); }
.course-row {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--surface);
  border: none;
  border-radius: 0;
  padding: 20px clamp(18px, 3vw, 26px);
  box-shadow: none;
  transition: background .15s ease;
}
.course-row:hover { background: var(--hover); }
.course-row .icon-circle { margin-bottom: 0; }
.course-row .course-info { flex: 1; }
.course-row h3 { font-size: 16px; letter-spacing: -0.01em; margin-bottom: 4px; }
.course-row p { font-size: 13.5px; margin: 0; }
.course-row .duration { font-size: 12px; font-weight: 650; color: var(--text-2); background: rgba(0,0,0,.05); padding: 6px 12px; border-radius: var(--r-pill); white-space: nowrap; }

/* Stat row */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-row .stat b { display: block; font-family: var(--font-display); font-size: 36px; font-weight: 500; letter-spacing: -0.02em; color: #fff; font-variant-numeric: tabular-nums; }
.stat-row .stat span { font-size: 13px; color: rgba(255,255,255,.64); }

/* Footer */
.site-footer { background: var(--ink); color: rgba(246,243,236,.64); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--hairline-dark); }
.footer-brand p { color: rgba(255,255,255,.56); font-size: 13.5px; line-height: 1.6; margin-top: 14px; }
.footer-col h4 { color: #fff; font-size: 12.5px; font-weight: 650; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { font-size: 13.5px; color: rgba(255,255,255,.6); }
.footer-col ul li a:hover { color: var(--accent); }
.footer-contact li { font-size: 13.5px; margin-bottom: 8px; color: rgba(255,255,255,.6); }
.footer-contact li a:hover { color: var(--accent); }
.footer-col .btn { margin-top: 6px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px var(--pad-x);
  font-size: 12.5px;
}
.footer-bottom p { margin: 0; color: rgba(255,255,255,.44); }
.footer-disclaimer { max-width: 560px; text-align: right; }

/* Forms */
.form-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-panel); box-shadow: var(--sh-panel); padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-thumb);
  font-family: var(--font);
  font-size: 14.5px;
  color: var(--text);
  background: var(--bg);
  transition: border-color .15s ease, background .15s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--accent-deep); background: var(--surface); }
.radio-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.radio-card {
  border: 1px solid var(--hairline);
  border-radius: var(--r-thumb);
  padding: 15px;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
  display: block;
}
.radio-card:has(input:checked) { border-color: var(--accent-deep); background: var(--accent-tint); }
.radio-card input { width: auto; margin-right: 8px; }
.radio-card strong { display: block; font-size: 14px; color: var(--text); margin-bottom: 3px; }
.radio-card span.desc { font-size: 12.5px; color: var(--text-2); }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

.typeform-trigger { display: flex; justify-content: center; align-items: center; min-height: 56px; margin: 24px 0; }

.contact-strip { display: flex; justify-content: center; align-items: center; gap: 36px; flex-wrap: wrap; }
.contact-strip-item { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 16px; color: var(--text); letter-spacing: -0.01em; }
.contact-strip-item svg { width: 18px; height: 18px; color: var(--accent-link); flex-shrink: 0; }
.contact-strip-item:hover { color: var(--accent-link); }

.typeform-inline { min-height: 720px; background: transparent; }

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  max-height: 320px;
  overflow-y: auto;
  padding: 10px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-sheet);
  background: var(--bg);
}
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 550;
  color: var(--text);
  padding: 9px 10px;
  border-radius: var(--r-chip);
  background: var(--surface);
  border: 1px solid var(--hairline);
  cursor: pointer;
  transition: border-color .15s ease;
}
.checkbox-item:hover { border-color: var(--accent-deep); }
.checkbox-item input { width: auto; margin: 0; flex-shrink: 0; }
.checkbox-item-full { grid-column: 1 / -1; background: var(--accent-tint); border-color: var(--accent-deep); }

.contact-info-card { background: var(--ink); color: #fff; border-radius: var(--r-panel); padding: 32px; height: 100%; }
.contact-info-card h3 { color: #fff; }
.contact-info-card p { color: rgba(255,255,255,.68); }
.contact-info-row { display: flex; gap: 14px; padding: 15px 0; border-top: 1px solid var(--hairline-dark); }
.contact-info-row:first-of-type { border-top: none; }
.contact-info-row .ico { width: 34px; height: 34px; border-radius: var(--r-thumb); background: rgba(221,27,35,.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-row .ico svg { width: 16px; height: 16px; color: var(--accent); }
.contact-info-row strong { display: block; color: #fff; font-size: 13.5px; font-weight: 600; }
.contact-info-row span { font-size: 13px; color: rgba(255,255,255,.66); }

/* Misc */
.divider { height: 1px; background: var(--hairline); margin: 0; }
.mb-0 { margin-bottom: 0 !important; }
.mt-lg { margin-top: 44px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { background: rgba(0,0,0,.05); color: var(--text-body); font-size: 13px; font-weight: 550; padding: 7px 15px; border-radius: var(--r-pill); }

/* ===========================================================
   Audience cards, guides hub, and article layout
   =========================================================== */
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.audience-grid .cat-card-top .icon-circle { margin-bottom: 14px; }

.guide-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -12px 0 36px; }
.guide-filter {
  font: inherit; font-size: 13px; font-weight: 600;
  padding: 8px 16px; border-radius: var(--r-pill);
  border: 1px solid var(--hairline); background: var(--surface); color: var(--text-2);
  cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.guide-filter:hover { color: var(--text); border-color: rgba(0,0,0,.18); }
.guide-filter.active { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.guide-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 22px;
  min-height: 260px;
  overflow: hidden;
  transition: transform .2s var(--ease-out-quart), box-shadow .2s var(--ease-out-quart);
}
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--sh-lift); }
.guide-card-band { display: none; }
.guide-card-body { padding: 28px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.guide-card-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-3); margin-bottom: 12px; }
.guide-card-meta .tag { background: var(--accent-tint); color: var(--accent-link); }
.guide-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 23px; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 10px; }
.guide-card p { font-size: 14px; line-height: 1.6; flex: 1; }
.guide-card .cat-card-link svg { width: 14px; height: 14px; transition: transform .15s ease; }
.guide-card:hover .cat-card-link svg { transform: translateX(4px); }
.guide-card.featured-guide { grid-column: span 2; background: var(--ink); border-color: var(--ink); }
.guide-card.featured-guide h3 { color: var(--paper); font-size: clamp(26px, 3.4vw, 36px); }
.guide-card.featured-guide p { color: rgba(255,255,255,.7); font-size: 15px; }
.guide-card.featured-guide .cat-card-link { color: var(--paper); }
.guide-card.featured-guide .guide-card-meta { color: rgba(255,255,255,.55); }
.guide-card.featured-guide .guide-card-meta .tag { background: var(--accent); color: #fff; }
/* Guide cards on a dark section */
.section-navy .guide-card { background: #2a2926; border-color: #2a2926; }
.section-navy .guide-card h3 { color: var(--paper); }
.section-navy .guide-card p { color: rgba(246,243,236,.62); }
.section-navy .guide-card .cat-card-link { color: var(--paper); }
.section-navy .guide-card-meta { color: rgba(246,243,236,.5); }
.section-navy .guide-card .tag { background: rgba(246,243,236,.1); color: var(--paper); }
.section-navy .guide-card:first-child { background: var(--accent); border-color: var(--accent); }
.section-navy .guide-card:first-child p, .section-navy .guide-card:first-child .guide-card-meta { color: rgba(255,255,255,.82); }
.section-navy .guide-card:first-child .tag { background: rgba(255,255,255,.18); color: #fff; }
.guide-card[hidden] { display: none; }

/* Article */
.article-hero { padding: clamp(44px, 7vw, 84px) 0 clamp(32px, 5vw, 52px); background: var(--bg); }
.article-hero .container { max-width: 900px; }
.article-hero h1 { font-size: clamp(36px, 5.6vw, 64px); line-height: 1.02; margin-bottom: 22px; }
.article-hero .lead { font-size: clamp(16px, 2.3vw, 19px); color: var(--text-2); line-height: 1.6; max-width: 760px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 22px; font-size: 13px; color: var(--text-3); }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta svg { width: 14px; height: 14px; color: var(--accent-link); flex-shrink: 0; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; align-items: start; }
.article-aside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 18px; }
.toc { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card); padding: 20px 22px; box-shadow: var(--sh-card); }
.toc h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 7px 0; font-size: 13.5px; line-height: 1.4; color: var(--text-2); border-top: 1px solid var(--hairline); }
.toc li:first-child a { border-top: none; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-size: 11px; font-weight: 650; color: var(--text-4); padding-top: 2px; font-variant-numeric: tabular-nums; }
.toc a:hover, .toc a.active { color: var(--text); }
.toc a.active::before { color: var(--accent); }
.aside-cta { background: var(--ink); color: var(--paper); border-radius: var(--r-card); padding: 22px; }
.aside-cta h4 { color: var(--paper); font-family: var(--font-display); font-weight: 500; font-size: 22px; line-height: 1.15; margin-bottom: 8px; }
.aside-cta p { color: rgba(255,255,255,.68); font-size: 13.5px; margin-bottom: 16px; }

.prose { max-width: var(--max-read); font-size: 17px; line-height: 1.75; color: var(--text-body); }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(28px, 3.6vw, 38px); margin: 2.2em 0 .6em; scroll-margin-top: 96px; }
.prose h3 { font-size: 19px; letter-spacing: -0.015em; margin: 1.7em 0 .5em; }
.prose p { color: var(--text-body); margin: 0 0 1.15em; }
.prose a { color: var(--accent-link); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(184,20,27,.3); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose ul, .prose ol { margin: 0 0 1.3em; padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: .45em; padding-left: .2em; }
.prose li::marker { color: var(--accent-deep); font-weight: 700; }
.prose strong { color: var(--text); }
.prose .callout { margin: 1.6em 0; font-size: 15.5px; }
.prose .callout p:last-child { margin-bottom: 0; }
.prose .table-wrap { margin: 1.6em 0; }
.prose table.compare th, .prose table.compare td { font-size: 14.5px; line-height: 1.5; vertical-align: top; }
.takeaways { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-panel); box-shadow: var(--sh-card); padding: 24px 28px; margin-bottom: 2em; }
.takeaways h2 { font-family: var(--font); font-weight: 650; font-size: 13px !important; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-link); margin: 0 0 12px !important; }
.takeaways ul { list-style: none; padding: 0; margin: 0; }
.takeaways li { position: relative; padding-left: 26px; font-size: 15.5px; line-height: 1.6; margin-bottom: 8px; }
.takeaways li::before { content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.prose .inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; background: var(--accent-tint); border: 1px solid rgba(221,27,35,.25); border-radius: var(--r-card); padding: 20px 24px; margin: 2em 0; }
.prose .inline-cta p { margin: 0; font-size: 15.5px; color: var(--text); max-width: 440px; }
.prose .inline-cta .btn { text-decoration: none; color: var(--accent-ink); }
/* Home hero */
.hero-home h1 { max-width: 1000px; font-size: clamp(42px, 7.6vw, 96px); }
.hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 56px; flex-wrap: wrap; }
.hero-row .lead { margin: 0; }
.hero-row .hero-actions { margin: 0; }
.hero-chips {
  position: absolute; z-index: 2;
  left: calc(max(var(--pad-x), (100% - var(--max-width)) / 2 + var(--pad-x)) + clamp(16px, 2.4vw, 28px));
  right: var(--pad-x);
  bottom: calc(clamp(32px, 5vw, 64px) + clamp(16px, 2.4vw, 28px));
  display: flex; flex-wrap: wrap; gap: 8px;
}
.hero-chips span { background: rgba(246,243,236,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: var(--r-pill); padding: 9px 16px; font-size: 13.5px; font-weight: 600; color: var(--text); }
.hero-home > .container { position: static; }
.closing-cta h2 { font-size: clamp(38px, 6.4vw, 76px); max-width: 920px; margin: 0 auto 18px; }
.closing-cta p { font-size: 18px; margin-bottom: 30px; }

/* Numbered audience list (home page) */
.audience-list { counter-reset: aud; border-top: 1px solid var(--faint); }
.audience-list a { counter-increment: aud; display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 8px; padding: 22px 4px; border-bottom: 1px solid var(--faint); transition: background .15s ease, padding .2s var(--ease-out-quart); }
.audience-list a::before { content: counter(aud, decimal-leading-zero); font-family: var(--font-display); font-style: italic; font-size: 20px; color: var(--accent); }
.audience-list a:hover { background: var(--surface); padding-left: 14px; }
.audience-list b { display: block; font-size: 19px; font-weight: 600; color: var(--text); letter-spacing: -0.01em; margin-bottom: 3px; }
.audience-list span { color: var(--text-2); font-size: 15px; line-height: 1.5; }
.audience-list svg { width: 20px; height: 20px; color: var(--text); transition: transform .15s ease; }
.audience-list a:hover svg { transform: translateX(4px); }
.split-head { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.split-head h2 { font-size: clamp(34px, 5vw, 56px); }
.split-head p { font-size: 18px; line-height: 1.6; }
.row-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.row-head h2 { font-size: clamp(34px, 5vw, 56px); margin: 0; }
.article-disclaimer { font-size: 13px; color: var(--text-3); border-top: 1px solid var(--hairline); padding-top: 18px; margin-top: 2.4em; }

/* Scroll reveal (only when JS is running; respects reduced motion) */
.js-reveal .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease-out-quart), transform .6s var(--ease-out-quart); }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 980px) {
  .audience-grid, .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; gap: 32px; }
  .article-aside { position: static; order: -1; }
  .article-aside .aside-cta { display: none; }
}
@media (max-width: 640px) {
  .audience-grid, .guide-grid { grid-template-columns: 1fr; }
  .guide-card.featured-guide { grid-column: auto; }
  .prose { font-size: 16.5px; }
  .takeaways { padding: 20px; }
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .plan-grid, .two-col, .stat-row, .benefit-strip { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 1040px) {
  /* Closed menu is hidden rather than translated off-screen, so it can't cause sideways page scroll */
  .main-nav { position: fixed; top: 72px; left: 0; right: 0; height: calc(100vh - 72px); background: var(--bg); padding: 20px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s var(--ease-out-quart), transform .3s var(--ease-spring), visibility .25s; overflow-y: auto; }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav > ul > li > a { padding: 14px 16px; font-size: 16px; border-radius: var(--r-thumb); }
  .has-dropdown .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: transparent; backdrop-filter: none; padding-left: 12px; display: none; }
  .has-dropdown.open .dropdown { display: block; }
  .nav-toggle { display: flex; }
}
@media (max-width: 640px) {
  .hero-chips span { font-size: 12px; padding: 7px 12px; }
  .hero-chips span:nth-child(n+3) { display: none; }
  .header-actions .btn-sm.btn-primary { display: none; }
  .section { padding: clamp(40px, 8vw, 60px) 0; }
  .grid-3, .grid-4, .plan-grid, .two-col, .stat-row, .benefit-strip, .steps, .radio-cards, .course-chip-grid, .checkbox-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-banner { padding: 30px; flex-direction: column; text-align: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-disclaimer { text-align: center; }
  .hero { padding: 40px 0 48px; }
  .hero-photo { padding-bottom: calc(var(--band) + 64px); }
  .split-head { grid-template-columns: 1fr; }
  .audience-list a { grid-template-columns: 44px 1fr auto; }
}
