/* Social Work Licensure Resource Hub — styles extracted from index.html (resource-hub-implementation-guide.md) */
:root {
  --primary: #447569;
  --stat-time-value: #7fbf9f;
  --secondary: #1C5B5D;
  --on-surface: #1a1c1b;
  --surface-low: #eff5f1;
  --outline: #c4c7c5;
  --on-variant: #444846;
  --footer-bg: #f8faf9;
  --white: #fff;
  --on-primary-container: #1c4f44;
  --outline-primary-variant: #a0cdc0;
  /* 桌面优先：对齐 1440 稿面；小屏再通过 @media 放宽 */
  --frame-max: 1440px;
  --gutter-x: 144px;
  --gutter-nav: 64px;
  --content-max: 1152px;
  --band-orange: 1088px;
  --section-num-inset: 48px;
  /* Figma: Supervised Clinical card border */
  --supervised-card-border: #e0e0e0;
  --site-header-h: 64px;
  --toc-sticky-top: calc(var(--site-header-h) + 20px);
}

@media (max-width: 1280px) {
  :root {
    --gutter-x: max(24px, min(10vw, 120px));
    --gutter-nav: max(20px, min(5vw, 56px));
  }
}

@media (max-width: 900px) {
  :root {
    --gutter-x: max(20px, min(6vw, 48px));
    --gutter-nav: 20px;
    --section-num-inset: 32px;
  }
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0;
  color: var(--on-surface);
  background: var(--white);
  min-width: 320px;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.page {
  width: 100%;
  max-width: var(--frame-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
}

/* ── Site Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: linear-gradient(180deg, rgba(238, 245, 241, 1), rgba(238, 245, 241, 0) 100%);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
}
/*  Hero Band - UI */
.tmind-intro-band {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: none;
  margin-inline: 0;
}
.tmind-intro-band__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  /* Figma: radial base — warm cream center → light mint → sage green edges
     + bottom fade back to #EEF5F1 */
  background:
    linear-gradient(180deg, rgba(238, 245, 241, 0) 55%, rgb(238, 245, 241) 100%),
    radial-gradient(ellipse 100% 115% at 50% 32%,
      rgb(255, 253, 243) 0%,
      rgb(238, 245, 241) 51%,
      rgb(198, 224, 210) 100%
    );
}
/* Figma blob left: yellow #F7F371 → green #00BC6B, blur 50px, rotate ~25deg */
.tmind-intro-band__bg::before {
  content: '';
  position: absolute;
  width: 68%;
  height: 90%;
  left: -8%;
  top: -10%;
  border-radius: 50%;
  transform: rotate(25deg);
  filter: blur(50px);
  background: linear-gradient(175.44deg,
    rgba(247, 243, 113, 0.62) 12.89%,
    rgba(0, 188, 107, 0.50) 27.36%,
    rgba(0, 188, 107, 0) 50%
  );
}
/* Figma blob right: mirrored yellow-green, blur 50px, rotate ~155deg */
.tmind-intro-band__bg::after {
  content: '';
  position: absolute;
  width: 62%;
  height: 85%;
  right: -8%;
  top: -10%;
  border-radius: 50%;
  transform: rotate(155deg);
  filter: blur(50px);
  background: linear-gradient(147.56deg,
    rgba(247, 243, 113, 0.40) 24.89%,
    rgba(0, 188, 107, 0.30) 34.98%,
    rgba(0, 188, 107, 0) 50%
  );
}
.site-header--on-intro {
  position: relative;
  z-index: 2;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
}
.navbar {
  width: 100%;
  max-width: var(--frame-max);
  margin: 0 auto;
  height: var(--site-header-h);
  padding: 12px max(var(--gutter-nav), env(safe-area-inset-right, 0px)) 12px max(var(--gutter-nav), env(safe-area-inset-left, 0px));
  display: flex;
  align-items: center;
  gap: 24px;
  box-sizing: border-box;
}
.navbar--balanced {
  display: flex;
  align-items: center;
  gap: 0;
}
.navbar--balanced > .navbar__logo {
  flex: 0 0 auto;
}
.navbar--balanced > .nav-links {
  flex: 1 1 0%;
  justify-content: center;
  min-width: 0;
  gap: 4px;
  flex-shrink: 1;
}
.navbar--balanced > .nav-actions {
  flex: 0 0 auto;
  justify-content: flex-end;
}
.navbar__grow { flex: 1; min-width: 0; }
.navbar__logo {
  display: block;
  height: 24px;
  width: 127px;
  position: relative;
}
.navbar__logo img {
  position: absolute;
  inset: -2.08% -0.39%;
  width: calc(100% + 0.78%);
  height: calc(100% + 4.16%);
  max-width: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-shrink: 0;
}
.nav-links a {
  font-weight: 500;
  font-size: 15px;
  line-height: 20px;
  color: var(--secondary);
  white-space: nowrap;
  padding-inline: 16px;
}
.nav-links__item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-links__chev {
  flex-shrink: 0;
  opacity: 0.75;
  display: block;
  width: 16px !important;
  height: 16px !important;
  object-fit: contain;
}
.nav-links__plain {
  display: inline-flex;
  align-items: center;
}
.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 1;
}
.btn-text {
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: var(--on-surface);
  padding: 10px 16px;
  min-width: 80px;
  text-align: center;
  border-radius: 360px;
}
.btn-demo-outline {
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: #1C4F44;
  padding: 0 16px;
  height: 40px;
  min-width: 80px;
  text-align: center;
  border-radius: 360px;
  border: 1px solid #447569;
  background: transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  white-space: nowrap;
}
.btn-demo-outline:hover {
  background: rgba(68, 117, 105, 0.08);
  border-color: #1C4F44;
}
.btn-login {
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: var(--white);
  padding: 0 16px;
  height: 40px;
  min-width: 80px;
  text-align: center;
  border-radius: 360px;
  background: linear-gradient(93.6deg, rgb(249, 149, 34) 9.45%, rgb(254, 228, 120) 100%);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  white-space: nowrap;
}
a.btn-login { text-decoration: none; }

