/* =====================================================================
   Acuity Academy — Design System v2
   AcuityCare teal · Outfit · pill CTAs · squircle photos · rounded cards
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --teal:        #0D8B8E;
  --teal-hover:  #066668;
  --teal-deep:   #0A6E70;
  --teal-light:  #E4F1F1;
  --teal-50:     #EAF6F6;
  --ink:         #0B1F2A;   /* navy headings + footer */
  --ink-soft:    #2A3F49;
  --heading:     #162726;
  --text:        #6C706F;
  --text-muted:  #8A908E;
  --border:      #E7ECEB;
  --paper:       #FBFCFC;
  --cream:       #F4F8F8;
  --gold:        #D9A441;
  --coral:       #E8896C;
  --success:     #1E9E6A;
  --white:       #FFFFFF;

  /* Type */
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --t-hero:   clamp(2.6rem, 1.4rem + 4.2vw, 3.85rem);  /* ~50-62px */
  --t-h1:     clamp(2.1rem, 1.4rem + 2.6vw, 3rem);
  --t-h2:     clamp(1.8rem, 1.3rem + 1.9vw, 2.55rem);
  --t-h3:     clamp(1.35rem, 1.1rem + 0.9vw, 1.75rem);
  --t-h4:     1.15rem;
  --t-lg:     1.125rem;
  --t-base:   1rem;
  --t-sm:     0.9rem;
  --t-xs:     0.8rem;

  /* Spacing */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
  --sp-9: 96px; --sp-10: 120px;

  /* Radius / shadow */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-pill: 999px;
  --r-squircle: 38% 38% 38% 38% / 38% 38% 38% 38%;
  --shadow-sm: 0 2px 10px rgba(11,31,42,.05);
  --shadow:    0 14px 40px rgba(11,31,42,.07);
  --shadow-lg: 0 30px 70px rgba(11,31,42,.12);

  --maxw: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: var(--t-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1,h2,h3,h4,h5 { color: var(--heading); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); }
h4 { font-size: var(--t-h4); }
p { color: var(--text); }
strong { color: var(--heading); font-weight: 600; }
::selection { background: var(--teal); color: #fff; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(64px, 8vw, 120px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--cream { background: var(--cream); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); }

.section__head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head h2 { margin-bottom: var(--sp-4); }
.section__head p { font-size: var(--t-lg); }

/* Eyebrow / pill badge */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--t-sm); font-weight: 600; color: var(--teal-deep);
  background: var(--teal-light);
  padding: 7px 16px; border-radius: var(--r-pill);
  margin-bottom: var(--sp-5); letter-spacing: 0.01em;
}
.eyebrow svg, .eyebrow .bolt { width: 15px; height: 15px; color: var(--teal); }
.accent { color: var(--teal); }
.accent-i { color: var(--teal); font-style: italic; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: var(--t-base);
  padding: 13px 26px; border-radius: var(--r-pill);
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--teal); color: #fff; box-shadow: 0 10px 22px rgba(13,139,142,.24); }
.btn--primary:hover { background: var(--teal-hover); transform: translateY(-2px); box-shadow: 0 14px 28px rgba(13,139,142,.32); }
.btn--ghost { background: transparent; color: var(--heading); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal-deep); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--teal-deep); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--lg { padding: 16px 32px; font-size: var(--t-lg); }
.btn--sm { padding: 10px 18px; font-size: var(--t-sm); }

/* Circular video play CTA */
.play-cta { display: inline-flex; align-items: center; gap: 14px; background: none; border: 0; color: var(--heading); font-weight: 600; }
.play-cta__circle {
  width: 56px; height: 56px; border-radius: 50%; background: #fff;
  display: grid; place-items: center; color: var(--teal);
  box-shadow: 0 12px 30px rgba(13,139,142,.22); flex: none;
  transition: transform .2s ease;
  position: relative;
}
.play-cta__circle::after {
  content: ""; position: absolute; inset: -7px; border-radius: 50%;
  border: 1.5px solid var(--teal-light);
}
.play-cta:hover .play-cta__circle { transform: scale(1.08); }
.play-cta__circle svg { width: 20px; height: 20px; margin-left: 2px; }

/* =====================================================================
   HEADER — top utility bar + white nav
   ===================================================================== */
