/* Public marketing site (website module). Mobile first; colour tokens from base.css so both themes work. */

/* ---------- Site tokens ---------- */
:root {
  --hero-from:#e6f3f7; --hero-to:#f4f6f8; --ink-soft:#33424f; --chip:#ffffff; --line:#d5dde4;
  --ok-chip:#e3f4e8; --due:#8a5a00; --due-bg:#fff3d6; --over:#b42318; --over-bg:#fde8e6; --prog:#0b6e8a; --prog-bg:#e2f2f7;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --hero-from:#11303c; --hero-to:#0f171e; --ink-soft:#c3ced8; --chip:#16212b; --line:#2c3c4a;
    --ok-chip:#12301e; --due:#f3c35c; --due-bg:#33270c; --over:#ff8a80; --over-bg:#3a1714; --prog:#5cc3df; --prog-bg:#173543;
  }
}
:root[data-theme="dark"] {
  --hero-from:#11303c; --hero-to:#0f171e; --ink-soft:#c3ced8; --chip:#16212b; --line:#2c3c4a;
  --ok-chip:#12301e; --due:#f3c35c; --due-bg:#33270c; --over:#ff8a80; --over-bg:#3a1714; --prog:#5cc3df; --prog-bg:#173543;
}

html { scroll-behavior:smooth; scroll-padding-top:84px; }
body.site-body { overflow-x:hidden; }
.site-body main { display:block; }
.narrow { max-width:860px; }
.center { text-align:center; }
.small { font-size:14px; }
.btn-row-center { justify-content:center; }
.lead { font-size:19px; line-height:1.55; color:var(--ink-soft); }
h1 { font-size:clamp(30px, 6vw, 48px); letter-spacing:-.015em; line-height:1.1; }
h2 { font-size:clamp(24px, 4vw, 34px); letter-spacing:-.01em; }
h3 { font-size:19px; }
.kicker { display:inline-flex; align-items:center; gap:8px; font-size:14px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--brand); margin-bottom:12px; }
.pulse-dot { width:10px; height:10px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); animation:pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow:0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); } 70% { box-shadow:0 0 0 12px transparent; } 100% { box-shadow:0 0 0 0 transparent; } }
.req, .opt { font-weight:400; color:var(--muted); font-size:14px; }

/* ---------- Header ---------- */
.preview-bar { background:var(--accent-soft); border-bottom:1px solid var(--warn); color:var(--text); font-size:15px; }
.preview-bar-inner { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; padding-top:8px; padding-bottom:8px; }
.site-header { position:sticky; top:0; z-index:60; background:color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter:saturate(1.4) blur(10px); -webkit-backdrop-filter:saturate(1.4) blur(10px); border-bottom:1px solid var(--border); }
.site-header-inner { display:flex; align-items:center; gap:12px; min-height:64px; }
.site-header-actions { display:flex; align-items:center; gap:8px; margin-left:auto; }
.site-header-text-link { font-weight:600; text-decoration:none; padding:8px 10px; border-radius:8px; color:var(--text); }
.site-header-text-link:hover { background:var(--surface-2); color:var(--text); }
.site-nav { display:none; }
.site-nav ul { list-style:none; margin:0; padding:0; }
.site-nav-link { display:block; padding:8px 12px; border-radius:8px; color:var(--text); text-decoration:none; font-weight:600; white-space:nowrap; }
.site-nav-link:hover { background:var(--surface-2); color:var(--text); }
.site-nav-link[aria-current="page"] { color:var(--brand); background:var(--brand-soft); }
.site-verify-link { display:none; align-items:center; gap:6px; font-weight:600; font-size:15px; text-decoration:none; color:var(--text); padding:8px 10px; border-radius:8px; }
.site-verify-link svg { width:18px; height:18px; color:var(--brand); }
.site-verify-link:hover { background:var(--surface-2); color:var(--text); }
.site-menu-btn [hidden] { display:none; }
.hide-xs, .hide-sm { display:none; }
@media (min-width: 480px) { .hide-xs { display:inline-flex; } }
@media (min-width: 640px) { .hide-sm { display:inline-flex; } }
.site-nav.open { display:block; position:absolute; left:0; right:0; top:100%; background:var(--surface); border-bottom:1px solid var(--border); box-shadow:var(--shadow-lg); padding:8px 16px 16px; }
.site-nav.open .site-nav-link { padding:12px; font-size:17px; }
@media (max-width: 479px) {
  .brand-name { display:none; }
}
@media (min-width: 1100px) {
  .site-nav { display:block; margin-left:12px; }
  .site-nav ul { display:flex; gap:2px; }
  .site-nav-mobile-only, .site-menu-btn { display:none !important; }
}
@media (min-width: 1280px) { .site-verify-link { display:inline-flex; } }