/* ── Hero（桌面默认大字号，小屏再缩放） ── */
.hero {
  width: 100%;
  padding: 96px var(--gutter-x) 88px;
  padding-left: max(var(--gutter-x), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter-x), env(safe-area-inset-right, 0px));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-width: 0;
  box-sizing: border-box;
}
.hero__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 48px;
  line-height: 1.17;
  letter-spacing: -0.02em;
  text-align: center;
  max-width: var(--content-max);
}
.hero__title .line2 { color: var(--primary); }
.hero__sub {
  font-size: 18px;
  line-height: 1.75;
  text-align: center;
  max-width: var(--content-max);
  overflow-wrap: break-word;
  padding: 0 4px;
}
.hero__sub p + p { margin-top: 12px; }

/* Hero — 与顶栏共用 .tmind-intro-band 渐变 */
.hero.hero--guide {
  position: relative;
  z-index: 1;
  overflow: visible;
  padding: 160px max(var(--gutter-nav), env(safe-area-inset-right, 0px)) 180px max(var(--gutter-nav), env(safe-area-inset-left, 0px));
  gap: 0;
  scroll-margin-top: var(--toc-sticky-top);
}
.hero__guide-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: calc(var(--frame-max) - 2 * var(--gutter-nav));
  margin: 0 auto;
}
.hero__title--guide {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  max-width: 100%;
  margin: 0;
}
.hero__title-kicker {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 32px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: #000000;
}
.hero__title-display {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 4.2vw, 64px);     
  line-height: 76px;
  letter-spacing: -0.04em;
  color: var(--secondary);
  white-space: nowrap;
}
.hero--guide .hero__sub {
  margin-top: 0;
  max-width: 520px;
}
.hero__sub--tight {
  font-size: 17px;
  line-height: 1.55;
  color: var(--on-surface);
  opacity: 0.92;
}
.hero__sub--tight p { margin: 0; }

/* 正文区：左侧纯文字目录 + 主栏（sticky） */
.resource-shell {
  width: 100%;
  max-width: var(--frame-max);
  margin: 0 auto;
  padding: 64px max(calc(var(--gutter-x) * 0.45), env(safe-area-inset-right, 0px)) 56px max(calc(var(--gutter-x) * 0.45), env(safe-area-inset-left, 0px));
  display: grid;
  grid-template-columns: minmax(130px, 260px) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 32px);
  align-items: start;
  box-sizing: border-box;
  min-width: 0;
}
.resource-main {
  min-width: 0;
  width: 100%;
}
.resource-toc {
  position: sticky;
  top: var(--toc-sticky-top);
  align-self: start;
  z-index: 20;
  padding-top: 4px;
  max-height: calc(100vh - var(--toc-sticky-top) - 16px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.resource-toc__nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
}
.resource-toc__nav a {
  display: block;
  padding: 0;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  line-height: 50px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--on-variant);
  text-decoration: none;
  transition: color 0.15s ease;
}
.resource-toc__nav a:hover {
  color: var(--on-surface);
}
.resource-toc__nav a.is-active {
  color: var(--primary);
  font-weight: 600;
}

/* ── Main column ── */
.main {
  width: 100%;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 48px;
  box-sizing: border-box;
  min-width: 0;
}

#overview,
#licensure-pathway,
#license-types,
#supervised-clinical,
#aswb-exam,
#continuing-education,
#faq,
#sources,
#tmind-courses {
  scroll-margin-top: calc(var(--toc-sticky-top) + 8px);
}

.section {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  min-width: 0;
}
.section__h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 32px;
  line-height: 1.125;
  letter-spacing: -0.04em;
  list-style-position: outside;
  /* Figma sec: h2 x=0, 正文 p.sec-d 自 48px 起 — 标题比正文更靠左 */
  margin-left: 0;
  padding-left: 0;
}
/* 1–5 节：导语与「去掉序号后的标题」左对齐 */
.section__intro {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 0.35em;
  row-gap: 8px;
  align-items: start;
  width: 100%;
}
.section__h2--numbered {
  display: contents;
}
.section__h2-num {
  grid-column: 1;
  grid-row: 1;
  white-space: nowrap;
}
.section__h2-text {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}
.section__intro .section__lead {
  grid-column: 2;
  grid-row: 2;
  padding-left: 0;
}
/* Licensure pathway lead: span both grid columns so the full section width is
   available — prevents "clinical practice." from wrapping to a second line */
