/* ============================================================
   VETOPS AI — PUBLIC DESIGN SYSTEM v5 "TACTICAL OPS"
   Dark, modern veteran-tech platform with an operations-
   dashboard feel. Navy/charcoal/near-black base, gunmetal
   panels, steel borders, electric-blue (system/AI) +
   mission-gold (veteran CTA) accents, soft glows, subtle
   grid overlays, refined microinteractions.
   One stylesheet drives every public page.
   ============================================================ */

:root {
  /* ── Base surfaces (dark) ────────────────────────────────── */
  --ink-950: #05080F;   /* deepest near-black */
  --ink-900: #080D18;   /* page background */
  --navy-900: #0B1322;  /* base navy surface */
  --navy-850: #0E1727;
  --navy-800: #111C30;  /* raised navy */
  --panel: #131D31;     /* charcoal / gunmetal card */
  --panel-2: #18233B;   /* raised panel / hover */
  --panel-3: #1F2C48;

  /* ── Borders / lines ─────────────────────────────────────── */
  --steel: #2B3A57;          /* muted steel-gray border */
  --steel-soft: #233149;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .14);

  /* ── Accents ─────────────────────────────────────────────── */
  --blue: #3D8BFF;           /* electric blue — system / AI / dashboard */
  --blue-bright: #6AA8FF;
  --blue-dim: rgba(61, 139, 255, .14);
  --gold: #E0B24C;           /* mission gold — veteran-facing CTAs */
  --gold-bright: #F2C766;
  --gold-deep: #C2922F;
  --green: #34D399;          /* tactical green — ready / ok status */
  --amber: #F0A938;          /* in-development status */

  /* ── Text ────────────────────────────────────────────────── */
  --text: #EAF0FA;           /* near-white body/heading */
  --text-soft: #C2CEE2;
  --text-dim: #93A2BD;       /* cool gray muted */
  --text-faint: #647593;
  --danger: #FF5468;         /* semantic danger only */
  --success: #34D399;
  --warning: #F0A938;

  /* legacy aliases kept so older selectors/pages don't break */
  --navy-950: var(--ink-950);
  --navy-700: var(--panel-3);
  --navy-600: #24355A;
  --red: var(--gold);
  --red-bright: var(--gold-bright);
  --red-deep: var(--gold-deep);
  --white: #FFFFFF;
  --paper: var(--navy-850);
  --paper-2: var(--panel-2);
  --ink: var(--text);
  --slate: var(--text-dim);

  /* ── Signature effects ───────────────────────────────────── */
  --glow-blue: 0 0 0 1px rgba(61, 139, 255, .45), 0 10px 34px rgba(61, 139, 255, .20);
  --glow-gold: 0 0 0 1px rgba(224, 178, 76, .45), 0 10px 34px rgba(224, 178, 76, .18);
  --elev: 0 12px 32px rgba(0, 0, 0, .45);
  --elev-lg: 0 24px 60px rgba(0, 0, 0, .55);
  --hard-shadow: var(--elev);          /* legacy alias */
  --hard-shadow-sm: 0 8px 22px rgba(0, 0, 0, .40);
  --hard-shadow-red: var(--glow-gold);
  --soft-shadow: var(--elev-lg);
  /* faint tactical grid overlay */
  --grid-overlay:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  --grid-size: 46px 46px;

  /* ── Type ────────────────────────────────────────────────── */
  --font-display: "Archivo", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", "Cascadia Code", Menlo, Consolas, monospace;

  /* ── Rhythm ──────────────────────────────────────────────── */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 72px;
  --space-9: 104px;
  --radius: 14px;
  --radius-sm: 8px;
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body.vetops-public {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--ink-900);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.public-header a,
.hero a,
.section a,
.section.dark a,
.public-footer a {
  color: inherit;
}

body.vetops-public :focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: var(--text);
}

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-link {
  position: absolute;
  left: 16px;
  top: -90px;
  z-index: 60;
  padding: 12px 18px;
  background: var(--blue);
  color: #04122B;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .8rem;
  text-decoration: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.skip-link:focus {
  top: 0;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--ink-900);
}

