/* ProficiencyAI storefronts — base layer.
 *
 * This file holds the layout for the five page ARCHETYPES. It defines no
 * colours of its own: every colour is a custom property supplied by the theme
 * block for the current storefront, which is generated from
 * src/design-system.mjs and appended to this file at build time.
 *
 * The split matters. Adding a storefront should never be able to introduce new
 * layout behaviour — it picks an archetype and a palette, and the layout it
 * gets is one that has already been reviewed. And because the marketing CSP is
 * `style-src 'self'` with no font-src, there are no inline styles, no <style>
 * blocks and no webfonts anywhere in these pages; personality comes from stack
 * choice, scale, weight and tracking.
 */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--on-accent);
  padding: 0.75rem 1.25rem;
  z-index: 20;
}
.skip-link:focus { left: 0; }

/* --- Shell --------------------------------------------------------------- */

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner,
main,
.site-footer {
  margin: 0 auto;
  max-width: 76rem;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.875rem;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  text-decoration: none;
  font-size: 1.0625rem;
}
.brand img { display: block; width: 30px; height: 30px; }

nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  flex-wrap: wrap;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9375rem;
  padding-block: 0.35rem;
  border-bottom: 2px solid transparent;
}
nav a:hover { color: var(--text); }
nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent); }

.nav-sign-in {
  color: var(--text) !important;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.4rem 0.9rem !important;
  border-bottom-width: 1px !important;
}
.nav-sign-in:hover { border-color: var(--accent); }

main { padding-block: 0 4rem; display: block; }

.state-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 0.875rem 1.125rem;
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  background: var(--surface-raised);
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.state-notice strong {
  font-family: var(--font-display);
  letter-spacing: var(--eyebrow-tracking);
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--accent);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: start;
  flex-direction: column;
  color: var(--text-muted);
  font-size: 0.9375rem;
  max-width: 76rem;
}
.site-footer strong { color: var(--text); font-family: var(--font-display); }
.footer-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); }

.disclosure {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.8125rem;
  max-width: 48rem;
}

/* --- Shared primitives ---------------------------------------------------- */

.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: var(--eyebrow-tracking);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.875rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
}
.button-primary { background: var(--accent); color: var(--on-accent); }
.button-primary:hover { filter: brightness(1.08); }
.button-secondary { border-color: var(--border); color: var(--text); }
.button-secondary:hover { border-color: var(--accent); }