#licensure-pathway .section__intro .section__lead {
  grid-column: 1 / -1;
  padding-left: var(--section-num-inset);
}
.section__lead {
  font-size: 18px;
  line-height: 1.33;
  padding-left: var(--section-num-inset);
  max-width: 100%;
  overflow-wrap: break-word;
}
.section__lead--narrow { max-width: 720px; }
/* FAQ lead: grid-column 2 already positions it at "F"; no extra indent */
#faq .section__intro .section__lead {
  padding-left: 0;
}
/* CE 导语：与稿面一致整句一行（桌面全栏宽，避免 720px 强制折行） */
.section__lead--ce-intro { max-width: none; }

/* 课程区块：无序号标题，与稿面左对齐 */
.section--courses .section__h2 { margin-left: 0; }
.section--courses .section__lead { padding-left: 0; line-height: 28px; }
.section--courses.section--resources {
  background: var(--footer-bg);
  border-radius: 0;
  padding: 0;
  margin: 0;
  width: 100%;
  min-height: 600px;
  box-sizing: border-box;
  display: block;
}
.section--resources__inner {
  max-width: var(--frame-max);
  margin: 0 auto;
  padding: 96px var(--gutter-x);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.section__h2--resources {
  font-size: 32px;
  line-height: 36px;
  letter-spacing: -0.04em;
  color: var(--secondary);
}
.section--ce-top { padding-top: 4.6px; }
.section--ce-top #state-ce-panel { margin-top: -8px; }
.section--ce-top .select-wrap { margin-top: 24px; margin-bottom: 0; }
/* CE stat cards — Figma 10733:66052 */
.section--ce-top .state-stat-card__val { color: var(--primary); }
.section--ce-top .state-stat-grid { gap: 24px; }
.section--ce-top .state-stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.section--ce-top .state-stat-card__val {
  font-size: 32px;
  letter-spacing: -0.04em;
  text-align: center;
  margin-top: 0;
}
.section--ce-top .state-stat-card__lbl {
  font-size: 16px;
  text-align: center;
  color: var(--on-surface);
  margin-top: 0;
}
/* CE licenseNotes list */
.js-ce-extra { list-style: disc; }
.js-ce-extra li { line-height: 24px; }

.cta-strip--h101 { min-height: 101px; }
.cta-strip__text--tall { min-height: 84px; }
.section__lead--inset {
  padding-left: var(--section-num-inset);
  padding-right: var(--section-num-inset);
}
.section__intro .section__lead--inset {
  padding-left: 0;
}

.card-pad {
  padding: 32px;
  border-radius: 10px;
  width: 100%;
}
.card-pad--tight-top { padding-top: 32px; padding-left: 32px; padding-right: 32px; }

.h3-poppins {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: -0.4px;
  margin-bottom: 8px;
}

/* Timeline steps (Section 1) */
.timeline-wrap {
  position: relative;
  padding-left: 34px;
  margin-top: 0;
}
/* Per-step connector lines — drawn on every step except the last,
   so the line never extends past the final dot regardless of content height */
.timeline-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: -21px;
  top: 19px;  /* dot top (9px) + dot height (10px) = just below the dot */
  bottom: -9px; /* reach the top of the next dot (top: 9px into the next step) */
  width: 2px;
  background: rgba(68, 117, 105, 0.25);
  border-radius: 2px;
}
.timeline-step {
  position: relative;
  padding-left: 18px;
  padding-bottom: 48px;
}
.timeline-step:last-child { padding-bottom: 0; }
.timeline-step::before {
  content: '';
  position: absolute;
  left: -25px;
  top: 9px;
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 5px;
}

.step-h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.36px;
  margin-bottom: 4px;
}
.body-16 { font-size: 16px; line-height: 26px; overflow-wrap: break-word; }
.body-16-tight { font-size: 16px; line-height: 24px; overflow-wrap: break-word; }
.exam-domain-list {
  list-style: disc;
  padding-left: 1.25em;
  margin: 0;
  font-size: 16px;
  line-height: 26px;
}
.exam-domain-list li { padding-left: 0.25em; }

.callout-green {
  margin-top: 48px;
  background: var(--surface-low);
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 20px 24px 20px 28px;
}
.callout-green__icon {
  font-size: 18.4px;
  line-height: 32.2px;
  padding-top: 2px;
  flex-shrink: 0;
}
.callout-green p {
  font-size: 16px;
  line-height: 26px;
}
/* Info-blue callout — hoursContext / neutral methodology note */
.callout-info {
  background: #e8f4fd;
  border-left: 4px solid #3b9dd4;
  border-radius: 0 8px 8px 0;
  padding: 14px 20px;
  margin-top: 16px;
  font-size: 14px;
  line-height: 22px;
  color: #1a3a50;
}
/* Amber callout — state-specific pathway notice */
.callout-amber {
  background: #fef9ec;
  border-left: 4px solid #f59e0b;
  border-radius: 0 8px 8px 0;
  padding: 14px 20px;
  font-size: 14px;
  line-height: 22px;
  color: #78350f;
}
/* Auto ⚡/✅ callouts for supervised hours vs national median */
.callout-auto {
  border-radius: 0 8px 8px 0;
  padding: 14px 20px;
  margin-top: 16px;
  font-size: 14px;
  line-height: 22px;
}
.callout-auto--above {
  background: #fff7e6;
  border-left: 4px solid #f59e0b;
  color: #78350f;
}
.callout-auto--below {
  background: #f0faf4;
  border-left: 4px solid #22c55e;
  color: #14532d;
}

