/* ─────────────────────────────────────────────
   TruckAccidentLawyer.ca — Design System
   Principle: authority through restraint.
   One dark, one light, one accent. Consistent
   spacing multiples of 8. No decoration noise.
───────────────────────────────────────────── */

:root {
  /* Core palette — 3 colours */
  --ink:      #0f1923;        /* near-black navy */
  --mid:      #5a6b78;        /* readable grey */
  --line:     #dde0e4;        /* subtle separator */
  --surface:  #ffffff;        /* panel / card */
  --ground:   #f6f7f8;        /* page bg */
  --warm:     #f4f1eb;        /* alt section bg */

  /* Brand accents */
  --red:      #b52b26;        /* crimson — CTAs */
  --red-dark: #8e1f1b;
  --gold:     #c09428;        /* gold — eyebrows */

  /* Dark mode panel */
  --dark:     #0d1820;        /* section bg */
  --dark-mid: #152030;

  /* Typography */
  --serif: Georgia, 'Times New Roman', serif;
  --sans:  ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Spacing unit = 8px */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 40px;
  --sp-6: 48px;
  --sp-8: 64px;
  --sp-10: 80px;
  --sp-12: 96px;

  /* Radii — sharp, professional */
  --r: 3px;
  --r-md: 5px;

  /* Shadows */
  --sh-sm: 0 1px 4px rgba(15,25,35,.08);
  --sh-md: 0 4px 20px rgba(15,25,35,.10);
  --sh-lg: 0 12px 48px rgba(15,25,35,.14);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--ground);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; }
p   { margin: 0; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.015em;
  color: var(--ink);
}

h1 { font-size: clamp(40px, 5.5vw, 72px); }
h2 { font-size: clamp(26px, 3vw, 44px); }
h3 { font-size: 20px; }

/* ── ACCESSIBILITY ──────────────────────────── */
.skip-link {
  position: absolute;
  top: -48px;
  left: var(--sp-2);
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  border-radius: var(--r);
}
.skip-link:focus { top: var(--sp-2); }

.reading-progress {
  position: fixed;
  top: 0; left: 0;
  z-index: 99;
  width: 0; height: 2px;
  background: var(--red);
}

/* ── LAYOUT WRAPPERS ────────────────────────── */
.nav,
.container {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

/* ── HEADER ─────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.nav {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
}

/* brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  flex-shrink: 0;
}

.brand-mark {
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: var(--r);
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
}

/* nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 13px;
  font-weight: 500;
}

.nav-links a {
  display: block;
  padding: 7px 12px;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  border-radius: var(--r);
  transition: color .12s, background .12s;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255,255,255,.07);
}

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

/* CTA button in nav */
.nav-cta {
  flex-shrink: 0;
  height: 36px;
  padding: 0 16px;
  background: var(--red);
  color: #fff !important;
  border: none;
  border-radius: var(--r);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background .12s, box-shadow .12s;
  box-shadow: 0 1px 4px rgba(181,43,38,.4);
}

.nav-cta:hover {
  background: var(--red-dark);
  box-shadow: 0 4px 16px rgba(181,43,38,.4);
  transform: none;
}

/* mobile menu toggle */
.menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r);
  background: transparent;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  box-shadow: none;
  padding: 0;
}

.menu-button:hover {
  background: rgba(255,255,255,.07);
  transform: none;
  box-shadow: none;
}

/* ── BUTTONS ────────────────────────────────── */
.button, button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border: none;
  border-radius: var(--r);
  background: var(--red);
  color: #fff;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(181,43,38,.3);
  transition: background .12s, box-shadow .14s, transform .12s;
}

.button:hover, button:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(181,43,38,.35);
}

/* ghost variant — used on dark backgrounds */
.button.secondary {
  background: rgba(255,255,255,.10);
  color: #fff;
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: none;
}

.button.secondary:hover {
  background: rgba(255,255,255,.18);
  transform: translateY(-1px);
  box-shadow: none;
}

/* ghost on light backgrounds */
.button.secondary.light {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
}

.button.secondary.light:hover {
  background: var(--warm);
  box-shadow: var(--sh-sm);
}