.nav-inner,
.section-inner,
.footer-inner {
  width: min(var(--container), calc(100% - 44px));
  margin-inline: auto;
}

/* ============================================================
   HEADER — glassy command bar, blurs + firms up on scroll
   ============================================================ */
.public-header {
  position: sticky;
  top: 0;
  z-index: 40;
  color: var(--text);
  background: rgba(8, 13, 24, .72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background .25s ease, border-color .25s ease;
}

.public-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: .5;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  min-height: 72px;
  flex-wrap: wrap;
  padding-block: 8px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: linear-gradient(150deg, var(--blue), #1F5FCC);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 6px 18px rgba(61, 139, 255, .35);
}

.brand:hover .brand-mark {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 8px 24px rgba(61, 139, 255, .55);
  transition: box-shadow .2s ease;
}

.public-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 26px);
  flex-wrap: wrap;
}

.public-nav a {
  position: relative;
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 600;
  font-size: .92rem;
  padding: 8px 2px;
  transition: color .15s ease;
}

.public-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 2px;
  background: var(--blue);
  transition: right .2s ease;
}

.public-nav a:hover,
.public-nav a[aria-current="page"] {
  color: var(--text);
}

.public-nav a:hover::after,
.public-nav a[aria-current="page"]::after {
  right: 0;
}

.public-nav .nav-cta {
  background: var(--gold);
  color: #1A1404;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .82rem;
  padding: 11px 22px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(224, 178, 76, .25);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.public-nav .nav-cta::after {
  display: none;
}

.public-nav .nav-cta:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(224, 178, 76, .4);
}

/* disabled "coming soon" chips where intake CTAs used to live */
.nav-cta-soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--steel);
  border-radius: 10px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .72rem;
  cursor: default;
  user-select: none;
}

.nav-cta-soon::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 0 rgba(240, 169, 56, .5);
  animation: ds-pulse 2.4s ease-out infinite;
}

.btn-soon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  background: rgba(255, 255, 255, .03);
  color: var(--text-dim);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  border: 1px solid var(--steel);
  border-radius: 12px;
  cursor: default;
  user-select: none;
}

.btn-soon::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 8px rgba(240, 169, 56, .7);
  animation: ds-pulse 2.4s ease-out infinite;
}

/* intake waitlist form (final-CTA sections) */
.intake-notify {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 440px;
}

.intake-notify .btn-soon {
  align-self: flex-start;
}

.intake-notify-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.intake-notify-row input {
  flex: 1;
  min-width: 200px;
  padding: 14px 16px;
  border: 1px solid var(--steel);
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.intake-notify-row input::placeholder {
  color: var(--text-faint);
}

.intake-notify-row input:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px var(--blue-dim);
}

.intake-notify-note {
  font-size: .78rem;
  color: var(--text-faint);
  line-height: 1.5;
}

.intake-notify-status {
  font-size: .92rem;
  font-weight: 650;
  min-height: 0;
}

.intake-notify-status.ok {
  color: var(--green);
}

.intake-notify-status.err {
  color: var(--danger);
}

/* ============================================================
   HERO — deep navy command zone with grid + accent glow
   ============================================================ */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 520px at 86% -10%, rgba(61, 139, 255, .20), transparent 60%),
    radial-gradient(820px 440px at -8% 112%, rgba(224, 178, 76, .10), transparent 60%),
    var(--ink-950);
  color: var(--text);
  overflow: hidden;
}

/* tactical grid overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grid-overlay);
  background-size: var(--grid-size);
  mask-image: radial-gradient(120% 120% at 50% 0%, #000 35%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 120% at 50% 0%, #000 35%, transparent 78%);
  pointer-events: none;
}

/* thin accent scanline along the hero bottom */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue) 30%, var(--gold) 70%, transparent);
  opacity: .55;
}

/* ── Per-page hero photo themes ──────────────────────────────
   Each lane gets a backdrop matching its mission. The dark
   navy overlay guarantees text contrast on every image. */
