/* ============================================================
   Auto Admin — homepage design system
   Predominantly black, light sections for clarity, amber→red
   radial glow as the orange highlight. Two whole-page vibes.
   ============================================================ */

:root {
  /* Type */
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, monospace;

  /* Orange — shared across vibes (amber → red) */
  --o-soft: #ffb066;
  --o-bright: #ff8a3d;
  --o: #ff6a1a;
  --o-deep: #e23b00;
  --grad-orange: linear-gradient(103deg, var(--o-bright) 0%, var(--o) 44%, var(--o-deep) 100%);
  --grad-orange-soft: linear-gradient(103deg, var(--o-soft), var(--o));

  /* Dark canvas (vibe A default) */
  --bg: #0a0a0b;
  --bg-2: #0f0f11;
  --surface: #141416;
  --surface-2: #1a1a1d;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f3f1;
  --text-dim: #b6b5b2;
  --text-mute: #807f7d;
  --glow-strength: 0.30;
  --hero-glow: 0.34;
  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1620px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Light section palette (fixed, warm, readable in both vibes) */
  --light-bg: #f5f4f1;
  --light-surface: #ffffff;
  --light-border: #e6e3dd;
  --light-text: #16150f;
  --light-dim: #57554d;
  --light-mute: #8a877d;
}

/* ---- Vibe B: "Ember" — warmer, more gradient-forward ---- */
[data-vibe='b'] {
  --bg: #0c0907;
  --bg-2: #140d09;
  --surface: #1a120d;
  --surface-2: #221710;
  --border: rgba(255, 160, 90, 0.14);
  --border-strong: rgba(255, 160, 90, 0.26);
  --text: #f7f1ea;
  --text-dim: #cabaab;
  --text-mute: #948374;
  --glow-strength: 0.46;
  --hero-glow: 0.55;
  --radius: 18px;
  --radius-lg: 28px;
  --light-bg: #f7f3ec;
  --light-surface: #fffdfa;
  --light-border: #ece2d3;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--o); color: #1a0c03; }

a { color: inherit; text-decoration: none; }
img, svg { display: block; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 28px; }
.section { position: relative; padding-block: clamp(72px, 9vw, 72px); }
.section--tight { padding-block: clamp(56px, 6vw, 90px); }

.section--light {
  background: var(--light-bg);
  color: var(--light-text);
}
.section--light .eyebrow { color: var(--o-deep); }
.section--light .muted { color: var(--light-dim); }
/* vertical cream → white gradient variant (used on the pricing section) */
.section--light.section--gradient { background: linear-gradient(180deg, var(--light-bg) 0%, var(--light-surface) 100%); }
/* solid — same light colour as every other light section */
.section--light.section--gradient-rev { background: var(--light-bg); }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--o-bright);
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}
.eyebrow--center { justify-content: center; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; margin: 0; line-height: 1.04; letter-spacing: -0.02em; }
.h1 { font-size: clamp(44px, 6.4vw, 88px); font-weight: 600; }
.h2 { font-size: clamp(32px, 4.4vw, 56px); }
.h3 { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.01em; }
.lead { font-size: clamp(17px, 1.5vw, 21px); color: var(--text-dim); line-height: 1.62; max-width: 56ch; }
.muted { color: var(--text-mute); }