.button.full { width: 100%; }

/* ── EYEBROW / KICKER ───────────────────────── */
.eyebrow, .kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gold);
}

.eyebrow::before, .kicker::before {
  content: '';
  width: 24px; height: 1px;
  background: currentColor;
  flex-shrink: 0;
}

/* kicker on light backgrounds */
.section > .container .kicker,
.article-body .kicker,
.evidence-topic-hub .kicker,
.deadline-tool .kicker,
.benefit-tool .kicker,
.evidence-planner .kicker,
.truck-type-library .kicker,
.injury-library .kicker,
.answer-library .kicker {
  color: var(--red);
}

.section > .container .kicker::before,
.article-body .kicker::before,
.evidence-topic-hub .kicker::before,
.deadline-tool .kicker::before,
.benefit-tool .kicker::before,
.evidence-planner .kicker::before,
.truck-type-library .kicker::before,
.injury-library .kicker::before,
.answer-library .kicker::before {
  background: var(--red);
}

/* ── HOMEPAGE HERO ──────────────────────────── */
.hero {
  position: relative;
  background: var(--dark);
  overflow: hidden;
  min-height: 680px;
  display: grid;
  align-items: center;
}

/* subtle vignette from left edge */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 100% at 0% 60%, rgba(181,43,38,.12), transparent),
    linear-gradient(100deg, rgba(13,24,32,.98) 0%, rgba(13,24,32,.85) 50%, rgba(13,24,32,.4) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  padding: 48px clamp(24px, 4vw, 80px) 48px 50vw;
  object-fit: contain;
  object-position: center right;
  opacity: .28;
}

/* bottom rule */
.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(192,148,40,.5), rgba(181,43,38,.4), transparent);
  z-index: 2;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
  padding: var(--sp-12) 0 var(--sp-10);
}

.hero-copy { max-width: 700px; }

.hero h1 {
  color: #fff;
  margin-top: var(--sp-2);
}

.lead {
  margin-top: var(--sp-3);
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.6;
  color: rgba(255,255,255,.65);
  max-width: 640px;
}

.hero-actions {
  margin-top: var(--sp-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

/* trust strip */
.trust-row {
  margin-top: var(--sp-8);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-md);
  overflow: hidden;
}

.trust-pill {
  padding: var(--sp-3);
  border-right: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.03);
}

.trust-pill:last-child { border-right: none; }

.trust-pill strong {
  display: block;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 5px;
}

.trust-pill span {
  display: block;
  color: rgba(255,255,255,.45);
  font-size: 13px;
  line-height: 1.5;
}

/* ── PAGE HERO (interior pages) ─────────────── */
.page-hero {
  position: relative;
  background: var(--dark);
  overflow: hidden;
  padding: var(--sp-8) 0 var(--sp-6);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 100% at 100% 100%, rgba(181,43,38,.09), transparent),
    radial-gradient(ellipse 40% 60% at 0% 0%, rgba(192,148,40,.06), transparent);
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
}

.page-hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr min(340px, 30%);
  gap: var(--sp-6);
  align-items: center;
}

.page-hero .container.narrow {
  max-width: 1200px;
}

.page-hero .container > :not(.page-illustration) {
  grid-column: 1;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(32px, 4.5vw, 60px);
  margin-top: var(--sp-2);
  overflow-wrap: anywhere;
}

.page-hero .lead {
  max-width: none;
  overflow-wrap: anywhere;
}

.page-hero .hero-actions {
  margin-top: var(--sp-3);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-bottom: var(--sp-3);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(255,255,255,.35);
}

.breadcrumb a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color .12s;
}

.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span    { color: rgba(255,255,255,.25); }

.hero-meta {
  margin-top: var(--sp-2);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hero-meta span {
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 2px;
  color: rgba(255,255,255,.6);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .03em;
  overflow-wrap: anywhere;
}

/* page illustration */
.page-illustration {
  grid-column: 2;
  grid-row: 1 / span 8;
  align-self: center;
  justify-self: end;
  width: 100%;
  max-width: 340px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-md);
  background: rgba(255,255,255,.04);
}