/* Tables */
.table-border {
  border: 1px solid var(--outline);
  border-radius: 8px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  max-width: 100%;
}
.table-border--grey { border-color: #e2e2e2; }
table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.8px;
}
.data-table thead {
  background: var(--primary);
  color: var(--white);
}
.data-table thead th {
  text-align: left;
  padding: 11px 14px;
  font-weight: 600;
  font-size: 11.8px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  line-height: normal;
}
.data-table tbody td {
  padding: 13px 14px;
  vertical-align: middle;
  line-height: 21.33px;
}
.data-table tbody tr:nth-child(even) { background: var(--surface-low); }

.data-table--pass thead th {
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
  text-transform: none;
}
.data-table--pass tbody td {
  padding: 10px 14px 10.83px;
  font-size: 14px;
  line-height: 20px;
}
.data-table--pass tbody tr:nth-child(even) { background: var(--surface-low); }

.lic-badge {
  display: inline-block;
  padding: 4.5px 12px 4.84px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 13.1px;
  letter-spacing: 0.5px;
  line-height: 20.34px;
}
.data-table tbody tr:nth-child(odd) .lic-badge { background: transparent; }
.data-table tbody tr:nth-child(even) .lic-badge { background: var(--surface-low); }

/* Select */
.select-wrap {
  position: relative;
  max-width: 420px;
  width: 100%;
}
.select-wrap select {
  width: 100%;
  height: 44px;
  padding: 12px 43px 12px 17px;
  border: 1px solid var(--outline);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  line-height: 20px;
  color: var(--on-surface);
  background: #EFF5F1;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.select-wrap select.variant { color: var(--on-variant); font-size: 14.7px; line-height: 18px; }
.select-wrap .chev {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 8px;
  pointer-events: none;
}
.select-wrap .chev img { width: 100%; height: 100%; }

.state-hint {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 16px;
}
.state-hint .accent { font-weight: 700; color: var(--primary); }

/* State-specific panels (Figma: SW Resource - state specific) */
.state-intro-line {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 16px;
}
.state-intro-line .accent { font-weight: 700; color: var(--primary); }

.state-panel { margin-top: 16px; display: flex; flex-direction: column; gap: 16px; }
.state-panel[hidden] { display: none !important; }

.state-license-heading {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.36px;
  margin: 0;
}

.license-rows { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.license-row-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.license-row {
  display: grid;
  grid-template-columns: minmax(120px, 138px) minmax(160px, 1fr) minmax(140px, 256px) minmax(120px, 204px);
  align-items: center;
  min-height: 53px;
  border: 1px solid var(--outline);
  border-radius: 10px;
  background: var(--white);
}
.license-row__cell {
  padding: 13px 14px;
  font-size: 13.8px;
  line-height: 21.33px;
  color: var(--on-surface);
  box-sizing: border-box;
}
.license-row__badge { display: flex; align-items: center; }
.lic-badge--row {
  background: var(--surface-low);
}
.license-row__meta {
  display: flex;
  align-items: center;
  gap: 16px;
}
.license-row__meta img { flex-shrink: 0; width: 20px; height: 20px; object-fit: contain; }

.state-note {
  border: 1px solid var(--outline);
  border-radius: 10px;
  padding: 32px;
  box-sizing: border-box;
}
.state-note ul {
  margin: 0;
  padding-left: 24px;
  font-size: 16px;
  line-height: 26px;
  color: var(--on-surface);
}
.state-note li + li { margin-top: 0; }

.state-board-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: 0;
  border: 1px solid rgba(68, 117, 105, 0.3);
  border-radius: 8px;
  min-height: 44px;
  padding: 8.5px 17px 8.7px;
  font-weight: 600;
  font-size: 14.4px;
  line-height: 25.2px;
  color: var(--primary);
  background: transparent;
  text-decoration: none;
  cursor: pointer;
}
.state-board-link:hover { opacity: 0.9; }

.state-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  margin-top: 24px;
}
@media (max-width: 768px) {
  .license-row {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .license-row__cell { overflow-wrap: break-word; }
  .license-row__meta { padding-top: 0; }
  .state-stat-grid { grid-template-columns: 1fr; }
  table.data-table { font-size: 14px; }
  .data-table thead th {
    font-size: 10px;
    letter-spacing: 0.4px;
    white-space: normal;
    hyphens: auto;
    -webkit-hyphens: auto;
  }
  .data-table tbody td {
    line-height: 1.45;
  }
  .data-table--pass thead th { font-size: 13px; line-height: 1.35; }
  .data-table--pass tbody td { font-size: 14px; line-height: 1.45; }
}
.state-stat-card {
  border: 1px solid var(--outline);
  border-radius: 10px;
  padding: 25px;
  min-height: 118px;
  box-sizing: border-box;
}
.state-stat-card__val {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 36px;
  color: var(--stat-time-value);
}
.state-stat-card__lbl {
  font-size: 14px;
  line-height: 24px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--on-variant);
  margin-top: 8px;
}