.topbar { background: var(--ink); color: #C6D3D9; font-size: var(--t-sm); }
.topbar__inner {
  max-width: var(--maxw); margin-inline: auto; padding: 9px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 22px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item svg { width: 15px; height: 15px; color: var(--teal); opacity: .95; }
.topbar a { color: #C6D3D9; transition: color .15s; }
.topbar a:hover { color: #fff; }
.topbar__divider { width: 1px; height: 16px; background: rgba(255,255,255,.14); }
.topbar__social { display: inline-flex; gap: 12px; align-items: center; }
.topbar__social a { display: grid; place-items: center; }
.topbar__social svg { width: 15px; height: 15px; }
@media (max-width: 860px) { .topbar__item--hours, .topbar__item--addr { display: none; } }
@media (max-width: 560px) { .topbar__left .topbar__divider { display:none; } .topbar__item--addr{display:none;} }

.header {
  position: sticky; top: 0; z-index: 50; background: #fff;
  border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s;
}
.header.is-scrolled { box-shadow: 0 6px 24px rgba(11,31,42,.07); border-color: var(--border); }
.nav {
  max-width: var(--maxw); margin-inline: auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark { flex: none; }
.brand__text { font-weight: 700; font-size: 1.32rem; color: var(--ink); line-height: 1.05; letter-spacing: -0.02em; }
.brand__text small { display: block; font-size: .66rem; font-weight: 500; color: var(--teal-deep); letter-spacing: .14em; text-transform: uppercase; margin-top: 2px; }

.nav__links { list-style: none; display: flex; align-items: center; gap: 4px; margin-inline: auto; padding: 0; }
.nav__links a {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 14px; border-radius: var(--r-pill);
  font-weight: 500; font-size: var(--t-sm); color: var(--ink-soft);
  transition: color .15s, background .15s;
}
.nav__links a:hover { color: var(--teal-deep); background: var(--teal-light); }
.nav__links a.is-active { color: var(--teal-deep); font-weight: 600; background: var(--teal-light); }

.nav__cta { display: flex; align-items: center; gap: 16px; }
.nav__login { font-weight: 600; font-size: var(--t-sm); color: var(--ink-soft); }
.nav__login:hover { color: var(--teal-deep); }
.nav__toggle { display: none; background: none; border: 0; color: var(--ink); padding: 6px; }

.mobile-menu { display: none; }

@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__login { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__cta .btn { display: none; }
  .mobile-menu {
    display: block; max-height: 0; overflow: hidden;
    background: #fff; border-bottom: 1px solid var(--border);
    transition: max-height .3s ease;
  }
  .mobile-menu.is-open { max-height: 560px; }
  .mobile-menu ul { list-style: none; padding: 12px 24px; margin: 0; }
  .mobile-menu li a { display: block; padding: 13px 0; font-weight: 500; color: var(--ink-soft); border-bottom: 1px solid var(--border); }
  .mobile-menu .btn { margin: 16px 24px 22px; width: calc(100% - 48px); }
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 6vw, 96px); background: linear-gradient(180deg, var(--teal-50) 0%, #fff 78%); }
.hero__scribble { position: absolute; top: 40px; left: 6%; width: 110px; color: var(--teal); opacity: .5; pointer-events: none; }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.hero__copy h1 { font-size: var(--t-hero); margin-bottom: var(--sp-5); }
.hero__lead { font-size: var(--t-lg); max-width: 540px; margin-bottom: var(--sp-7); }
.hero__ctas { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-bottom: var(--sp-7); }
.hero__stat { display: flex; align-items: center; gap: 14px; }
.avatar-stack { display: flex; }
.avatar-stack img, .avatar-stack span {
  width: 42px; height: 42px; border-radius: 50%; border: 2.5px solid #fff;
  object-fit: cover; margin-left: -12px; background: var(--teal-light);
}
.avatar-stack :first-child { margin-left: 0; }
.avatar-stack span { display: grid; place-items: center; color: var(--teal-deep); font-weight: 700; font-size: .8rem; }
.hero__stat-text strong { display: block; color: var(--teal-deep); font-size: var(--t-lg); }
.hero__stat-text span { font-size: var(--t-sm); }

/* squircle photo with offset decorative block */
.hero__visual { position: relative; }
.hero__visual::before {
  content: ""; position: absolute; inset: -22px -22px auto auto;
  width: 78%; height: 88%; top: -26px; right: -22px;
  background: var(--teal-light); border-radius: var(--r-squircle);
  transform: rotate(6deg); z-index: 0;
}
.hero__photo {
  position: relative; z-index: 1; width: 100%; aspect-ratio: 1/1.04;
  object-fit: cover; border-radius: var(--r-squircle);
  box-shadow: var(--shadow-lg);
}
.hero__badge {
  position: absolute; z-index: 2; background: #fff; border-radius: var(--r-md);
  padding: 13px 16px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px;
}
.hero__badge--tr { top: 26px; right: -8px; }
.hero__badge--bl { bottom: 26px; left: -14px; }
.hero__badge-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.hero__badge-ic svg { width: 19px; height: 19px; }
.hero__badge-tx strong { display: block; font-size: var(--t-sm); color: var(--heading); }
.hero__badge-tx span { font-size: var(--t-xs); color: var(--text-muted); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { max-width: 460px; }
}

/* ---------- Trust strip ---------- */
.trust { border-block: 1px solid var(--border); padding-block: 28px; background: #fff; }
.trust__inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; }
.trust__label { font-size: var(--t-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.trust__items { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: center; }
.trust__items span { font-weight: 600; color: var(--ink-soft); font-size: var(--t-sm); }

/* =====================================================================
   FEATURE BAND (full-width teal, icon cards)
   ===================================================================== */
.band { background: var(--teal); position: relative; overflow: hidden; color: #fff; padding-block: clamp(56px, 7vw, 88px); }
.band__wave { position: absolute; inset: 0; opacity: .12; pointer-events: none; }
.band__head { position: relative; max-width: 620px; margin-bottom: 44px; }
.band__head .eyebrow { background: rgba(255,255,255,.14); color: #CFF0EF; }
.band__head .eyebrow svg { color: #fff; }
.band__head h2 { color: #fff; }
.band__head p { color: rgba(255,255,255,.85); font-size: var(--t-lg); }
.band__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.band-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); border-radius: var(--r-md); padding: 26px 22px; transition: background .2s, transform .2s; }
.band-card:hover { background: rgba(255,255,255,.13); transform: translateY(-4px); }
.band-card__ic { width: 50px; height: 50px; border-radius: 14px; background: rgba(255,255,255,.13); display: grid; place-items: center; margin-bottom: 18px; }
.band-card__ic svg { width: 24px; height: 24px; color: #fff; }
.band-card h3 { color: #fff; font-size: var(--t-h4); margin-bottom: 8px; }
.band-card p { color: rgba(255,255,255,.82); font-size: var(--t-sm); line-height: 1.6; }
@media (max-width: 900px) { .band__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .band__grid { grid-template-columns: 1fr; } }

/* =====================================================================
   LEVEL / PATHWAY CARDS (course-card style)
   ===================================================================== */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
@media (max-width: 1000px) { .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards-4 { grid-template-columns: 1fr; } }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 860px) { .cards-3 { grid-template-columns: 1fr; } }

.course-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s; height: 100%;
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.course-card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--teal-light); }
.course-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.course-card:hover .course-card__media img { transform: scale(1.05); }
.course-card__lvl {
  position: absolute; top: 14px; left: 14px; background: var(--ink); color: #fff;
  font-weight: 700; font-size: var(--t-sm); padding: 6px 12px; border-radius: var(--r-pill);
}
.course-card__badge {
  position: absolute; top: 14px; right: 14px; background: var(--teal); color: #fff;
  font-weight: 600; font-size: var(--t-xs); padding: 6px 12px; border-radius: var(--r-pill);
}
.course-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.course-card__pillrow { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; }
.course-card__price { background: var(--teal-light); color: var(--teal-deep); font-weight: 700; font-size: var(--t-sm); padding: 6px 14px; border-radius: var(--r-pill); }
.course-card__req { background: #FCE9E1; color: #B66148; font-weight: 600; font-size: var(--t-xs); padding: 6px 12px; border-radius: var(--r-pill); }
.course-card__sub { font-size: var(--t-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 6px; }
.course-card h3 { font-size: 1.28rem; margin-bottom: 12px; }
.course-card__desc { font-size: var(--t-sm); line-height: 1.6; margin-bottom: 18px; flex: 1; }
.course-card__meta { display: flex; gap: 16px; padding-top: 16px; border-top: 1px solid var(--border); font-size: var(--t-sm); color: var(--text-muted); }
.course-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.course-card__meta strong { color: var(--heading); }
.course-card__meta svg { width: 15px; height: 15px; color: var(--teal); }

/* 3-up icon cards */
.icard { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 36px 30px; text-align: center; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.icard:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.icard__ic { width: 64px; height: 64px; border-radius: 18px; background: var(--teal-light); display: grid; place-items: center; margin: 0 auto 22px; }
.icard__ic svg { width: 30px; height: 30px; color: var(--teal); }
.icard h3 { font-size: var(--t-h4); margin-bottom: 10px; }
.icard p { font-size: var(--t-sm); line-height: 1.65; }

/* =====================================================================
   ALTERNATING FEATURE ROWS
   ===================================================================== */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 80px); align-items: center; }
.feature--reverse .feature__media { order: -1; }
.feature__list { list-style: none; padding: 0; margin: var(--sp-6) 0 0; display: grid; gap: 14px; }
.feature__list li { position: relative; padding-left: 34px; font-size: var(--t-base); color: var(--text); line-height: 1.55; }
.feature__list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px;
  border-radius: 50%; background: var(--teal-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230D8B8E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}
.feature p { font-size: var(--t-lg); }
.feature__media { position: relative; }
.feature__media::before {
  content: ""; position: absolute; width: 60%; height: 70%;
  background: var(--teal-light); border-radius: var(--r-md); z-index: 0;
  bottom: -20px; right: -20px;
}
.feature--reverse .feature__media::before { right: auto; left: -20px; }
.feature__media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4/3.2; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow); }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 40px; }
  .feature--reverse .feature__media { order: 0; }
}

/* =====================================================================
   COUNTER BAND
   ===================================================================== */
.counter { background: var(--teal); position: relative; overflow: hidden; padding-block: clamp(56px, 7vw, 90px); }
.counter__wave { position: absolute; inset: 0; opacity: .14; }
.counter__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.counter__item { position: relative; }
.counter__item:not(:last-child)::after { content: ""; position: absolute; right: -16px; top: 14%; height: 72%; width: 1px; background: rgba(255,255,255,.2); }
.counter__num { font-size: clamp(2.6rem, 1.6rem + 3vw, 3.6rem); font-weight: 700; color: #fff; line-height: 1; letter-spacing: -0.03em; }
.counter__num small { font-size: .4em; font-weight: 600; opacity: .8; }
.counter__label { color: rgba(255,255,255,.85); font-size: var(--t-sm); margin-top: 10px; line-height: 1.5; }
@media (max-width: 760px) {
  .counter__grid { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
  .counter__item::after { display: none; }
}

/* =====================================================================
   TESTIMONIALS
   ===================================================================== */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
.testi {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 30px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 20px;
}
.testi__stars { display: flex; gap: 3px; color: var(--gold); }
.testi__stars svg { width: 18px; height: 18px; }
.testi__quote { font-size: var(--t-base); line-height: 1.65; color: var(--ink-soft); flex: 1; }
.testi__who { display: flex; align-items: center; gap: 13px; padding-top: 18px; border-top: 1px solid var(--border); }
.testi__who img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.testi__name { font-weight: 700; color: var(--heading); font-size: var(--t-sm); }
.testi__role { font-size: var(--t-xs); color: var(--teal-deep); font-weight: 500; }

/* =====================================================================
   FAQ on teal block
   ===================================================================== */
.faqblock { background: var(--teal); border-radius: var(--r-lg); overflow: hidden; }
.faqblock__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; }
.faqblock__copy { padding: clamp(36px, 5vw, 64px); }
.faqblock__copy .eyebrow { background: rgba(255,255,255,.14); color: #CFF0EF; }
.faqblock__copy .eyebrow svg { color: #fff; }
.faqblock__copy h2 { color: #fff; margin-bottom: 28px; }
.faqblock__media { position: relative; min-height: 320px; }
.faqblock__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.faq-acc { display: grid; gap: 14px; }
.faq-item {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r-md); overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: var(--t-base);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: #CFF0EF; line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-item[open] { background: rgba(255,255,255,.16); }
.faq-item > div { padding: 0 22px 20px; color: rgba(255,255,255,.86); font-size: var(--t-sm); line-height: 1.65; }
.faq-item a { color: #fff; text-decoration: underline; }
@media (max-width: 860px) {
  .faqblock__grid { grid-template-columns: 1fr; }
  .faqblock__media { min-height: 240px; order: -1; }
}

/* Light FAQ (for pricing page) */
.faq-light { display: grid; gap: 14px; max-width: 820px; }
.faq-l { background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.faq-l summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; color: var(--heading); display: flex; justify-content: space-between; gap: 16px; }
.faq-l summary::-webkit-details-marker { display: none; }
.faq-l summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--teal); line-height: 1; }
.faq-l[open] summary::after { content: "–"; }
.faq-l > div { padding: 0 24px 22px; font-size: var(--t-sm); line-height: 1.65; }
.faq-l a { color: var(--teal); text-decoration: underline; }

/* =====================================================================
   BIG CTA
   ===================================================================== */
.bigcta {
  background: var(--ink); border-radius: var(--r-lg); overflow: hidden;
  display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: center;
  position: relative;
}
.bigcta__copy { padding: clamp(40px, 5vw, 64px); }
.bigcta__copy .eyebrow { background: rgba(255,255,255,.1); color: #90DDD3; }
.bigcta__copy .eyebrow svg { color: #90DDD3; }
.bigcta__copy h2 { color: #fff; margin-bottom: 16px; }
.bigcta__copy p { color: #B5C2C8; font-size: var(--t-lg); margin-bottom: 28px; }
.bigcta__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.bigcta__media { align-self: stretch; min-height: 280px; position: relative; }
.bigcta__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
  .bigcta { grid-template-columns: 1fr; }
  .bigcta__media { min-height: 220px; order: -1; }
}

/* =====================================================================
   PAGE HERO (interior pages)
   ===================================================================== */
.page-hero { background: linear-gradient(180deg, var(--teal-50), #fff); padding-block: clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--border); }
.page-hero__crumbs { font-size: var(--t-sm); color: var(--text-muted); margin-bottom: 16px; }
.page-hero__crumbs a { color: var(--teal-deep); font-weight: 500; }
.page-hero h1 { font-size: var(--t-h1); margin-bottom: 18px; max-width: 760px; }
.page-hero p { font-size: var(--t-lg); max-width: 680px; }

/* =====================================================================
   CURRICULUM (sticky TOC + accordion cards)
   ===================================================================== */
.curr-grid { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .curr-grid { grid-template-columns: 1fr; } }
.toc { position: sticky; top: 110px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-sm); }
@media (max-width: 900px) { .toc { position: static; } }
.toc h4 { font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px; }
.toc ol { list-style: none; padding: 0; margin: 0 0 6px; counter-reset: toc; display: grid; gap: 4px; }
.toc ol li a { display: block; padding: 9px 12px; border-radius: var(--r-sm); font-size: var(--t-sm); font-weight: 500; color: var(--ink-soft); transition: background .15s, color .15s; }
.toc ol li a:hover { background: var(--teal-light); color: var(--teal-deep); }
.toc__stats { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--border); display: grid; gap: 9px; }
.toc__stats li { list-style: none; font-size: var(--t-sm); color: var(--text-muted); }
.toc__stats strong { color: var(--heading); }

.level-block { margin-bottom: 56px; scroll-margin-top: 110px; }
.level-block__head { display: flex; align-items: flex-start; gap: 16px; padding-bottom: 18px; margin-bottom: 22px; border-bottom: 2px solid var(--teal-light); }
.level-block__badge { background: var(--teal); color: #fff; font-weight: 700; font-size: var(--t-sm); padding: 7px 14px; border-radius: var(--r-pill); flex: none; }
.level-block__head h2 { font-size: var(--t-h3); margin-bottom: 4px; }
.level-block__head p { font-size: var(--t-sm); }
.level-block__hrs { margin-left: auto; flex: none; background: var(--teal-light); color: var(--teal-deep); font-weight: 700; padding: 8px 16px; border-radius: var(--r-pill); font-size: var(--t-sm); }
.part-head { font-weight: 700; color: var(--teal-deep); font-size: var(--t-lg); margin: 36px 0 16px; }

.module { background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); margin-bottom: 12px; overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .2s; }
.module[open] { box-shadow: var(--shadow); border-color: var(--teal-light); }
.module summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 18px 20px; }
.module summary::-webkit-details-marker { display: none; }
.module__num { width: 46px; height: 46px; border-radius: 12px; background: var(--teal-light); color: var(--teal-deep); font-weight: 700; display: grid; place-items: center; flex: none; font-size: var(--t-sm); }
.module[open] .module__num { background: var(--teal); color: #fff; }
.module__title { font-weight: 600; color: var(--heading); font-size: var(--t-base); }
.module__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 5px; font-size: var(--t-xs); color: var(--text-muted); }
.module__meta strong { color: var(--teal-deep); }
.module__chev { margin-left: auto; flex: none; color: var(--text-muted); transition: transform .25s; }
.module[open] .module__chev { transform: rotate(180deg); color: var(--teal); }
.module__chev svg { width: 20px; height: 20px; }
.module__body { padding: 0 20px 22px 82px; }
@media (max-width: 560px) { .module__body { padding-left: 20px; } }
.module__obj { font-size: var(--t-sm); line-height: 1.65; margin-bottom: 16px; }
.module__obj a { color: var(--teal); text-decoration: underline; font-weight: 600; }
.module__topics h5 { font-size: var(--t-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 10px; }
.module__topics ul { padding-left: 20px; display: grid; gap: 6px; font-size: var(--t-sm); color: var(--text); }
.module__demo { color: var(--teal); font-weight: 600; }

/* =====================================================================
   LESSON PLAYER (demo)
   ===================================================================== */
.lesson-shell { display: grid; grid-template-columns: 320px 1fr; gap: 28px; align-items: start; }
@media (max-width: 980px) { .lesson-shell { grid-template-columns: 1fr; } }

.lesson-side { background: var(--ink); border-radius: var(--r-lg); padding: 26px; color: #B5C2C8; position: sticky; top: 100px; display: flex; flex-direction: column; }
@media (max-width: 980px) { .lesson-side { position: static; } }
.lesson-side__title { color: #fff; font-weight: 700; font-size: var(--t-base); }
.lesson-side__sub { font-size: var(--t-sm); margin-bottom: 18px; }
.lesson-side__progress { display: flex; justify-content: space-between; font-size: var(--t-sm); margin-bottom: 8px; }
.lesson-side__bar { height: 7px; background: rgba(255,255,255,.12); border-radius: var(--r-pill); overflow: hidden; margin-bottom: 22px; }
.lesson-side__bar span { display: block; height: 100%; background: var(--teal); border-radius: var(--r-pill); }
.lesson-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.lesson-list button { width: 100%; text-align: left; background: none; border: 0; color: #B5C2C8; padding: 11px 12px; border-radius: var(--r-sm); display: flex; align-items: center; gap: 11px; font-size: var(--t-sm); transition: background .15s, color .15s; }
.lesson-list button:hover { background: rgba(255,255,255,.06); color: #fff; }
.lesson-list .is-active { background: rgba(13,139,142,.22); color: #fff; }
.lesson-list .is-done { color: #8FA0A8; }
.lesson-list__dot { width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; font-size: var(--t-xs); font-weight: 700; flex: none; }
.lesson-list .is-done .lesson-list__dot { background: var(--teal); color: #fff; }
.lesson-list .is-active .lesson-list__dot { background: #fff; color: var(--teal-deep); }
.lesson-list__time { margin-left: auto; font-size: var(--t-xs); opacity: .8; flex: none; }
.lesson-side__note { margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); font-size: var(--t-xs); line-height: 1.55; }
.lesson-side__note strong { color: #fff; }

.lesson-main { background: var(--ink); border-radius: var(--r-lg); overflow: hidden; }

/* video */
.lesson-video { position: relative; aspect-ratio: 16/9; background: #000; }
.lesson-video video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.lesson-video__overlay { position: absolute; inset: 0; display: grid; place-items: center; z-index: 3; transition: opacity .3s; cursor: pointer; background: linear-gradient(180deg, rgba(11,31,42,.15), rgba(11,31,42,.45)); }
.lesson-video.is-playing .lesson-video__overlay { opacity: 0; pointer-events: none; }
.lesson-video__title { position: absolute; top: 20px; left: 22px; right: 22px; z-index: 2; color: #fff; font-weight: 600; font-size: var(--t-lg); text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.lesson-video.is-playing .lesson-video__title { opacity: 0; transition: opacity .3s; }
.lesson-video__chip { position: absolute; top: 20px; right: 22px; z-index: 4; background: var(--teal); color: #fff; font-size: var(--t-xs); font-weight: 600; padding: 5px 12px; border-radius: var(--r-pill); }
.lesson-play { width: 78px; height: 78px; border-radius: 50%; background: #fff; border: 0; display: grid; place-items: center; color: var(--teal); box-shadow: 0 16px 40px rgba(0,0,0,.3); transition: transform .2s; }
.lesson-play:hover { transform: scale(1.08); }
.lesson-play svg { width: 30px; height: 30px; margin-left: 4px; }

.lesson-tabs { display: flex; gap: 4px; padding: 6px 16px 0; border-bottom: 1px solid rgba(255,255,255,.08); overflow-x: auto; }
.lesson-tabs button { background: none; border: 0; color: #8FA0A8; font-weight: 600; font-size: var(--t-sm); padding: 14px 16px; border-bottom: 2px solid transparent; white-space: nowrap; transition: color .15s, border-color .15s; }
.lesson-tabs button:hover { color: #fff; }
.lesson-tabs .is-active { color: #fff; border-bottom-color: var(--teal); }

.lesson-content { padding: 30px 30px; max-height: 520px; overflow-y: auto; }
.lesson-content > div { display: none; }
.lesson-content > div.is-active { display: block; }
.lesson-content h3 { color: #fff; font-size: var(--t-h4); margin-bottom: 12px; }
.lesson-content h4 { color: #fff; font-size: var(--t-base); margin: 22px 0 10px; }
.lesson-content p { color: #B5C2C8; font-size: var(--t-sm); line-height: 1.7; margin-bottom: 12px; }
.lesson-content ul, .lesson-content ol { color: #B5C2C8; font-size: var(--t-sm); line-height: 1.7; padding-left: 22px; }
.lesson-content strong { color: #fff; }
.lesson-content a { color: var(--teal); }

.transcript-line { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.transcript-line__time { flex: none; color: var(--teal); font-weight: 600; font-size: var(--t-xs); font-variant-numeric: tabular-nums; padding-top: 2px; }
.transcript-line__text { color: #B5C2C8; font-size: var(--t-sm); line-height: 1.6; }

/* quiz */
.quiz { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); border-radius: var(--r-md); padding: 22px; margin-bottom: 18px; }
.quiz__q { color: #fff !important; font-weight: 600; font-size: var(--t-base) !important; margin-bottom: 16px !important; line-height: 1.5; }
.quiz__q small { display: block; color: var(--teal); font-weight: 600; font-size: var(--t-xs); margin-bottom: 6px; }
.quiz__options { display: grid; gap: 10px; }
.quiz__option { text-align: left; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-sm); padding: 13px 16px; color: #D7E0E4; font-size: var(--t-sm); display: flex; align-items: center; gap: 12px; transition: all .15s; }
.quiz__option:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); }
.quiz__option .letter { width: 26px; height: 26px; border-radius: 7px; background: rgba(255,255,255,.1); display: grid; place-items: center; font-weight: 700; font-size: var(--t-xs); flex: none; }
.quiz__option.is-correct { background: rgba(30,158,106,.18); border-color: var(--success); color: #fff; }
.quiz__option.is-correct .letter { background: var(--success); color: #fff; }
.quiz__option.is-wrong { background: rgba(232,137,108,.18); border-color: var(--coral); color: #fff; }
.quiz__option.is-wrong .letter { background: var(--coral); color: #fff; }
.quiz__feedback { display: none; margin-top: 14px; padding: 14px 16px; border-radius: var(--r-sm); font-size: var(--t-sm); line-height: 1.6; color: #C6D3D9; }
.quiz__feedback.is-correct { display: block; background: rgba(30,158,106,.12); border-left: 3px solid var(--success); }
.quiz__feedback.is-wrong { display: block; background: rgba(232,137,108,.12); border-left: 3px solid var(--coral); }
.quiz__feedback strong { color: #fff; }

.lesson-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 30px; border-top: 1px solid rgba(255,255,255,.08); flex-wrap: wrap; }
.lesson-footer__hint { font-size: var(--t-xs); color: #7F8E95; }
.lesson-footer__hint strong { color: #B5C2C8; }

/* =====================================================================
   PRICING
   ===================================================================== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: start; }
@media (max-width: 960px) { .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }
.price { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 34px 30px; box-shadow: var(--shadow-sm); position: relative; display: flex; flex-direction: column; }
.price--featured { background: var(--ink); border-color: var(--ink); box-shadow: var(--shadow-lg); transform: scale(1.02); }
.price--featured h3, .price--featured .price__amount { color: #fff; }
.price--featured .price__sub { color: #A6B5BC; }
.price--featured .price__features li { color: #C6D3D9; }
.price--featured .price__features li::before { background: rgba(13,139,142,.3); }
.price__tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--teal); color: #fff; font-weight: 600; font-size: var(--t-xs); padding: 7px 16px; border-radius: var(--r-pill); white-space: nowrap; }
.price h3 { font-size: var(--t-h4); margin-bottom: 6px; }
.price__sub { font-size: var(--t-sm); color: var(--text-muted); margin-bottom: 22px; min-height: 42px; }
.price__amount { font-size: 3rem; font-weight: 700; color: var(--heading); line-height: 1; margin-bottom: 24px; letter-spacing: -0.03em; }
.price__amount sup { font-size: 1.4rem; font-weight: 600; top: -0.7em; margin-right: 2px; }
.price__amount small { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.price__features { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; flex: 1; }
.price__features li { position: relative; padding-left: 30px; font-size: var(--t-sm); line-height: 1.5; }
.price__features li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--teal-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%230D8B8E' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat; }
.price .btn { width: 100%; }

/* =====================================================================
   CONTACT
   ===================================================================== */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info h2 { margin-bottom: 16px; }
.contact-info > p { font-size: var(--t-base); margin-bottom: 28px; }
.contact-info ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 20px; }
.contact-info li { display: flex; gap: 16px; }
.contact-info li svg { width: 22px; height: 22px; color: var(--teal); flex: none; margin-top: 3px; }
.contact-info li strong { display: block; color: var(--heading); font-size: var(--t-sm); }
.contact-info li span { font-size: var(--t-sm); color: var(--text); }
.contact-note { padding: 22px; background: var(--teal-light); border-radius: var(--r-md); border-left: 3px solid var(--teal); }
.contact-note strong { display: block; color: var(--teal-deep); margin-bottom: 6px; }
.contact-note p { margin: 0; font-size: var(--t-sm); }

.form { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow); }
.form h3 { font-size: var(--t-h3); margin-bottom: 8px; }
.form > p { color: var(--text-muted); font-size: var(--t-sm); margin-bottom: 26px; }
.form__row { display: grid; gap: 18px; margin-bottom: 18px; }
.form__row--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 520px) { .form__row--2 { grid-template-columns: 1fr; } }
.form__field label { display: block; font-size: var(--t-sm); font-weight: 600; color: var(--heading); margin-bottom: 7px; }
.form__field input, .form__field select, .form__field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--r-sm);
  font-family: inherit; font-size: var(--t-sm); color: var(--heading); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.form__field input:focus, .form__field select:focus, .form__field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(13,139,142,.12); }
.form__field textarea { min-height: 110px; resize: vertical; }
.form__legal { font-size: var(--t-xs); color: var(--text-muted); margin-bottom: 20px; line-height: 1.55; }
.form__legal a { color: var(--teal); text-decoration: underline; }
.form__success { display: none; margin-top: 20px; padding: 18px 20px; background: rgba(30,158,106,.1); border-left: 3px solid var(--success); border-radius: var(--r-sm); }
.form__success.is-visible { display: block; }
.form__success strong { color: var(--success); }

/* =====================================================================
   FOOTER (dark + pulled-up newsletter card)
   ===================================================================== */
.footer { background: var(--ink); color: #9DAEB6; position: relative; margin-top: clamp(80px, 10vw, 130px); padding-bottom: 30px; }
.newsletter {
  background: var(--teal); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center;
  margin-top: -70px; box-shadow: var(--shadow-lg); position: relative; z-index: 2;
}
.newsletter h3 { color: #fff; font-size: var(--t-h3); margin-bottom: 8px; }
.newsletter p { color: rgba(255,255,255,.85); font-size: var(--t-sm); }
.newsletter__form { display: flex; gap: 10px; }
.newsletter__form input { flex: 1; padding: 14px 18px; border: 0; border-radius: var(--r-pill); font-family: inherit; font-size: var(--t-sm); color: var(--heading); }
.newsletter__form input:focus { outline: none; box-shadow: 0 0 0 3px rgba(255,255,255,.3); }
.newsletter__form .btn--light { flex: none; }
@media (max-width: 720px) {
  .newsletter { grid-template-columns: 1fr; gap: 18px; }
  .newsletter__form { flex-direction: column; }
  .newsletter__form .btn { width: 100%; }
}

.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
@media (max-width: 880px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand .brand__text { color: #fff; }
.footer__brand .brand__text small { color: #6FCFCF; }
.footer__brand p { color: #8D9CA4; font-size: var(--t-sm); line-height: 1.65; margin: 18px 0 20px; max-width: 320px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.07); display: grid; place-items: center; color: #C6D3D9; transition: background .15s, color .15s; }
.footer__social a:hover { background: var(--teal); color: #fff; }
.footer__social svg { width: 17px; height: 17px; }
.footer__col h4 { color: #fff; font-size: var(--t-sm); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer__col a, .footer__col li { color: #8D9CA4; font-size: var(--t-sm); transition: color .15s; }
.footer__col a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 9px; align-items: flex-start; }
.footer__contact svg { width: 16px; height: 16px; color: var(--teal); flex: none; margin-top: 3px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: var(--t-xs); color: #6F8088; }
.footer__bottom a { color: #8D9CA4; margin-left: 18px; }
.footer__bottom a:hover { color: #fff; }
@media (max-width: 560px) { .footer__bottom { flex-direction: column; } .footer__bottom span:last-child a { margin-left: 0; margin-right: 18px; } }

/* utility */
.text-center { text-align: center; }
.mt-auto { margin-top: auto; }

/* ============================================================
   LEGAL MODALS (Privacy / Terms / HIPAA / Accessibility)
   ============================================================ */
.modal[hidden] { display: none; }
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity .18s ease;
}
.modal.is-open { opacity: 1; }
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(11, 31, 42, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.modal__card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  padding: 32px 32px 24px;
  transform: translateY(8px) scale(.985);
  transition: transform .22s ease;
}
.modal.is-open .modal__card { transform: translateY(0) scale(1); }
.modal__close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: #F3F5F5;
  color: #0B1F2A;
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .15s ease;
}
.modal__close:hover { background: #E4F1F1; }
.modal__close svg { width: 18px; height: 18px; }
.modal__title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #0B1F2A;
  margin: 0 40px 16px 0;
  line-height: 1.25;
}
.modal__body {
  overflow-y: auto;
  flex: 1;
  padding-right: 8px;
  color: #4A4E4D;
  font-size: .95rem;
  line-height: 1.6;
}
.modal__body p { margin: 0 0 10px; }
.modal__body h4 {
  color: #0B1F2A;
  margin: 18px 0 6px;
  font-size: 1rem;
  font-weight: 600;
}
.modal__body ul { padding-left: 20px; margin: 6px 0 10px; }
.modal__body li { margin: 4px 0; }
.modal__body a { color: #0D8B8E; text-decoration: underline; }
.modal__body a:hover { color: #066668; }
.modal__footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #EEE;
}
body.modal-open { overflow: hidden; }

@media (max-width: 600px) {
  .modal { padding: 12px; }
  .modal__card { padding: 24px 22px 18px; max-height: 90vh; border-radius: 16px; }
  .modal__title { font-size: 1.35rem; margin-right: 36px; }
  .modal__close { top: 12px; right: 12px; }
}
