/* ===================================================================
   Guardian Lead Safety — Design System
   Professional static site stylesheet
   =================================================================== */

/* --- CSS Variables / Design Tokens --- */
:root {
  --brand: #1e40af;
  --brand-light: #3b82f6;
  --brand-dark: #1e3a8a;
  --brand-50: #eff6ff;
  --brand-100: #dbeafe;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --text: #1e293b;
  --text-muted: #475569;
  --text-light: #64748b;
  --bg: #ffffff;
  --bg-alt: #f8f9fc;
  --bg-warm: #fefdfb;
  --bg-dark: #0f172a;
  --bg-dark-lighter: #1e293b;
  --line: #e5e7eb;
  --line-light: #f3f4f6;
  --success: #059669;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(30,20,10,.06), 0 1px 2px rgba(30,20,10,.04);
  --shadow: 0 4px 12px rgba(30,20,10,.08);
  --shadow-lg: 0 10px 30px rgba(30,20,10,.1);
  --transition: .2s ease;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --container: 1120px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brand-dark); }

/* --- Layout --- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }

/* --- Typography --- */
h1, h2, h3, h4 { color: var(--text); line-height: 1.3; font-weight: 700; }
.h1, h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.02em; }
.h2, h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }
.h3, h3 { font-size: 1.125rem; font-weight: 700; }
.h4, h4 { font-size: .875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-light); }

p { margin: 0 0 1rem; }
.lead { font-size: 1.125rem; color: var(--text-muted); max-width: 640px; }
.muted { color: var(--text-muted); }
.small { font-size: .8125rem; }
.upper { text-transform: uppercase; letter-spacing: .08em; font-weight: 800; font-size: .75rem; color: var(--text-light); }

/* =====================================================================
   NAVIGATION
   ===================================================================== */
.site-header {
  background: var(--bg-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.2);
}

/* Header container: Logo ... Nav ... Actions in a row
   Uses wider max-width than content container so nav breathes */
.site-header .container {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 0;
  padding-bottom: 0;
  min-height: 64px;
  max-width: 1280px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  font-size: 1.125rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.logo-mark { font-size: 1.5rem; line-height: 1; }

/* Nav element takes remaining space and centers its children */
.site-header nav {
  flex: 1;
  display: flex;
  justify-content: center;
  background: none;
  position: static;
  box-shadow: none;
  z-index: auto;
}

/* Desktop Nav list */
.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list a {
  color: #e2e8f0;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .9375rem;
  transition: background var(--transition), color var(--transition);
  display: block;
  white-space: nowrap;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  background: rgba(255,255,255,.1);
  color: #fff;
}

/* "For Risk Assessors" link in nav — amber accent on hover */
.nav-list .btn-assessor {
  color: #e2e8f0;
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: .8125rem;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.nav-list .btn-assessor:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(245,158,11,.08);
}

/* Header actions: Get a Quote (prominent) + For Risk Assessors (subtle) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-actions .btn-primary {
  background: var(--brand-light);
  color: #fff;
  padding: 8px 20px;
  font-size: .9375rem;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition);
  display: inline-flex;
  align-items: center;
}

.header-actions .btn-primary:hover {
  background: var(--brand);
  color: #fff;
}

/* "For Risk Assessors" — deliberately subtle, tucked away */
.header-actions .btn-assessor {
  color: rgba(255,255,255,.4);
  font-size: .75rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  border: none;
  border-left: 1px solid rgba(255,255,255,.12);
  border-radius: 0;
  padding: 0 0 0 12px;
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  background: none;
}

.header-actions .btn-assessor:hover {
  color: rgba(255,255,255,.7);
  background: none;
}

/* Mobile actions: hidden on desktop, shown inside slide menu on mobile */
.mobile-actions {
  display: none !important;
}

/* Dropdown menus */
.nav-list > li { position: relative; }

.nav-list > li > .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--bg-dark);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .15s, visibility .15s;
  z-index: 50;
}

.nav-list > li:hover > .submenu,
.nav-list > li.open > .submenu {
  opacity: 1;
  visibility: visible;
}

.submenu { list-style: none; padding-left: 0; }

.submenu a {
  display: block;
  color: #cbd5e1 !important;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 500;
  font-size: .875rem;
}

.submenu a:hover {
  background: rgba(255,255,255,.08);
  color: #fff !important;
}

/* Mobile hamburger button */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 8px;
  line-height: 0;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle svg { width: 28px; height: 28px; stroke-width: 2; }

