/* =============================================================================
   Neurosuite - main stylesheet
   -----------------------------------------------------------------------------
   Structure
   1. Design tokens (colour, type, spacing, radius, shadow, layout)
   2. Fonts (self-hosted, OFL licensed)
   3. Base and typography
   4. Layout utilities (container, grid, stack, cluster)
   5. Components (buttons, header/nav, footer, cards, hero, bands, FAQ, forms,
      tables, badges, alerts, consent banner, testimonials, team, article)
   6. Page-specific helpers
   7. Print and reduced motion
   Conventions: mobile first; rem units; no !important except accessibility.
   ========================================================================== */

/* 1. Design tokens --------------------------------------------------------- */
:root {
  /* Brand palette (see docs/BRAND-GUIDE.md for contrast pairings) */
  --navy-950: #081528;
  --navy-900: #0B1F3A;
  --navy-800: #12294D;
  --navy-700: #1C3A66;
  --navy-600: #2A4E82;
  --teal-800: #084C57;
  --teal-700: #0B5E6B;
  --teal-600: #0E7480;
  --teal-500: #139AA6;
  --teal-400: #3DB8C2;
  --teal-300: #7DD3DA;
  --teal-100: #DDF2F4;
  --amber-600: #B8731A;
  --amber-500: #E9A23B;
  --amber-400: #F2B95C;
  --amber-100: #FBEFD9;
  --gray-900: #141B26;
  --gray-700: #3B4654;
  --gray-600: #55616F;
  --gray-500: #6B7784;
  --gray-400: #98A2AE;
  --gray-200: #D9DEE5;
  --gray-100: #EDF0F3;
  --gray-50: #F6F8FA;
  --white: #FFFFFF;
  --red-600: #B42318;
  --red-100: #FEE4E2;
  --green-700: #067647;
  --green-100: #DCFAE6;

  /* Semantic roles (light surface) */
  --bg: var(--white);
  --bg-alt: var(--gray-50);
  --bg-tint: var(--teal-100);
  --text: var(--gray-700);
  --text-strong: var(--navy-900);
  --text-muted: var(--gray-600);
  --border: var(--gray-200);
  --border-strong: var(--gray-400);
  --link: var(--teal-600);
  --link-hover: var(--teal-700);
  --accent: var(--amber-500);
  --focus: var(--teal-600);
  --eyebrow: var(--teal-700);

  /* Typography */
  --font-display: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.98rem + 0.15vw, 1.0625rem);
  --step-1: clamp(1.125rem, 1.08rem + 0.3vw, 1.25rem);
  --step-2: clamp(1.3rem, 1.2rem + 0.6vw, 1.6rem);
  --step-3: clamp(1.6rem, 1.4rem + 1vw, 2.1rem);
  --step-4: clamp(2rem, 1.6rem + 1.8vw, 2.9rem);
  --step-5: clamp(2.25rem, 1.7rem + 2.4vw, 3.4rem);
  --leading-tight: 1.12;
  --leading-snug: 1.3;
  --leading-body: 1.6;

  /* Spacing scale (4px base) */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.25rem; --s-6: 1.5rem;
  --s-8: 2rem; --s-10: 2.5rem; --s-12: 3rem; --s-16: 4rem; --s-20: 5rem; --s-24: 6rem;
  --section-y: clamp(3.5rem, 3rem + 3vw, 6rem);
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2rem);

  /* Layout */
  --container: 76rem;    /* 1216px */
  --container-wide: 88rem;
  --content: 44rem;      /* readable prose width (704px) */
  --radius-sm: 4px; --radius: 8px; --radius-lg: 14px; --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 58, 0.06);
  --shadow: 0 6px 24px -8px rgba(11, 31, 58, 0.18);
  --shadow-lg: 0 24px 48px -16px rgba(11, 31, 58, 0.28);
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Dark (navy) surface: applied to sections with .band-dark */
.band-dark, .theme-dark {
  --bg: var(--navy-900);
  --bg-alt: var(--navy-800);
  --bg-tint: var(--navy-700);
  --text: #C9D3E0;
  --text-strong: var(--white);
  --text-muted: #9FB0C6;
  --border: rgba(255, 255, 255, 0.14);
  --border-strong: rgba(255, 255, 255, 0.32);
  --link: var(--teal-300);
  --link-hover: var(--white);
  --focus: var(--amber-400);
  --eyebrow: var(--teal-300);
  color: var(--text);
  background: var(--bg);
}