.page-illustration img {
  width: 100%;
  border-radius: 2px;
}

.page-illustration span {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,.35);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  line-height: 1.3;
}

.page-hero.local { background: var(--dark); }

/* ── COMMAND STRIP ──────────────────────────── */
.command-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.command-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  divide-x: 1px solid var(--line);
}

.command-grid > div {
  padding: var(--sp-3) var(--sp-4);
  border-right: 1px solid var(--line);
  transition: background .12s;
}

.command-grid > div:last-child { border-right: none; }
.command-grid > div:hover      { background: var(--warm); }

.command-grid span {
  display: block;
  margin-bottom: 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--red);
}

.command-grid strong {
  display: block;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

.command-grid p {
  margin-top: 4px;
  font-size: 13px;
  color: var(--mid);
  line-height: 1.5;
}

.command-grid a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.command-grid a:hover { color: var(--red); }

/* ── SECTIONS ───────────────────────────────── */
.section {
  padding: var(--sp-12) 0;
}

.section.alt {
  background: var(--warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section.dark {
  background: var(--dark);
  color: rgba(255,255,255,.85);
}

.section.dark h2 { color: #fff; }
.section.dark .section-head p { color: rgba(255,255,255,.5); }
.section.dark .kicker { color: var(--gold); }
.section.dark .kicker::before { background: var(--gold); }

.section-head {
  max-width: 680px;
  margin-bottom: var(--sp-6);
}

.section-head h2 { margin-top: 12px; }

.section-head p {
  margin-top: var(--sp-2);
  font-size: 18px;
  color: var(--mid);
  line-height: 1.65;
}

/* ── CARD GRID ──────────────────────────────── */
/* grid renders as 1px hairline grid */
.grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.grid.four  { grid-template-columns: repeat(4, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }

.card {
  position: relative;
  overflow: hidden;
  padding: var(--sp-4) var(--sp-3);
  background: var(--surface);
  min-height: 180px;
  contain: layout paint;
  transition: background .12s;
}

/* top accent bar on hover */
.card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  opacity: 0;
  transition: opacity .15s;
}

.link-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.link-card h2 {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
  color: var(--ink);
}

.link-card p {
  margin-top: 8px;
  font-size: 13px;
  color: var(--mid);
  line-height: 1.55;
}

.link-card:hover             { background: var(--warm); }
.link-card:hover::before     { opacity: 1; }

.flag {
  display: inline-block;
  margin-bottom: var(--sp-2);
  padding: 3px 7px;
  border: 1px solid rgba(192,148,40,.3);
  border-radius: 2px;
  background: rgba(192,148,40,.08);
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ── SPLIT LAYOUT ───────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: start;
}

.split h2 { margin-top: 12px; }

.split > div > p {
  margin: var(--sp-2) 0 var(--sp-4);
  color: var(--mid);
  font-size: 18px;
}

/* ── EVIDENCE TOOL ──────────────────────────── */
.evidence-tool {
  padding: var(--sp-4);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--sh-md);
}

.tool-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  margin-bottom: var(--sp-2);
}

.tool-top h3 {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
}

.tool-top span {
  font-size: 12px;
  color: var(--mid);
}

.segmented {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-bottom: var(--sp-2);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}

.segmented button {
  height: 36px;
  padding: 0 8px;
  background: var(--surface);
  color: var(--mid);
  border: none;
  border-radius: 0;
  box-shadow: none;
  font-size: 13px;
  font-weight: 600;
  transition: background .1s, color .1s;
}

.segmented button:hover {
  transform: none;
  box-shadow: none;
  background: var(--warm);
  color: var(--ink);
}

.segmented button.active {
  background: var(--dark);
  color: #fff;
}

.evidence-list, .check-list {
  margin: 0; padding: 0;
  list-style: none;
}

.evidence-list li, .check-list li {
  position: relative;
  padding: 11px 0 11px var(--sp-3);
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink);
}

.evidence-list li::before, .check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 17px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* ── PROVINCE GRID (dark section) ───────────── */
.province-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r-md);
  overflow: hidden;
}