/* Backdrop overlay behind slide menu */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 98;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.nav-backdrop.open { display: block; }

/* Close button — only visible on mobile (injected by JS) */
.nav-close { display: none; }

/* --- Contact Strip --- */
.contact-strip {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
  text-align: center;
  font-size: .8125rem;
  color: var(--text-muted);
}
.contact-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.contact-strip a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
}
.contact-strip a:hover { text-decoration: underline; }
.contact-strip-sep { color: var(--line); }

/* --- Hero Section --- */
.hero {
  background: linear-gradient(135deg, #eff6ff 0%, #fffbf5 50%, #f0f4ff 100%);
  border-bottom: 3px solid var(--brand-light);
  padding: 40px 0 36px;
  text-align: center;
}

.hero .lead {
  margin: 16px auto 0;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* Compact hero for subpages */
.hero-compact {
  padding: 32px 0 28px;
}

/* Old header compat */
.header {
  background: linear-gradient(135deg, #eff6ff 0%, #fffbf5 50%, #f0f4ff 100%);
  border-bottom: 3px solid var(--brand-light);
  text-align: center;
  padding: 40px 0 36px;
}

/* --- Sections --- */
section { padding: 72px 0; }
.section { padding: 72px 0; }
.section.alt { background: linear-gradient(180deg, #f0f4ff 0%, #fefdfb 50%, #f8f9fc 100%); }

/* Section divider — subtle gradient line between sections */
section + section { border-top: 1px solid var(--line-light); }
.section.alt + section,
section + .section.alt { border-top: none; }
.cta-banner { border-top: none; }

/* --- Grid System --- */
.grid { display: grid; gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.cards { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.two-col { display: grid; gap: 24px; }

@media (min-width: 768px) {
  .two-col { grid-template-columns: 1fr 1fr; }
}

/* Flex helpers */
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* --- Cards --- */
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 2px 8px rgba(30,64,175,.04), 0 1px 3px rgba(30,64,175,.03);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.card:hover {
  box-shadow: 0 6px 20px rgba(30,64,175,.08), 0 2px 6px rgba(30,64,175,.04);
  border-color: var(--brand-100);
}

/* Static (non-clickable) cards — no hover effects, muted heading */
.card-static { cursor: default; }
.card-static:hover {
  box-shadow: 0 2px 8px rgba(30,64,175,.04), 0 1px 3px rgba(30,64,175,.03);
  border-color: var(--line);
  transform: none;
}
.card-static h3 { color: var(--text); }
.card-static p { margin-top: 8px; font-size: .9375rem; line-height: 1.6; }

a.card {
  text-decoration: none;
  color: inherit;
  display: block;
}

a.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(30,64,175,.1), 0 4px 8px rgba(30,64,175,.05);
  border-color: var(--brand-100);
}

a.card h3 { color: var(--brand); }
a.card p { color: var(--text-muted); }

a.card h3 + p {
  margin-top: 8px;
  font-size: .9375rem;
  line-height: 1.6;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 700;
  font-size: .9375rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  line-height: 1.4;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.btn-primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30,64,175,.25), 0 2px 4px rgba(245,158,11,.1);
  color: #fff;
}

.btn-outline {
  border-color: var(--brand);
  color: var(--brand);
  background: transparent;
}

.btn-outline:hover {
  background: var(--brand);
  color: #fff;
}

.btn-ghost {
  color: var(--brand);
  border-color: transparent;
  background: rgba(30,64,175,.05);
}

.btn-ghost:hover {
  background: rgba(30,64,175,.1);
  opacity: .92;
}

/* --- Checklist --- */
ul.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul.checklist li {
  margin: 10px 0 0;
  padding-left: 28px;
  position: relative;
  color: var(--text-muted);
}

ul.checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 800;
  font-size: .9375rem;
}

/* --- Tables --- */
table { width: 100%; border-collapse: collapse; }
th, td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; }
th { font-weight: 700; color: var(--text); background: var(--bg-alt); font-size: .875rem; text-transform: uppercase; letter-spacing: .04em; }
td { color: var(--text-muted); }

/* --- FAQ / Details --- */
.faq {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq summary {
  padding: 18px 24px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition);
}

.faq summary:hover { background: #f9f8f6; }
.faq summary::after { content: "+"; font-size: 1.25rem; color: var(--text-light); font-weight: 300; }
.faq[open] summary::after { content: "\2212"; }
.faq summary::-webkit-details-marker { display: none; }
.faq > div { padding: 0 24px 18px; color: var(--text-muted); line-height: 1.7; }

/* --- Pricing --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.price-card {
  background: var(--bg);
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.price-card.featured {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand), var(--shadow);
  position: relative;
}

.price-card.featured::before {
  content: "Most Popular";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.price { font-size: 2rem; font-weight: 800; color: var(--text); margin: 16px 0; }
.features { list-style: none; padding: 0; margin: 0 0 24px; }
.features li { padding: 8px 0; color: var(--text-muted); border-bottom: 1px solid var(--line-light); }
.features li:last-child { border-bottom: none; }

/* --- Forms --- */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: .875rem;
  margin-bottom: 6px;
  color: var(--text);
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: .9375rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--brand-light);
  box-shadow: 0 0 0 3px rgba(59,130,246,.12), 0 0 0 6px rgba(245,158,11,.04);
}

textarea.form-input { resize: vertical; min-height: 120px; }

/* Legacy inline form styles compat */
form.card input,
form.card textarea,
form.card select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: .9375rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
}

form.card input:focus,
form.card textarea:focus {
  outline: none;
  border-color: var(--brand-light);
  box-shadow: 0 0 0 3px rgba(59,130,246,.12), 0 0 0 6px rgba(245,158,11,.04);
}

form.card label {
  display: block;
  font-weight: 600;
  font-size: .875rem;
  margin-bottom: 0;
  color: var(--text);
}

form.card button {
  font-family: var(--font);
  font-size: .9375rem;
}

/* Honeypot hidden field */
.hidden { display: none; }

/* Required field indicator */
.required { color: #dc2626; }

/* Form success message */
.form-success {
  display: none;
  text-align: center;
  padding: 40px 24px;
}

.form-success.show { display: block; }
.form-success h3 { color: var(--success); margin-bottom: 8px; }

/* --- Footer --- */
footer, .site-footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding: 48px 24px 32px;
}

footer p { margin: 4px 0; }
footer strong { color: #e2e8f0; }
footer a { color: var(--accent); text-decoration: none; }
footer a:hover { color: var(--accent-dark); text-decoration: underline; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li { margin: 6px 0; }
.footer-links a { color: #94a3b8; font-size: .9375rem; }
.footer-links a:hover { color: var(--accent); }

.logo-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.logo-row .logo-text { color: #e2e8f0; font-weight: 800; font-size: 1.0625rem; }

/* Footer copyright */
footer .copy { margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: .8125rem; color: #64748b; text-align: center; }

/* --- Trust Badges --- */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
  padding: 24px 0;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .875rem;
  color: var(--text-muted);
}

.trust-badge svg { width: 20px; height: 20px; color: var(--brand); flex-shrink: 0; }

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 55%, #2d4fbd 100%);
  color: #fff;
  padding: 64px 24px;
  text-align: center;
}

.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,.85); max-width: 560px; margin: 12px auto 24px; }
.cta-banner .btn-primary { background: #fff; color: var(--brand); border-color: #fff; }
.cta-banner .btn-primary:hover { background: #f0f4ff; color: var(--brand-dark); box-shadow: 0 4px 16px rgba(30,64,175,.2); }

/* Tablet: grid-4 → 2 columns */
@media (max-width: 1024px) and (min-width: 769px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
}

/* =====================================================================
   RESPONSIVE — Mobile (768px and below)
   ===================================================================== */
@media (max-width: 768px) {
  .hero { padding: 48px 0 40px; }
  section, .section { padding: 48px 0; }

  /* Reset nav flex for mobile — let nav-list be the slide panel */
  .site-header nav {
    flex: none;
    display: contents;
  }

  /* Show hamburger button, push to right */
  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  /* Hide desktop header-actions (Get a Quote + For Risk Assessors) on mobile */
  .header-actions { display: none !important; }

  /* Nav list becomes a full-width top dropdown below header */
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    background: var(--bg-dark);
    padding: 0 24px;
    gap: 0;
    overflow: hidden;
    z-index: 99;
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
    transition: max-height .35s cubic-bezier(.4,0,.2,1), padding .35s ease;
    display: flex;
    text-align: left;
  }

  .nav-list.open {
    max-height: calc(100vh - 64px);
    padding: 8px 24px 24px;
    overflow-y: auto;
  }

  /* Close button — hidden for dropdown style (hamburger toggles) */
  .nav-close {
    display: none !important;
  }

  /* Mobile nav items — full-width, high contrast, large tap targets */
  .nav-list > li {
    border-bottom: 1px solid rgba(255,255,255,.12);
    text-align: left;
  }

  .nav-list > li:last-child {
    border-bottom: none;
  }

  .nav-list > li > a {
    padding: 18px 4px;
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    letter-spacing: .01em;
  }

  .nav-list > li > a:hover,
  .nav-list > li > a:active {
    background: rgba(255,255,255,.06);
    color: #fff;
    border-radius: 8px;
  }

  /* Tap feedback */
  .nav-list > li > a:active {
    opacity: .8;
  }

  /* Mobile submenus — hidden by default, tap to expand */
  .nav-list > li > .submenu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: none;
    border-radius: 0;
    margin: 0;
    padding: 0 0 8px 12px;
    opacity: 1;
    visibility: visible;
    display: none;
  }

  .nav-list > li.mobile-open > .submenu {
    display: block;
  }

  .nav-list .submenu a {
    color: #cbd5e1 !important;
    padding: 12px 8px;
    font-size: 1rem;
    font-weight: 500;
  }

  .nav-list .submenu a:hover,
  .nav-list .submenu a:active {
    color: #fff !important;
    background: rgba(255,255,255,.06);
    border-radius: 6px;
  }

  /* Chevron indicator for items with submenus */
  .nav-list > li:has(.submenu) > a::after {
    content: "";
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2394a3b8'%3E%3Cpath fill-rule='evenodd' d='M7.21 14.77a.75.75 0 01.02-1.06L11.17 10 7.23 6.29a.75.75 0 111.04-1.08l4.5 4.25a.75.75 0 010 1.08l-4.5 4.25a.75.75 0 01-1.06-.02z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    flex-shrink: 0;
    transition: transform .2s ease;
  }

  .nav-list > li.mobile-open:has(.submenu) > a::after {
    transform: rotate(90deg);
  }

  /* Mobile actions — show inside dropdown, right after nav items */
  .mobile-actions {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.15) !important;
    text-align: left;
  }

  .mobile-actions a {
    text-align: center;
    padding: 12px 16px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
  }

  .mobile-actions .btn-primary,
  .mobile-actions .btn {
    background: var(--brand-light);
    color: #fff;
    font-size: .9375rem;
  }

  /* "For Risk Assessors" — visible secondary button on mobile */
  .mobile-actions .btn-assessor {
    color: rgba(255,255,255,.75);
    font-size: .8125rem;
    font-weight: 600;
    border: 1.5px solid rgba(255,255,255,.25);
    padding: 10px 16px;
    text-align: center;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
  }

  .mobile-actions .btn-assessor:hover,
  .mobile-actions .btn-assessor:active {
    color: #fff;
    border-color: rgba(255,255,255,.45);
    background: rgba(255,255,255,.1);
  }

  /* "For Risk Assessors" in nav-list — hide the nav-item version, keep the mobile-actions version */
  .nav-list > li:not(.mobile-actions) .btn-assessor {
    display: none;
  }

  /* Contact strip — tighter on small screens */
  .contact-strip { font-size: .75rem; padding: 5px 0; }
  .contact-strip .container { gap: 6px; }

  .grid-4 { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card { padding: 24px 16px; }
  .price { font-size: 1.75rem; }
  .price-card.featured { padding-top: 16px; }
  .price-card.featured::before { top: -8px; font-size: .7rem; padding: 3px 12px; }
}

/* --- Extra-small screens (phones < 480px) --- */
@media (max-width: 480px) {
  .price { font-size: 1.5rem; overflow-wrap: break-word; }
  .price-card { padding: 20px 12px; }
  .features li { padding: 6px 0; }
  .btn { padding: 14px 20px; }
}

/* --- Skip Link (accessibility) --- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--brand);
  color: #fff;
  padding: 12px 24px;
  border-radius: 0 0 var(--radius) var(--radius);
  z-index: 200;
  font-weight: 700;
  transition: top var(--transition);
}

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

/* --- Print --- */
@media print {
  .site-header, nav, .hero-cta, .cta-banner, .nav-toggle { display: none; }
  body { font-size: 12pt; color: #000; }
  a { color: #000; text-decoration: underline; }
  .card { border: 1px solid #ccc; box-shadow: none; break-inside: avoid; }
}