/* 2. Fonts -------------------------------------------------------------- */
@font-face {
  font-family: "Lora";
  src: url("../fonts/lora-variable.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* 3. Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: var(--leading-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5 { color: var(--text-strong); margin: 0 0 var(--s-4); line-height: var(--leading-snug); font-weight: 600; letter-spacing: -0.01em; }
h1, h2, .display { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.015em; }
h1 { font-size: var(--step-5); line-height: var(--leading-tight); }
h2 { font-size: var(--step-4); line-height: 1.18; }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { margin: 0 0 var(--s-4); }
p:last-child { margin-bottom: 0; }
a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.16em; transition: color 0.15s var(--ease); }
a:hover { color: var(--link-hover); }
ul, ol { margin: 0 0 var(--s-4); padding-left: 1.25rem; }
li { margin-bottom: var(--s-2); }
li::marker { color: var(--teal-600); }
.band-dark li::marker { color: var(--teal-300); }
strong { color: var(--text-strong); font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--border); margin: var(--s-8) 0; }
small, .small { font-size: var(--step--1); }
blockquote { margin: 0 0 var(--s-6); padding-left: var(--s-5); border-left: 3px solid var(--amber-500); font-family: var(--font-display); font-size: var(--step-1); color: var(--text-strong); }
code { font-family: var(--font-mono); font-size: 0.92em; background: var(--gray-100); padding: 0.1em 0.35em; border-radius: var(--radius-sm); }
table { border-collapse: collapse; width: 100%; font-size: var(--step--1); }
th, td { text-align: left; padding: var(--s-3) var(--s-4); border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--text-strong); font-weight: 600; background: var(--bg-alt); }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.skip-link { position: absolute; left: var(--s-4); top: -4rem; z-index: 100; background: var(--navy-900); color: var(--white); padding: var(--s-3) var(--s-4); border-radius: var(--radius); text-decoration: none; font-weight: 600; }
.skip-link:focus { top: var(--s-4); outline-color: var(--amber-400); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

::selection { background: var(--teal-100); color: var(--navy-900); }
.band-dark ::selection { background: var(--amber-400); color: var(--navy-900); }

/* 4. Layout utilities ----------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { max-width: var(--container-wide); }
.content { max-width: var(--content); }
.section { padding-block: var(--section-y); }
.section-sm { padding-block: calc(var(--section-y) * 0.6); }
.band-alt { background: var(--bg-alt); }
.band-tint { background: var(--bg-tint); }
.band-dark { position: relative; }
.band-dark.band-grid::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0.25));
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0.25));
}
.band-dark > .container { position: relative; }
.stack > * + * { margin-top: var(--s-4); }
.stack-lg > * + * { margin-top: var(--s-8); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.grid { display: grid; gap: var(--s-6); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.split { display: grid; gap: var(--s-8); align-items: center; }
@media (min-width: 56em) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--s-12); }
  .split-wide { grid-template-columns: 1.15fr 0.85fr; }
  .split-narrow { grid-template-columns: 0.85fr 1.15fr; }
  .split > .order-first-desktop { order: -1; }
}
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.lead { font-size: var(--step-1); color: var(--text); line-height: 1.55; }
.band-dark .lead { color: var(--text); }
.muted { color: var(--text-muted); }
.eyebrow { display: inline-flex; align-items: center; gap: var(--s-2); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--eyebrow); margin-bottom: var(--s-3); }
.eyebrow::before { content: ""; width: 1.25rem; height: 2px; background: var(--amber-500); border-radius: 2px; }
.section-head { max-width: 46rem; margin-bottom: var(--s-10); }
.section-head p { font-size: var(--step-1); }
.section-head.text-center { margin-inline: auto; }
.section-head.text-center .eyebrow::before { display: none; }

/* 5. Components ---------------------------------------------------------- */
/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  padding: 0.8rem 1.35rem; border-radius: var(--radius); font-weight: 600; font-size: var(--step-0);
  line-height: 1.2; text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease), border-color 0.15s var(--ease), transform 0.15s var(--ease);
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-primary { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }
.btn-primary:hover { background: var(--navy-700); border-color: var(--navy-700); color: var(--white); }
.btn-secondary { background: transparent; color: var(--teal-700); border-color: var(--teal-600); }
.btn-secondary:hover { background: var(--teal-100); color: var(--teal-800); }
.btn-ghost { background: transparent; color: var(--text-strong); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--text-strong); color: var(--text-strong); }
.btn-accent { background: var(--amber-500); color: var(--navy-900); border-color: var(--amber-500); }
.btn-accent:hover { background: var(--amber-400); border-color: var(--amber-400); color: var(--navy-900); }
.band-dark .btn-primary { background: var(--amber-500); color: var(--navy-900); border-color: var(--amber-500); }
.band-dark .btn-primary:hover { background: var(--amber-400); border-color: var(--amber-400); }
.band-dark .btn-secondary { color: var(--white); border-color: rgba(255,255,255,0.55); }
.band-dark .btn-secondary:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.btn-sm { padding: 0.55rem 0.95rem; font-size: var(--step--1); }
.btn-lg { padding: 1rem 1.6rem; font-size: var(--step-1); }
.btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.4em; font-weight: 600; text-decoration: none; color: var(--link); }
.link-arrow::after { content: ""; width: 1em; height: 1em; background: currentColor; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14M13 5l7 7-7 7'/></svg>") center / contain no-repeat; -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14M13 5l7 7-7 7'/></svg>") center / contain no-repeat; transition: transform 0.15s var(--ease); }
.link-arrow:hover::after { transform: translateX(3px); }
.link-arrow:hover { text-decoration: underline; }

/* Header and navigation */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.94); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: var(--s-3); text-decoration: none; color: var(--navy-900); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand img, .brand svg { height: 2rem; width: auto; }
.nav-toggle { display: inline-flex; align-items: center; gap: var(--s-2); background: none; border: 1.5px solid var(--border-strong); border-radius: var(--radius); padding: 0.5rem 0.75rem; font: inherit; font-weight: 600; color: var(--navy-900); cursor: pointer; }
.nav-toggle .bars { display: inline-block; width: 18px; height: 2px; background: currentColor; position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; transition: transform 0.2s var(--ease), top 0.2s var(--ease); }
.nav-toggle .bars::before { top: -6px; } .nav-toggle .bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }
.js .nav-toggle { display: inline-flex; }
.nav-panel { display: none; }
.no-js .nav-panel, .nav-panel.is-open { display: block; }
.nav-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--border); box-shadow: var(--shadow); padding: var(--s-4) var(--gutter) var(--s-6); max-height: calc(100vh - var(--header-h)); overflow: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s-1); }
.nav-list li { margin: 0; }
.nav-list a, .nav-list button { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); width: 100%; padding: 0.7rem 0.6rem; border-radius: var(--radius); color: var(--navy-900); text-decoration: none; font-weight: 500; font-size: 1rem; background: none; border: 0; font-family: inherit; cursor: pointer; text-align: left; }
.nav-list a:hover, .nav-list button:hover { background: var(--gray-50); color: var(--teal-700); }
.nav-list a[aria-current="page"], .nav-list a[aria-current="true"] { color: var(--teal-700); box-shadow: inset 3px 0 0 var(--amber-500); }
.nav-item-has-menu { position: relative; }
.nav-item-has-menu > .nav-row { display: flex; align-items: center; }
.nav-item-has-menu > .nav-row > a { flex: 1; }
.nav-disclosure { width: auto !important; padding: 0.5rem !important; }
.nav-disclosure svg { width: 1rem; height: 1rem; transition: transform 0.2s var(--ease); }
.nav-disclosure[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-submenu { list-style: none; margin: 0; padding: var(--s-2) 0 var(--s-2) var(--s-4); border-left: 2px solid var(--gray-200); }
.nav-submenu a { font-weight: 400; font-size: 0.95rem; padding: 0.5rem 0.6rem; }
.nav-submenu .nav-submenu-head { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-500); padding: var(--s-2) 0.6rem; font-weight: 600; }
.nav-actions { display: flex; flex-direction: column; gap: var(--s-3); margin-top: var(--s-4); padding-top: var(--s-4); border-top: 1px solid var(--border); }
.nav-academy { color: var(--teal-700) !important; }
.lang-switch { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.85rem; font-weight: 600; text-decoration: none; color: var(--gray-700); border: 1.5px solid var(--border); border-radius: var(--radius-pill); padding: 0.4rem 0.75rem; letter-spacing: 0.04em; }
.lang-switch:hover { border-color: var(--teal-600); color: var(--teal-700); }
.lang-switch svg { width: 1rem; height: 1rem; }
.header-cta { display: none; white-space: nowrap; }
@media (min-width: 72em) {
  .nav-toggle { display: none !important; }
  .nav-panel { position: static; display: block !important; background: none; border: 0; box-shadow: none; padding: 0; overflow: visible; max-height: none; }
  .nav-inner { display: flex; align-items: center; gap: var(--s-4); }
  .nav-list { flex-direction: row; gap: 0.1rem; }
  .nav-list a, .nav-list button { width: auto; padding: 0.55rem 0.7rem; font-size: 0.95rem; white-space: nowrap; }
  .nav-list a[aria-current="page"], .nav-list a[aria-current="true"] { box-shadow: inset 0 -2px 0 var(--amber-500); border-radius: 0; }
  .nav-item-has-menu > .nav-row > a { flex: none; padding-right: 0.3rem; }
  .nav-submenu { position: absolute; top: calc(100% + 0.4rem); left: 0; min-width: 20rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: var(--s-3); display: none; z-index: 60; }
  .nav-submenu.is-open { display: block; }
  .nav-submenu a { display: block; width: 100%; padding: 0.55rem 0.7rem; white-space: normal; }
  .nav-submenu .nav-submenu-head { padding: var(--s-2) 0.7rem; }
  .nav-actions { flex-direction: row; margin: 0; padding: 0; border: 0; align-items: center; }
  .nav-actions .btn { display: none; }
  .header-cta { display: inline-flex; }
}
.no-js .nav-submenu { display: block; position: static; box-shadow: none; border: 0; }

