/* ==========================================================================
   Showcase — front-end prototype
   Tokens → base → layout → components → views. Company accents come from
   .c-xcf / .c-avz / .c-rad, which set --c and --c-soft for any child.
   ========================================================================== */

:root {
  color-scheme: light;
  /* Light surfaces read --b-* first, so a company skin (html[data-brand]) can restyle them. */
  --bg: var(--b-bg, #f5f3ee);
  --bg-elev: #ffffff;
  --surface: #ffffff;
  --surface-2: var(--b-surface-2, #efece5);
  --surface-3: var(--b-surface-3, #e5e1d7);
  --line: var(--b-line, rgba(18, 20, 28, .10));
  --line-strong: var(--b-line-strong, rgba(18, 20, 28, .20));
  --text: var(--b-text, #12141c);
  --text-2: var(--b-text-2, #444a5b);
  --text-3: var(--b-text-3, #5d6477);
  --ink: var(--b-ink, #12141c);
  --on-ink: #ffffff;
  /* Company colours, from each company's own site CSS. */
  --xcf: #c8211f; --xcf-soft: rgba(224, 40, 38, .10);
  --avz: #2468b5; --avz-soft: rgba(43, 117, 200, .11);
  --rad: #5b2ee0; --rad-soft: rgba(91, 46, 224, .10);
  --ok: #15803d; --ok-soft: rgba(21, 128, 61, .12);
  --warn: #a16207; --warn-soft: rgba(161, 98, 7, .13);
  --danger: #b91c1c; --danger-soft: rgba(185, 28, 28, .11);
  --info: #1d4ed8; --info-soft: rgba(29, 78, 216, .11);
  --shadow-1: 0 1px 2px rgba(16, 18, 27, .06), 0 1px 1px rgba(16, 18, 27, .04);
  --shadow-2: 0 14px 34px -16px rgba(16, 18, 27, .22);
  --shadow-3: 0 34px 70px -24px rgba(16, 18, 27, .38);
  --scrim: rgba(8, 10, 16, .55);

  /* The hero "stage" stays dark in both themes. */
  --stage: #0c0e16;
  --stage-2: #141826;
  --stage-text: #f1f3f9;
  --stage-text-2: #b7bdcd;
  --stage-line: rgba(255, 255, 255, .10);
  --stage-xcf: #f26462; --stage-avz: #5b9be0; --stage-rad: #a78bfa;
  --glow-1: var(--stage-xcf); --glow-2: var(--stage-avz); --glow-3: var(--stage-rad);
  --hero-grad: linear-gradient(100deg, var(--stage-xcf), var(--stage-rad) 55%, var(--stage-avz));

  --f-display: 'Bricolage Grotesque', 'Plus Jakarta Sans', system-ui, sans-serif;
  --f-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --r-sm: 8px; --r-md: 12px; --r-lg: 18px; --r-xl: 28px; --r-btn: 999px;
  --header-h: 64px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in: cubic-bezier(.4, 0, 1, 1);
  --t-fast: 160ms; --t-med: 240ms;
  --z-header: 40; --z-banner: 30; --z-toast: 100; --z-watermark: 20;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0a0c12; --bg-elev: #10131b; --surface: #131722; --surface-2: #191e2b; --surface-3: #222839;
    --line: rgba(255, 255, 255, .08); --line-strong: rgba(255, 255, 255, .16);
    --text: #eef0f6; --text-2: #b3b9ca; --text-3: #8d95a9;
    --ink: var(--b-ink-dark, #eef0f6); --on-ink: #0a0c12;
    --xcf: #f26462; --xcf-soft: rgba(242, 100, 98, .13);
    --avz: #6aa6e8; --avz-soft: rgba(106, 166, 232, .13);
    --rad: #a78bfa; --rad-soft: rgba(167, 139, 250, .13);
    --ok: #4ade80; --ok-soft: rgba(74, 222, 128, .12);
    --warn: #fbbf24; --warn-soft: rgba(251, 191, 36, .12);
    --danger: #f87171; --danger-soft: rgba(248, 113, 113, .12);
    --info: #60a5fa; --info-soft: rgba(96, 165, 250, .12);
    --shadow-1: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-2: 0 18px 40px -18px rgba(0, 0, 0, .7);
    --shadow-3: 0 40px 80px -24px rgba(0, 0, 0, .8);
    --stage: #07080d; --stage-2: #0f1220;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a0c12; --bg-elev: #10131b; --surface: #131722; --surface-2: #191e2b; --surface-3: #222839;
  --line: rgba(255, 255, 255, .08); --line-strong: rgba(255, 255, 255, .16);
  --text: #eef0f6; --text-2: #b3b9ca; --text-3: #8d95a9;
  --ink: var(--b-ink-dark, #eef0f6); --on-ink: #0a0c12;
  --xcf: #f26462; --xcf-soft: rgba(242, 100, 98, .13);
  --avz: #6aa6e8; --avz-soft: rgba(106, 166, 232, .13);
  --rad: #a78bfa; --rad-soft: rgba(167, 139, 250, .13);
  --ok: #4ade80; --ok-soft: rgba(74, 222, 128, .12);
  --warn: #fbbf24; --warn-soft: rgba(251, 191, 36, .12);
  --danger: #f87171; --danger-soft: rgba(248, 113, 113, .12);
  --info: #60a5fa; --info-soft: rgba(96, 165, 250, .12);
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-2: 0 18px 40px -18px rgba(0, 0, 0, .7);
  --shadow-3: 0 40px 80px -24px rgba(0, 0, 0, .8);
  --stage: #07080d; --stage-2: #0f1220;
}

/* ---------- Company skins (html[data-brand]) ----------
   Fonts, colours and shapes taken from each company's live site CSS.
   Surfaces apply in light mode; the stage, accents and fonts apply in both. */
:root[data-brand="xcf"] {
  --f-display: 'Geist', 'Plus Jakarta Sans', system-ui, sans-serif;
  --f-body: 'Geist', 'Plus Jakarta Sans', system-ui, sans-serif;
  --b-bg: #f6f5f2; --b-surface-2: #efede8; --b-surface-3: #e6e6ea; --b-line: #e6e6ea; --b-line-strong: #d4d5db;
  --b-text: #17171c; --b-text-2: #3b3d45; --b-text-3: #5f636e;
  --b-ink: #e02826; --b-ink-dark: #f26462;
  --r-btn: 10px; --r-lg: 14px; --r-xl: 20px;
  --stage: #1e1e23; --stage-2: #2a2a30; --stage-text-2: #c9cad1;
  --glow-1: #e02826; --glow-2: #7040aa; --glow-3: #1c7c78;
  --hero-grad: linear-gradient(100deg, #ff7a75, #e02826 55%, #f0a03c);
}
:root[data-brand="avz"] {
  --f-display: 'Poppins', 'Inter', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, sans-serif;
  --b-bg: #f7f9fd; --b-surface-2: #edf3fb; --b-surface-3: #dde5f0; --b-line: #dde5f0; --b-line-strong: #c9d6e8;
  --b-text: #1a2535; --b-text-2: #3e4c66; --b-text-3: #56657f;
  --b-ink: #2b75c8; --b-ink-dark: #6aa6e8;
  --r-btn: 999px; --r-lg: 14px; --r-xl: 24px;
  --stage: #0e3270; --stage-2: #1a4f96; --stage-text-2: #c9d8ee; --stage-line: rgba(255, 255, 255, .14);
  --glow-1: #2b75c8; --glow-2: #f26b1f; --glow-3: #2c7a8c;
  --hero-grad: linear-gradient(100deg, #8cc0f5, #ffffff 45%, #f6914f);
}
:root[data-brand="rad"] {
  --f-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, sans-serif;
  --b-bg: #f5f6fb; --b-surface-2: #eef0f8; --b-surface-3: #e6e8f2; --b-line: #e6e8f2; --b-line-strong: #d3d7e8;
  --b-text: #0d1330; --b-text-2: #3b4366; --b-text-3: #5a6286;
  --b-ink: #5b2ee0; --b-ink-dark: #a78bfa;
  --r-btn: 10px; --r-lg: 16px; --r-xl: 24px;
  --stage: #070b24; --stage-2: #0e1438; --stage-text-2: #b9bfda;
  --glow-1: #5b2ee0; --glow-2: #1e7fd6; --glow-3: #7c4dff;
  --hero-grad: linear-gradient(110deg, #b49cff 0%, #7c4dff 45%, #4fa8f0 100%);
}
:root[data-brand] body { transition: background-color var(--t-med); }

.c-xcf { --c: var(--xcf); --c-soft: var(--xcf-soft); --c-stage: var(--stage-xcf); }
.c-avz { --c: var(--avz); --c-soft: var(--avz-soft); --c-stage: var(--stage-avz); }
.c-rad { --c: var(--rad); --c-soft: var(--rad-soft); --c-stage: var(--stage-rad); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 72px); }
body {
  margin: 0; min-height: 100dvh; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2.5px solid var(--info); outline-offset: 2px; border-radius: 6px; }
/* Headings and <main> take programmatic focus on route change; no ring needed there. */
#app:focus, [tabindex="-1"]:focus { outline: none; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.12; margin: 0; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: var(--on-ink); padding: 10px 16px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }
.ico { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ico-sm { width: 16px; height: 16px; }
.ico-lg { width: 24px; height: 24px; }
.mono { font-family: var(--f-mono); font-feature-settings: 'zero' 1; }
.muted { color: var(--text-2); }
.faint { color: var(--text-3); }
.tnum { font-variant-numeric: tabular-nums; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 24px; } }
@media (min-width: 1024px) { .wrap { padding: 0 32px; } }

/* ---------- Buttons, pills, inputs ---------- */
.btn {
  --btn-bg: var(--surface); --btn-fg: var(--text); --btn-bd: var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border-radius: var(--r-btn); border: 1px solid var(--btn-bd); background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: 15px; white-space: nowrap; touch-action: manipulation;
  transition: transform var(--t-fast) var(--ease-out), background var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}
.btn:hover { border-color: var(--text-3); }
.btn:active { transform: scale(.97); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }
.btn-primary { --btn-bg: var(--ink); --btn-fg: var(--on-ink); --btn-bd: var(--ink); box-shadow: var(--shadow-1); }
.btn-primary:hover { box-shadow: var(--shadow-2); border-color: var(--ink); }
.btn-accent { --btn-bg: var(--c, var(--ink)); --btn-fg: #fff; --btn-bd: var(--c, var(--ink)); }
:root[data-theme="dark"] .btn-accent { --btn-fg: #0a0c12; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-accent { --btn-fg: #0a0c12; } }
.btn-ghost { --btn-bg: transparent; --btn-bd: transparent; }
.btn-ghost:hover { --btn-bg: var(--surface-2); border-color: transparent; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-icon { width: 44px; padding: 0; }
.btn .spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.pill {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; background: var(--surface-2); color: var(--text-2); white-space: nowrap;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill-live { background: var(--ok-soft); color: var(--ok); }
.pill-beta { background: var(--info-soft); color: var(--info); }
.pill-dev { background: var(--warn-soft); color: var(--warn); }
.pill-danger { background: var(--danger-soft); color: var(--danger); }
.pill-co { background: var(--c-soft); color: var(--c); }
.tag { font: 500 12px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }

.field { display: grid; gap: 6px; }
.field label, .field .label { font-size: 14px; font-weight: 600; }
.field .req { color: var(--danger); margin-left: 2px; }
.input, .select, .textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; border-radius: var(--r-md); border: 1px solid var(--line-strong);
  background: var(--bg-elev); color: var(--text); font-size: 16px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.textarea { min-height: 96px; resize: vertical; }
.select { appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%), linear-gradient(135deg, var(--text-3) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--info); box-shadow: 0 0 0 4px var(--info-soft); }
.input::placeholder, .textarea::placeholder { color: var(--text-3); }
.field.invalid .input, .field.invalid .select, .field.invalid .textarea { border-color: var(--danger); }
.field .help { font-size: 13px; color: var(--text-3); }
.field .error { font-size: 13px; color: var(--danger); display: none; align-items: center; gap: 6px; }
.field.invalid .error { display: flex; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex: none; cursor: pointer; }
.check input:disabled { cursor: not-allowed; }
.input-wrap { position: relative; }
.input-wrap .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-3); pointer-events: none; }
.input-wrap .input { padding-left: 42px; }
.input-wrap .suffix { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); }
.card-pad { padding: 20px; }
@media (min-width: 768px) { .card-pad { padding: 28px; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header); height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 19px/1 var(--f-display); letter-spacing: -.02em; min-height: 44px; }
.brand-mark { position: relative; width: 30px; height: 30px; }
.brand-mark i { position: absolute; width: 14px; height: 14px; border-radius: 50%; mix-blend-mode: multiply; }
:root[data-theme="dark"] .brand-mark i { mix-blend-mode: screen; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand-mark i { mix-blend-mode: screen; } }
.brand-mark i:nth-child(1) { left: 0; top: 3px; background: var(--xcf); }
.brand-mark i:nth-child(2) { right: 0; top: 3px; background: var(--avz); }
.brand-mark i:nth-child(3) { left: 8px; bottom: 1px; background: var(--rad); }
.brand small { font: 500 11px/1 var(--f-mono); color: var(--text-3); letter-spacing: .04em; margin-left: 2px; }
.nav { display: none; gap: 4px; margin-left: 12px; }
.nav a, .nav button { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--text-2); transition: background var(--t-fast), color var(--t-fast); }
.nav a:hover, .nav button:hover { background: var(--surface-2); color: var(--text); }
.nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
@media (min-width: 900px) { .nav { display: flex; } }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.who { display: none; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-2); }
@media (min-width: 640px) { .who { display: inline-flex; } }

/* ---------- Hero stage ---------- */
.stage {
  position: relative; isolation: isolate; overflow: hidden; margin: 12px 12px 0; border-radius: var(--r-xl);
  background: var(--stage); color: var(--stage-text);
}
@media (min-width: 768px) { .stage { margin: 16px 16px 0; } }
.stage .aurora { position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1; pointer-events: none; }
.stage .aurora span { position: absolute; width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; border-radius: 50%; filter: blur(80px); opacity: .5; }
.stage .aurora span:nth-child(1) { background: var(--glow-1); left: -6%; top: 6%; animation: drift1 22s var(--ease-out) infinite alternate; }
.stage .aurora span:nth-child(2) { background: var(--glow-2); right: -4%; top: -8%; opacity: .38; animation: drift2 26s var(--ease-out) infinite alternate; }
.stage .aurora span:nth-child(3) { background: var(--glow-3); left: 34%; top: 34%; opacity: .45; animation: drift3 30s var(--ease-out) infinite alternate; }
@keyframes drift1 { to { transform: translate(8%, 12%) scale(1.1); } }
@keyframes drift2 { to { transform: translate(-10%, 14%) scale(.9); } }
@keyframes drift3 { to { transform: translate(6%, -16%) scale(1.15); } }
.stage .gridlines {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--stage-line) 1px, transparent 1px), linear-gradient(90deg, var(--stage-line) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.stage::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(7, 8, 13, .7)); pointer-events: none; }
.hero { padding: 56px 0 28px; }
@media (min-width: 768px) { .hero { padding: 88px 0 40px; } }
.eyebrow {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px;
  border: 1px solid var(--stage-line); background: rgba(255, 255, 255, .04); font-size: 13px; color: var(--stage-text-2);
}
.eyebrow b { background: rgba(255, 255, 255, .1); color: var(--stage-text); padding: 3px 10px; border-radius: 999px; font-weight: 600; }
.hero h1 { font-size: clamp(2.5rem, 7.2vw, 5.6rem); font-weight: 800; letter-spacing: -.035em; line-height: .98; margin: 22px 0 0; max-width: 14ch; }
.hero h1 em { font-style: normal; background: var(--hero-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { margin-top: 20px; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--stage-text-2); max-width: 60ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.stage .btn { --btn-bg: rgba(255, 255, 255, .06); --btn-fg: var(--stage-text); --btn-bd: rgba(255, 255, 255, .18); }
.stage .btn:hover { --btn-bg: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); }
.stage .btn-primary { --btn-bg: #f1f3f9; --btn-fg: #0c0e16; --btn-bd: #f1f3f9; }
:root[data-brand] .stage .btn-primary { --btn-bg: var(--b-ink); --btn-fg: #fff; --btn-bd: var(--b-ink); }
:root[data-brand] .stage .btn-primary:hover { --btn-bg: var(--b-ink); filter: brightness(1.08); }
.stage .btn-primary:hover { --btn-bg: #fff; border-color: #fff; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 44px; border-radius: var(--r-lg); overflow: hidden; background: var(--stage-line); border: 1px solid var(--stage-line); }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: rgba(12, 14, 22, .72); padding: 18px 20px; }
.stat b { display: block; font: 700 clamp(1.8rem, 3.4vw, 2.6rem)/1 var(--f-display); letter-spacing: -.03em; }
.stat span { font-size: 13.5px; color: var(--stage-text-2); }

.companies { display: grid; gap: 12px; padding: 0 0 28px; }
@media (min-width: 900px) { .companies { grid-template-columns: repeat(3, 1fr); padding-bottom: 40px; } }
.co-card {
  position: relative; display: grid; gap: 14px; text-align: left; padding: 22px; border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid var(--stage-line);
  transition: transform var(--t-med) var(--ease-out), border-color var(--t-med);
}
.co-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c-stage) 55%, transparent); }
.co-card[aria-pressed="true"] { border-color: var(--c-stage); box-shadow: 0 0 0 1px var(--c-stage), 0 20px 50px -24px var(--c-stage); }
.co-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 2px; border-radius: var(--r-lg) var(--r-lg) 0 0; background: linear-gradient(90deg, transparent, var(--c-stage), transparent); opacity: .8; }
.co-top { display: flex; align-items: center; gap: 12px; }
.co-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; font: 800 15px/1 var(--f-display); color: #0c0e16; background: var(--c-stage); }
.co-top h3 { font-size: 20px; }
.co-top p { font-size: 13.5px; color: var(--stage-text-2); }
.co-blurb { font-size: 14.5px; color: var(--stage-text-2); }
.co-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; }
.co-foot b { font-family: var(--f-display); font-size: 22px; }
.co-foot .go { display: inline-flex; align-items: center; gap: 6px; color: var(--c-stage); font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
@media (min-width: 768px) { .section { padding: 96px 0; } }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.section-head p { color: var(--text-2); max-width: 56ch; margin-top: 8px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font: 600 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.kicker::before { content: ''; width: 18px; height: 1.5px; background: currentColor; }

/* ---------- Catalogue toolbar ---------- */
.toolbar {
  display: grid; gap: 12px; padding: 12px; margin: 0 -4px 24px;
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.toolbar-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.toolbar .input-wrap { flex: 1 1 220px; }
.toolbar .input { min-height: 44px; border-radius: var(--r-btn); }
.seg { display: inline-flex; padding: 4px; gap: 2px; border-radius: var(--r-btn); background: var(--surface-2); border: 1px solid var(--line); }
.seg button { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: calc(var(--r-btn) - 3px); font-size: 14px; font-weight: 600; color: var(--text-2); transition: background var(--t-fast), color var(--t-fast); }
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"], .seg button[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-1); }
.seg .co-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.seg .lbl { display: none; }
.seg .lbl-short { font: 600 12.5px/1 var(--f-mono); }
@media (min-width: 560px) { .seg .lbl { display: inline; } .seg .lbl-short { display: none; } }
.view-seg { margin-left: auto; }
.chips { display: none; flex-wrap: wrap; gap: 8px; }
@media (min-width: 768px) { .chips { display: flex; } .industry-select { display: none; } }
.industry-select { flex: 1 1 200px; }
.industry-select .select { min-height: 44px; border-radius: var(--r-btn); }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: var(--r-btn); font-size: 13.5px; font-weight: 500;
  border: 1px solid var(--line); background: var(--surface); color: var(--text-2); transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.chip:hover { border-color: var(--line-strong); color: var(--text); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.chip .n { font: 500 11.5px/1 var(--f-mono); opacity: .7; }
.result-line { font-size: 14px; color: var(--text-3); }

/* ---------- Product tile (monogram) ---------- */
.tile {
  display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px;
  font: 800 16px/1 var(--f-display); letter-spacing: -.02em; color: var(--c); background: var(--c-soft);
  border: 1px solid color-mix(in srgb, var(--c) 28%, transparent);
}
.tile-lg { width: 76px; height: 76px; border-radius: 22px; font-size: 26px; }
.tile-sm { width: 36px; height: 36px; border-radius: 10px; font-size: 13px; }

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.pcard {
  --mx: 50%; --my: 0%;
  position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 14px; min-height: 248px; padding: 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  transition: transform var(--t-med) var(--ease-out), border-color var(--t-med), box-shadow var(--t-med);
}
.pcard::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity var(--t-med); background: radial-gradient(420px circle at var(--mx) var(--my), var(--c-soft), transparent 60%); }
.pcard::after { content: ''; position: absolute; left: 20px; right: 20px; top: 0; height: 2px; background: var(--c); border-radius: 0 0 2px 2px; transform: scaleX(.18); transform-origin: left; transition: transform var(--t-med) var(--ease-out); }
.pcard:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 40%, var(--line)); box-shadow: var(--shadow-2); }
.pcard:hover::before, .pcard:focus-visible::before { opacity: 1; }
.pcard:hover::after, .pcard:focus-visible::after { transform: scaleX(1); }
.pcard-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.pcard h3 { font-size: 21px; }
.pcard .tagline { color: var(--text-2); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 13.5px; color: var(--text-3); }
.pcard-foot .ind { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.pcard-foot .ind span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcard-foot .co { color: var(--c); font-weight: 600; white-space: nowrap; }
.reveal { animation: rise 420ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 30ms); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

/* ---------- Industry board ---------- */
.board { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); align-items: start; }
.lane { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.lane-head { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.lane-head .ico-box { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.lane-head h3 { font-size: 16.5px; letter-spacing: -.01em; }
.lane-head .n { margin-left: auto; font: 600 13px/1 var(--f-mono); color: var(--text-3); }
.lane ul { list-style: none; margin: 0; padding: 6px; }
.lane a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; min-height: 52px; border-radius: var(--r-md); transition: background var(--t-fast); }
.lane a:hover { background: var(--surface-2); }
.lane a .bar { width: 4px; align-self: stretch; border-radius: 4px; background: var(--c); }
.lane a .t { display: grid; min-width: 0; }
.lane a .t b { font-weight: 600; font-size: 15px; }
.lane a .t small { font-size: 13px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lane a .ico { margin-left: auto; color: var(--text-3); transition: transform var(--t-fast); }
.lane a:hover .ico { transform: translateX(3px); color: var(--text); }

/* ---------- Orbit view ---------- */
.orbits { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1100px) { .orbits { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 700px) and (max-width: 1099px) { .orbits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.orbit-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); align-content: start; }
.orbit-card header { display: flex; align-items: center; gap: 10px; }
.orbit-card header h3 { font-size: 18px; }
.orbit-card header .n { margin-left: auto; font: 600 13px/1 var(--f-mono); color: var(--text-3); }
.orbit { position: relative; width: 100%; max-width: 420px; aspect-ratio: 1; margin: 0 auto; }
.orbit .ring { position: absolute; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--c) 35%, var(--line)); inset: var(--inset, 10%); }
.orbit .ring-b { opacity: .7; }
.orbit .hub {
  position: absolute; inset: 31%; border-radius: 50%; display: grid; place-content: center; text-align: center; gap: 4px; padding: 10px;
  background: radial-gradient(circle at 30% 25%, var(--c-soft), var(--surface) 70%); border: 1px solid color-mix(in srgb, var(--c) 30%, var(--line));
  box-shadow: 0 0 0 10px color-mix(in srgb, var(--c) 6%, transparent), 0 0 60px -10px var(--c-soft);
}
.orbit .hub b { font: 700 clamp(13px, 1.6vw, 16px)/1.15 var(--f-display); }
.orbit .hub small { font-size: 12px; color: var(--text-3); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.node {
  position: absolute; left: var(--x); top: var(--y); width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  display: grid; place-items: center; font: 800 12.5px/1 var(--f-display); color: var(--c); background: var(--surface);
  border: 1.5px solid color-mix(in srgb, var(--c) 55%, var(--line)); box-shadow: var(--shadow-1);
  transition: transform var(--t-fast) var(--ease-out), background var(--t-fast), color var(--t-fast);
}
.node:hover, .node:focus-visible { transform: scale(1.14); background: var(--c); color: var(--surface); z-index: 2; }
.node .status-dot { position: absolute; right: 1px; top: 1px; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--surface); background: var(--ok); }
.node .status-dot.beta { background: var(--info); }
.node .status-dot.dev { background: var(--warn); }
.orbit-legend { display: flex; flex-wrap: wrap; gap: 6px; }
.orbit-legend a { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); min-height: 30px; display: inline-flex; align-items: center; }
.orbit-legend a:hover { color: var(--c); }
.orbit-key { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--text-3); margin-top: 14px; }
.orbit-key span { display: inline-flex; align-items: center; gap: 6px; }
.orbit-key i { width: 9px; height: 9px; border-radius: 50%; }

/* ---------- Index table ---------- */
.table-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th { text-align: left; font: 600 12px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); padding: 14px 16px; background: var(--surface-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
.table th button { display: inline-flex; align-items: center; gap: 4px; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; min-height: 28px; }
.table th button:hover { color: var(--text); }
.table th[aria-sort="ascending"] button::after { content: '\2191'; }
.table th[aria-sort="descending"] button::after { content: '\2193'; }
.table td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background var(--t-fast); }
.table tbody tr:hover { background: color-mix(in srgb, var(--surface-2) 60%, transparent); }
.table .prod { display: flex; align-items: center; gap: 12px; min-width: 220px; }
.table .prod a { font-weight: 600; }
.table .prod a:hover { text-decoration: underline; text-underline-offset: 3px; }
.table .prod small { display: block; color: var(--text-3); font-size: 13px; }
.table .host { font: 500 13px/1.3 var(--f-mono); color: var(--text-2); }
.table .actions { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
@media (max-width: 767px) {
  .table.stack thead { display: none; }
  .table.stack, .table.stack tbody, .table.stack tr, .table.stack td { display: block; width: 100%; }
  .table.stack tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .table.stack td { padding: 4px 0; border: 0; display: flex; gap: 12px; justify-content: space-between; align-items: center; text-align: right; }
  .table.stack td::before { content: attr(data-label); font: 600 11.5px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); text-align: left; }
  .table.stack td.first { display: block; text-align: left; padding-bottom: 8px; }
  .table.stack td.first::before { display: none; }
  .table.stack .prod { min-width: 0; }
}

.empty { text-align: center; padding: 56px 20px; border: 1px dashed var(--line-strong); border-radius: var(--r-lg); display: grid; gap: 10px; justify-items: center; }
.empty h3 { font-size: 20px; }

/* ---------- Services, steps, marquee ---------- */
.svc-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
.svc { padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; }
.svc::before { content: ''; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: var(--c-soft); filter: blur(10px); }
.svc header { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; position: relative; }
.svc header .co-mark { width: 40px; height: 40px; font-size: 14px; background: var(--c); color: var(--surface); }
.svc header h3 { font-size: 19px; }
.svc header a { font-size: 13px; color: var(--text-3); }
.svc header a:hover { color: var(--c); }
.svc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; position: relative; }
.svc li { padding: 10px 0; border-top: 1px solid var(--line); }
.svc li b { display: block; font-size: 15px; }
.svc li span { font-size: 14px; color: var(--text-2); }

.steps { display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.step .num { font: 800 54px/1 var(--f-display); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px var(--line-strong); }
.step h3 { font-size: 20px; margin: 14px 0 8px; }
.step p { color: var(--text-2); font-size: 15px; }
.step .ico-ring { position: absolute; right: 22px; top: 22px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface-2); color: var(--text-2); }

.marquee { position: relative; overflow: hidden; padding: 6px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font: 500 14px/1 var(--f-mono); color: var(--text-2); white-space: nowrap; }
.marquee a:hover { color: var(--text); border-color: var(--line-strong); }
@keyframes marquee { to { transform: translateX(-50%); } }

.cta-band { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl); padding: 40px 24px; background: var(--stage); color: var(--stage-text); display: grid; gap: 18px; }
@media (min-width: 768px) { .cta-band { padding: 56px; grid-template-columns: 1.4fr auto; align-items: center; } }
.cta-band h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.cta-band p { color: var(--stage-text-2); margin-top: 8px; }
.cta-band .aurora { position: absolute; inset: 0; z-index: -1; }
.cta-band .aurora span { position: absolute; width: 360px; height: 360px; border-radius: 50%; filter: blur(70px); opacity: .35; }
.cta-band .aurora span:nth-child(1) { background: var(--glow-1); left: -80px; bottom: -160px; }
.cta-band .aurora span:nth-child(2) { background: var(--glow-3); right: 10%; top: -180px; }
.cta-band .btn-primary { --btn-bg: #f1f3f9; --btn-fg: #0c0e16; --btn-bd: #f1f3f9; }

.site-footer { border-top: 1px solid var(--line); padding: 40px 0 56px; margin-top: 32px; font-size: 14px; color: var(--text-2); }
.site-footer .wrap { display: grid; gap: 24px; }
@media (min-width: 768px) { .site-footer .wrap { grid-template-columns: 1.3fr repeat(3, 1fr); } }
.site-footer h4 { font: 600 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer a { display: inline-flex; min-height: 32px; align-items: center; }
.site-footer a:hover { color: var(--text); }

/* ---------- Product page ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; color: var(--text-3); padding: 20px 0 0; }
.crumbs a { min-height: 32px; display: inline-flex; align-items: center; }
.crumbs a:hover { color: var(--text); }
.phero {
  position: relative; overflow: hidden; isolation: isolate; margin-top: 16px; padding: 28px 20px; border-radius: var(--r-xl);
  background: var(--surface); border: 1px solid var(--line);
}
@media (min-width: 768px) { .phero { padding: 44px; } }
.phero::before { content: ''; position: absolute; z-index: -1; right: -10%; top: -40%; width: 70%; height: 180%; background: radial-gradient(closest-side, var(--c-soft), transparent); }
.phero::after { content: ''; position: absolute; z-index: -1; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--c) 22%, transparent) 1px, transparent 1px); background-size: 18px 18px; mask-image: linear-gradient(105deg, transparent 45%, #000); -webkit-mask-image: linear-gradient(105deg, transparent 45%, #000); opacity: .5; }
.phero-top { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.phero .co-line { font: 600 13px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--c); }
.phero h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); letter-spacing: -.035em; margin-top: 8px; }
.phero .tagline { font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: var(--text-2); margin-top: 16px; max-width: 54ch; }
.phero .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.phero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.layout-2 { display: grid; gap: 24px; margin-top: 24px; }
@media (min-width: 1024px) { .layout-2 { grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; } .layout-2 aside .sticky { position: sticky; top: calc(var(--header-h) + 20px); } }
.block + .block { margin-top: 40px; }
.block > h2 { font-size: 26px; margin-bottom: 16px; }
.block > p.lead { font-size: 17px; color: var(--text-2); max-width: 70ch; }
.features { display: grid; gap: 12px; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
.feature { padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.feature .n { font: 600 12.5px/1 var(--f-mono); color: var(--c); }
.feature b { font: 700 17.5px/1.25 var(--f-display); letter-spacing: -.01em; }
.feature span { color: var(--text-2); font-size: 15px; }

.locked { display: grid; gap: 12px; }
@media (min-width: 640px) { .locked { grid-template-columns: 1fr 1fr; } }
.lock-tile { position: relative; overflow: hidden; padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); min-height: 170px; display: grid; align-content: end; gap: 6px; }
.lock-tile .ghost { position: absolute; inset: 16px 16px auto; display: grid; gap: 8px; filter: blur(3px); opacity: .55; pointer-events: none; }
.lock-tile .ghost i { display: block; height: 10px; border-radius: 6px; background: var(--surface-3); }
.lock-tile .ghost i:nth-child(1) { width: 60%; background: var(--c-soft); height: 14px; }
.lock-tile .ghost i:nth-child(2) { width: 90%; } .lock-tile .ghost i:nth-child(3) { width: 75%; } .lock-tile .ghost i:nth-child(4) { width: 40%; }
.lock-tile .ghost.diagram { grid-template-columns: repeat(3, 1fr); }
.lock-tile .ghost.diagram i { height: 26px; width: auto !important; }
.lock-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 10%, var(--surface) 72%); }
.lock-tile > * { position: relative; z-index: 1; }
.lock-tile .lk { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-family: var(--f-display); font-size: 17px; }
.lock-tile .lk .ico { color: var(--c); }
.lock-tile p { font-size: 14px; color: var(--text-2); }

.glance { padding: 22px; }
.glance h3 { font-size: 17px; margin-bottom: 14px; }
.glance dl { margin: 0; display: grid; gap: 0; }
.glance dl div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.glance dt { color: var(--text-3); }
.glance dd { margin: 0; font-weight: 500; overflow-wrap: break-word; }
.glance dd a { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.glance dd a:hover { text-decoration-color: currentColor; }
.access-card { margin-top: 16px; padding: 22px; background: var(--stage); color: var(--stage-text); border-radius: var(--r-lg); position: relative; overflow: hidden; isolation: isolate; }
.access-card::before { content: ''; position: absolute; z-index: -1; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: var(--c-stage); filter: blur(60px); opacity: .45; }
.access-card h3 { font-size: 19px; }
.access-card ol { margin: 14px 0 18px; padding: 0; list-style: none; display: grid; gap: 10px; counter-reset: a; }
.access-card li { counter-increment: a; display: grid; grid-template-columns: 26px 1fr; gap: 10px; font-size: 14px; color: var(--stage-text-2); }
.access-card li::before { content: counter(a); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--stage-line); font: 600 12px/1 var(--f-mono); color: var(--stage-text); }
.access-card .btn-primary { --btn-bg: #f1f3f9; --btn-fg: #0c0e16; --btn-bd: #f1f3f9; }

.related { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }

/* ---------- Enrollment ---------- */
.flow { display: grid; gap: 24px; padding: 24px 0 40px; }
@media (min-width: 1024px) { .flow { grid-template-columns: 340px minmax(0, 1fr); gap: 32px; padding-top: 32px; } .flow aside .sticky { position: sticky; top: calc(var(--header-h) + 20px); } }
.flow-summary { padding: 22px; display: grid; gap: 16px; }
.flow-summary .row { display: flex; align-items: center; gap: 12px; }
.flow-summary h2 { font-size: 20px; }
.flow-summary ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; color: var(--text-2); }
.flow-summary li { display: flex; gap: 10px; align-items: flex-start; }
.flow-summary li .ico { color: var(--ok); margin-top: 3px; }
.note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-md); background: var(--surface-2); font-size: 13.5px; color: var(--text-2); }
.note .ico { margin-top: 2px; flex: none; }
.note-proto { background: var(--warn-soft); color: var(--text); }
.note-proto .ico { color: var(--warn); }

.stepper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 24px; padding: 0; }
.stepper li { list-style: none; display: grid; gap: 8px; font-size: 13.5px; color: var(--text-3); }
.stepper li::before { content: ''; height: 4px; border-radius: 4px; background: var(--surface-3); transition: background var(--t-med); }
.stepper li.done::before, .stepper li.current::before { background: var(--c, var(--ink)); }
.stepper li.current { color: var(--text); font-weight: 600; }
.stepper li.done { color: var(--text-2); }
.stepper ol { display: contents; }
.form-head h1 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
.form-head p { color: var(--text-2); margin-top: 8px; }
.form-grid { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: span 2; } }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font: 600 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); padding: 0; margin-bottom: 4px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.form-actions .right { display: flex; gap: 12px; margin-left: auto; }

