/* ==========================================================================
   CrashComp — hand-written static stylesheet (no build tool, no framework)
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --background: #faf9f6;
  --foreground: #101a2c;

  --navy-950: #030a17;
  --navy-900: #0a1830;
  --navy-800: #0f2242;
  --navy-700: #152e56;
  --navy-600: #1c3c6e;
  --navy-500: #294f8a;
  --navy-400: #4d6da9;
  --navy-300: #8098c2;
  --navy-200: #b6c4de;
  --navy-100: #dce4f1;
  --navy-50: #f0f4fa;

  --blue-700: #0d4c8f;
  --blue-600: #1360ab;
  --blue-500: #1c76c9;
  --blue-400: #4a94d8;
  --blue-300: #86b8e8;
  --blue-200: #bcd8f3;
  --blue-100: #e2eefb;
  --blue-50: #f2f8fd;

  --trust-700: #0b5c40;
  --trust-600: #0e7a52;
  --trust-500: #12946a;
  --trust-400: #35b088;
  --trust-300: #74cdae;
  --trust-200: #aee3cd;
  --trust-100: #dbf3e8;
  --trust-50: #f0faf5;

  --accent-700: #a3530f;
  --accent-600: #c66917;
  --accent-500: #e17f23;
  --accent-400: #ec9d51;
  --accent-300: #f2ba85;
  --accent-200: #f8d6b6;
  --accent-100: #fcece0;
  --accent-50: #fdf5ee;

  --steel-900: #151d2c;
  --steel-800: #212b3d;
  --steel-700: #384258;
  --steel-600: #515d76;
  --steel-500: #646f8a;
  --steel-400: #939db3;
  --steel-300: #bcc3d2;
  --steel-200: #dbdfe8;
  --steel-100: #edeff4;
  --steel-50: #f6f7fa;

  --cream: #faf9f6;

  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;

  --shadow-card: 0 1px 2px 0 rgba(10, 24, 48, 0.06), 0 1px 1px 0 rgba(10, 24, 48, 0.04);
  --shadow-elevated: 0 8px 24px -8px rgba(10, 24, 48, 0.18), 0 2px 8px -2px rgba(10, 24, 48, 0.08);
  --shadow-floating: 0 24px 48px -12px rgba(10, 24, 48, 0.28), 0 8px 16px -4px rgba(10, 24, 48, 0.12);
  --shadow-glow-trust: 0 8px 28px -6px rgba(14, 122, 82, 0.35);

  --container-max: 80rem;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { min-height: 100%; }
img, svg { display: block; max-width: 100%; }
/* Author rules like .stack/.form-success set their own `display`, which
   otherwise beats the UA stylesheet's [hidden]{display:none} at equal
   specificity — this keeps the hidden attribute authoritative everywhere
   it's used for dynamic show/hide (form success states, status messages). */
[hidden] { display: none !important; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; padding: 0; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; }

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

html { scroll-behavior: smooth; color-scheme: light; }

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1 0 auto; padding-bottom: 5rem; }
@media (min-width: 1024px) { main { padding-bottom: 0; } }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; color: var(--navy-900); }

::selection { background: var(--trust-200); color: var(--navy-900); }

:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; border-radius: 2px; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--navy-900);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }

.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;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 640px) { .container { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .container { padding-inline: 2rem; } }

.section { padding-block: 5rem; }
.section-sm { padding-block: 3.5rem; }
.section-tight { padding-block: 4rem; }
@media (min-width: 640px) { .section { padding-block: 6rem; } .section-tight { padding-block: 5rem; } }

.section-alt { background: rgba(240, 244, 250, 0.6); } /* navy-50/60 */

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(1, 1fr); }
.grid-3 { grid-template-columns: repeat(1, 1fr); }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.stack { display: flex; flex-direction: column; }
.gap-sm { gap: 0.75rem; }
.gap-md { gap: 1.5rem; }
.gap-lg { gap: 2.5rem; }
.gap-xl { gap: 4rem; }

.text-center { text-align: center; }
.text-balance { text-wrap: balance; }
.text-pretty { text-wrap: pretty; }
.muted { color: var(--steel-600); }
.eyebrow-text { color: var(--trust-700); }