/* Footer */
.site-footer { background: var(--navy-950); color: #C9D3E0; padding: var(--s-16) 0 var(--s-8); font-size: 0.95rem; }
.site-footer a { color: #DCE4EE; text-decoration: none; }
.site-footer a:hover { color: var(--teal-300); text-decoration: underline; }
.footer-grid { display: grid; gap: var(--s-8); grid-template-columns: 1fr; }
@media (min-width: 40em) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 72em) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; } }
.footer-brand img { height: 2.1rem; width: auto; margin-bottom: var(--s-4); }
.footer-brand p { color: #9FB0C6; max-width: 26rem; }
.footer-head { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-300); font-weight: 600; margin-bottom: var(--s-4); }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: 0.55rem; }
.footer-address { font-style: normal; color: #B6C3D4; line-height: 1.55; }
.footer-address strong { color: var(--white); display: block; margin-bottom: 0.15rem; font-weight: 600; }
.footer-bottom { margin-top: var(--s-12); padding-top: var(--s-6); border-top: 1px solid rgba(255,255,255,0.12); display: flex; flex-wrap: wrap; gap: var(--s-4); justify-content: space-between; align-items: center; color: #9FB0C6; font-size: 0.85rem; }
.footer-bottom ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-4); }
.footer-bottom li { margin: 0; }
.footer-bottom button { background: none; border: 0; color: #DCE4EE; font: inherit; cursor: pointer; padding: 0; text-decoration: underline; }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 2rem + 4vw, 6rem); }
.hero-grid { display: grid; gap: var(--s-10); align-items: center; }
@media (min-width: 56em) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; } }
.hero h1 { max-width: 16ch; }
.hero .lead { max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.hero-note { margin-top: var(--s-6); display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-6); font-size: var(--step--1); color: var(--text-muted); }
.hero-note span { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-note svg { width: 1rem; height: 1rem; color: var(--teal-500); }
.hero-art { position: relative; }
.hero-art img, .hero-art svg { width: 100%; height: auto; border-radius: var(--radius-lg); }
.hero-sub { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.hero-sub h1 { max-width: 20ch; }
.page-hero { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); background: linear-gradient(180deg, var(--gray-50), var(--white)); border-bottom: 1px solid var(--border); }
.page-hero .lead { max-width: 40rem; }
.breadcrumbs { font-size: 0.85rem; margin-bottom: var(--s-4); color: var(--text-muted); }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.breadcrumbs li { margin: 0; display: inline-flex; align-items: center; gap: 0.35rem; }
.breadcrumbs li + li::before { content: "/"; color: var(--gray-400); }
.breadcrumbs a { color: var(--text-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--teal-700); text-decoration: underline; }

/* Cards */
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-3); transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease); position: relative; }
.card:hover { border-color: var(--teal-500); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 0; font-size: var(--step-1); }
.card p { margin: 0; color: var(--text); }
.card .link-arrow { margin-top: auto; padding-top: var(--s-2); }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-link .link-arrow { position: relative; }
.card-icon { width: 2.75rem; height: 2.75rem; border-radius: var(--radius); background: var(--teal-100); color: var(--teal-700); display: grid; place-items: center; }
.card-icon svg { width: 1.5rem; height: 1.5rem; }
.band-dark .card { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.14); }
.band-dark .card:hover { border-color: var(--teal-300); box-shadow: none; }
.band-dark .card-icon { background: rgba(255,255,255,0.08); color: var(--teal-300); }
.card-feature { padding: 0; overflow: hidden; }
.card-feature img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-feature .card-body { padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-3); flex: 1; }
.card-num { font-family: var(--font-display); font-size: var(--step-3); color: var(--teal-500); line-height: 1; }
.band-dark .card-num { color: var(--amber-400); }
.card-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-3); }
.card-list li { margin: 0; padding-left: 1.6rem; position: relative; }
.card-list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.9rem; height: 0.9rem; border-radius: 50%; background: var(--teal-100); box-shadow: inset 0 0 0 3px var(--teal-500); }
.band-dark .card-list li::before { background: transparent; box-shadow: inset 0 0 0 3px var(--teal-300); }
.check-list { list-style: none; padding: 0; margin: 0 0 var(--s-4); display: grid; gap: var(--s-2); align-content: start; }
.check-list li { margin: 0; padding-left: 1.75rem; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--teal-600); mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='%23000' d='M10 0a10 10 0 1 0 0 20A10 10 0 0 0 10 0zm-1.6 14.6L4 10.2l1.6-1.6 2.8 2.8 6-6L16 7z'/></svg>") center / contain no-repeat; -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='%23000' d='M10 0a10 10 0 1 0 0 20A10 10 0 0 0 10 0zm-1.6 14.6L4 10.2l1.6-1.6 2.8 2.8 6-6L16 7z'/></svg>") center / contain no-repeat; }
.band-dark .check-list li::before { background: var(--teal-300); }
.x-list li::before { background: var(--gray-400); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='%23000' d='M10 0a10 10 0 1 0 0 20A10 10 0 0 0 10 0zm3.9 12.5-1.4 1.4L10 11.4l-2.5 2.5-1.4-1.4L8.6 10 6.1 7.5l1.4-1.4L10 8.6l2.5-2.5 1.4 1.4L11.4 10z'/></svg>"); -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='%23000' d='M10 0a10 10 0 1 0 0 20A10 10 0 0 0 10 0zm3.9 12.5-1.4 1.4L10 11.4l-2.5 2.5-1.4-1.4L8.6 10 6.1 7.5l1.4-1.4L10 8.6l2.5-2.5 1.4 1.4L11.4 10z'/></svg>"); }