/* ---------- Sections ---------- */
.section { padding:56px 0; }
.section-tight { padding:32px 0; }
.section-alt { background:var(--surface-2); }
.section-head { max-width:760px; margin-bottom:28px; }
.section-head-row { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; flex-wrap:wrap; max-width:none; }
.section-head-row h2 { margin:0; }
@media (min-width: 900px) { .section { padding:80px 0; } .section-tight { padding:40px 0; } }

/* ---------- Hero ---------- */
.hero { background:linear-gradient(180deg, var(--hero-from), var(--hero-to)); padding:36px 0 48px; overflow:hidden; }
.hero-grid { display:grid; gap:32px; align-items:center; }
.hero-copy .lead { max-width:620px; }
.hero-ctas { margin:24px 0 8px; }
.hero-points { list-style:none; padding:0; margin:20px 0 0; display:grid; gap:8px; color:var(--ink-soft); }
.hero-points li { position:relative; padding-left:30px; }
.hero-points li::before { content:""; position:absolute; left:0; top:3px; width:20px; height:20px; border-radius:50%; background:var(--ok-soft); border:2px solid var(--ok); box-sizing:border-box; }
.hero-points li::after { content:""; position:absolute; left:7px; top:7px; width:6px; height:10px; border:solid var(--ok); border-width:0 2px 2px 0; transform:rotate(45deg); }
.hero-media { position:relative; }
.hero-pic img, .hero-pic { display:block; width:100%; height:auto; border-radius:18px; }
.hero-pic img { box-shadow:var(--shadow-lg); aspect-ratio:16/9; object-fit:cover; }
.hero-badge { position:absolute; left:12px; bottom:-18px; background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:10px 14px; box-shadow:var(--shadow-lg); display:flex; align-items:center; gap:10px; max-width:250px; }
.hero-badge strong { font-size:30px; line-height:1; color:var(--brand); }
.hero-badge span { font-size:14px; line-height:1.3; color:var(--ink-soft); }
@media (min-width: 900px) {
  .hero { padding:64px 0 80px; }
  .hero-grid { grid-template-columns:1.05fr 1fr; gap:48px; }
  .hero-badge { left:-20px; bottom:-24px; }
}
.page-hero { background:linear-gradient(180deg, var(--hero-from), var(--hero-to)); padding:24px 0 36px; }
.page-hero h1 { margin-top:8px; }
@media (min-width: 900px) {
  .page-hero { padding:36px 0 56px; }
  .page-hero-media .hero-grid { grid-template-columns:1.1fr .9fr; }
}

/* ---------- Breadcrumbs, chips ---------- */
.crumbs ol { list-style:none; display:flex; flex-wrap:wrap; gap:4px 0; margin:0 0 8px; padding:0; font-size:14px; }
.crumbs li { display:flex; align-items:center; color:var(--muted); }
.crumbs li + li::before { content:"/"; margin:0 8px; color:var(--muted); }
.crumbs a { color:var(--brand); text-decoration:none; }
.crumbs a:hover { text-decoration:underline; }
.crumbs [aria-current] { color:var(--ink-soft); }
.topic-jump { display:flex; flex-wrap:wrap; gap:8px; padding-top:20px; padding-bottom:4px; }
.chip { display:inline-flex; align-items:center; min-height:36px; padding:6px 14px; border-radius:99px; border:1px solid var(--border); background:var(--chip); color:var(--text); text-decoration:none; font-weight:600; font-size:15px; }
.chip:hover { border-color:var(--brand); color:var(--brand); }
.chip-row { display:flex; flex-wrap:wrap; gap:8px; }
.chip-check { position:relative; display:inline-flex; cursor:pointer; }
.chip-check input { position:absolute; opacity:0; width:1px; height:1px; }
.chip-check span { display:inline-flex; align-items:center; gap:8px; min-height:40px; padding:8px 14px; border-radius:99px; border:1px solid var(--border); background:var(--chip); font-weight:600; font-size:15px; line-height:1.25; transition:background .15s, border-color .15s; }
.chip-check span::before { content:""; width:16px; height:16px; border-radius:4px; border:2px solid var(--muted); flex-shrink:0; }
.chip-check input:checked + span { background:var(--brand-soft); border-color:var(--brand); color:var(--text); }
.chip-check input:checked + span::before { background:var(--brand-btn); border-color:var(--brand-btn); box-shadow:inset 0 0 0 2px var(--surface); }
.chip-check input:focus-visible + span { outline:3px solid var(--focus); outline-offset:2px; }
.chip-check:hover span { border-color:var(--brand); }