/* ---------- Section heading ---------- */
.section-heading { display: flex; flex-direction: column; gap: 1rem; }
.section-heading.align-center { align-items: center; text-align: center; max-width: 42rem; margin-inline: auto; }
.section-heading.align-left { align-items: flex-start; text-align: left; }
.section-heading p { font-size: 1.125rem; line-height: 1.7; color: var(--steel-600); max-width: 42rem; }
.section-heading.align-center p { margin-inline: auto; }

.faq-wrap { max-width: 44rem; margin-inline: auto; width: 100%; }
.link-emphasis { font-weight: 600; color: var(--trust-700); }

.logo-light .logo-name { color: #fff; }
.logo-light .logo-sub { color: var(--navy-200); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 0.9rem 1.6rem;
  font-size: 1rem;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.6; pointer-events: none; }

.btn-primary { background: var(--trust-600); color: #fff; box-shadow: var(--shadow-glow-trust); border-color: transparent; }
.btn-primary:hover { background: var(--trust-500); }
.btn-primary:active { background: var(--trust-700); }

.btn-navy { background: var(--navy-900); color: #fff; box-shadow: var(--shadow-elevated); }
.btn-navy:hover { background: var(--navy-800); }

.btn-outline { background: #fff; color: var(--navy-900); border-color: var(--navy-200); }
.btn-outline:hover { border-color: var(--blue-400); background: var(--blue-50); }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.btn-outline-light:hover { border-color: rgba(255, 255, 255, 0.6); }

.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.125rem; }
.btn-block { width: 100%; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.875rem;
  font-weight: 600;
}
.badge-trust { background: var(--trust-50); color: var(--trust-700); box-shadow: inset 0 0 0 1px var(--trust-200); }
.badge-navy { background: var(--navy-50); color: var(--navy-800); box-shadow: inset 0 0 0 1px var(--navy-200); }
.badge-dark {
  background: rgba(255, 255, 255, 0.1);
  color: var(--trust-300);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.75rem;
}

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--steel-200);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}
.card-hover { transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-elevated); border-color: var(--trust-200); }

.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: var(--trust-50);
  color: var(--trust-600);
}
.icon-tile-navy { background: var(--navy-50); color: var(--navy-700); }
.icon-tile-blue { background: var(--blue-50); color: var(--blue-600); }
.icon-tile-accent { background: var(--accent-50); color: var(--accent-600); }
.card-hover:hover .icon-tile-navy { background: var(--navy-900); color: #fff; }

.text-accent { color: var(--accent-600); }
.text-trust { color: var(--trust-600); }
.text-blue { color: var(--blue-600); }
.heading-row { display: flex; align-items: center; gap: 0.75rem; }
.info-card-row { display: flex; gap: 0.75rem; align-items: flex-start; }
.info-card-row svg { flex-shrink: 0; margin-top: 0.15rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(219, 223, 232, 0.8);
}
.header-bar {
  display: none;
  background: var(--navy-900);
  color: #fff;
}
@media (min-width: 1024px) { .header-bar { display: block; } }
.header-bar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  height: 2.25rem;
  font-size: 0.75rem;
}
.header-bar a { font-weight: 600; display: inline-flex; align-items: center; gap: 0.35rem; }
.header-bar a:hover { color: var(--trust-300); }

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4rem;
  padding-block: 0.75rem;
}
@media (min-width: 1024px) { .header-main { height: 5rem; } }

.logo { display: inline-flex; align-items: center; gap: 0.65rem; }
.logo svg { height: 2.25rem; width: auto; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.01em; color: var(--navy-900); }
.logo-sub { font-size: 0.625rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; color: var(--steel-500); }

.primary-nav { display: none; align-items: center; }
@media (min-width: 1024px) { .primary-nav { display: flex; } }
.nav-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-800);
  transition: color 0.2s ease;
}
.nav-link:hover { color: var(--trust-700); }

.nav-dropdown { position: relative; }
.nav-dropdown > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-800);
}
.nav-dropdown > summary::-webkit-details-marker { display: none; }
.nav-dropdown > summary:hover { color: var(--trust-700); }
.nav-dropdown .chevron { transition: transform 0.2s ease; }
.nav-dropdown[open] .chevron { transform: rotate(180deg); }