.availability-note { color: var(--text-muted); font-size: 0.9375rem; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.hero-copy { max-width: 40rem; }
.hero h1 { font-size: clamp(2.25rem, 5.2vw, 3.75rem); text-transform: var(--display-transform); }
.hero-summary {
  margin-top: 1.25rem;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  color: var(--text-muted);
  max-width: 34rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 2rem;
  align-items: center;
}

/* Motif: a CSS-only graphic. No image requests, no layout shift, and it
   changes shape per theme so two archetype siblings still differ. */
.hero-motif {
  min-height: 10rem;
  order: -1;
  border-radius: var(--radius);
  background: var(--accent-soft);
  position: relative;
  overflow: hidden;
}
.hero-motif::after {
  content: "";
  position: absolute;
  inset: 12%;
  opacity: 0.9;
}
[data-motif="chevron"] .hero-motif::after {
  background:
    repeating-linear-gradient(135deg, var(--accent) 0 6px, transparent 6px 26px);
  clip-path: polygon(0 0, 72% 0, 100% 50%, 72% 100%, 0 100%, 28% 50%);
}
[data-motif="ladder"] .hero-motif::after {
  background:
    repeating-linear-gradient(to bottom, var(--accent) 0 4px, transparent 4px 30px),
    linear-gradient(to right, var(--accent) 0 4px, transparent 4px calc(100% - 4px), var(--accent) calc(100% - 4px) 100%);
}
[data-motif="grid"] .hero-motif::after {
  background:
    repeating-linear-gradient(to right, var(--accent) 0 1px, transparent 1px 36px),
    repeating-linear-gradient(to bottom, var(--accent) 0 1px, transparent 1px 36px);
  opacity: 0.5;
}
[data-motif="pulse"] .hero-motif::after {
  background: linear-gradient(90deg, transparent 0 8%, var(--accent) 8% 9%, transparent 9% 20%, var(--accent) 20% 21%, transparent 21% 100%);
  clip-path: polygon(0 55%, 18% 55%, 24% 12%, 32% 88%, 40% 45%, 52% 45%, 58% 22%, 66% 78%, 74% 55%, 100% 55%, 100% 62%, 0 62%);
  background: var(--accent);
}
[data-motif="rule"] .hero-motif::after {
  background:
    linear-gradient(to bottom, var(--accent) 0 2px, transparent 2px 100%),
    repeating-linear-gradient(to bottom, transparent 0 44px, var(--accent) 44px 45px);
  opacity: 0.55;
}
[data-motif="seal"] .hero-motif::after {
  border: 3px solid var(--accent);
  border-radius: 50%;
  box-shadow: inset 0 0 0 10px var(--surface-raised), inset 0 0 0 13px var(--accent);
  inset: 18%;
}
[data-motif="bar"] .hero-motif::after {
  background:
    linear-gradient(to top, var(--accent) 0 30%, transparent 30%) 0 100% / 14% 45% no-repeat,
    linear-gradient(to top, var(--accent) 0 60%, transparent 60%) 20% 100% / 14% 75% no-repeat,
    linear-gradient(to top, var(--accent) 0 40%, transparent 40%) 40% 100% / 14% 55% no-repeat,
    linear-gradient(to top, var(--accent) 0 85%, transparent 85%) 60% 100% / 14% 100% no-repeat,
    linear-gradient(to top, var(--accent) 0 55%, transparent 55%) 80% 100% / 14% 70% no-repeat;
}
[data-motif="orbit"] .hero-motif::after {
  border: 2px solid var(--accent);
  border-radius: 50%;
  inset: 20%;
  box-shadow: 0 0 0 18px var(--surface-raised), 0 0 0 20px var(--accent);
  opacity: 0.7;
}
[data-motif="spark"] .hero-motif::after {
  background:
    conic-gradient(from 45deg, var(--accent) 0 12%, transparent 12% 25%, var(--accent) 25% 37%, transparent 37% 50%, var(--accent) 50% 62%, transparent 62% 75%, var(--accent) 75% 87%, transparent 87% 100%);
  border-radius: 50%;
  inset: 22%;
  opacity: 0.75;
}
[data-motif="stack"] .hero-motif::after {
  background:
    linear-gradient(var(--accent) 0 0) 0 10% / 100% 12% no-repeat,
    linear-gradient(var(--accent) 0 0) 0 36% / 82% 12% no-repeat,
    linear-gradient(var(--accent) 0 0) 0 62% / 64% 12% no-repeat,
    linear-gradient(var(--accent) 0 0) 0 88% / 46% 12% no-repeat;
  opacity: 0.8;
}
[data-motif="check"] .hero-motif::after {
  background: var(--accent);
  clip-path: polygon(14% 48%, 26% 36%, 42% 52%, 74% 20%, 86% 32%, 42% 76%);
}
[data-motif="shield"] .hero-motif::after {
  background: var(--accent);
  clip-path: polygon(50% 4%, 92% 20%, 92% 54%, 50% 96%, 8% 54%, 8% 20%);
  opacity: 0.85;
}
[data-motif="wave"] .hero-motif::after {
  background:
    repeating-linear-gradient(to right, var(--accent) 0 2px, transparent 2px 40px);
  clip-path: polygon(0 60%, 12% 30%, 24% 66%, 36% 24%, 48% 70%, 60% 34%, 72% 62%, 84% 28%, 100% 58%, 100% 100%, 0 100%);
  opacity: 0.7;
}
[data-motif="link"] .hero-motif::after {
  background:
    radial-gradient(circle at 32% 50%, transparent 0 42px, var(--accent) 42px 48px, transparent 48px),
    radial-gradient(circle at 68% 50%, transparent 0 42px, var(--accent) 42px 48px, transparent 48px);
}

/* Rail: the workflow spine. Same component, different steps and label per
   theme, and positioned differently by each archetype. */
.rail {
  border-block: 1px solid var(--border);
  padding-block: 1.75rem;
}
.rail-label {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: var(--eyebrow-tracking);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.rail-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 1rem;
}
.rail-steps li {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-left: 0.875rem;
  border-left: 2px solid var(--accent);
}
.rail-index {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.6875rem;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.rail-step { font-weight: 600; font-size: 0.9375rem; }

.card-index {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

section { scroll-margin-top: 5rem; }

/* --- Archetype: operational ---------------------------------------------- */
/* Status first. Dense, squared, high contrast — a board, not a brochure. */

[data-archetype="operational"] .hero-motif { min-height: 18rem; }

[data-archetype="operational"] .board { padding-block: clamp(2.5rem, 6vw, 4rem); }
[data-archetype="operational"] .board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.board-cell {
  background: var(--surface-raised);
  padding: 1.75rem 1.5rem;
}
.board-cell h2 { font-size: 1.125rem; text-transform: uppercase; letter-spacing: 0.02em; }
.board-cell p:last-child { margin-top: 0.75rem; color: var(--text-muted); font-size: 0.9375rem; }

.charge {
  border: 1px solid var(--accent);
  border-left-width: 5px;
  padding: 2rem 1.75rem;
  background: var(--surface-raised);
}
.charge h2 { font-size: clamp(1.25rem, 2.4vw, 1.75rem); text-transform: uppercase; }
.charge p { margin-top: 0.875rem; color: var(--text-muted); max-width: 52rem; }

/* --- Archetype: clinical -------------------------------------------------- */
/* Calm, sequential, generous. Rounded and airy. */

[data-archetype="clinical"] .rail { border-block: 0; padding-block: 0 3rem; }
[data-archetype="clinical"] .rail-steps li {
  border-left: 0;
  border-top: 3px solid var(--accent-soft);
  padding-left: 0;
  padding-top: 0.875rem;
}

.evidence { padding-block: clamp(2rem, 5vw, 3.5rem); }
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1.5rem;
}
.evidence-card {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
}
.evidence-card h2 { font-size: 1.1875rem; }
.evidence-card p:last-child { margin-top: 0.875rem; color: var(--text-muted); font-size: 0.9375rem; }

.safeguard {
  margin-top: 1rem;
  background: var(--accent-soft);
  border-radius: calc(var(--radius) * 1.5);
  padding: clamp(2rem, 5vw, 3.25rem);
}
.safeguard h2 { font-size: clamp(1.375rem, 2.6vw, 2rem); }
.safeguard p:last-child { margin-top: 1rem; max-width: 46rem; }

/* --- Archetype: academic -------------------------------------------------- */
/* An editorial column. Serif, single measure, numbered chapters. */

[data-archetype="academic"] .hero h1 { font-size: clamp(2.25rem, 4.6vw, 3.25rem); }

.column {
  max-width: 44rem;
  padding-block: clamp(2rem, 5vw, 3.5rem);
  border-top: 1px solid var(--border);
}
.chapter { padding-block: 2rem; border-bottom: 1px solid var(--border); }
.chapter:last-child { border-bottom: 0; }
.chapter-number {
  font-family: var(--font-display);
  color: var(--accent);
  letter-spacing: 0.18em;
  font-size: 0.8125rem;
  margin-bottom: 0.625rem;
}
.chapter h2 { font-size: 1.5rem; }
.chapter p:last-child { margin-top: 0.875rem; color: var(--text-muted); }

[data-archetype="academic"] .rail { background: var(--surface-sunken); padding-inline: 1.5rem; }

.attestation { padding-block: clamp(2.5rem, 5vw, 3.5rem); max-width: 44rem; }
.attestation h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); }
.attestation p { margin-top: 1rem; color: var(--text-muted); }

