/* Ruimtemeesters — legal/trust bundle. AUTO-GENERATED by legal/build.mjs.
   tokens.css + components.css (design-system) + legal.css. Do not edit here. */
/* Ruimtemeesters Holding design tokens — AUTO-GENERATED. Edit seeds + run `npm run build`. */
/* Brand: Ruimtemeesters — Kleine acties. Grote impact. */
:root {
  /* ===== Ramps (primitive) ===== */
  --brand-50: #F5F7FC;
  --brand-100: #EBEFF9;
  --brand-200: #CAD7F9;
  --brand-300: #94B2FF;
  --brand-400: #5C8AFF;
  --brand-500: #2462FF;
  --brand-600: #0046F7;
  --brand-700: #003ACC;
  --brand-800: #002EA3;
  --brand-900: #00237D;
  --brand-950: #041A50;
  --accent-50: #FCF8F5;
  --accent-100: #F9F1EC;
  --accent-200: #F7DCCD;
  --accent-300: #FABE99;
  --accent-400: #F79B64;
  --accent-500: #F37021;
  --accent-600: #EB600D;
  --accent-700: #C24F0A;
  --accent-800: #983E08;
  --accent-900: #773106;
  --accent-950: #4C2208;
  --neutral-50: #F7F4EF;
  --neutral-100: #F2F2F3;
  --neutral-200: #E0E0E3;
  --neutral-300: #C7C7CC;
  --neutral-400: #A9A9B1;
  --neutral-500: #8C8C97;
  --neutral-600: #757582;
  --neutral-700: #61616B;
  --neutral-800: #4C4C54;
  --neutral-900: #3B3B42;
  --neutral-950: #161620;
  --success-50: #F6FBF8;
  --success-100: #EDF8F1;
  --success-200: #D0F4DD;
  --success-300: #A1F2BF;
  --success-400: #6FEC9D;
  --success-500: #3EE57B;
  --success-600: #1DDA63;
  --success-700: #16A34A;
  --success-800: #138E40;
  --success-900: #0F6E32;
  --success-950: #0D4723;
  --warning-50: #FCF9F5;
  --warning-100: #F9F3EC;
  --warning-200: #F8E3CB;
  --warning-300: #FCCD97;
  --warning-400: #FBB360;
  --warning-500: #F9992A;
  --warning-600: #F18407;
  --warning-700: #D97706;
  --warning-800: #9C5604;
  --warning-900: #7A4303;
  --warning-950: #4E2D06;
  --danger-50: #FBF6F6;
  --danger-100: #F7EDED;
  --danger-200: #F3D1D1;
  --danger-300: #F0A3A3;
  --danger-400: #E87272;
  --danger-500: #E14242;
  --danger-600: #DC2626;
  --danger-700: #B01C1C;
  --danger-800: #8A1616;
  --danger-900: #6C1111;
  --danger-950: #450F0F;
  --info-50: #F6F8FC;
  --info-100: #ECF0F8;
  --info-200: #CEDAF5;
  --info-300: #9DB9F6;
  --info-400: #6A94F1;
  --info-500: #2563EB;
  --info-600: #1555E3;
  --info-700: #1146BB;
  --info-800: #0E3793;
  --info-900: #0B2B72;
  --info-950: #0B1E4A;
  /* ===== Data-viz / categorical ===== */
  --cat-1: #002EA3;
  --cat-2: #F37021;
  --cat-3: #7F00FF;
  --cat-4: #9C885C;
  --cat-5: #C3D7C1;
  --cat-6: #161620;
  --chart-grid: var(--border);
  --chart-axis: var(--muted-foreground);
  /* ===== Named brand colours (Klein Functional) ===== */
  --canvas: #FBFAF8;
  --paper-deep: #EFEADD;
  --rule: #C7C2B5;
  --rule-soft: #ECE7DA;
  --ink-soft: #2B2B36;
  --ink-muted: #55505F;
  --klein-deep: #001E6D;
  --klein-muted: #6682C8;
  --klein-tint: #EAF0FB;
  --pumpkin-deep: #C45712;
  --forest: #2D8659;
  --forest-deep: #2D6A4F;
  /* ===== Spacing ===== */
  --space-0: 0;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-7: 1.75rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-14: 3.5rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
  --space-40: 10rem;
  --space-px: 1px;
  --space-0-5: 0.125rem;
  --space-1-5: 0.375rem;
  --space-2-5: 0.625rem;
  --space-3-5: 0.875rem;
  /* ===== Radius ===== */
  --radius-none: 0;
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
  --radius: var(--radius-md);
  /* ===== Border width ===== */
  --border-w-0: 0;
  --border-w-1: 1px;
  --border-w-2: 2px;
  --border-w-4: 4px;
  /* ===== Font size ===== */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;
  /* ===== Line height ===== */
  --leading-none: 1;
  --leading-tight: 1.15;
  --leading-snug: 1.3;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;
  /* ===== Letter spacing ===== */
  --tracking-tighter: -0.02em;
  --tracking-tight: -0.01em;
  --tracking-normal: 0;
  --tracking-wide: 0.02em;
  --tracking-wider: 0.06em;
  --tracking-widest: 0.14em;
  /* ===== Font weight ===== */
  --weight-light: 300;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  /* ===== Font families ===== */
  --font-heading: 'Jost', 'Futura', 'Century Gothic', sans-serif;
  --font-body: 'Jost', 'Futura', 'Century Gothic', sans-serif;
  --font-serif: 'Abhaya Libre', Georgia, serif;
  --font-mono: ui-monospace, 'SF Mono', 'JetBrains Mono', 'Fira Code', Menlo, Consolas, monospace;
  /* ===== Shadow ===== */
  --shadow-xs: 0 1px 1px 0 rgb(0 0 0 / 0.04);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.06);
  --shadow-md: 0 4px 8px -2px rgb(0 0 0 / 0.10), 0 2px 4px -2px rgb(0 0 0 / 0.06);
  --shadow-lg: 0 12px 20px -4px rgb(0 0 0 / 0.12), 0 4px 8px -4px rgb(0 0 0 / 0.08);
  --shadow-xl: 0 24px 40px -8px rgb(0 0 0 / 0.18);
  --shadow-focus: 0 0 0 3px;
  /* ===== Motion duration ===== */
  --duration-instant: 0ms;
  --duration-fast: 120ms;
  --duration-normal: 200ms;
  --duration-slow: 320ms;
  /* ===== Motion easing ===== */
  --ease-linear: linear;
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-emphasized: cubic-bezier(0.2, 0, 0, 1);
  /* ===== Blur ===== */
  --blur-sm: 4px;
  --blur-md: 8px;
  --blur-lg: 16px;
  /* ===== Opacity ===== */
  --opacity-0: 0;
  --opacity-100: 1;
  --opacity-muted: 0.6;
  --opacity-disabled: 0.5;
  --opacity-hover: 0.08;
  --opacity-pressed: 0.16;
  /* ===== Z-index ===== */
  --z-base: 0;
  --z-raised: 10;
  --z-sticky: 1100;
  --z-dropdown: 1200;
  --z-overlay: 1300;
  --z-drawer: 1350;
  --z-modal: 1400;
  --z-popover: 1500;
  --z-toast: 1600;
  --z-tooltip: 1700;
  /* ===== Container ===== */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1180px;
  --container-prose: 68ch;
  /* ===== Component knobs ===== */
  --navbar-height: 4rem;
  --sidebar-width: 15rem;
  --focus-ring-width: 2px;
  --focus-ring-offset: 2px;
  --control-height-sm: 2rem;
  --control-height: 2.5rem;
  --control-height-lg: 3rem;
  /* ===== Semantic (light) ===== */
  --background: #F7F4EF;
  --foreground: #3B3B42;
  --surface: #FFFFFF;
  --surface-raised: #FFFFFF;
  --surface-sunken: #F2F2F3;
  --overlay: rgb(15 15 20 / 0.55);
  --card: #FFFFFF;
  --card-foreground: #3B3B42;
  --popover: #FFFFFF;
  --popover-foreground: #3B3B42;
  --muted: #F2F2F3;
  --muted-foreground: #61616B;
  --primary: #002EA3;
  --primary-foreground: #FFFFFF;
  --primary-hover: #002A96;
  --primary-active: #002789;
  --secondary: #F2F2F3;
  --secondary-foreground: #3B3B42;
  --secondary-hover: #E0E0E3;
  --accent: #F37021;
  --accent-foreground: #0B0B0F;
  --accent-hover: #E0671E;
  --destructive: #DC2626;
  --destructive-foreground: #FFFFFF;
  --success: #1DDA63;
  --success-foreground: #0B0B0F;
  --warning: #D97706;
  --warning-foreground: #0B0B0F;
  --info: #1555E3;
  --info-foreground: #FFFFFF;
  --border: #E0E0E3;
  --border-strong: #C7C7CC;
  --input: #C7C7CC;
  --ring: #002EA3;
  color-scheme: light;
}