/* §3 Supervised Clinical — Figma 10091:25732 / div.crs-g */
.section--supervised .h3-poppins { margin-bottom: 16px; }
.section--supervised .supervised-intro {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 24px;
  color: var(--on-surface);
}
.section--supervised .sup-inline-accent {
  font-weight: 700;
  color: var(--primary);
}
.section--supervised .select-wrap {
  max-width: 420px;
}
.section--supervised .select-wrap select {
  height: 40px;
  padding-top: 0;
  padding-bottom: 0;
}
.section--supervised .state-panel { margin-top: 16px; }
.section--supervised .state-stat-grid {
  margin-top: 0;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}
.section--supervised .state-stat-card {
  border-color: var(--supervised-card-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  min-height: 118px;
}
.section--supervised .state-stat-card__val {
  color: var(--primary);
  margin-top: 0;
}
.section--supervised .state-stat-card__lbl {
  color: var(--on-surface);
  margin-top: 8px;
}

.state-exams-subhead {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 32px;
  letter-spacing: -0.4px;
  color: var(--on-variant);
}

/* Orange CTA strip — 与稿面同宽 1088，在 1152 栏内居中 */
.cta-strip {
  width: 100%;
  max-width: var(--band-orange);
  margin-inline: auto;
  border-radius: 10px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(90deg, #ff9b28 60%, #fee478 100%);
  box-sizing: border-box;
}
.cta-strip__icon { width: 36px; height: 36px; flex-shrink: 0; position: relative; }
.cta-strip__icon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.cta-strip__text { flex: 1; min-width: 0; }
.cta-strip__text h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: -0.4px;
  color: var(--white);
  margin-bottom: 6px;
}
.cta-strip__text p {
  font-size: 16px;
  line-height: 24px;
  color: var(--white);
}
.cta-strip__btn {
  flex-shrink: 0;
  background: var(--white);
  border-radius: 8px;
  padding: 9.5px 26px 9.58px;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  color: var(--on-surface);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.cta-strip__btn a { display: block; }

.alert-row {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 8px 0;
  max-width: 1120px;
}
.alert-row__icon { width: 24px; height: 24px; flex-shrink: 0; position: relative; }
.alert-row__icon img { position: absolute; inset: 0; width: 100%; height: 100%; }
.alert-row p {
  font-weight: 700;
  font-size: 16px;
  line-height: 26px;
  flex: 1;
  min-width: 0;
  overflow-wrap: break-word;
}

/* Exam step grid */
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  padding: 32px 32px 0;
}
.step-card {
  border: 1px solid var(--outline);
  border-radius: 10px;
  padding: 33px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 0;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}
.step-card--tall { min-height: 398px; }
.step-card .tag {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.32px;
  color: var(--primary);
}
.step-card h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 32px;
  letter-spacing: -0.4px;
  color: #1A1C1B;
}
.step-card .step-body { font-size: 16px; line-height: 24px; padding-top: 8px; }
/*
  .step-card sets word-break/overflow-wrap so long tokens wrap in narrow columns.
  Reset on this span so "Master's:" stays one unit; inline-block makes it a real box
  (some engines still fragment plain inline + nowrap under inherited break-word).
*/
.step-card .nowrap-phrase {
  display: inline-block;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: manual;
}
.step-card .btn-outline {
  margin-top: auto;
  align-self: flex-start;
  border: 1px solid rgba(68, 117, 105, 0.3);
  border-radius: 8px;
  min-height: 44px;
  padding: 8.5px 17px 8.7px;
  font-weight: 600;
  font-size: 14.4px;
  line-height: 25.2px;
  color: var(--primary);
  background: transparent;
  cursor: pointer;
}
.step-card .btn-outline a { color: inherit; }

.g-step2 { grid-column: 2; grid-row: 1; }
.g-step3 { grid-column: 3; grid-row: 1; }
.g-examday { grid-column: 1 / -1; grid-row: 2; }
.g-step1 { grid-column: 1; grid-row: 1; }

.study-list {
  list-style: disc;
  margin-left: 1.25rem;
  font-size: 16px;
  line-height: 24px;
}
.study-list li { margin-bottom: 0; }
.study-list li + li { margin-top: 12px; }
.study-list a { font-weight: 600; color: var(--primary); text-decoration: none; }

/* FAQ lead: board link must read as green + underline (beats global `a { color: inherit }`) */
#faq .section__lead a.faq-inline-board-link {
  color: var(--primary) !important;
  text-decoration: underline !important;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  font-weight: 700;
}
#faq .section__lead a.faq-inline-board-link strong {
  color: inherit;
  font-weight: inherit;
}

.italic-note {
  font-size: 16px;
  line-height: 26px;
  font-style: italic;
  margin-top: 8px;
}
.italic-note a {
  font-weight: 600;
  color: inherit;
  text-decoration: underline;
}

/* Gray divider line between sections */
.section-divider {
  border: none;
  border-top: 1px solid #e0e0e0;
  width: 100%;
  max-width: var(--content-max);
  margin: 16px auto;
}

/* Eyebrow green text */
.section__eyebrow-green {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: -0.4px;
  color: var(--primary);
  margin-bottom: -4px;
}

