/* Generated by `php artisan assets:manifest --build` from css/app.css. Do not edit by hand. */
/* CrestPoint Academy — CSS entry point for the public website (www).
   Design authority: design/00-design-system.md + design/01-public-website.md.
   Load order: tokens → base → component library → shells → surface pages →
   shared primitives (facets, pagination last so they win).

   The campus and console surfaces load css/campus-v3.css and
   css/console-v3.css instead (design/05). Declarations only; no build step.
   Each file is served from public/assets/css. */
/* CrestPoint Academy — mockup tokens (from 00-design-system.md §3–§6). Light theme only.

   Type is the native system stack (PO 2026-11-04): no webfont files are
   declared here, so the www surface never requests a font that is not on disk.
   The campus/console bundles ship the self-hosted serif + mono (v3/fonts.css). */

:root {
  color-scheme: light;

  /* ── Editorial registrar extension (PO mockup, 2026-11-06) ─────────────
     Ground palette for the redesigned www editorial system: a paper page
     ground, one brass accent reserved for seal/verified moments (never for
     buttons or decorative text), a navy hairline for editorial rules, and a
     14px caption size so nothing on the page renders below 14px. The brass
     pair is contrast-checked: #072438 on #B58A3C = 5.06:1, #8A6420 on
     #F7F5F0 = 4.91:1 (AA). www-wide page ground lives in shells.css
     (.l-marketing); other surfaces keep their own tokens. */
  --paper: #F7F5F0;
  --brass: #B58A3C;
  --brass-ink: #8A6420;
  --hairline: rgba(7, 36, 56, 0.12);
  --text-caption: 14px;

  /* primitives */
  --navy-50:#EEF4F8; --navy-100:#D9E7F0; --navy-200:#B3CFE0; --navy-300:#8CB3CD; --navy-500:#2F6F97;
  --navy-700:#0B3C5D; --navy-800:#092F4A; --navy-900:#072438; --navy-950:#051A2B;
  --blue-50:#EBF6FB; --blue-100:#D3ECF7; --blue-200:#A7D8EE; --blue-300:#6FBFDF; --blue-400:#3AA4CE; --blue-500:#1284BA;
  --blue-600:#0F6F9E; --blue-700:#0D5B82;
  --orange-50:#FFF4EB; --orange-100:#FFE6D1; --orange-200:#FFCBA3; --orange-400:#FF9447; --orange-500:#FF862F; --orange-600:#DB6A1B; --orange-700:#B55212;
  --neutral-0:#FFFFFF; --neutral-25:#FAFBFC; --neutral-50:#F5F7F9; --neutral-100:#ECEFF2; --neutral-200:#DEE3E8;
  --neutral-300:#C6CDD4; --neutral-400:#9AA4AD; --neutral-500:#6E7A84; --neutral-600:#55606A; --neutral-700:#414B54;
  --neutral-800:#2E363D; --neutral-900:#1C2329; --neutral-950:#10161B;

  /* semantic */
  --canvas: var(--neutral-50);
  --surface: var(--neutral-0);
  --surface-2: var(--neutral-100);
  --surface-inverse: var(--navy-900);
  --text: var(--neutral-900);
  --text-2: var(--neutral-600);
  --text-3: var(--neutral-500);
  --text-inverse: var(--neutral-0);
  --text-inverse-2: var(--navy-200);
  --border: var(--neutral-200);
  --border-strong: var(--neutral-300);
  --border-inverse: var(--navy-700);
  --heading: var(--navy-800);

  --primary: var(--blue-500);
  --primary-hover: var(--blue-600);
  --primary-active: var(--blue-700);
  --primary-subtle: var(--blue-50);
  --on-primary: var(--neutral-0);
  --accent: var(--orange-500);
  --accent-hover: var(--orange-600);
  --accent-subtle: var(--orange-50);
  --on-accent: var(--neutral-0);

  --success:#1B7F4D; --success-subtle:#E7F5EC; --success-border:#B9E3CB;
  --warning:#B45309; --warning-subtle:#FEF6E7; --warning-border:#F2DFAF;
  --danger:#D92D20;  --danger-hover:#B42318; --danger-subtle:#FDECEC;  --danger-border:#F5C6C2;
  --info: var(--blue-600); --info-subtle: var(--blue-50);

  --ring: var(--blue-500); --ring-offset: var(--neutral-0);
  --scrim: rgba(16,22,27,.55);
  --chart-1: var(--blue-500); --chart-2: var(--orange-400); --chart-3: var(--navy-500); --chart-4: var(--neutral-400);
  --chart-grid: var(--neutral-200);

  /* type — native system stacks only (PO 2026-11-04); no webfont files. */
  --font-sans: system-ui, -apple-system, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: ui-serif, Georgia, "Times New Roman", "Liberation Serif", serif;
  --font-mono: ui-monospace, SFMono-Regular, "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, monospace;
  --text-display-xl: 56px; --text-display-lg: 44px; --text-display-md: 36px;
  --text-h1: 32px; --text-h2: 24px; --text-h3: 20px; --text-h4: 17px;
  --text-body-lg: 17px; --text-body: 15px; --text-sm: 13px; --text-xs: 12px;

  /* space / radius / shadow / motion */
  --s0:2px; --s1:4px; --s1-5:6px; --s2:8px; --s2-5:10px; --s3:12px; --s3-5:14px; --s4:16px;
  --s4-5:18px; --s5:20px; --s5-5:22px; --s6:24px; --s6-5:28px; --s7:32px; --s7-5:36px;
  --s8:40px; --s9:48px; --s10:64px; --s11:80px; --s12:96px;

  /* semantic spacing - components use these, never a raw step (design/00 §3.6) */
  --pad-card-head-y:var(--s4-5); --pad-card-head-x:var(--s6);
  --pad-card-body:var(--s6);
  --pad-card-foot-y:var(--s4); --pad-card-foot-x:var(--s6);
  --pad-compact-head-y:var(--s3); --pad-compact-head-x:var(--s4);
  --pad-compact-body:var(--s4);
  --pad-compact-foot-y:var(--s2-5); --pad-compact-foot-x:var(--s4);
  --pad-cell-y:var(--s3-5); --pad-cell-x:var(--s5);
  --pad-cell-y-compact:var(--s2-5); --pad-cell-x-compact:var(--s3-5);
  --pad-page-x:var(--s6); --pad-page-x-tight:var(--s4);
  --gap-grid:var(--s5); --gap-stack:var(--s4);
  --tracking-label:0.07em; --tracking-eyebrow:0.1em;
  --target-min:40px; --target-touch:44px;

  --radius-sm:6px; --radius-md:8px; --radius-lg:12px; --radius-xl:16px; --radius-full:999px;
  --radius-control:7px; --radius-popup:9px; --radius-row:6px;
  --shadow-xs: 0 1px 2px rgba(16,22,27,.05);
  --shadow-sm: 0 1px 2px rgba(16,22,27,.06), 0 1px 3px rgba(16,22,27,.10);
  --shadow-md: 0 2px 4px rgba(16,22,27,.06), 0 4px 8px rgba(16,22,27,.10);
  --shadow-lg: 0 4px 6px rgba(16,22,27,.05), 0 12px 16px rgba(16,22,27,.10);
--card-max-h:420px;
  --ring-focus: 0 0 0 2px var(--ring-offset), 0 0 0 4px var(--ring);
  --dur-1:120ms; --dur-2:180ms; --dur-3:240ms;
  --ease-out: cubic-bezier(.2,0,0,1);
  --ease-entrance: cubic-bezier(.16,1,.3,1);

  /* layers (design/00 §5.4) */
  --z-base:0; --z-raised:10; --z-sticky:20;
  --z-nav:100; --z-drawer:200; --z-modal:300; --z-toast:400; --z-tooltip:500;
}

/* reset + base */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { -webkit-text-size-adjust:100%; }
body { background:var(--canvas); color:var(--text); font:400 var(--text-body)/1.6 var(--font-sans); font-variant-numeric:tabular-nums; }
h1,h2,h3,h4 { line-height:1.25; color:var(--heading); font-weight:700; }
h1{font-size:var(--text-h1)} h2{font-size:var(--text-h2)} h3{font-size:var(--text-h3)} h4{font-size:var(--text-h4)}
a { color:var(--primary); text-decoration:none; }
input[type="checkbox"], input[type="radio"] { accent-color:var(--primary); }
a:hover { text-decoration:underline; }
button { font:inherit; background:none; border:0; cursor:pointer; color:inherit; }
svg { display:block; flex:none; }
ul,ol { list-style:none; }
::placeholder { color:var(--text-3); }
.u-sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.mono { font-family:var(--font-mono); font-variant-numeric:tabular-nums; }
.tnum { font-variant-numeric:tabular-nums; }
.t3 { color:var(--text-3); } .t2 { color:var(--text-2); }



/* CrestPoint Academy — base primitives, brand lockup, utilities.
   Tokens only. Sources: design/00-design-system.md §1, §4, §7, §12, §14. */

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100dvh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

::selection {
    background: var(--blue-100);
    color: var(--text);
}

[hidden] {
    display: none !important;
}

img,
picture,
video,
canvas {
    display: block;
    max-width: 100%;
}

p {
    max-width: 72ch;
}

strong,
b {
    font-weight: 600;
}

hr {
    border: 0;
    border-top: 1px solid var(--border);
}

:focus-visible {
    outline: none;
    box-shadow: var(--ring-focus);
}

/* Brand lockup (design/00 §1) */
.c-brand {
    display: inline-flex;
    align-items: center;
    gap: var(--s2);
    color: var(--heading);
    text-decoration: none;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: var(--text-h4);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.c-brand:hover {
    text-decoration: none;
}

.c-brand__mark {
    color: var(--navy-700);
}

.c-brand__mark--navy { color: var(--navy-700); }
.c-brand__mark--blue { color: var(--blue-500); }
.c-brand__mark--white,
.c-brand__mark--inverse { color: var(--neutral-0); }
.c-brand__mark--current { color: currentColor; }

.c-brand--on-dark {
    color: var(--text-inverse);
}

.c-brand--on-dark .c-brand__mark {
    color: var(--neutral-0);
}

.c-brand--compact {
    font-size: var(--text-body);
}

/* Skip link (design/00 §12) */
.u-skip-link {
    position: fixed;
    top: -100px;
    left: var(--s4);
    z-index: var(--z-toast);
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 var(--s4);
    background: var(--primary);
    color: var(--on-primary);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 600;
}

.u-skip-link:focus {
    top: var(--s4);
}

/* Layout containers (design/00 §7) */
.u-container {
    width: min(1200px, 100% - var(--s9));
    margin-inline: auto;
}

.u-container--campus {
    width: min(1120px, 100% - var(--s9));
    margin-inline: auto;
}

.u-container--console {
    width: min(1600px, 100% - var(--s9));
    margin-inline: auto;
}

.u-container--prose {
    width: min(720px, 100% - var(--s9));
    margin-inline: auto;
}

/* Utilities */
.u-stack-1 > * + * { margin-top: var(--s1); }
.u-stack-2 > * + * { margin-top: var(--s2); }
.u-stack-3 > * + * { margin-top: var(--s3); }
.u-stack-4 > * + * { margin-top: var(--s4); }
.u-stack-6 > * + * { margin-top: var(--s6); }
.u-stack-8 > * + * { margin-top: var(--s8); }

.u-row {
    display: flex;
    align-items: center;
    gap: var(--s3);
    flex-wrap: wrap;
}

.u-row--between {
    justify-content: space-between;
}

.u-row--end {
    justify-content: flex-end;
}

.u-grow { flex: 1 1 auto; }
.u-nowrap { white-space: nowrap; }
.u-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.u-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.u-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.u-mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.u-muted { color: var(--text-2); }
.u-subtle { color: var(--text-3); }
.u-center { text-align: center; }
.u-right { text-align: right; }
.u-mb-0 { margin-bottom: 0; }
.u-mb-2 { margin-bottom: var(--s2); }
.u-mb-3 { margin-bottom: var(--s3); }
.u-mb-4 { margin-bottom: var(--s4); }
.u-mb-6 { margin-bottom: var(--s6); }
.u-mt-2 { margin-top: var(--s2); }
.u-mt-3 { margin-top: var(--s3); }
.u-mt-4 { margin-top: var(--s4); }
.u-mt-6 { margin-top: var(--s6); }
.u-mt-8 { margin-top: var(--s8); }
.u-w-full { width: 100%; }
.u-hide { display: none !important; }

.u-divider {
    height: 1px;
    background: var(--border);
    border: 0;
}

.u-scroll-x {
    overflow-x: auto;
    padding-bottom: var(--s1);
}

/* Named motion only (design/00 §6.2) */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Async navigation progress bar (Ch. 17). Purely visual; the page swaps in
   place and the bar hides on completion or full-load fallback. */
.cp-nav-progress {
    position: fixed;
    inset-block-start: 0;
    inset-inline: 0;
    block-size: var(--s0);
    z-index: var(--z-toast);
    overflow: hidden;
    pointer-events: none;
}

.cp-nav-progress::before {
    content: "";
    display: block;
    block-size: 100%;
    inline-size: 35%;
    background: var(--primary);
    animation: cp-nav-progress calc(var(--dur-3) * 4) var(--ease-out) infinite;
}

@keyframes cp-nav-progress {
    from { transform: translateX(-110%); }
    to { transform: translateX(320%); }
}

@media (prefers-reduced-motion: reduce) {
    .cp-nav-progress::before {
        animation: none;
        inline-size: 100%;
        opacity: .6;
    }
}

/* CrestPoint Academy — component library (design/00-design-system.md §9–§10).
   Tokens only. No gradients. Named motion only. */

/* ============================================================
   Icons, keyboard hints
   ============================================================ */
.c-icon-16 { width: 16px; height: 16px; }
.c-icon-20 { width: 20px; height: 20px; }
.c-icon-24 { width: 24px; height: 24px; }

.c-kbd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    min-height: 20px;
    padding: 0 var(--s1-5);
    border: 1px solid var(--border);
    border-bottom-width: 2px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text-3);
    font: 500 var(--text-xs)/1 var(--font-mono);
}