.grad-text {
  background: var(--grad-orange);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-weight: 600; font-size: 16px;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  background-clip: padding-box;
  -webkit-background-clip: padding-box;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--primary {
  background: var(--grad-orange);
  color: #fff;
  box-shadow: none;
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 10px 26px -14px rgba(255,106,26,.55); }
.btn--primary .arr {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; margin: -6px -10px -6px 4px;
  border-radius: 50%;
  background: #190a02; color: #fff;
  font-size: 14px; line-height: 1; flex: none;
}
.btn--primary.btn--lg .arr { width: 32px; height: 32px; margin: -8px -14px -8px 6px; font-size: 15px; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn--ghost:hover { border-color: var(--o); color: var(--text); transform: translateY(-2px); }
.section--light .btn--ghost { color: var(--light-text); border-color: var(--light-border); }
.section--light .btn--ghost:hover { border-color: var(--o-deep); }
/* dark variant: black button, orange arrow-circle (used on the orange CTA band) */
.btn--dark { background: #140d08; color: #fff; }
.btn--dark:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -16px rgba(0,0,0,.55); }
.btn--dark .arr {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; margin: -6px -10px -6px 4px;
  border-radius: 50%;
  background: var(--o); color: #190a02;
  font-size: 14px; line-height: 1; flex: none;
}
.btn--dark.btn--lg .arr { width: 32px; height: 32px; margin: -8px -14px -8px 6px; font-size: 15px; }
.btn--lg { padding: 18px 34px; font-size: 17px; }

/* text link with arrow */
.tlink {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 15.5px;
  color: var(--o);
  transition: gap .25s var(--ease), color .2s;
}
.tlink:hover { gap: 13px; color: var(--o-bright); }
.section--light .tlink { color: var(--o-deep); }

/* ---------- Data-stream beams (linear glow / data-in-transit) ----------
   Angled light beams with bright "packets" travelling along them — evokes
   documents streaming to court. Built by aa-main.js into [data-stream]. */
.stream { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.stream__rot { position: absolute; inset: -30% -10%; transform: rotate(-9deg); }
.stream__band {
  position: absolute; left: -10%; width: 120%; height: 200px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--o) 30%, transparent), transparent);
  filter: blur(44px);
}
.stream__line {
  position: absolute; left: -12%; width: 124%; height: 1px;
  background: linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--o) 42%, transparent) 30%, color-mix(in srgb, var(--o) 24%, transparent) 68%, transparent 100%);
}
.stream__line::after {
  content: ''; position: absolute; top: -2px; left: 0;
  width: 120px; height: 5px; border-radius: 5px;
  background: linear-gradient(90deg, transparent, var(--o) 35%, var(--o-soft) 70%, #fff 96%, rgba(255,255,255,0));
  box-shadow: 0 0 22px 2px color-mix(in srgb, var(--o) 90%, transparent);
  transform: translateX(-140px);
  animation: aa-flow var(--dur, 7s) cubic-bezier(.45, 0, .25, 1) var(--delay, 0s) infinite;
  will-change: transform, opacity;
}
@keyframes aa-flow {
  0%   { transform: translateX(-140px); opacity: 0; }
  8%   { opacity: 1; }
  88%  { opacity: 1; }
  100% { transform: translateX(100%); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .stream__line::after { animation: none; left: 52%; opacity: 1; transform: none; }
}
.stream--hero  { opacity: clamp(0, calc(var(--hero-glow) * 2.5), 1); }
.stream--amb   { opacity: clamp(0, calc(var(--glow-strength) * 2.6), 1); }
.stream--card  { opacity: .9; -webkit-mask: radial-gradient(130% 95% at 100% 0%, #000 30%, transparent 75%); mask: radial-gradient(130% 95% at 100% 0%, #000 30%, transparent 75%); }
.stream--hero  { -webkit-mask: radial-gradient(135% 115% at 76% 30%, #000 40%, transparent 86%); mask: radial-gradient(135% 115% at 76% 30%, #000 40%, transparent 86%); }
.stream--center{ -webkit-mask: radial-gradient(95% 135% at 50% 0%, #000 28%, transparent 78%); mask: radial-gradient(95% 135% at 50% 0%, #000 28%, transparent 78%); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
}
/* Blurred bar background on a pseudo-element, NOT on .nav itself — so .nav does
   not become the containing block for the fixed mobile menu (backdrop-filter
   would otherwise trap position:fixed to the 76px bar instead of the viewport). */
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.is-stuck::before { border-bottom-color: var(--border); background: color-mix(in srgb, var(--bg) 88%, transparent); }
.nav__inner { display: flex; align-items: center; gap: 28px; height: 76px; max-width: none; padding-inline: clamp(20px, 3vw, 44px); }
.nav__logo { color: var(--text); display: inline-flex; }
.nav__logo .aa-logo-svg { height: 36px; width: auto; }
.aa-logo-svg .aa-word { fill: currentColor; }
.aa-logo-svg .aa-mark { fill: currentColor; }
.nav__links { display: flex; align-items: center; justify-content: center; gap: 14px; flex: 1; }
.nav__link {
  position: relative;
  font-size: 16px; font-weight: 500; color: var(--text);
  padding: 9px 14px; border-radius: 9px;
  transition: color .2s, background .2s;
  cursor: pointer;
}
.nav__link:hover { color: var(--text); background: var(--surface); }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__book { padding: 11px 20px; font-size: 14.5px; }
.nav__mobile-cta { display: none; } /* only shown inside the mobile drawer */

/* nav dropdown (practice areas / products) */
.has-menu { position: relative; }
.nav__menu {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 230px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.7);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s, transform .2s, visibility .2s;
  display: grid; gap: 2px;
}
.has-menu:hover .nav__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__menu a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; transition: background .15s; }
.nav__menu a:hover { background: var(--surface-2); }
.nav__menu a strong { font-size: 14.5px; font-weight: 600; color: var(--text); }
.nav__menu a span { font-size: 13px; color: var(--text-dim); line-height: 1.35; }
.nav__menu a:hover span { color: var(--text); }
/* nested sub-page item (e.g. Pricing under CrimBot) — indented with a tree connector */
.nav__menu .nav__subitem { margin-left: 22px; position: relative; }
.nav__menu .nav__subitem::before {
  content: ""; position: absolute; left: -11px; top: -6px; height: calc(50% + 6px); width: 9px;
  border-left: 1.5px solid var(--border-strong);
  border-bottom: 1.5px solid var(--border-strong);
  border-bottom-left-radius: 6px; pointer-events: none;
}
.nav__menu .nav__subitem strong { font-weight: 500; }
/* burger button (mobile only) */
.nav__burger {
  display: none;
  flex: none;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 44px; height: 44px; padding: 0;
  background: transparent; border: 0; border-radius: 10px; cursor: pointer;
}
.nav__burger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease;
}

/* ---------- Mobile nav (drawer + accordion dropdowns) ---------- */
@media (max-width: 1225px) {
  .nav__burger { display: inline-flex; }
  .nav__logo { margin-right: auto; }
  .nav__inner { gap: 14px; }
  .nav__cta { min-width: 0; } /* allow the CTA to give up space to the burger */

  /* simpler, smaller white-outline CTA on mobile */
  .nav__book {
    padding: 8px 16px; font-size: 13px;
    background: transparent; color: var(--text);
    border-color: var(--text); box-shadow: none;
  }
  .nav__book .arr { display: none; }
  .nav.nav-open .nav__book { display: none; } /* hide CTA during full-screen takeover */

  /* keep logo + burger above the full-screen panel */
  .nav__logo, .nav__burger { position: relative; z-index: 2; }

  /* burger → X when open */
  .nav.nav-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.nav-open .nav__burger span:nth-child(2) { opacity: 0; }
  .nav.nav-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* full-viewport slide-in panel */
  .nav__links {
    display: flex; flex: none;
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 2px;
    padding: 90px clamp(18px, 5vw, 30px) 48px;
    background: var(--bg);
    overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(100%); opacity: 0; visibility: hidden;
    transition: transform .32s cubic-bezier(.4,0,.2,1), opacity .32s, visibility .32s;
  }
  .nav.nav-open .nav__links { transform: translateX(0); opacity: 1; visibility: visible; }

  .has-menu { position: static; display: flex; flex-direction: column; }
  .nav__link {
    display: flex; align-items: center; width: 100%;
    font-size: 18px; padding: 15px 12px; border-radius: 12px;
  }
  .nav__link:active { background: var(--surface); }

  /* dropdown → collapsible accordion */
  .nav__menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    min-width: 0; box-shadow: none; border: 0; background: transparent;
    padding: 0; margin: 0 0 4px;
    max-height: 0; overflow: hidden;
    transition: max-height .3s ease;
  }
  .has-menu.is-open .nav__menu { max-height: 360px; }
  .nav__menu a { padding: 13px 12px 13px 24px; border-radius: 10px; }
  .nav__menu a strong { font-size: 16px; font-weight: 500; }
  .nav__menu a span { display: none; }   /* no item descriptions on mobile */

  /* orange Book Demo CTA, just below the last menu item, left-aligned */
  .nav__mobile-cta { display: inline-flex; align-self: flex-start; margin-top: 18px; }
}

/* smallest phones: drop the bar CTA so the burger always fits (it's still in the drawer) */
@media (max-width: 400px) {
  .nav__book { display: none; }
}
body.nav-locked { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(60px, 9vw, 135px); padding-bottom: clamp(56px, 7vw, 120px); }
.hero__grid { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500;
  padding: 7px 7px 7px 7px;
  border: 1px solid var(--border); border-radius: 999px;
  color: var(--text-dim);
  margin-bottom: 30px;
}
.hero__badge b { color: var(--text); font-weight: 600; }
.hero__badge .pill {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em;
  background: var(--grad-orange); color: #1a0c03;
  padding: 4px 9px; border-radius: 999px; font-weight: 700; text-transform: uppercase;
}
.hero .eyebrow { display: flex; justify-content: center; font-size: 19px; }
.hero h1 { max-width: 20ch; margin-bottom: 26px; }
.hero__lead { margin-bottom: 36px; }
.hero__leads { display: flex; flex-direction: column; gap: 16px; max-width: 80ch; margin-bottom: 38px; }
.hero__leads .lead { max-width: none; margin: 0; color: var(--text); }
.hero__cta { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.hero__note { font-size: 13.5px; color: var(--text-mute); margin-top: 22px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero__note span { display: inline-flex; align-items: center; gap: 7px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--o); box-shadow: 0 0 10px var(--o); }

/* hero stream sits above the grid lines */
.hero .wave { z-index: 1; }

/* faint grid lines behind hero (kept very subtle under the particle field) */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(circle at 72% 26%, #000 0%, transparent 55%);
  mask-image: radial-gradient(circle at 72% 26%, #000 0%, transparent 55%);
  opacity: .22;
}

/* ---------- Particle wave canvas ---------- */
.wave { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; z-index: 0; }
.wave--hero {
  z-index: 1;
  opacity: clamp(0, calc(var(--hero-glow) * 2.4), 1);
  -webkit-mask: radial-gradient(125% 125% at 50% 122%, #000 30%, transparent 80%);
          mask: radial-gradient(125% 125% at 50% 122%, #000 30%, transparent 80%);
}
.wave--cta {
  opacity: clamp(0, calc(var(--hero-glow) * 2.1), 1);
  -webkit-mask: radial-gradient(120% 130% at 50% 118%, #000 35%, transparent 78%);
          mask: radial-gradient(120% 130% at 50% 118%, #000 35%, transparent 78%);
}
.wave--band {
  opacity: clamp(0, calc(var(--glow-strength) * 2.4), 1);
  -webkit-mask: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.5) 38%, transparent 68%);
          mask: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.5) 38%, transparent 68%);
}

/* ---------- Marquee / logos strip ---------- */
.trustbar { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trustbar__inner { display: flex; align-items: center; gap: 40px; padding-block: 26px; }
.trustbar__label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-mute); white-space: nowrap; }
.trustbar__logos { display: flex; gap: 38px; flex: 1; flex-wrap: wrap; align-items: center; }
.firmlogo { font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--text-dim); opacity: .72; white-space: nowrap; letter-spacing: -.01em; }

/* ---------- At a glance (highlight bar) ---------- */
.glancebar { position: relative; z-index: 3; margin-top: clamp(-26px, -2vw, 4px); padding-bottom: clamp(40px, 6vw, 78px); }
.statbar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  position: relative; overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 90%, var(--o) 10%), var(--bg-2));
  box-shadow: 0 30px 80px -34px rgba(0,0,0,.85), 0 1px 0 rgba(255,255,255,.05) inset;
}
.statbar::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--grad-orange); z-index: 1; }
.glance__cta { text-align: center; max-width: none; margin: clamp(44px, 5vw, 68px) auto 0; }
.glance__cta .h2 { font-size: clamp(28px, 3.6vw, 48px); margin-bottom: 16px; white-space: nowrap; }
.glance__note { text-align: center; color: var(--text); font-weight: 400; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.62; max-width: 64ch; margin: 0 auto; text-wrap: pretty; }
@media (max-width: 620px) { .glance__cta .h2 { white-space: normal; } }
.stat { padding: 30px 26px; border-right: 1px solid var(--border); position: relative; text-align: center; transition: background .3s var(--ease); }
.stat:last-child { border-right: none; }
.stat:hover { background: color-mix(in srgb, var(--surface) 65%, transparent); }
.stat__num { font-family: var(--font-head); font-weight: 600; font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -.03em; line-height: 1; white-space: nowrap; }
.stat__num em { font-style: normal; }
.stat__label { font-family: var(--font-mono); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); margin-top: 14px; }
@media (max-width: 760px) {
  .statbar { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--border); }
}
@media (max-width: 460px) {
  .statbar { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--border); }
  .stat:last-child { border-bottom: none; }
}
.section--light .stat__label { color: var(--light-mute); }
.section--light .stats { border-color: var(--light-border); }
.section--light .stat { border-color: var(--light-border); }