.dropdown-panel {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  margin-top: 0.5rem;
  width: 560px;
  max-width: 90vw;
  background: #fff;
  border: 1px solid var(--steel-200);
  border-radius: 1rem;
  box-shadow: var(--shadow-floating);
  padding: 1rem;
  z-index: 50;
}
.dropdown-panel.dropdown-narrow { width: 420px; }
.dropdown-eyebrow { padding: 0 0.5rem 0.5rem; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--steel-400); }
.dropdown-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.25rem; }
.dropdown-grid.single-col { grid-template-columns: 1fr; }
.dropdown-item { display: block; border-radius: 0.5rem; padding: 0.75rem; transition: background-color 0.2s ease; }
.dropdown-item:hover { background: var(--navy-50); }
.dropdown-item-title { display: block; font-size: 0.875rem; font-weight: 600; color: var(--navy-900); }
.dropdown-item-desc { display: block; font-size: 0.75rem; color: var(--steel-500); }
.dropdown-cta { display: block; margin-top: 0.5rem; border-radius: 0.5rem; padding: 0.75rem; font-size: 0.875rem; font-weight: 600; color: var(--trust-700); }
.dropdown-cta:hover { background: var(--trust-50); }

.header-cta { display: none; align-items: center; gap: 0.75rem; }
@media (min-width: 1024px) { .header-cta { display: flex; } }

.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: 0.5rem;
  color: var(--navy-800);
}
@media (min-width: 1024px) { .mobile-menu-toggle { display: none; } }
.mobile-menu-toggle .icon-close { display: none; }
.mobile-menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
.mobile-menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-nav {
  display: none;
  position: absolute;
  inset-inline: 0;
  top: 100%;
  border-top: 1px solid var(--steel-200);
  background: #fff;
  box-shadow: var(--shadow-floating);
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
}
.mobile-nav.is-open { display: block; }
@media (min-width: 1024px) { .mobile-nav { display: none !important; } }

.mobile-nav-list { display: flex; flex-direction: column; gap: 0.25rem; padding-block: 1rem; }
.mobile-nav-link { display: block; border-radius: 0.5rem; padding: 0.75rem; font-size: 1rem; font-weight: 600; color: var(--navy-900); }
.mobile-nav-link:hover { background: var(--navy-50); }
.mobile-nav-sub { display: flex; flex-direction: column; gap: 0.25rem; padding-bottom: 0.5rem; padding-left: 1rem; }
.mobile-nav-sub a { display: block; border-radius: 0.5rem; padding: 0.6rem 0.75rem; font-size: 0.875rem; color: var(--steel-600); }
.mobile-nav-sub a:hover { background: var(--navy-50); color: var(--navy-900); }
.mobile-nav-footer { margin-top: 0.75rem; border-top: 1px solid var(--steel-100); padding-top: 1rem; display: flex; flex-direction: column; gap: 0.75rem; }