/* ============================================================
   Buttons (design/00 §9.1)
   ============================================================ */
.c-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--s2);
    min-height: 40px;
    padding: 0 var(--s4);
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--text);
    font: 600 var(--text-body)/1 var(--font-sans);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition:
        background-color var(--dur-1) linear,
        border-color var(--dur-1) linear,
        color var(--dur-1) linear,
        box-shadow var(--dur-1) linear;
}

.c-btn:hover { text-decoration: none; }
.c-btn:active { transform: scale(0.98); }
.c-btn:focus-visible { outline: none; box-shadow: var(--ring-focus); }
.c-btn[disabled],
.c-btn[aria-disabled="true"],
.c-btn[aria-busy="true"] {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.c-btn--primary { background: var(--primary); color: var(--on-primary); }
.c-btn--primary:hover { background: var(--primary-hover); }
.c-btn--primary:active { background: var(--primary-active); }

.c-btn--secondary {
    background: var(--surface);
    border-color: var(--border-strong);
    color: var(--text);
}
.c-btn--secondary:hover { background: var(--surface-2); }

.c-btn--ghost { color: var(--text-2); }
.c-btn--ghost:hover { background: var(--surface-2); color: var(--text); }

.c-btn--subtle { background: var(--primary-subtle); color: var(--primary); }
.c-btn--subtle:hover { background: var(--blue-100); }

.c-btn--danger { background: var(--danger); color: var(--on-primary); }
.c-btn--danger:hover { background: var(--danger-hover); }

.c-btn--danger-secondary {
    background: var(--surface);
    border-color: var(--danger);
    color: var(--danger);
}
.c-btn--danger-secondary:hover { background: var(--danger-subtle); }

.c-btn--on-dark {
    background: transparent;
    border-color: var(--border-inverse);
    color: var(--text-inverse);
}
.c-btn--on-dark:hover { background: var(--navy-800); }

.c-btn--link {
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--primary);
    font-weight: 600;
}
.c-btn--link:hover { text-decoration: underline; }

.c-btn--sm {
    min-height: 32px;
    padding: 0 var(--s3);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
}
.c-btn--lg { min-height: 48px; padding: 0 var(--s6); }
.c-btn--block { width: 100%; }

.c-btn--icon {
    width: 40px;
    min-width: 40px;
    padding: 0;
}
.c-btn--icon-sm {
    width: 32px;
    min-width: 32px;
    min-height: 32px;
    padding: 0;
    border-radius: var(--radius-sm);
}

.c-btn__spinner {
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: var(--radius-full);
    animation: cp-spin 800ms linear infinite;
}

@keyframes cp-spin {
    to { transform: rotate(360deg); }
}

/* ============================================================
   Forms (design/00 §9.2, §9.3, §9.4, §10)
   ============================================================ */
.c-field {
    display: flex;
    flex-direction: column;
    gap: var(--s2);
    min-width: 0;
}

.c-label {
    display: block;
    color: var(--text);
    font: 600 var(--text-sm)/1.4 var(--font-sans);
}

.c-label__req { color: var(--danger); }
.c-label__optional { color: var(--text-3); font-weight: 400; }

.c-input,
.c-select,
.c-textarea {
    width: 100%;
    min-height: 40px;
    padding: 0 var(--s3);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text);
    font: 400 var(--text-body)/1.4 var(--font-sans);
    transition:
        border-color var(--dur-1) linear,
        box-shadow var(--dur-1) linear;
}

.c-textarea {
    min-height: 96px;
    padding: var(--s2-5) var(--s3);
    line-height: 1.55;
    resize: vertical;
}

.c-select {
    appearance: none;
    padding-right: var(--s9);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2355606A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--s3) center;
    background-size: 18px;
}

.c-input:hover,
.c-select:hover,
.c-textarea:hover { border-color: var(--border-strong); }

.c-input:focus,
.c-select:focus,
.c-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: var(--ring-focus);
}

.c-input::placeholder,
.c-textarea::placeholder { color: var(--text-3); }

.c-input[aria-invalid="true"],
.c-select[aria-invalid="true"],
.c-textarea[aria-invalid="true"] { border-color: var(--danger); }

.c-input[disabled],
.c-select[disabled],
.c-textarea[disabled] {
    opacity: 0.45;
    background: var(--surface-2);
    cursor: not-allowed;
}

.c-input--mono {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.c-input--sm { min-height: 36px; font-size: var(--text-sm); }

.c-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.c-input-wrap > .c-icon-20,
.c-input-wrap > .c-icon-16 {
    position: absolute;
    left: var(--s3);
    color: var(--text-3);
    pointer-events: none;
}

.c-input-wrap > .c-icon-20 + .c-input,
.c-input-wrap > .c-icon-16 + .c-input { padding-left: var(--s9); }

.c-input-wrap__suffix {
    position: absolute;
    right: var(--s3);
    color: var(--text-3);
    font: 500 var(--text-sm)/1 var(--font-mono);
    pointer-events: none;
}

.c-input-group {
    display: flex;
    align-items: stretch;
    min-width: 0;
}

.c-input-group > .c-input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.c-input-group > .c-input + .c-btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    min-height: 40px;
}

.c-help {
    color: var(--text-3);
    font-size: var(--text-xs);
    line-height: 1.5;
}

.c-field-error {
    display: flex;
    align-items: flex-start;
    gap: var(--s1-5);
    margin: 0;
    color: var(--danger);
    font-size: var(--text-sm);
    line-height: 1.4;
    list-style: none;
}

.c-field-error svg { margin-top: 1px; }

.c-check,
.c-radio {
    display: flex;
    align-items: center;
    gap: var(--s2);
    min-height: 40px;
    color: var(--text);
    font-size: var(--text-body);
    cursor: pointer;
}

.c-check input,
.c-radio input {
    appearance: none;
    display: grid;
    place-content: center;
    flex: none;
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--border-strong);
    background: var(--surface);
}

.c-check input { border-radius: 4px; }
.c-radio input { border-radius: var(--radius-full); }

.c-check input:checked,
.c-radio input:checked {
    border-color: var(--primary);
    background: var(--primary);
}

.c-check input:checked::before {
    content: "";
    width: 10px;
    height: 10px;
    background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

.c-radio input:checked::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background: var(--neutral-0);
}

.c-check input:focus-visible,
.c-radio input:focus-visible { outline: none; box-shadow: var(--ring-focus); }

.c-switch {
    appearance: none;
    position: relative;
    flex: none;
    width: 40px;
    height: 24px;
    border-radius: var(--radius-full);
    background: var(--neutral-300);
    cursor: pointer;
    transition: background-color var(--dur-1) linear;
}

.c-switch::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    border-radius: var(--radius-full);
    background: var(--neutral-0);
    box-shadow: var(--shadow-xs);
    transition: left var(--dur-1) linear;
}

.c-switch:checked { background: var(--primary); }
.c-switch:checked::after { left: 18px; }
.c-switch:focus-visible { outline: none; box-shadow: var(--ring-focus); }

.c-form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s4);
}

.c-form-row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.c-form-row--full { grid-column: 1 / -1; }

.c-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--s3);
    margin-top: var(--s6);
}

.c-form-actions--between { justify-content: space-between; }

.c-fieldset {
    border: 0;
    padding: 0;
    margin: 0;
    min-width: 0;
}

.c-fieldset legend {
    margin-bottom: var(--s2);
    color: var(--text);
    font: 600 var(--text-sm)/1.4 var(--font-sans);
}

.c-error-summary {
    display: flex;
    gap: var(--s3);
    padding: var(--s4);
    border: 1px solid var(--danger-border);
    border-radius: var(--radius-md);
    background: var(--danger-subtle);
    color: var(--danger);
    font-size: var(--text-sm);
}

.c-error-summary ul {
    margin: var(--s2) 0 0;
    padding-left: var(--s4);
    list-style: disc;
}

.c-error-summary a { color: var(--danger); text-decoration: underline; }

/* ============================================================
   Badges, chips, counts (design/00 §9.5)
   ============================================================ */
.c-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--s1-5);
    min-height: 22px;
    padding: 0 var(--s2);
    border-radius: var(--radius-full);
    background: var(--surface-2);
    color: var(--text-2);
    font: 600 var(--text-xs)/1 var(--font-sans);
    white-space: nowrap;
}

.c-badge--neutral { background: var(--surface-2); color: var(--text-2); }
.c-badge--primary { background: var(--primary-subtle); color: var(--primary); }
.c-badge--info { background: var(--info-subtle); color: var(--info); }
.c-badge--success { background: var(--success-subtle); color: var(--success); }
.c-badge--warning { background: var(--warning-subtle); color: var(--warning); }
.c-badge--danger { background: var(--danger-subtle); color: var(--danger); }
.c-badge--accent { background: var(--accent-subtle); color: var(--orange-700); }

.c-badge__dot {
    width: 6px;
    height: 6px;
    border-radius: var(--radius-full);
    background: currentColor;
}

.c-chip {
    display: inline-flex;
    align-items: center;
    gap: var(--s2);
    min-height: 28px;
    padding: 0 var(--s3);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    background: var(--surface);
    color: var(--text-2);
    font-size: var(--text-sm);
}

.c-chip__remove {
    display: grid;
    place-content: center;
    width: 16px;
    height: 16px;
    border-radius: var(--radius-full);
    color: var(--text-3);
}

.c-chip__remove:hover { background: var(--surface-2); color: var(--text); }

.c-count {
    display: inline-grid;
    place-content: center;
    min-width: 18px;
    min-height: 18px;
    padding: 0 var(--s1-5);
    border-radius: var(--radius-full);
    background: var(--danger);
    color: var(--neutral-0);
    font: 600 11px/1 var(--font-sans);
}

/* ============================================================
   Cards, stats, progress, avatars (design/00 §9.6, §9.7, §9.20, §9.21)
   ============================================================ */
.c-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    min-width: 0;
}

.c-card--pad { padding: var(--s6); }
.c-card--flat { background: var(--surface-2); box-shadow: none; }
.c-card--flush { overflow: hidden; }

.c-card--interactive {
    position: relative;
    cursor: pointer;
    transition:
        box-shadow var(--dur-1) linear,
        border-color var(--dur-1) linear,
        transform var(--dur-1) linear;
}

.c-card--interactive:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.c-card--interactive:focus-within { box-shadow: var(--ring-focus); }

.c-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s4);
    padding: var(--s4) var(--s6);
    border-bottom: 1px solid var(--border);
}

.c-card__header h2,
.c-card__header h3 { margin: 0; font-size: var(--text-h3); }

.c-card__body { padding: var(--s6); }
.c-card__body--tight { padding: var(--s4); }

.c-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s4);
    padding: var(--s4) var(--s6);
    border-top: 1px solid var(--border);
}

.c-card__title {
    margin: 0;
    color: var(--heading);
    font: 600 var(--text-h3)/1.35 var(--font-sans);
}

.c-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s3);
    color: var(--text-3);
    font-size: var(--text-sm);
}

.c-card__meta > span {
    display: inline-flex;
    align-items: center;
    gap: var(--s1-5);
}

.c-stat {
    padding: var(--s5);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
}

.c-stat__label { color: var(--text-2); font-size: var(--text-sm); }

.c-stat__value {
    margin-top: var(--s1);
    color: var(--heading);
    font-size: var(--text-h1);
    font-weight: 700;
    line-height: 1.15;
    font-variant-numeric: tabular-nums;
}

.c-stat__value--accent { color: var(--orange-600); }

.c-stat__foot {
    display: flex;
    align-items: center;
    gap: var(--s2);
    margin-top: var(--s3);
    color: var(--text-3);
    font-size: var(--text-sm);
}

.c-delta {
    display: inline-flex;
    align-items: center;
    gap: var(--s1);
    min-height: 20px;
    padding: 0 var(--s2);
    border-radius: var(--radius-full);
    font: 600 var(--text-xs)/1 var(--font-sans);
}

.c-delta--up { background: var(--success-subtle); color: var(--success); }
.c-delta--down { background: var(--danger-subtle); color: var(--danger); }

.c-progress {
    height: 8px;
    border-radius: var(--radius-full);
    background: var(--surface-2);
    overflow: hidden;
}

.c-progress--sm { height: 4px; }

.c-progress__bar {
    display: block;
    height: 100%;
    border-radius: var(--radius-full);
    background: var(--primary);
    transition: width var(--dur-3) var(--ease-out);
}

.c-progress--success .c-progress__bar { background: var(--success); }

.c-progress-label {
    min-width: 40px;
    color: var(--text-2);
    font-size: var(--text-sm);
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.c-avatar {
    display: inline-grid;
    place-content: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--primary-subtle);
    color: var(--primary);
    font-size: var(--text-sm);
    font-weight: 600;
    overflow: hidden;
}