.province-grid a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 152px;
  padding: var(--sp-3);
  text-decoration: none;
  background: rgba(255,255,255,.02);
  transition: background .12s;
}

.province-grid a:hover { background: rgba(255,255,255,.06); }

.province-grid strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

.province-grid span {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,.45);
}

/* ── ARTICLE LAYOUT ─────────────────────────── */
.article-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--sp-8);
  align-items: start;
}

.article-body {
  min-width: 0;
}

.article-body section + section {
  margin-top: var(--sp-8);
}

.article-body h2 {
  font-size: clamp(22px, 2.2vw, 34px);
}

.article-body p {
  margin-top: 12px;
  font-size: 17px;
  line-height: 1.7;
  color: #2d3a44;
}

/* intent panel */
.intent-panel {
  padding: var(--sp-4);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: var(--r-md);
  background: var(--warm);
}

.answer-panel {
  padding: var(--sp-4);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
  border-radius: var(--r-md);
  background: var(--warm);
}

.answer-panel h2 { max-width: 760px; }

.answer-panel p {
  max-width: 840px;
  font-size: 18px;
  color: var(--mid);
}

.evidence-matrix,
.pressure-panel,
.local-proof-panel {
  padding: var(--sp-4);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--sh-sm);
}

.muted-panel {
  background: var(--warm);
}

.keyword-strip {
  margin-top: var(--sp-2);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.keyword-strip span {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--surface);
  font-size: 12px;
  font-weight: 500;
  color: var(--mid);
}

/* 2-col grids inside article */
.matrix-grid, .pressure-grid, .proof-grid {
  margin-top: var(--sp-3);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.matrix-grid > div, .pressure-grid > div, .proof-grid > div {
  padding: var(--sp-3);
  background: var(--surface);
  transition: background .12s;
}

.matrix-grid > div:hover, .pressure-grid > div:hover, .proof-grid > div:hover {
  background: var(--warm);
}

.matrix-grid h3, .pressure-grid h3, .proof-grid h3 {
  font-size: 17px;
  font-family: var(--sans);
  font-weight: 700;
}

.matrix-grid p, .pressure-grid p, .proof-grid p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--mid);
}

.pressure-grid span {
  display: inline-grid;
  place-items: center;
  width: 28px; height: 28px;
  margin-bottom: 10px;
  border-radius: 2px;
  background: var(--dark);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

/* question list */
.question-list {
  margin: var(--sp-2) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.question-list li {
  position: relative;
  padding: 12px 16px 12px 40px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  font-size: 15px;
}

.question-list li::before {
  content: '?';
  position: absolute;
  left: 12px; top: 11px;
  width: 20px; height: 20px;
  display: grid;
  place-items: center;
  border-radius: 2px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

/* ── SIDE PANEL ─────────────────────────────── */
.side-panel {
  position: sticky;
  top: 80px;
  padding: var(--sp-3);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--sh-md);
}

.side-kicker {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--red);
  margin-bottom: 8px;
}

.side-panel h2 {
  font-size: 20px;
  margin-bottom: var(--sp-2);
}

.side-panel .button {
  width: 100%;
  margin-top: var(--sp-2);
  background: var(--ink);
  box-shadow: none;
}

.side-panel .button:hover {
  background: var(--dark-mid);
  box-shadow: var(--sh-sm);
}

.mini-note {
  margin-top: var(--sp-2);
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--warm);
}

.mini-note strong { display: block; font-size: 14px; font-weight: 700; }
.mini-note span   { display: block; margin-top: 4px; font-size: 13px; color: var(--mid); }

.stack-links {
  display: grid;
  gap: 5px;
}

.stack-links a {
  display: block;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  background: var(--warm);
  transition: border-color .12s, background .12s;
}

.stack-links a:hover {
  border-color: #b0b8c1;
  background: var(--surface);
}

/* ── FAQ ────────────────────────────────────── */
.faq-list {
  margin-top: var(--sp-2);
  display: grid;
  gap: 6px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  overflow: hidden;
}

details[open] { border-color: #b0b8c1; }

summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-2);
  padding: 14px 16px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  list-style: none;
  color: var(--ink);
}

summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 300;
  color: var(--mid);
  line-height: 1;
}

details[open] summary::after { content: '−'; }

details p {
  padding: 0 16px 14px;
  margin: 0;
  font-size: 15px;
  color: var(--mid);
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

/* ── DOWNLOAD / DEADLINE BOXES ──────────────── */
.download-box, .deadline-panel {
  margin-top: var(--sp-5);
  padding: var(--sp-4);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--sh-sm);
}

.deadline-tool, .deadline-province-links,
.benefit-tool,  .benefit-province-links,
.evidence-planner, .evidence-topic-hub,
.truck-type-library, .truck-type-risk,
.injury-library, .injury-proof,
.answer-library {
  position: relative;
  margin-top: var(--sp-5);
  padding: var(--sp-4);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--sh-sm);
}

/* control buttons (filter pills) */
.deadline-controls, .benefit-controls, .evidence-controls {
  margin-top: var(--sp-3);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.deadline-controls button,
.benefit-controls  button,
.evidence-controls button {
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--surface);
  color: var(--mid);
  box-shadow: none;
  font-size: 13px;
  font-weight: 600;
  transition: background .1s, color .1s, border-color .1s;
}

.deadline-controls button:hover,
.benefit-controls  button:hover,
.evidence-controls button:hover {
  transform: none;
  box-shadow: none;
  background: var(--warm);
  color: var(--ink);
  border-color: #b0b8c1;
}

.deadline-controls button.active,
.benefit-controls  button.active,
.evidence-controls button.active {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}

/* output grids */
.deadline-output, .benefit-output, .evidence-output {
  margin-top: var(--sp-3);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-2);
}

.deadline-output article,
.benefit-output  article,
.evidence-output article {
  padding: var(--sp-3);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--warm);
}

.deadline-output h3, .benefit-output h3, .evidence-output h3 {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
}

.deadline-output ul, .benefit-output ul, .evidence-output ul {
  margin: 10px 0 0;
  padding-left: 18px;
  font-size: 14px;
  color: var(--mid);
  line-height: 1.6;
}

/* link grids */
.deadline-link-grid, .benefit-link-grid,
.evidence-topic-grid, .truck-type-grid,
.injury-grid, .answer-grid {
  margin-top: var(--sp-3);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.deadline-link-grid a, .benefit-link-grid a,
.evidence-topic-grid a, .truck-type-grid a,
.injury-grid a, .answer-grid a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 130px;
  padding: var(--sp-3);
  text-decoration: none;
  background: var(--surface);
  transition: background .12s;
}

.deadline-link-grid a:hover, .benefit-link-grid a:hover,
.evidence-topic-grid a:hover, .truck-type-grid a:hover,
.injury-grid a:hover, .answer-grid a:hover {
  background: var(--warm);
}

.deadline-link-grid strong, .benefit-link-grid strong,
.evidence-topic-grid strong, .truck-type-grid strong,
.injury-grid strong, .answer-grid strong {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

.deadline-link-grid span, .benefit-link-grid span,
.evidence-topic-grid span, .truck-type-grid span,
.injury-grid span, .answer-grid span {
  font-size: 12px;
  color: var(--mid);
  line-height: 1.5;
}

/* risk chips */
.risk-list, .proof-chip-list {
  margin-top: var(--sp-2);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.risk-list span, .proof-chip-list span {
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--surface);
  font-size: 13px;
  font-weight: 600;
  color: var(--mid);
}

/* ── TABLES ─────────────────────────────────── */
.table-wrap { overflow-x: auto; }

table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  margin-top: var(--sp-2);
}

th, td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

th {
  background: var(--warm);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--mid);
}

/* ── PROFILE LAB ────────────────────────────── */
.profile-lab {
  margin: var(--sp-5) 0;
  padding: var(--sp-4);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--warm);
  box-shadow: var(--sh-md);
}

.profile-lab-head, .profile-card-grid {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: var(--sp-3);
  align-items: start;
}

.profile-score {
  min-height: 130px;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: var(--sp-2);
  border: 1px solid rgba(15,25,35,.15);
  border-radius: var(--r);
  background: var(--dark);
  color: #fff;
  text-align: center;
}