.nda { margin-top: 24px; border: 1px solid var(--line-strong); border-radius: var(--r-lg); overflow: hidden; background: var(--bg-elev); }
.nda-head { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--surface-2); font-size: 13px; }
.nda-head b { font-family: var(--f-display); font-size: 15px; }
.nda-body { max-height: 440px; overflow-y: auto; padding: 22px 22px 8px; font-size: 15px; line-height: 1.7; overscroll-behavior: contain; }
.nda-body h3 { font-size: 22px; text-align: center; margin-bottom: 4px; }
.nda-body .sub { text-align: center; color: var(--text-3); font-size: 13px; margin-bottom: 20px; }
.nda-body .parties { display: grid; gap: 12px; margin-bottom: 18px; }
@media (min-width: 640px) { .nda-body .parties { grid-template-columns: 1fr 1fr; } }
.nda-body .party { padding: 14px; border-radius: var(--r-md); background: var(--surface-2); font-size: 14px; }
.nda-body .party small { display: block; font: 600 11px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 6px; }
.nda-body ol { padding-left: 22px; margin: 0; display: grid; gap: 12px; }
.nda-body ol b { font-weight: 700; }
.nda-body .end { text-align: center; padding: 18px 0 14px; color: var(--text-3); font: 500 12px/1 var(--f-mono); letter-spacing: .08em; }
.nda-progress { height: 3px; background: var(--surface-3); }
.nda-progress i { display: block; height: 100%; width: 0; background: var(--c, var(--ink)); transition: width 120ms linear; }
.sign { display: grid; gap: 16px; margin-top: 20px; }
.sign .input.signature { font-family: var(--f-display); font-size: 20px; font-style: italic; }