details.nav-dropdown-mobile > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; border-radius: 0.5rem; padding: 0.75rem; font-size: 1rem; font-weight: 600; color: var(--navy-900); }
details.nav-dropdown-mobile > summary::-webkit-details-marker { display: none; }
details.nav-dropdown-mobile > summary:hover { background: var(--navy-50); }
details.nav-dropdown-mobile[open] .chevron { transform: rotate(180deg); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--navy-800); background: var(--navy-950); color: var(--navy-200); }
.footer-grid { display: grid; gap: 2.5rem; padding-block: 4rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; } }
.footer-brand-text { max-width: 24rem; font-size: 0.875rem; line-height: 1.7; color: var(--navy-300); }
.footer-contact { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; }
.footer-contact a { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; color: #fff; }
.footer-contact a:hover { color: var(--trust-300); }
.footer-address { display: flex; align-items: flex-start; gap: 0.5rem; color: var(--navy-300); }
.footer-social { display: flex; align-items: center; gap: 0.75rem; padding-top: 0.25rem; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: 999px; border: 1px solid var(--navy-700); color: var(--navy-300); transition: border-color 0.2s ease, color 0.2s ease; }
.footer-social a:hover { border-color: var(--trust-500); color: var(--trust-300); }
.footer-heading { font-family: var(--font-display); font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: #fff; }
.footer-links { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.65rem; font-size: 0.875rem; }
.footer-links a:hover { color: var(--trust-300); }
.footer-links a.footer-link-strong { font-weight: 600; color: var(--trust-300); }
.footer-bottom { border-top: 1px solid var(--navy-800); }
.footer-bottom-inner { display: flex; flex-direction: column; gap: 1rem; padding-block: 1.5rem; font-size: 0.75rem; color: var(--navy-300); }
@media (min-width: 640px) { .footer-bottom-inner { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; }
.footer-legal-links a:hover { color: var(--trust-300); }
.footer-disclaimer { padding-bottom: 2rem; font-size: 0.6875rem; line-height: 1.6; color: var(--navy-300); }

/* ---------- Mobile sticky CTA ---------- */
.mobile-sticky-cta {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  gap: 0.5rem;
  border-top: 1px solid var(--steel-200);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 0.75rem;
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
}
@media (min-width: 1024px) { .mobile-sticky-cta { display: none; } }
.mobile-sticky-cta .btn-outline { flex: 1; }
.mobile-sticky-cta .btn-primary { flex: 1.4; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-950);
  background-image:
    radial-gradient(60% 50% at 15% 10%, rgba(28, 118, 201, 0.35) 0%, rgba(10, 24, 48, 0) 60%),
    radial-gradient(50% 45% at 100% 0%, rgba(18, 148, 106, 0.28) 0%, rgba(10, 24, 48, 0) 65%);
}
.hero-inner { display: grid; gap: 3rem; padding-block: 2rem; align-items: start; }
.hero-inner-flush { padding-block: 0 !important; }
@media (min-width: 1024px) { .hero-inner { grid-template-columns: 1.05fr 0.95fr; gap: 2.5rem; padding-block: 2rem; } }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; text-align: left; }
.hero-title { color: #fff; font-size: 2.25rem; line-height: 1.1; letter-spacing: -0.02em; }
.hero-title .accent { display: block; color: var(--trust-300); }
@media (min-width: 640px) { .hero-title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 3.4rem; } }
.hero-sub { max-width: 36rem; font-size: 1.125rem; line-height: 1.7; color: var(--navy-200); }
@media (min-width: 640px) { .hero-sub { font-size: 1.25rem; } }
.hero-trust-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; row-gap: 0.75rem; font-size: 0.875rem; color: var(--navy-200); }
.hero-trust-row span { display: flex; align-items: center; gap: 0.5rem; }
.hero-form-card { position: relative; background: #fff; border-radius: 1.5rem; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: var(--shadow-floating); padding: 1.5rem; }
@media (min-width: 640px) { .hero-form-card { padding: 2rem; } }
.hero-form-card h2 { font-size: 1.5rem; }
.hero-form-card .form-lede { margin-top: 0.25rem; font-size: 0.875rem; color: var(--steel-500); }

/* ---------- Page header (interior pages) ---------- */
.page-header { position: relative; overflow: hidden; background: var(--navy-950); padding-block: 3.5rem; }
@media (min-width: 640px) { .page-header { padding-block: 5rem; } }
.page-header.glow-trust { background-image: radial-gradient(55% 60% at 100% 0%, rgba(18, 148, 106, 0.3) 0%, rgba(10, 24, 48, 0) 65%); }
.page-header.glow-blue { background-image: radial-gradient(55% 60% at 100% 0%, rgba(28, 118, 201, 0.28) 0%, rgba(10, 24, 48, 0) 65%); }
.page-header-inner { position: relative; display: flex; flex-direction: column; gap: 1.5rem; }
.page-header h1 { color: #fff; font-size: 1.875rem; line-height: 1.2; max-width: 48rem; }
@media (min-width: 640px) { .page-header h1 { font-size: 2.25rem; } }
@media (min-width: 1024px) { .page-header h1 { font-size: 3rem; } }
.page-header .page-desc { margin-top: 1.25rem; max-width: 42rem; font-size: 1.125rem; line-height: 1.7; color: var(--navy-200); }
.page-header-stats { margin-top: 0.5rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (min-width: 640px) { .page-header-stats { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.page-header-stats strong { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: #fff; }
@media (min-width: 640px) { .page-header-stats strong { font-size: 1.875rem; } }
.page-header-stats span { display: block; font-size: 0.875rem; color: var(--navy-300); }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; font-size: 0.875rem; list-style: none; padding: 0; margin: 0; }
.breadcrumbs li { display: flex; align-items: center; gap: 0.4rem; }
.breadcrumbs a, .breadcrumbs span { display: inline-flex; align-items: center; gap: 0.4rem; }
.breadcrumbs .crumb-sep { color: var(--steel-300); }
.breadcrumbs.on-dark a { color: var(--navy-300); }
.breadcrumbs.on-dark a:hover { color: var(--trust-300); }
.breadcrumbs.on-dark .crumb-sep { color: var(--navy-500); }
.breadcrumbs.on-dark .current { color: #fff; }
.breadcrumbs.on-light a { color: var(--steel-500); }
.breadcrumbs.on-light a:hover { color: var(--trust-700); }
.breadcrumbs.on-light .current { color: var(--navy-800); font-weight: 500; }
.breadcrumb-home { padding: 0.35rem; margin: -0.35rem; border-radius: 0.25rem; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: 0.875rem; font-weight: 600; color: var(--navy-800); }
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  border: 2px solid var(--steel-200);
  border-radius: 0.75rem;
  background: #fff;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  color: var(--navy-900);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--steel-400); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px var(--blue-100);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: #f87171;
}
.field-error { font-size: 0.875rem; color: #dc2626; }
.field-error:empty { display: none; }

.checkbox-group { display: flex; flex-direction: column; gap: 0.75rem; border-radius: 0.75rem; background: var(--steel-50); padding: 1rem; }
.checkbox-row { display: flex; align-items: flex-start; gap: 0.75rem; }
.checkbox-row input[type="checkbox"] { margin-top: 0.15rem; flex-shrink: 0; width: 1.25rem; height: 1.25rem; border: 2px solid var(--steel-300); border-radius: 0.25rem; accent-color: var(--trust-600); }
.checkbox-row label { font-size: 0.875rem; line-height: 1.5; color: var(--steel-700); }

.form-note { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 600; color: var(--trust-700); }
.form-disclaimer { display: flex; align-items: flex-start; gap: 0.4rem; font-size: 0.75rem; line-height: 1.6; color: var(--steel-500); }
.form-disclaimer a { text-decoration: underline; }
.form-disclaimer a:hover { color: var(--navy-700); }

.form-success { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; border-radius: 1rem; border: 1px solid var(--trust-200); background: var(--trust-50); padding: 2rem; text-align: center; }
.form-success svg { color: var(--trust-600); width: 3rem; height: 3rem; }
.form-success h3 { font-size: 1.5rem; }
.form-success p { max-width: 24rem; color: var(--steel-600); line-height: 1.7; }

.honeypot-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

/* ---------- Modal / dialog ---------- */
dialog.lead-dialog {
  margin: auto;
  width: 92vw;
  max-width: 28rem;
  border: 1px solid var(--steel-200);
  border-radius: 1.5rem;
  padding: 0;
  box-shadow: var(--shadow-floating);
}
dialog.lead-dialog::backdrop { background: rgba(3, 10, 23, 0.6); backdrop-filter: blur(2px); }
.dialog-header { display: flex; flex-direction: column; gap: 0.25rem; border-bottom: 1px solid var(--steel-100); padding: 1.5rem 1.5rem 1rem; }
.dialog-header-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.dialog-header h2 { font-size: 1.5rem; }
.dialog-close { margin: -0.25rem -0.25rem 0 0; padding: 0.5rem; border-radius: 999px; color: var(--steel-500); }
.dialog-close:hover { background: var(--steel-100); color: var(--navy-800); }
.dialog-body { padding: 1.5rem; }

/* ---------- FAQ / accordion ---------- */
.accordion { display: flex; flex-direction: column; border: 1px solid var(--steel-200); border-radius: 1rem; background: #fff; overflow: hidden; }
.accordion details { border-top: 1px solid var(--steel-200); }
.accordion details:first-child { border-top: none; }
.accordion summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--navy-900);
  transition: background-color 0.2s ease;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { background: rgba(240, 244, 250, 0.6); }
.accordion summary .chevron { flex-shrink: 0; color: var(--trust-600); transition: transform 0.3s ease; }
.accordion details[open] summary .chevron { transform: rotate(180deg); }
.accordion .accordion-answer { padding: 0 1.5rem 1.5rem; color: var(--steel-600); line-height: 1.7; }

/* ---------- CTA banner ---------- */
.cta-banner { position: relative; overflow: hidden; background: var(--navy-900); padding-block: 4rem; background-image: radial-gradient(50% 60% at 90% 20%, rgba(18, 148, 106, 0.3) 0%, rgba(10, 24, 48, 0) 65%); }
@media (min-width: 640px) { .cta-banner { padding-block: 5rem; } }
.cta-banner-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; text-align: center; }
.cta-banner h2 { color: #fff; font-size: 1.875rem; max-width: 40rem; }
@media (min-width: 640px) { .cta-banner h2 { font-size: 2.25rem; } }
.cta-banner p { max-width: 36rem; font-size: 1.125rem; color: var(--navy-200); }
.cta-banner-actions { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
@media (min-width: 640px) { .cta-banner-actions { flex-direction: row; } }

/* ---------- Trust bar / stats ---------- */
.trust-bar { border-bottom: 1px solid var(--steel-200); background: #fff; padding-block: 2.5rem; }
.trust-bar-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
@media (min-width: 640px) { .trust-bar-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-stat { display: flex; flex-direction: column; align-items: center; text-align: center; }
@media (min-width: 640px) { .trust-stat { align-items: flex-start; text-align: left; } }
.trust-stat strong { font-family: var(--font-display); font-size: 1.875rem; font-weight: 600; color: var(--navy-900); }
@media (min-width: 640px) { .trust-stat strong { font-size: 2.25rem; } }
.trust-stat span { margin-top: 0.25rem; font-size: 0.875rem; color: var(--steel-500); }

/* ---------- Step cards ---------- */
.step-card { position: relative; display: flex; flex-direction: column; gap: 1rem; }
.step-card .step-top { display: flex; align-items: center; justify-content: space-between; }
.step-number { font-family: var(--font-display); font-size: 1.875rem; font-weight: 600; color: var(--steel-500); }

/* ---------- Prose (blog + legal content) ---------- */
.prose { max-width: 68ch; line-height: 1.75; color: var(--steel-700); }
.prose.prose-wide { max-width: none; }
.prose h2 { font-size: 1.5rem; margin-top: 2.5rem; margin-bottom: 1rem; }
.prose h3 { font-size: 1.2rem; margin-top: 2rem; margin-bottom: 0.75rem; }
.prose p { margin-bottom: 1.25rem; }
.prose ul, .prose ol { margin: 0 0 1.25rem 1.25rem; }
.prose li { margin-bottom: 0.5rem; }
.prose a { color: var(--trust-700); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--navy-700); }
.prose strong { color: var(--navy-900); }
.prose blockquote { border-left: 3px solid var(--trust-400); padding-left: 1rem; color: var(--steel-600); font-style: italic; }
.prose table { width: 100%; border: 1px solid var(--steel-200); border-radius: 0.75rem; overflow: hidden; font-size: 0.875rem; }
.prose th, .prose td { padding: 0.75rem 1rem; text-align: left; border-top: 1px solid var(--steel-200); }
.prose thead { background: var(--navy-50); }
.prose thead th { border-top: none; font-weight: 600; color: var(--navy-900); }

.legal-emphasis { text-transform: uppercase; font-size: 0.875rem; letter-spacing: 0.02em; color: var(--steel-500); }
.table-scroll { overflow-x: auto; border: 1px solid var(--steel-200); border-radius: 0.75rem; margin: 1rem 0; }
.table-scroll table { width: 100%; font-size: 0.875rem; }
.table-scroll thead { background: var(--navy-50); }
.table-scroll th, .table-scroll td { padding: 0.75rem 1rem; text-align: left; vertical-align: top; }
.table-scroll tbody tr { border-top: 1px solid var(--steel-200); }
.table-scroll td:first-child { color: var(--navy-800); }
.table-scroll td:last-child { color: var(--steel-600); }

/* ---------- Legal layout ---------- */
.legal-layout { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .legal-layout { grid-template-columns: 260px 1fr; } }
.legal-toc { display: none; }
@media (min-width: 1024px) { .legal-toc { display: block; } }
.legal-toc-inner { position: sticky; top: 7rem; display: flex; flex-direction: column; gap: 0.15rem; border-radius: 1rem; border: 1px solid var(--steel-200); background: #fff; padding: 1.25rem; }
.legal-toc-title { margin-bottom: 0.5rem; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--steel-500); }
.legal-toc a { border-radius: 0.375rem; padding: 0.4rem 0.5rem; font-size: 0.875rem; color: var(--steel-600); }
.legal-toc a:hover { background: var(--navy-50); color: var(--trust-700); }
.legal-section { scroll-margin-top: 7rem; margin-bottom: 2rem; }

/* ---------- Blog ---------- */
.blog-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter-chip { border: 1px solid var(--steel-200); background: #fff; color: var(--navy-700); border-radius: 999px; padding: 0.5rem 1rem; font-size: 0.875rem; font-weight: 600; transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease; }
.filter-chip:hover { border-color: var(--trust-300); }
.filter-chip.is-active { border-color: var(--trust-600); background: var(--trust-600); color: #fff; }

.blog-card { display: flex; flex-direction: column; gap: 0.75rem; border-radius: 1rem; border: 1px solid var(--steel-200); background: #fff; padding: 1.5rem; box-shadow: var(--shadow-card); transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-elevated); border-color: var(--trust-200); }
.blog-card h2, .blog-card h3 { font-size: 1.125rem; line-height: 1.4; }
.blog-card:hover h2, .blog-card:hover h3 { color: var(--trust-700); }
.blog-card p { font-size: 0.875rem; line-height: 1.6; color: var(--steel-600); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card-meta { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 0.5rem; font-size: 0.75rem; color: var(--steel-500); }
.blog-card-meta span { display: flex; align-items: center; gap: 0.3rem; }
.blog-card-read { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.875rem; font-weight: 600; color: var(--trust-700); }

.article-header { border-bottom: 1px solid var(--steel-200); background: #fff; padding-block: 2.5rem; }
.article-meta { margin-top: 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; font-size: 0.875rem; color: var(--steel-500); }
.article-meta span { display: flex; align-items: center; gap: 0.35rem; }
.article-layout { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .article-layout { grid-template-columns: 1fr 360px; } }
.article-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 1024px) { .article-sidebar { position: sticky; top: 7rem; height: max-content; } }
.related-list { display: flex; flex-direction: column; gap: 1rem; }
.related-list a { font-size: 0.875rem; font-weight: 500; color: var(--navy-800); }
.related-list a:hover { color: var(--trust-700); }

/* ---------- Practice areas / grids ---------- */
.pa-grid-card { display: flex; flex-direction: column; gap: 1rem; }
.pa-grid-card .learn-more { margin-top: auto; display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.875rem; font-weight: 600; color: var(--trust-700); }

.info-card { border-radius: 0.75rem; border: 1px solid var(--steel-200); background: #fff; padding: 1.25rem; }
.info-card h3 { font-size: 1rem; }
.info-card p { margin-top: 0.35rem; font-size: 0.875rem; line-height: 1.6; color: var(--steel-600); }
.info-card-alt { border-radius: 0.75rem; background: rgba(240, 244, 250, 0.6); padding: 1.25rem; }

.check-list { display: grid; gap: 0.65rem; }
@media (min-width: 640px) { .check-list.two-col { grid-template-columns: repeat(2, 1fr); } }
.check-list li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.875rem; color: var(--steel-700); }
.check-list svg { flex-shrink: 0; margin-top: 0.15rem; color: var(--trust-600); }

.states-region { border-radius: 1rem; border: 1px solid var(--steel-200); background: #fff; padding: 1.25rem; }
.states-region h3 { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--trust-700); }
.states-list { margin-top: 0.75rem; display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: 0.875rem; color: var(--steel-600); }
.states-list span { border-radius: 0.375rem; background: var(--steel-50); padding: 0.25rem 0.5rem; }

.testimonial-card { display: flex; flex-direction: column; gap: 1rem; border-radius: 1rem; background: #fff; padding: 1.5rem; box-shadow: var(--shadow-card); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-elevated); }
.stars { display: flex; align-items: center; gap: 0.15rem; }
.stars svg { color: var(--steel-200); }
.stars svg.filled { color: var(--accent-400); fill: var(--accent-400); }
.testimonial-quote { font-size: 0.875rem; line-height: 1.7; color: var(--steel-700); }
.testimonial-byline { margin-top: auto; border-top: 1px solid var(--steel-100); padding-top: 1rem; }
.testimonial-byline strong { display: block; font-size: 0.875rem; color: var(--navy-900); }
.testimonial-byline span { display: block; font-size: 0.75rem; color: var(--steel-500); }

/* ---------- Media / value / feature cards (about, benefits, find-a-lawyer) ---------- */
.media-card { display: flex; gap: 1.25rem; border-radius: 1rem; border: 1px solid var(--steel-200); background: #fff; padding: 1.5rem; box-shadow: var(--shadow-card); }
.media-card .icon-tile { flex-shrink: 0; }
.icon-tile-round { border-radius: 999px; }
.icon-tile-sm { width: 2.75rem; height: 2.75rem; }
.value-list { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; color: var(--steel-600); line-height: 1.6; }

.feature-card-center { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; border-radius: 1rem; border: 1px solid var(--steel-200); padding: 2rem; text-align: center; }
.feature-card-center svg { color: var(--trust-600); }

/* ---------- Timeline (How It Works numbered steps) ---------- */
.timeline { display: flex; flex-direction: column; gap: 1.5rem; }
.timeline-step { display: flex; gap: 1.25rem; border-radius: 1rem; border: 1px solid var(--steel-200); background: #fff; padding: 1.5rem; box-shadow: var(--shadow-card); }
@media (min-width: 640px) { .timeline-step { padding: 2rem; } }
.timeline-step-icon { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 999px; background: var(--trust-600); color: #fff; }
.timeline-step-body { display: flex; flex-direction: column; gap: 0.75rem; }

/* ---------- Dark callout box ---------- */
.callout-dark { border-radius: 1rem; background: var(--navy-900); color: #fff; padding: 1.5rem; }
@media (min-width: 640px) { .callout-dark { padding: 2rem; } }
.callout-dark p { margin-top: 0.75rem; color: var(--navy-200); }

/* ---------- Accent callout box ---------- */
.callout-accent { display: flex; gap: 0.75rem; border-radius: 1rem; border: 1px solid var(--accent-200); background: var(--accent-50); padding: 1.25rem; }
.callout-accent svg { color: var(--accent-600); flex-shrink: 0; margin-top: 0.15rem; }

/* ---------- Horizontal link-row card (browse by case type) ---------- */
.link-row-card { display: flex; align-items: center; gap: 1rem; border-radius: 0.75rem; border: 1px solid var(--steel-200); background: #fff; padding: 1rem; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.link-row-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-elevated); }
.link-row-card .icon-tile { width: 2.5rem; height: 2.5rem; }
.link-row-card .arrow-end { margin-left: auto; color: var(--steel-500); }
.link-row-card .link-row-label { font-weight: 600; color: var(--navy-900); }

.card-centered-lg { max-width: 48rem; margin-inline: auto; padding: 2.5rem; }
.narrow-list { max-width: 28rem; margin-inline: auto; text-align: left; }

/* ---------- Contact info card ---------- */
.contact-row { display: flex; gap: 0.75rem; align-items: flex-start; }
.contact-row svg { color: var(--trust-600); flex-shrink: 0; margin-top: 0.15rem; }
.contact-row h3 { font-size: 0.875rem; font-weight: 600; color: var(--navy-900); }
.contact-row p, .contact-row a { font-size: 0.875rem; color: var(--steel-600); }
.contact-row a:hover { color: var(--trust-700); }

.contact-layout { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .contact-layout { grid-template-columns: 380px 1fr; } }

.heading-sm { font-family: var(--font-sans); font-size: 1rem; font-weight: 600; color: var(--navy-900); }
.heading-md { font-size: 1.25rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- 404 ---------- */
.error-page { display: flex; min-height: 60vh; align-items: center; padding-block: 5rem; }
.error-page-inner { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; text-align: center; }
.error-code { font-family: var(--font-display); font-size: 6rem; font-weight: 600; color: var(--navy-400); }
.error-actions { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .error-actions { flex-direction: row; } }

/* ---------- Utility spacing ---------- */
.mt-1 { margin-top: 0.75rem; } .mt-2 { margin-top: 1.5rem; } .mt-3 { margin-top: 2.5rem; }
.max-w-content { max-width: 44rem; }
.mx-auto { margin-inline: auto; }
.hidden-until-lg { display: none; }
@media (min-width: 1024px) { .hidden-until-lg { display: block; } }