.c-avatar img { width: 100%; height: 100%; object-fit: cover; }
.c-avatar--24 { width: 24px; height: 24px; font-size: 10px; }
.c-avatar--32 { width: 32px; height: 32px; font-size: var(--text-xs); }
.c-avatar--40 { width: 40px; height: 40px; font-size: var(--text-sm); }
.c-avatar--64 { width: 64px; height: 64px; font-size: var(--text-h3); }

.c-avatar-stack {
    display: flex;
    align-items: center;
}

.c-avatar-stack .c-avatar {
    margin-left: calc(var(--s2) * -1);
    box-shadow: 0 0 0 2px var(--surface);
}

.c-avatar-stack .c-avatar:first-child { margin-left: 0; }

/* ============================================================
   Key-value list, breadcrumb (design/00 §9.22, §9.24)
   ============================================================ */
.c-kv { width: 100%; }

.c-kv > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--s4);
    padding: var(--s2) 0;
    border-bottom: 1px solid var(--border);
}

.c-kv > div:last-child { border-bottom: 0; }

.c-kv dt {
    flex: none;
    color: var(--text-3);
    font-size: var(--text-sm);
}

.c-kv dd {
    margin: 0;
    color: var(--text);
    font-weight: 600;
    text-align: right;
}

.c-kv dd.u-mono { font-weight: 500; }

.c-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--s2);
    color: var(--text-3);
    font-size: var(--text-sm);
}

.c-breadcrumb ol {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--s2);
    margin: 0;
}

.c-breadcrumb li {
    display: inline-flex;
    align-items: center;
    gap: var(--s2);
}

.c-breadcrumb a { color: var(--text-2); }
.c-breadcrumb a:hover { color: var(--text); }
.c-breadcrumb [aria-current="page"] { color: var(--text); font-weight: 600; }

/* ============================================================
   Tables (design/00 §9.8)
   ============================================================ */
.c-table-wrap {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    overflow: hidden;
}

.c-table-scroll { overflow-x: auto; }

.c-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface);
}

.c-table caption { caption-side: top; }

.c-table th {
    height: 44px;
    padding: 0 var(--s4);
    border-bottom: 1px solid var(--border);
    background: var(--surface-2);
    color: var(--text-2);
    font: 600 var(--text-xs)/1.4 var(--font-sans);
    letter-spacing: 0.04em;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
}

.c-table td {
    height: 48px;
    padding: 0 var(--s4);
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-size: var(--text-body);
    vertical-align: middle;
}

.c-table tbody tr:last-child td { border-bottom: 0; }
.c-table tbody tr:hover { background: var(--surface-2); }
.c-table tr.is-selected { background: var(--primary-subtle); }
.c-table .c-table__num { text-align: right; font-variant-numeric: tabular-nums; }
.c-table--compact td { height: 36px; font-size: var(--text-sm); }
.c-table--compact th { height: 36px; }

.c-table td .c-card__meta { margin-top: var(--s0); }

.c-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--s3);
    margin-bottom: var(--s4);
}

.c-toolbar__search { width: min(300px, 100%); }
.c-toolbar__grow { flex: 1 1 auto; }

.c-pager {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s4);
    padding: var(--s3) var(--s4);
    border-top: 1px solid var(--border);
    background: var(--surface);
    font-size: var(--text-sm);
    color: var(--text-2);
}

.c-pager__pages { display: flex; gap: var(--s1); }

.c-pager__pages a,
.c-pager__pages button,
.c-pager__pages span {
    display: inline-grid;
    place-content: center;
    min-width: 32px;
    min-height: 32px;
    padding: 0 var(--s1-5);
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    color: var(--text-2);
    font-weight: 600;
    text-decoration: none;
}

.c-pager__pages a:hover,
.c-pager__pages button:hover { background: var(--surface-2); }
.c-pager__pages [aria-current="page"] { background: var(--primary); color: var(--on-primary); }

.c-bulkbar {
    display: flex;
    align-items: center;
    gap: var(--s3);
    padding: var(--s3) var(--s4);
    margin-bottom: var(--s3);
    border: 1px solid var(--blue-200);
    border-radius: var(--radius-lg);
    background: var(--primary-subtle);
    color: var(--text);
    font-size: var(--text-sm);
    font-weight: 600;
}

/* ============================================================
   Tabs (design/00 §9.9)
   ============================================================ */
.c-tabs {
    display: flex;
    gap: var(--s6);
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
}

.c-tabs__tab {
    display: inline-flex;
    align-items: center;
    gap: var(--s1-5);
    min-height: 44px;
    border-bottom: 2px solid transparent;
    color: var(--text-2);
    font: 600 var(--text-body)/1 var(--font-sans);
    text-decoration: none;
    white-space: nowrap;
}

.c-tabs__tab:hover { color: var(--text); text-decoration: none; }
.c-tabs__tab[aria-selected="true"],
.c-tabs__tab.is-active { color: var(--text); border-bottom-color: var(--primary); }
.c-tabs__count { color: var(--text-3); font-size: var(--text-sm); font-weight: 400; }

/* ============================================================
   Alerts, empty, error, skeleton (design/00 §9.15, §9.17–§9.19)
   ============================================================ */
.c-alert {
    display: flex;
    align-items: flex-start;
    gap: var(--s3);
    padding: var(--s4);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface-2);
    color: var(--text);
    font-size: var(--text-sm);
    line-height: 1.55;
}

.c-alert__icon { flex: none; margin-top: 1px; }
.c-alert__title { display: block; font-weight: 600; }
.c-alert--info { border-color: var(--blue-200); background: var(--info-subtle); }
.c-alert--success { border-color: var(--success-border); background: var(--success-subtle); }
.c-alert--warning { border-color: var(--warning-border); background: var(--warning-subtle); }
.c-alert--danger { border-color: var(--danger-border); background: var(--danger-subtle); color: var(--danger); }
.c-alert--full { border-radius: 0; border-left: 0; border-right: 0; }

.c-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--s3);
    max-width: 400px;
    margin: 0 auto;
    padding: var(--s8) var(--s6);
    color: var(--text-2);
    text-align: center;
}

.c-empty__art {
    display: grid;
    place-content: center;
    width: 120px;
    height: 120px;
    border-radius: var(--radius-full);
    background: var(--surface-2);
    color: var(--text-3);
}

.c-empty h3 { margin: 0; color: var(--text); font-size: var(--text-h3); }
.c-empty p { margin: 0; color: var(--text-2); font-size: var(--text-sm); }

.c-error-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--s3);
    padding: var(--s8) var(--s6);
    text-align: center;
    color: var(--text-2);
}

.c-error-state svg { color: var(--danger); }
.c-error-state h3 { margin: 0; color: var(--text); font-size: var(--text-h3); }
.c-error-state p { margin: 0; font-size: var(--text-sm); }

.c-skeleton {
    background: var(--surface-2);
    border-radius: var(--radius-sm);
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.c-skeleton--text { height: 12px; }
.c-skeleton--title { height: 20px; border-radius: var(--radius-sm); }
.c-skeleton--avatar { border-radius: var(--radius-full); }
.c-skeleton--card { min-height: 120px; border-radius: var(--radius-lg); }

@keyframes skeleton-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
}

@media (prefers-reduced-motion: reduce) {
    .c-skeleton { animation: none; opacity: 0.55; }
    .c-btn__spinner { animation: none; }
}

/* ============================================================
   Dropdown (design/00 §9.12)
   ============================================================ */
.c-dropdown {
    position: relative;
    display: inline-flex;
}

.c-dropdown__trigger {
    display: inline-flex;
    align-items: center;
}

.c-nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 var(--s2);
    border-bottom: 2px solid transparent;
    color: var(--text-2);
    font: 600 var(--text-body)/1 var(--font-sans);
    text-decoration: none;
}

.c-nav-link:hover { color: var(--text); text-decoration: none; }
.c-nav-link.is-active,
.c-nav-link[aria-current="page"] { color: var(--text); border-bottom-color: var(--primary); }

.c-dropdown__menu {
    position: absolute;
    top: calc(100% + var(--s2));
    right: 0;
    z-index: var(--z-nav);
    min-width: 200px;
    padding: var(--s1);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-md);
}

.c-dropdown__menu--start { left: 0; right: auto; }
.c-dropdown__menu--wide { min-width: 280px; }

.c-dropdown__item {
    display: flex;
    align-items: center;
    gap: var(--s2);
    width: 100%;
    min-height: 36px;
    padding: 0 var(--s3);
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text);
    font: 400 var(--text-sm)/1.3 var(--font-sans);
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.c-dropdown__item:hover { background: var(--surface-2); text-decoration: none; }
.c-dropdown__item--danger { color: var(--danger); }
.c-dropdown__item--danger:hover { background: var(--danger-subtle); }
.c-dropdown__item[aria-disabled="true"] { color: var(--text-3); pointer-events: none; }

.c-dropdown__label {
    padding: var(--s2) var(--s3) var(--s1);
    color: var(--text-3);
    font: 600 var(--text-xs)/1.4 var(--font-sans);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.c-dropdown__sep {
    height: 1px;
    margin: var(--s1) 0;
    background: var(--border);
}

.c-dropdown__header {
    padding: var(--s3);
    border-bottom: 1px solid var(--border);
    margin-bottom: var(--s1);
}

.c-dropdown__header strong { display: block; color: var(--text); font-size: var(--text-sm); }
.c-dropdown__header span { display: block; color: var(--text-3); font-size: var(--text-xs); }

/* ============================================================
   Modal, drawer (design/00 §9.10, §9.11)
   ============================================================ */
.c-modal {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    display: grid;
    place-items: center;
    padding: var(--s6);
}

.c-modal__scrim {
    position: absolute;
    inset: 0;
    background: var(--scrim);
    border: 0;
    cursor: default;
}

.c-modal__panel {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(560px, 100%);
    max-height: calc(100dvh - var(--s9));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    animation: modal-in var(--dur-2) var(--ease-entrance);
}

.c-modal__panel--sm { width: min(400px, 100%); }
.c-modal__panel--lg { width: min(720px, 100%); }
.c-modal__panel--xl { width: min(920px, 100%); }

.c-modal__panel > form {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.c-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s4);
    padding: var(--s4) var(--s6);
    border-bottom: 1px solid var(--border);
}

.c-modal__header h2 { margin: 0; font-size: var(--text-h3); }

.c-modal__body {
    padding: var(--s6);
    overflow-y: auto;
}

.c-modal__footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--s3);
    padding: var(--s4) var(--s6);
    border-top: 1px solid var(--border);
}

.c-modal__footer--between { justify-content: space-between; }

@keyframes modal-in {
    from { opacity: 0; transform: translateY(8px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.c-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: var(--z-drawer);
    display: flex;
    flex-direction: column;
    width: min(420px, 100%);
    border-left: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-md);
    animation: drawer-in var(--dur-3) var(--ease-out);
}

.c-drawer--wide { width: min(560px, 100%); }

@keyframes drawer-in {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

body.cp-scroll-lock { overflow: hidden; }

/* ============================================================
   Toasts (design/00 §9.13)
   ============================================================ */
#toast-root {
    position: fixed;
    top: var(--s4);
    right: var(--s4);
    z-index: var(--z-toast);
    display: flex;
    flex-direction: column;
    gap: var(--s2);
    width: min(400px, calc(100vw - var(--s7)));
    pointer-events: none;
}

.c-toast {
    display: flex;
    align-items: flex-start;
    gap: var(--s3);
    min-width: 320px;
    max-width: 400px;
    padding: var(--s4);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-md);
    pointer-events: auto;
    animation: toast-in var(--dur-2) var(--ease-entrance);
}

.c-toast--success { border-left: 3px solid var(--success); }
.c-toast--warning { border-left: 3px solid var(--warning); }
.c-toast--danger { border-left: 3px solid var(--danger); }
.c-toast--info { border-left: 3px solid var(--info); }

.c-toast__title { display: block; color: var(--text); font: 600 var(--text-sm)/1.4 var(--font-sans); }
.c-toast__body { margin: var(--s0) 0 0; color: var(--text-2); font-size: var(--text-sm); }
.c-toast__close { margin-left: auto; }

@keyframes toast-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   Accordion (design/00 §9.16)
   ============================================================ */
.c-accordion {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    overflow: hidden;
}

.c-accordion + .c-accordion { margin-top: var(--s2); }

.c-accordion summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s3);
    min-height: 56px;
    padding: 0 var(--s5);
    color: var(--text);
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.c-accordion summary::-webkit-details-marker { display: none; }
.c-accordion summary svg { color: var(--text-3); transition: transform var(--dur-2) var(--ease-out); }
.c-accordion[open] summary svg { transform: rotate(180deg); }

.c-accordion__body {
    padding: 0 var(--s5) var(--s5);
    color: var(--text-2);
    font-size: var(--text-body);
}

/* ============================================================
   Tooltip (design/00 §9.14)
   ============================================================ */
.c-tooltip {
    position: relative;
}

.c-tooltip__bubble {
    position: absolute;
    bottom: calc(100% + var(--s2));
    left: 50%;
    z-index: var(--z-tooltip);
    max-width: 240px;
    padding: var(--s1) var(--s2);
    border-radius: var(--radius-sm);
    background: var(--neutral-900);
    color: var(--neutral-0);
    font-size: var(--text-xs);
    line-height: 1.4;
    overflow-wrap: anywhere;
    white-space: normal;
    transform: translateX(-50%);
    box-shadow: var(--shadow-sm);
}

/* ============================================================
   Course cover, certificate preview (design/00 §3.4, §8)
   ============================================================ */