.otp { display: flex; gap: 8px; margin: 22px 0 6px; }
.otp input {
  width: 52px; height: 60px; text-align: center; font: 600 24px/1 var(--f-mono); border-radius: var(--r-md);
  border: 1px solid var(--line-strong); background: var(--bg-elev); color: var(--text);
}
.otp input:focus { outline: none; border-color: var(--info); box-shadow: 0 0 0 4px var(--info-soft); }
@media (max-width: 400px) { .otp { gap: 6px; } .otp input { width: 44px; height: 54px; font-size: 20px; } }
.otp-field.invalid .otp input { border-color: var(--danger); }
.otp-sent { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: var(--r-md); background: var(--surface-2); margin-top: 20px; }
.otp-sent .ico-ring { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface); color: var(--c, var(--ink)); flex: none; }
.link-btn { color: var(--info); font-weight: 600; min-height: 36px; display: inline-flex; align-items: center; }
.link-btn[disabled] { color: var(--text-3); cursor: not-allowed; }

.success { text-align: center; display: grid; justify-items: center; gap: 12px; padding: 24px 0; }
.success .burst { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); animation: pop 420ms var(--ease-out) both; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }

/* ---------- Login ---------- */
.auth { display: grid; gap: 16px; padding: 16px 0 48px; }
@media (min-width: 960px) { .auth { grid-template-columns: 1fr 1fr; padding-top: 24px; min-height: calc(100dvh - var(--header-h) - 40px); } }
.auth-side { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl); background: var(--stage); color: var(--stage-text); padding: 32px 24px; display: grid; align-content: space-between; gap: 32px; }
@media (min-width: 768px) { .auth-side { padding: 48px; } }
.auth-side h1 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.03em; }
.auth-side p { color: var(--stage-text-2); margin-top: 12px; max-width: 46ch; }
.roles { display: grid; gap: 10px; }
.role { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 14px; border-radius: var(--r-md); border: 1px solid var(--stage-line); background: rgba(255, 255, 255, .03); }
.role .ico-ring { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(255, 255, 255, .07); }
.role b { display: block; font-size: 15px; }
.role span { font-size: 13.5px; color: var(--stage-text-2); }
.auth-main { display: grid; align-content: center; }
.auth-card { padding: 24px; width: 100%; max-width: 480px; margin: 0 auto; }
@media (min-width: 768px) { .auth-card { padding: 36px; } }
.auth-card h2 { font-size: 26px; }
.auth-card .sub { color: var(--text-2); margin-top: 6px; font-size: 15px; }
.auth-card form { display: grid; gap: 16px; margin-top: 22px; }
.tabs { display: flex; width: 100%; }
.tabs button { flex: 1; justify-content: center; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--text-3); font-size: 13px; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* ---------- Demo (NDA area) ---------- */
.conf-banner { position: sticky; top: var(--header-h); z-index: var(--z-banner); background: var(--stage); color: var(--stage-text); font-size: 13.5px; }
.conf-banner .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; min-height: 48px; padding-top: 8px; padding-bottom: 8px; }
.conf-banner .lk { display: inline-flex; align-items: center; gap: 8px; color: var(--stage-avz); font: 600 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.conf-banner .who-line { color: var(--stage-text-2); }
.conf-banner .who-line b { color: var(--stage-text); font-weight: 600; }
.conf-banner .timer { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); }
.conf-banner .btn { --btn-bg: transparent; --btn-fg: var(--stage-text); --btn-bd: rgba(255, 255, 255, .2); min-height: 36px; }
.watermark {
  position: fixed; inset: 0; z-index: var(--z-watermark); pointer-events: none; overflow: hidden; opacity: .055;
  display: grid; grid-template-columns: repeat(3, 1fr); align-content: space-around; justify-items: center; transform: rotate(-24deg) scale(1.4);
  font: 600 15px/1 var(--f-mono); color: var(--text); user-select: none;
}
.watermark span { padding: 36px 0; white-space: nowrap; }
.demo-head { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 28px 0 8px; }
.demo-head h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.demo-head .co-line { font: 600 12.5px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--c); }
.demo-head .actions { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.tabbar { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line); margin: 16px 0 28px; }
.tabbar button { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px; font-weight: 600; font-size: 14.5px; color: var(--text-3); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color var(--t-fast), border-color var(--t-fast); }
.tabbar button:hover { color: var(--text); }
.tabbar button[aria-selected="true"] { color: var(--text); border-color: var(--c, var(--ink)); }
.panel { animation: fade 220ms var(--ease-out) both; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }

.arch { display: grid; gap: 0; }
.arch-layer { display: grid; gap: 12px; padding: 18px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); position: relative; }
@media (min-width: 768px) { .arch-layer { grid-template-columns: 200px 1fr; align-items: center; padding: 20px 24px; } }
.arch-layer .lbl { display: flex; align-items: center; gap: 10px; }
.arch-layer .lbl .ico-ring { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--c-soft); color: var(--c); flex: none; }
.arch-layer .lbl b { display: block; font-family: var(--f-display); font-size: 16px; }
.arch-layer .lbl small { color: var(--text-3); font-size: 12.5px; }
.arch-nodes { display: flex; flex-wrap: wrap; gap: 8px; }
.arch-node { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; border-radius: 10px; font-size: 14px; font-weight: 500; background: var(--surface-2); border: 1px solid var(--line); }
.arch-node.key { background: var(--c-soft); border-color: color-mix(in srgb, var(--c) 30%, transparent); color: var(--text); }
.arch-link { height: 30px; position: relative; }
.arch-link::before { content: ''; position: absolute; left: 37px; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: repeating-linear-gradient(180deg, var(--c) 0 5px, transparent 5px 10px); background-size: 2px 20px; animation: flow 1.2s linear infinite; opacity: .7; }
@media (min-width: 768px) { .arch-link::before { left: 43px; } }
@keyframes flow { to { background-position: 0 20px; } }