.dark {
  /* ===== Semantic (dark) ===== */
  --background: #161620;
  --foreground: #F7F4EF;
  --surface: #3B3B42;
  --surface-raised: #4C4C54;
  --surface-sunken: #000000;
  --overlay: rgb(0 0 0 / 0.65);
  --card: #3B3B42;
  --card-foreground: #F7F4EF;
  --popover: #4C4C54;
  --popover-foreground: #F7F4EF;
  --muted: #4C4C54;
  --muted-foreground: #C7C7CC;
  --primary: #5C8AFF;
  --primary-foreground: #0B0B0F;
  --primary-hover: #6993FF;
  --primary-active: #769DFF;
  --secondary: #4C4C54;
  --secondary-foreground: #F7F4EF;
  --secondary-hover: #61616B;
  --accent: #F37021;
  --accent-foreground: #0B0B0F;
  --accent-hover: #F47B33;
  --destructive: #E14242;
  --destructive-foreground: #0B0B0F;
  --success: #3EE57B;
  --success-foreground: #0B0B0F;
  --warning: #FBB360;
  --warning-foreground: #0B0B0F;
  --info: #6A94F1;
  --info-foreground: #0B0B0F;
  --border: #4C4C54;
  --border-strong: #61616B;
  --input: #61616B;
  --ring: #5C8AFF;
  color-scheme: dark;
}

/* Honour OS preference when no explicit .light/.dark class is set. */
@media (prefers-color-scheme: dark) {
  :root:not(.light):not(.dark) {
    --background: #161620;
    --foreground: #F7F4EF;
    --surface: #3B3B42;
    --surface-raised: #4C4C54;
    --surface-sunken: #000000;
    --overlay: rgb(0 0 0 / 0.65);
    --card: #3B3B42;
    --card-foreground: #F7F4EF;
    --popover: #4C4C54;
    --popover-foreground: #F7F4EF;
    --muted: #4C4C54;
    --muted-foreground: #C7C7CC;
    --primary: #5C8AFF;
    --primary-foreground: #0B0B0F;
    --primary-hover: #6993FF;
    --primary-active: #769DFF;
    --secondary: #4C4C54;
    --secondary-foreground: #F7F4EF;
    --secondary-hover: #61616B;
    --accent: #F37021;
    --accent-foreground: #0B0B0F;
    --accent-hover: #F47B33;
    --destructive: #E14242;
    --destructive-foreground: #0B0B0F;
    --success: #3EE57B;
    --success-foreground: #0B0B0F;
    --warning: #FBB360;
    --warning-foreground: #0B0B0F;
    --info: #6A94F1;
    --info-foreground: #0B0B0F;
    --border: #4C4C54;
    --border-strong: #61616B;
    --input: #61616B;
    --ring: #5C8AFF;
    color-scheme: dark;
  }
}