/* Resource cards grid */
.resource-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  margin-top: 8px;
}
.resource-card {
  border: 1px solid var(--outline-primary-variant);
  border-radius: 10px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--white);
}
.resource-card__icon { width: 36px; height: 36px; position: relative; margin-bottom: 0; }
.resource-card__icon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.resource-card__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.36px;
}
.resource-card__desc {
  font-size: 16px;
  line-height: 24px;
  color: var(--on-surface);
  flex: 1;
}
.btn-resource-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 0;
  background: var(--secondary);
  color: var(--white);
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.btn-resource-dark:hover { opacity: 0.92; }
.btn-resource-dark__arrow { flex-shrink: 0; }
.btn-resource-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: 8px;
  background: var(--primary);
  color: var(--white);
  border-radius: 8px;
  padding: 10px 24px;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.btn-resource-green:hover { opacity: 0.9; }

/* Course grid (legacy) */
.course-section-tag {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: -0.4px;
  color: var(--primary);
}
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  padding: 32px 0 0;
}
.course-card {
  border: 1px solid var(--outline);
  border-radius: 10px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--white);
}
.course-card__icon { width: 36px; height: 36px; position: relative; }
.course-card__icon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.course-card h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.36px;
  padding-top: 4px;
}
.course-card p { font-size: 16px; line-height: 24px; }

.g-c11 { grid-column: 1; grid-row: 1; }
.g-c31 { grid-column: 3; grid-row: 1; }
.g-c12 { grid-column: 1; grid-row: 2; }
.g-c22 { grid-column: 2; grid-row: 2; }
.g-c21 { grid-column: 2; grid-row: 1; }
.g-c32 { grid-column: 3; grid-row: 2; }

/* Bottom CTA */
.fcta {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  background: var(--surface-low);
  border-radius: 10px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  box-sizing: border-box;
}
.fcta h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 32px;
  line-height: 36px;
  letter-spacing: -1.28px;
  text-align: center;
  color: var(--on-variant);
}
.fcta p {
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  color: var(--on-variant);
  max-width: 860px;
}
.fcta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 2px 0;
  width: 100%;
}
.fcta--promo {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  max-width: none;
  width: 100%;
  margin-inline: 0;
  margin-top: 0;
  padding: 96px var(--gutter-x);
  background: var(--white);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fcta__promo-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.fcta__promo-bg::before {
  content: '';
  position: absolute;
  width: 420px;
  height: 280px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-23deg);
  filter: blur(50px);
  opacity: 0.75;
  background: radial-gradient(ellipse at center, rgba(157, 237, 193, 0.55) 0%, rgba(143, 231, 182, 0.15) 70%);
}
.fcta__promo-bg::after {
  content: '';
  position: absolute;
  width: 220px;
  height: 300px;
  left: 58%;
  top: 42%;
  transform: translate(-50%, -50%) rotate(-38deg);
  filter: blur(50px);
  opacity: 0.5;
  background: linear-gradient(175deg, rgba(244, 225, 79, 0.35) 13%, rgba(229, 253, 106, 0.25) 28%);
}
.fcta__promo-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}
.fcta--promo h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--secondary);
}
.fcta--promo p {
  font-size: 20px;
  line-height: 30px;
  color: var(--on-primary-container);
}
.fcta__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 360px;
  background: linear-gradient(91.15deg, #f99522 9.45%, #fee478 100%);
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: #fff;
  min-width: 80px;
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.fcta__cta svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.btn-primary-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  border-radius: 8px;
  min-height: 44px;
  padding: 13px 36px;
  font-weight: 600;
  font-size: 14.7px;
  line-height: 25.76px;
  border: none;
  cursor: pointer;
}
.link-underline {
  font-weight: 600;
  font-size: 14.4px;
  line-height: 25.2px;
  color: var(--primary);
  text-decoration: underline;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* FAQ — Tmind-UI accordion */
.section--faq .faq-list {
  width: 100%;
  /* padding-left aligns questions with "F" in "Frequently…" (= "6." col width + gap ≈ 36px) */
  padding: 24px 0 24px 36px;
  box-sizing: border-box;
}
.faq-item {
  border-bottom: 1px solid var(--surface-low);
  padding: 36px 0;
}
.faq-item__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item__q {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.02em;
  color: var(--on-surface);
  flex: 1;
  min-width: 0;
}
.faq-item__toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--on-variant);
  transition: background 0.2s;
}
.faq-item__toggle:hover { background: var(--surface-low); }
.faq-item__chev {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: block;
  overflow: visible;
  transition: transform 0.25s ease;
}
.faq-item--open .faq-item__chev {
  transform: rotate(90deg); /* right → down when expanded */
}
.faq-item--open .faq-item__toggle {
  color: var(--primary);
}
.faq-item__panel {
  margin-top: 16px;
  font-size: 16px;
  line-height: 24px;
  color: var(--on-surface);
  max-width: 948px;
}
.faq-item__panel ul {
  margin: 12px 0;
  padding-left: 1.25em;
  list-style: disc;
}
.faq-item__panel li + li { margin-top: 8px; }