/* --- Archetype: enterprise ------------------------------------------------ */
/* Controls before capability. Tabular, precise, unexcitable. */

[data-archetype="enterprise"] .rail { background: var(--surface-raised); padding-inline: 1.5rem; }

.controls { padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.controls h2 { font-size: clamp(1.375rem, 2.6vw, 1.875rem); margin-bottom: 1.5rem; }
.control-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.control-table th,
.control-table td {
  display: block;
  text-align: left;
  vertical-align: top;
  padding: 0.5rem 0;
  border-top: 0;
}
.control-table th {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text);
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}
.control-table td { color: var(--text-muted); padding-bottom: 1rem; }

.assurance {
  background: var(--surface-sunken);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 2.75rem);
}
.assurance h2 { font-size: clamp(1.25rem, 2.4vw, 1.75rem); }
.assurance p:last-child { margin-top: 0.875rem; color: var(--text-muted); max-width: 52rem; }

/* --- Archetype: product --------------------------------------------------- */
/* Capability-forward, workflow immediately under the hero. */

[data-archetype="product"] .rail { border-top: 0; }

.capabilities { padding-block: clamp(2.5rem, 5vw, 3.75rem); }
.capability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.25rem;
}
.capability {
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  background: var(--surface-raised);
}
.capability h2 { font-size: 1.125rem; }
.capability p:last-child { margin-top: 0.75rem; color: var(--text-muted); font-size: 0.9375rem; }