/* Pillars (home) */
.pillar { display: grid; gap: var(--s-4); padding: var(--s-6) 0; border-top: 1px solid var(--border); }
.pillar:last-child { border-bottom: 1px solid var(--border); }
@media (min-width: 56em) { .pillar { grid-template-columns: 3rem 1.15fr 1.45fr minmax(15rem, 0.9fr); align-items: start; gap: var(--s-8); } }
.pillar-num { font-family: var(--font-display); font-size: var(--step-2); color: var(--teal-500); }
.pillar h3 { font-size: var(--step-2); margin-bottom: var(--s-2); }
.pillar ul { margin: 0; padding-left: 1.1rem; color: var(--text); }

/* Stat / proof strip */
.proof-strip { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.proof { padding: var(--s-5); border-left: 2px solid var(--amber-500); }
.proof strong { display: block; font-family: var(--font-display); font-size: var(--step-2); font-weight: 500; color: var(--text-strong); margin-bottom: var(--s-1); }
.proof span { color: var(--text-muted); font-size: var(--step--1); }

/* Steps / process */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: var(--s-4); }
.steps > li { margin: 0; counter-increment: step; display: grid; grid-template-columns: 3rem 1fr; gap: var(--s-4); padding: var(--s-5) 0; border-top: 1px solid var(--border); }
.steps > li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-size: var(--step-2); color: var(--teal-500); line-height: 1; padding-top: 0.15rem; }
.band-dark .steps > li::before { color: var(--amber-400); }
.steps h3 { font-size: var(--step-1); margin-bottom: var(--s-2); }
.steps p { margin: 0; }
.steps-grid { display: grid; gap: var(--s-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps-grid > li { margin: 0; counter-increment: step; padding-top: var(--s-4); border-top: 2px solid var(--border); }
.steps-grid > li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-display); font-size: var(--step-2); color: var(--teal-500); margin-bottom: var(--s-2); }
.band-dark .steps-grid > li { border-color: rgba(255,255,255,0.18); }
.band-dark .steps-grid > li::before { color: var(--amber-400); }
.steps-grid h3 { font-size: var(--step-1); margin-bottom: var(--s-2); }