/* ---------- Features, steps, cards ---------- */
.feature-grid { display:grid; gap:16px; grid-template-columns:1fr; }
@media (min-width: 640px) { .feature-grid { grid-template-columns:repeat(2, 1fr); } }
@media (min-width: 1000px) { .feature-grid { grid-template-columns:repeat(3, 1fr); } }
.feature { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:22px; box-shadow:var(--shadow); }
.section-alt .feature { background:var(--surface); }
.feature h3 { margin-top:4px; }
.feature p { margin:0; color:var(--ink-soft); }
.feature-icon { display:inline-grid; place-items:center; width:46px; height:46px; border-radius:12px; background:var(--brand-soft); color:var(--brand); margin-bottom:12px; }
.feature-icon svg { width:24px; height:24px; }
.steps { list-style:none; margin:0 0 24px; padding:0; display:grid; gap:16px; counter-reset:none; }
@media (min-width: 800px) { .steps { grid-template-columns:repeat(3, 1fr); } .steps-4 { grid-template-columns:repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps-4 { grid-template-columns:repeat(4, 1fr); } }
.step { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:22px; }
.step-n { display:inline-grid; place-items:center; width:38px; height:38px; border-radius:50%; background:var(--brand-btn); color:var(--brand-btn-fg); font-weight:800; margin-bottom:10px; }
.step p { margin:0; color:var(--ink-soft); }
.split { display:grid; gap:32px; align-items:center; }
@media (min-width: 900px) { .split { grid-template-columns:1fr 1.1fr; gap:56px; } }
.ticks { list-style:none; padding:0; margin:0 0 20px; display:grid; gap:10px; }
.ticks li { position:relative; padding-left:30px; }
.ticks li::before { content:""; position:absolute; left:0; top:4px; width:20px; height:20px; box-sizing:border-box; border-radius:50%; background:var(--ok-soft); border:2px solid var(--ok); }
.ticks li::after { content:""; position:absolute; left:7px; top:8px; width:6px; height:10px; border:solid var(--ok); border-width:0 2px 2px 0; transform:rotate(45deg); }

/* Proof strip */
.proof-strip { border-bottom:1px solid var(--border); background:var(--surface); }
.proof-grid { list-style:none; margin:0; padding:18px 0; display:grid; gap:12px; grid-template-columns:1fr; }
@media (min-width: 640px) { .proof-grid { grid-template-columns:repeat(2, 1fr); } }
@media (min-width: 1000px) { .proof-grid { grid-template-columns:repeat(4, 1fr); } }
.proof-grid li { display:flex; gap:10px; align-items:center; font-weight:600; }
.proof-grid svg { width:22px; height:22px; color:var(--ok); flex-shrink:0; }

/* Hub cards */
.hub-cards { display:grid; gap:16px; }
@media (min-width: 800px) { .hub-cards { grid-template-columns:repeat(3, 1fr); } }
.hub-card { display:flex; flex-direction:column; background:var(--surface); border:1px solid var(--border); border-radius:16px; overflow:hidden; text-decoration:none; color:var(--text); box-shadow:var(--shadow); transition:transform .2s, box-shadow .2s; }
.hub-card:hover { transform:translateY(-3px); box-shadow:var(--shadow-lg); color:var(--text); }
.hub-card-media img { display:block; width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; }
.hub-card-body { display:grid; gap:6px; padding:18px 20px 20px; }
.hub-card-title { font-size:22px; font-weight:700; }
.hub-card-text { color:var(--ink-soft); }
.hub-card-count { display:inline-flex; align-items:center; gap:4px; font-weight:700; color:var(--brand); margin-top:4px; }
.hub-card-count svg { width:18px; height:18px; }

/* Course cards */
.course-grid { display:grid; gap:16px; grid-template-columns:1fr; }
@media (min-width: 640px) { .course-grid { grid-template-columns:repeat(2, 1fr); } }
@media (min-width: 1000px) { .course-grid { grid-template-columns:repeat(3, 1fr); } }
.course-card { position:relative; display:flex; flex-direction:column; gap:8px; background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:20px; box-shadow:var(--shadow); transition:border-color .2s, transform .2s, box-shadow .2s; }
.course-card:hover { border-color:var(--brand); transform:translateY(-2px); box-shadow:var(--shadow-lg); }
.course-card:focus-within { border-color:var(--brand); }
.course-card-top { display:flex; flex-wrap:wrap; gap:6px; }
.course-card-title { font-size:19px; margin:4px 0 0; }
.course-card-title a { color:var(--text); text-decoration:none; }
.course-card-title a::after { content:""; position:absolute; inset:0; border-radius:16px; }
.course-card-title a:hover { color:var(--brand); }
.course-card-summary { color:var(--ink-soft); margin:0; font-size:16px; flex:1; display:-webkit-box; -webkit-line-clamp:4; line-clamp:4; -webkit-box-orient:vertical; overflow:hidden; }
.course-card-facts { margin-top:auto; }
.course-card-facts { list-style:none; margin:4px 0 0; padding:0; display:flex; flex-wrap:wrap; gap:6px 14px; font-size:14px; color:var(--muted); }
.course-card-facts li { display:inline-flex; align-items:center; gap:6px; }
.course-card-facts svg { width:16px; height:16px; color:var(--brand); }

/* ---------- Lesson embed ---------- */
.lesson-embed { position:relative; border-radius:18px; overflow:hidden; border:1px solid var(--border); box-shadow:var(--shadow-lg); background:#0d2230; }
.lesson-poster { position:relative; min-height:380px; display:grid; }
.lesson-poster-img, .lesson-poster-img img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.lesson-poster-overlay { position:relative; z-index:1; display:flex; flex-direction:column; justify-content:flex-end; gap:12px; padding:24px; color:#fff;
  background:linear-gradient(180deg, rgba(6,22,30,.15) 0%, rgba(6,22,30,.72) 45%, rgba(6,22,30,.94) 100%); }
.lesson-poster-kicker { font-size:14px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:#8fd6ea; }
.lesson-poster-title { font-size:clamp(20px, 3.4vw, 28px); line-height:1.2; max-width:640px; }
.lesson-poster-steps { list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:8px; }
.lesson-poster-steps li { font-size:14px; padding:4px 10px; border-radius:99px; background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.28); }
.btn-ghost-light { background:rgba(255,255,255,.1); border-color:rgba(255,255,255,.6); color:#fff; }
.btn-ghost-light:hover { background:rgba(255,255,255,.2); color:#fff; }
.lesson-embed .btn-primary { background:#5cc3df; border-color:#5cc3df; color:#06222b; }
.lesson-embed .btn-primary:hover { background:#7fd2e8; color:#06222b; }
.lesson-frame { display:block; width:100%; height:min(820px, 88vh); border:0; background:var(--bg); }
@media (min-width: 900px) { .lesson-poster { min-height:500px; } .lesson-poster-overlay { padding:40px; } }

/* ---------- Coming soon specifics ---------- */
.subject-columns { display:grid; gap:20px; }
@media (min-width: 900px) { .subject-columns { grid-template-columns:repeat(3, 1fr); align-items:start; } }
.subject-col { background:var(--surface); border:1px solid var(--border); border-radius:16px; overflow:hidden; box-shadow:var(--shadow); padding:0 0 18px; }
.subject-col-media img { display:block; width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; }
.subject-col h3 { font-size:22px; margin:16px 20px 4px; }
.subject-col > p { margin:0 20px 12px; }
.launch-list { list-style:none; margin:0 20px; padding:0; display:grid; gap:10px; }
.launch-list li { display:grid; gap:2px; padding:10px 12px; border-radius:10px; background:var(--surface-2); }
.launch-list span { font-size:14px; color:var(--muted); }
.signup-grid { display:grid; gap:28px; align-items:start; }
@media (min-width: 960px) { .signup-grid { grid-template-columns:1fr 1.1fr; gap:48px; } }
.signup-card h3 { margin-top:0; }
.offer-card { margin-top:20px; border-radius:16px; padding:20px; background:var(--accent-soft); border:1px solid var(--warn); }
.offer-card h3 { display:flex; align-items:center; gap:8px; margin:0 0 6px; }
.offer-card h3 svg { width:22px; height:22px; color:var(--warn); }
.offer-card p { margin:0; }
.progress-grid { display:grid; gap:24px; }
@media (min-width: 900px) { .progress-grid { grid-template-columns:.8fr 1.2fr; gap:48px; } }
.timeline { list-style:none; margin:0; padding:0 0 0 22px; border-left:3px solid var(--border); display:grid; gap:18px; }
.timeline-item { position:relative; background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:14px 16px; }
.timeline-item::before { content:""; position:absolute; left:-32px; top:18px; width:15px; height:15px; border-radius:50%; background:var(--ok); border:3px solid var(--surface-2); }
.timeline-item.is-next::before { background:var(--accent); }
.timeline-item.is-next { border-style:dashed; border-color:var(--warn); }
.timeline-when { display:inline-block; font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:.05em; color:var(--brand); margin-bottom:2px; }
.timeline-item.is-next .timeline-when { color:var(--warn); }
.timeline-item p { margin:0; }
.about-block { text-align:center; }
.about-block .btn-row { justify-content:center; }

/* ---------- Checker ---------- */
.checker { display:grid; gap:20px; background:var(--surface); border:1px solid var(--border); border-radius:20px; padding:22px; box-shadow:var(--shadow); }
@media (min-width: 900px) { .checker { grid-template-columns:1fr 1fr; padding:32px; gap:28px 40px; } .checker-intro { grid-column:1 / -1; } }
.checker-intro h2 { margin-bottom:6px; }
.checker-intro p { margin:0; color:var(--ink-soft); }
.checker-options { border:0; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:8px; align-content:flex-start; }
.checker-results { background:var(--surface-2); border-radius:14px; padding:16px; min-height:120px; align-self:start; }
.checker-empty { margin:0; }
.checker-list { list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.checker-list li { background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:12px 14px; animation:pop .25s ease-out; }
.checker-list strong { display:block; }
.checker-list a { font-weight:700; }
.checker-list .checker-law { display:block; font-size:14px; color:var(--muted); }
.checker-list .badge { margin-top:6px; }
@keyframes pop { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:none; } }

/* ---------- Compare ---------- */
.compare { display:grid; gap:12px; }
.compare-head { display:none; }
.compare-row { display:grid; gap:6px; background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:16px; }
.compare-label { font-size:17px; margin:0; }
.compare-row p { margin:0; display:flex; gap:8px; align-items:flex-start; flex-wrap:wrap; }
.compare-them { color:var(--muted); }
.compare-us { color:var(--text); font-weight:600; }
.compare-us svg { width:20px; height:20px; color:var(--ok); flex-shrink:0; margin-top:2px; }
.compare-tag { flex-basis:100%; font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); }
.compare-us .compare-tag { color:var(--brand); }
@media (min-width: 760px) {
  .compare { gap:0; border:1px solid var(--border); border-radius:16px; overflow:hidden; background:var(--surface); }
  .compare-head, .compare-row { display:grid; grid-template-columns:.8fr 1fr 1.2fr; gap:16px; padding:14px 20px; border-radius:0; border:0; border-top:1px solid var(--border); align-items:start; }
  .compare-head { display:grid; border-top:0; background:var(--surface-2); font-weight:700; }
  .compare-tag { display:none; }
  .compare-row p { flex-wrap:nowrap; }
}

/* ---------- Matrix demo ---------- */
.matrix-demo { margin:0; background:var(--surface); border:1px solid var(--border); border-radius:16px; box-shadow:var(--shadow-lg); padding:12px; min-width:0; }
.matrix-scroll { overflow-x:auto; }
.matrix-table { width:100%; border-collapse:collapse; font-size:14px; min-width:520px; }
.matrix-table th, .matrix-table td { padding:10px 8px; text-align:left; border-bottom:1px solid var(--border); white-space:nowrap; }
.matrix-table thead th { color:var(--muted); font-size:13px; text-transform:uppercase; letter-spacing:.04em; }
.matrix-table tbody tr:last-child th, .matrix-table tbody tr:last-child td { border-bottom:0; }
.mx { display:inline-block; padding:3px 9px; border-radius:99px; font-weight:700; font-size:13px; border:1px solid transparent; }
.mx-done { background:var(--ok-chip); color:var(--ok); border-color:var(--ok); }
.mx-due { background:var(--due-bg); color:var(--due); border-color:var(--due); }
.mx-overdue { background:var(--over-bg); color:var(--over); border-color:var(--over); }
.mx-progress { background:var(--prog-bg); color:var(--prog); border-color:var(--prog); }
.mx-na { color:var(--muted); border-color:var(--border); }
.matrix-demo figcaption { font-size:13px; color:var(--muted); padding:8px 4px 0; }

/* Record demo (how it works) */
.record-demo { display:grid; gap:8px; background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:16px; box-shadow:var(--shadow-lg); font-size:15px; }
.record-row { display:grid; grid-template-columns:auto auto 1fr; gap:10px; align-items:start; padding:10px 12px; border-radius:10px; background:var(--surface-2); }
.record-row.is-flag { background:var(--warn-soft); border:1px solid var(--warn); }
.record-time { font-variant-numeric:tabular-nums; color:var(--muted); }
.record-verb { font-weight:700; color:var(--brand); }

/* Pains, principles, verify band */
.pain-grid { display:grid; gap:16px; }
@media (min-width: 800px) { .pain-grid { grid-template-columns:repeat(3, 1fr); } }
.pain { border-left:4px solid var(--accent); background:var(--surface); border-radius:0 14px 14px 0; padding:18px 20px; box-shadow:var(--shadow); }
.pain p { margin:0; color:var(--ink-soft); }
.principles { margin:0; padding:0; list-style:none; counter-reset:p; display:grid; gap:16px; }
.principles li { counter-increment:p; position:relative; padding:18px 20px 18px 64px; background:var(--surface); border:1px solid var(--border); border-radius:14px; }
.principles li::before { content:counter(p); position:absolute; left:18px; top:18px; width:32px; height:32px; border-radius:50%; display:grid; place-items:center; background:var(--brand-btn); color:var(--brand-btn-fg); font-weight:800; }
.principles p { margin:0; color:var(--ink-soft); }
.verify-band { display:grid; gap:16px; align-items:center; background:var(--surface); border:1px solid var(--border); border-radius:18px; padding:24px; box-shadow:var(--shadow); }
.verify-band h2 { font-size:24px; margin-bottom:4px; }
.verify-band p { margin:0; color:var(--ink-soft); }
@media (min-width: 800px) { .verify-band { grid-template-columns:auto 1fr auto; } }
.cta-band { background:linear-gradient(135deg, var(--hero-from), var(--surface-2)); }

/* ---------- FAQ ---------- */
.faq { display:grid; gap:10px; }
.faq-item { background:var(--surface); border:1px solid var(--border); border-radius:14px; }
.faq-item summary { list-style:none; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px 18px; cursor:pointer; }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-q { font-size:18px; font-weight:700; line-height:1.3; }
.faq-chev { width:22px; height:22px; flex-shrink:0; color:var(--brand); transition:transform .2s; }
.faq-item[open] .faq-chev { transform:rotate(180deg); }
.faq-item summary:hover .faq-q { color:var(--brand); }
.faq-answer { padding:0 18px 16px; color:var(--ink-soft); }
.faq-answer p { margin:0; }

/* ---------- Course page ---------- */
.course-badges { display:flex; flex-wrap:wrap; gap:6px; margin:6px 0 10px; }
.course-fulltitle { font-weight:600; color:var(--ink-soft); margin-top:-6px; }
.facts { display:grid; grid-template-columns:repeat(2, 1fr); gap:10px; margin:20px 0 4px; }
@media (min-width: 640px) { .facts { grid-template-columns:repeat(4, 1fr); } }
.facts div { background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:10px 12px; }
.facts dt { font-size:13px; color:var(--muted); font-weight:700; text-transform:uppercase; letter-spacing:.04em; }
.facts dd { margin:2px 0 0; font-weight:700; }
.course-body { padding-top:24px; padding-bottom:24px; }
.cs { padding:28px 0; border-bottom:1px solid var(--border); }
.cs:last-child { border-bottom:0; }
.cs h3 { margin-top:20px; }
.cs ul, .cs ol { padding-left:1.3em; }
.cs li { margin-bottom:6px; }
.cs-note { background:var(--warn-soft); border-left:4px solid var(--warn); padding:10px 14px; border-radius:6px; }
.law-list { list-style:none; padding:0 !important; display:grid; gap:10px; }
.law-list li { display:grid; gap:4px; background:var(--surface); border:1px solid var(--border); border-left:4px solid var(--brand); border-radius:10px; padding:12px 14px; margin:0; }
.law-src { font-weight:700; color:var(--brand); font-size:15px; }
.law-what { font-size:15px; color:var(--muted); }
.outcomes li::marker { color:var(--brand); font-weight:700; }
.module { background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:16px 18px; margin:12px 0; }
.module h3 { margin:0 0 6px; display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.module-time { font-size:13px; font-weight:700; padding:2px 9px; border-radius:99px; background:var(--brand-soft); color:var(--brand); }
.module-purpose { color:var(--ink-soft); font-weight:600; }
.module ul { margin-bottom:0; }
.proof-list { display:grid; gap:10px; margin:0; }
.proof-list div { background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:12px 14px; }
.proof-list dt { font-weight:700; color:var(--brand); }
.proof-list dd { margin:2px 0 0; }

/* ---------- Forms on the site ---------- */
.form-grid { display:grid; gap:0 16px; }
@media (min-width: 640px) { .form-grid { grid-template-columns:repeat(2, 1fr); } }
.interest-topics { border:0; padding:0; }
.interest-topics legend { margin-bottom:8px; }
.field label.check { display:flex; font-weight:400; }
.consent span { font-weight:600; }
.hp-field { position:absolute !important; left:-10000px; width:1px; height:1px; overflow:hidden; }
.contact-grid { display:grid; gap:24px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns:1.4fr .8fr; } }
.contact-aside h2 { font-size:20px; margin-top:8px; }
.filter-bar { display:grid; gap:12px; margin-bottom:28px; background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:16px; }
@media (min-width: 800px) { .filter-bar { grid-template-columns:1.2fr 1fr auto; align-items:end; } }
.filter-bar .field, .filter-levels { margin:0; border:0; padding:0; }
.filter-count { margin:0; }
.hub-group + .hub-group { margin-top:40px; }
.hub-count { color:var(--ink-soft); }
.hub-guide p { font-size:18px; }

/* Message pages */
.message-page { text-align:center; padding-top:24px; padding-bottom:24px; }
.message-page .btn-row { justify-content:center; }
.message-icon { display:inline-grid; place-items:center; width:64px; height:64px; border-radius:50%; background:var(--brand-soft); color:var(--brand); margin-bottom:12px; }
.message-icon svg { width:32px; height:32px; }
.share-card { text-align:left; margin:28px auto; max-width:560px; background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:20px; }
.share-card h2 { font-size:20px; }
.prose h2 { font-size:24px; margin-top:28px; }
.prose h3 { font-size:19px; margin-top:20px; }

/* ---------- Footer ---------- */
.site-footer { background:var(--surface); border-top:1px solid var(--border); padding:48px 0 24px; margin-top:0; color:var(--ink-soft); }
.footer-grid { display:grid; gap:28px; grid-template-columns:1fr 1fr; }
.footer-brand { grid-column:1 / -1; }
@media (min-width: 900px) { .footer-grid { grid-template-columns:1.6fr repeat(4, 1fr); } .footer-brand { grid-column:auto; } }
.footer-brand p { margin:12px 0 0; max-width:340px; }
.footer-heading { font-size:14px; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); margin:0 0 10px; }
.footer-links { list-style:none; margin:0; padding:0; display:grid; gap:8px; }
.footer-links a { color:var(--text); text-decoration:none; }
.footer-links a:hover { color:var(--brand); text-decoration:underline; }
.footer-bottom { display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; margin-top:36px; padding-top:20px; border-top:1px solid var(--border); font-size:14px; color:var(--muted); }
.footer-legal { list-style:none; margin:0; padding:0; display:flex; gap:16px; }
.footer-legal a { color:var(--text); }

/* ---------- Scroll reveal (only for content below the fold, set up by site.js) ---------- */
.reveal-ready { opacity:0; transform:translateY(18px); transition:opacity .6s ease-out, transform .6s ease-out; }
.reveal-ready.is-in { opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce) {
  .reveal-ready { opacity:1; transform:none; transition:none; }
  .pulse-dot { animation:none; }
  .hub-card:hover, .course-card:hover { transform:none; }
  html { scroll-behavior:auto; }
}