.platform-note {
  border-radius: var(--radius);
  background: var(--surface-sunken);
  padding: clamp(2rem, 4vw, 2.75rem);
}
.platform-note h2 { font-size: clamp(1.25rem, 2.4vw, 1.75rem); }
.platform-note p:last-child { margin-top: 0.875rem; color: var(--text-muted); max-width: 52rem; }

/* --- Responsive ladder ---------------------------------------------------
 * Mobile first: the base rules above are the small-screen layout (single
 * column, stacked table rows, compact type). Everything below only ADDS at
 * width, so a narrow viewport never has to undo a desktop rule -- which is how
 * the old stylesheet ended up needing !important to force the hero back to one
 * column.
 */

@media (min-width: 40rem) {
  body { font-size: 1.0625rem; }
  .header-inner { min-height: 4.5rem; padding-block: 0; }
  .site-footer { flex-direction: row; }
}

@media (min-width: 60rem) {
  .hero-motif { min-height: 15rem; order: 0; }

  [data-archetype="operational"] .hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
  [data-archetype="operational"] .hero-motif { min-height: 18rem; }
  [data-archetype="clinical"] .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr); }
  [data-archetype="academic"] .hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.6fr); }
  [data-archetype="enterprise"] .hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.8fr); }
  [data-archetype="product"] .hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.85fr); }

  .control-table th,
  .control-table td {
    display: table-cell;
    padding: 1.125rem 1rem;
    border-top: 1px solid var(--border);
  }
  .control-table th { width: 34%; padding-bottom: 1.125rem; }
  .control-table td { padding-top: 1.125rem; }
  .control-table tr:last-child th,
  .control-table tr:last-child td { border-bottom: 1px solid var(--border); }
}

/* Generated by marketing/src/design-system.mjs -- do not edit by hand. */
/* 22 storefront themes. */

body[data-theme="ems"] {
  color-scheme: dark;
  --surface: #0d1117;
  --surface-raised: #161b22;
  --surface-sunken: #080b0f;
  --border: #2b3440;
  --text: #e8edf4;
  --text-muted: #9aa7b8;
  --accent: #ffb020;
  --accent-soft: #3a2c0c;
  --on-accent: #0d1117;
  --radius: 4px;
  --font-display: "Helvetica Neue", "Arial Narrow", Inter, system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display-weight: 800;
  --display-tracking: -0.02em;
  --display-transform: uppercase;
  --eyebrow-tracking: 0.16em;
}