.profile-score span, .profile-score small {
  display: block;
  color: rgba(255,255,255,.55);
  font-size: 12px;
}

.profile-score strong {
  display: block;
  font-family: var(--serif);
  font-size: 48px;
  line-height: 1;
  color: #fff;
}

.profile-lab-grid {
  margin-top: var(--sp-3);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-2);
}

.profile-check-card {
  padding: var(--sp-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  cursor: pointer;
  transition: border-color .12s;
  display: grid;
  align-content: start;
  gap: 8px;
}

.profile-check-card:has(input:checked) {
  border-color: var(--red);
}

.profile-check-card input {
  width: 16px; height: 16px;
  accent-color: var(--red);
}

.profile-check-card span {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.profile-check-card strong {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.profile-check-card small {
  flex-shrink: 0;
  padding: 2px 7px;
  border: 1px solid rgba(192,148,40,.3);
  border-radius: 2px;
  background: rgba(192,148,40,.08);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
}

.profile-check-card p, .profile-output p, .profile-card-demo dd {
  margin: 0;
  font-size: 13px;
  color: var(--mid);
}

.profile-output {
  margin-top: var(--sp-2);
  padding: var(--sp-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}

.profile-output ul {
  margin: 8px 0 0;
  padding-left: 18px;
  font-size: 13px;
}

.profile-card-system { margin: var(--sp-5) 0; }

.profile-card-demo {
  padding: var(--sp-3);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
}

.profile-card-top {
  display: grid;
  gap: 4px;
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--line);
}

.profile-card-top span {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--red);
}

.profile-card-top strong {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
}

.profile-card-demo dl {
  margin: var(--sp-2) 0 0;
  display: grid;
  gap: var(--sp-2);
}

.profile-card-demo dl div { display: grid; gap: 2px; }

.profile-card-demo dt {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--mid);
}

/* ── SOURCES ────────────────────────────────── */
.sources {
  background: var(--warm);
  border-top: 1px solid var(--line);
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.source-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 160px;
  padding: var(--sp-3);
  text-decoration: none;
  background: var(--surface);
  position: relative;
  overflow: hidden;
  transition: background .12s;
}

.source-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--dark), var(--gold));
  opacity: 0;
  transition: opacity .15s;
}

.source-card:hover { background: var(--warm); }
.source-card:hover::before { opacity: 1; }

.source-card strong {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

.source-card span {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.55;
}

/* ── CTA BAND ───────────────────────────────── */
.cta-band {
  position: relative;
  padding: var(--sp-10) 0;
  background: var(--dark);
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 100% at 100% 50%, rgba(181,43,38,.15), transparent),
    radial-gradient(ellipse 40% 80% at 0% 50%, rgba(192,148,40,.06), transparent);
  pointer-events: none;
}

.cta-band::after {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
}

.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
}

.cta-inner h2 {
  margin-top: 10px;
  color: #fff;
}

.cta-inner p {
  margin-top: var(--sp-2);
  font-size: 17px;
  color: rgba(255,255,255,.55);
  max-width: 620px;
}

.cta-inner .kicker {
  color: var(--gold);
}

.cta-inner .kicker::before {
  background: var(--gold);
}

.cta-inner .button {
  flex-shrink: 0;
  height: 48px;
  padding: 0 32px;
  font-size: 15px;
}

/* ── LOCATIONS ──────────────────────────────── */
.location-list { display: grid; gap: var(--sp-2); }

.location-group {
  padding: var(--sp-3);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
}