.c-cover {
    position: relative;
    display: grid;
    place-content: center;
    aspect-ratio: 16 / 9;
    background: var(--surface-2);
    overflow: hidden;
}

.c-cover__initials {
    font: 500 44px/1 var(--font-mono);
    letter-spacing: -0.02em;
}

.c-cover .c-badge { position: absolute; top: var(--s3); left: var(--s3); }

.c-cover--programming { background: var(--blue-50); color: var(--blue-700); }
.c-cover--business { background: var(--orange-50); color: var(--orange-700); }
.c-cover--data { background: var(--navy-50); color: var(--navy-700); }
.c-cover--design { background: var(--neutral-100); color: var(--neutral-700); }
.c-cover--marketing { background: var(--neutral-100); color: var(--neutral-700); }
.c-cover--finance { background: var(--success-subtle); color: var(--success); }
.c-cover--languages { background: var(--warning-subtle); color: var(--warning); }
.c-cover--wellness { background: var(--info-subtle); color: var(--info); }

.c-cert-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--s3);
    padding: var(--s7);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-xl);
    background: var(--surface);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.c-cert-preview__eyebrow {
    color: var(--text-3);
    font: 700 var(--text-xs)/1.4 var(--font-sans);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.c-cert-preview__holder {
    color: var(--heading);
    font: 700 var(--text-display-md)/1.15 var(--font-display);
}

.c-cert-preview__course { color: var(--text-2); font-size: var(--text-sm); }

.c-serial {
    display: inline-flex;
    align-items: center;
    gap: var(--s2);
    padding: var(--s1-5) var(--s3);
    border-radius: var(--radius-sm);
    background: var(--surface-2);
    color: var(--text);
    font: 500 var(--text-sm)/1 var(--font-mono);
    letter-spacing: 0.04em;
}

.c-serial__copy {
    display: grid;
    place-content: center;
    width: 24px;
    height: 24px;
    border-radius: var(--radius-sm);
    color: var(--text-3);
}

.c-serial__copy:hover { background: var(--surface); color: var(--text); }

.c-qr {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    width: 96px;
    height: 96px;
    padding: var(--s1);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--neutral-0);
}

.c-qr i { background: var(--neutral-950); }
.c-qr i.is-empty { background: var(--neutral-0); }

/* ============================================================
   Misc
   ============================================================ */
.c-divider { height: 1px; background: var(--border); }
.c-required { color: var(--danger); }
.c-eyebrow {
    color: var(--primary);
    font: 700 var(--text-xs)/1.4 var(--font-sans);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.c-display {
    color: var(--heading);
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.c-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s4);
    padding: var(--s2) 0;
}

.c-summary-row + .c-summary-row { border-top: 1px solid var(--border); }

@media (max-width: 768px) {
    .c-form-row--2 { grid-template-columns: 1fr; }
    .c-modal { padding: var(--s3); }
    .c-modal__panel { max-height: calc(100dvh - var(--s6)); }
    .c-toolbar__search { width: 100%; }
    .c-toast { min-width: 0; }
    #toast-root { left: var(--s3); right: var(--s3); width: auto; }
    .c-pager { flex-wrap: wrap; }
}
/* CrestPoint Academy — marketing shell (design/00 §7; design/01 §1-§2).
   Tokens only.

   The campus and console shells live in v3/portal.css and v3/console.css.
   The v1 duplicates (.l-main, .l-page*, .l-campus-*, .l-console*,
   .l-bottom-tabs) were removed on 2026-11-02 (UI audit H-03): no current
   view used them and the public site shipped ~23 KB of dead rules. */

/* ============================================================
   Sections (shared by every marketing page)
   ============================================================ */
.l-section { padding: var(--s10) 0; }
.l-section--tight { padding: var(--s8) 0; }
.l-section--white { background: var(--surface); border-block: 1px solid var(--border); }
.l-section--tint { background: var(--surface-2); }
.l-section--inverse { background: var(--surface-inverse); color: var(--text-inverse); }
.l-section--inverse h2,
.l-section--inverse h3,
.l-section--inverse .c-display { color: var(--text-inverse); }
.l-section--inverse p { color: var(--text-inverse-2); }

.l-section__head { max-width: 640px; margin: 0 auto var(--s8); text-align: center; }
.l-section__head h2 { margin: var(--s3) 0 0; }
.l-section__head p { margin: var(--s3) 0 0; color: var(--text-2); font-size: var(--text-body-lg); }

.l-stack { display: flex; flex-direction: column; gap: var(--s4); }

/* ============================================================
   Marketing shell (design/01 §1)
   ============================================================ */
.l-marketing { background: var(--paper); }

.l-annbar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--s2);
    min-height: 40px;
    padding: 0 var(--s9);
    background: var(--primary-subtle);
    color: var(--text);
    font-size: var(--text-sm);
    text-align: center;
}

.l-annbar__close { position: absolute; right: var(--s3); top: 50%; transform: translateY(-50%); }

.l-mkt-header {
    position: sticky;
    top: 0;
    z-index: var(--z-nav);
    border-bottom: 1px solid var(--hairline);
    background: var(--paper);
}

.l-mkt-header__inner {
    display: flex;
    align-items: center;
    gap: var(--s6);
    width: min(1200px, 100% - var(--s9));
    min-height: 64px;
    margin-inline: auto;
}

.l-mkt-nav {
    display: flex;
    align-items: center;
    gap: var(--s7);
    margin-left: var(--s3);
}

.l-mkt-nav a {
    padding: var(--s1) 0;
    color: var(--text-2);
    font: 600 var(--text-body)/1.4 var(--font-sans);
    text-decoration: none;
    border-bottom: 2px solid transparent;
}

.l-mkt-nav a:hover { color: var(--text); border-bottom-color: var(--primary); text-decoration: none; }
.l-mkt-nav a[aria-current="page"] { color: var(--primary); border-bottom-color: var(--primary); }

.l-mkt-actions {
    display: flex;
    align-items: center;
    gap: var(--s2);
    margin-left: auto;
}

.l-mkt-toggle { display: none; }

.l-nav-drawer {
    position: fixed;
    inset: 0;
    z-index: var(--z-drawer);
    display: flex;
    flex-direction: column;
    /* Dynamic viewport: a fixed inset:0 panel is taller than the visible area
       on mobile browsers while the URL bar is showing (review 2026-11-05). */
    height: 100dvh;
    max-height: 100dvh;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--surface);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.l-nav-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    padding: 0 var(--s4);
    border-bottom: 1px solid var(--border);
}

.l-nav-drawer__links { padding: var(--s4); }
.l-nav-drawer__links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-size: var(--text-h2);
    font-weight: 600;
    text-decoration: none;
}

.l-nav-drawer__actions {
    display: flex;
    flex-direction: column;
    gap: var(--s3);
    padding: var(--s4);
    border-top: 1px solid var(--border);
}

.l-footer { background: var(--surface-inverse); color: var(--text-inverse-2); }

.l-footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--s7);
    width: min(1200px, 100% - var(--s9));
    margin-inline: auto;
    padding: var(--s10) 0 var(--s6);
}

.l-footer h2,
.l-footer h3,
.l-footer h4 {
    margin: 0 0 var(--s2);
    color: var(--text-inverse);
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.l-footer a {
    display: block;
    padding: var(--s1) 0;
    color: var(--text-inverse-2);
    font-size: var(--text-sm);
    text-decoration: none;
}

.l-footer a:hover { color: var(--text-inverse); text-decoration: underline; }
.l-footer__mission { margin: var(--s3) 0 0; max-width: 34ch; font-size: var(--text-sm); line-height: 1.6; }

.l-footer__legal {
    border-top: 1px solid var(--border-inverse);
}

.l-footer__legal-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s4);
    width: min(1200px, 100% - var(--s9));
    margin-inline: auto;
    padding: var(--s4) 0;
    font-size: var(--text-xs);
}

.l-footer__legal .u-mono { font-size: var(--text-xs); }

/* ============================================================
   Responsive — 1440 content max, 1024 nav collapse, 768 single column
   ============================================================ */
@media (max-width: 1024px) {
    .l-mkt-nav { display: none; }
    .l-mkt-toggle { display: inline-flex; }
    /* Keep the conversion CTA; the ghost link lives in the drawer. */
    .l-mkt-actions .c-btn--ghost:not(.l-mkt-toggle) { display: none; }
    .l-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .l-mkt-header__inner { width: calc(100% - var(--s6)); gap: var(--s3); }
    .l-mkt-header .c-brand { font-size: var(--text-body); }
    .l-footer__inner { grid-template-columns: 1fr; gap: var(--s6); padding-top: var(--s8); }
    .l-footer__legal-inner { flex-direction: column; align-items: flex-start; }
    .l-section { padding: var(--s8) 0; }
}

/* CrestPoint Academy — marketing surface pages (design/01). Tokens only. */

/* ============================================================
   Shell helpers (design/01 §1)
   ============================================================ */
.l-marketing [id] {
    scroll-margin-top: calc(var(--s10) + var(--s4));
}

.l-section--tall {
    padding: var(--s12) 0;
}

.l-link-40 {
    min-height: var(--s8);
}

.l-annbar {
    padding-right: var(--s10);
    padding-left: var(--s10);
}

.l-annbar__text {
    margin: 0;
}

.l-mkt-nav a {
    display: inline-flex;
    align-items: center;
    min-height: var(--s8);
}

.l-annbar__text a {
    font-weight: 600;
}

.l-nav-drawer__support {
    margin-top: auto;
    padding: var(--s4);
    border-top: 1px solid var(--border);
    color: var(--text-2);
    font-size: var(--text-sm);
}

/* ============================================================
   Hero (design/01 §2.1)
   ============================================================ */
.l-hero {
    padding: var(--s12) 0;
}

.l-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: var(--s10);
    align-items: center;
}

.l-hero__title {
    margin-top: var(--s3);
    color: var(--heading);
    font: 700 var(--text-display-xl)/1.08 var(--font-display);
    letter-spacing: -0.01em;
}

.l-hero__lead {
    margin-top: var(--s4);
    max-width: 56ch;
    color: var(--text-2);
    font-size: var(--text-body-lg);
    line-height: 1.65;
}

.l-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s4);
    margin-top: var(--s7);
}

.l-hero__trust {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--s3);
    margin-top: var(--s8);
    color: var(--text-2);
    font-size: var(--text-sm);
}

.l-hero__trust p {
    margin: 0;
}

.l-hero__cert {
    width: 100%;
    max-width: calc(var(--s11) * 5 + var(--s5));
    justify-self: end;
    transform: rotate(-2deg);
}

.l-hero__cert .c-serial__copy {
    width: var(--s8);
    height: var(--s8);
}

.l-hero__qr-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--s4);
    width: 100%;
    margin-top: var(--s2);
    padding-top: var(--s4);
    border-top: 1px solid var(--border);
}

.l-hero__qr-label {
    color: var(--text-3);
    font-size: var(--text-xs);
}

/* ============================================================
   Stats strip (design/01 §2.2)
   ============================================================ */
.l-stats {
    background: var(--surface);
    border-block: 1px solid var(--border);
}

.l-stats__inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: var(--s7) 0;
}

.l-stats__cell {
    padding: 0 var(--s5);
    border-left: 1px solid var(--border);
    text-align: center;
}

.l-stats__cell:first-child {
    border-left: 0;
}

.l-stats__value {
    color: var(--heading);
    font-size: var(--text-h1);
    font-weight: 700;
    line-height: 1.15;
    font-variant-numeric: tabular-nums;
}

.l-stats__label {
    margin-top: var(--s1);
    color: var(--text-2);
    font-size: var(--text-sm);
}

/* ============================================================
   How it works (design/01 §2.3)
   ============================================================ */
.l-how {
    background: var(--surface);
}

.l-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--s6);
}

.l-steps::before {
    content: "";
    position: absolute;
    top: calc(var(--s9) / 2);
    right: 0;
    left: 0;
    height: 1px;
    background: var(--border);
}

.l-step {
    position: relative;
}

.l-step__tile {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: var(--s9);
    height: var(--s9);
    border-radius: var(--radius-lg);
    background: var(--primary-subtle);
    color: var(--primary);
}

.l-step__num {
    display: block;
    margin-top: var(--s4);
    color: var(--text-3);
    font: 700 var(--text-xs)/1.4 var(--font-sans);
    letter-spacing: 0.08em;
}

.l-step h3 {
    margin-top: var(--s2);
}

.l-step p {
    margin-top: var(--s2);
    max-width: 34ch;
    color: var(--text-2);
    font-size: var(--text-sm);
}

/* ============================================================
   Shared display sizes (design/00 §4.2)
   ============================================================ */
.l-display-lg {
    font-size: var(--text-display-lg);
}

.l-display-md {
    font-size: var(--text-display-md);
}

/* ============================================================
   Featured courses (design/01 §2.4)
   ============================================================ */
.l-courses__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--s4);
    margin-bottom: var(--s8);
}

.l-courses__head h2 {
    margin-top: var(--s2);
}

.l-course-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--s6);
}

.l-course-card {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.l-course-card:hover {
    text-decoration: none;
}

.l-course-card h3 {
    color: var(--heading);
    font-size: var(--text-h3);
    line-height: 1.3;
}

.l-course-card .c-card__meta {
    margin-top: var(--s2);
}

.l-course-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s3);
    margin-top: var(--s4);
    padding-top: var(--s4);
    border-top: 1px solid var(--border);
}

.l-course-card__instructor {
    display: flex;
    align-items: center;
    gap: var(--s2);
    min-width: 0;
    color: var(--text-2);
    font-size: var(--text-sm);
}