body[data-theme="nremt"] {
  color-scheme: dark;
  --surface: #0d1117;
  --surface-raised: #161b22;
  --surface-sunken: #080b0f;
  --border: #2b3440;
  --text: #e8edf4;
  --text-muted: #9aa7b8;
  --accent: #ff5a4d;
  --accent-soft: #3b1613;
  --on-accent: #0d1117;
  --radius: 4px;
  --font-display: "Helvetica Neue", "Arial Narrow", Inter, system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display-weight: 800;
  --display-tracking: -0.02em;
  --display-transform: uppercase;
  --eyebrow-tracking: 0.16em;
}

body[data-theme="fire-service"] {
  color-scheme: dark;
  --surface: #100d0c;
  --surface-raised: #1a1513;
  --surface-sunken: #080b0f;
  --border: #3a2c26;
  --text: #e8edf4;
  --text-muted: #9aa7b8;
  --accent: #ff7a1a;
  --accent-soft: #3d1f08;
  --on-accent: #0d1117;
  --radius: 4px;
  --font-display: "Helvetica Neue", "Arial Narrow", Inter, system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display-weight: 800;
  --display-tracking: -0.02em;
  --display-transform: uppercase;
  --eyebrow-tracking: 0.16em;
}

body[data-theme="public-safety"] {
  color-scheme: dark;
  --surface: #0b1220;
  --surface-raised: #141d2e;
  --surface-sunken: #080b0f;
  --border: #26344a;
  --text: #e8edf4;
  --text-muted: #9aa7b8;
  --accent: #5aa9ff;
  --accent-soft: #12243c;
  --on-accent: #0d1117;
  --radius: 4px;
  --font-display: "Helvetica Neue", "Arial Narrow", Inter, system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display-weight: 800;
  --display-tracking: -0.02em;
  --display-transform: uppercase;
  --eyebrow-tracking: 0.16em;
}

body[data-theme="nursing"] {
  color-scheme: light;
  --surface: #fbfcfe;
  --surface-raised: #ffffff;
  --surface-sunken: #eef3f8;
  --border: #d8e2ec;
  --text: #16202c;
  --text-muted: #54657a;
  --accent: #0f766e;
  --accent-soft: #e2f4f1;
  --on-accent: #ffffff;
  --radius: 14px;
  --font-display: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display-weight: 600;
  --display-tracking: -0.015em;
  --display-transform: none;
  --eyebrow-tracking: 0.1em;
}

body[data-theme="nclex"] {
  color-scheme: light;
  --surface: #fbfcfe;
  --surface-raised: #ffffff;
  --surface-sunken: #eef3f8;
  --border: #d8e2ec;
  --text: #16202c;
  --text-muted: #54657a;
  --accent: #4338ca;
  --accent-soft: #e8e7fb;
  --on-accent: #ffffff;
  --radius: 14px;
  --font-display: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display-weight: 600;
  --display-tracking: -0.015em;
  --display-transform: none;
  --eyebrow-tracking: 0.1em;
}

body[data-theme="healthcare-education"] {
  color-scheme: light;
  --surface: #fbfcfe;
  --surface-raised: #ffffff;
  --surface-sunken: #eef3f8;
  --border: #d8e2ec;
  --text: #16202c;
  --text-muted: #54657a;
  --accent: #0e7490;
  --accent-soft: #e0f2f8;
  --on-accent: #ffffff;
  --radius: 14px;
  --font-display: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display-weight: 600;
  --display-tracking: -0.015em;
  --display-transform: none;
  --eyebrow-tracking: 0.1em;
}

body[data-theme="higher-education"] {
  color-scheme: light;
  --surface: #fdfcf8;
  --surface-raised: #ffffff;
  --surface-sunken: #f3efe4;
  --border: #ded5c2;
  --text: #20201c;
  --text-muted: #5d5a4f;
  --accent: #7c2d3a;
  --accent-soft: #f4e8ea;
  --on-accent: #fdfcf8;
  --radius: 2px;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: Charter, Georgia, "Times New Roman", serif;
  --display-weight: 600;
  --display-tracking: -0.005em;
  --display-transform: none;
  --eyebrow-tracking: 0.12em;
}