/* ---------- Practice split (Criminal / Collections) ---------- */
#practice { position: relative; isolation: isolate; }
#practice .wrap { position: relative; z-index: 1; }
.practice-glow {
  position: absolute; left: 0; right: 0; bottom: 0; height: 92%;
  z-index: 0; pointer-events: none;
  background: linear-gradient(to top,
    rgba(255, 106, 26, 0.5) 0%,
    rgba(255, 106, 26, 0.28) 22%,
    rgba(255, 106, 26, 0.1) 46%,
    transparent 76%);
}
/* generic dark→orange glow treatment for any section (mirrors #practice) */
.section--glow { isolation: isolate; }
.section--glow > .wrap { position: relative; z-index: 1; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.split--3 { grid-template-columns: 0.85fr 1fr 1fr; align-items: stretch; }
.pcol-title { display: flex; align-items: flex-start; padding: 0 18px 0 4px; }
.pcol-title .h2 { font-size: clamp(40px, 6.4vw, 88px); letter-spacing: -0.03em; line-height: 1.02; }
/* ---------- Cards (shared base: practice / what-how / audience) ---------- */
.card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 36px;
  background: var(--surface);
  display: flex; flex-direction: column;
  box-shadow: 0 26px 60px -32px rgba(255, 106, 26, 0.42), 0 6px 20px -14px rgba(255, 106, 26, 0.22);
  transition: transform .35s var(--ease), box-shadow .35s, background .35s;
}
.card:hover { transform: translateY(-4px); }