/* Model (two entities) */
.model { display: grid; gap: var(--s-6); position: relative; }
@media (min-width: 56em) { .model { grid-template-columns: 1fr auto 1fr; align-items: stretch; } }
.model-node { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--s-6); background: var(--white); }
.band-dark .model-node { background: rgba(255,255,255,0.05); }
.model-node .eyebrow { margin-bottom: var(--s-2); }
.model-node h3 { font-size: var(--step-2); }
.model-link { display: grid; place-items: center; color: var(--teal-500); padding: var(--s-2); }
.model-link svg { width: 3.5rem; height: 3.5rem; }
@media (max-width: 55.99em) { .model-link svg { transform: rotate(90deg); } }
.model-tags { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.04em; padding: 0.3rem 0.65rem; border-radius: var(--radius-pill); background: var(--gray-100); color: var(--gray-700); line-height: 1; }
.badge-teal { background: var(--teal-100); color: var(--teal-800); }
.badge-amber { background: var(--amber-100); color: #6B4206; }
.badge-navy { background: var(--navy-900); color: var(--white); }
.badge-outline { background: transparent; border: 1px solid var(--border-strong); }
.band-dark .badge { background: rgba(255,255,255,0.1); color: var(--white); }
.band-dark .badge-amber { background: var(--amber-500); color: var(--navy-900); }

/* FAQ accordion (native details) */
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); padding: var(--s-5) 0; font-weight: 600; color: var(--text-strong); font-size: var(--step-0); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 1.5rem; height: 1.5rem; border-radius: 50%; border: 1.5px solid var(--border-strong); background: center / 0.7rem no-repeat url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M6 1v10M1 6h10' stroke='%230B1F3A' stroke-width='1.6' stroke-linecap='round'/></svg>"); transition: transform 0.2s var(--ease), background-color 0.2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); border-color: var(--teal-600); }
.faq summary:hover { color: var(--teal-700); }
.faq .faq-body { padding: 0 0 var(--s-5); max-width: var(--content); }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* Forms */
.form { display: grid; gap: var(--s-5); }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: var(--s-4); min-width: 0; }
.form legend { font-weight: 600; color: var(--text-strong); margin-bottom: var(--s-2); font-size: var(--step-1); padding: 0; }
.form-row { display: grid; gap: var(--s-4); }
@media (min-width: 40em) { .form-row-2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field label, .field .label { font-weight: 600; color: var(--text-strong); font-size: 0.95rem; }
.field .hint { font-size: 0.85rem; color: var(--text-muted); margin: 0; }
.req { color: var(--red-600); font-weight: 600; }
.input, .select, .textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--gray-900); background: var(--white); border: 1.5px solid var(--gray-400); border-radius: var(--radius); padding: 0.7rem 0.85rem; min-height: 2.9rem; transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease); }
.textarea { min-height: 8rem; resize: vertical; }
.select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 6l4 4 4-4' fill='none' stroke='%233B4654' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>"); background-repeat: no-repeat; background-position: right 0.85rem center; background-size: 1rem; padding-right: 2.5rem; }
.input:focus, .select:focus, .textarea:focus { outline: 3px solid var(--focus); outline-offset: 2px; border-color: var(--teal-600); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--red-600); box-shadow: 0 0 0 3px var(--red-100); }
.field-error { color: var(--red-600); font-size: 0.875rem; font-weight: 500; margin: 0; display: flex; gap: 0.35rem; align-items: flex-start; }
.field-error:empty { display: none; }
.choices { display: grid; gap: 0.55rem; }
.choices-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.choice { display: flex; align-items: flex-start; gap: 0.6rem; font-weight: 400; color: var(--text); cursor: pointer; }
.choice input { width: 1.15rem; height: 1.15rem; margin: 0.15rem 0 0; accent-color: var(--teal-600); flex: none; }
.consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--text); }
.consent input { width: 1.15rem; height: 1.15rem; margin-top: 0.15rem; accent-color: var(--teal-600); flex: none; }
.form-privacy { font-size: 0.85rem; color: var(--text-muted); }
.form-status { border-radius: var(--radius); padding: var(--s-4) var(--s-5); border: 1px solid; font-size: 0.95rem; }
.form-status p { margin: 0; }
.form-status ul { margin: var(--s-2) 0 0; }
.form-status-error { background: var(--red-100); border-color: #F2B8B5; color: #7A1A12; }
.form-status-success { background: var(--green-100); border-color: #A9E8C0; color: #054F30; }
.form-status-info { background: var(--teal-100); border-color: #B4E1E6; color: var(--teal-800); }
.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); box-shadow: var(--shadow-sm); }

/* Tabs (contact routes) */
.route-tabs { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-6); }
.route-tabs a { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.6rem 0.95rem; border: 1.5px solid var(--border); border-radius: var(--radius-pill); text-decoration: none; color: var(--gray-700); font-weight: 600; font-size: 0.92rem; }
.route-tabs a:hover { border-color: var(--teal-600); color: var(--teal-700); }
.route-tabs a[aria-current="page"] { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }

/* Contact details */
.contact-card { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--s-6); background: var(--gray-50); display: grid; gap: var(--s-5); }
.contact-card h3 { font-size: var(--step-0); margin-bottom: var(--s-1); }
.contact-card address { font-style: normal; line-height: 1.55; }
.contact-card a { text-decoration: none; font-weight: 500; }
.contact-card a:hover { text-decoration: underline; }
.contact-line { display: flex; gap: var(--s-3); align-items: flex-start; }
.contact-line svg { width: 1.25rem; height: 1.25rem; color: var(--teal-600); flex: none; margin-top: 0.15rem; }

/* Pricing packages */
.plan { display: flex; flex-direction: column; gap: var(--s-4); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--s-6); background: var(--white); }
.plan.is-featured { border-color: var(--teal-600); box-shadow: var(--shadow); }
.plan h3 { font-size: var(--step-1); margin-bottom: 0; }
.plan .plan-for { color: var(--text-muted); font-size: var(--step--1); }
.plan .plan-price { font-family: var(--font-display); font-size: var(--step-2); color: var(--text-strong); border-top: 1px solid var(--border); padding-top: var(--s-4); }
.plan .plan-price small { display: block; font-family: var(--font-body); font-size: 0.85rem; color: var(--text-muted); margin-top: 0.2rem; }
.plan .check-list { flex: 1; align-content: start; }

/* Alerts */
.alert { border-left: 4px solid var(--teal-600); background: var(--teal-100); padding: var(--s-4) var(--s-5); border-radius: 0 var(--radius) var(--radius) 0; color: var(--teal-800); }
.alert-warn { border-color: var(--amber-500); background: var(--amber-100); color: #5A3806; }
.alert p { margin: 0; }

/* Testimonials */
.testimonial { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--s-6); background: var(--white); display: grid; gap: var(--s-4); }
.testimonial blockquote { border: 0; padding: 0; margin: 0; font-size: var(--step-1); }
.testimonial blockquote::before { content: "\201C"; display: block; font-size: 3rem; line-height: 0.6; color: var(--amber-500); margin-bottom: var(--s-3); }
.testimonial figcaption { font-size: 0.9rem; color: var(--text-muted); }
.testimonial figcaption strong { display: block; color: var(--text-strong); }
.reference-note { border: 1px dashed var(--border-strong); border-radius: var(--radius-lg); padding: var(--s-6); background: var(--gray-50); }