/* ============================================================================
   Ruimtemeesters Holding — component library (brand-agnostic, token-driven).
   Every value resolves from a CSS variable defined in a brand's tokens.css,
   so the same stylesheet themes both Ruimtemeesters and Prophys, light + dark.
   Import order:  <brand>/tokens.css  THEN  components.css   (or use theme.css)
   ============================================================================ */

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

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  margin: 0 0 0.5em;
  color: var(--foreground);
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
hr { border: 0; border-top: var(--border-w-1) solid var(--border); margin: var(--space-6) 0; }
code, kbd, pre, samp { font-family: var(--font-mono); }

:focus-visible {
  outline: var(--focus-ring-width) solid var(--ring);
  outline-offset: var(--focus-ring-offset);
  border-radius: var(--radius-sm);
}

/* ---------- Text styles -------------------------------------------------- */
.text-display { font-family: var(--font-heading); font-size: var(--text-7xl); font-weight: var(--weight-bold); line-height: var(--leading-none); letter-spacing: var(--tracking-tighter); }
.text-h1 { font-family: var(--font-heading); font-size: var(--text-4xl); font-weight: var(--weight-bold); line-height: var(--leading-tight); }
.text-h2 { font-family: var(--font-heading); font-size: var(--text-3xl); font-weight: var(--weight-bold); line-height: var(--leading-tight); }
.text-h3 { font-family: var(--font-heading); font-size: var(--text-2xl); font-weight: var(--weight-semibold); line-height: var(--leading-snug); }
.text-h4 { font-family: var(--font-heading); font-size: var(--text-xl); font-weight: var(--weight-semibold); line-height: var(--leading-snug); }
.text-body-lg { font-size: var(--text-lg); line-height: var(--leading-relaxed); }
.text-body { font-size: var(--text-base); line-height: var(--leading-normal); }
.text-body-sm { font-size: var(--text-sm); line-height: var(--leading-normal); }
.text-caption { font-size: var(--text-xs); line-height: var(--leading-normal); color: var(--muted-foreground); }
.text-overline { font-family: var(--font-heading); font-size: var(--text-xs); font-weight: var(--weight-bold); text-transform: uppercase; letter-spacing: var(--tracking-widest); }
.text-mono { font-family: var(--font-mono); font-size: var(--text-sm); }
.text-muted { color: var(--muted-foreground); }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }

/* ---------- Layout helpers ---------------------------------------------- */
.container { width: 100%; max-width: var(--container-xl); margin-inline: auto; padding-inline: var(--space-6); }
.stack { display: flex; flex-direction: column; gap: var(--space-4); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.divider-text { display: flex; align-items: center; gap: var(--space-3); color: var(--muted-foreground); font-size: var(--text-sm); }
.divider-text::before, .divider-text::after { content: ''; flex: 1; border-top: var(--border-w-1) solid var(--border); }

/* ---------- Buttons ------------------------------------------------------ */
.btn {
  --_bg: var(--secondary); --_fg: var(--secondary-foreground); --_bg-hover: var(--secondary-hover);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  height: var(--control-height); padding: 0 var(--space-4);
  font-family: var(--font-heading); font-size: var(--text-sm); font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide); line-height: 1; white-space: nowrap;
  border: var(--border-w-1) solid transparent; border-radius: var(--radius);
  background: var(--_bg); color: var(--_fg); cursor: pointer;
  transition: background var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-out);
}
.btn:hover { background: var(--_bg-hover); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled='true'] { opacity: var(--opacity-disabled); cursor: not-allowed; transform: none; }
.btn-primary { --_bg: var(--primary); --_fg: var(--primary-foreground); --_bg-hover: var(--primary-hover); }
.btn-primary:active:not(:disabled) { background: var(--primary-active); }
.btn-accent { --_bg: var(--accent); --_fg: var(--accent-foreground); --_bg-hover: var(--accent-hover); }
.btn-secondary { --_bg: var(--secondary); --_fg: var(--secondary-foreground); --_bg-hover: var(--secondary-hover); }
.btn-destructive { --_bg: var(--destructive); --_fg: var(--destructive-foreground); --_bg-hover: color-mix(in srgb, var(--destructive) 88%, #000); }
.btn-success { --_bg: var(--success); --_fg: var(--success-foreground); --_bg-hover: color-mix(in srgb, var(--success) 88%, #000); }
.btn-outline { background: transparent; color: var(--foreground); border-color: var(--border-strong); }
.btn-outline:hover { background: var(--muted); }
.btn-ghost { background: transparent; color: var(--foreground); }
.btn-ghost:hover { background: var(--muted); }
.btn-link { background: transparent; color: var(--primary); height: auto; padding: 0; }
.btn-link:hover { background: transparent; text-decoration: underline; }
.btn-sm { height: var(--control-height-sm); padding: 0 var(--space-3); font-size: var(--text-xs); }
.btn-lg { height: var(--control-height-lg); padding: 0 var(--space-6); font-size: var(--text-base); }
.btn-icon { width: var(--control-height); padding: 0; }
.btn-icon.btn-sm { width: var(--control-height-sm); }
.btn-block { display: flex; width: 100%; }
.btn-loading { color: transparent !important; position: relative; pointer-events: none; }
.btn-loading::after {
  content: ''; position: absolute; width: 1em; height: 1em; border-radius: var(--radius-full);
  border: 2px solid color-mix(in srgb, currentColor 30%, transparent); border-top-color: var(--_fg);
  animation: ds-spin 0.6s linear infinite;
}
.btn-group { display: inline-flex; }
.btn-group .btn { border-radius: 0; border-left-width: 0; }
.btn-group .btn:first-child { border-top-left-radius: var(--radius); border-bottom-left-radius: var(--radius); border-left-width: var(--border-w-1); }
.btn-group .btn:last-child { border-top-right-radius: var(--radius); border-bottom-right-radius: var(--radius); }

/* ---------- Badges, tags, chips ----------------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: var(--space-1);
  padding: var(--space-0-5) var(--space-2); font-size: var(--text-xs); font-weight: var(--weight-semibold);
  line-height: 1.4; border-radius: var(--radius-full); background: var(--muted); color: var(--muted-foreground);
}
.badge-primary { background: color-mix(in srgb, var(--primary) 15%, transparent); color: var(--primary); }
.badge-accent { background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); }
.badge-success { background: color-mix(in srgb, var(--success) 18%, transparent); color: var(--success); }
.badge-warning { background: color-mix(in srgb, var(--warning) 22%, transparent); color: var(--warning); }
.badge-danger { background: color-mix(in srgb, var(--destructive) 16%, transparent); color: var(--destructive); }
.badge-solid { background: var(--primary); color: var(--primary-foreground); }
.badge-dot::before { content: ''; width: 0.45rem; height: 0.45rem; border-radius: var(--radius-full); background: currentColor; }
.tag {
  display: inline-flex; align-items: center; gap: var(--space-1-5); padding: var(--space-1) var(--space-2-5);
  font-size: var(--text-xs); border-radius: var(--radius-sm); background: var(--secondary); color: var(--secondary-foreground);
}
.tag button { background: none; border: 0; color: inherit; cursor: pointer; opacity: 0.6; font-size: 1em; line-height: 1; padding: 0; }
.tag button:hover { opacity: 1; }

/* ---------- Navbar ------------------------------------------------------- */
.navbar {
  position: sticky; top: 0; z-index: var(--z-sticky);
  background: color-mix(in srgb, var(--background) 86%, transparent);
  backdrop-filter: saturate(140%) blur(var(--blur-md));
  border-bottom: var(--border-w-1) solid var(--border);
}
.navbar-inner { display: flex; align-items: center; gap: var(--space-6); height: var(--navbar-height); max-width: var(--container-xl); margin: 0 auto; padding: 0 var(--space-6); }
.navbar-brand { display: inline-flex; align-items: center; gap: var(--space-2); font-family: var(--font-heading); font-weight: var(--weight-bold); font-size: var(--text-lg); letter-spacing: var(--tracking-wider); text-transform: uppercase; color: var(--foreground); }
.navbar-brand .dot { width: 0.85rem; height: 0.85rem; border-radius: var(--radius-sm); background: var(--primary); }
.navbar-links { display: flex; align-items: center; gap: var(--space-1); }
.nav-link { padding: var(--space-2) var(--space-3); border-radius: var(--radius-sm); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--muted-foreground); transition: color var(--duration-fast), background var(--duration-fast); }
.nav-link:hover { color: var(--foreground); background: var(--muted); text-decoration: none; }
.nav-link.active { color: var(--primary); background: color-mix(in srgb, var(--primary) 12%, transparent); }
.navbar-actions { display: flex; align-items: center; gap: var(--space-3); margin-left: auto; }

/* ---------- Sidebar (vertical nav) -------------------------------------- */
.sidebar { width: var(--sidebar-width); background: var(--surface); border-right: var(--border-w-1) solid var(--border); padding: var(--space-4); }
.sidebar-group + .sidebar-group { margin-top: var(--space-5); }
.sidebar-label { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--muted-foreground); font-weight: var(--weight-semibold); padding: var(--space-2) var(--space-3); }
.sidebar-link { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-3); border-radius: var(--radius-sm); color: var(--foreground); font-size: var(--text-sm); font-weight: var(--weight-medium); }
.sidebar-link:hover { background: var(--muted); text-decoration: none; }
.sidebar-link.active { background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary); }

/* ---------- Breadcrumb / tabs / segmented / pagination / stepper -------- */
.breadcrumb { display: flex; gap: var(--space-2); align-items: center; font-size: var(--text-sm); color: var(--muted-foreground); }
.breadcrumb a { color: var(--muted-foreground); }
.breadcrumb a:hover { color: var(--foreground); }
.breadcrumb .sep { opacity: 0.5; }

.tabs { display: flex; gap: var(--space-1); border-bottom: var(--border-w-1) solid var(--border); }
.tab { padding: var(--space-3) var(--space-4); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--muted-foreground); cursor: pointer; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; }
.tab:hover { color: var(--foreground); }
.tab.active { color: var(--primary); border-bottom-color: var(--primary); }

.segmented { display: inline-flex; padding: var(--space-0-5); background: var(--muted); border-radius: var(--radius); }
.segmented button { border: 0; background: none; cursor: pointer; padding: var(--space-1-5) var(--space-4); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--muted-foreground); border-radius: calc(var(--radius) - 2px); }
.segmented button.active { background: var(--surface); color: var(--foreground); box-shadow: var(--shadow-xs); }