.hero--home {
  background:
    linear-gradient(95deg, rgba(5, 8, 15, .95) 0%, rgba(8, 13, 24, .82) 52%, rgba(8, 13, 24, .5) 100%),
    url('/images/hero/vetops-all-branches.webp') center 30% / cover no-repeat,
    var(--ink-950);
}

.hero--claims {
  background:
    linear-gradient(95deg, rgba(5, 8, 15, .96) 0%, rgba(8, 13, 24, .85) 52%, rgba(8, 13, 24, .55) 100%),
    url('/images/hero/vetops-veterans-paperwork.webp') center 40% / cover no-repeat,
    var(--ink-950);
}

.hero--sdvosb {
  background:
    linear-gradient(95deg, rgba(5, 8, 15, .96) 0%, rgba(8, 13, 24, .85) 52%, rgba(8, 13, 24, .55) 100%),
    url('/images/hero/vetops-govcon-office.webp') center 35% / cover no-repeat,
    var(--ink-950);
}

.hero--resources {
  background:
    linear-gradient(95deg, rgba(5, 8, 15, .95) 0%, rgba(8, 13, 24, .83) 52%, rgba(8, 13, 24, .52) 100%),
    url('/images/hero/vetops-homecoming.webp') center 35% / cover no-repeat,
    var(--ink-950);
}

.hero--transition {
  background:
    linear-gradient(95deg, rgba(5, 8, 15, .95) 0%, rgba(8, 13, 24, .83) 52%, rgba(8, 13, 24, .52) 100%),
    url('/images/hero/vetops-peaceful-porch.webp') center 40% / cover no-repeat,
    var(--ink-950);
}

/* heavier, calmer overlay out of respect for the subject */
.hero--survivors {
  background:
    linear-gradient(95deg, rgba(5, 8, 15, .96) 0%, rgba(8, 13, 24, .9) 55%, rgba(8, 13, 24, .66) 100%),
    url('/images/hero/vetops-remembrance-coins.webp') center 45% / cover no-repeat,
    var(--ink-950);
}

.hero-command {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(64px, 9vw, 116px) clamp(72px, 9vw, 124px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 var(--space-5);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: .76rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--blue-bright);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--blue);
  flex-shrink: 0;
}

.section.paper .eyebrow,
.section.offwhite .eyebrow,
.legal-page .eyebrow {
  color: var(--blue-bright);
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 900;
  text-transform: none;
  margin: 0 0 var(--space-5);
}

.hero-copy .lead {
  max-width: 56ch;
}

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.65;
  color: var(--text-soft);
  margin: 0 0 var(--space-6);
}

.section.paper .lead,
.section.offwhite .lead {
  color: var(--text-soft);
}

.actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  align-items: center;
}

/* ============================================================
   BUTTONS — gold = veteran CTA · blue = system/AI action
   ============================================================ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  background: var(--gold);
  color: #1A1404;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .92rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  text-decoration: none;
  border: none;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(224, 178, 76, .26);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  cursor: pointer;
}

.btn:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(224, 178, 76, .42);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(224, 178, 76, .3);
}

/* arrow-slide microinteraction for buttons whose label ends in → */
.btn .arrow,
.btn-soon .arrow {
  transition: transform .15s ease;
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* system / AI / dashboard action — electric blue */
.btn.system {
  background: var(--blue);
  color: #04122B;
  box-shadow: 0 8px 22px rgba(61, 139, 255, .3);
}

.btn.system:hover {
  background: var(--blue-bright);
  box-shadow: 0 12px 30px rgba(61, 139, 255, .45);
}

.btn.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--steel);
  box-shadow: none;
}

.btn.secondary:hover {
  background: rgba(61, 139, 255, .08);
  border-color: var(--blue);
  color: var(--text);
  transform: translateY(-1px);
  box-shadow: none;
}

/* keep light-section overrides harmless now that all sections are dark */
.section.paper .btn:not(.secondary),
.section.offwhite .btn:not(.secondary) {
  box-shadow: 0 8px 22px rgba(224, 178, 76, .26);
}