/* Team */
.team-grid { display: grid; gap: var(--s-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.person { display: grid; gap: var(--s-3); align-content: start; }
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-lg); filter: grayscale(100%) contrast(1.02); background: var(--gray-100); }
.person h3 { font-size: var(--step-1); margin: 0; }
.person .role { color: var(--teal-700); font-weight: 600; font-size: 0.9rem; }
.band-dark .person .role { color: var(--teal-300); }
.person p { font-size: var(--step--1); margin: 0; }

/* Values */
.values { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); counter-reset: value; list-style: none; margin: 0; padding: 0; }
.values li { margin: 0; padding: var(--s-5); border: 1px solid var(--border); border-radius: var(--radius-lg); counter-increment: value; }
.values li::before { content: counter(value, decimal-leading-zero); font-family: var(--font-display); color: var(--amber-500); font-size: 0.95rem; letter-spacing: 0.05em; display: block; margin-bottom: var(--s-2); }
.values h3 { font-size: var(--step-1); margin-bottom: var(--s-2); }
.values p { margin: 0; font-size: var(--step--1); }
.statement { border-left: 3px solid var(--amber-500); padding: var(--s-2) 0 var(--s-2) var(--s-5); }
.statement h3 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--eyebrow); margin-bottom: var(--s-2); }
.statement p { font-family: var(--font-display); font-size: var(--step-2); color: var(--text-strong); line-height: 1.35; }

/* Insights / article */
.article-meta { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); font-size: 0.9rem; color: var(--text-muted); margin-bottom: var(--s-6); }
.article-meta span { display: inline-flex; gap: 0.35rem; align-items: center; }
.prose { max-width: var(--content); }
.prose h2 { font-size: var(--step-3); margin-top: var(--s-12); }
.prose h3 { font-size: var(--step-1); margin-top: var(--s-8); }
.prose p, .prose ul, .prose ol { font-size: var(--step-0); }
.prose img { border-radius: var(--radius-lg); margin: var(--s-6) 0; }
.prose table { margin: var(--s-6) 0; }
.prose .callout { background: var(--gray-50); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--s-5) var(--s-6); margin: var(--s-6) 0; }
.prose .callout h3, .prose .callout h4 { margin-top: 0; }
.article-aside { border-top: 1px solid var(--border); padding-top: var(--s-8); margin-top: var(--s-12); }
.author-box { display: flex; gap: var(--s-4); align-items: center; padding: var(--s-5); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--gray-50); }
.author-box img { width: 3.5rem; height: 3.5rem; border-radius: 50%; object-fit: cover; filter: grayscale(100%); }
.author-box p { margin: 0; font-size: 0.9rem; }
.author-box strong { display: block; }
.toc { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--s-5); margin-bottom: var(--s-8); background: var(--gray-50); }
.toc h2 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--eyebrow); margin: 0 0 var(--s-3); }
.toc ol { margin: 0; padding-left: 1.2rem; }
.toc li { margin-bottom: 0.3rem; font-size: 0.95rem; }

/* Comparison tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: var(--radius-lg); }
.table-wrap table { margin: 0; min-width: 36rem; }
.table-wrap th:first-child, .table-wrap td:first-child { position: sticky; left: 0; background: var(--white); }
.table-wrap th:first-child { background: var(--bg-alt); }

/* Cookie consent */
.consent-banner { position: fixed; inset-inline: var(--s-4); bottom: var(--s-4); z-index: 90; max-width: 36rem; margin-inline: auto; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: var(--s-5) var(--s-6); display: grid; gap: var(--s-4); }
.consent-banner h2 { font-family: var(--font-body); font-size: var(--step-0); margin: 0; }
.consent-banner p { margin: 0; font-size: 0.92rem; }
.consent-banner .consent-options { display: grid; gap: 0.5rem; }
.consent-banner .form-actions { gap: var(--s-2); }
.consent-banner .btn { padding: 0.6rem 1rem; font-size: 0.92rem; }
@media (min-width: 56em) { .consent-banner { inset-inline: auto; right: var(--s-6); left: auto; } }