.l-course-card__price {
    color: var(--text);
    font-size: var(--text-body);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

/* ============================================================
   Verification (design/01 §2.5)
   ============================================================ */
.l-verify {
    background: var(--surface-2);
}

.l-verify__grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: var(--s10);
    align-items: start;
}

.l-verify__copy h2 {
    margin-top: var(--s3);
}

.l-verify__lead {
    margin-top: var(--s4);
    max-width: 56ch;
    color: var(--text-2);
    font-size: var(--text-body-lg);
}

.l-verify__checks {
    display: flex;
    flex-direction: column;
    gap: var(--s3);
    margin-top: var(--s6);
}

.l-verify__check {
    display: flex;
    align-items: flex-start;
    gap: var(--s3);
    color: var(--text);
    font-size: var(--text-body);
}

.l-verify__check svg {
    margin-top: var(--s1);
    color: var(--success);
}

.l-verify__card {
    padding: var(--s7);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--surface);
    box-shadow: var(--shadow-md);
}

.l-verify__form {
    margin-top: var(--s2);
}

.l-verify__input-row {
    display: flex;
    align-items: stretch;
    gap: var(--s2);
}

.l-verify__input-row .c-input {
    flex: 1 1 auto;
    min-width: 0;
}

.l-verify__results {
    display: flex;
    flex-direction: column;
    gap: var(--s2);
    margin-top: var(--s6);
    padding-top: var(--s4);
    border-top: 1px solid var(--border);
}

.l-verify__result {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--s2) var(--s3);
    color: var(--text-2);
    font-size: var(--text-sm);
}

.l-verify__result code {
    color: var(--text);
    font-size: var(--text-sm);
}

.l-verify__result .c-badge {
    margin-left: auto;
}

.l-verify__icon--success {
    color: var(--success);
}

.l-verify__icon--danger {
    color: var(--danger);
}

.l-verify__icon--muted {
    color: var(--text-3);
}

/* ============================================================
   Testimonials (design/01 §2.6)
   ============================================================ */
.l-testimonials {
    background: var(--canvas);
}

.l-quote-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--s6);
}

.l-quote {
    display: flex;
    flex-direction: column;
    gap: var(--s5);
}

.l-quote blockquote {
    margin: 0;
    color: var(--text);
    font-size: var(--text-body);
    line-height: 1.65;
}

.l-quote blockquote p {
    margin: 0;
    max-width: none;
}

.l-quote__byline {
    display: flex;
    align-items: center;
    gap: var(--s3);
    margin-top: auto;
    padding-top: var(--s4);
    border-top: 1px solid var(--border);
}

.l-quote__name {
    display: block;
    color: var(--text);
    font-size: var(--text-sm);
    font-weight: 600;
}

.l-quote__role {
    display: block;
    color: var(--text-3);
    font-size: var(--text-xs);
}

/* ============================================================
   FAQ (design/01 §2.7)
   ============================================================ */
.l-faq {
    background: var(--surface);
}

.l-faq__head {
    margin-bottom: var(--s8);
    text-align: center;
}

.l-faq__head h2 {
    margin-top: var(--s2);
}

/* ============================================================
   CTA band (design/01 §2.8)
   ============================================================ */
.l-cta {
    padding: var(--s11) 0;
    text-align: center;
}

.l-cta p {
    margin: var(--s3) auto 0;
    max-width: 56ch;
}

.l-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--s3);
    margin-top: var(--s6);
}

/* ============================================================
   Footer (design/01 §1.3)
   ============================================================ */
.l-footer__inner > div > a:not(.c-brand) {
    display: flex;
    align-items: center;
    min-height: var(--s8);
}

.l-footer .c-brand {
    display: inline-flex;
    min-height: 0;
    padding: 0;
    color: var(--text-inverse);
    font-size: var(--text-h4);
}

.l-footer .c-brand .c-brand__name {
    color: var(--text-inverse);
}

.l-footer__tagline {
    margin-top: var(--s2);
    color: var(--text-inverse);
    font-size: var(--text-sm);
    font-weight: 600;
}

.l-footer__note {
    padding: var(--s1) 0;
    color: var(--text-inverse-2);
    font-size: var(--text-sm);
}

/* ============================================================
   Home refresh (2026-10) — wired hero, value props, covers
   ============================================================ */
.l-hero--pattern {
    position: relative;
    background-color: var(--paper);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Ccircle cx='1.5' cy='1.5' r='1.5' fill='%230B3C5D' fill-opacity='0.07'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 24px 24px;
    border-bottom: 1px solid var(--border);
}

.l-hero__proof {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s2) var(--s5);
    max-width: 56ch;
    margin-top: var(--s6);
}

.l-hero__proof li {
    display: inline-flex;
    align-items: center;
    gap: var(--s2);
    color: var(--text-2);
    font-size: var(--text-sm);
}

.l-hero__proof svg {
    color: var(--success);
}

.l-hero__cert-stack {
    position: relative;
}

.l-hero__seal {
    position: absolute;
    z-index: 2;
    top: calc(var(--s5) * -1);
    right: calc(var(--s5) * -1);
    display: inline-flex;
    align-items: center;
    gap: var(--s2);
    padding: var(--s2) var(--s4);
    border: 1px solid var(--success-border);
    border-radius: var(--radius-full);
    background: var(--success-subtle);
    box-shadow: var(--shadow-sm);
    color: var(--success);
    font-size: var(--text-sm);
    font-weight: 600;
}

.l-hero__note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--s2);
    margin-top: var(--s4);
    color: var(--text-3);
    font-size: var(--text-xs);
}

.l-hero__note-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background: var(--success);
}

.l-hero__qr-copy {
    display: flex;
    flex-direction: column;
    gap: var(--s0);
    text-align: left;
}

.l-hero__qr-hint {
    color: var(--text-3);
    font-size: var(--text-xs);
}

.c-cert-preview__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-bottom: var(--s3);
    border-bottom: 1px solid var(--border);
}

.c-cert-preview__badge {
    padding: var(--s0) var(--s2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-3);
    font: 600 var(--text-xs)/1.6 var(--font-sans);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.l-value {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.l-value__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--s5);
}

.l-value__card {
    padding: var(--s6);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--canvas);
}

.l-value__card h3 {
    margin-top: var(--s4);
    color: var(--heading);
    font-size: var(--text-h4);
}

.l-value__card p {
    margin-top: var(--s2);
    color: var(--text-2);
    font-size: var(--text-sm);
}

.l-value__tile {
    display: grid;
    place-items: center;
    width: var(--s9);
    height: var(--s9);
    border-radius: var(--radius-lg);
    background: var(--primary-subtle);
    color: var(--primary);
}

.l-courses__empty {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s3);
    max-width: 560px;
    padding: var(--s8);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--surface);
}

.l-courses__empty h3 {
    color: var(--heading);
}

.l-courses__empty p {
    color: var(--text-2);
    font-size: var(--text-sm);
}

.l-course-card__summary {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: var(--s2);
    color: var(--text-3);
    font-size: var(--text-sm);
    line-height: 1.55;
}

.c-cover__rule {
    position: absolute;
    right: var(--s4);
    bottom: var(--s4);
    left: var(--s4);
    height: 1px;
    background: currentColor;
    opacity: 0.22;
}

.l-quote__mark {
    color: var(--border-strong);
    font: 700 var(--text-display-md)/0.9 var(--font-display);
}

.l-quote {
    position: relative;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
    .l-hero__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--s10);
    }

    .l-hero__cert {
        justify-self: center;
        transform: none;
    }

    .l-course-grid,
    .l-quote-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .l-value__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .l-verify__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--s8);
    }
}

@media (max-width: 768px) {
    .l-section--tall {
        padding: var(--s8) 0;
    }

    .l-hero {
        padding: var(--s8) 0;
    }

    .l-hero__title {
        font-size: var(--text-display-md);
    }

    /* Two-by-two on phones: a four-row stack pushed the catalogue far below
       the fold and read as four unrelated pages (mobile review 2026-11-05). */
    .l-stats__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 0;
    }

    .l-stats__cell {
        padding: var(--s4);
        border-top: 1px solid var(--border);
        border-left: 1px solid var(--border);
    }

    .l-stats__cell:nth-child(-n + 2) {
        border-top: 0;
    }

    .l-stats__cell:nth-child(odd) {
        border-left: 0;
    }

    .l-steps {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--s8);
    }

    .l-steps::before {
        display: none;
    }

    .l-course-grid,
    .l-quote-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .l-value__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .l-hero__seal {
        top: calc(var(--s3) * -1);
        right: var(--s3);
    }

    .l-courses__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .l-cta {
        padding: var(--s10) 0;
    }
}

@media (max-width: 640px) {
    .l-mkt-header__inner {
        width: calc(100% - var(--s6));
        gap: var(--s3);
    }

    .l-mkt-header .c-brand {
        font-size: var(--text-body);
    }
}

@media (max-width: 640px) {
    .l-hero__actions { flex-direction: column; align-items: stretch; }
    .l-hero__actions .c-btn { width: 100%; }
}

@media (max-width: 420px) {
    .l-hero__title {
        font-size: var(--text-h1);
    }

    .l-verify__card {
        padding: var(--s5);
    }

    .l-verify__input-row {
        flex-direction: column;
    }

    .l-verify__input-row .c-btn {
        width: 100%;
    }
}

/* ============================================================
   Marketing sub-pages (2026-10): pricing, about, contact, legal
   ============================================================ */
.l-page-hero {
    padding: var(--s11) 0 var(--s10);
    background-color: var(--paper);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Ccircle cx='1.5' cy='1.5' r='1.5' fill='%230B3C5D' fill-opacity='0.07'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 24px 24px;
    border-bottom: 1px solid var(--border);
}

.l-page-hero h1 { margin-top: var(--s3); max-width: 18ch; }
.l-page-hero__lead { margin-top: var(--s4); max-width: 60ch; color: var(--text-2); font-size: var(--text-body-lg); }

.l-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--s5);
    align-items: stretch;
}

.l-plan { display: flex; flex-direction: column; gap: var(--s3); }
.l-plan--featured { border-color: var(--blue-200); box-shadow: var(--shadow-md); }
.l-plan h3 { color: var(--heading); font-size: var(--text-h3); }
.l-plan__price { color: var(--heading); font: 700 var(--text-h1)/1.1 var(--font-display); }
.l-plan__cycle { color: var(--text-3); font: 400 var(--text-sm)/1.4 var(--font-sans); }
.l-plan__summary { color: var(--text-2); font-size: var(--text-sm); }
.l-plan__features { display: flex; flex-direction: column; gap: var(--s2); margin: var(--s3) 0 auto; }
.l-plan__features li {
    position: relative;
    padding-left: var(--s5);
    color: var(--text-2);
    font-size: var(--text-sm);
}
.l-plan__features li::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background: var(--success);
}
.l-plan .c-btn { margin-top: var(--s4); }
.l-pricing-note { margin-top: var(--s6); color: var(--text-3); font-size: var(--text-sm); }

.l-prose-page { max-width: 768px; }
.l-prose-page h2 { margin: var(--s8) 0 var(--s3); font-size: var(--text-h2); }
.l-prose-page h2:first-child { margin-top: 0; }
.l-prose-page p { margin-top: var(--s3); color: var(--text-2); line-height: 1.7; }
.l-prose-page code {
    padding: var(--s0) var(--s1-5);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface-2);
    color: var(--text);
    font-size: var(--text-sm);
}
.l-prose-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s8); }
.l-value__grid--inline { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: var(--s6); }

.l-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: var(--s10);
    align-items: start;
}
.l-contact-copy h2 { font-size: var(--text-h2); }
.l-contact-copy > p { margin-top: var(--s3); color: var(--text-2); }
.l-contact-list { display: flex; flex-direction: column; gap: var(--s4); margin-top: var(--s6); }
.l-contact-list dt { color: var(--text-3); font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.l-contact-list dd { margin-top: var(--s0); color: var(--text); }
.l-contact-card {
    padding: var(--s7);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--surface);
    box-shadow: var(--shadow-md);
}
.l-contact-form { display: flex; flex-direction: column; gap: var(--s4); margin-top: var(--s4); }
.l-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 1024px) {
    .l-pricing-grid { grid-template-columns: minmax(0, 1fr); }
    .l-value__grid--inline { grid-template-columns: minmax(0, 1fr); }
    .l-contact-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s8); }
}

@media (max-width: 768px) {
    .l-page-hero { padding: var(--s9) 0 var(--s8); }
    .l-page-hero h1 { max-width: none; }
    .l-contact-card { padding: var(--s5); }
}

/* ============================================================
   Public catalog + course detail (2026-10)
   ============================================================ */
.l-catalog__bar {
    padding: var(--s4);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
}
.l-catalog__filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--s4); }
.l-catalog__filters .c-field { flex: 1 1 180px; min-width: 160px; }
.l-catalog__filters .c-field label { display: block; margin-bottom: var(--s1); color: var(--text-2); font-size: var(--text-xs); font-weight: 600; }
.l-catalog__filters .c-field select, .l-catalog__filters .c-field input { width: 100%; }
.l-catalog__check {
    display: inline-flex; align-items: center; gap: var(--s2);
    min-height: var(--s8); padding: 0 var(--s3);
    border: 1px solid var(--border); border-radius: var(--radius-md);
    background: var(--surface-2);
    color: var(--text); font-size: var(--text-sm); font-weight: 600;
    cursor: pointer;
}
.l-catalog__check input { accent-color: var(--primary); }
.l-catalog__filters .c-btn { flex: none; }
.l-catalog__head { display: flex; align-items: center; justify-content: space-between; margin: var(--s6) 0 var(--s4); }
.l-catalog__count { margin: 0; color: var(--text-3); font-size: var(--text-sm); }
.l-catalog__count strong { color: var(--heading); }
.l-course-grid--catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.l-catalog__pager { display: flex; align-items: center; justify-content: center; gap: var(--s3); margin-top: var(--s8); }
.l-catalog__pages { color: var(--text-3); font-size: var(--text-sm); }