body[data-theme="corporate-training"] {
  color-scheme: light;
  --surface: #ffffff;
  --surface-raised: #f7f9fc;
  --surface-sunken: #eef2f8;
  --border: #d5dde8;
  --text: #101827;
  --text-muted: #4d5a6e;
  --accent: #1d4ed8;
  --accent-soft: #e6edfd;
  --on-accent: #ffffff;
  --radius: 6px;
  --font-display: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display-weight: 700;
  --display-tracking: -0.025em;
  --display-transform: none;
  --eyebrow-tracking: 0.14em;
}

body[data-theme="certification-credentialing"] {
  color-scheme: light;
  --surface: #fcfcfd;
  --surface-raised: #f7f9fc;
  --surface-sunken: #eef2f8;
  --border: #d5dde8;
  --text: #101827;
  --text-muted: #4d5a6e;
  --accent: #0f3d6e;
  --accent-soft: #e3ecf6;
  --on-accent: #ffffff;
  --radius: 6px;
  --font-display: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display-weight: 700;
  --display-tracking: -0.025em;
  --display-transform: none;
  --eyebrow-tracking: 0.14em;
}

body[data-theme="general"] {
  color-scheme: light;
  --surface: #ffffff;
  --surface-raised: #f8fafc;
  --surface-sunken: #f1f5f9;
  --border: #e2e8f0;
  --text: #0f172a;
  --text-muted: #51607a;
  --accent: #111827;
  --accent-soft: #eef1f6;
  --on-accent: #ffffff;
  --radius: 10px;
  --font-display: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display-weight: 700;
  --display-tracking: -0.03em;
  --display-transform: none;
  --eyebrow-tracking: 0.12em;
}

body[data-theme="item-generator"] {
  color-scheme: light;
  --surface: #ffffff;
  --surface-raised: #f8fafc;
  --surface-sunken: #f1f5f9;
  --border: #e2e8f0;
  --text: #0f172a;
  --text-muted: #51607a;
  --accent: #6d28d9;
  --accent-soft: #f0e9fd;
  --on-accent: #ffffff;
  --radius: 10px;
  --font-display: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display-weight: 700;
  --display-tracking: -0.03em;
  --display-transform: none;
  --eyebrow-tracking: 0.12em;
}

body[data-theme="item-management"] {
  color-scheme: light;
  --surface: #ffffff;
  --surface-raised: #f8fafc;
  --surface-sunken: #f1f5f9;
  --border: #e2e8f0;
  --text: #0f172a;
  --text-muted: #51607a;
  --accent: #0369a1;
  --accent-soft: #e2f0fa;
  --on-accent: #ffffff;
  --radius: 10px;
  --font-display: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display-weight: 700;
  --display-tracking: -0.03em;
  --display-transform: none;
  --eyebrow-tracking: 0.12em;
}

body[data-theme="item-validation"] {
  color-scheme: light;
  --surface: #ffffff;
  --surface-raised: #f8fafc;
  --surface-sunken: #f1f5f9;
  --border: #e2e8f0;
  --text: #0f172a;
  --text-muted: #51607a;
  --accent: #b45309;
  --accent-soft: #fbeee0;
  --on-accent: #ffffff;
  --radius: 10px;
  --font-display: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display-weight: 700;
  --display-tracking: -0.03em;
  --display-transform: none;
  --eyebrow-tracking: 0.12em;
}

body[data-theme="assessment-builder"] {
  color-scheme: light;
  --surface: #ffffff;
  --surface-raised: #f8fafc;
  --surface-sunken: #f1f5f9;
  --border: #e2e8f0;
  --text: #0f172a;
  --text-muted: #51607a;
  --accent: #047857;
  --accent-soft: #e0f4ec;
  --on-accent: #ffffff;
  --radius: 10px;
  --font-display: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display-weight: 700;
  --display-tracking: -0.03em;
  --display-transform: none;
  --eyebrow-tracking: 0.12em;
}