/* icon — same size on every card that has one */
.card__ico { margin: -54px 0 22px; color: var(--o); line-height: 0; }
.card__ico svg { width: 56px; height: 56px; display: block; }

/* mono kicker/label — same type on every card */
.card__tag {
  font-family: var(--font-mono); font-size: 14px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--o);
  margin-bottom: 18px; display: inline-flex; align-items: center; gap: 9px;
}
.card__tag .sq { width: 9px; height: 9px; border-radius: 2px; background: currentColor; }

/* shared typography */
.card h3 { margin-bottom: 14px; line-height: 1.12; }
.card p { color: var(--text-dim); margin: 0 0 22px; max-width: 46ch; }
.card p:last-of-type { margin-bottom: 0; }
.card .tlink { margin-top: auto; }

/* Practice cards (criminal defense / collections) */
.pcard { min-height: 320px; }
.pcard--crim .card__ico, .pcard--crim .card__tag { color: var(--o-bright); }
.pcard--coll .card__ico, .pcard--coll .card__tag { color: var(--o-deep); }
.pcard .stream { z-index: 0; }

/* What we do / How we help (light surface) */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.dcard { background: var(--light-surface); }
.dcard .card__tag { color: var(--o-deep); }
.dcard h3 { color: var(--light-text); }
.dcard p { color: var(--light-dim); }
.dcard strong { color: var(--light-text); font-weight: 600; }

/* Audience cards (solo / scale / enterprise) */
.aud { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.acard:hover { transform: none; } /* audience cards: no hover effect */
.acard__quote { border-top: 1px solid var(--border); padding-top: 18px; margin-top: auto; }
.acard__quote q { color: var(--text); font-style: italic; font-size: 14.5px; quotes: "\201C" "\201D"; }
.acard__quote cite { display: block; margin-top: 8px; font-style: normal; font-size: 12.5px; color: var(--text-mute); }

/* ---------- CTA band (full-bleed orange) ---------- */
.ctaband { background: var(--grad-orange); }
.ctaband__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  padding-block: clamp(28px, 4vw, 46px);
}
.ctaband__title {
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(23px, 2.7vw, 38px); letter-spacing: -0.02em; line-height: 1.06;
  color: #190a02; margin: 0;
}
.ctaband__cta { flex: none; }
@media (max-width: 720px) {
  .ctaband__inner { flex-direction: column; text-align: center; gap: 22px; }
}