.l-breadcrumb {
    display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2);
    color: var(--text-3); font-size: var(--text-sm);
}
.l-breadcrumb a { color: var(--text-2); }
.l-breadcrumb [aria-current="page"] { color: var(--text); font-weight: 600; }

.l-course-detail { padding: var(--s9) 0 var(--s10); }
.l-course-detail__grid {
    display: grid;
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    gap: var(--s8);
    margin-top: var(--s5);
    align-items: start;
}
.l-course-detail__main h1 { margin-top: var(--s2); }
.l-course-detail__lead { margin-top: var(--s3); max-width: 62ch; color: var(--text-2); font-size: var(--text-body-lg); }
.l-course-detail__meta {
    display: flex; flex-wrap: wrap; align-items: center; gap: var(--s5);
    margin-top: var(--s5); padding: var(--s4) 0;
    border-block: 1px solid var(--border);
}
.l-course-detail__meta .c-card__meta { color: var(--text-3); font-size: var(--text-sm); }
.l-detail-section { margin-top: var(--s8); }
.l-detail-section h2 { font-size: var(--text-h2); }
.l-detail-prose { margin-top: var(--s3); }
.l-detail-prose p { margin-top: var(--s3); color: var(--text-2); line-height: 1.7; }

.l-outcomes, .l-assessments { display: grid; gap: var(--s3); margin-top: var(--s4); }
.l-outcomes li { display: flex; align-items: flex-start; gap: var(--s3); color: var(--text); font-size: var(--text-body); }
.l-outcomes li svg { margin-top: var(--s1); color: var(--success); flex: none; }
.l-assessments li {
    display: flex; align-items: baseline; justify-content: space-between; gap: var(--s4); flex-wrap: wrap;
    padding: var(--s3) var(--s4);
    border: 1px solid var(--border); border-radius: var(--radius-md);
    background: var(--canvas);
}
.l-assessments .s-table__strong { color: var(--heading); }
.l-assessments__meta { color: var(--text-3); font-size: var(--text-sm); }

.l-curriculum {
    margin-top: var(--s3);
    border: 1px solid var(--border); border-radius: var(--radius-md);
    background: var(--surface);
}
.l-curriculum summary {
    display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
    min-height: 44px; padding: 0 var(--s5); cursor: pointer;
    color: var(--heading); font-weight: 600;
}
.l-curriculum summary:hover { background: var(--canvas); }
.l-curriculum__meta { color: var(--text-3); font-size: var(--text-sm); font-weight: 400; }
.l-curriculum__body { padding: var(--s4) var(--s5); border-top: 1px solid var(--border); }
.l-curriculum__list { display: flex; flex-direction: column; }
.l-curriculum__list li {
    display: flex; align-items: center; gap: var(--s3);
    min-height: 40px; padding: var(--s1) 0;
    border-top: 1px solid var(--border);
    color: var(--text); font-size: var(--text-sm);
}
.l-curriculum__list li:first-child { border-top: 0; }
.l-curriculum__list svg { color: var(--text-3); }
.l-curriculum__dur { margin-left: auto; color: var(--text-3); font-family: var(--font-mono); font-size: var(--text-xs); }

.l-detail-card {
    position: sticky; top: var(--s9);
    padding: var(--s6);
    border: 1px solid var(--border); border-radius: var(--radius-xl);
    background: var(--surface); box-shadow: var(--shadow-md);
    display: flex; flex-direction: column; gap: var(--s2);
}
.l-detail-card__price { margin: 0 0 var(--s2); color: var(--heading); font: 700 var(--text-h1)/1.1 var(--font-display); }
.l-detail-card__cycle { display: block; color: var(--text-3); font: 400 var(--text-sm)/1.5 var(--font-sans); }
.l-detail-card__includes { display: flex; flex-direction: column; gap: var(--s2); margin-top: var(--s4); padding-top: var(--s4); border-top: 1px solid var(--border); }
.l-detail-card__includes li { position: relative; padding-left: var(--s5); color: var(--text-2); font-size: var(--text-sm); }
.l-detail-card__includes li::before {
    content: ""; position: absolute; top: 7px; left: 0;
    width: 8px; height: 8px; border-radius: var(--radius-full); background: var(--success);
}
.l-detail-card__note {
    display: flex; align-items: flex-start; gap: var(--s2);
    margin-top: var(--s2); color: var(--text-3); font-size: var(--text-xs);
}
.l-detail-card__note svg { margin-top: 1px; }

@media (max-width: 1024px) {
    .l-course-detail__grid { grid-template-columns: minmax(0, 1fr); }
    .l-detail-card { position: static; }
    .l-course-grid--catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    .l-course-grid--catalog { grid-template-columns: minmax(0, 1fr); }
    .l-course-detail { padding: var(--s8) 0 var(--s9); }
}

/* ============================================================
   2026-10 v2 refresh — SVG scenes, depth via flat fills + lines
   ============================================================ */
.l-hero__rings {
    position: absolute;
    top: -140px; right: -140px;
    width: 520px; height: 520px;
    pointer-events: none;
}
.l-hero__rings circle { fill: none; stroke: var(--blue-100); stroke-width: 1; }
.l-hero__rings path { stroke: var(--border-strong); stroke-width: 1; }
.l-hero--v2 { position: relative; overflow: hidden; }
.l-hero--v2 .l-hero__grid { position: relative; z-index: 1; }
.l-hero__eyebrow { letter-spacing: 0.14em; }

.l-hero__cert--v2 { position: relative; max-width: 400px; }
.c-cert-preview--v2 { gap: var(--s2); }
.qr-glyph { width: 96px; height: 96px; color: var(--navy-800); }
.qr-glyph--sm { width: 64px; height: 64px; color: var(--text-inverse-2); }
.qr-glyph rect[fill="none"] { fill: none; stroke: currentColor; stroke-width: 2; }
.l-hero__qr-row { justify-content: flex-start; text-align: left; border-block: 0; padding-top: 0; margin-top: 0; }
.l-hero__note { margin-top: 0; }
.l-hero__seal { box-shadow: var(--shadow-lg); }

/* Section heads: left-aligned with kicker rule */
.l-section__head--left { max-width: none; margin: 0 0 var(--s8); text-align: left; }
.l-section__head--left h2 { max-width: 22ch; }
.l-section__head--left p { max-width: 60ch; }
.l-section__head--left .c-eyebrow::after {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 48px;
    height: 1px;
    margin-left: var(--s3);
    background: var(--border-strong);
}

/* Value cards with illustration plates */
.l-value--v2 { background: var(--surface); border-bottom: 1px solid var(--border); padding-block: var(--s11); }
.l-value__grid--v2 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s5); }
.l-value__card { display: flex; flex-direction: column; gap: var(--s2); background: var(--canvas); border-radius: var(--radius-lg); border: 1px solid var(--border); padding: var(--s6); }
.l-value__card h3 { margin-top: var(--s3); }
.l-value__art {
    width: 60px; height: 60px; padding: var(--s1-5);
    border-radius: var(--radius-md);
    background: var(--primary-subtle);
    color: var(--blue-700);
}
.l-value__art path, .l-value__art rect, .l-value__art circle { fill: none; stroke: currentColor; stroke-width: 1.75; }
.l-value__art .is-accent { stroke: var(--accent); }
.l-value__art .is-dotted { stroke-dasharray: 2 2; stroke: var(--navy-500); }

/* How it works v2: stepper + scene */
.l-how--v2 { background: var(--canvas); border-bottom: 1px solid var(--border); }
.l-how__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s9); align-items: center; }
.l-steps--v2 { display: flex; flex-direction: column; gap: var(--s6); margin: 0 0 var(--s7); max-width: 480px; }
.l-steps--v2 { padding-left: 0; }
.l-step--v2 { position: relative; display: flex; gap: var(--s4); }
.l-step--v2:not(:last-child)::after {
    content: ""; position: absolute; left: 27px; top: 56px; bottom: calc(var(--s6) * -1);
    width: 1px; background: var(--border);
}
.l-step__ring {
    display: grid; place-items: center; width: 54px; height: 54px; flex: none;
    border-radius: var(--radius-full);
    border: 1px solid var(--blue-200); background: var(--surface);
    color: var(--primary); font-weight: 700; font-size: 13px;
    box-shadow: var(--shadow-sm);
}
.l-step__copy h3 { font-size: var(--text-h4); }
.l-step__copy p { margin-top: var(--s0); color: var(--text-2); font-size: var(--text-sm); max-width: 46ch; }

.l-how__scene { position: relative; margin: 0; }
.svg-path { display: block; width: 100%; max-width: 420px; margin-inline: auto; height: auto; }
.svg-path .is-track { fill: none; stroke: var(--blue-100); stroke-width: 2; }
.svg-path .is-node { fill: var(--primary); }
.svg-path .is-node.is-accent { fill: var(--accent); }
.svg-path .is-hub { fill: none; stroke: var(--primary); stroke-width: 2; }
.svg-path .is-spoke { stroke: var(--primary); stroke-width: 1.75; fill: none; }
.svg-path .is-label { fill: var(--primary-subtle); stroke: var(--blue-200); stroke-width: 1; }
.svg-path .is-lit { stroke: var(--blue-700); stroke-width: 1.75; fill: none; }
.svg-path .is-panel { fill: var(--surface); stroke: var(--border-strong); stroke-width: 1; }