.location-group h2 {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.location-group div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.location-group a {
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 2px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  background: var(--warm);
  transition: border-color .12s, background .12s;
}

.location-group a:hover {
  border-color: #b0b8c1;
  background: var(--surface);
}

/* ── CONTACT / FORMS ────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--sp-5);
  align-items: start;
}

.contact-form {
  padding: var(--sp-4);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--sh-md);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-2);
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--mid);
}

input, select, textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: var(--ink);
  background: var(--surface);
  font: inherit;
  font-size: 15px;
  transition: border-color .12s, box-shadow .12s;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--dark);
  box-shadow: 0 0 0 3px rgba(13,24,32,.08);
}

textarea { resize: vertical; }

.full-field, .consent { grid-column: 1 / -1; }

.consent {
  display: flex;
  gap: var(--sp-2);
  align-items: flex-start;
  font-size: 13px;
  color: var(--mid);
}

.consent input { width: auto; margin-top: 3px; }

/* ── AI INTAKE ──────────────────────────────── */
.ai-intake-shell {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--sp-3);
  align-items: start;
}

.ai-chat-panel, .ai-summary-panel {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--sh-md);
}

.ai-chat-panel { padding: var(--sp-4); }

.ai-summary-panel {
  position: sticky;
  top: 80px;
  padding: var(--sp-3);
}

.ai-chat-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--sp-2);
}

.ai-chat-top h2, .ai-summary-panel h2 {
  margin-top: 6px;
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 700;
}

.ai-status {
  flex-shrink: 0;
  padding: 4px 10px;
  border: 1px solid rgba(192,148,40,.3);
  border-radius: 2px;
  background: rgba(192,148,40,.08);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.ai-progress {
  height: 4px;
  margin: var(--sp-3) 0;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}

.ai-progress span {
  display: block;
  width: 0; height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--dark), var(--red));
  transition: width .25s ease;
}

.ai-transcript {
  max-height: 220px;
  overflow: auto;
  display: grid;
  gap: 8px;
  padding: var(--sp-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--warm);
}

.ai-message {
  max-width: 84%;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}

.ai-message.user {
  justify-self: end;
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
}

.ai-message strong {
  display: block;
  margin-bottom: 3px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .6;
}

.ai-message p {
  margin: 0;
  font-size: 14px;
  color: inherit;
}

.ai-step-card {
  margin-top: var(--sp-3);
  padding: var(--sp-3);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--warm);
}

.ai-question span {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--red);
}

.ai-question h3 {
  margin-top: 6px;
  font-size: 24px;
}

.ai-question p, .ai-privacy-note, .ai-error {
  font-size: 14px;
  color: var(--mid);
}

.ai-choice-grid {
  margin-top: var(--sp-2);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.ai-choice-grid label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .12s, background .12s;
}

.ai-choice-grid label:hover {
  border-color: #b0b8c1;
  background: var(--warm);
}

.ai-choice-grid input { width: auto; margin-top: 2px; }

.ai-contact-fields {
  margin-top: var(--sp-2);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-2);
}

.ai-actions, .ai-export-actions {
  margin-top: var(--sp-2);
  display: flex;
  gap: 8px;
}

.ai-export-actions { flex-direction: column; }

.ai-actions button:disabled,
.ai-lead-form button:disabled,
.ai-export-actions button:disabled {
  cursor: not-allowed;
  opacity: .4;
  transform: none;
  box-shadow: none;
}

.ai-score {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: var(--sp-2) 0;
  color: var(--red);
  font-weight: 800;
}

.ai-score span {
  font-family: var(--serif);
  font-size: 52px;
  line-height: 1;
}

.ai-score small {
  font-size: 16px;
  color: var(--mid);
  font-weight: 400;
}

.ai-summary-box {
  padding: var(--sp-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--warm);
}

.ai-summary-box h3 {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
}

.ai-summary-box ul {
  margin: 8px 0 0;
  padding-left: 18px;
  font-size: 13px;
  color: var(--mid);
}

.ai-lead-form { margin-top: var(--sp-2); display: grid; gap: 10px; }

/* ── FOOTER ─────────────────────────────────── */
.footer {
  background: #080e14;
  border-top: 1px solid rgba(255,255,255,.05);
  padding: var(--sp-10) 0;
  color: rgba(255,255,255,.5);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: var(--sp-8);
}

.footer .brand {
  color: #fff;
  font-size: 14px;
}

.footer p {
  margin-top: var(--sp-2);
  font-size: 13px;
  line-height: 1.65;
  max-width: 520px;
}

.footer h2 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.3);
  margin-bottom: var(--sp-2);
}