/* CTA band */
.cta-band { background: var(--navy-900); color: var(--white); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -8rem; top: -8rem; width: 26rem; height: 26rem; border-radius: 50%; border: 1px solid rgba(255,255,255,0.1); pointer-events: none; }
.cta-band::before { content: ""; position: absolute; right: -4rem; top: -4rem; width: 18rem; height: 18rem; border-radius: 50%; border: 1px solid rgba(233,162,59,0.35); pointer-events: none; }
.cta-band h2 { color: var(--white); max-width: 20ch; }
.cta-band p { color: #C9D3E0; max-width: 40rem; }
.cta-inner { display: grid; gap: var(--s-6); align-items: center; position: relative; }
@media (min-width: 56em) { .cta-inner { grid-template-columns: 1.3fr 0.7fr; } .cta-inner .cta-actions { justify-self: end; } }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.cta-contact { display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-6); margin-top: var(--s-4); font-size: var(--step--1); color: #C9D3E0; }
.cta-contact a { color: var(--white); text-decoration: none; font-weight: 600; }
.cta-contact a:hover { text-decoration: underline; }

/* Service page layout */
.service-layout { display: grid; gap: var(--s-10); }
@media (min-width: 72em) { .service-layout { grid-template-columns: minmax(0, 1fr) 19rem; align-items: start; } }
.sidebar { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: var(--s-5); }
.sidebar-card { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--s-5); background: var(--gray-50); }
.sidebar-card h2, .sidebar-card h3 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--eyebrow); margin-bottom: var(--s-3); }
.sidebar-card ul { list-style: none; margin: 0; padding: 0; }
.sidebar-card li { margin: 0 0 0.5rem; }
.sidebar-card a { text-decoration: none; color: var(--text-strong); font-weight: 500; font-size: 0.95rem; }
.sidebar-card a:hover { color: var(--teal-700); text-decoration: underline; }
.sidebar-cta { background: var(--navy-900); color: var(--white); border: 0; }
.sidebar-cta h2, .sidebar-cta h3 { color: var(--teal-300); }
.sidebar-cta p { color: #C9D3E0; font-size: 0.95rem; }
.two-col { display: grid; gap: var(--s-8); }
@media (min-width: 56em) { .two-col { grid-template-columns: 1fr 1fr; } }
.defn { display: grid; gap: var(--s-4); }
.defn > div { padding: var(--s-4) 0; border-top: 1px solid var(--border); display: grid; gap: var(--s-1); }
@media (min-width: 40em) { .defn > div { grid-template-columns: 11rem 1fr; gap: var(--s-4); } }
.defn dt { font-weight: 600; color: var(--text-strong); margin: 0; }
.defn dd { margin: 0; }

/* Academy specifics */
.event-strip { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 10.5rem), 1fr)); }
.event-item { padding: var(--s-5); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--white); }
.band-dark .event-item { background: rgba(255,255,255,0.05); }
.event-item .eyebrow { margin-bottom: var(--s-1); }
.event-item strong { font-size: var(--step-1); color: var(--text-strong); display: block; }
.event-item span { color: var(--text-muted); font-size: var(--step--1); }
.timeline { list-style: none; margin: 0; padding: 0; counter-reset: tl; display: grid; gap: 0; }
.timeline li { margin: 0; counter-increment: tl; position: relative; padding: 0 0 var(--s-6) 3.25rem; }
.timeline li::before { content: counter(tl); position: absolute; left: 0; top: 0; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--navy-900); color: var(--white); display: grid; place-items: center; font-weight: 600; font-size: 0.9rem; }
.timeline li::after { content: ""; position: absolute; left: 1.1rem; top: 2.4rem; bottom: 0.3rem; width: 2px; background: var(--border); }
.timeline li:last-child::after { display: none; }
.timeline h3 { font-size: var(--step-1); margin-bottom: var(--s-1); }
.timeline p { margin: 0; }
.band-dark .timeline li::before { background: var(--amber-500); color: var(--navy-900); }
.band-dark .timeline li::after { background: rgba(255,255,255,0.2); }

/* Logos / platforms */
.platform-list { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; margin: 0; padding: 0; }
.platform-list li { margin: 0; }
.platform-list span { display: inline-block; padding: 0.45rem 0.8rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.88rem; font-weight: 500; color: var(--text-strong); background: var(--white); }
.band-dark .platform-list span { background: rgba(255,255,255,0.06); color: var(--white); border-color: rgba(255,255,255,0.18); }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound .code { font-family: var(--font-display); font-size: clamp(4rem, 10vw, 8rem); color: var(--teal-100); line-height: 1; }

/* Figures */
figure { margin: 0; }
figcaption { font-size: 0.85rem; color: var(--text-muted); margin-top: var(--s-2); }
.img-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: var(--gray-50); }

/* 7. Print and motion ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
@media print {
  .site-header, .site-footer, .consent-banner, .cta-band, .nav-toggle, .hero-art { display: none !important; }
  body { color: #000; }
  a { color: #000; text-decoration: underline; }
  .section { padding-block: 1.5rem; }
}

/* 8. Spacing utilities (last, so they win over component margins) ---------- */
.mt-0 { margin-top: 0; } .mt-4 { margin-top: var(--s-4); } .mt-6 { margin-top: var(--s-6); } .mt-8 { margin-top: var(--s-8); } .mt-12 { margin-top: var(--s-12); }
.mb-0 { margin-bottom: 0; } .mb-4 { margin-bottom: var(--s-4); } .mb-6 { margin-bottom: var(--s-6); } .mb-8 { margin-bottom: var(--s-8); } .mb-12 { margin-bottom: var(--s-12); }