/* ---------- Reviews ---------- */
.reviews-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 40px; }
.rating { display: flex; align-items: center; gap: 14px; }
.rating__stars { color: var(--o); font-size: 18px; letter-spacing: 2px; }
.rating__txt { font-size: 14px; color: var(--text-dim); }
.rating__txt b { color: var(--text); }
.section--light .rating__txt { color: var(--light-dim); }
.section--light .rating__txt b { color: var(--light-text); }

.rev-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; align-items: stretch; }
.rev {
  border: 1px solid var(--light-border); border-radius: var(--radius-lg);
  background: var(--light-surface); padding: 30px;
  display: flex; flex-direction: column;
}
.rev--feat { background: var(--light-text); border-color: var(--light-text); }
.rev__stars { color: var(--o); letter-spacing: 2px; font-size: 15px; margin-bottom: 18px; }
.rev q { font-family: var(--font-head); font-weight: 500; font-size: 18px; line-height: 1.42; color: var(--light-text); letter-spacing: -.01em; quotes: "\201C" "\201D"; margin-bottom: 22px; display: block; }
.rev--feat q { color: #fff; font-size: 21px; }
.rev__who { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.rev__avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--grad-orange); display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: #1a0c03; flex: none; }
.rev__name { font-weight: 600; font-size: 14.5px; color: var(--light-text); }
.rev--feat .rev__name { color: #fff; }
.rev__firm { font-size: 12.5px; color: var(--light-mute); }
.rev--feat .rev__firm { color: rgba(255,255,255,.6); }
.rev--small q { font-size: 15.5px; font-family: var(--font-body); font-weight: 400; line-height: 1.5; color: var(--light-dim); }

/* second row of small reviews */
.rev-grid--3 { grid-template-columns: repeat(3, 1fr); margin-top: 20px; }

/* ---------- Testimonial slider ---------- */
.rating--center { justify-content: center; margin-top: 22px; }
.tslider { overflow: hidden; }
.tslider__track { display: flex; gap: 22px; align-items: stretch; }
.tcard {
  flex: 0 0 calc((100% - 22px) / 2);
  box-sizing: border-box;
  background: #141416; color: var(--text);
  border-radius: var(--radius-lg); padding: 42px;
  display: flex; flex-direction: column;
}
.tcard__stars { color: var(--o); letter-spacing: 2px; font-size: 15px; margin-bottom: 20px; }
.tcard q { font-family: var(--font-head); font-weight: 500; font-size: 21px; line-height: 1.42; color: #fff; letter-spacing: -.01em; quotes: "\201C" "\201D"; margin: 0 0 28px; display: block; }
.tcard__who { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.tcard__avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--grad-orange); display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: #fff; flex: none; }
.tcard__name { font-weight: 600; font-size: 15px; color: #fff; }
.tcard__firm { font-size: 12.5px; color: rgba(255,255,255,.55); }
@media (max-width: 760px) { .tcard { flex: 0 0 100%; } }
.tslider__dots { display: flex; justify-content: center; gap: 9px; margin-top: 26px; }
.tslider__dot {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(20, 10, 5, .2); cursor: pointer;
  transition: background .25s, transform .25s;
}
.tslider__dot:hover { background: rgba(20, 10, 5, .42); }
.tslider__dot.is-active { background: var(--o-deep); transform: scale(1.25); }
.reviews-cta { text-align: center; margin-top: 34px; }

/* ---------- Support section wave ---------- */
#audience { position: relative; isolation: isolate; }
#audience .wrap { position: relative; z-index: 1; }
.wave--audience {
  z-index: 0;
  opacity: clamp(0, calc(var(--hero-glow) * 1.7), 1);
  -webkit-mask: radial-gradient(125% 118% at 50% 130%, #000 28%, transparent 76%);
          mask: radial-gradient(125% 118% at 50% 130%, #000 28%, transparent 76%);
}

/* ---------- Trust band ---------- */
.trust { position: relative; overflow: hidden; }
.trust__inner { position: relative; z-index: 2; text-align: center; max-width: 820px; margin-inline: auto; }
.trust__inner h2 { margin-bottom: 22px; }
.trust__inner .lead { margin-inline: auto; margin-bottom: 44px; }
.badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.badge {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 18px; background: var(--surface);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.badge__ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--bg-2); border: 1px solid var(--border-strong); color: var(--o); }
.badge__ico svg { width: 20px; height: 20px; }
.badge__t { font-family: var(--font-head); font-weight: 600; font-size: 14.5px; }
.badge__s { font-size: 12px; color: var(--text-mute); line-height: 1.4; }

/* ---------- Final CTA ---------- */
.finalcta { position: relative; overflow: hidden; text-align: center; padding-block: clamp(90px, 12vw, 170px); }
.finalcta__inner { position: relative; z-index: 2; }
.finalcta h2 { font-size: clamp(40px, 6vw, 80px); margin-bottom: 18px; }
.finalcta p { color: var(--text); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.62; margin: 0 auto 18px; max-width: 56ch; }
.finalcta p:last-of-type { margin-bottom: 40px; }
.finalcta .wrap { max-width: 1320px; }
.finalcta .eyebrow { color: var(--o-bright); }
.finalcta .hero__cta { justify-content: center; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding-block: 72px 44px; }
.footer .wrap { max-width: none; padding-inline: clamp(20px, 3vw, 44px); }
.footer__top { display: grid; grid-template-columns: 1.8fr repeat(3, 1fr); gap: 36px; }
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; }
.footer__logo { display: inline-flex; color: var(--text); }
.footer__brand .aa-logo-svg { height: 42px; width: auto; color: var(--text); }
.footer__cta { margin-top: 26px; }
.footer__phone { display: inline-block; margin-top: 22px; font-family: var(--font-head); font-weight: 600; font-size: 19px; color: var(--o); }
.footer__phone:hover { color: var(--o-bright); }
.footer__social { display: flex; gap: 10px; margin-top: 22px; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-strong); display: grid; place-items: center; color: var(--text-dim); transition: color .2s, border-color .2s, background .2s; }
.footer__social a:hover { color: var(--o); border-color: var(--o); }
.footer__social svg { width: 19px; height: 19px; }
.footer__col h4 { font-family: var(--font-mono); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--o); margin: 0 0 18px; font-weight: 500; }
.footer__col a { display: block; font-size: 15px; color: var(--text); padding: 6px 0; transition: color .2s; }
.footer__col a:hover { color: var(--o); }
.footer__bottom { display: flex; justify-content: flex-start; align-items: center; gap: 24px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.footer__bottom small { color: var(--text-mute); font-size: 13.5px; }
.footer__legal-link { color: var(--text-dim); font-size: 13.5px; transition: color .2s; }
.footer__legal-link:hover { color: var(--o); }

/* ---------- Section heading block ---------- */
.shead { margin-bottom: 48px; max-width: 60ch; }
.shead--center { text-align: center; margin-inline: auto; }
#what .wrap { max-width: 1320px; }
#what .shead { max-width: none; }
#what .shead .h2 { white-space: nowrap; }
@media (max-width: 720px) { #what .shead .h2 { white-space: normal; } }

/* ---------- Reveal animation (restrained, progressive-enhancement) ----------
   Content is visible by default. The hidden→reveal choreography only engages
   once JS confirms the page is painting (html.anim), so content can never get
   stuck invisible in a non-painting context. */
.reveal { opacity: 1; transform: none; }
html.anim .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.anim .reveal.in { opacity: 1; transform: none; }
html.anim-done .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  html.anim .reveal { opacity: 1 !important; transform: none !important; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--border); }
  .rev-grid, .rev-grid--3 { grid-template-columns: 1fr 1fr; }
  .aud { grid-template-columns: 1fr; }
  /* stacked icon cards: offset the icon's overhang so the gap mirrors the grid gap */
  .aud > .acard + .acard { margin-top: 39px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .badges { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .split, .duo, .rev-grid, .rev-grid--3 { grid-template-columns: 1fr; }
  /* stacked icon cards: offset the icon's overhang so the gap mirrors the grid gap
     (also applies to the first pcard, which follows the title column when stacked) */
  .split > .pcol-title + .pcard,
  .split > .pcard + .pcard { margin-top: 39px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .card { padding: 28px; }
  .reviews-head { align-items: flex-start; }
}
@media (max-width: 520px) {
  .wrap { padding-inline: 18px; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--border); }
  .badges { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
}

/* centralise everything in the footer on mobile */
@media (max-width: 640px) {
  .footer__top { grid-template-columns: 1fr; text-align: center; gap: 30px; }
  .footer__brand { align-items: center; }
  .footer__social { justify-content: center; }
  .footer__bottom { justify-content: center; text-align: center; }
}

/* ============================================================
   INTERIOR PAGES — components shared by practice / product /
   about / pricing / security / forms. Built from the same
   tokens and base classes as the homepage above.
   ============================================================ */

/* hero, interior variant: a touch shorter than the homepage hero */
.hero--page { padding-block: clamp(56px, 7vw, 104px) clamp(40px, 5vw, 72px); }
.hero--page .hero__leads { margin-bottom: 30px; }

/* ---------- "How it works" flow steps (kicker + heading + body + outcome) ---------- */
.flowgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }
.flowgrid--1 { grid-template-columns: 1fr; max-width: 860px; margin-inline: auto; }
.flowgrid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .flowgrid, .flowgrid--3 { grid-template-columns: 1fr; }
  /* stacked flow cards: offset the icon overhang so the gap mirrors the grid gap */
  .flowgrid > .card + .card:has(.card__ico) { margin-top: 39px; }
}

/* outcome line — the orange "→ No re-entry. No reformatting." payoff */
.outcome {
  display: flex; align-items: flex-start; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 15.5px;
  color: var(--o); line-height: 1.4; margin: 6px 0 0;
}
.outcome .arr { flex: none; }
.dcard .outcome, .section--light .card .outcome { color: var(--o-deep); }

/* flow boxes with overhang icons (same style as home cards): give the row
   room above so the lifted icon clears the section heading */
.dcard .card__ico { color: var(--o-deep); }
.flowgrid:has(.card__ico) { margin-top: 40px; }

/* centered prose block (section content without a card box) */
.midblock { max-width: 820px; margin-inline: auto; text-align: center; }
.midblock h3 { margin-bottom: 16px; }
.midblock p { color: var(--text-dim); margin: 0 auto 16px; max-width: 64ch; }
.midblock p:last-child { margin-bottom: 0; }
.midblock .outcome { justify-content: center; margin-top: 6px; }
.section--light .midblock p { color: var(--light-dim); }
.shead--tight { margin-bottom: 18px; }
.midblock--gap { margin-bottom: 44px; }

/* reviews page: masonry of full testimonials with headlines */
.review-masonry { columns: 3; column-gap: 20px; }
@media (max-width: 1000px) { .review-masonry { columns: 2; } }
@media (max-width: 640px) { .review-masonry { columns: 1; } }
.review-masonry > .rev { display: block; break-inside: avoid; margin-bottom: 20px; }
.rev__title { font-family: var(--font-head); font-weight: 600; font-size: 18px; line-height: 1.25; letter-spacing: -.01em; color: var(--light-text); margin: 0 0 14px; }
.rev__body p { color: var(--light-dim); font-size: 15px; line-height: 1.6; margin: 0 0 12px; }
.rev__body p:last-child { margin-bottom: 20px; }

/* button inside a card, pinned under the content */
.card__btn { margin-top: 22px; align-self: flex-start; }
.card .outcome + .card__btn { margin-top: 18px; }
/* when a card has an outcome + button, let the outcome sit at the natural flow
   and push nothing; keep paragraphs from forcing equal-height oddities */
.flowgrid .card p { max-width: none; }

/* ---------- Simple feature list (audience / "who it's for" with tag + heading) ---------- */
.acard--plain .card__tag { margin-bottom: 14px; }
.acard--plain h3 { margin-bottom: 0; }

/* ---------- Pricing table + volume slider ---------- */
.pricing-wrap { max-width: 760px; margin-inline: auto; }
.pslider { margin: 0 0 30px; }
.pslider__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; margin-bottom: 16px; }
.pslider__volwrap, .pslider__feewrap { display: flex; flex-direction: column; gap: 4px; }
.pslider__feewrap { text-align: right; }
.pslider__cap { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-mute); }
.pslider__vol { font-family: var(--font-head); font-weight: 600; font-size: clamp(22px, 3vw, 30px); }
.pslider__fee { font-family: var(--font-head); font-weight: 600; font-size: clamp(26px, 3.6vw, 40px); }
.pslider input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px;
  border-radius: 999px; background: var(--surface-2); outline: none; cursor: pointer;
}
.pslider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--grad-orange); border: 3px solid var(--bg);
  box-shadow: 0 4px 14px -4px rgba(255,106,26,.7); cursor: pointer;
}
.pslider input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%; background: var(--o);
  border: 3px solid var(--bg); cursor: pointer;
}
.ptable {
  border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--surface);
}
.ptable__row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 17px 26px; border-bottom: 1px solid var(--border); transition: background .25s; }
.ptable__row:last-child { border-bottom: none; }
.ptable__row--head { background: var(--bg-2); font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
.ptable__row.is-active { background: color-mix(in srgb, var(--o) 16%, var(--surface)); }
.ptable__row.is-active .ptable__fee { color: var(--o-bright); }
.ptable__vol { color: var(--text); font-size: 16px; }
.ptable__fee { font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--o); }
.pnote { text-align: center; color: var(--text-mute); font-size: 14.5px; margin: 26px auto 32px; max-width: 60ch; }