.pagination { display: inline-flex; gap: var(--space-1); }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: var(--control-height-sm); height: var(--control-height-sm); padding: 0 var(--space-2); border-radius: var(--radius-sm); font-size: var(--text-sm); color: var(--foreground); border: var(--border-w-1) solid transparent; }
.pagination a:hover { background: var(--muted); text-decoration: none; }
.pagination .active { background: var(--primary); color: var(--primary-foreground); }
.pagination .disabled { opacity: var(--opacity-disabled); pointer-events: none; }

.stepper { display: flex; align-items: center; gap: var(--space-2); }
.step { display: flex; align-items: center; gap: var(--space-2); color: var(--muted-foreground); font-size: var(--text-sm); }
.step .num { width: 1.6rem; height: 1.6rem; border-radius: var(--radius-full); display: inline-flex; align-items: center; justify-content: center; font-size: var(--text-xs); font-weight: var(--weight-bold); background: var(--muted); color: var(--muted-foreground); }
.step.active .num { background: var(--primary); color: var(--primary-foreground); }
.step.done .num { background: var(--success); color: var(--success-foreground); }
.step.active { color: var(--foreground); }
.stepper .bar { width: 2rem; height: 2px; background: var(--border); }

/* ---------- Cards / list-group / stat ----------------------------------- */
.card { background: var(--card); color: var(--card-foreground); border: var(--border-w-1) solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.card-header { padding: var(--space-5) var(--space-5) 0; }
.card-body { padding: var(--space-5); }
.card-footer { padding: var(--space-4) var(--space-5); border-top: var(--border-w-1) solid var(--border); display: flex; gap: var(--space-3); align-items: center; }
.card-title { font-size: var(--text-lg); margin: 0 0 var(--space-1); }
.card-subtitle { color: var(--muted-foreground); font-size: var(--text-sm); margin: 0; }
.card-media { height: 9rem; background: linear-gradient(135deg, var(--primary), var(--accent)); }
.card-interactive { cursor: pointer; transition: box-shadow var(--duration-fast), transform var(--duration-fast), border-color var(--duration-fast); }
.card-interactive:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: var(--border-strong); }

.list-group { border: var(--border-w-1) solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--card); }
.list-group-item { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); border-bottom: var(--border-w-1) solid var(--border); }
.list-group-item:last-child { border-bottom: 0; }
.list-group-item.clickable { cursor: pointer; }
.list-group-item.clickable:hover { background: var(--muted); }

.stat { padding: var(--space-5); }
.stat-label { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--muted-foreground); font-weight: var(--weight-semibold); }
.stat-value { font-family: var(--font-heading); font-size: var(--text-4xl); font-weight: var(--weight-bold); line-height: 1.1; margin: var(--space-1) 0; }
.stat-delta { font-size: var(--text-sm); font-weight: var(--weight-semibold); }
.stat-delta.up { color: var(--success); }
.stat-delta.down { color: var(--destructive); }

/* ---------- Forms -------------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: var(--space-1-5); margin-bottom: var(--space-4); }
.label { font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--foreground); }
.label .req { color: var(--destructive); }
.hint { font-size: var(--text-xs); color: var(--muted-foreground); }
.input, .textarea, .select {
  width: 100%; height: var(--control-height); padding: 0 var(--space-3);
  font-family: var(--font-body); font-size: var(--text-sm); color: var(--foreground);
  background: var(--surface); border: var(--border-w-1) solid var(--input); border-radius: var(--radius);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}
.textarea { height: auto; min-height: 6rem; padding: var(--space-2-5) var(--space-3); resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--muted-foreground); }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--ring); box-shadow: var(--shadow-focus) color-mix(in srgb, var(--ring) 30%, transparent); }
.input:disabled, .textarea:disabled, .select:disabled { background: var(--muted); cursor: not-allowed; opacity: var(--opacity-muted); }
.input[readonly] { background: var(--muted); }
.input-sm { height: var(--control-height-sm); font-size: var(--text-xs); }
.input-lg { height: var(--control-height-lg); font-size: var(--text-base); }
.input-error { border-color: var(--destructive); }
.input-error:focus { box-shadow: var(--shadow-focus) color-mix(in srgb, var(--destructive) 30%, transparent); }
.input-success { border-color: var(--success); }
.input-group { display: flex; align-items: stretch; }
.input-group > .addon { display: inline-flex; align-items: center; padding: 0 var(--space-3); background: var(--muted); color: var(--muted-foreground); border: var(--border-w-1) solid var(--input); font-size: var(--text-sm); }
.input-group > .addon:first-child { border-right: 0; border-radius: var(--radius) 0 0 var(--radius); }
.input-group > .addon:last-child { border-left: 0; border-radius: 0 var(--radius) var(--radius) 0; }
.input-group > .input { border-radius: 0; }
.input-group > .input:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.input-group > .input:last-child { border-radius: 0 var(--radius) var(--radius) 0; }

.check { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); cursor: pointer; }
.check input { accent-color: var(--primary); width: 1.05rem; height: 1.05rem; }
fieldset { border: var(--border-w-1) solid var(--border); border-radius: var(--radius); padding: var(--space-4); }
legend { font-size: var(--text-sm); font-weight: var(--weight-semibold); padding: 0 var(--space-2); }

.switch { position: relative; display: inline-block; width: 2.6rem; height: 1.5rem; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .track { position: absolute; inset: 0; cursor: pointer; background: var(--input); border-radius: var(--radius-full); transition: background var(--duration-fast); }
.switch .track::before { content: ''; position: absolute; height: 1.1rem; width: 1.1rem; left: 0.2rem; top: 0.2rem; background: #fff; border-radius: var(--radius-full); transition: transform var(--duration-fast); }
.switch input:checked + .track { background: var(--primary); }
.switch input:checked + .track::before { transform: translateX(1.1rem); }

.range { width: 100%; accent-color: var(--primary); }

/* ---------- Alerts / banner --------------------------------------------- */
.alert { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-4); border: var(--border-w-1) solid var(--border); border-left-width: 3px; border-radius: var(--radius); background: var(--card); }
.alert-title { font-weight: var(--weight-semibold); margin: 0 0 var(--space-1); font-size: var(--text-sm); }
.alert-body { margin: 0; font-size: var(--text-sm); color: var(--muted-foreground); }
.alert-info { border-left-color: var(--info); background: color-mix(in srgb, var(--info) 8%, var(--card)); }
.alert-success { border-left-color: var(--success); background: color-mix(in srgb, var(--success) 8%, var(--card)); }
.alert-warning { border-left-color: var(--warning); background: color-mix(in srgb, var(--warning) 10%, var(--card)); }
.alert-danger { border-left-color: var(--destructive); background: color-mix(in srgb, var(--destructive) 8%, var(--card)); }
.banner { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-5); background: var(--primary); color: var(--primary-foreground); font-size: var(--text-sm); }
.banner .btn { margin-left: auto; }