.footer a:not(.brand) {
  display: block;
  margin: 7px 0;
  font-size: 13px;
  text-decoration: none;
  color: rgba(255,255,255,.5);
}

/* ── NARROW HELPER ──────────────────────────── */
.narrow { max-width: 840px; }

/* ── RESPONSIVE — 960px ─────────────────────── */
@media (max-width: 960px) {
  .nav { flex-wrap: wrap; }

  .menu-button { display: flex; }
  .nav-cta     { display: none; }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    padding-bottom: var(--sp-2);
  }

  .nav-links.open { display: flex; }
  .nav-links a    { padding: 10px 4px; border-radius: 0; }

  .hero-media img { padding-left: 48vw; opacity: .2; }

  .page-hero .container {
    grid-template-columns: 1fr min(280px, 35%);
  }

  .trust-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-pill { border-bottom: 1px solid rgba(255,255,255,.06); }

  .command-grid,
  .grid.four,
  .province-grid,
  .source-grid,
  .matrix-grid, .pressure-grid, .proof-grid,
  .deadline-output, .benefit-output, .evidence-output,
  .deadline-link-grid, .benefit-link-grid,
  .evidence-topic-grid, .truck-type-grid,
  .injury-grid, .answer-grid,
  .profile-lab-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .profile-preview,
  .profile-standard-panel,
  .article-grid,
  .ai-intake-shell,
  .contact-grid,
  .footer-grid,
  .profile-lab-head, .profile-card-grid {
    grid-template-columns: 1fr;
  }

  .side-panel, .ai-summary-panel { position: static; }
}

/* ── RESPONSIVE — 640px ─────────────────────── */
@media (max-width: 640px) {
  .nav, .container, .hero-inner {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }

  .brand span:last-child {
    font-size: 12px;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .menu-button { margin-left: auto; }

  .hero { min-height: auto; }

  .hero-media {
    position: relative;
    inset: auto;
    height: 240px;
    order: 2;
  }

  .hero-media img {
    padding: var(--sp-2) 0 0;
    object-position: center;
    opacity: .2;
  }

  .hero-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, var(--dark));
  }

  .hero-inner { padding: var(--sp-8) 0 var(--sp-6); }

  h1 { font-size: 36px; }
  h2 { font-size: 26px; }

  .section, .page-hero { padding: var(--sp-8) 0; }

  .page-hero .container {
    grid-template-columns: 1fr;
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
  }

  .page-hero .container > :not(.page-illustration),
  .page-illustration {
    grid-column: 1;
    min-width: 0;
    max-width: 100%;
  }

  .page-illustration {
    grid-row: auto;
    justify-self: start;
    width: min(100%, 300px);
    margin-top: var(--sp-3);
  }

  .page-hero h1,
  .page-hero .lead,
  .page-hero .hero-meta,
  .page-hero .hero-actions,
  .page-hero .breadcrumb,
  .page-hero .eyebrow {
    max-width: calc(100vw - 64px) !important;
  }

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

  .hero-actions .button {
    width: 100%;
    max-width: calc(100vw - 64px);
  }

  .hero-meta {
    flex-direction: column;
    gap: 5px;
  }

  .trust-row {
    grid-template-columns: 1fr;
    border: none;
    background: transparent;
    gap: 6px;
  }

  .trust-pill {
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--r);
  }

  .trust-row, .command-grid,
  .grid.four, .grid.three,
  .province-grid, .source-grid,
  .matrix-grid, .pressure-grid, .proof-grid,
  .deadline-output, .benefit-output, .evidence-output,
  .deadline-link-grid, .benefit-link-grid,
  .evidence-topic-grid, .truck-type-grid,
  .injury-grid, .answer-grid,
  .ai-choice-grid, .ai-contact-fields,
  .contact-form, .profile-lab-grid {
    grid-template-columns: 1fr;
  }

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

  .cta-inner { flex-direction: column; align-items: flex-start; }

  .ai-chat-panel, .ai-summary-panel, .ai-step-card {
    padding: var(--sp-2);
  }

  .ai-chat-top, .ai-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ai-message { max-width: 100%; }
}