/* ---------- Forms (book a demo / contact) ---------- */
.form { display: flex; flex-direction: column; gap: 18px; }
.form__row { display: flex; flex-direction: column; gap: 8px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form__grid { grid-template-columns: 1fr; } }
.form label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); }
.form input, .form textarea, .form select {
  width: 100%; background: var(--surface); color: var(--text);
  border: 1px solid var(--border-strong); border-radius: 12px;
  padding: 14px 16px; font-family: var(--font-body); font-size: 16px;
  transition: border-color .2s, background .2s;
}
.form input::placeholder, .form textarea::placeholder { color: var(--text-mute); }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--o); background: var(--surface-2); }
.form textarea { min-height: 130px; resize: vertical; }
.form__choices { display: flex; flex-wrap: wrap; gap: 10px; }
.form__chip { position: relative; }
.form__chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.form__chip span {
  display: inline-block; padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--border-strong); color: var(--text-dim);
  font-size: 14.5px; font-family: var(--font-head); font-weight: 600; transition: all .2s;
}
.form__chip input:checked + span { border-color: var(--o); background: color-mix(in srgb, var(--o) 14%, transparent); color: var(--text); }
.form__chip input:focus-visible + span { outline: 2px solid var(--o); outline-offset: 2px; }
.form__submit { align-self: flex-start; margin-top: 6px; }

