/* Skayle Academy design system
   One stylesheet, no overrides. Tokens first, then base, layout, components, pages.
   Palette: deep navy for trust, "approval green" as the single accent. */

/* ── Font (self-hosted, latin subset, variable weight) ─────────────────── */
@font-face {
  font-family: "Jakarta";
  src: url("/fonts/jakarta.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
/* Metric-matched fallback so the swap does not shift the layout */
@font-face {
  font-family: "Jakarta Fallback";
  src: local("Arial");
  size-adjust: 104.5%;
  ascent-override: 98%;
  descent-override: 21%;
}

/* ── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  --navy-950: #07111f;
  --navy-900: #0b1a2c;
  --navy-800: #13263d;
  --navy-700: #1d3554;
  --accent: #0f7b57;      /* buttons (white text, AA) */
  --accent-600: #0b6646;  /* hover */
  --accent-ink: #0c6b4b;  /* accent text on light backgrounds (AA) */
  --accent-on-dark: #4fdca0; /* accent text on navy (AAA) */
  --accent-100: #e5f4ed;
  --ivory: #f4f6f9;       /* light section background */
  --paper: #ffffff;
  --ink: #0b1a2c;
  --ink-2: #384557;
  --ink-3: #5a6677;
  --line: #e0e5ec;
  --line-2: #eceff4;
  --on-dark: #ffffff;
  --on-dark-2: rgba(255, 255, 255, .80);
  --on-dark-3: rgba(255, 255, 255, .64);
  --line-dark: rgba(255, 255, 255, .12);
  --ok: #0f7b57;
  --err: #b42318;

  --font: "Jakarta", "Jakarta Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-body: 1.0625rem;
  --fs-lead: 1.1875rem;
  --fs-small: .9375rem;
  --fs-xs: .8125rem;
  --fs-h1: clamp(2.5rem, 1.55rem + 4.1vw, 4.375rem);
  --fs-h2: clamp(1.875rem, 1.35rem + 2.2vw, 3rem);
  --fs-h3: 1.25rem;

  --wrap: 1200px;
  --gutter: 20px;
  --sec: 72px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11, 26, 44, .06), 0 8px 24px rgba(11, 26, 44, .07);
  --header-h: 64px;
}
@media (min-width: 768px) {
  :root { --gutter: 32px; --sec: 104px; --fs-body: 1.125rem; --fs-lead: 1.3125rem; --header-h: 76px; }
}