.cred { display: grid; gap: 0; }
.cred-row { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 14px 0; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .cred-row { grid-template-columns: 160px 1fr auto; align-items: center; gap: 16px; } }
.cred-row:first-child { border-top: 0; }
.cred-row dt { color: var(--text-3); font-size: 14px; }
.cred-row dd { margin: 0; font: 500 15px/1.4 var(--f-mono); overflow-wrap: anywhere; }
.cred-row .acts { display: flex; gap: 6px; }

.walk { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: w; }
.walk li { counter-increment: w; }
.walk label { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 16px 18px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); cursor: pointer; transition: border-color var(--t-fast), background var(--t-fast); }
.walk label:hover { border-color: var(--line-strong); }
.walk input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--c, var(--ink)); }
.walk b { display: block; font-size: 15.5px; }
.walk b::before { content: counter(w, decimal-leading-zero) '  '; font: 600 12.5px/1 var(--f-mono); color: var(--c); }
.walk span { font-size: 14.5px; color: var(--text-2); }
.walk input:checked + div b { text-decoration: line-through; text-decoration-color: var(--text-3); color: var(--text-2); }
.progress { height: 8px; border-radius: 8px; background: var(--surface-3); overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--c, var(--ink)); border-radius: 8px; transition: width var(--t-med) var(--ease-out); }