/* two-column hero (Book a Demo): copy left, form right */
.hero__split { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 64px); align-items: start; text-align: left; }
@media (max-width: 900px) { .hero__split { grid-template-columns: 1fr; } }
.hero__split .eyebrow { justify-content: flex-start; font-size: 13px; }
.hero__split .h1 { font-size: clamp(38px, 4.6vw, 64px); max-width: none; margin-bottom: 22px; }
.hero__split .hero__leads { margin-bottom: 28px; max-width: none; }
.hero__split .aside-list { margin-bottom: 26px; }

/* split layout for the demo page: form + aside */
.formsplit { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .formsplit { grid-template-columns: 1fr; } }
.formcard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(28px, 3vw, 42px); }
.formcard h3 { color: var(--text); }
.aside-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 16px; }
.aside-list li { position: relative; padding-left: 30px; color: var(--text-dim); line-height: 1.55; }
.aside-list li::before {
  content: ''; position: absolute; left: 0; top: 7px; width: 14px; height: 14px;
  border-radius: 4px; background: var(--grad-orange);
}
.aside-quote { border-left: 2px solid var(--o); padding-left: 22px; margin: 0; }
.aside-quote q { font-family: var(--font-head); font-weight: 500; font-size: 19px; line-height: 1.4; color: var(--text); quotes: "\201C" "\201D"; display: block; margin-bottom: 12px; }
.aside-quote cite { font-style: normal; font-size: 13.5px; color: var(--text-mute); }