.section.paper .btn:not(.secondary):hover,
.section.offwhite .btn:not(.secondary):hover {
  box-shadow: 0 12px 30px rgba(224, 178, 76, .42);
}

.section.paper .btn.secondary,
.section.offwhite .btn.secondary {
  color: var(--text);
  border-color: var(--steel);
}

.section.paper .btn.secondary:hover,
.section.offwhite .btn.secondary:hover {
  background: rgba(61, 139, 255, .08);
  border-color: var(--blue);
}

.btn.inverse {
  background: var(--blue);
  color: #04122B;
  box-shadow: 0 8px 22px rgba(61, 139, 255, .3);
}

.btn.inverse:hover {
  background: var(--blue-bright);
  box-shadow: 0 12px 30px rgba(61, 139, 255, .45);
}

/* ============================================================
   COMMAND PANEL — glass dashboard card on the hero
   ============================================================ */
.command-panel {
  position: relative;
  background: linear-gradient(180deg, rgba(24, 35, 59, .9), rgba(16, 23, 39, .92));
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: clamp(20px, 2.6vw, 28px);
  box-shadow: var(--elev-lg), inset 0 1px 0 rgba(255, 255, 255, .05);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.command-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 16px;
  right: 16px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
  padding-top: 6px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.panel-header span:first-child {
  color: var(--text-dim);
}

.panel-header span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  background: rgba(52, 211, 153, .12);
  border: 1px solid rgba(52, 211, 153, .3);
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: .08em;
}

.panel-header span:last-child::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, .5);
  animation: ds-pulse 2.4s ease-out infinite;
}

/* status list — "Evidence Intake: Ready" rows with live dots */
.status-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: var(--space-5);
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 11px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .02);
  border: 1px solid transparent;
  transition: border-color .15s ease, background .15s ease;
}

.status-row:hover {
  background: rgba(255, 255, 255, .04);
  border-color: var(--line);
}

.status-row .sr-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: .82rem;
  letter-spacing: .02em;
  color: var(--text-soft);
}

.status-row .sr-label .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-row .sr-state {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.status-row[data-state="ready"] .dot { background: var(--green); box-shadow: 0 0 0 0 rgba(52, 211, 153, .5); animation: ds-pulse 2.6s ease-out infinite; }
.status-row[data-state="ready"] .sr-state { color: var(--green); }
.status-row[data-state="available"] .dot { background: var(--blue); }
.status-row[data-state="available"] .sr-state { color: var(--blue-bright); }
.status-row[data-state="soon"] .dot { background: var(--amber); }
.status-row[data-state="soon"] .sr-state { color: var(--amber); }
.status-row[data-state="dev"] .dot { background: var(--text-faint); }
.status-row[data-state="dev"] .sr-state { color: var(--text-dim); }

.panel-divider {
  height: 1px;
  background: var(--line);
  margin: 4px 0 var(--space-5);
}

.workflow-track {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.workflow-track::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: linear-gradient(180deg, var(--blue), rgba(61, 139, 255, .15));
  border-radius: 99px;
}

.workflow-step {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.workflow-step b {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: var(--panel-2);
  color: var(--blue-bright);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: .9rem;
  border-radius: 10px;
  border: 1px solid var(--steel);
  box-shadow: 0 0 0 4px rgba(11, 19, 34, .9);
}

.workflow-step strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: .02em;
}

.workflow-step span {
  display: block;
  font-size: .9rem;
  color: var(--text-dim);
  line-height: 1.5;
}

/* ============================================================
   TRUST BAR — system-status strip under the hero
   ============================================================ */
.trust-bar {
  position: relative;
  background: var(--ink-950);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 16px;
}

.trust-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
  justify-content: center;
}

.trust-grid span {
  position: relative;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding-left: 18px;
}

.trust-grid span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px rgba(61, 139, 255, .6);
}

/* ============================================================
   SECTIONS — tonal dark bands for rhythm
   ============================================================ */