.l-how__card {
    position: absolute;
    right: 0; bottom: -12px;
    display: flex; flex-direction: column; align-items: flex-start; gap: var(--s1);
    max-width: 220px;
    padding: var(--s5);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--navy-900);
    color: var(--text-inverse);
    box-shadow: var(--shadow-lg);
}
.l-how__card-eyebrow { margin: 0; color: var(--blue-200); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.l-how__card-title { margin: 0; font: 600 18px/1.3 var(--font-display); color: var(--text-inverse); }
.l-how__card-sub { margin: 0; color: var(--text-inverse-2); font-size: 12px; }

/* Verification card: ledger rows */
.l-verify { background: var(--surface-2); }
.l-verify__ledger { display: block; width: 200px; height: 24px; margin-bottom: var(--s4); color: var(--blue-100); }
.l-verify__ledger .is-row { fill: none; stroke: currentColor; stroke-width: 2; }
.l-verify__ledger .is-row--dim { opacity: 0.55; }

/* Quotes glyph */
.l-quote__glyph { width: 30px; height: 30px; color: var(--blue-200); }
.l-quote__glyph path { fill: currentColor; }

/* CTA watermark */
.l-cta--v2 { position: relative; overflow: hidden; }
.l-cta__watermark { position: absolute; inset-inline-end: -60px; inset-block-start: -70px; pointer-events: none; }
.l-cta__watermark svg { color: #0A2B44; }
.l-cta--v2 .u-container { position: relative; z-index: 1; }

@media (max-width: 1024px) {
    .l-value__grid--v2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .l-how__grid { grid-template-columns: minmax(0, 1fr); }
    .l-how__scene { max-width: 420px; margin-inline: auto; }
}
@media (max-width: 768px) {
    .l-value__grid--v2 { grid-template-columns: minmax(0, 1fr); }
    .l-how__card { position: static; margin-top: var(--s4); }
    .l-hero__rings { top: -220px; right: -220px; }
}

/* Course cover plates + category glyphs */
.c-cover__plate {
    position: absolute;
    top: 0; right: 0;
    width: 88px;
    height: 100%;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M0 12 12 0M-3 9 9 -3M3 15 15 3' stroke='%23102A43' stroke-opacity='0.08' stroke-width='1' fill='none'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 12px 12px;
    opacity: 0.9;
}
.c-cover__glyph {
    position: absolute;
    right: var(--s3); bottom: var(--s3);
    width: 40px; height: 40px;
    padding: var(--s2);
    border: 1px solid currentColor;
    border-radius: var(--radius-md);
    background: var(--surface);
    color: currentColor;
    opacity: 0.85;
}
.c-cover__glyph path { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.c-cover--programming .c-cover__glyph { color: var(--blue-700); }
.c-cover--data .c-cover__glyph { color: var(--navy-700); }
.c-cover--business .c-cover__glyph { color: var(--orange-700); }
.c-cover--design .c-cover__glyph { color: var(--neutral-700); }
.c-cover--marketing .c-cover__glyph { color: var(--neutral-700); }
.c-cover--finance .c-cover__glyph { color: var(--success); }
.c-cover--languages .c-cover__glyph { color: var(--warning); }
.c-cover--wellness .c-cover__glyph { color: var(--info); }

/* v2 tuning pass */
.l-how__grid .l-section__head--left { margin-bottom: var(--s6); }
.l-how__grid .l-section__head--left h2 { max-width: 18ch; }
.svg-path { max-width: 520px; }
.l-how__card { right: 24px; bottom: 8px; }
.l-value__grid--v2 .l-value__card p { font-size: 13px; }

/* Real inline QR component (chillerlan, class-themed) */
.cp-qr { display: inline-flex; }
.cp-qr svg { display: block; }
.cp-qr svg path { fill: currentColor; }
.cp-qr svg path.qr-light { fill: transparent; }
.cp-qr--dark { color: var(--navy-800); }
.cp-qr--light { color: var(--blue-100); }
.cp-qr--sm svg { width: 56px; height: 56px; }
.cp-qr--md svg { width: 92px; height: 92px; }
.cp-qr--lg svg { width: 120px; height: 120px; }

/* v4: navy hero band + light CTA (one navy-900 band per page) */
.l-hero--v2 {
    background: var(--navy-900);
    border-bottom: 0;
}
.l-hero--v2 .l-hero__eyebrow { color: var(--blue-300); }
.l-hero--v2 .l-hero__title { color: var(--text-inverse); }
.l-hero--v2 .l-hero__lead,
.l-hero--v2 .l-hero__proof,
.l-hero--v2 .l-hero__trust p { color: var(--text-inverse-2); }
.l-hero--v2 .l-hero__proof svg { color: var(--blue-400); }
.l-hero--v2 .l-hero__rings circle { stroke: var(--navy-700); }
.l-hero--v2 .l-hero__rings path { stroke: var(--navy-800); }
.l-hero--v2 .l-hero__note { color: var(--text-inverse-2); }
.l-hero--v2 .l-hero__note-dot { background: var(--blue-400); }
.l-hero--v2 .c-cert-preview__top { border-color: var(--border); }
.l-hero--v2 .l-hero__seal { background: var(--success-subtle); }

.l-cta--v2 { background: var(--canvas); }
.l-cta--v2 h2 { color: var(--heading); }
.l-cta--v2 p { color: var(--text-2); }
.l-cta--v2 .l-cta__watermark svg { color: var(--blue-100); opacity: 0.8; }

/* tinted band rhythm */
.l-value--v2 { background: var(--surface); }
.l-how--v2 { background: var(--canvas); }
.l-testimonials { background: var(--surface); }
.l-faq { background: var(--canvas); }
.l-stats--v2 { background: var(--surface); border-block: 1px solid var(--border); }

/* CTA v4 text fix on light band */
.l-cta--v2 { color: var(--text); }
.l-cta--v2 h2 { color: var(--heading); }
.l-cta--v2 p { color: var(--text-2); }
/* ============================================================
   Editorial registrar refresh (2026-11-06, PO mockup): paper page
   ground, brass seal moments, navy hairlines, serif display type.
   Additive layer scoped to the redesigned home (main.l-page-v3);
   superseded v2 rules above stay until their pages refresh.
   ============================================================ */

/* 14px floor: nothing on the redesigned page renders below 14px. */
.l-page-v3 .c-eyebrow, .l-page-v3 .c-badge, .l-page-v3 .c-card__meta,
.l-page-v3 .c-cert-preview__eyebrow, .l-page-v3 .l-hero__qr-label,
.l-page-v3 .l-hero__qr-hint, .l-page-v3 .l-hero__proof li,
.l-page-v3 .l-quote__name, .l-page-v3 .l-quote__role,
.l-page-v3 .c-serial, .l-page-v3 .c-label,
.l-page-v3 .c-avatar { font-size: var(--text-caption); }
.l-page-v3 .l-testimonials, .l-page-v3 .l-faq { background: transparent; }

/* Hero: 55/45 split on paper. */
.l-hero--v3 { position: relative; overflow: hidden; padding: var(--s9) 0 var(--s10); }
.l-hero--v3 .l-hero__grid { position: relative; z-index: 1; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); gap: var(--s9); }
.l-hero--v3 .l-hero__eyebrow { color: var(--blue-700); letter-spacing: var(--tracking-eyebrow); }
.l-hero--v3 .l-hero__title { max-width: 13ch; font-size: var(--text-display-lg); line-height: 1.06; }
.l-hero--v3 .l-hero__lead { max-width: 42ch; }
.l-hero--v3 .l-hero__rings circle, .l-hero--v3 .l-hero__rings path { stroke: var(--hairline); }
.l-hero--v3 .l-hero__actions, .l-hero--v3 .l-hero__proof { margin-top: var(--s5); }
.l-hero--v3 .l-hero__proof { gap: var(--s2) var(--s4); }
.l-hero--v3 .c-cert-preview { border-color: var(--hairline); box-shadow: var(--shadow-md); }
.l-hero--v3 .c-cert-preview__course { font-size: var(--text-caption); }
.l-hero--v3 .l-hero__note { color: var(--text-2); font: 400 var(--text-caption)/1.4 var(--font-mono); }

/* Inline verify desk directly under the lead. */
.l-hero__verify { display: flex; flex-direction: column; gap: var(--s1); max-width: 430px; margin-top: var(--s6); }
.l-hero__verify-label { display: none; color: var(--text-2); font: 600 var(--text-caption)/1.4 var(--font-mono); }
.l-hero__verify-row { display: flex; align-items: stretch; gap: var(--s2); row-gap: var(--s4); }
.l-hero__verify-row .c-input { flex: 1 1 auto; min-width: 0; }
.l-hero__verify-row .c-btn { flex: none; }

/* Brass seal pill: the only brass moment in the hero. */
.l-hero__seal--brass { border-color: var(--brass-ink); background: var(--brass); color: var(--navy-900); font-size: var(--text-caption); }
.l-hero__seal--brass svg { color: var(--navy-900); }
.l-hero__seal--brass path { fill: currentColor; stroke: none; }

/* One 1x fade-up on load; reduced-motion users get no motion (base.css). */
@keyframes cp-fade-up {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}
.l-hero--v3 .l-hero__copy { animation: cp-fade-up var(--dur-3) var(--ease-out) both; }

/* Stats strip: serif phrase, mono caption, hairline divisions. */
.l-strip--v3 { border-block: 1px solid var(--hairline); }
.l-strip--v3 .l-stats__cell { border-color: var(--hairline); }
.l-strip--v3 .l-stats__value { font: 700 var(--text-h1)/1.1 var(--font-display); letter-spacing: -0.01em; }
.l-strip--v3 .l-stats__label { color: var(--text-2); font: 400 var(--text-caption)/1.4 var(--font-mono); }

/* Proof that holds up: four outlined cards, no heavy fills. */
.l-proof__card { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s2); padding: var(--s6); border: 1px solid var(--hairline); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-xs); transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out); }
.l-proof__card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.l-proof__card h3 { font-size: var(--text-h3); }
.l-proof__card p { color: var(--text-2); font-size: var(--text-caption); line-height: 1.55; }
.l-proof__icon { width: 40px; height: 40px; color: var(--navy-700); }
.l-proof__icon path, .l-proof__icon rect, .l-proof__icon circle {
    fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}

/* How it works: three serif numerals on one hairline rule. */
.l-flow__head { max-width: none; margin-bottom: var(--s7); padding-bottom: var(--s7); border-bottom: 1px solid var(--hairline); }
.l-flow__head h2 { max-width: 22ch; }
.l-flow__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s8); }
.l-flow__step .l-flow__num { display: block; color: var(--blue-600); font-family: var(--font-display); font-size: var(--text-display-lg); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.l-flow__step h3 { margin-top: var(--s3); font-size: var(--text-h3); }
.l-flow__step p { margin-top: var(--s2); max-width: 34ch; color: var(--text-2); font-size: var(--text-caption); line-height: 1.55; }

/* Featured courses: editorial hierarchy (tag, serif title, facts, price). */
.l-course-card--editorial { position: relative; display: flex; flex-direction: column; height: 100%; padding: 0; overflow: hidden; border-color: var(--hairline); }
.l-course-card__thumb { flex: none; max-height: 170px; }
.l-course-card__level { background: var(--surface); color: var(--navy-800); }
.l-course-card--editorial .l-course-card__body { display: flex; flex: 1; flex-direction: column; gap: var(--s2); padding: var(--s5); }
.l-course-card__tag { color: var(--blue-700); font: 700 var(--text-xs)/1.2 var(--font-sans); letter-spacing: var(--tracking-label); text-transform: uppercase; }
.l-course-card .l-course-card__title { color: var(--heading); font-family: var(--font-display); font-size: var(--text-h3); line-height: 1.2; letter-spacing: -0.01em; }
.l-course-card__link { color: inherit; }
/* Stretched link: the whole tile is the target, the foot action stays clickable. */
.l-course-card__link::after { content: ""; position: absolute; inset: 0; }
.l-course-card__link:hover { color: var(--primary-active); text-decoration: none; }
.l-course-card__summary { -webkit-line-clamp: 2; margin-top: 0; font-size: var(--text-caption); }
.l-course-card__facts { margin-top: 0; color: var(--text-2); font: 400 var(--text-caption)/1.4 var(--font-mono); }
.l-course-card--editorial .l-course-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s3);
    align-self: stretch;
    margin-top: auto;
    padding-top: var(--s4);
    border-top: 1px solid var(--hairline);
}
.l-course-card--editorial .l-course-card__price { color: var(--heading); font-size: var(--text-h4); font-weight: 700; font-variant-numeric: tabular-nums; }
.l-course-card__action { position: relative; z-index: 1; }
.l-course-card--todo { display: grid; place-content: center; min-height: 224px; border: 1px dashed var(--hairline); border-radius: var(--radius-lg); color: var(--text-2); font: 400 var(--text-caption)/1.4 var(--font-mono); text-align: center; }

/* Public ledger band: the single navy band of the page. */
.l-verify--v3 { background: var(--navy-900); }
.l-verify--v3 .l-verify__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s9); align-items: center; }
.l-verify--v3 .c-eyebrow { color: var(--blue-300); }
.l-verify--v3 h2 { color: var(--text-inverse); }
.l-verify--v3 .l-verify__lead { color: var(--navy-200); }
.l-verify--v3 .l-verify__card { border-radius: var(--radius-lg); border-color: var(--hairline); box-shadow: var(--shadow-lg); }
.l-verify--v3 .c-badge--danger { color: var(--danger-hover); }
.l-verify--v3 .c-badge { min-height: 26px; padding: 0 var(--s3); }
.l-verify__row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--s2) var(--s3); color: var(--text-2); }
.l-verify__row code { color: var(--text); font-size: var(--text-caption); }

/* Testimonials: serif quotes on paper in a 2x2 grid; the third quote
   closes the section by spanning the full register width. */
.l-quote-grid--v3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.l-quote-grid--v3 > :last-child { grid-column: 1 / -1; }
.l-quote--v3 { border-color: var(--hairline); background: var(--surface); box-shadow: var(--shadow-xs); }
.l-quote--v3 blockquote p { color: var(--heading); font-family: var(--font-display); font-size: var(--text-h3); line-height: 1.35; }

/* FAQ: hairline accordion, prose measure. */
.l-faq__wrap { width: min(760px, 100% - var(--s9)); margin-inline: auto; }
.c-accordion--hairline { border: 1px solid var(--hairline); border-left: 0; border-right: 0; border-radius: 0; background: transparent; }
.c-accordion--hairline + .c-accordion--hairline { margin-top: -1px; }
.c-accordion--hairline summary { padding: var(--s4) 0; }
.c-accordion--hairline summary:hover { color: var(--primary); }
.c-accordion--hairline .c-accordion__body { padding: 0 0 var(--s4); font-size: var(--text-caption); }

/* Final CTA merges into the navy footer. */
.l-cta--v3 { position: relative; overflow: hidden; padding: var(--s11) 0; background: var(--navy-900); border-bottom: 1px solid var(--navy-800); text-align: center; }
.l-cta--v3 h2 { color: var(--text-inverse); }
.l-cta--v3 p { color: var(--navy-200); }
.l-cta--v3 .l-cta__watermark svg { color: var(--navy-800); opacity: 0.8; }

/* Responsive -------------------------------------------------- */
@media (max-width: 1024px) {
    .l-hero--v3 .l-hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--s9); }
    /* The mockup keeps the card tilt on phones; stay inside the viewport. */
    .l-hero--v3 .l-hero__cert { max-width: 420px; justify-self: center; transform: rotate(-2deg); }
    .l-verify--v3 .l-verify__grid { grid-template-columns: minmax(0, 1fr); gap: var(--s8); align-items: start; }
    .l-value__grid--v2 { gap: var(--s4); }
}

@media (max-width: 768px) {
    .l-hero--v3 { padding: var(--s8) 0; }
    .l-hero--v3 .l-hero__title { font-size: var(--text-display-md); }
    /* Verify desk before the certificate card, full-width rows. */
    .l-hero__verify-label { display: block; }
    .l-hero__verify { max-width: none; }
    .l-hero__verify-row { flex-direction: column; gap: var(--s5); row-gap: var(--s5); }
    .l-hero__verify-row .c-btn { min-height: 44px; }
    .l-strip--v3 .l-stats__value { font-size: var(--text-h2); }
    .l-flow__head { padding-bottom: var(--s5); margin-bottom: var(--s5); }
    /* The connector turns vertical on stacked steps. */
    .l-flow__steps { grid-template-columns: minmax(0, 1fr); gap: var(--s7); padding-left: var(--s5); border-left: 1px solid var(--hairline); }
    .l-flow__step p { max-width: none; }
    .l-quote-grid--v3 { grid-template-columns: minmax(0, 1fr); }
    .l-hero__seal--brass { top: calc(var(--s3) * -1); right: var(--s3); }
}

@media (max-width: 420px) {
    .l-hero--v3 .l-hero__title { font-size: var(--text-h1); }
    .l-verify--v3 .l-verify__card { padding: var(--s5); }
    /* 18-char serials still fit a 360px screen at 14px mono. */
    .l-verify__row code { letter-spacing: 0; }
}