/* direct contact details block */
.contact-direct { display: grid; gap: 18px; }
.contact-direct__row { display: flex; align-items: center; gap: 14px; }
.contact-direct__ico { width: 42px; height: 42px; border-radius: 11px; flex: none; display: grid; place-items: center; background: var(--bg-2); border: 1px solid var(--border-strong); color: var(--o); }
.contact-direct__ico svg { width: 20px; height: 20px; }
.contact-direct__cap { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-mute); }
.contact-direct__val { font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--text); }
.contact-direct__val a:hover { color: var(--o); }
/* contact details on a light section */
.section--light .contact-direct__cap { color: var(--light-mute); }
.section--light .contact-direct__val { color: var(--light-text); }
.section--light .contact-direct__ico { background: var(--light-surface); border-color: var(--light-border); color: var(--o-deep); }

/* ---------- Team grid ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1000px) { .team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .team { grid-template-columns: 1fr; } }
.tmember h3 { margin-bottom: 4px; }
.tmember .role { font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--o); margin-bottom: 18px; }
.tmember p { color: var(--text-dim); margin: 0 0 14px; max-width: none; }
.tmember p:last-child { margin-bottom: 0; }
.tmember__avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--grad-orange); display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; font-size: 22px; color: #fff; margin-bottom: 22px; }
.tmember--lead { grid-column: 1 / -1; }
@media (min-width: 1001px) { .tmember--lead { grid-column: span 3; } }
/* light / white team cards */
.section--light .tmember { background: var(--light-surface); }
.section--light .tmember h3 { color: var(--light-text); }
.section--light .tmember .role { color: var(--o-deep); }
.section--light .tmember p { color: var(--light-dim); }

/* ---------- Certification / spec lists (security page) ---------- */
.certgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
@media (max-width: 900px) { .certgrid { grid-template-columns: 1fr; } }
.speclist { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; }
.speclist li { position: relative; padding-left: 26px; color: var(--text-dim); font-size: 15.5px; line-height: 1.5; }
.speclist li::before { content: ''; position: absolute; left: 0; top: 9px; width: 9px; height: 9px; border-radius: 2px; background: var(--o); }
.speclist + .outcome { margin-top: 20px; }
.section--light .speclist li { color: var(--light-dim); }
.section--light .speclist li::before { background: var(--o-deep); }

/* ---------- Centered closing trust note (mid/section) ---------- */
.trustnote { text-align: center; max-width: 760px; margin-inline: auto; }
.trustnote .eyebrow { justify-content: center; }
.trustnote p { color: var(--text-dim); margin: 0 auto 8px; max-width: 64ch; }
.section--light .trustnote p { color: var(--light-dim); }

/* generic section intro spacing when only an eyebrow + h2 lead a block */
.shead--eyebrow { margin-bottom: 40px; }

/* ---------- Legal / prose (privacy policy, terms) ---------- */
.prose { max-width: 760px; margin-inline: auto; }
.prose__updated { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-mute); margin: 0 0 36px; }
.prose .lead { color: var(--text); max-width: none; margin-bottom: 40px; }
.prose h2 { font-size: clamp(22px, 2.4vw, 28px); margin: 44px 0 14px; }
.prose h2:first-of-type { margin-top: 0; }
.prose p { color: var(--text-dim); margin: 0 0 16px; }
.prose ul { margin: 0 0 16px; padding-left: 22px; color: var(--text-dim); }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--o); }
.prose a:hover { color: var(--o-bright); }

/* video / media placeholder (founder) */
.media-ph {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border-strong); background: linear-gradient(135deg, var(--surface), var(--bg-2));
  aspect-ratio: 16 / 9; display: grid; place-items: center;
}
.media-ph__play { width: 74px; height: 74px; border-radius: 50%; background: var(--grad-orange); display: grid; place-items: center; box-shadow: 0 18px 50px -18px rgba(255,106,26,.6); }
.media-ph__play svg { width: 28px; height: 28px; color: #190a02; margin-left: 4px; }
.founder { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
@media (max-width: 900px) { .founder { grid-template-columns: 1fr; } }
.video-embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-strong); background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