.gate { max-width: 560px; margin: 56px auto; text-align: center; display: grid; justify-items: center; gap: 14px; padding: 36px 24px; }
.gate .ico-ring { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--surface-2); }
.gate h1 { font-size: 28px; }
.gate p { color: var(--text-2); }
.gate .acts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 6px; }

/* ---------- Admin ---------- */
.admin { display: grid; min-height: calc(100dvh - var(--header-h)); }
@media (min-width: 1024px) { .admin { grid-template-columns: 252px minmax(0, 1fr); } }
.side { border-bottom: 1px solid var(--line); background: var(--bg-elev); padding: 12px 16px; display: grid; gap: 10px; }
@media (min-width: 1024px) { .side { border-bottom: 0; border-right: 1px solid var(--line); padding: 24px 16px; align-content: start; position: sticky; top: var(--header-h); height: calc(100dvh - var(--header-h)); } }
.side .role-badge { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-md); background: var(--surface-2); font-size: 13.5px; }
.side .role-badge .ico-ring { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: var(--on-ink); }
.side .role-badge b { display: block; font-size: 14.5px; }
.side nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
.side nav::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .side nav { display: grid; overflow: visible; margin: 8px 0 0; padding: 0; } }
.side nav a { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 12px; border-radius: var(--r-md); color: var(--text-2); font-size: 14.5px; font-weight: 500; white-space: nowrap; transition: background var(--t-fast), color var(--t-fast); }
.side nav a:hover { background: var(--surface-2); color: var(--text); }
.side nav a[aria-current="page"] { background: var(--ink); color: var(--on-ink); }
.side nav a .lock { margin-left: auto; opacity: .6; }
.side nav .sep { display: none; }
@media (min-width: 1024px) { .side nav .sep { display: block; height: 1px; background: var(--line); margin: 10px 0; } }
.side .out { margin-top: auto; justify-content: flex-start; }
.admin-main { padding: 24px 16px 56px; min-width: 0; }
@media (min-width: 768px) { .admin-main { padding: 32px; } }
.admin-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.admin-head h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.admin-head p { color: var(--text-2); margin-top: 4px; font-size: 15px; }
.kpis { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); margin-bottom: 24px; }
@media (min-width: 1100px) { .kpis { grid-template-columns: repeat(4, 1fr); } }
.kpi { padding: 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 6px; }
.kpi .lbl { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-3); }
.kpi b { font: 700 30px/1 var(--f-display); letter-spacing: -.02em; }
.kpi small { font-size: 13px; color: var(--text-3); }
.kpi small.up { color: var(--ok); }
.grid-2 { display: grid; gap: 16px; }
@media (min-width: 1100px) { .grid-2 { grid-template-columns: 1fr 1.6fr; } }
.panel-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.panel-card > header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.panel-card > header h2 { font-size: 17px; letter-spacing: -.01em; }
.panel-card > .body { padding: 18px; }
.bars { display: grid; gap: 14px; }
.bars .row { display: grid; gap: 6px; }
.bars .row .top { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.bars .row .top b { font-weight: 600; }
.bars .track { height: 10px; border-radius: 10px; background: var(--surface-2); overflow: hidden; }
.bars .track i { display: block; height: 100%; border-radius: 10px; background: var(--c); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.switch { position: relative; display: inline-flex; width: 44px; height: 26px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.switch span { position: absolute; inset: 0; border-radius: 26px; background: var(--surface-3); transition: background var(--t-fast); pointer-events: none; }
.switch span::after { content: ''; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-1); transition: transform var(--t-fast) var(--ease-out); }
.switch input:checked + span { background: var(--ok); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 2.5px solid var(--info); outline-offset: 2px; }
.select-sm { min-height: 36px; padding: 4px 34px 4px 10px; font-size: 14px; border-radius: 10px; width: auto; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; }
.timeline li { display: grid; grid-template-columns: 20px 1fr auto; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.timeline li:first-child { border-top: 0; }
.timeline .dot { width: 10px; height: 10px; margin-top: 7px; border-radius: 50%; background: var(--c, var(--text-3)); justify-self: center; }
.timeline time { font: 500 12.5px/1.6 var(--f-mono); color: var(--text-3); white-space: nowrap; }
.lock-panel { text-align: center; padding: 48px 24px; display: grid; justify-items: center; gap: 10px; }
.lock-panel .ico-ring { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--surface-2); }
.avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--surface-3); font: 700 12.5px/1 var(--f-display); flex: none; }
.person { display: flex; align-items: center; gap: 10px; min-width: 180px; }
.person b { display: block; font-weight: 600; }
.person small { display: block; font-size: 13px; color: var(--text-3); }