.section {
  position: relative;
  padding-block: clamp(64px, 8vw, 110px);
}

.section.paper {
  background: var(--ink-900);
  color: var(--text);
}

.section.offwhite {
  background: var(--navy-850);
  color: var(--text);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section.dark {
  position: relative;
  background:
    radial-gradient(900px 440px at 108% 0%, rgba(61, 139, 255, .12), transparent 55%),
    radial-gradient(700px 360px at -8% 110%, rgba(224, 178, 76, .07), transparent 55%),
    var(--ink-950);
  color: var(--text);
  overflow: hidden;
}

.section.dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grid-overlay);
  background-size: var(--grid-size);
  mask-image: radial-gradient(120% 100% at 50% 0%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 30%, transparent 80%);
  pointer-events: none;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: var(--space-6);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 60px);
}

.section-heading h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  font-weight: 900;
}

.section-heading p {
  color: var(--text-dim);
  font-size: .98rem;
  line-height: 1.65;
}

.section.dark .section-heading p {
  color: var(--text-dim);
}

.muted {
  color: var(--text-dim);
  font-size: .95rem;
  line-height: 1.6;
}

.section.dark .muted {
  color: var(--text-dim);
}

/* ============================================================
   SERVICE BOARD — home page lane cards
   ============================================================ */
.service-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  background: var(--panel);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--hard-shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(61, 139, 255, .35), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .18s ease;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(61, 139, 255, .5);
  background: var(--panel-2);
  box-shadow: var(--elev);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card.wide {
  grid-column: span 2;
  background:
    radial-gradient(620px 280px at 100% 0%, rgba(61, 139, 255, .14), transparent 60%),
    var(--navy-800);
  border-color: var(--steel);
  color: var(--text);
}

.service-card.wide .muted {
  color: var(--text-soft);
}

.service-card.wide h3 {
  color: var(--text);
}

.card-kicker {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  background: var(--blue-dim);
  color: var(--blue-bright);
  border: 1px solid rgba(61, 139, 255, .3);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 999px;
}

.service-card h3,
.lane-card h3,
.resource-card h3,
.premium-card h3 {
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.18;
}

.bring-list {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.bring-list li {
  position: relative;
  padding-left: 22px;
  font-size: .9rem;
  color: var(--text-dim);
}

.service-card.wide .bring-list li {
  color: var(--text-soft);
}

.bring-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .48em;
  width: 9px;
  height: 9px;
  background: var(--blue);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: var(--space-4);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .86rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--blue-bright);
  text-decoration: none;
}

.card-link::after {
  content: "→";
  transition: transform .15s ease;
}

.service-card:hover .card-link::after,
.card-link:hover::after {
  transform: translateX(5px);
}

.service-card.wide .card-link {
  color: var(--blue-bright);
}

/* ============================================================
   PROCESS GRID — numbered steps on dark
   ============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-4);
}

.process-item {
  position: relative;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.process-item:hover {
  transform: translateY(-4px);
  border-color: rgba(61, 139, 255, .5);
  background: rgba(61, 139, 255, .07);
}

.process-item b {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--blue-bright);
  line-height: 1;
  margin-bottom: 12px;
}

.process-item h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: .02em;
  margin-bottom: 8px;
}

/* ============================================================
   CARD GRIDS — premium, persona, assistant, lane, resource
   ============================================================ */
.assistant-grid,
.persona-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-5);
}

.lane-grid,
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-5);
}

.premium-card,
.lane-card,
.resource-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  background: var(--panel);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--hard-shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.premium-card:hover,
.lane-card:hover,
.resource-card:hover {
  transform: translateY(-4px);
  border-color: rgba(61, 139, 255, .5);
  background: var(--panel-2);
  box-shadow: var(--elev);
}

.section.dark .premium-card {
  background: rgba(255, 255, 255, .03);
  border-color: var(--line);
  box-shadow: none;
  color: var(--text);
}

.section.dark .premium-card h3 {
  color: var(--text);
}