/* ---------- Toast -------------------------------------------------------- */
.toast-stack { display: flex; flex-direction: column; gap: var(--space-3); }
.toast { display: flex; gap: var(--space-3); align-items: flex-start; min-width: 18rem; max-width: 24rem; padding: var(--space-3) var(--space-4); background: var(--popover); color: var(--popover-foreground); border: var(--border-w-1) solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.toast .accent { width: 3px; align-self: stretch; border-radius: var(--radius-full); background: var(--primary); }
.toast.success .accent { background: var(--success); }
.toast.danger .accent { background: var(--destructive); }

/* ---------- Tooltip ------------------------------------------------------ */
.tooltip { position: relative; }
.tooltip::after {
  content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%);
  background: var(--foreground); color: var(--background); font-size: var(--text-xs); white-space: nowrap;
  padding: var(--space-1) var(--space-2); border-radius: var(--radius-sm); opacity: 0; pointer-events: none;
  transition: opacity var(--duration-fast); z-index: var(--z-tooltip);
}
.tooltip:hover::after, .tooltip:focus-visible::after { opacity: 1; }

/* ---------- Menu / dropdown --------------------------------------------- */
.menu { min-width: 12rem; padding: var(--space-1); background: var(--popover); color: var(--popover-foreground); border: var(--border-w-1) solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.menu-item { display: flex; align-items: center; gap: var(--space-2); width: 100%; text-align: left; padding: var(--space-2) var(--space-3); border: 0; background: none; border-radius: var(--radius-sm); font-size: var(--text-sm); color: var(--popover-foreground); cursor: pointer; }
.menu-item:hover { background: var(--muted); }
.menu-item.danger { color: var(--destructive); }
.menu-separator { height: 1px; background: var(--border); margin: var(--space-1) 0; }
.menu-label { padding: var(--space-1-5) var(--space-3); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--muted-foreground); }
details.dropdown { position: relative; display: inline-block; }
details.dropdown > summary { list-style: none; cursor: pointer; }
details.dropdown > summary::-webkit-details-marker { display: none; }
details.dropdown[open] > .menu { position: absolute; top: calc(100% + 4px); left: 0; z-index: var(--z-dropdown); }

/* ---------- Modal / drawer ---------------------------------------------- */
.modal-backdrop { position: fixed; inset: 0; background: var(--overlay); z-index: var(--z-overlay); display: grid; place-items: center; padding: var(--space-4); }
.modal { width: 100%; max-width: 30rem; background: var(--popover); color: var(--popover-foreground); border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); border: var(--border-w-1) solid var(--border); }
.modal-header { padding: var(--space-5) var(--space-5) 0; display: flex; align-items: start; justify-content: space-between; gap: var(--space-3); }
.modal-body { padding: var(--space-4) var(--space-5); color: var(--muted-foreground); font-size: var(--text-sm); }
.modal-footer { padding: var(--space-4) var(--space-5); display: flex; gap: var(--space-3); justify-content: flex-end; border-top: var(--border-w-1) solid var(--border); }
.drawer-backdrop { position: fixed; inset: 0; background: var(--overlay); z-index: var(--z-drawer); }
.drawer { position: fixed; top: 0; right: 0; height: 100%; width: 22rem; max-width: 90vw; background: var(--surface); border-left: var(--border-w-1) solid var(--border); box-shadow: var(--shadow-xl); z-index: calc(var(--z-drawer) + 1); padding: var(--space-5); }

/* ---------- Accordion ---------------------------------------------------- */
.accordion { border: var(--border-w-1) solid var(--border); border-radius: var(--radius); overflow: hidden; }
.accordion details { border-bottom: var(--border-w-1) solid var(--border); }
.accordion details:last-child { border-bottom: 0; }
.accordion summary { list-style: none; cursor: pointer; padding: var(--space-3) var(--space-4); font-weight: var(--weight-medium); font-size: var(--text-sm); display: flex; justify-content: space-between; align-items: center; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: '+'; color: var(--muted-foreground); }
.accordion details[open] summary::after { content: '\2212'; }
.accordion .acc-body { padding: 0 var(--space-4) var(--space-4); font-size: var(--text-sm); color: var(--muted-foreground); }

