/* ============================================================
   Fit to Practise — design system (v2, "Hub")
   Clean SaaS layout: deep plum hero bands with a soft glow, faint grid
   and geometric accents (triangles, dot grids, rings); white content
   sections with hairline borders; emerald for every action.
   Type: Geist (UI + headings) · Geist Mono (labels, data)
   ============================================================ */

/* ---------- fonts: Geist + Geist Mono, self-hosted (no third-party requests) ---------- */
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/geist-400.woff2) format('woff2'); }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/geist-500.woff2) format('woff2'); }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/geist-600.woff2) format('woff2'); }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/geist-700.woff2) format('woff2'); }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/geist-mono-400.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/geist-mono-ext-400.woff2) format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/geist-mono-500.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/geist-mono-ext-500.woff2) format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }


:root {
  /* brand */
  --ink: #1B0F2E;          /* deepest plum — hero bands, footer */
  --plum: #271640;         /* brand plum */
  --plum-2: #3A2360;
  --violet: #6B4FA0;       /* logo purple */
  --lilac: #EFEAF7;        /* violet tint */
  --em: #177C54;           /* brand emerald — actions */
  --em-d: #136646;
  --em-l: #E9F5EF;         /* emerald tint */
  --em-glow: #34C38A;      /* emerald on dark */
  --gold: #C99A2E;
  --gold-d: #806018;
  --gold-l: #FAF3E2;
  --danger: #C2410C;
  --danger-l: #FFF1EA;
  /* neutrals (plum-biased) */
  --text: #1C1427;
  --muted: #6B6478;
  --faint: #736C80;
  --line: #E8E5EE;
  --line-2: #F0EEF4;
  --bg: #FFFFFF;
  --bg-2: #F8F7FA;
  --bg-3: #F3F1F7;
  /* type */
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  /* shape */
  --r-xs: 4px; --r-sm: 6px; --r: 8px; --r-lg: 10px; --r-xl: 14px;
  --shadow-sm: 0 1px 2px rgba(27,15,46,.06);
  --shadow: 0 1px 2px rgba(27,15,46,.05), 0 12px 28px -18px rgba(27,15,46,.3);
  --shadow-lg: 0 1px 2px rgba(27,15,46,.08), 0 30px 60px -24px rgba(27,15,46,.4);
  --wrap: 1200px;
  --gutter: 24px;
}
@media (max-width: 720px) { :root { --gutter: 16px; } }

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4, h5 { font-family: var(--sans); font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; margin: 0; text-wrap: balance; color: inherit; }
p { margin: 0; }
button, input, select, textarea { font: inherit; }
::selection { background: rgba(23,124,84,.2); }
:focus-visible { outline: 2px solid var(--em); outline-offset: 2px; border-radius: 6px; }
.on-dark :focus-visible, .page-hero :focus-visible, .hdr :focus-visible, .sfx :focus-visible { outline-color: var(--em-glow); }
button:focus:not(:focus-visible), a:focus:not(:focus-visible) { outline: none; }
a, button { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #D9D4E2; border-radius: 8px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #C4BDD0; }

/* ---------- layout ---------- */
.wrap, .container { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap-sm { max-width: 860px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: 96px 0; position: relative; }
.section-sm { padding: 64px 0; position: relative; }
.section.pt-0, .section-sm.pt-0 { padding-top: 0; }
.section.pb-0, .section-sm.pb-0 { padding-bottom: 0; }
.tint { background: var(--bg-2); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
@media (max-width: 720px) { .section { padding: 72px 0; } .section-sm { padding: 48px 0; } }

.grid-2, .grid-3, .grid-4 { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 1060px) { .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 720px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 40px; } }

.stack { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* ---------- type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--em); }
.on-dark .eyebrow, .page-hero .eyebrow { color: var(--em-glow); }
.display { font-size: clamp(40px, 6vw, 68px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 600; }
.h1 { font-size: clamp(34px, 4.8vw, 54px); line-height: 1.05; letter-spacing: -0.04em; }
.h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -0.035em; }
.h3 { font-size: clamp(20px, 2vw, 24px); line-height: 1.2; }
.h4 { font-size: 17px; line-height: 1.3; }
.lead { font-size: 18px; line-height: 1.6; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.mono { font-family: var(--mono); }
.accent { color: var(--em); }
.on-dark .accent, .page-hero .accent { color: var(--em-glow); }
.prose { font-size: 17px; line-height: 1.75; color: #3A3246; max-width: 720px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(24px, 2.6vw, 30px); margin-top: 1.8em; color: var(--text); }
.prose h3 { font-size: 20px; margin-top: 1.6em; color: var(--text); }
.prose a { color: var(--em); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose strong { color: var(--text); font-weight: 600; }
.prose blockquote { margin: 1.4em 0; padding: 18px 22px; border-left: 3px solid var(--em); background: var(--bg-2); border-radius: 0 var(--r) var(--r) 0; color: var(--text); }

.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.sec-head > div { max-width: 640px; }
.sec-head h2 { margin-top: 12px; }
.sec-head p { max-width: 440px; color: var(--muted); line-height: 1.6; }
.sec-head.center { flex-direction: column; align-items: center; text-align: center; }
.sec-head.center > div, .sec-head.center p { margin: 0 auto; }
.sec-head.center p { margin-top: 14px; max-width: 600px; }

/* ---------- icons (F2PIcon svg + sprite use) ---------- */
.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico { flex: none; width: 40px; height: 40px; border-radius: var(--r); display: inline-grid; place-items: center; background: var(--em-l); color: var(--em); }
.ico svg { width: 19px !important; height: 19px !important; }
.ico-sm { width: 32px; height: 32px; border-radius: var(--r-sm); }
.ico-sm svg { width: 16px !important; height: 16px !important; }
.ico-lg { width: 48px; height: 48px; border-radius: var(--r); }
.ico-lg svg { width: 22px !important; height: 22px !important; }
.ico-em { background: var(--em-l); color: var(--em); }
.ico-gold { background: var(--gold-l); color: var(--gold); }
.ico-violet { background: var(--lilac); color: var(--violet); }
.ico-plum { background: var(--plum); color: #fff; }
.ico-dark { background: rgba(255,255,255,.08); color: var(--em-glow); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }

/* ---------- buttons ----------
   .btn keeps its old role as a hover micro-interaction; add a variant
   (.btn-primary etc.) to get the full button look. */
.btn { transition: background .15s, box-shadow .15s, color .15s, transform .15s; }
.btn-primary, .btn-secondary, .btn-dark, .btn-ghost, .btn-light, .btn-danger {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: var(--r); border: 0; cursor: pointer;
  font: 500 15px/1 var(--sans); white-space: nowrap; text-decoration: none;
  transition: background .15s, box-shadow .15s, color .15s, transform .15s;
}
.btn-primary { background: var(--em); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 2px rgba(0,0,0,.18); }
.btn-primary:hover { background: var(--em-d); }
.btn-secondary { background: #fff; color: var(--text); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); }
.btn-secondary:hover { background: var(--bg-2); }
.btn-dark { background: var(--plum); color: #fff; }
.btn-dark:hover { background: var(--ink); }
.btn-ghost { background: rgba(255,255,255,.06); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-light { background: #fff; color: var(--plum); }
.btn-light:hover { background: var(--lilac); }
.btn-danger { background: var(--danger-l); color: var(--danger); box-shadow: inset 0 0 0 1px #F6D3C2; }
.btn-sm { height: 36px; padding: 0 13px; font-size: 14px; border-radius: var(--r-sm); }
.btn-lg { height: 50px; padding: 0 22px; font-size: 16px; border-radius: var(--r); }
.btn-block { width: 100%; }
.btn-primary:active, .btn-secondary:active, .btn-dark:active, .btn-ghost:active, .btn-light:active { transform: translateY(1px); }
.btn-primary[disabled], .btn-secondary[disabled], .btn-dark[disabled] { opacity: .55; cursor: not-allowed; }
.link { color: var(--em); font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.link:hover { color: var(--em-d); }
.link svg { transition: transform .15s; }
.link:hover svg { transform: translateX(2px); }

/* ---------- cards ---------- */
.card { background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: var(--r-lg); }
.card-pad { padding: 24px; }
.card-pad-lg { padding: 32px; }
a.card, .card-hover { transition: border-color .15s, box-shadow .15s, transform .15s; }
a.card:hover, .card-hover:hover { border-color: #D6D1DF; box-shadow: var(--shadow); }
.card-dark { position: relative; overflow: hidden; background: var(--ink); color: #fff; border-radius: var(--r-lg); }
.card-dark::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 60% at 100% 100%, rgba(107,79,160,.5), transparent 70%); }
.card-dark > * { position: relative; }
.card-dark p, .card-dark .muted { color: rgba(255,255,255,.68); }
.divider { height: 1px; background: var(--line); border: 0; margin: 24px 0; }

/* course card */
.course-card { display: flex; flex-direction: column; overflow: hidden; }
.course-card .cc-img { aspect-ratio: 16/9; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg-3); }
.course-card .cc-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.course-card:hover .cc-img img { transform: scale(1.03); }
.course-card .cc-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.course-card h3 { font-size: 17.5px; line-height: 1.3; }
.course-card .cc-meta { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-2); display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); }
.course-card .cc-price { margin-left: auto; font-size: 17px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.stars { display: inline-flex; align-items: center; gap: 4px; color: var(--text); }
.stars svg { color: var(--gold); fill: var(--gold); }

/* chips / badges */
.chip { display: inline-flex; align-items: center; gap: 6px; font: 500 11.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; padding: 6px 8px; border-radius: var(--r-xs); background: var(--em-l); color: var(--em-d); align-self: flex-start; white-space: nowrap; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip-plain::before { display: none; }
.chip-gold { background: var(--gold-l); color: var(--gold-d); }
.chip-violet { background: var(--lilac); color: var(--violet); }
.chip-grey { background: var(--bg-3); color: var(--muted); }
.chip-dark { background: rgba(255,255,255,.08); color: #D9F5E8; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 5px 12px 5px 5px; border-radius: var(--r); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); font-size: 13.5px; color: rgba(255,255,255,.85); }
.pill b { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; background: var(--em); color: #fff; padding: 5px 8px; border-radius: var(--r-xs); }
.pill-light { background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }

/* check list */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.checklist li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: var(--r-xs); background: var(--em-l) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C8A5E' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 10 17.5 19 6.5'/%3E%3C/svg%3E") center/13px no-repeat; }
.on-dark .checklist li::before, .card-dark .checklist li::before, .page-hero .checklist li::before, .band-dark .checklist li::before { background-color: rgba(52,195,138,.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334C38A' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 10 17.5 19 6.5'/%3E%3C/svg%3E"); }

/* stat strip */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-2); }
.stats > div { padding: 28px 26px; border-left: 1px solid var(--line); }
.stats > div:first-child { border-left: 0; }
.stats b { display: block; font-size: 40px; font-weight: 600; letter-spacing: -.04em; line-height: 1.1; font-variant-numeric: tabular-nums; margin-bottom: 6px; }
.stats span { font-size: 14.5px; color: var(--muted); }
@media (max-width: 720px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div:nth-child(3) { border-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stats b { font-size: 32px; }
  .stats > div { padding: 22px 18px; }
}

/* breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; color: var(--faint); }
.crumbs a:hover { color: var(--text); }
.crumbs .sep { opacity: .6; }
.crumbs [aria-current] { color: var(--em); font-weight: 500; }
.page-hero .crumbs { color: rgba(255,255,255,.55); }
.page-hero .crumbs a:hover { color: #fff; }
.page-hero .crumbs [aria-current] { color: var(--em-glow); }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.label { font-size: 13.5px; font-weight: 500; color: var(--text); }
.hint { font-size: 12.5px; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; min-width: 0; height: 44px; padding: 0 14px; border-radius: var(--r);
  border: 1px solid var(--line); background: #fff; color: var(--text); font-size: 15px;
  box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s; outline: none;
}
.textarea { height: auto; min-height: 130px; padding: 12px 14px; line-height: 1.55; resize: vertical; }
.select { appearance: none; -webkit-appearance: none; padding-right: 38px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B6478' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center/16px no-repeat; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--em); box-shadow: 0 0 0 3px rgba(23,124,84,.15); }
.input::placeholder, .textarea::placeholder { color: var(--faint); }
.check { display: inline-flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 1.45; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--em); flex: none; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.alert { padding: 12px 14px; border-radius: var(--r); font-size: 14px; line-height: 1.5; background: var(--em-l); color: var(--em-d); border: 1px solid #CDE8DA; }
.alert-error { background: var(--danger-l); color: var(--danger); border-color: #F6D3C2; }
.alert-info { background: var(--lilac); color: var(--plum-2); border-color: #E0D7EE; }

/* switch toggle */
.switch { position: relative; width: 40px; height: 22px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: #D9D4E2; transition: background .15s; cursor: pointer; }
.switch span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .15s; }
.switch input:checked + span { background: var(--em); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 2px solid var(--em); outline-offset: 2px; }

/* tabs / segmented */
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--r); background: var(--bg-3); flex-wrap: wrap; }
.tab { border: 0; background: none; cursor: pointer; padding: 8px 14px; border-radius: var(--r-sm); font: 500 14px/1.2 var(--sans); color: var(--muted); }
.tab:hover { color: var(--text); }
.tab.active, .tab[aria-selected="true"] { background: #fff; color: var(--text); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter { border: 1px solid var(--line); background: #fff; cursor: pointer; padding: 8px 14px; border-radius: var(--r-sm); font: 500 14px/1.2 var(--sans); color: var(--muted); transition: all .15s; }
.filter:hover { color: var(--text); border-color: #D6D1DF; }
.filter.active { background: var(--plum); border-color: var(--plum); color: #fff; }

/* progress */
.progress { height: 6px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.progress > i, .progress > span { display: block; height: 100%; border-radius: 99px; background: var(--em); transition: width .6s cubic-bezier(.16,1,.3,1); }

/* table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font: 500 11.5px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 12px 16px; background: var(--bg-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 14px 16px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }

/* accordion — markup: .acc > .acc-item > button.acc-btn + .acc-panel (JS in site.js) */
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item:first-child { border-top: 1px solid var(--line); }
.acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; background: none; border: 0; padding: 20px 0; cursor: pointer; font: 500 16.5px/1.4 var(--sans); color: var(--text); text-align: left; }
.acc-btn::after { content: ""; flex: none; width: 18px; height: 18px; background: currentColor; color: var(--muted); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/contain no-repeat; transition: transform .2s; }
.acc-item.open .acc-btn::after { transform: rotate(45deg); color: var(--em); }
.acc-panel { display: none; padding: 0 40px 20px 0; color: var(--muted); line-height: 1.65; }
.acc-item.open .acc-panel { display: block; }

/* ============================================================
   Dark bands: page hero, dark sections, CTA — glow + grid + decor
   ============================================================ */
.page-hero, .band-dark {
  position: relative; overflow: hidden; background: var(--ink); color: #fff; isolation: isolate;
}
.page-hero::before, .band-dark::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(60% 55% at 50% 0%, rgba(107,79,160,.5), transparent 70%),
    radial-gradient(40% 45% at 90% 35%, rgba(23,124,84,.22), transparent 70%),
    radial-gradient(35% 40% at 5% 90%, rgba(107,79,160,.25), transparent 70%);
}
.page-hero::after, .band-dark::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 20%, #000, transparent 75%);
  mask-image: radial-gradient(70% 70% at 50% 20%, #000, transparent 75%);
}
.page-hero { padding: 72px 0 80px; }
.page-hero.center { text-align: center; }
.page-hero h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1.04; letter-spacing: -0.04em; margin: 18px 0 16px; max-width: 820px; }
.page-hero.center h1, .page-hero.center .lead { margin-left: auto; margin-right: auto; }
.page-hero .lead { color: rgba(255,255,255,.7); max-width: 640px; }
.page-hero .crumbs + h1, .page-hero .crumbs + .eyebrow { margin-top: 22px; }
.page-hero .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.page-hero.center .actions { justify-content: center; }
.page-hero.flush { padding-bottom: 0; }
.on-dark, .band-dark { color: #fff; }
.on-dark .muted, .band-dark .muted, .band-dark .lead { color: rgba(255,255,255,.68); }
.band-dark.rounded { border-radius: var(--r-xl); }
@media (max-width: 720px) { .page-hero { padding: 48px 0 56px; } }

/* page hero that is followed by an overlapping card */
.overlap { position: relative; z-index: 2; margin-top: -48px; }

/* ---------- geometric decor (injected by site.js into [data-decor]) ---------- */
.decor { position: absolute; inset: 0; pointer-events: none; z-index: -1; overflow: hidden; }
.decor i { position: absolute; display: block; }
.decor .tri { width: 0; height: 0; border-left: 64px solid transparent; border-right: 64px solid transparent; border-bottom: 110px solid rgba(255,255,255,.05); }
.decor .dots { width: 180px; height: 140px; background-image: radial-gradient(rgba(255,255,255,.2) 1.5px, transparent 1.6px); background-size: 16px 16px; }
.decor .ring { width: 420px; height: 420px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.07); }
.decor .t1 { left: 7%; top: 18%; transform: rotate(-18deg); }
.decor .t2 { right: 11%; bottom: 14%; transform: rotate(24deg) scale(.7); }
.decor .d1 { right: 5%; top: 14%; }
.decor .d2 { left: 3%; bottom: 12%; }
.decor .r1 { right: -130px; top: -150px; }
.decor .r2 { left: -210px; bottom: -250px; }
/* light variant for white / tinted sections */
.decor.light .tri { border-bottom-color: rgba(107,79,160,.06); }
.decor.light .dots { background-image: radial-gradient(rgba(107,79,160,.2) 1.4px, transparent 1.5px); }
.decor.light .ring { border-color: rgba(107,79,160,.08); }
[data-decor] { position: relative; isolation: isolate; }
/* compact variant for cards/banners: keep accents to the right-hand side */
.decor.compact .t1, .decor.compact .d2, .decor.compact .r2 { display: none; }
.decor.compact .d1 { top: 18px; right: 18px; opacity: .7; }
.decor.compact .t2 { right: 6%; bottom: -30px; }
@media (max-width: 720px) {
  .decor .tri { border-left-width: 44px; border-right-width: 44px; border-bottom-width: 76px; }
  .decor .dots { width: 110px; height: 90px; }
  .decor .t1 { left: -20px; top: 8%; }
  .decor .d1 { right: -30px; top: 6%; }
  .decor .t2, .decor .d2 { opacity: .7; }
}

/* Floating card used over product shots */
.float-card { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px; box-shadow: var(--shadow-lg); color: var(--text); text-align: left; }

/* ============================================================
   Shared HEADER (injected by site.js)
   ============================================================ */
.sfx-give { background: #120A20; color: rgba(255,255,255,.72); position: relative; z-index: 91; }
.sfx-give-inner { max-width: var(--wrap); margin: 0 auto; padding: 8px var(--gutter); display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; text-align: center; font-size: 13px; line-height: 1.45; }
.sfx-give-inner svg { color: var(--em-glow); }
.sfx-give-inner strong { color: #fff; font-weight: 500; }
.sfx-give-inner a { color: var(--em-glow); font-weight: 500; border-bottom: 1px solid rgba(52,195,138,.4); }
.sfx-give-inner a:hover { border-color: var(--em-glow); }
@media (max-width: 640px) { .sfx-give-more { display: none; } .sfx-give-inner { font-size: 12.5px; } }

.shx { position: relative; background: rgba(27,15,46,.97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.08); color: #fff; font-family: var(--sans); }
.shx-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.shx-logo { flex: none; display: flex; align-items: center; }
.shx-logo img { height: 40px; width: auto; display: block; }
.shx-nav { display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: var(--r-lg); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); font-size: 14.5px; font-weight: 500; }
.shx-nav > a, .shx-drop-btn { display: inline-flex; align-items: center; gap: 5px; padding: 8px 13px; border-radius: var(--r-sm); color: rgba(255,255,255,.72); transition: background .15s, color .15s; cursor: pointer; }
.shx-nav > a:hover, .shx-drop-btn:hover, .shx-drop:focus-within .shx-drop-btn { color: #fff; background: rgba(255,255,255,.07); }
.shx-nav > a.active, .shx-drop-btn.active { color: #fff; background: rgba(255,255,255,.13); }
.shx-drop { position: relative; }
.shx-drop-btn svg { opacity: .6; transition: transform .2s; }
.shx-drop:hover .shx-drop-btn svg, .shx-drop:focus-within .shx-drop-btn svg { transform: rotate(180deg); }
.shx-drop-btn { border: 0; background: none; font: inherit; }
.shx-drop-menu { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(6px); min-width: 320px; background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 6px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; z-index: 95; }
.shx-drop:hover .shx-drop-menu, .shx-drop:focus-within .shx-drop-menu, .shx-drop.open .shx-drop-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.shx-drop-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.shx-drop-menu a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--r); font-size: 14.5px; color: var(--text); }
.shx-drop-menu a b { display: block; font-weight: 600; font-size: 14.5px; }
.shx-drop-menu a small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; line-height: 1.35; }
.shx-drop-menu a:hover { background: var(--bg-2); }
.shx-drop-menu a.active { color: var(--em); font-weight: 600; }
.shx-right { display: flex; align-items: center; gap: 8px; flex: none; }
.shx-iconbtn { position: relative; width: 40px; height: 40px; border-radius: var(--r); display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); transition: background .15s; }
.shx-iconbtn:hover { background: rgba(255,255,255,.14); }
.shx-iconbtn.active { background: rgba(255,255,255,.16); }
#shx-cart-badge { display: none; position: absolute; top: -6px; right: -6px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--em); color: #fff; font: 500 11px/19px var(--mono); text-align: center; box-shadow: 0 0 0 2px var(--ink); }
.shx-user { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px 0 6px; border-radius: var(--r); color: rgba(255,255,255,.85); font-size: 14.5px; font-weight: 500; transition: background .15s; }
.shx-user:hover { background: rgba(255,255,255,.07); color: #fff; }
.shx-user .av { width: 28px; height: 28px; border-radius: var(--r-sm); background: rgba(52,195,138,.16); color: var(--em-glow); display: grid; place-items: center; }
.shx-cta { height: 40px; }
.shx-burger { display: none; width: 40px; height: 40px; border-radius: var(--r); border: 0; background: rgba(255,255,255,.08); color: #fff; cursor: pointer; align-items: center; justify-content: center; }
@media (max-width: 1080px) {
  .shx-nav, .shx-hidem { display: none !important; }
  .shx-burger { display: inline-flex; }
}

/* ============================================================
   Shared FOOTER (injected by site.js)
   ============================================================ */
.sfx { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: rgba(255,255,255,.62); padding: 72px 0 28px; font-family: var(--sans); }
.sfx::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(50% 60% at 0% 0%, rgba(23,124,84,.22), transparent 70%), radial-gradient(50% 60% at 100% 100%, rgba(107,79,160,.35), transparent 70%); }
.sfx-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sfx-news { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding: 32px; margin-bottom: 56px; border-radius: var(--r-lg); background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.09); }
.sfx-news h2 { color: #fff; font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 8px; }
.sfx-news p { font-size: 15px; line-height: 1.55; max-width: 520px; }
.sfx-news form { display: flex; gap: 8px; padding: 6px; border-radius: var(--r-lg); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); width: min(440px, 100%); }
.sfx-news input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: #fff; font-size: 15px; padding: 0 12px; }
.sfx-news input::placeholder { color: rgba(255,255,255,.45); }
.sfx-news small { display: block; margin-top: 10px; font-size: 12.5px; color: rgba(255,255,255,.45); }
.sfx-news .ok { color: var(--em-glow); font-weight: 500; font-size: 14.5px; }
.sfx-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.sfx-grid > div > img { height: 44px; width: auto; margin-bottom: 16px; display: block; }
.sfx-grid p { font-size: 14.5px; line-height: 1.6; max-width: 300px; }
.sfx h2.sfx-h { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: #fff; margin: 0 0 16px; }
.sfx-col { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.sfx-col a, .sfx-udl { color: rgba(255,255,255,.62); transition: color .15s; }
.sfx-col a:hover, .sfx-udl:hover { color: var(--em-glow); }
.sfx-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(255,255,255,.45); }
.sfx-bottom a { color: rgba(255,255,255,.55); }
.sfx-bottom a:hover { color: var(--em-glow); }
.sfx-credit { width: 100%; text-align: center; margin-top: 10px; font-size: 12.5px; color: rgba(255,255,255,.38); }
.sfx-credit a { color: rgba(255,255,255,.55); font-weight: 500; }
@media (max-width: 960px) { .sfx-news { grid-template-columns: 1fr; } .sfx-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .sfx-grid { grid-template-columns: 1fr; gap: 28px; }
  .sfx-news { padding: 22px; }
  .sfx-news form { flex-direction: column; background: none; box-shadow: none; padding: 0; }
  .sfx-news input { flex: 0 0 auto; height: 46px; border-radius: var(--r); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
}

/* ============================================================
   Motion (progressive enhancement — content visible without JS)
   ============================================================ */
@keyframes f2pRise  { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes f2pInL   { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
@keyframes f2pInR   { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes f2pInS   { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
@keyframes f2pFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes f2pSpin  { to { transform: rotate(360deg); } }
@keyframes f2pFadeIn { from { opacity: 0; } to { opacity: 1; } }
.js-rv { opacity: 1; }
html.reveal-on .js-rv { opacity: 0; }
html.reveal-on .js-rv.in { animation: f2pRise .7s cubic-bezier(.16,1,.3,1) both; }
html.reveal-on .js-rv.from-l.in { animation-name: f2pInL; }
html.reveal-on .js-rv.from-r.in { animation-name: f2pInR; }
html.reveal-on .js-rv.from-s.in { animation-name: f2pInS; }
html.reveal-on .js-rv.in.d1 { animation-delay: .06s; }
html.reveal-on .js-rv.in.d2 { animation-delay: .12s; }
html.reveal-on .js-rv.in.d3 { animation-delay: .18s; }
html.reveal-on .js-rv.in.d4 { animation-delay: .24s; }
.floaty { animation: f2pFloat 6s ease-in-out infinite; }
.lift { transition: transform .2s cubic-bezier(.16,1,.3,1), box-shadow .2s, border-color .2s; }
.lift:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tilt-img { overflow: hidden; }
.tilt-img img { transition: transform .5s cubic-bezier(.16,1,.3,1); }
.tilt-img:hover img { transform: scale(1.03); }
.udl:hover { color: var(--em); }
.grad-text { background: linear-gradient(100deg, var(--em) 0%, var(--violet) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: f2pSpin .7s linear infinite; display: inline-block; }
@media (hover: none) { .lift:hover { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.reveal-on .js-rv { opacity: 1; }
  html.reveal-on .js-rv.in { animation: none; }
  .floaty, .spinner { animation: none !important; }
  * { transition-duration: 0s !important; }
}

/* ---------- phone mockup ---------- */
.phone-mock { position: relative; width: min(280px, 72vw); border-radius: 40px; background: var(--ink); padding: 10px; box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,.08); }
.phone-mock::before { content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 100px; height: 24px; background: var(--ink); border-radius: 0 0 14px 14px; z-index: 2; }
.phone-mock .phone-screen { border-radius: 31px; overflow: hidden; display: block; background: var(--bg-2); }
.phone-mock .phone-screen img { width: 100%; display: block; }

/* ---------- product-shot frame (browser chrome) ---------- */
.shot { position: relative; border-radius: var(--r-xl) var(--r-xl) 0 0; padding: 8px 8px 0; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.shot.full { border-radius: var(--r-xl); padding-bottom: 8px; }
.shot .app { background: #fff; color: var(--text); border-radius: var(--r) var(--r) 0 0; overflow: hidden; text-align: left; }
.shot.full .app { border-radius: var(--r); }
.chrome { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.chrome i { width: 10px; height: 10px; border-radius: 50%; background: #DDD8E4; }
.chrome span { margin: 0 auto; font: 400 12px/1 var(--mono); color: var(--faint); background: #fff; border: 1px solid var(--line); padding: 6px 40px; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 70%; }
@media (max-width: 720px) { .chrome span { padding: 6px 14px; } }

/* legacy background shapes element — superseded by .decor */
.f2p-shapes { display: none; }

/* ============================================================
   Layout variety + social proof (v2.1)
   ============================================================ */

/* ---- social proof row: <div data-proof></div> is filled by site.js ---- */
.proof { display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.page-hero.center .proof, .center > .proof { justify-content: center; }
.avatars { display: flex; }
.avatars span, .avatars img { width: 34px; height: 34px; border-radius: 50%; margin-left: -9px; border: 2px solid #fff; display: grid; place-items: center; font: 500 11.5px/1 var(--mono); color: #fff; object-fit: cover; }
.avatars > :first-child { margin-left: 0; }
.proof .rate { display: flex; flex-direction: column; gap: 3px; line-height: 1.25; }
.proof .rate .st { display: flex; gap: 1px; color: var(--gold); }
.proof .rate .st svg { fill: var(--gold); }
.proof b { color: var(--text); font-weight: 600; }
.page-hero .proof, .band-dark .proof, .card-dark .proof { color: rgba(255,255,255,.62); }
.page-hero .proof b, .band-dark .proof b, .card-dark .proof b { color: #fff; }
.page-hero .avatars span, .page-hero .avatars img, .band-dark .avatars span, .card-dark .avatars span { border-color: var(--ink); }

/* regulator / trust strip */
.logo-strip { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; }
.logo-strip p { font-size: 14px; color: var(--muted); }
.logo-strip .regs { display: flex; gap: 44px; flex-wrap: wrap; font-size: 19px; font-weight: 600; letter-spacing: .03em; color: #736C80; }
.page-hero .logo-strip, .band-dark .logo-strip { border-top: 1px solid rgba(255,255,255,.1); padding-top: 28px; margin-top: 48px; }
.page-hero .logo-strip p { color: rgba(255,255,255,.55); }
.page-hero .logo-strip .regs { color: rgba(255,255,255,.35); }
.trust-bar { border-bottom: 1px solid var(--line); padding: 26px 0; }
@media (max-width: 720px) { .logo-strip .regs { gap: 26px; font-size: 16px; } }

/* hero with text + visual */
.hero-split { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: 56px; align-items: center; }
.hero-split h1 { margin-left: 0; }
.hero-visual { position: relative; }
.hero-visual .frame { border-radius: var(--r-xl); overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 40px 80px -30px rgba(0,0,0,.6); background: var(--plum); }
.hero-visual .frame img { display: block; width: 100%; aspect-ratio: 4/3.4; object-fit: cover; }
.hero-visual .float-card { display: flex; align-items: center; gap: 10px; min-width: 200px; font-size: 13px; }
.hero-visual .float-card b { display: block; font-size: 13.5px; font-weight: 600; }
.hero-visual .float-card small { color: var(--muted); font-size: 12px; }
.hero-visual .fc-1 { left: -28px; bottom: 36px; }
.hero-visual .fc-2 { right: -20px; top: 28px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-size: 14px; color: rgba(255,255,255,.62); }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta svg { color: var(--em-glow); }
@media (max-width: 960px) {
  .hero-split { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 560px; }
  .hero-visual .fc-1 { left: 12px; bottom: 12px; }
  .hero-visual .fc-2 { right: 12px; top: 12px; }
}
@media (max-width: 480px) { .hero-visual .fc-2 { display: none; } }

/* media frame */
.media { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); background: var(--bg-3); }
.media img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* bento grid — use .b-2/.b-3/.b-4/.b-6 on children and .b-tall for 2 rows */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 16px; grid-auto-flow: dense; }
.bento > * { grid-column: span 2; min-width: 0; }
.bento > .b-3 { grid-column: span 3; }
.bento > .b-4 { grid-column: span 4; }
.bento > .b-6 { grid-column: span 6; }
.bento > .b-tall { grid-row: span 2; }
.bento .card, .bento .card-dark { padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.bento h3 { font-size: 18px; }
.bento p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.bento .card-dark p { color: rgba(255,255,255,.66); }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, minmax(0,1fr)); } .bento > *, .bento > .b-3 { grid-column: span 1; } .bento > .b-4, .bento > .b-6 { grid-column: span 2; } .bento > .b-tall { grid-row: auto; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .bento > *, .bento > .b-3, .bento > .b-4, .bento > .b-6 { grid-column: auto; } }

/* alternating feature rows */
.feature-rows { display: grid; gap: 96px; }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature-row > * { min-width: 0; }
.feature-row.reverse > :first-child { order: 2; }
.feature-row h3 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.03em; line-height: 1.12; margin: 12px 0 14px; }
.feature-row p { color: var(--muted); line-height: 1.7; }
@media (max-width: 900px) { .feature-rows { gap: 64px; } .feature-row { grid-template-columns: 1fr; gap: 28px; } .feature-row.reverse > :first-child { order: 0; } }

/* horizontal numbered steps */
.steps { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0,1fr)); gap: 16px; counter-reset: step; position: relative; }
.steps > * { position: relative; padding-top: 52px; }
.steps > *::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0; width: 36px; height: 36px; border-radius: var(--r); display: grid; place-items: center; font: 500 13px/1 var(--mono); background: var(--em-l); color: var(--em); box-shadow: 0 0 0 5px var(--bg); }
.steps > *::after { content: ""; position: absolute; top: 18px; left: 44px; right: -8px; height: 1px; background: var(--line); }
.steps > :last-child::after { display: none; }
.steps h3 { font-size: 17px; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.band-dark .steps > *::before, .page-hero .steps > *::before { background: rgba(52,195,138,.14); color: var(--em-glow); box-shadow: 0 0 0 5px var(--ink); }
.band-dark .steps > *::after { background: rgba(255,255,255,.12); }
.band-dark .steps p { color: rgba(255,255,255,.66); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 32px; } .steps > *::after { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* vertical timeline */
.timeline { position: relative; display: grid; gap: 14px; padding-left: 36px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--em), var(--lilac)); border-radius: 2px; }
.timeline > * { position: relative; }
.timeline > *::before { content: ""; position: absolute; left: -31px; top: 22px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--em); }

/* big testimonial */
.quote-lg { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; }
.quote-lg blockquote { margin: 0; font-size: clamp(19px, 2vw, 24px); line-height: 1.5; letter-spacing: -.015em; color: var(--text); font-weight: 500; }
.band-dark .quote-lg blockquote, .card-dark .quote-lg blockquote { color: #fff; }
.quote-lg .qmark { color: var(--em); }
.quote-by { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-size: 14px; color: var(--muted); }
.quote-by i { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 500 12px var(--mono); font-style: normal; background: var(--lilac); color: var(--violet); }
.quote-by b { display: block; color: var(--text); font-weight: 600; }
.band-dark .quote-by, .card-dark .quote-by { color: rgba(255,255,255,.6); }
.band-dark .quote-by b, .card-dark .quote-by b { color: #fff; }
@media (max-width: 640px) { .quote-lg { grid-template-columns: 1fr; gap: 14px; } }

/* testimonial card */
.t-card { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.t-card .st { display: flex; gap: 2px; color: var(--gold); }
.t-card .st svg { fill: var(--gold); }
.t-card p { line-height: 1.6; font-size: 15px; }
.t-card .quote-by { margin-top: auto; }

/* long page with sticky table of contents */
.with-toc { display: grid; grid-template-columns: 240px minmax(0,1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.toc .eyebrow { margin-bottom: 10px; }
.toc a { padding: 7px 12px; border-left: 2px solid var(--line); color: var(--muted); }
.toc a:hover { color: var(--text); border-color: #CFC9D9; }
.toc a.active { color: var(--em); border-color: var(--em); font-weight: 500; }
@media (max-width: 960px) { .with-toc { grid-template-columns: 1fr; gap: 24px; } .toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px; } .toc .eyebrow { width: 100%; } .toc a { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 6px 10px; } }

/* split CTA / newsletter panel */
.cta-panel { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding: 48px; border-radius: var(--r-xl); }
.cta-panel h2 { font-size: clamp(24px, 3vw, 36px); line-height: 1.1; margin-bottom: 10px; }
.cta-panel p { max-width: 560px; line-height: 1.6; }
.cta-panel .row { justify-content: flex-end; }
@media (max-width: 820px) { .cta-panel { grid-template-columns: 1fr; padding: 32px 22px; } .cta-panel .row { justify-content: flex-start; } }

/* list rows (e.g. article list, resources) */
.list-rows { border-top: 1px solid var(--line); }
.list-row { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.list-row h3 { font-size: 16.5px; }
.list-row p { color: var(--muted); font-size: 14px; margin-top: 3px; }
a.list-row:hover h3 { color: var(--em); }

/* key-value facts (course facts, contact details) */
.facts { display: grid; gap: 0; }
.facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-2); font-size: 14.5px; }
.facts > div:last-child { border-bottom: 0; }
.facts span { color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.facts b { font-weight: 500; text-align: right; }

/* ---- shared app bits promoted from pages ---- */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.kpi { padding: 22px 24px; display: flex; align-items: center; gap: 14px; border-left: 1px solid var(--line); min-width: 0; }
.kpi:first-child { border-left: 0; }
.kpi small { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.kpi b { display: block; font-size: 28px; font-weight: 600; letter-spacing: -.035em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpi.hi { background: var(--em-l); }
.kpi.hi b { color: var(--em-d); }
@media (max-width: 960px) { .kpis { grid-template-columns: repeat(2, minmax(0,1fr)); } .kpi:nth-child(3) { border-left: 0; } .kpi:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 480px) { .kpi { padding: 16px; gap: 10px; flex-direction: column; align-items: flex-start; } .kpi b { font-size: 24px; } }
.btn-soft { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: var(--r); background: var(--em-l); color: var(--em-d); font: 500 15px/1 var(--sans); box-shadow: inset 0 0 0 1px #CDE8DA; border: 0; }
.textbtn { background: none; border: 0; padding: 0; cursor: pointer; color: var(--em); font: 500 14px/1.2 var(--sans); }
.textbtn:hover { color: var(--em-d); text-decoration: underline; text-underline-offset: 3px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 200; display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px); background: var(--ink); color: #fff; font-weight: 500; font-size: 14.5px; padding: 12px 18px; border-radius: var(--r-lg); box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,.1); }
.toast svg { color: var(--em-glow); }
.toast a { color: var(--em-glow); font-weight: 600; margin-left: 4px; }
/* compact hero for app/account pages */
.page-hero.compact { padding: 40px 0 48px; }
.page-hero.compact h1 { font-size: clamp(28px, 3.6vw, 40px); margin: 12px 0 10px; }
@media (max-width: 720px) { .page-hero.compact { padding: 32px 0 40px; } }

.input:disabled, .select:disabled, .textarea:disabled { background: var(--bg-2); color: var(--muted); cursor: not-allowed; box-shadow: none; }
.btn-gold { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: var(--r); border: 0; cursor: pointer; font: 500 15px/1 var(--sans); background: var(--gold-l); color: var(--gold-d); box-shadow: inset 0 0 0 1px #EEDDB0; }
.btn-gold:hover { background: #F5E8C6; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.prose figure { margin: 1.6em 0; }
.prose figure img { width: 100%; border-radius: var(--r-lg); border: 1px solid var(--line); display: block; }
.prose figcaption { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.prose .pullquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--em); font-size: 1.2em; line-height: 1.5; color: var(--text); font-weight: 500; letter-spacing: -.01em; }
.meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 13px; color: var(--muted); }
.meta-row span { display: inline-flex; align-items: center; gap: 6px; }
.acc-item[hidden] + .acc-item { border-top: 1px solid var(--line); }
@media (max-width: 480px) { .proof { gap: 10px; font-size: 13px; } .avatars span, .avatars img { width: 28px; height: 28px; font-size: 10px; } }
.hero-visual .frame img { height: auto; }
@media (max-width: 560px) {
  .page-hero.center .proof, .center > .proof, .hero-proof .proof { flex-direction: column; gap: 8px; text-align: center; }
  .page-hero.center .proof .rate, .hero-proof .proof .rate { align-items: center; }
}

.prose .checklist { padding-left: 0; margin: 1.1em 0; }
.prose .checklist li + li { margin-top: 0; }
@media (max-width: 900px) and (min-width: 721px) { .steps[style*="--n:3"], .steps[style*="--n: 3"] { grid-template-columns: repeat(3, minmax(0,1fr)); } }

/* ---------- mobile slide-out menu ---------- */
.fly { position: fixed; inset: 0; z-index: 300; visibility: hidden; pointer-events: none; }
.fly.open { visibility: visible; pointer-events: auto; }
.fly-scrim { position: absolute; inset: 0; background: rgba(18,10,32,.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s ease; }
.fly.open .fly-scrim { opacity: 1; }
.fly-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 92vw); display: flex; flex-direction: column; background: var(--ink); color: #fff; box-shadow: -30px 0 80px -20px rgba(0,0,0,.6); transform: translateX(104%); transition: transform .42s cubic-bezier(.16,1,.3,1); overflow: hidden; isolation: isolate; padding-top: env(safe-area-inset-top, 0px); }
.fly-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 40% at 100% 0%, rgba(107,79,160,.45), transparent 70%), radial-gradient(60% 35% at 0% 100%, rgba(23,124,84,.25), transparent 70%); }
.fly-panel::after { content: ""; position: absolute; right: -60px; top: 90px; width: 180px; height: 150px; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.14) 1.4px, transparent 1.5px); background-size: 16px 16px; }
.fly.open .fly-panel { transform: none; }
.fly-head { display: flex; align-items: center; justify-content: space-between; height: 70px; padding: 0 var(--gutter); border-bottom: 1px solid rgba(255,255,255,.08); flex: none; }
.fly-close { display: inline-flex !important; }
.fly-body { flex: 1; overflow-y: auto; padding: 16px var(--gutter) 24px; display: flex; flex-direction: column; gap: 18px; overscroll-behavior: contain; }
.fly-grp { display: flex; flex-direction: column; gap: 2px; }
.fly-grp .eyebrow { color: rgba(255,255,255,.45); padding: 4px 6px 8px; }
.fly-link { display: flex; align-items: center; gap: 12px; padding: 9px 8px; border-radius: var(--r); color: rgba(255,255,255,.9); transition: background .15s; }
.fly-link:hover, .fly-link:focus-visible { background: rgba(255,255,255,.06); }
.fly-link.active { background: rgba(52,195,138,.1); box-shadow: inset 0 0 0 1px rgba(52,195,138,.25); }
.fly-link > svg { margin-left: auto; opacity: .45; }
.fly-txt b { display: block; font-weight: 500; font-size: 15.5px; }
.fly-txt small { display: block; font-size: 12.5px; color: rgba(255,255,255,.5); margin-top: 1px; }
.fly-account { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r-lg); background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.fly-account .av { width: 40px; height: 40px; border-radius: var(--r); display: grid; place-items: center; background: rgba(52,195,138,.16); color: var(--em-glow); flex: none; }
.fly-account b { display: block; font-weight: 600; }
.fly-account small { color: rgba(255,255,255,.55); font-size: 12.5px; }
.fly-account > svg { margin-left: auto; color: var(--em-glow); }
.fly-feature { padding: 18px; border-radius: var(--r-lg); background: linear-gradient(135deg, rgba(23,124,84,.25), rgba(107,79,160,.25)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); display: flex; flex-direction: column; gap: 8px; }
.fly-feature .eyebrow { color: var(--em-glow); }
.fly-feature b { font-size: 16px; font-weight: 600; line-height: 1.35; }
.fly-feature .link { color: var(--em-glow); }
.fly-foot { flex: none; display: grid; gap: 8px; padding: 14px var(--gutter) calc(14px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(255,255,255,.08); background: rgba(18,10,32,.4); }
/* staggered entrance */
.fly-body > * { opacity: 0; transform: translateX(18px); transition: opacity .35s ease, transform .45s cubic-bezier(.16,1,.3,1); }
.fly.open .fly-body > * { opacity: 1; transform: none; }
.fly.open .fly-body > :nth-child(1) { transition-delay: .06s; } .fly.open .fly-body > :nth-child(2) { transition-delay: .1s; }
.fly.open .fly-body > :nth-child(3) { transition-delay: .14s; } .fly.open .fly-body > :nth-child(4) { transition-delay: .18s; }
.fly.open .fly-body > :nth-child(5) { transition-delay: .22s; } .fly.open .fly-body > :nth-child(6) { transition-delay: .26s; }
html.fly-lock, html.fly-lock body { overflow: hidden; }
@media (min-width: 1081px) { .fly { display: none; } }
@media (prefers-reduced-motion: reduce) { .fly-panel, .fly-body > * { transition: none !important; } }

/* ---------- required full-name dialog (auth.js) ---------- */
.namegate { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 16px; background: rgba(18,10,32,.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: f2pFadeIn .25s ease both; }
.namegate-card { width: min(520px, 100%); background: #fff; color: var(--text); border-radius: var(--r-xl); padding: 32px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 14px; animation: f2pInS .35s cubic-bezier(.16,1,.3,1) both; }
.namegate-card h2 { font-size: 24px; letter-spacing: -.03em; }
.namegate-card p { color: var(--muted); line-height: 1.6; }
.namegate-card form { display: flex; flex-direction: column; gap: 16px; margin-top: 6px; }
@media (max-width: 480px) { .namegate-card { padding: 24px 20px; } }
.movenote { z-index: 390; }
.movenote b { color: var(--text); font-weight: 600; }
.movenote-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.movenote-actions .btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.movenote-actions .btn-secondary { justify-content: center; }
.movenote-foot { color: var(--muted); font-size: 13px; text-align: center; }
.movenote-foot a { color: var(--em); font-weight: 500; }

/* ---------- registration: optional details ---------- */
.req { color: var(--danger); font-weight: 600; }
#nameField { gap: 12px 16px; }
#nameField .hint { margin-top: -4px; }
#regExtra { display: flex; flex-direction: column; gap: 14px; }
#regExtra[hidden], #nameField[hidden] { display: none; }
.reg-more { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-2); }
.reg-more summary { display: flex; align-items: center; gap: 8px; padding: 12px 14px; font-weight: 600; font-size: 14.5px; cursor: pointer; list-style: none; border-radius: var(--r-lg); }
.reg-more summary::-webkit-details-marker { display: none; }
.reg-more summary .opt { color: var(--muted); font-weight: 400; }
.reg-more summary [data-icon], .reg-more summary svg { color: var(--em); transition: transform .2s; }
.reg-more[open] summary svg { transform: rotate(45deg); }
.reg-more > .hint, .reg-more > .form-grid { margin: 0 14px 14px; }
.reg-more .form-grid { gap: 12px; }
.check a { color: var(--em); text-decoration: underline; text-underline-offset: 2px; }
.label .opt { color: var(--muted); font-weight: 400; }

/* ---------- quick-access dock (bottom right) ---------- */
.dock { position: fixed; right: 20px; bottom: 20px; z-index: 300; display: flex; flex-direction: column; gap: 10px; width: min(360px, calc(100vw - 32px)); pointer-events: none; }
.dock:empty { display: none; }
.dock-card { pointer-events: auto; position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 40px 12px 12px; background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); animation: f2pInS .35s cubic-bezier(.16,1,.3,1) both; }
.dock-ico { flex: none; width: 36px; height: 36px; border-radius: var(--r); display: grid; place-items: center; }
.dock-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dock-t small { font-size: 12.5px; color: var(--muted); }
.dock-t b { font-size: 14.5px; font-weight: 600; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock-bar { display: block; height: 4px; border-radius: 4px; background: var(--bg-3); overflow: hidden; margin: 4px 0 1px; }
.dock-bar i { display: block; height: 100%; background: var(--em); border-radius: 4px; }
.dock-card .btn-primary { flex: none; }
.dock-x { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; display: grid; place-items: center; border: 0; background: transparent; color: var(--muted); border-radius: var(--r-sm); cursor: pointer; }
.dock-x:hover { background: var(--bg-3); color: var(--text); }
.dock-pop { animation: f2pDockPop .5s cubic-bezier(.16,1,.3,1) both; }
@keyframes f2pDockPop { 0% { transform: translateY(12px) scale(.96); opacity: 0; } 60% { transform: translateY(-3px) scale(1.01); opacity: 1; } 100% { transform: none; } }
@media (max-width: 560px) {
  .dock { right: 12px; left: 12px; bottom: 12px; width: auto; gap: 8px; }
  .dock-card { padding: 8px 34px 8px 8px; gap: 10px; }
  .dock-ico { width: 30px; height: 30px; }
  .dock-t small:last-child, .dock-bar { display: none; }
  .dock-t b { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .dock-card, .dock-pop { animation: none; } }
@media print { .dock { display: none; } }

/* ---------- accessibility helpers ---------- */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px; border-radius: var(--r); background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; box-shadow: var(--shadow-lg); transition: top .15s; }
.skip-link:focus { top: 12px; outline: 2px solid var(--em-glow); outline-offset: 2px; }
main:focus { outline: none; }
/* Links inside running text are underlined so they don't rely on colour alone (WCAG 1.4.1). */
main :where(p, li, dd, td, figcaption, .small, small) a:not([class*="btn"]):not(.card):not(.chip):not(.tag):not(.meta):not(.link),
.prose a:not([class*="btn"]):not(.card), .legal-note a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
main :where(p, li, dd, td, figcaption, .small, small) a:not([class*="btn"]):not(.card):hover { text-decoration-thickness: 2px; }

/* ============================================================
   v4: cross-grid pattern on light sections, page transitions,
   sticky-scroll steps, tabbed selector
   ============================================================ */
/* Faint grid with "+" marks at each intersection — the light
   counterpart of the hero grid. Faded with a mask so it stays subtle. */
:root {
  --xgrid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M0 .5H56M.5 0V56' stroke='%231B0F2E' stroke-opacity='.045'/%3E%3Cpath d='M.5 0v5M.5 51v5M0 .5h5M51 .5h5' stroke='%236B4FA0' stroke-opacity='.28' stroke-width='1.2'/%3E%3C/svg%3E");
}
.section:not(.band-dark):not(.page-hero), .section-sm:not(.band-dark):not(.page-hero), .xgrid { isolation: isolate; }
.section:not(.band-dark):not(.page-hero)::before,
.section-sm:not(.band-dark):not(.page-hero)::before,
.xgrid::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--xgrid); background-size: 56px 56px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 55% 60% at 88% 18%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 55% 60% at 88% 18%, #000 0%, transparent 72%);
}
main > .section:not(.band-dark):nth-of-type(even)::before,
main > .section-sm:not(.band-dark):nth-of-type(even)::before {
  -webkit-mask-image: radial-gradient(ellipse 50% 60% at 8% 78%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 50% 60% at 8% 78%, #000 0%, transparent 72%);
}
.xgrid-full::before { -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, #000 10%, transparent 78%) !important; mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, #000 10%, transparent 78%) !important; }
@media print { .section::before, .xgrid::before { display: none; } }

/* ---------- page transitions (cross-document View Transitions) ---------- */
@view-transition { navigation: auto; }
#site-header { view-transition-name: site-header; }
::view-transition-group(site-header) { animation: none; }
::view-transition-old(root) { animation: f2pVtOut .2s cubic-bezier(.4,0,1,1) both; }
::view-transition-new(root) { animation: f2pVtIn .42s cubic-bezier(.16,1,.3,1) both; }
@keyframes f2pVtOut { to { opacity: 0; transform: translateY(-10px); } }
@keyframes f2pVtIn { from { opacity: 0; transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ---------- sticky-scroll steps: sticky intro column + steps that light up ---------- */
.sscroll { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: start; }
.sscroll-aside { position: sticky; top: 120px; }
.sscroll-aside .sscroll-meter { margin-top: 28px; display: flex; align-items: center; gap: 14px; font: 500 12.5px/1 var(--mono); color: var(--muted); letter-spacing: .04em; }
.sscroll-meter .bar { flex: 1; max-width: 220px; height: 4px; border-radius: 4px; background: var(--bg-3); overflow: hidden; }
.sscroll-meter .bar i { display: block; height: 100%; width: var(--p, 0%); background: linear-gradient(90deg, var(--em), var(--em-glow)); border-radius: 4px; transition: width .35s cubic-bezier(.16,1,.3,1); }
.sscroll-steps { list-style: none; margin: 0; padding: 0 0 0 36px; position: relative; display: flex; flex-direction: column; gap: 20px; }
.sscroll-steps::before { content: ""; position: absolute; left: 11px; top: 14px; bottom: 14px; width: 2px; background: var(--line); border-radius: 2px; }
.sscroll-steps .rail { position: absolute; left: 11px; top: 14px; width: 2px; height: var(--rail, 0px); max-height: calc(100% - 28px); background: var(--em); border-radius: 2px; transition: height .3s cubic-bezier(.16,1,.3,1); }
.sscroll-steps > li { position: relative; padding: 24px 26px; border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; transition: border-color .35s, box-shadow .35s, transform .45s cubic-bezier(.16,1,.3,1), opacity .35s; opacity: .55; }
.sscroll-steps > li::before { content: attr(data-n); position: absolute; left: -36px; top: 22px; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: grid; place-items: center; font: 600 11px/1 var(--mono); color: var(--muted); transition: all .35s; }
.sscroll-steps > li.on { opacity: 1; border-color: rgba(23,124,84,.35); box-shadow: var(--shadow); }
.sscroll-steps > li.on::before { background: var(--em); border-color: var(--em); color: #fff; }
.sscroll-steps h3 { font-size: 18px; margin: 0 0 6px; }
.sscroll-steps p { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0; }
.sscroll-steps .meta { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--em); text-decoration: none; }
.sscroll-steps .meta:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 960px) {
  .sscroll { grid-template-columns: minmax(0,1fr); gap: 36px; }
  .sscroll-aside { position: static; }
  .sscroll-steps > li { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .sscroll-steps > li { opacity: 1; transition: none; } }

/* ---------- situation picker: tabs on the left, detail panel on the right ---------- */
.picker { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 20px; align-items: stretch; }
.picker-tabs { display: flex; flex-direction: column; gap: 8px; }
.picker-tab { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 16px 18px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; color: var(--text); font: inherit; cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s; }
.picker-tab b { display: block; font-size: 15.5px; font-weight: 600; }
.picker-tab small { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.picker-tab:hover { border-color: rgba(107,79,160,.35); }
.picker-tab[aria-selected="true"] { border-color: var(--em); box-shadow: 0 0 0 3px rgba(23,124,84,.12); background: linear-gradient(0deg, rgba(233,245,239,.55), rgba(233,245,239,.55)), #fff; }
.picker-tab .chev { margin-left: auto; color: var(--faint); transition: transform .2s, color .2s; }
.picker-tab[aria-selected="true"] .chev { transform: translateX(3px); color: var(--em); }
.picker-panel { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--ink); color: #fff; padding: 36px; display: flex; flex-direction: column; gap: 16px; isolation: isolate; min-height: 100%; }
.picker-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 100% 0%, rgba(107,79,160,.45), transparent 70%), radial-gradient(50% 60% at 0% 100%, rgba(23,124,84,.28), transparent 70%); }
.picker-panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(70% 70% at 100% 0%, #000, transparent 75%); mask-image: radial-gradient(70% 70% at 100% 0%, #000, transparent 75%); }
.picker-panel[hidden] { display: none; }
.picker-panel h3 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.02em; margin: 0; }
.picker-panel p { color: rgba(255,255,255,.72); line-height: 1.65; margin: 0; }
.picker-panel .eyebrow { color: var(--em-glow); }
.picker-panel .checklist { margin: 4px 0 0; }
.picker-panel .checklist li { color: rgba(255,255,255,.86); }
.picker-panel .row { margin-top: auto; padding-top: 8px; }
.picker-panel.in { animation: f2pRise .45s cubic-bezier(.16,1,.3,1) both; }
@media (max-width: 860px) { .picker { grid-template-columns: minmax(0,1fr); } .picker-panel { padding: 26px 22px; } }
@media (prefers-reduced-motion: reduce) { .picker-panel.in { animation: none; } }

/* ---------- parallax helpers ---------- */
[data-px] { will-change: transform; }
.decor > i { transition: none; }

/* ---------- "at a glance" card overlapping the bottom of a dark hero ---------- */
.glance-wrap { position: relative; z-index: 3; margin-top: -52px; }
.glance { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: 0 1px 2px rgba(27,15,46,.06), 0 24px 48px -28px rgba(27,15,46,.35); }
.glance > div { display: flex; gap: 14px; align-items: flex-start; padding: 22px 24px; min-width: 0; }
.glance > div + div { border-left: 1px solid var(--line); }
.glance b { display: block; font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; color: var(--text); }
.glance small { display: block; font-size: 13.5px; color: var(--muted); margin-top: 3px; line-height: 1.45; }
.glance .num { font-size: 26px; letter-spacing: -.03em; line-height: 1.1; }
.page-hero.has-float { padding-bottom: 116px; }
.glance-wrap + .section { padding-top: 88px; }
@media (max-width: 960px) {
  .glance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .glance > div:nth-child(3) { border-left: 0; }
  .glance > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .glance { grid-template-columns: minmax(0, 1fr); }
  .glance > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .glance > div { padding: 16px 18px; }
}