.section.dark .premium-card:hover {
  transform: translateY(-4px);
  border-color: rgba(61, 139, 255, .5);
  background: rgba(61, 139, 255, .06);
  box-shadow: none;
}

.resource-card ul,
.lane-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.resource-card li,
.lane-card li {
  position: relative;
  padding-left: 20px;
  font-size: .92rem;
  color: var(--text-dim);
}

.resource-card li::before,
.lane-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: 8px;
  height: 8px;
  background: var(--blue);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.resource-card a {
  color: var(--blue-bright);
  font-weight: 600;
  text-decoration-color: rgba(61, 139, 255, .4);
  text-underline-offset: 3px;
}

.resource-card a:hover {
  color: var(--blue);
}

.pill {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--steel);
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-faint);
}

/* status semantics for pills via text content patterns */
.pill.is-beta,
.pill[data-state="beta"] { color: var(--green); border-color: rgba(52, 211, 153, .35); }
.pill.is-beta::before,
.pill[data-state="beta"]::before { background: var(--green); box-shadow: 0 0 8px rgba(52, 211, 153, .6); }
.pill.is-rollout,
.pill[data-state="rollout"] { color: var(--blue-bright); border-color: rgba(61, 139, 255, .35); }
.pill.is-rollout::before,
.pill[data-state="rollout"]::before { background: var(--blue); box-shadow: 0 0 8px rgba(61, 139, 255, .6); }
.pill.is-soon,
.pill[data-state="soon"] { color: var(--amber); border-color: rgba(240, 169, 56, .35); }
.pill.is-soon::before,
.pill[data-state="soon"]::before { background: var(--amber); animation: ds-pulse 2.6s ease-out infinite; }

.section.dark .pill {
  background: rgba(255, 255, 255, .05);
}

/* ============================================================
   DOSSIER — split evidence block on dark sections
   ============================================================ */
.dossier {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.dossier-panel h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 900;
  color: var(--text);
  margin-bottom: var(--space-4);
}

.dossier-panel .muted {
  color: var(--text-soft);
  font-size: 1rem;
}

.dossier-header {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.dossier-header span:first-child {
  color: var(--blue-bright);
}

.dossier-header span:last-child {
  color: var(--text-faint);
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.check-list li {
  position: relative;
  padding-left: 38px;
  font-size: .97rem;
  line-height: 1.55;
  color: var(--text-soft);
}

.section.dark .premium-card .check-list li {
  color: var(--text-soft);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  background: rgba(52, 211, 153, .15);
  border: 1px solid rgba(52, 211, 153, .4);
  color: var(--green);
  font-weight: 900;
  font-size: .8rem;
  border-radius: 7px;
}

/* ============================================================
   FREE TOOLS SHOWCASE (homepage)
   ============================================================ */
.tool-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 0;
  background:
    radial-gradient(700px 320px at 100% 0%, rgba(61, 139, 255, .16), transparent 60%),
    var(--navy-800);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  box-shadow: var(--elev);
  overflow: hidden;
  text-decoration: none;
  margin-bottom: var(--space-5);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.tool-hero:hover {
  transform: translateY(-4px);
  border-color: rgba(61, 139, 255, .5);
  box-shadow: var(--elev-lg), 0 0 40px rgba(61, 139, 255, .15);
}

.tool-hero-body {
  padding: clamp(26px, 4vw, 40px);
  color: var(--text);
}

.tool-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--gold);
  color: #1A1404;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.tool-hero-body h3 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 10px;
}

.tool-hero-body p {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 18px;
  max-width: 52ch;
}

.tool-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .9rem;
  color: var(--gold-bright);
}

.tool-hero-cta::after {
  content: "→";
  transition: transform .15s ease;
}

.tool-hero:hover .tool-hero-cta::after {
  transform: translateX(5px);
}

.tool-hero-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background:
    radial-gradient(420px 200px at 70% 30%, rgba(61, 139, 255, .22), transparent 60%),
    var(--ink-950);
  border-left: 1px solid var(--line);
}

.tool-hero-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 8vw, 5rem);
  color: var(--text);
  line-height: 1;
}