/* ---------- Table -------------------------------------------------------- */
.table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.table th, .table td { text-align: left; padding: var(--space-3) var(--space-4); border-bottom: var(--border-w-1) solid var(--border); }
.table th { font-weight: var(--weight-semibold); color: var(--muted-foreground); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: var(--tracking-wide); }
.table tbody tr:hover { background: var(--muted); }
.table-striped tbody tr:nth-child(odd) { background: var(--surface-sunken); }
.table-compact th, .table-compact td { padding: var(--space-2) var(--space-3); }

/* ---------- Progress / spinner / skeleton ------------------------------- */
.progress { height: 0.6rem; background: var(--muted); border-radius: var(--radius-full); overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--primary); border-radius: inherit; }
.progress.indeterminate > span { width: 40%; animation: ds-indet 1.2s var(--ease-in-out) infinite; }
.spinner { width: 1.25rem; height: 1.25rem; border-radius: var(--radius-full); border: 2px solid var(--muted); border-top-color: var(--primary); animation: ds-spin 0.6s linear infinite; display: inline-block; }
.skeleton { background: var(--muted); border-radius: var(--radius-sm); position: relative; overflow: hidden; }
.skeleton::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--foreground) 8%, transparent), transparent); animation: ds-shimmer 1.4s infinite; }
.skeleton-text { height: 0.8rem; margin: 0.35rem 0; }

/* ---------- Avatar / kbd / code / timeline / empty ---------------------- */
.avatar { width: 2.5rem; height: 2.5rem; border-radius: var(--radius-full); display: inline-flex; align-items: center; justify-content: center; background: var(--primary); color: var(--primary-foreground); font-family: var(--font-heading); font-weight: var(--weight-bold); font-size: var(--text-sm); }
.avatar-group { display: inline-flex; }
.avatar-group .avatar { border: 2px solid var(--background); margin-left: -0.6rem; }
.avatar-group .avatar:first-child { margin-left: 0; }
kbd { display: inline-block; padding: 1px var(--space-1-5); font-size: var(--text-xs); background: var(--muted); border: var(--border-w-1) solid var(--border-strong); border-bottom-width: 2px; border-radius: var(--radius-sm); color: var(--foreground); }
pre.code { background: var(--surface-sunken); border: var(--border-w-1) solid var(--border); border-radius: var(--radius); padding: var(--space-4); overflow: auto; font-size: var(--text-sm); color: var(--foreground); }
.timeline { position: relative; padding-left: var(--space-6); }
.timeline::before { content: ''; position: absolute; left: 0.4rem; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding-bottom: var(--space-5); }
.timeline-item::before { content: ''; position: absolute; left: calc(-1 * var(--space-6) + 0.15rem); top: 0.2rem; width: 0.6rem; height: 0.6rem; border-radius: var(--radius-full); background: var(--primary); box-shadow: 0 0 0 3px var(--background); }
.empty-state { text-align: center; padding: var(--space-12) var(--space-6); color: var(--muted-foreground); }
.empty-state .icon { width: 3rem; height: 3rem; border-radius: var(--radius-full); background: var(--muted); margin: 0 auto var(--space-4); display: grid; place-items: center; }

/* ---------- Helpers ------------------------------------------------------ */
.muted-text { color: var(--muted-foreground); }
.surface { background: var(--surface); border: var(--border-w-1) solid var(--border); border-radius: var(--radius-lg); }

/* ---------- Animations --------------------------------------------------- */
@keyframes ds-spin { to { transform: rotate(360deg); } }
@keyframes ds-shimmer { 100% { transform: translateX(100%); } }
@keyframes ds-indet { 0% { margin-left: -40%; } 100% { margin-left: 100%; } }

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


/* ============================================================================
   Legal / Trust site — page-specific styles.
   Loaded AFTER <brand>/tokens.css + components.css, so every value resolves
   from a brand token and themes per brand automatically.
   ============================================================================ */

body { min-height: 100vh; display: flex; flex-direction: column; }

/* Skip link for keyboard users */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: var(--z-toast);
  background: var(--primary); color: var(--primary-foreground);
  padding: var(--space-2) var(--space-4); border-radius: var(--radius);
}
.skip-link:focus { left: var(--space-4); top: var(--space-4); text-decoration: none; }

/* ---------- Brand bar ---------------------------------------------------- */
.site-header { border-bottom: var(--border-w-1) solid var(--border); background: var(--surface); }
.site-header .navbar-inner { gap: var(--space-4); }
.brand-logo { display: inline-flex; align-items: center; gap: var(--space-3); }
.brand-logo img { height: 30px; width: auto; display: block; }
.brand-kicker {
  font-family: var(--font-heading); font-size: var(--text-xs); font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest); text-transform: uppercase; color: var(--muted-foreground);
  padding-left: var(--space-3); margin-left: var(--space-1);
  border-left: var(--border-w-1) solid var(--border);
}
.site-header .navbar-links { margin-left: auto; flex-wrap: wrap; }
@media (max-width: 720px) {
  .brand-kicker { display: none; }
  .site-header .navbar-links { display: none; }
}

/* ---------- Draft banner ------------------------------------------------- */
.draft-banner {
  background: color-mix(in srgb, var(--warning) 16%, var(--background));
  border-bottom: var(--border-w-1) solid color-mix(in srgb, var(--warning) 40%, transparent);
  color: var(--foreground);
}
.draft-banner .container { padding-block: var(--space-2); font-size: var(--text-sm); }

/* ---------- Page layout -------------------------------------------------- */
main { flex: 1; padding-block: var(--space-10) var(--space-16); }
.page-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-10); align-items: start; }
@media (min-width: 960px) {
  .page-grid.has-toc { grid-template-columns: minmax(0, 1fr) 16rem; }
}