/* Sources block */
.sources__h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: -0.02em;
  color: var(--on-surface);
  margin: 0 0 16px;
  text-transform: uppercase;
}
.sources__card {
  padding-top: 24px;
  padding-bottom: 24px;
  padding-left: 0;
  padding-right: 0;
}
.sources__list {
  margin: 0;
  padding-left: 1.25em;
  color: var(--on-variant);
  font-size: 16px;
  line-height: 26px;
}
.sources__list li + li { margin-top: 4px; }
.sources__list a {
  color: var(--primary);
  text-decoration: underline;
}
.sources__meta {
  margin-top: 24px;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: var(--on-variant);
}

.disclaimer {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  text-align: center;
  font-size: 14px;
  line-height: 20px;
  color: var(--on-variant);
  padding-inline: var(--section-num-inset);
  box-sizing: border-box;
}
.disclaimer strong { font-weight: 400; }
/* When disclaimer sits inside sources section, align with sources__meta */
.section--sources .disclaimer {
  margin-top: 4px;
  margin-inline: 0;
  text-align: left;
  padding-inline: 0;
}

/* Footer — 对齐 Tmind-UI Footer 组件（Figma 10091:25967） */
.footer {
  width: 100%;
  background: var(--footer-bg);
  padding: 80px 0 48px;
}
.footer--dark {
  background: var(--secondary);
}
.footer--dark .footer__logo--on-dark img {
  filter: brightness(0) invert(1);
}
.footer--dark .footer__newsline {
  color: rgba(255, 255, 255, 0.85);
}
.footer--dark .newsletter {
  border-color: rgba(255, 255, 255, 0.35);
}
.footer--dark .newsletter input {
  color: var(--white);
}
.footer--dark .newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.footer--dark .icon-btn {
  background: var(--white);
  color: var(--secondary);
}
.footer--dark .socials a img {
  filter: brightness(0) invert(1);
}
.footer--dark .footer-col h5 {
  color: rgba(255, 255, 255, 0.9);
}
.footer--dark .footer-col a,
.footer--dark .footer-col span {
  color: rgba(255, 255, 255, 0.7);
}
.footer--dark .footer__bottom {
  border-color: rgba(255, 255, 255, 0.15);
}
.footer--dark .footer__bottom > span,
.footer--dark .footer__legal,
.footer--dark .footer__legal a {
  color: rgba(255, 255, 255, 0.5);
}
.footer__inner {
  max-width: min(var(--frame-max), 1920px);
  margin: 0 auto;
  padding: 0 64px;
  box-sizing: border-box;
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  column-gap: 192px;
  row-gap: 48px;
  width: 100%;
}
.footer__left {
  display: flex;
  flex-direction: column;
  gap: 32px;
  flex: 0 0 auto;
  max-width: 100%;
}
.footer__logo {
  display: block;
  height: 36px;
  width: 190px;
  position: relative;
}
.footer__logo img {
  position: absolute;
  inset: -2.78% -0.53%;
  width: calc(100% + 1.06%);
  height: calc(100% + 5.56%);
  max-width: none;
}
.footer__newsline {
  font-size: 20px;
  line-height: 28px;
  color: var(--primary);
}
.newsletter {
  display: flex;
  align-items: center;
  max-width: 345px;
  width: 100%;
  border: 2px solid var(--primary);
  border-radius: 50px;
  padding: 6px 6px 6px 18px;
  gap: 8px;
}
.newsletter input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  line-height: 20px;
  color: var(--on-variant);
  min-width: 0;
}
.newsletter input::placeholder { color: var(--on-variant); }
.newsletter input:focus { outline: none; }
.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--secondary);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  color: #fff;
  overflow: visible;
}
.icon-btn__arrow {
  display: block;
  width: 20px;
  height: 20px;
  overflow: visible;
}
.socials { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.socials a { width: 24px; height: 24px; position: relative; display: block; }
.socials a img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }

.footer__cols {
  display: flex;
  flex: 1 1 0;
  min-width: min(100%, 280px);
  flex-wrap: wrap;
  gap: 48px;
  justify-content: center;
  align-items: flex-start;
  padding-bottom: 76px;
  box-sizing: border-box;
}
.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  flex: 1 1 0;
  min-width: 0;
}
.footer-col h5 {
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: var(--primary);
  margin: 0;
  width: 100%;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
}
.footer-col a, .footer-col span {
  font-size: 16px;
  line-height: 24px;
  color: var(--secondary);
}

.footer__bottom {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(3, 73, 75, 0.15);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer__bottom > span {
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: var(--on-variant);
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: var(--on-variant);
}
.footer__legal a { color: inherit; }

@media (max-width: 1100px) {
  .resource-shell {
    grid-template-columns: 1fr;
    padding-top: 8px;
    gap: 24px;
  }
  .resource-toc {
    position: relative;
    top: auto;
    max-height: none;
    z-index: 1;
    overflow: visible;
    padding-top: 0;
  }
  .resource-toc__nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 16px;
  }
  .resource-toc__nav a {
    font-size: 13px;
    line-height: 1.45;
  }
}

@media (max-width: 900px) {
  .section--resources__inner,
  .fcta--promo {
    padding-inline: var(--gutter-x);
  }
}