/* ============================================================
   Catalogue register pass (2026-11-06): editorial course register
   for www.courses.index. Reuses the home editorial cards; the old
   .l-catalog__* bar panels below are superseded for this page.
   ============================================================ */
.l-cat--v3 .c-eyebrow, .l-cat--v3 .c-badge, .l-cat--v3 .c-card__meta,
.l-cat--v3 .c-label, .l-cat--v3 .c-avatar, .l-cat--v3 .c-serial,
.l-cat--v3 .l-course-card__instructor, .l-cat--v3 .l-catalog__pages,
.l-cat--v3 .l-courses__empty p, .l-cat--v3 .c-chip,
.l-cat--v3 .l-cat__count { font-size: var(--text-caption); }

/* Register head: serif identity and lead on a hairline. */
.l-cat__head { padding: var(--s9) 0 var(--s7); border-bottom: 1px solid var(--hairline); }
.l-cat__head h1 { max-width: 16ch; }
.l-cat__lead { margin-top: var(--s4); max-width: 58ch; color: var(--text-2); font-size: var(--text-body-lg); line-height: 1.6; }

/* Catalogue sort: the one short single-choice list, quiet and native. */
.l-cat__sort { display: inline-flex; flex: none; align-items: center; gap: var(--s2); }
.l-cat__sort-label { color: var(--text-2); font-size: var(--text-sm); font-weight: 600; }

/* Active-filter chips sit under the toolbar; the shared component styles the
   chip itself (css/facets.css), this only owns the row's rhythm. */
.l-cat__chips { margin: var(--s4) 0 0; }

.l-cat__count-row { display: flex; align-items: baseline; margin: var(--s4) 0 var(--s5); }
.l-cat__count { margin: 0; color: var(--text-2); font: 400 var(--text-caption)/1.4 var(--font-mono); }
.l-cat__count strong { color: var(--heading); font-weight: 600; }

/* Swap feedback on the results region (forms.js drives aria-busy). */
.l-cat__results[data-loading="true"] { opacity: 0.55; }
.l-cat__results { transition: opacity var(--dur-1) linear; }

@media (max-width: 640px) {
    .l-cat__head { padding: var(--s8) 0 var(--s6); }
    .l-cat__head h1 { max-width: none; }

    .l-cat__sort { margin-left: auto; }

    .l-cat__count-row { flex-direction: column; align-items: flex-start; gap: var(--s2); }
}

/* CrestPoint Academy — cross-surface filter system (www, learn, manage).

   ONE stylesheet for every filter toolbar and facet popover, imported last by
   each surface entry point so the active surface's semantic tokens paint it:
   app.css (marketing), campus-v3.css and console-v3.css (Semester v3).

   Tokens only: --surface, --surface-2, --border, --border-strong, --text,
   --text-2, --text-3, --primary, --primary-subtle, --radius-*, --shadow-md,
   --shadow-lg, --s*, --target-*, --ring-focus, --dur-1, --z-drawer.
   Every one of those is declared in BOTH public/assets/css/tokens.css and
   public/assets/css/v3/tokens.css.

   Source: PO instruction 2026-11-13 ("Update cards, dropdowns filters to
   this"); design/00 section 9.3 (searchable listbox), 9.4 (checkbox row),
   9.5 (filter chip); design/05 for the campus/console palette. */

/* ---------------------------------------------------------------- toolbar */
.c-filter-bar { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: var(--s2); }
.c-filter-bar__search { flex: 1 1 260px; min-width: 180px; }
.c-filter-bar__spacer { flex: 1 1 var(--s6); }

/* --------------------------------------------------------------- the pill */
.c-facet { position: relative; }

.c-facet__trigger {
    display: inline-flex;
    align-items: center;
    gap: var(--s2);
    min-height: var(--target-touch);
    padding: 0 var(--s4);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-full);
    background: var(--surface);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 600;
    list-style: none;
    cursor: pointer;
    transition: border-color var(--dur-1) linear, background-color var(--dur-1) linear, color var(--dur-1) linear;
}
.c-facet__trigger::-webkit-details-marker { display: none; }
.c-facet__trigger:hover { border-color: var(--primary); }
.c-facet__trigger:focus-visible { outline: none; box-shadow: var(--ring-focus); }
.c-facet__trigger.is-on { background: var(--primary-subtle); border-color: var(--primary); color: var(--primary); }
.c-facet[open] .c-facet__trigger { border-color: var(--primary); }

.c-facet__label { max-width: 24ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-facet__chevron { transition: transform var(--dur-1) linear; }
.c-facet[open] .c-facet__chevron { transform: rotate(180deg); }

/* ------------------------------------------------------------ the popover */
.c-facet__panel {
    position: absolute;
    top: calc(100% + var(--s2));
    left: 0;
    z-index: var(--z-drawer);
    display: flex;
    flex-direction: column;
    gap: var(--s2);
    width: 300px;
    padding: var(--s3);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-md);
}

/* Right-aligned variants (a facet at the end of a row must not overflow). */
.c-facet--end .c-facet__panel { left: auto; right: 0; }

.c-facet__grip { display: none; }

/* The in-panel search is styled here, not by a surface input class, so one
   markup works in the marketing, campus and console palettes. */
.c-facet__find {
    width: 100%;
    min-height: var(--target-min);
    padding: 0 var(--s3);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: var(--text-sm);
}
.c-facet__find:focus-visible { outline: none; box-shadow: var(--ring-focus); }
.c-facet__options { max-height: 300px; overflow-y: auto; }

.c-facet__option {
    display: flex;
    align-items: center;
    gap: var(--s2);
    min-height: var(--target-touch);
    padding: 0 var(--s3);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: var(--text-sm);
    cursor: pointer;
}
.c-facet__option:hover { background: var(--surface-2); }
.c-facet__option input { flex: none; margin: 0; accent-color: var(--primary); }
.c-facet__option input:focus-visible { outline: none; box-shadow: var(--ring-focus); }
.c-facet__option-label { flex: 1; }
.c-facet__count { color: var(--text-3); font-size: var(--text-xs); font-variant-numeric: tabular-nums; }
.c-facet__option--none { color: var(--text-3); }
.c-facet__option--none .c-facet__count { color: var(--text-3); }

.c-facet__empty { padding: var(--s3); color: var(--text-2); font-size: var(--text-sm); }

.c-facet__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s2);
    padding-top: var(--s2);
    border-top: 1px solid var(--border);
}

/* Panel Clear is a JS affordance; chips carry the no-JS path. */
.c-facet__clear {
    display: none;
    align-items: center;
    min-height: var(--target-min);
    padding: 0 var(--s2);
    border-radius: var(--radius-sm);
    color: var(--text-2);
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 600;
}
.c-facet__clear:hover { color: var(--text); }
[data-filter-ready="1"] .c-facet__clear { display: inline-flex; }

.c-facet__commit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--target-min);
    padding: 0 var(--s4);
    border: 1px solid var(--primary);
    border-radius: var(--radius-md);
    background: var(--primary);
    color: var(--on-primary);
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color var(--dur-1) linear;
}
.c-facet__commit:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.c-facet__commit:focus-visible { outline: none; box-shadow: var(--ring-focus); }

/* ------------------------------------------- short single-choice, native */
.c-filter-select {
    appearance: none;
    flex: 0 1 auto;
    max-width: 100%;
    min-height: var(--target-touch);
    padding: 0 var(--s7) 0 var(--s4);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-full);
    background-color: var(--surface);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364727C' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-position: right var(--s3) center;
    background-repeat: no-repeat;
    color: var(--text);
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 600;
    cursor: pointer;
    transition: border-color var(--dur-1) linear, background-color var(--dur-1) linear;
}
.c-filter-select:hover { border-color: var(--primary); }
.c-filter-select:focus-visible { outline: none; box-shadow: var(--ring-focus); }
.c-filter-select[data-applied="true"] { background-color: var(--primary-subtle); border-color: var(--primary); color: var(--primary); }

/* Quiet variant (a sort control that should not draw a border). */
.c-filter-select--quiet {
    border-color: transparent;
    background-color: transparent;
    background-position: right var(--s2) center;
    padding-left: var(--s2);
}
.c-filter-select--quiet:hover { border-color: transparent; color: var(--primary); }

/* --------------------------------------------------- checkbox as a pill */
.c-filter-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: var(--s2);
    min-height: var(--target-touch);
    padding: 0 var(--s4);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-full);
    background: var(--surface);
    color: var(--text);
    font-size: var(--text-sm);
    font-weight: 600;
    cursor: pointer;
    transition: border-color var(--dur-1) linear, background-color var(--dur-1) linear, color var(--dur-1) linear;
}
.c-filter-toggle:hover { border-color: var(--primary); }
.c-filter-toggle input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.c-filter-toggle:has(input:checked) { background: var(--primary-subtle); border-color: var(--primary); color: var(--primary); }
.c-filter-toggle:has(input:focus-visible) { box-shadow: var(--ring-focus); }

/* ---------------------------------------------------------- active chips */
.c-filter-chips { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); }
.c-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: var(--s1-5);
    min-height: var(--s7);
    padding: 0 var(--s2) 0 var(--s3);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    color: var(--text);
    font-size: var(--text-sm);
    font-weight: 600;
    text-decoration: none;
}
.c-filter-chip:hover { border-color: var(--primary); text-decoration: none; }
.c-filter-chip:focus-visible { outline: none; box-shadow: var(--ring-focus); }
.c-filter-chip--clear { padding: 0 var(--s3); border-style: dashed; color: var(--text-2); }

/* ------------------------------------------------ no-JS submit fallback */
[data-filter-ready="1"] .c-filter-bar__apply { display: none; }

/* -------------------------------------------------------------- phones */
@media (max-width: 640px) {
    .c-filter-bar__search { flex-basis: 100%; }
    .c-filter-bar__spacer { display: none; }

    /* The panel becomes a bottom sheet. */
    .c-facet { position: static; }
    .c-facet__panel,
    .c-facet--end .c-facet__panel {
        position: fixed;
        inset: auto 0 0;
        width: auto;
        max-height: 70dvh;
        overflow-y: auto;
        padding: var(--s4) var(--s4) calc(var(--s6) + env(safe-area-inset-bottom));
        border-radius: var(--radius-xl) var(--radius-xl) 0 0;
        box-shadow: var(--shadow-lg);
    }
    .c-facet__options { max-height: none; }
    .c-facet__grip {
        display: block;
        width: var(--s7);
        height: var(--s1);
        margin: 0 auto var(--s2);
        border-radius: var(--radius-full);
        background: var(--border-strong);
    }
}

@media (prefers-reduced-motion: reduce) {
    .c-facet__chevron { transition: none; }
}

/* CrestPoint Academy — shared pagination bar (www, learn, manage).

   One pager on every list: "Showing 1 to 15 of 2363 entries" on the left, a
   records-per-page selector, then the windowed page numbers with first/last
   steps on the right. Imported last by every surface entry so the surface's
   own tokens (blue on www, teal on learn/manage) paint it.

   Source: PO instruction 2026-11-14 (pagination reference); design/06
   section 5 (tables keep pagination in the foot); docs/COPY-STANDARD.md. */

.c-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--s2);
    padding: var(--s2-5) var(--s4);
    border-top: 1px solid var(--border);
    background: var(--surface-2);
    color: var(--text-3);
    font-size: var(--text-sm);
}

.c-pagination__summary { margin: 0; color: var(--text-3); font-size: var(--text-sm); }

.c-pagination__spacer { flex: 1 1 auto; }

.c-pagination__per-page { display: inline-flex; align-items: center; gap: var(--s1-5); }
.c-pagination__per-page-label { color: var(--text-3); font-size: var(--text-sm); }

/* The per-page control is secondary chrome: a 32px pill, not a full-size field. */
.c-pagination__per-page .c-filter-select {
    min-height: var(--s7);
    padding: 0 var(--s6) 0 var(--s2);
    border-radius: var(--radius-sm);
    background-position: right var(--s2) center;
    font-size: var(--text-xs);
}

.c-pagination__nav { display: flex; align-items: center; gap: var(--s1); }

.c-pagination__page,
.c-pagination__step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: var(--s7);
    height: var(--s7);
    padding: 0 var(--s1-5);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text-2);
    font-size: var(--text-xs);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    text-decoration: none;
    transition: border-color var(--dur-1) linear, background-color var(--dur-1) linear, color var(--dur-1) linear;
}
.c-pagination__page:hover,
.c-pagination__step:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.c-pagination__page:focus-visible,
.c-pagination__step:focus-visible { outline: none; box-shadow: var(--ring-focus); }

.c-pagination__page[aria-current="page"] {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--on-primary);
}

.c-pagination__step[aria-disabled="true"] {
    opacity: 0.45;
    pointer-events: none;
}

.c-pagination__gap { padding: 0 var(--s1); color: var(--text-3); }

@media (max-width: 640px) {
    /* One compact strip: summary + per-page on the first line, the numbers
       below it. The visible "Per page" label is dropped (the select keeps its
       aria-label) so the control stays small. */
    .c-pagination { gap: var(--s1-5); padding: var(--s2) var(--s3); }
    .c-pagination__spacer { display: none; }
    .c-pagination__per-page { margin-left: auto; }
    .c-pagination__per-page-label { display: none; }
    .c-pagination__summary { font-size: var(--text-xs); }
    .c-pagination__nav { width: 100%; overflow-x: auto; }
}