.breadcrumb-nav { font-size: var(--text-sm); color: var(--muted-foreground); margin-bottom: var(--space-4); }
.breadcrumb-nav a { color: var(--muted-foreground); }
.breadcrumb-nav a:hover { color: var(--primary); }

.page-head { margin-bottom: var(--space-8); }
.page-head h1 { font-size: var(--text-4xl); margin-bottom: var(--space-3); }
.page-meta { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-3); align-items: center; }
.page-lede { font-size: var(--text-lg); color: var(--muted-foreground); line-height: var(--leading-relaxed); margin-top: var(--space-5); max-width: var(--container-prose); }

/* ---------- Prose -------------------------------------------------------- */
.prose { max-width: var(--container-prose); }
.prose section { scroll-margin-top: calc(var(--navbar-height) + var(--space-6)); }
.prose section + section { margin-top: var(--space-10); }
.prose h2 { font-size: var(--text-2xl); margin-bottom: var(--space-3); padding-top: var(--space-2); }
.prose h3 { font-size: var(--text-lg); margin: var(--space-6) 0 var(--space-2); }
.prose p { margin: 0 0 var(--space-4); line-height: var(--leading-relaxed); }
.prose ul, .prose ol { margin: 0 0 var(--space-4); padding-left: var(--space-6); line-height: var(--leading-relaxed); }
.prose li { margin-bottom: var(--space-2); }
.prose li::marker { color: var(--muted-foreground); }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--foreground); }
.prose .table-wrap { overflow-x: auto; margin-bottom: var(--space-4); }
.prose table { width: 100%; }
.prose .card { box-shadow: none; }

/* Placeholder marker — every fact only the firm can confirm is wrapped here. */
mark.ph {
  background: color-mix(in srgb, var(--warning) 30%, var(--surface));
  color: var(--foreground); padding: 0.05em 0.4em; border-radius: var(--radius-sm);
  font-style: normal; font-weight: var(--weight-medium);
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}

/* Callout (built on the kit's .alert tokens) */
.callout {
  border: var(--border-w-1) solid var(--border); border-left: var(--border-w-4) solid var(--primary);
  background: var(--surface); border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5); margin: 0 0 var(--space-4);
}
.callout p:last-child { margin-bottom: 0; }

/* ---------- Table of contents ------------------------------------------- */
.toc { position: sticky; top: calc(var(--navbar-height) + var(--space-6)); }
.toc-label {
  font-family: var(--font-heading); font-size: var(--text-xs); font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest); text-transform: uppercase; color: var(--muted-foreground);
  margin-bottom: var(--space-3);
}
.toc ol { list-style: none; margin: 0; padding: 0; border-left: var(--border-w-2) solid var(--border); }
.toc li { margin: 0; }
.toc a {
  display: block; padding: var(--space-1-5) var(--space-3); margin-left: -2px;
  border-left: var(--border-w-2) solid transparent;
  font-size: var(--text-sm); color: var(--muted-foreground); text-decoration: none; line-height: var(--leading-snug);
}
.toc a:hover { color: var(--foreground); }
.toc a.active { color: var(--primary); border-left-color: var(--primary); font-weight: var(--weight-medium); }
@media (max-width: 959px) { .toc { display: none; } }

/* ---------- Landing / index --------------------------------------------- */
.hero { padding-block: var(--space-12) var(--space-8); }
.hero h1 { font-size: var(--text-5xl); margin-bottom: var(--space-4); }
.hero p { font-size: var(--text-lg); color: var(--muted-foreground); max-width: var(--container-prose); line-height: var(--leading-relaxed); }
.brand-cards { display: grid; grid-template-columns: 1fr; gap: var(--space-6); margin-top: var(--space-2); }
@media (min-width: 820px) { .brand-cards { grid-template-columns: 1fr 1fr; } }
.brand-card { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-6); height: 100%; }
.brand-card .swatch { width: 2.5rem; height: 2.5rem; border-radius: var(--radius-md); }
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: var(--space-3); }
.doc-tile {
  display: flex; flex-direction: column; gap: var(--space-1); padding: var(--space-4) var(--space-5);
  border: var(--border-w-1) solid var(--border); border-radius: var(--radius-lg); background: var(--card);
  text-decoration: none; color: var(--foreground); transition: border-color var(--duration-fast), box-shadow var(--duration-fast), transform var(--duration-fast);
}
.doc-tile:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-2px); text-decoration: none; }
.doc-tile .doc-title { font-family: var(--font-heading); font-weight: var(--weight-semibold); }
.doc-tile .doc-desc { font-size: var(--text-sm); color: var(--muted-foreground); line-height: var(--leading-snug); }

/* ---------- Footer ------------------------------------------------------- */
.site-footer { border-top: var(--border-w-1) solid var(--border); background: var(--surface-sunken); margin-top: var(--space-16); }
.site-footer .container { padding-block: var(--space-10); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-8); }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-col h4 { font-size: var(--text-sm); text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--muted-foreground); margin-bottom: var(--space-3); }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: var(--space-2); }
.footer-col a { color: var(--foreground); font-size: var(--text-sm); }
.footer-col a:hover { color: var(--primary); }
.footer-meta { margin-top: var(--space-8); padding-top: var(--space-5); border-top: var(--border-w-1) solid var(--border); color: var(--muted-foreground); font-size: var(--text-sm); display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); justify-content: space-between; }
.footer-brand-name { font-family: var(--font-heading); font-weight: var(--weight-bold); letter-spacing: var(--tracking-wider); text-transform: uppercase; }