.tool-hero-sub {
  font-family: var(--font-mono);
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-dim);
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-4);
}

.tool-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--panel);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  box-shadow: var(--hard-shadow-sm);
  padding: 22px 22px;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.tool-card:hover {
  transform: translateY(-4px);
  border-color: rgba(61, 139, 255, .5);
  background: var(--panel-2);
  box-shadow: var(--elev);
}

.tool-ico {
  font-size: 1.8rem;
  line-height: 1;
  filter: saturate(.85);
}

.tool-card h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text);
  margin-top: 4px;
}

.tool-card p {
  font-size: .88rem;
  color: var(--text-dim);
  line-height: 1.55;
}

@media (max-width: 720px) {
  .tool-hero {
    grid-template-columns: 1fr;
  }
  .tool-hero-figure {
    border-left: none;
    border-top: 1px solid var(--line);
    padding: 24px 0;
  }
}

/* ============================================================
   CERTIFICATION GUIDE (SDVOSB federal/state)
   ============================================================ */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
}

.cert-card {
  background: var(--panel);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--hard-shadow-sm);
}

.cert-card h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: var(--space-5);
}

.cert-flag {
  display: inline-grid;
  place-items: center;
  padding: 5px 13px;
  background: var(--blue-dim);
  border: 1px solid rgba(61, 139, 255, .3);
  color: var(--blue-bright);
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 999px;
  flex-shrink: 0;
}

.cert-steps {
  list-style: none;
  counter-reset: certstep;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.cert-steps li {
  counter-increment: certstep;
  position: relative;
  padding-left: 48px;
  font-size: .95rem;
  line-height: 1.6;
  color: var(--text-dim);
}

.cert-steps li strong {
  color: var(--text);
}

.cert-steps li::before {
  content: counter(certstep);
  position: absolute;
  left: 0;
  top: 2px;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--panel-2);
  border: 1px solid var(--steel);
  color: var(--blue-bright);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: .95rem;
  border-radius: 10px;
}

.cert-steps a,
.cert-help a {
  color: var(--blue-bright);
  font-weight: 600;
  text-underline-offset: 3px;
}

.cert-help {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
  font-size: .88rem;
  color: var(--text-faint);
}

@media (max-width: 980px) {
  .cert-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   GENERATED CHECKLIST (transition page)
   ============================================================ */
.gen-bar {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-5);
}

.gen-bar label {
  font-size: 1rem;
  color: var(--text);
}

.gen-bar input[type="date"] {
  padding: 13px 16px;
  border: 1px solid var(--steel);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: rgba(255, 255, 255, .04);
  color-scheme: dark;
}

.gen-bar input[type="date"]:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px var(--blue-dim);
}

.gen-empty {
  color: var(--text-faint);
  font-size: .95rem;
}

.gen-sheet {
  background: var(--panel);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  box-shadow: var(--elev);
  overflow: hidden;
}

.gen-sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-4);
  flex-wrap: wrap;
  background: var(--navy-800);
  color: var(--text);
  padding: 20px 24px;
  border-bottom: 1px solid var(--steel);
  font-size: .9rem;
}

.gen-sheet-head strong {
  font-family: var(--font-display);
  letter-spacing: .06em;
}

.gen-sheet-head span {
  color: var(--text-dim);
  font-size: .8rem;
}

.gen-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background .12s ease;
}

.gen-item:hover {
  background: rgba(255, 255, 255, .03);
}

.gen-item input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin-top: 3px;
  accent-color: var(--blue);
  flex-shrink: 0;
}

.gen-item-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.gen-item-head strong {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--text);
  font-size: 1rem;
}

.gen-item p {
  font-size: .88rem;
  color: var(--text-dim);
  line-height: 1.55;
}

.gen-item p a {
  color: var(--blue-bright);
  font-weight: 600;
}

.gen-item.is-past .gen-item-head strong {
  color: var(--danger);
}