/* ---------- Toast ---------- */
.toasts { position: fixed; z-index: var(--z-toast); left: 16px; right: 16px; bottom: 16px; display: grid; gap: 8px; justify-items: center; pointer-events: none; }
@media (min-width: 640px) { .toasts { left: auto; right: 24px; bottom: 24px; justify-items: end; } }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 10px; max-width: 420px; padding: 12px 16px; border-radius: var(--r-md); background: var(--ink); color: var(--on-ink); box-shadow: var(--shadow-3); font-size: 14.5px; animation: toast-in 240ms var(--ease-out) both; }
.toast.out { animation: toast-out 160ms var(--ease-in) both; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(6px); } }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .marquee-track { flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-track [aria-hidden="true"] { display: none; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
}

/* ---------- Brand lockup and logo tiles ---------- */
.logo-chip { display: inline-flex; align-items: center; background: #fff; border-radius: 10px; padding: 6px 10px; box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }
.logo-chip img { height: 30px; width: auto; }
.logo-chip.sm { padding: 4px 8px; border: 1px solid rgba(18, 20, 28, .08); box-shadow: none; }
.logo-chip.sm img { height: 22px; }
.logo-chip.lg { padding: 10px 16px; border-radius: 14px; }
.logo-chip.lg img { height: 44px; }
#brand-lockup { display: inline-flex; align-items: center; gap: 10px; }
#brand-lockup .x { color: var(--text-3); font-size: 18px; display: none; }
@media (min-width: 560px) { #brand-lockup .x { display: inline; } }
#brand-lockup:empty { display: none; }
.hero-brand-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.co-card .logo-chip { padding: 5px 8px; }
.co-card .logo-chip img { height: 26px; }

/* ---------- Drawer (admin detail panels) ---------- */
.drawer-scrim { position: fixed; inset: 0; z-index: 90; background: var(--scrim); animation: fade 200ms var(--ease-out) both; }
.drawer {
  position: fixed; z-index: 91; top: 0; right: 0; bottom: 0; width: min(560px, 100%); display: flex; flex-direction: column;
  background: var(--bg-elev); border-left: 1px solid var(--line); box-shadow: var(--shadow-3); animation: slide-in 260ms var(--ease-out) both;
}
@keyframes slide-in { from { transform: translateX(28px); opacity: 0; } }
.drawer > header { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer > header h2 { font-size: 20px; }
.drawer > header .sub { font-size: 13.5px; color: var(--text-3); }
.drawer > header .close { margin-left: auto; }
.drawer > .body { flex: 1; overflow-y: auto; padding: 20px; display: grid; gap: 22px; align-content: start; overscroll-behavior: contain; }
.drawer > footer { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 20px; border-top: 1px solid var(--line); }
.drawer h3 { font: 600 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; }
.drawer dl { margin: 0; display: grid; }
.drawer dl div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.drawer dl div:first-child { border-top: 0; }
.drawer dt { color: var(--text-3); }
.drawer dd { margin: 0; overflow-wrap: break-word; }
.drawer .quote { padding: 12px 14px; border-radius: var(--r-md); background: var(--surface-2); font-size: 14.5px; color: var(--text-2); }
.contact-list, .mini-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.contact-list li, .mini-list li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); }
.mini-list li .grow, .contact-list li .grow { flex: 1; min-width: 0; }
.steps-v { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.steps-v li { position: relative; padding: 0 0 14px 22px; font-size: 14.5px; }
.steps-v li::before { content: ''; position: absolute; left: 4px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); }
.steps-v li.off::before { background: var(--surface-3); }
.steps-v li.bad::before { background: var(--danger); }
.steps-v li::after { content: ''; position: absolute; left: 8px; top: 18px; bottom: 0; width: 1px; background: var(--line-strong); }
.steps-v li:last-child::after { display: none; }
.steps-v small { display: block; color: var(--text-3); font-size: 13px; }

/* ---------- Admin extras ---------- */
.table tbody tr[data-open] { cursor: pointer; }
.table tr.row-off td:not(.keep) { opacity: .5; }
.panel-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; width: 100%; }
.panel-tools .input-wrap { flex: 1 1 220px; max-width: 360px; }
.panel-tools .input { min-height: 40px; }
.tiles { display: flex; flex-wrap: wrap; gap: 4px; }
.avatars { display: flex; }
.avatars .avatar { width: 30px; height: 30px; font-size: 11.5px; border: 2px solid var(--surface); margin-left: -8px; }
.avatars .avatar:first-child { margin-left: 0; }
.stage-pill { min-width: 140px; }
.banner-note { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: var(--r-md); background: var(--warn-soft); font-size: 14px; margin-top: 16px; }