@media (max-width: 1200px) {
  .step-grid { grid-template-columns: 1fr; }
  .g-step1, .g-step2, .g-step3, .g-examday {
    grid-column: 1;
    grid-row: auto;
  }
  .step-card--tall { min-height: 0; }
}
@media (max-width: 1200px) {
  .nav-links a { font-size: 14px; }
}
@media (max-width: 1150px) {
  .site-header .nav-links { display: none; }
  .site-header .navbar--balanced > .nav-actions { margin-left: auto; }
}
@media (max-width: 1024px) {
  .hero__title { font-size: 36px; }
  .hero__sub { font-size: 17px; }
  .section__h2 { font-size: 28px; }
  .section__lead { font-size: 17px; }
  .nav-links { display: none; }
  .navbar--balanced > .nav-actions { margin-left: auto; }
  .resource-cards { grid-template-columns: 1fr; }
  .course-grid { grid-template-columns: 1fr; }
  .g-c11, .g-c21, .g-c31, .g-c12, .g-c22, .g-c32 {
    grid-column: 1;
    grid-row: auto;
  }
}
@media (max-width: 1280px) {
  .footer__inner { padding-inline: var(--gutter-x); }
}
@media (max-width: 1100px) {
  .footer__top { column-gap: 64px; }
  .footer__cols {
    justify-content: flex-start;
    padding-bottom: 48px;
  }
}
@media (max-width: 640px) {
  .hero {
    padding: 48px var(--gutter-x) 40px;
  }
  .hero--guide {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .hero__title-display {
    white-space: normal;
    font-size: clamp(28px, 8vw, 44px);
  }
  .hero__guide-inner {
    gap: 16px;
  }
  .hero__title {
    font-size: clamp(26px, 7.5vw, 34px);
    line-height: 1.2;
    padding: 0 2px;
  }
  .hero__title--guide {
    gap: 12px;
  }
  .hero__sub { font-size: 16px; line-height: 1.65; }
  .main { gap: 32px; padding-top: 0; padding-bottom: 40px; }
  .section__h2 { font-size: 24px; margin-left: 0; line-height: 1.2; }
  .section__lead { font-size: 16px; padding-left: 24px; line-height: 1.45; }
  #faq .section__intro .section__lead { padding-left: 0; }
  .section__lead--inset { padding-left: 24px; padding-right: 24px; }
  .section__intro .section__lead,
  .section__intro .section__lead--inset {
    padding-left: 0;
  }
  .section--courses .section__lead { line-height: 1.45; }
  .section--faq .faq-list {
    padding-left: 24px;
    padding-right: 0;
  }
  .disclaimer { padding-inline: 16px; line-height: 1.5; }
  .cta-strip {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px 16px;
  }
  .cta-strip__text h4 { font-size: 18px; line-height: 1.25; }
  .cta-strip__text p { font-size: 15px; line-height: 1.5; }
  .cta-strip__btn {
    white-space: normal;
    text-align: center;
    align-self: stretch;
    width: 100%;
    box-sizing: border-box;
  }
  .card-pad { padding: 24px 16px; }
  .card-pad--tight-top {
    padding-top: 24px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .callout-green {
    padding: 16px 16px 16px 18px;
    gap: 10px;
  }
  .callout-green p { font-size: 15px; line-height: 1.55; }
  .timeline-wrap { padding-left: 28px; }
  .step-h4 { font-size: 17px; }
  .state-note { padding: 20px 16px; }
  .state-note ul { font-size: 15px; line-height: 1.55; padding-left: 1.25em; }
  .step-grid { padding: 24px 16px 0; }
  .step-card { padding: 24px 16px; }
  .resource-cards { grid-template-columns: 1fr; }
  .resource-card { padding: 20px 16px; }
  .resource-card__title { font-size: 17px; }
  .resource-card__desc { font-size: 15px; line-height: 1.5; }
  .section__eyebrow-green { font-size: 17px; }
  .course-grid { padding-top: 24px; }
  .course-card { padding: 20px 16px; }
  .course-card h4 { font-size: 17px; }
  .course-card p { font-size: 15px; line-height: 1.5; }
  .fcta { padding: 24px 16px; }
  .fcta h2 { font-size: clamp(22px, 6vw, 28px); line-height: 1.2; }
  .fcta p { font-size: 15px; line-height: 1.5; }
  .fcta__actions { flex-direction: column; gap: 16px; width: 100%; }
  .btn-primary-green { width: 100%; max-width: 320px; box-sizing: border-box; }
  .footer { padding: 48px 0 32px; }
  .footer__cols { padding-bottom: 32px; }
  .footer__newsline { font-size: 17px; line-height: 1.45; }
  .h3-poppins { font-size: 18px; line-height: 1.3; }
  .select-wrap { max-width: none; }
}

@media (max-width: 400px) {
  .navbar {
    gap: 8px;
    padding-left: max(12px, env(safe-area-inset-left, 0px));
    padding-right: max(12px, env(safe-area-inset-right, 0px));
  }
  .nav-actions {
    gap: 4px;
    flex-shrink: 1;
    min-width: 0;
  }
  .btn-text {
    padding: 10px 10px;
    font-size: 13px;
    min-width: 0;
  }
  .btn-login {
    padding: 10px 12px;
    font-size: 13px;
    min-width: 0;
  }
}