/* ── Base ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, picture { display: block; max-width: 100%; }
figure, blockquote { margin: 0; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.12; letter-spacing: -.02em; font-weight: 800; text-wrap: balance; }
h1 { font-size: var(--fs-h1); letter-spacing: -.03em; line-height: 1.04; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.3; letter-spacing: -.01em; font-weight: 700; }
p { margin: 0; text-wrap: pretty; }
p + p { margin-top: 1em; }
ul, ol { margin: 0; padding: 0; }
strong { color: var(--ink); font-weight: 700; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid #2f9e74; outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { left: 12px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::selection { background: var(--accent-100); color: var(--ink); }

/* Text links inside copy */
.prose a, .link { color: var(--accent-ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover, .link:hover { color: var(--ink); }
.dark .prose a, .dark .link { color: var(--accent-on-dark); }
.dark .prose a:hover, .dark .link:hover { color: #fff; }

/* ── Layout ─────────────────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(820px + 2 * var(--gutter)); }
.sec { padding-block: var(--sec); }
.sec--tight { padding-block: calc(var(--sec) * .6); }
.sec--ivory { background: var(--ivory); }
.sec--white { background: var(--paper); }
.dark { background: var(--navy-900); color: var(--on-dark-2); }
.dark--deep { background: var(--navy-950); }
.dark h1, .dark h2, .dark h3, .dark h4, .dark strong { color: var(--on-dark); }
.sec + .sec--white, .sec--white + .sec--white { border-top: 1px solid var(--line-2); }

.head { max-width: 720px; margin-bottom: 40px; }
.head--center { margin-inline: auto; text-align: center; }
.head p { margin-top: 16px; font-size: var(--fs-lead); }
@media (min-width: 768px) { .head { margin-bottom: 56px; } }

.kicker { display: block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 14px; }
.dark .kicker { color: var(--accent-on-dark); }
.lead { font-size: var(--fs-lead); line-height: 1.55; }
.muted { color: var(--ink-3); }
.dark .muted { color: var(--on-dark-3); }
.hl { color: var(--accent-ink); }
.dark .hl, h1 .hl, .dark h2 .hl { color: var(--accent-on-dark); }

.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 640px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid { gap: 20px; } }
@media (min-width: 640px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } .split--wide-left { grid-template-columns: 1.15fr .85fr; } }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: var(--radius-sm); border: 1.5px solid transparent;
  background: var(--accent); color: #fff;
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
  touch-action: manipulation;
}
.btn:hover { background: var(--accent-600); }
.btn:active { background: var(--accent-600); }
.btn--ghost { background: transparent; color: var(--ink); border-color: #c3cbd6; }
.btn--ghost:hover { background: rgba(11, 24, 41, .04); border-color: var(--ink); }
.dark .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.dark .btn--ghost:hover { background: rgba(255, 255, 255, .06); border-color: #fff; }
.btn--navy { background: var(--navy-900); color: #fff; }
.btn--navy:hover { background: var(--navy-700); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn .arr { transition: transform .15s; }
.btn:hover .arr { transform: translateX(3px); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 559px) { .btns .btn { width: 100%; } }

.tlink { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--accent-ink); text-decoration: none; }
.tlink:hover { color: var(--ink); }
.tlink:hover .arr { transform: translateX(3px); }
.tlink .arr { transition: transform .15s; }
.dark .tlink { color: var(--accent-on-dark); }
.dark .tlink:hover { color: #fff; }

/* ── Header ─────────────────────────────────────────────────────────────── */
.hdr { position: sticky; top: 0; z-index: 100; background: var(--navy-950); border-bottom: 1px solid var(--line-dark); }
.hdr .wrap { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo { display: block; flex-shrink: 0; }
.logo img { height: 36px; width: auto; }
@media (min-width: 768px) { .logo img { height: 44px; } }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a, .nav .dd > a {
  display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border-radius: 8px;
  color: var(--on-dark-2); text-decoration: none; font-weight: 600; font-size: .9375rem;
}
.nav > a:hover, .nav .dd > a:hover, .nav .dd:focus-within > a { color: #fff; background: rgba(255, 255, 255, .06); }
.nav a[aria-current] { color: #fff; }
.nav a[aria-current]::after { content: ""; position: absolute; }
.dd { position: relative; }
.dd svg { transition: transform .15s; }
.dd-menu {
  position: absolute; top: 100%; left: -8px; min-width: 280px; padding: 8px; margin-top: 0;
  background: #fff; border-radius: 14px; box-shadow: 0 16px 48px rgba(6, 13, 25, .28);
  visibility: hidden; opacity: 0; transform: translateY(4px); transition: opacity .12s, transform .12s, visibility 0s .12s;
}
.dd-menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu { visibility: visible; opacity: 1; transform: none; transition: opacity .12s, transform .12s; }
.dd:hover > a svg, .dd:focus-within > a svg { transform: rotate(180deg); }
.dd-menu a { display: block; padding: 12px 14px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.dd-menu a:hover { background: var(--ivory); }
.dd-menu b { display: block; font-size: .9375rem; }
.dd-menu small { display: block; color: var(--ink-3); font-size: .8125rem; margin-top: 2px; }
.hdr-cta { margin-left: 8px; }
.menu-btn { display: none; }

@media (max-width: 959px) {
  .nav, .hdr-cta { display: none; }
  .menu-btn {
    display: inline-flex; align-items: center; justify-content: center; margin-left: auto;
    width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-dark); background: transparent; color: #fff; cursor: pointer;
  }
  .menu-btn .x { display: none; }
  .nav-open .menu-btn .x { display: block; }
  .nav-open .menu-btn .bars { display: none; }
  .nav-open { overflow: hidden; }
  .nav-open .nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; margin: 0; padding: 8px var(--gutter) 32px;
    background: var(--navy-950); overflow-y: auto;
  }
  .nav-open .nav > a, .nav-open .nav .dd > a {
    height: 60px; padding: 0; border-radius: 0; font-size: 1.25rem; color: #fff; border-bottom: 1px solid var(--line-dark); justify-content: space-between;
  }
  .nav-open .nav > a:hover, .nav-open .nav .dd > a:hover { background: none; }
  .nav-open .dd-menu { position: static; visibility: visible; opacity: 1; transform: none; background: none; box-shadow: none; padding: 4px 0 8px 12px; min-width: 0; }
  .nav-open .dd-menu a { color: var(--on-dark-2); padding: 10px 0; }
  .nav-open .dd-menu a:hover { background: none; color: #fff; }
  .nav-open .dd-menu small { color: var(--on-dark-3); }
  .nav-open .dd > a svg { display: none; }
  .nav-mob { display: grid; gap: 10px; margin-top: 24px; }
}
.nav-mob { display: none; }
@media (max-width: 959px) { .nav-open .nav-mob { display: grid; } }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero { padding-block: 44px 56px; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) {
  .hero { padding-block: 88px 96px; }
  .hero .wrap { grid-template-columns: 1.1fr .9fr; gap: 64px; }
}
.hero h1 { color: #fff; }
.hero .lead { margin-top: 22px; color: var(--on-dark-2); max-width: 36em; }
.hero-kicker { display: block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-on-dark); margin-bottom: 16px; line-height: 1.5; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: var(--fs-small); color: var(--on-dark-3); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { color: var(--accent-on-dark); flex-shrink: 0; }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: 50% 20%; border-radius: 22px; }
.hero-photo figcaption {
  position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 14px; background: rgba(6, 13, 25, .88); color: #fff; font-size: var(--fs-small); line-height: 1.35;
}
.hero-photo figcaption b { display: block; font-size: 1rem; }
.hero-photo figcaption span { color: var(--on-dark-3); }
@media (max-width: 899px) { .hero-photo--desk { display: none; } }
.byline { display: flex; align-items: center; gap: 12px; margin-top: 28px; font-size: var(--fs-small); color: var(--on-dark-3); line-height: 1.4; }
.byline img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; }
.byline b { color: #fff; display: block; font-size: .9375rem; }
@media (min-width: 900px) { .byline--mob { display: none; } }

.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; font-size: var(--fs-xs); color: var(--on-dark-3); margin-bottom: 22px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { color: var(--on-dark-2); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

/* Proof strip under hero */
.proof { border-top: 1px solid var(--line-dark); }
.proof .wrap { display: grid; grid-template-columns: repeat(2, 1fr); }
.proof div { padding: 22px 8px; text-align: center; }
.proof div:nth-child(odd) { border-right: 1px solid var(--line-dark); }
.proof div:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
.proof b { display: block; color: #fff; font-size: 1.75rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.proof span { display: block; margin-top: 4px; font-size: var(--fs-xs); color: var(--on-dark-3); line-height: 1.35; }
@media (min-width: 768px) {
  .proof .wrap { grid-template-columns: repeat(4, 1fr); }
  .proof div { padding: 30px 12px; border-bottom: 0 !important; border-right: 1px solid var(--line-dark); }
  .proof div:last-child { border-right: 0; }
  .proof b { font-size: 2.25rem; }
}

/* Logo strip */
.logos { padding-block: 32px; background: var(--paper); border-bottom: 1px solid var(--line-2); }
.logos p { text-align: center; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 20px; }
.logos ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 36px; }
.logos img { height: 28px; width: auto; max-width: 130px; object-fit: contain; filter: grayscale(1); opacity: .72; }
.logos li.inv img { filter: grayscale(1) invert(1); }
@media (min-width: 768px) { .logos img { height: 32px; } }

/* ── Cards ──────────────────────────────────────────────────────────────── */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.sec--white .card { background: var(--ivory); border-color: var(--line-2); }
.dark .card { background: var(--navy-800); border-color: var(--line-dark); color: var(--on-dark-2); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: var(--fs-small); line-height: 1.6; }
@media (min-width: 768px) { .card { padding: 32px; } }

/* Pain → fix cards (homepage "Sound familiar?") */
.pain { display: flex; flex-direction: column; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.pain:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.pain q { display: block; quotes: none; font-size: 1.1875rem; line-height: 1.4; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.pain p { margin-top: 12px; }
.pain .fix { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 2px; font-size: var(--fs-small); }
.pain .fix > span { color: var(--ink-3); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.pain .fix b { color: var(--accent-ink); }
.pain .gap { height: 20px; }

/* Course cards */
.ccard { display: flex; flex-direction: column; overflow: hidden; padding: 0; text-decoration: none; transition: box-shadow .15s, border-color .15s; }
.ccard:hover { box-shadow: var(--shadow); border-color: #c9d2dd; }
.ccard picture, .ccard img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; background: var(--navy-800); }
.ccard-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.ccard .tag { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.ccard h3 { margin: 8px 0 10px; font-size: 1.3125rem; }
.ccard p { color: var(--ink-2); }
.ccard .facts { margin-top: auto; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: var(--fs-xs); color: var(--ink-3); }
.ccard .go { margin-top: 16px; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; align-items: center; }
.ccard:hover .go { color: var(--accent-ink); }

@media (min-width: 640px) { .ccard picture, .ccard img { aspect-ratio: 4 / 3; } }
/* Swipe row on phones (testimonials) */
@media (max-width: 639px) {
  .swipe { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 8px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .swipe::-webkit-scrollbar { display: none; }
  .swipe > * { flex: 0 0 86%; scroll-snap-align: start; }
}

/* Simple feature list (icon + text) */
.feat { display: grid; gap: 28px; }
@media (min-width: 640px) { .feat { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .feat--4 { grid-template-columns: repeat(4, 1fr); } .feat--3 { grid-template-columns: repeat(3, 1fr); } }
.feat h3 { font-size: 1.125rem; margin: 14px 0 8px; }
.feat p { font-size: var(--fs-small); }
.ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-100); color: var(--accent-ink); }
.dark .ico { background: rgba(79, 220, 160, .12); color: var(--accent-on-dark); }
.ico svg { width: 22px; height: 22px; }

/* Check list */
.checks { list-style: none; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; line-height: 1.5; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .15em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c6b4b' 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;
}
.dark .checks li::before { background-color: rgba(79, 220, 160, .14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234fdca0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }
.checks--x li::before { background-color: #f6e3e1; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b42318' stroke-width='3' stroke-linecap='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E"); }

/* Numbered steps */
.steps { list-style: none; counter-reset: s; display: grid; gap: 28px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.steps li { counter-increment: s; }
.steps li::before {
  content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent-100); color: var(--accent-ink); font-weight: 800; margin-bottom: 16px;
}
.dark .steps li::before { background: var(--accent); color: #fff; }
.steps h3 { font-size: 1.125rem; margin-bottom: 6px; }
.steps p { font-size: var(--fs-small); }

/* Testimonials */
.quote { display: flex; flex-direction: column; }
.quote blockquote { margin: 0; font-size: 1.0625rem; line-height: 1.6; color: var(--ink); }
.dark .quote blockquote { color: #fff; }
.quote blockquote::before { content: "“"; display: block; font-size: 3rem; line-height: .8; color: var(--accent); font-weight: 800; height: 28px; }
.quote footer { margin-top: auto; padding-top: 20px; display: flex; align-items: center; gap: 12px; font-size: var(--fs-small); line-height: 1.35; }
.quote .av { flex-shrink: 0; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--accent-100); color: var(--accent-ink); font-weight: 800; font-size: .875rem; }
.dark .quote .av { background: rgba(79, 220, 160, .14); color: var(--accent-on-dark); }
.quote footer b { display: block; }
.quote footer span { color: var(--ink-3); }
.dark .quote footer span { color: var(--on-dark-3); }
.stars { color: #e3a008; letter-spacing: 2px; font-size: .875rem; margin-bottom: 10px; }

/* Person (instructor) */
.person { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .person { grid-template-columns: 420px 1fr; gap: 72px; } }
.person img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: 50% 18%; border-radius: 22px; }
@media (max-width: 899px) { .person img { max-width: 420px; } }
.person h2 { margin-bottom: 8px; }
.person .role { color: var(--accent-ink); font-weight: 700; margin-bottom: 20px; }
.dark .person .role { color: var(--accent-on-dark); }
.creds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; list-style: none; }
.creds li { font-size: var(--fs-xs); font-weight: 600; padding: 8px 12px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); }
.dark .creds li { background: var(--navy-800); border-color: var(--line-dark); color: #fff; }

/* Cities */
.cities { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.cities li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 600; color: var(--ink); font-size: var(--fs-small); }
.cities li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.cities li.home { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.dark .cities li { background: var(--navy-800); border-color: var(--line-dark); color: #fff; }

/* Price / plan cards */
.plan { display: flex; flex-direction: column; }
.plan .tag { align-self: flex-start; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 6px; background: var(--accent-100); color: var(--accent-ink); margin-bottom: 16px; }
.dark .plan .tag { background: rgba(79, 220, 160, .14); color: var(--accent-on-dark); }
.plan h3 { font-size: 1.5rem; }
.plan .price { margin: 18px 0 4px; font-size: 2.5rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1; }
.dark .plan .price { color: #fff; }
.plan .price small { font-size: 1rem; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }
.dark .plan .price small { color: var(--on-dark-3); }
.plan .alt { font-size: var(--fs-small); color: var(--ink-3); }
.dark .plan .alt { color: var(--on-dark-3); }
.plan .checks { margin: 24px 0 28px; font-size: var(--fs-small); }
.plan .btn { margin-top: auto; }
.plan--feature { border: 2px solid var(--accent) !important; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.dark .faq { border-color: var(--line-dark); }
.faq details { border-bottom: 1px solid var(--line); }
.dark .faq details { border-color: var(--line-dark); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px;
  padding: 22px 0; font-weight: 700; color: var(--ink); font-size: 1.0625rem; line-height: 1.45;
}
.dark .faq summary { color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex-shrink: 0; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; border: 1.5px solid currentColor; opacity: .5;
  background: linear-gradient(currentColor, currentColor) center / 10px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 10px no-repeat;
}
.faq details[open] summary::after { background: linear-gradient(currentColor, currentColor) center / 10px 1.5px no-repeat; opacity: 1; color: var(--accent-ink); }
.dark .faq details[open] summary::after { color: var(--accent-on-dark); }
.faq summary:hover { color: var(--accent-ink); }
.dark .faq summary:hover { color: var(--accent-on-dark); }
.faq .a { padding: 0 44px 24px 0; font-size: var(--fs-small); line-height: 1.7; }
.faq .a p + p { margin-top: .8em; }
.faq .a a { color: var(--accent-ink); font-weight: 600; }
.dark .faq .a a { color: var(--accent-on-dark); }
.faq-wrap { display: grid; gap: 40px; }
.faq-wrap .head h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); }
@media (min-width: 980px) { .faq-wrap { grid-template-columns: 360px 1fr; gap: 80px; } .faq-wrap .head { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; margin: 0; } }

/* CTA band */
.cta { text-align: center; }
.cta h2 { max-width: 16em; margin-inline: auto; }
.cta p { max-width: 36em; margin: 18px auto 0; font-size: var(--fs-lead); }
.cta .btns { justify-content: center; }
.cta .note { margin-top: 20px; font-size: var(--fs-small); color: var(--on-dark-3); }

/* Note / callout */
.note-box { border-left: 3px solid var(--accent); padding: 16px 20px; background: var(--paper); border-radius: 0 10px 10px 0; font-size: var(--fs-small); }
.sec--white .note-box { background: var(--ivory); }
.dark .note-box { background: var(--navy-800); }

/* Comparison table */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.tbl { width: 100%; border-collapse: collapse; font-size: var(--fs-small); min-width: 560px; }
.tbl th, .tbl td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-2); }
.tbl thead th { background: var(--navy-900); color: #fff; font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; }
.tbl tbody th { color: var(--ink); font-weight: 700; width: 28%; }
.tbl tr:last-child th, .tbl tr:last-child td { border-bottom: 0; }

/* Related links list */
.links { list-style: none; display: grid; gap: 10px; }
@media (min-width: 768px) { .links { grid-template-columns: repeat(2, 1fr); } }
.links a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; font-weight: 600; color: var(--ink); font-size: var(--fs-small); line-height: 1.4; }
.links a:hover { border-color: var(--accent); }
.links a .arr { color: var(--accent-ink); flex-shrink: 0; }

/* ── Course page ────────────────────────────────────────────────────────── */
.facts-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; list-style: none; }
.facts-row li { font-size: var(--fs-xs); font-weight: 600; color: #fff; padding: 8px 12px; border-radius: 8px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); }
.facts-row li b { color: var(--accent-on-dark); }
.hero-book img { width: 100%; border-radius: 18px; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 899px) { .hero-book { display: none; } }

.course-body { display: grid; gap: 48px; }
@media (min-width: 1040px) { .course-body { grid-template-columns: 1fr 360px; gap: 64px; align-items: start; } }
.enrol { position: sticky; top: calc(var(--header-h) + 24px); }
.enrol .card { background: var(--navy-900) !important; border: 0; color: var(--on-dark-2); padding: 28px; }
.enrol h3 { color: #fff; font-size: 1.125rem; }
.enrol .price { color: #fff; font-size: 2.5rem; font-weight: 800; letter-spacing: -.02em; line-height: 1; margin: 16px 0 6px; }
.enrol .price small { font-size: 1rem; color: var(--on-dark-3); font-weight: 600; letter-spacing: 0; }
.enrol dl { margin: 20px 0 24px; display: grid; gap: 12px; font-size: var(--fs-small); }
.enrol dl div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line-dark); }
.enrol dt { color: var(--on-dark-3); }
.enrol dd { margin: 0; color: #fff; font-weight: 600; text-align: right; }
.enrol .small { margin-top: 14px; font-size: var(--fs-xs); color: var(--on-dark-3); text-align: center; }
.enrol .btn + .btn { margin-top: 10px; }
.enrol .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.enrol .btn--ghost:hover { background: rgba(255, 255, 255, .06); border-color: #fff; }
@media (max-width: 1039px) { .enrol { position: static; } }

.modules { counter-reset: m; border-top: 1px solid var(--line); }
.modules details { border-bottom: 1px solid var(--line); counter-increment: m; }
.modules summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 36px 1fr auto 20px; gap: 14px; align-items: center; padding: 18px 0; }
.modules summary::-webkit-details-marker { display: none; }
.modules summary::before { content: counter(m, decimal-leading-zero); font-size: var(--fs-xs); font-weight: 800; color: var(--accent-ink); }
.modules summary b { color: var(--ink); font-size: 1rem; line-height: 1.4; }
.modules summary small { color: var(--ink-3); font-size: var(--fs-xs); white-space: nowrap; }
.modules summary::after { content: "+"; font-size: 1.25rem; color: var(--ink-3); text-align: right; }
.modules details[open] summary::after { content: "−"; color: var(--accent-ink); }
.modules summary:hover b { color: var(--accent-ink); }
.modules ul { list-style: none; padding: 0 0 20px 50px; display: grid; gap: 8px; font-size: var(--fs-small); }
.modules li { position: relative; padding-left: 16px; }
.modules li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
@media (max-width: 559px) { .modules summary { grid-template-columns: 30px 1fr 18px; } .modules summary small { display: none; } .modules ul { padding-left: 44px; } }

/* ── Sticky mobile bar ──────────────────────────────────────────────────── */
.mbar {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 90;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px;
  border-radius: 16px; background: var(--navy-950); border: 1px solid rgba(79, 220, 160, .3); box-shadow: 0 12px 32px rgba(6, 13, 25, .35);
  transform: translateY(150%); transition: transform .25s;
}
.mbar.on { transform: none; }
.mbar b { display: block; color: #fff; font-size: .9375rem; line-height: 1.25; }
.mbar span { display: block; color: var(--on-dark-3); font-size: var(--fs-xs); line-height: 1.3; }
.mbar .btn { min-height: 44px; padding: 0 18px; flex-shrink: 0; }
@media (min-width: 960px) { .mbar { display: none; } }
.nav-open .mbar { display: none; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.ftr { background: var(--navy-950); color: var(--on-dark-3); font-size: var(--fs-small); padding-block: 64px 32px; }
.ftr-top { display: grid; gap: 40px; }
@media (min-width: 900px) { .ftr-top { grid-template-columns: 1.3fr repeat(4, 1fr); gap: 32px; } }
.ftr-brand p { margin-top: 18px; max-width: 26em; line-height: 1.6; }
.ftr h2 { font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-on-dark); margin-bottom: 14px; font-weight: 700; }
.ftr ul { list-style: none; display: grid; gap: 2px; }
.ftr ul a { display: inline-flex; min-height: 36px; align-items: center; color: var(--on-dark-2); text-decoration: none; }
.ftr ul a:hover { color: #fff; text-decoration: underline; }
.ftr-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 20px; }
@media (min-width: 900px) { .ftr-cols { display: contents; } }
.social { display: flex; gap: 8px; margin-top: 22px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-dark); color: var(--on-dark-2); }
.social a:hover { color: #fff; border-color: #fff; }
.social svg { width: 18px; height: 18px; }
.ftr-bot { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: grid; gap: 14px; font-size: var(--fs-xs); line-height: 1.6; }
@media (min-width: 900px) { .ftr-bot { grid-template-columns: 1fr auto; align-items: end; gap: 40px; } }
.ftr-bot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.ftr-bot a { color: var(--on-dark-2); text-decoration: none; }
.ftr-bot a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 959px) { .has-mbar .ftr { padding-bottom: 104px; } }

/* ── Forms (inline page forms + dialogs built by forms.js) ──────────────── */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; color: var(--ink-2); }
@media (min-width: 768px) { .form-card { padding: 36px; } }
.form-card h2, .form-card h3 { color: var(--ink); }
.mf-field { margin-top: 16px; }
.mf-field-row { display: grid; gap: 0 14px; }
@media (min-width: 560px) { .mf-field-row { grid-template-columns: 1fr 1fr; } }
.mf-field label, .mf-choice-label, .lf-choices legend { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; font-size: .875rem; font-weight: 700; color: var(--ink); padding: 0; }
.mf-field input, .mf-field select, .mf-field textarea,
[data-lead-form] input:not([type=radio]):not([type=checkbox]):not([type=hidden]), [data-lead-form] select, [data-lead-form] textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 10px; border: 1.5px solid #cfd6df; background: #fff; color: var(--ink);
  font-size: 16px; line-height: 1.4; appearance: none; -webkit-appearance: none;
}
[data-lead-form] textarea { min-height: 96px; resize: vertical; }
[data-lead-form] select { padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%230c6b4b' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") right 14px center no-repeat; }
[data-lead-form] input:focus, [data-lead-form] select:focus, [data-lead-form] textarea:focus { outline: none; border-color: var(--accent-ink); box-shadow: 0 0 0 3px rgba(15, 123, 87, .25); }
[data-lead-form] ::placeholder { color: #8a93a1; }
[data-lead-form] [aria-invalid="true"] { border-color: var(--err) !important; }
.lf-req { color: var(--err); font-weight: 700; }
.lf-opt { font-size: .6875rem; font-weight: 700; font-style: normal; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); background: var(--ivory); border: 1px solid var(--line); padding: 2px 6px; border-radius: 4px; }
.lf-error { margin-top: 6px; font-size: .8125rem; font-weight: 600; color: var(--err); }
.lf-hint { margin-top: 6px; font-size: .8125rem; color: var(--ink-3); }
.lf-hint-fix { border: 0; background: none; padding: 0; color: var(--accent-ink); font-weight: 700; text-decoration: underline; cursor: pointer; }
.lf-status { margin-top: 14px; font-size: var(--fs-small); }
.lf-status:empty { display: none; }
.lf-status--error { padding: 12px 14px; border-radius: 10px; background: #fdf0ef; color: var(--err); }
.lf-status--error a { color: var(--err); font-weight: 700; }
.lf-status--ok { padding: 12px 14px; border-radius: 10px; background: #edf7f1; color: var(--ok); }
.lf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.lf-submit, [data-lead-form] button[type=submit] { width: 100%; margin-top: 22px; }
.lf-submit[aria-busy="true"], [data-lead-form] [aria-busy="true"] { opacity: .7; pointer-events: none; }
.lf-spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-disclaimer { margin-top: 12px; font-size: .8125rem; color: var(--ink-3); text-align: center; }
.lf-note, .lf-sub { font-size: var(--fs-small); color: var(--ink-3); margin-top: 8px; }
.lf-choices { border: 0; padding: 0; margin: 18px 0 0; min-width: 0; }
.mf-choice-grid, .lf-chip-grid { display: grid; gap: 8px; }
@media (min-width: 480px) { .mf-choice-grid { grid-template-columns: 1fr 1fr; } .mf-choice-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.lf-chip-grid { display: flex; flex-wrap: wrap; }
.mf-choice, .lf-chip { position: relative; display: flex; cursor: pointer; }
.mf-choice input, .lf-chip input { position: absolute; opacity: 0; pointer-events: none; }
.mf-choice span, .lf-chip span { display: flex; align-items: center; width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 10px; border: 1.5px solid #cfd6df; background: #fff; font-size: .9375rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.lf-chip span { width: auto; border-radius: 999px; }
.mf-choice input:checked + span, .lf-chip input:checked + span { border-color: var(--accent); background: var(--accent); color: #fff; }
.mf-choice input:focus-visible + span, .lf-chip input:focus-visible + span { outline: 3px solid #2f9e74; outline-offset: 2px; }
.mf-checkbox-label { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 500 !important; font-size: .8125rem !important; color: var(--ink-3) !important; line-height: 1.5; cursor: pointer; }
.mf-checkbox-label input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--navy-900); }
.mf-checkbox-label a { color: var(--accent-ink); }
.lf-class-note { display: grid; gap: 2px; margin-top: 16px; padding: 14px 16px; border-radius: 10px; background: var(--ivory); border: 1px solid var(--line); font-size: .875rem; color: var(--ink-3); }
.lf-class-note strong { color: var(--ink); }
.lf-course-chip { display: inline-flex; margin-top: 14px; padding: 8px 12px; border-radius: 8px; background: var(--accent-100); color: var(--accent-ink); font-weight: 700; font-size: .875rem; }
.lf-course-chip[hidden] { display: none; }
.lf-success, .mf-success { text-align: center; padding: 12px 0; }
.lf-success-icon, .mf-success-icon { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: #edf7f1; color: var(--ok); font-size: 1.5rem; font-weight: 800; }
.lf-success h2, .lf-success h3, .mf-success h2 { font-size: 1.5rem; margin-bottom: 10px; }
.lf-success-links { display: grid; gap: 8px; margin: 20px 0; text-align: left; }
.lf-success-links a { display: block; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; color: var(--ink); }
.lf-success-links a:hover { border-color: var(--accent); }
[hidden] { display: none !important; }


/* Field wrappers used by the page forms (kept from the form templates) */
.lf-field, .emp-form-field { margin-top: 16px; }
.lf-field label, .emp-form-field label { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; font-size: .875rem; font-weight: 700; color: var(--ink); }
.pm-form-row, .gc-form-row, .emp-form-row { display: grid; gap: 0 14px; }
@media (min-width: 560px) { .pm-form-row, .gc-form-row, .emp-form-row { grid-template-columns: 1fr 1fr; } .emp-form-field--full { grid-column: 1 / -1; } }
.lf-stack > .mf-field:first-child, .lf-stack > .lf-field:first-child { margin-top: 12px; }
.pm-form-note, .lf-actions-note { margin-top: 12px; font-size: .8125rem; color: var(--ink-3); text-align: center; }
.lf-actions { margin-top: 8px; }
.lf-anchor { display: block; position: relative; top: calc(-1 * var(--header-h)); }
[data-lead-form] .button, .mf-shell .button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  min-height: 52px; padding: 0 26px; border-radius: var(--radius-sm); border: 0;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 1rem; cursor: pointer;
}
[data-lead-form] .button:hover, .mf-shell .button:hover { background: var(--accent-600); }
.mf-shell .mf-next-btn { width: auto; }

/* Dialog shell */
dialog.lf-dialog { width: min(600px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 20px; background: #fff; color: var(--ink-2); box-shadow: 0 24px 80px rgba(6, 13, 25, .45); overflow: hidden; }
dialog.lf-dialog::backdrop { background: rgba(6, 13, 25, .72); }
@media (max-width: 599px) {
  dialog.lf-dialog { width: 100vw; max-width: 100vw; max-height: 94dvh; margin: auto 0 0; border-radius: 20px 20px 0 0; }
}
.mf-shell { display: flex; flex-direction: column; max-height: inherit; }
.mf-topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 14px 24px; border-bottom: 1px solid var(--line-2); }
.mf-progress-wrap { display: flex; align-items: center; gap: 12px; }
.mf-dots { display: flex; gap: 6px; }
.mf-dots span, .mf-dot { width: 26px; height: 4px; border-radius: 2px; background: var(--line); }
.mf-dots .on, .mf-dots .done, .mf-dot.on, .mf-dot.done, .mf-dots [aria-current], .mf-dots .is-active, .mf-dots .is-done { background: var(--accent); }
.mf-step-label { font-size: .8125rem; font-weight: 700; color: var(--ink-3); }
.dialog-close { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 0; background: var(--ivory); color: var(--ink); cursor: pointer; }
.dialog-close:hover { background: var(--line); }
.mf-body { padding: 22px 24px 28px; overflow-y: auto; }
.mf-step .eyebrow, .mf-body .eyebrow { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 8px; }
.mf-step h2, .mf-body h2 { font-size: 1.5rem; line-height: 1.2; outline: none; }
.mf-step > p, .mf-body form > p:not(.form-disclaimer):not(.lf-note) { margin-top: 8px; font-size: .9375rem; color: var(--ink-3); }
.mf-role-grid, .mf-goal-grid { display: grid; gap: 10px; margin-top: 18px; }
@media (min-width: 520px) { .mf-role-grid { grid-template-columns: 1fr 1fr; } }
.mf-role-card, .mf-goal-btn {
  display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; text-align: left; width: 100%;
  padding: 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; color: var(--ink);
}
.mf-goal-btn { display: flex; font-weight: 600; min-height: 52px; }
.mf-role-card:hover, .mf-goal-btn:hover { border-color: var(--accent); background: #f6fbf8; }
.mf-role-icon { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--accent-100); }
.mf-role-icon svg { width: 22px; height: 22px; stroke: var(--accent-ink); }
.mf-role-card strong { font-size: .9375rem; }
.mf-role-card > span:last-child { font-size: .8125rem; color: var(--ink-3); line-height: 1.4; }
.mf-btn-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 20px; }
.mf-back { border: 0; background: none; padding: 10px 0; color: var(--ink-3); font-weight: 600; cursor: pointer; }
.mf-back:hover { color: var(--ink); }
.mf-next-btn { min-width: 140px; }
.mf-consent-field { margin-top: 18px; }

/* Utility */
.mt-0 { margin-top: 0 !important; }
.center { text-align: center; }
.hide-mob { }
@media (max-width: 767px) { .hide-mob { display: none !important; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .hdr, .mbar, .ftr, .btns, dialog { display: none !important; }
  .dark { background: #fff; color: #000; }
  .dark h1, .dark h2, .dark h3 { color: #000; }
}

/* Legal pages */
.legal h2 { font-size: 1.375rem; margin: 40px 0 12px; }
.legal ul { padding-left: 22px; margin: 12px 0; display: grid; gap: 6px; }
.legal p, .legal li { font-size: var(--fs-small); line-height: 1.7; }