.gen-badge {
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.gen-badge.gen-due {
  background: var(--blue-dim);
  border: 1px solid rgba(61, 139, 255, .3);
  color: var(--blue-bright);
}

.gen-badge.gen-past {
  background: rgba(255, 84, 104, .15);
  border: 1px solid rgba(255, 84, 104, .35);
  color: var(--danger);
}

.gen-foot {
  padding: 16px 24px;
  font-size: .78rem;
  color: var(--text-faint);
  background: var(--navy-850);
}

@media print {
  body.vetops-public * {
    visibility: hidden;
  }

  #checklistOutput,
  #checklistOutput * {
    visibility: visible;
  }

  #checklistOutput {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
  }

  .gen-sheet {
    box-shadow: none;
    border-width: 1px;
  }

  .gen-sheet-head {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .gen-item {
    break-inside: avoid;
  }
}

/* ============================================================
   ALERT BLOCK
   ============================================================ */
.alert-block {
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--steel);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  font-size: .95rem;
  color: var(--text-soft);
  box-shadow: none;
}

.section.dark .alert-block {
  background: rgba(255, 255, 255, .04);
  border-color: var(--line);
  border-left-color: var(--blue);
  color: var(--text-soft);
  box-shadow: none;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-6);
  align-items: center;
}

.final-cta h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 900;
  color: var(--text);
  margin-bottom: var(--space-4);
}

.final-cta .lead {
  margin-bottom: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.public-footer {
  position: relative;
  margin-top: auto;
  background: var(--ink-950);
  color: var(--text-dim);
  padding-block: var(--space-7);
  border-top: 1px solid var(--line);
}

.public-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue) 30%, var(--gold) 70%, transparent);
  opacity: .5;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: var(--space-6);
  align-items: start;
}

.footer-inner strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: .02em;
  margin-bottom: 10px;
}

.legal-note {
  font-size: .86rem;
  line-height: 1.65;
  color: var(--text-faint);
  max-width: 56ch;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: flex-end;
}

.footer-links a {
  position: relative;
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  padding-bottom: 2px;
  transition: color .15s ease;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--blue);
  transition: right .2s ease;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-links a:hover::after {
  right: 0;
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-page .section-inner {
  max-width: 880px;
}

.legal-page h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 900;
  margin-bottom: var(--space-3);
}

.light-lead {
  color: var(--text-dim);
  font-size: .95rem;
  margin-bottom: var(--space-6);
}

.legal-card {
  background: var(--panel);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 44px);
  box-shadow: var(--elev);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.legal-card h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
}

.legal-card h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.legal-card a {
  color: var(--blue-bright);
  font-weight: 600;
}

.legal-card table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}

.legal-card th {
  background: var(--navy-800);
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: left;
  padding: 12px 14px;
}

.legal-card td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  vertical-align: top;
  color: var(--text-soft);
}

/* ============================================================
   EMBEDDED TOOL (legacy hook)
   ============================================================ */
.embedded-tool {
  width: 100%;
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  box-shadow: var(--hard-shadow-sm);
  background: var(--panel);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes ds-pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .5); }
  70% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero-command {
    grid-template-columns: 1fr;
    padding-block: clamp(48px, 8vw, 80px);
  }

  .section-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: var(--space-4);
  }

  .service-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card.wide {
    grid-column: span 2;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dossier {
    grid-template-columns: 1fr;
  }

  .final-cta {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  body.vetops-public {
    font-size: 15.5px;
  }

  /* the full stacked nav is too tall to pin on small screens */
  .public-header {
    position: static;
  }

  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
    padding-block: 14px;
  }

  .public-nav {
    width: 100%;
    gap: 6px 14px;
  }

  .public-nav .nav-cta {
    width: 100%;
    justify-content: center;
    text-align: center;
    display: inline-flex;
    align-items: center;
    margin-top: 4px;
  }

  .hero-copy h1 {
    font-size: clamp(2.1rem, 9vw, 2.7rem);
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .actions .btn {
    width: 100%;
  }

  .service-board {
    grid-template-columns: 1fr;
  }

  .service-card.wide {
    grid-column: auto;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .legal-card table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}