body[data-theme="secure-testing"] {
  color-scheme: light;
  --surface: #f8fafc;
  --surface-raised: #f8fafc;
  --surface-sunken: #f1f5f9;
  --border: #e2e8f0;
  --text: #0f172a;
  --text-muted: #51607a;
  --accent: #334155;
  --accent-soft: #e6eaf0;
  --on-accent: #ffffff;
  --radius: 10px;
  --font-display: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display-weight: 700;
  --display-tracking: -0.03em;
  --display-transform: none;
  --eyebrow-tracking: 0.12em;
}

body[data-theme="cat-testing"] {
  color-scheme: light;
  --surface: #ffffff;
  --surface-raised: #f8fafc;
  --surface-sunken: #f1f5f9;
  --border: #e2e8f0;
  --text: #0f172a;
  --text-muted: #51607a;
  --accent: #be123c;
  --accent-soft: #fbe4ea;
  --on-accent: #ffffff;
  --radius: 10px;
  --font-display: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display-weight: 700;
  --display-tracking: -0.03em;
  --display-transform: none;
  --eyebrow-tracking: 0.12em;
}

body[data-theme="analytics-reporting"] {
  color-scheme: light;
  --surface: #ffffff;
  --surface-raised: #f8fafc;
  --surface-sunken: #f1f5f9;
  --border: #e2e8f0;
  --text: #0f172a;
  --text-muted: #51607a;
  --accent: #0b6e78;
  --accent-soft: #ddf1f4;
  --on-accent: #ffffff;
  --radius: 10px;
  --font-display: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display-weight: 700;
  --display-tracking: -0.03em;
  --display-transform: none;
  --eyebrow-tracking: 0.12em;
}

body[data-theme="lms-lti"] {
  color-scheme: light;
  --surface: #ffffff;
  --surface-raised: #f8fafc;
  --surface-sunken: #f1f5f9;
  --border: #e2e8f0;
  --text: #0f172a;
  --text-muted: #51607a;
  --accent: #4f46e5;
  --accent-soft: #eaeafc;
  --on-accent: #ffffff;
  --radius: 10px;
  --font-display: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display-weight: 700;
  --display-tracking: -0.03em;
  --display-transform: none;
  --eyebrow-tracking: 0.12em;
}

body[data-theme="ai-tutor"] {
  color-scheme: light;
  --surface: #ffffff;
  --surface-raised: #f8fafc;
  --surface-sunken: #f1f5f9;
  --border: #e2e8f0;
  --text: #0f172a;
  --text-muted: #51607a;
  --accent: #c026d3;
  --accent-soft: #fae8fd;
  --on-accent: #ffffff;
  --radius: 10px;
  --font-display: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display-weight: 700;
  --display-tracking: -0.03em;
  --display-transform: none;
  --eyebrow-tracking: 0.12em;
}

body[data-theme="course-curriculum"] {
  color-scheme: light;
  --surface: #ffffff;
  --surface-raised: #f8fafc;
  --surface-sunken: #f1f5f9;
  --border: #e2e8f0;
  --text: #0f172a;
  --text-muted: #51607a;
  --accent: #8a5a00;
  --accent-soft: #f7eed6;
  --on-accent: #ffffff;
  --radius: 10px;
  --font-display: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display-weight: 700;
  --display-tracking: -0.03em;
  --display-transform: none;
  --eyebrow-tracking: 0.12em;
}

body[data-theme="framework-blueprint"] {
  color-scheme: light;
  --surface: #ffffff;
  --surface-raised: #f8fafc;
  --surface-sunken: #f1f5f9;
  --border: #e2e8f0;
  --text: #0f172a;
  --text-muted: #51607a;
  --accent: #475569;
  --accent-soft: #e8ecf2;
  --on-accent: #ffffff;
  --radius: 10px;
  --font-display: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display-weight: 700;
  --display-tracking: -0.03em;
  --display-transform: none;
  --eyebrow-tracking: 0.12em;
}
