/* Self-hosted fonts (no render-blocking third-party request) */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/Fraunces-400700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/Fraunces-400700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/Inter-400700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/Inter-400700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===========================================================
   Faith Insurance Group — insuredfaith.com
   Brand: faith + trucking. Navy trust, gold warmth.
   =========================================================== */

:root {
  --navy:      #10233f;
  --navy-2:    #1b3a63;
  --ink:       #0d1b30;
  --gold:      #3078f0;
  --gold-2:    #2360d8;
  --cream:     #f7f4ee;
  --paper:     #ffffff;
  --muted:     #5b6b82;
  --line:      #e3e6ec;
  --line-navy: rgba(255,255,255,.14);
  --ok:        #2f9e6b;
  --radius:    16px;
  --radius-sm: 10px;
  --shadow:    0 18px 50px -20px rgba(16,35,63,.35);
  --shadow-sm: 0 8px 24px -12px rgba(16,35,63,.28);
  --wrap:      1160px;
  --serif: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; color-scheme: light; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: min(var(--wrap), 92vw); margin-inline: auto; }
.center { text-align: center; }
.eyebrow {
  font-size: .82rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold-2); margin: 0 0 .6rem;
}
.eyebrow.gold { color: var(--gold); }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.12; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); margin: 0 0 1rem; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: 0 0 .8rem; }
h3 { font-size: 1.2rem; margin: 0 0 .4rem; }
.section-lede { font-size: 1.08rem; color: var(--muted); max-width: 62ch; }
.center .section-lede { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  font-family: var(--sans); font-weight: 600; font-size: .98rem;
  padding: .72rem 1.3rem; border-radius: 999px; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .12s ease, background .18s ease, box-shadow .18s ease, color .18s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-solid  { background: var(--gold); color: var(--ink); box-shadow: 0 8px 20px -10px rgba(48,120,240,.7); }
.btn-solid:hover { background: var(--gold-2); }
.btn-outline{ border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost  { color: var(--navy); background: transparent; }
.btn-ghost:hover { color: var(--gold-2); }
.btn-lg { padding: .9rem 1.7rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,244,238,.86); backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 1.4rem; height: 68px; }
.brand { display: flex; align-items: center; gap: .6rem; margin-right: 1.2rem; }
.brand-mark { flex: none; }
.brand-text { font-family: var(--serif); font-weight: 700; font-size: 1.18rem; color: var(--ink); }
.brand-text em { font-style: normal; font-weight: 500; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: .3rem; flex: 1; }
.nav-cta { display: flex; align-items: center; gap: .6rem; margin-left: auto; }

/* --- dropdown triggers --- */
.nav-item { position: relative; }
.nav-trigger {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--sans); font-weight: 500; font-size: .96rem; color: var(--ink);
  background: none; border: 0; cursor: pointer; padding: .55rem .7rem; border-radius: 10px;
  transition: color .16s ease, background .16s ease;
}
.nav-trigger:hover, .nav-item:focus-within .nav-trigger { color: var(--gold-2); background: rgba(48,120,240,.07); }
.chev {
  width: .42em; height: .42em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px); transition: transform .2s ease; opacity: .6;
}
.nav-item:hover .chev, .nav-item:focus-within .chev, .nav-trigger[aria-expanded="true"] .chev {
  transform: rotate(-135deg) translateY(2px); opacity: .9;
}

/* --- dropdown panel (desktop: opens on hover / focus / click) --- */
.nav-dd {
  position: absolute; top: calc(100% + .45rem); left: 0; min-width: 266px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 22px 48px -22px rgba(16,35,63,.45); padding: .5rem;
  display: grid; gap: .1rem; z-index: 60;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.nav-dd::before { content: ""; position: absolute; top: -.5rem; left: 0; right: 0; height: .5rem; } /* hover bridge */
.nav-item:hover .nav-dd, .nav-item:focus-within .nav-dd, .nav-trigger[aria-expanded="true"] + .nav-dd {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dd a { display: block; padding: .58rem .7rem; border-radius: 9px; color: var(--ink); }
.nav-dd a:hover { background: var(--cream); }
.dd-t { display: block; font-weight: 600; font-size: .95rem; }
.dd-d { display: block; font-size: .8rem; color: var(--muted); margin-top: .1rem; line-height: 1.3; }
.dd-all { font-weight: 600; color: var(--gold-2); font-size: .92rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(48,120,240,.16), transparent 60%),
    linear-gradient(180deg, var(--cream), #fff);
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem);
}
.hero-inner { display: grid; grid-template-columns: 1.35fr .9fr; gap: 3rem; align-items: center; }
.hero-copy .lede { font-size: 1.18rem; color: #33445c; max-width: 54ch; margin: 0 0 1.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.8rem; }
.trust-row { list-style: none; display: flex; flex-wrap: wrap; gap: 1.4rem; padding: 0; margin: 0; }
.trust-row li { position: relative; padding-left: 1.4rem; color: var(--muted); font-size: .96rem; }
.trust-row li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.trust-row strong { color: var(--ink); }

.hero-card { display: flex; flex-direction: column; align-items: stretch; gap: 1.1rem; }
.quote-card {
  background: var(--navy); color: #eaf0f9; border-radius: var(--radius);
  padding: 1.8rem; width: 100%; max-width: 340px; box-shadow: var(--shadow);
  border: 1px solid var(--line-navy);
}
.quote-card-top { display: flex; align-items: center; gap: .5rem; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: .8rem; }
.quote-card .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(47,158,107,.25); }
.quote-card h3 { color: #fff; font-size: 1.5rem; }
.quote-card p { color: #b9c6da; font-size: .98rem; margin: .4rem 0 1.2rem; }
.fineprint { font-size: .8rem; color: #8ea0bb; text-align: center; margin: .8rem 0 0; }

/* ---------- Dual path ---------- */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin: -2.5rem auto 0; position: relative; z-index: 2; }
.path-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow-sm); transition: transform .16s ease, box-shadow .16s ease;
}
.path-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.path-icon { font-size: 2rem; margin-bottom: .5rem; }
.path-card p { color: var(--muted); margin: .3rem 0 1rem; }
.path-link { color: var(--navy); font-weight: 600; }
.path-link:hover { color: var(--gold-2); }
.path-commercial { border-top: 4px solid var(--navy); }
.path-personal   { border-top: 4px solid var(--gold); }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-head { margin-bottom: 2.5rem; }
.section-head.center { text-align: center; }

.grid { display: grid; gap: 1.2rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.feature {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 1.4rem; transition: border-color .16s, transform .16s;
}
.feature:hover { border-color: var(--gold); transform: translateY(-2px); }
.feature p { color: var(--muted); margin: 0; font-size: .96rem; }

.commercial { background: linear-gradient(180deg, #fff, var(--cream)); }
.who-for { margin-top: 2.5rem; }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; margin: .6rem 0 0; }
.tag-list li { background: rgba(16,35,63,.06); color: var(--navy); font-weight: 600; font-size: .9rem; padding: .4rem .9rem; border-radius: 999px; }

.cta-inline {
  margin-top: 2.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.4rem;
  background: var(--navy); color: #eaf0f9; border-radius: var(--radius); padding: 1.6rem 2rem; flex-wrap: wrap;
}
.cta-inline h3 { color: #fff; }
.cta-inline p { color: #b9c6da; margin: .2rem 0 0; }
.cta-inline.soft { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.cta-inline.soft h3 { color: var(--ink); }
.cta-inline.soft p { color: var(--muted); }

/* ---------- Portal ---------- */
.portal { background: var(--navy); color: #eaf0f9; }
.portal h2, .portal h3 { color: #fff; }
.portal .section-lede { color: #b9c6da; }
.portal-grid { margin-top: 1rem; }
.portal-feature {
  background: rgba(255,255,255,.05); border: 1px solid var(--line-navy); border-radius: var(--radius);
  padding: 1.6rem; transition: background .16s, border-color .16s;
}
.portal-feature:hover { background: rgba(48,120,240,.08); border-color: rgba(48,120,240,.4); }
.portal-feature p { color: #b9c6da; margin: 0; }
.pf-icon { font-size: 1.8rem; margin-bottom: .5rem; }
.portal-cta { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 2.5rem; }
.portal .btn-ghost { color: var(--gold); }
.portal .btn-ghost:hover { color: #fff; }

/* ---------- Carriers ---------- */
.carriers { background: var(--cream); }
.carrier-logos { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 1.6rem; }
.carrier-chip {
  font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--navy);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: .8rem 1.6rem; box-shadow: var(--shadow-sm);
}
.carrier-chip.muted { color: var(--muted); font-family: var(--sans); font-weight: 500; font-size: .98rem; display: flex; align-items: center; }

/* ---------- About ---------- */
.about-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; }
.about-copy p { color: #33445c; }
.about-copy em { font-style: italic; color: var(--navy); }
.why-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .7rem; }
.why-list li { position: relative; padding-left: 1.6rem; color: var(--muted); }
.why-list li::before { content: "◆"; position: absolute; left: 0; color: var(--gold); font-size: .8rem; top: .25rem; }
.why-list strong { color: var(--ink); }
.about-stats { display: grid; gap: 1rem; }
.stat { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius-sm); padding: 1.2rem 1.4rem; }
.stat-num { display: block; font-family: var(--serif); font-size: 1.9rem; font-weight: 700; color: var(--navy); line-height: 1; }
.stat-label { color: var(--muted); font-size: .92rem; }

/* ---------- Quote / form ---------- */
.quote { background: linear-gradient(180deg, var(--cream), #fff); }
.quote-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 3rem; align-items: start; }
.quote-head { position: sticky; top: 92px; }
.quote-head a { color: var(--gold-2); font-weight: 600; }
.quote-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1rem; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; color: var(--ink); }
label .opt { font-weight: 400; color: var(--muted); }
input, select, textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: .7rem .85rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(48,120,240,.18); }
textarea { resize: vertical; }
.form-note { text-align: center; font-weight: 600; margin: .8rem 0 0; min-height: 1.2em; }
.form-note.ok { color: var(--ok); }
.form-note.err { color: #c0392b; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #b9c6da; padding: 3rem 0 1.6rem; }
.footer .brand-text { color: #fff; }
.footer .brand-text em { color: #8ea0bb; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand p { color: #8ea0bb; margin-top: .6rem; max-width: 34ch; }
/* auto-fit so 3- and 4-column footers both stay on one row */
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1.5rem; }
.footer-cols h4 { color: #fff; font-size: .95rem; margin-bottom: .7rem; font-family: var(--sans); letter-spacing: .04em; }
.footer-cols a, .footer-addr { display: block; color: #a9b8ce; font-size: .92rem; margin-bottom: .4rem; }
.footer-cols a:hover { color: var(--gold); }
.footer-legal { padding-top: 1.4rem; }
.footer-legal p { margin: .3rem 0; font-size: .82rem; color: #7f90a8; }
.footer-legal a { color: #a9b8ce; font-weight: 600; }
.footer-legal a:hover { color: var(--gold); }
.disclaimer { max-width: 90ch; }

/* ---------- Icon system ---------- */
.ic { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic-sm { width: 18px; height: 18px; }
.btn .ic { width: 20px; height: 20px; margin-right: -.15rem; }
.icon-box {
  width: 54px; height: 54px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(16,35,63,.07); color: var(--navy); margin-bottom: 1rem;
}
.icon-box.gold { background: rgba(48,120,240,.16); color: var(--gold-2); }
.icon-box.sm { width: 42px; height: 42px; border-radius: 11px; margin-bottom: .7rem; }
.icon-box.sm .ic { width: 20px; height: 20px; }
.portal .icon-box { background: rgba(48,120,240,.14); }

/* ---------- Visual panels ---------- */
.hero-visual { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.hero-visual img { width: 100%; height: auto; display: block; }

.about-visual {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/5; min-height: 340px; box-shadow: var(--shadow);
  background: radial-gradient(120% 90% at 80% 0%, rgba(48,120,240,.16), transparent 55%), linear-gradient(160deg, var(--navy), var(--navy-2));
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2.4rem; gap: .9rem;
}
.about-emblem { width: 74px; height: 74px; }
.about-visual blockquote { font-family: var(--serif); font-weight: 500; font-size: 1.4rem; line-height: 1.35; color: #fff; margin: 0; max-width: 22ch; }
.about-visual cite { font-style: normal; color: var(--gold); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.contact-map {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 340px;
  display: flex; align-items: center; justify-content: center; border: 1px solid var(--line);
  background:
    linear-gradient(rgba(16,35,63,.05) 1px, transparent 1px) 0 0 / 30px 30px,
    linear-gradient(90deg, rgba(16,35,63,.05) 1px, transparent 1px) 0 0 / 30px 30px,
    linear-gradient(160deg, #eef2f7, #e4eaf2);
}
.map-inner { text-align: center; }
.map-inner .icon-box { margin: 0 auto .8rem; }
.map-inner strong { color: var(--ink); display: block; }
.map-inner span { color: var(--muted); font-size: .9rem; }

/* ---------- DSA photos (approved job #29) ---------- */
.hero-photo { width: 100%; height: auto; display: block; }
.hero-visual { will-change: transform; }

.about-visual.has-photo { padding: 0; align-items: stretch; justify-content: flex-end; background: none; }
.about-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.about-overlay { position: relative; z-index: 1; width: 100%; padding: 1.9rem;
  background: linear-gradient(to top, rgba(16,35,63,.95), rgba(16,35,63,.5) 55%, rgba(16,35,63,0)); }
.about-overlay blockquote { text-align: left; max-width: none; font-size: 1.3rem; }
.about-overlay cite { display: block; margin-top: .5rem; }

.section-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); margin: 0 0 2.4rem; }
.section-photo img { width: 100%; height: auto; display: block; }

/* ---------- Royal-blue palette: legibility on dark + real logo ---------- */
:root { --accent-lite: #93b6ff; }           /* light periwinkle from the logo — legible on navy */
.btn-solid { color: #fff; }                  /* white text on the blue button */
.portal .eyebrow.gold,
.quote-card-top,
.stats-band .stat-big,
.portal .btn-ghost,
.about-overlay cite,
.about-visual cite { color: var(--accent-lite); }
.portal .btn-ghost:hover { color: #fff; }
.footer-cols a:hover,
.footer-legal a:hover { color: var(--accent-lite); }

img.brand-mark { height: 42px; width: auto; }
.footer-shield { height: 46px; width: auto; display: block; margin-bottom: .7rem; }

/* ============ FULL-LOGO PALETTE — blue + violet + lavender ============ */
:root { --violet: #5430cc; --violet-2: #4326b4; --lavender: #a89cfc; }

/* Primary buttons: royal-blue → violet gradient (both logo colors) */
.btn-solid {
  background: linear-gradient(135deg, #3078f0 0%, #5430cc 100%); color: #fff;
  box-shadow: 0 10px 26px -12px rgba(84,48,204,.6);
}
.btn-solid:hover { background: linear-gradient(135deg, #2360d8 0%, #4326b4 100%); }

/* Scroll-progress bar → gradient */
.scroll-progress span { background: linear-gradient(90deg, #3078f0, #7a4fe0, #5430cc); }

/* Hero: dual blue + violet ambient glow */
.hero {
  background:
    radial-gradient(1000px 480px at 88% -12%, rgba(48,120,240,.18), transparent 60%),
    radial-gradient(720px 420px at 6% 4%, rgba(84,48,204,.13), transparent 60%),
    linear-gradient(180deg, var(--cream), #fff);
}

/* Meaningful color-coding: Commercial = blue, Personal = violet */
.path-commercial { border-top-color: var(--accent); }
.path-commercial .icon-box,
.commercial .feature .icon-box { background: rgba(48,120,240,.14); color: var(--accent); }
.path-commercial .path-link:hover { color: var(--accent); }

.path-personal { border-top-color: var(--violet); }
.path-personal .icon-box,
.personal .feature .icon-box.gold { background: rgba(84,48,204,.14); color: var(--violet); }
.personal .eyebrow { color: var(--violet); }
.personal .feature:hover { border-color: var(--violet); }
.path-personal .path-link:hover { color: var(--violet); }

/* Stats band: subtle navy → violet wash */
.stats-band { background: linear-gradient(115deg, #10233f 0%, #182a55 50%, #2a2060 100%); }

/* Portal (dark): bring lavender in on alternating tiles */
.portal-feature:nth-child(even) .icon-box { background: rgba(168,140,252,.16); color: var(--lavender); }

/* Carrier chip + FAQ open accent get a violet touch */
.faq-item[open] { border-color: var(--violet); }

/* Nav wordmark: ONE uniform color (fix black/gray split) */
.brand-text { color: var(--ink); font-weight: 600; }
.brand-text em { color: inherit; font-weight: inherit; font-style: normal; }

/* ============ POLISH: accessibility + real map ============ */
a:focus-visible, button:focus-visible, .btn:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible,
.faq-item summary:focus-visible {
  outline: 3px solid #3078f0; outline-offset: 3px; border-radius: 6px;
}
.contact-map { background: var(--paper); }
.contact-map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* ============ GUIDED QUOTE FLOW ============ */
.qf-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.qf-progress { display: flex; gap: .5rem; margin-bottom: 1.6rem; }
.qf-dot { flex: 1; height: 4px; border-radius: 999px; background: var(--line); transition: background .3s; }
.qf-dot.is-active { background: linear-gradient(90deg, #3078f0, #5430cc); }

.qf-step { display: none; }
.qf-step.is-active { display: block; animation: qfIn .35s ease; }
@keyframes qfIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.qf-q { font-size: 1.3rem; margin-bottom: 1.1rem; }

.qf-choices { display: grid; gap: .8rem; }
.qf-choice { cursor: pointer; display: block; position: relative; }
/* keep the visually-hidden radio INSIDE the card — as a full-width absolute box it
   escaped the viewport and caused horizontal scroll on phones. Stays focusable. */
.qf-choice input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; margin: 0; }
.qf-card { display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; align-items: center;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.1rem;
  transition: border-color .15s, background .15s, box-shadow .15s; }
.qf-card .ic { grid-row: 1 / 3; width: 26px; height: 26px; color: var(--navy); }
.qf-card strong { color: var(--ink); font-family: var(--serif); font-size: 1.05rem; }
.qf-card small { color: var(--muted); font-size: .88rem; }
.qf-choice:hover .qf-card { border-color: var(--accent); }
.qf-choice input:checked + .qf-card { border-color: var(--accent); background: rgba(48,120,240,.06); box-shadow: 0 0 0 3px rgba(48,120,240,.14); }
.qf-choice input:focus-visible + .qf-card { outline: 3px solid #3078f0; outline-offset: 2px; }

.qf-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.qf-tag { display: inline-flex; align-items: center; gap: .4rem; border: 1.5px solid var(--line); border-radius: 999px;
  padding: .45rem .9rem; cursor: pointer; font-weight: 600; font-size: .92rem; color: var(--navy); }
.qf-tag input { accent-color: var(--accent); }

.qf-ready { margin-top: .6rem; background: rgba(84,48,204,.06); border: 1px solid rgba(84,48,204,.14);
  border-radius: var(--radius-sm); padding: .9rem 1.1rem; }
.qf-ready:empty { display: none; }
.qf-ready-title { font-weight: 600; color: var(--ink); font-size: .9rem; margin: 0 0 .4rem; }
.qf-ready ul { margin: 0; padding-left: 1.1rem; }
.qf-ready li { color: var(--muted); font-size: .9rem; margin-bottom: .25rem; }

.qf-nav { display: flex; justify-content: space-between; align-items: center; gap: .8rem; margin-top: 1.3rem; }

.qf-done { text-align: center; padding: 1.4rem 0; }
.qf-check { width: 64px; height: 64px; border-radius: 50%; background: rgba(48,120,240,.12);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.qf-check .ic { width: 34px; height: 34px; color: var(--accent); }
.qf-done p { color: var(--muted); }
.qf-done a { color: var(--accent); font-weight: 600; }

/* ---------- Low-friction "just ask" path (captures people not ready to quote) ---------- */
.ask-block {
  margin-top: 2.6rem; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.9rem; text-align: center; box-shadow: var(--shadow-sm);
}
.ask-block h3 { margin-bottom: .4rem; font-size: 1.25rem; }
.ask-block p { color: var(--muted); max-width: 56ch; margin: 0 auto 1.3rem; }
.ask-actions { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }
@media (max-width: 560px) { .ask-actions .btn { width: 100%; } }

/* ============ GUIDES (the SEO content hub) ============ */
.guide-hero {
  background: radial-gradient(120% 90% at 85% 0%, rgba(84,48,204,.28), transparent 55%),
              linear-gradient(160deg, var(--navy), var(--navy-2));
  color: #eaf0f9; padding: 3.2rem 0 2.8rem;
}
.guide-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: .2rem; }
.guide-crumbs { color: #93a4bf; font-size: .85rem; margin: 0 0 .9rem; }
.guide-crumbs a { color: var(--accent-lite); font-weight: 600; }
.guide-lede { color: #c3d0e4; font-size: 1.12rem; max-width: 64ch; margin: .7rem 0 0; line-height: 1.6; }
.guide-meta { color: var(--accent-lite); font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; margin: 1.1rem 0 0; }

.guide-body { max-width: 760px; }
.guide-body h2 { margin-top: 2.3rem; }
.guide-body ol { padding-left: 1.2rem; margin: 0 0 1rem; }
.guide-body ol li { color: #33445c; margin-bottom: .45rem; }

.guide-cta {
  margin: 2.6rem 0 0; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.8rem; text-align: center; box-shadow: var(--shadow-sm);
}
.guide-cta h3 { margin-bottom: .3rem; font-size: 1.2rem; }
.guide-cta p { color: var(--muted); margin: 0 auto 1.2rem; max-width: 52ch; }

.guide-related { margin-top: 2.6rem; }
.guide-cards { display: grid; gap: .9rem; margin-top: 1rem; }
.guide-card {
  display: block; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 1.1rem 1.3rem;
  transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.guide-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.guide-card strong { display: block; font-family: var(--serif); font-size: 1.05rem; color: var(--ink); margin-bottom: .15rem; }
.guide-card p { color: var(--muted); font-size: .95rem; margin: .35rem 0 .55rem; }
.guide-card span { color: var(--accent); font-size: .88rem; font-weight: 600; }
.guide-card.lg { padding: 1.4rem 1.5rem; }
@media (min-width: 760px) { .guide-cards { grid-template-columns: 1fr 1fr; } }
/* 3-up on wide screens so groups of three don't leave an orphan card */
@media (min-width: 1080px) { .guide-cards { grid-template-columns: repeat(3, 1fr); } }

/* ---------- How it works ---------- */
.how { background: linear-gradient(180deg, #fff, var(--cream)); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; position: relative; }
.step { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.step-num { position: absolute; top: -14px; right: 18px; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--serif); font-weight: 700; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); }
.step h3 { margin-top: .2rem; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Stats band ---------- */
.stats-band { background: var(--navy); color: #fff; padding: 2.6rem 0; }
.stats-band-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; text-align: center; }
.stat-item { display: flex; flex-direction: column; gap: .3rem; }
.stat-big { font-family: var(--serif); font-weight: 700; font-size: clamp(1.9rem, 3.2vw, 2.7rem); color: var(--gold); line-height: 1; }
.stat-big .plus { color: rgba(255,255,255,.55); }
.stat-cap { color: #b9c6da; font-size: .9rem; }

/* ---------- About visual layout ---------- */
.about-inner { align-items: stretch; }
.about-copy { align-self: center; }

/* ---------- FAQ ---------- */
.faq-inner { max-width: 820px; margin-inline: auto; }
.faq-list { display: grid; gap: .8rem; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: border-color .16s; }
.faq-item[open] { border-color: var(--gold); }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.1rem 1.3rem; font-family: var(--serif); font-weight: 600; font-size: 1.08rem; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--gold-2); font-family: var(--sans); font-weight: 400; transition: transform .2s; line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 1.3rem 1.2rem; }
.faq-a p { color: var(--muted); margin: 0; }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(180deg, var(--cream), #fff); }
.contact-inner { display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: 680px; }
.contact-list { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: 1rem; align-items: center; }
.contact-list .icon-box { margin: 0; }
.contact-list strong { color: var(--ink); }
.contact-list a { color: var(--gold-2); font-weight: 600; }

/* ---------- Sticky mobile action bar ---------- */
.mobile-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; gap: .6rem; padding: .7rem .9rem calc(.7rem + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
.mobile-bar .btn { flex: 1; }

/* ---------- Cinematic scroll (GSAP + Lenis; content is visible by default —
   JS only ENHANCES, so the page reads fine with no JS at all) ---------- */
html.lenis-on { scroll-behavior: auto; } /* Lenis owns smoothing; avoid double-easing */
html.lenis-on, html.lenis-on body { height: auto; }

/* Slim scroll-progress indicator */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 90; pointer-events: none; }
.scroll-progress span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transform: scaleX(0); transform-origin: 0 50%;
}

/* Nav lifts subtly once the page is scrolled */
.nav.is-scrolled { box-shadow: 0 10px 30px -18px rgba(16,35,63,.30); }

/* Layered hero scene */
.hero-visual svg.hero-scene { width: 100%; height: auto; display: block; }
#hiTruck, #hiTruckDrive, #hiSun, #hiHillFar, #hiHillNear { will-change: transform; }

/* Pinned "How it works": gold progress rail above the steps (desktop only — mobile never pins) */
@media (min-width: 901px) {
  .steps { --steps-progress: 0%; }
  .steps::before, .steps::after { content: ""; position: absolute; top: -30px; height: 3px; border-radius: 999px; }
  .steps::before { left: 2px; right: 2px; background: rgba(16,35,63,.10); }
  .steps::after  { left: 2px; width: var(--steps-progress); max-width: calc(100% - 4px);
                   background: linear-gradient(90deg, var(--gold), var(--gold-2)); }
}

/* Reduced motion: fully static, everything visible (script.js also opts out of
   Lenis, counters, and every animation when this preference is set) */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .scroll-progress { display: none; }
}

/* ---------- Responsive: new components ---------- */
@media (max-width: 900px) {
  .steps, .stats-band-inner { grid-template-columns: 1fr 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 70px; }
  .hero-visual { display: none; }
}
@media (max-width: 560px) {
  .steps, .stats-band-inner { grid-template-columns: 1fr; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  /* Mobile: hamburger opens a full-width drawer; dropdowns become accordions.
     nav-cta lives INSIDE nav-links now, so the whole menu is one panel. */
  .nav-links { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 0; flex: none;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: .4rem 0 .9rem; box-shadow: var(--shadow);
  }
  .nav-item { width: 100%; position: static; }
  .nav-trigger { width: 100%; justify-content: space-between; padding: .95rem 5vw; font-size: 1.05rem; border-radius: 0; }
  .nav-trigger:hover, .nav-item:focus-within .nav-trigger { background: transparent; }
  /* accordion: panel is inline and hidden until its trigger is expanded (JS-driven) */
  .nav-dd {
    position: static; display: none; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-radius: 0; background: transparent;
    min-width: 0; padding: 0 5vw .5rem; gap: 0;
  }
  .nav-dd::before { display: none; }
  .nav-trigger[aria-expanded="true"] + .nav-dd { display: grid; }
  .nav-dd a { padding: .7rem .4rem; }
  .nav-cta {
    display: flex; flex-direction: column; gap: .6rem; margin: 0;
    padding: .85rem 5vw 0; border-top: 1px solid var(--line);
  }
  .nav-cta .btn { width: 100%; }
  .hero-inner, .about-inner, .quote-inner { grid-template-columns: 1fr; }
  /* headline BEFORE the quote card: a visitor needs one beat of "who is this"
     before being asked to act. The sticky Call/Quote bar keeps the action a
     thumb away regardless, so leading with the card was redundant. */
  .hero-card { order: 0; margin-top: 1.6rem; }
  .quote-head { position: static; }
  .grid-3, .grid-2 { grid-template-columns: 1fr 1fr; }
  .paths { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid-3, .grid-2, .row-2, .footer-inner, .footer-cols { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .cta-inline { flex-direction: column; align-items: flex-start; }
}

/* ---------- Consent checkbox ---------- */
.consent label.checkbox { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; font-size: .84rem; color: var(--muted); line-height: 1.5; cursor: pointer; }
.consent input[type="checkbox"] { width: 18px; height: 18px; flex: none; margin-top: .1rem; accent-color: var(--gold-2); }
.consent a { color: var(--gold-2); font-weight: 600; }

/* ---------- Legal / prose pages ---------- */
.legal-hero { background: var(--navy); color: #eaf0f9; padding: 3rem 0 2.4rem; }
.legal-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); }
.legal-hero p { color: #b9c6da; margin: .4rem 0 0; }
.prose { max-width: 760px; margin: 0 auto; padding: 3rem 0; }
.prose h2 { font-size: 1.35rem; margin: 2rem 0 .6rem; }
.prose h3 { font-size: 1.05rem; margin: 1.4rem 0 .4rem; }
.prose p, .prose li { color: #33445c; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.prose a { color: var(--gold-2); font-weight: 600; }
/* buttons inside prose must keep their own button colors, not the link color */
.prose a.btn-solid { color: #fff; }
.prose a.btn-outline { color: var(--navy); }
.prose a.btn-outline:hover { color: #fff; }
.prose .updated { color: var(--muted); font-size: .9rem; }
.prose .callout { background: rgba(48,120,240,.1); border-left: 4px solid var(--gold); border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin: 1.4rem 0; }
.prose .callout p { color: var(--ink); margin: 0; font-size: .95rem; }
.legal-back { display: inline-flex; align-items: center; gap: .4rem; margin-top: 2rem; font-weight: 600; color: var(--navy); }

/* Site is intentionally locked to LIGHT on every browser (no OS dark-mode follow). */

/* ---- glossary ---- */
.glossary { margin: 1.6rem 0 0; }
.glossary .term {
  padding: 1.05rem 0 1rem;
  border-bottom: 1px solid var(--line);
}
.glossary .term:first-child { border-top: 1px solid var(--line); }
.glossary dt {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 .3rem;
  scroll-margin-top: 90px;
}
.glossary dd {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

/* ---- guides hub: sticky filter bar + shelves ---- */
.guide-filter {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 244, 238, .92);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.filter-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .85rem 0;
  flex-wrap: wrap;
}
.filter-label {
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.chips { display: flex; gap: .5rem; flex-wrap: wrap; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem .95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: .93rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
.chip:hover { border-color: var(--accent); }
.chip-n {
  font-size: .78rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--cream);
  border-radius: 999px;
  padding: .1rem .45rem;
  transition: background .15s, color .15s;
}
.chip.is-active {
  background: linear-gradient(135deg, #3078f0 0%, #5430cc 100%);
  border-color: transparent;
  color: #fff;
}
.chip.is-active .chip-n { background: rgba(255, 255, 255, .22); color: #fff; }
.chip:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }

.guide-section[hidden] { display: none; }
.guide-section + .guide-section { margin-top: 2.4rem; }
.prose .guide-section h2 { display: flex; align-items: center; gap: .6rem; }
.sec-count {
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .12rem .5rem;
}
.guide-shelf { margin-top: 1.5rem; }
.prose .guide-shelf h3 {
  font-family: var(--sans);
  font-size: .82rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--accent-2, var(--gold-2));
  font-weight: 700;
  margin: 0 0 .7rem;
}

/* ===========================================================
   MICRO-INTERACTIONS — hand-rolled, zero dependencies.
   Everything here is GPU-cheap (transform/opacity only) and
   inherits the global prefers-reduced-motion kill switch above.
   =========================================================== */

/* --- cards: arrow leads the eye, edge warms, lift is springy --- */
.guide-card {
  position: relative;
  overflow: hidden;
  transition: border-color .18s ease, transform .22s cubic-bezier(.2, .8, .2, 1), box-shadow .22s ease;
}
/* accent rail wipes in from the left */
.guide-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--violet) 100%);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .26s cubic-bezier(.2, .8, .2, 1);
}
.guide-card:hover::before,
.guide-card:focus-visible::before { transform: scaleY(1); }
.guide-card:hover { transform: translateY(-3px); }
.guide-card span { transition: color .18s ease; }
/* the "→" slides on hover — the card reads as going somewhere */
.guide-card span::after {
  content: "";
  display: inline-block;
  width: 0;
  transition: width .22s cubic-bezier(.2, .8, .2, 1);
}
.guide-card:hover span { color: var(--violet); }
.guide-card:hover span::after { width: .35rem; }

/* --- solid buttons: a single sheen sweep, not a disco --- */
.btn-solid { position: relative; overflow: hidden; isolation: isolate; }
.btn-solid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.28) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform .55s cubic-bezier(.2, .8, .2, 1);
  pointer-events: none;
  z-index: -1;
}
.btn-solid:hover::after { transform: translateX(120%); }

/* --- outline buttons: fill wipes up instead of snapping --- */
.btn-outline { position: relative; overflow: hidden; isolation: isolate; }
.btn-outline::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--navy);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .2s cubic-bezier(.2, .8, .2, 1);
  z-index: -1;
}
.btn-outline:hover::before { transform: scaleY(1); }

/* --- prose links: underline draws in rather than blinking on --- */
.prose p > a:not(.btn),
.prose li > a:not(.btn) {
  background-image: linear-gradient(var(--gold-2), var(--gold-2));
  background-size: 0% 1.5px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  text-decoration: none;
  transition: background-size .24s cubic-bezier(.2, .8, .2, 1);
}
.prose p > a:not(.btn):hover,
.prose li > a:not(.btn):hover { background-size: 100% 1.5px; }

/* --- filter chips: press feedback --- */
.chip { transition: border-color .15s, background .15s, color .15s, transform .12s ease; }
.chip:active { transform: scale(.97); }

/* nav is dropdown-based now — no flat top-level links to underline.
   Keep dropdown links free of any leftover underline gradient, but NEVER touch
   the CTA buttons (they carry a real gradient background — :not(.btn) protects it). */
.nav-dd a, .nav-cta a:not(.btn) { background-image: none; padding-bottom: 0; }

/* --- FAQ rows: warm the edge on hover so they read as clickable --- */
.faq-item { transition: border-color .16s, box-shadow .18s ease; }
.faq-item:hover { border-color: var(--accent-lite, var(--gold)); box-shadow: var(--shadow-sm); }

/* the wipe (::before) provides the fill — don't also snap the background */
.btn-outline:hover { background: transparent; color: #fff; }
.prose a.btn-outline:hover { color: #fff; }

/* ===========================================================
   MOBILE TAP TARGETS — audience is truckers on a phone.
   Apple/Google guidance is a 44px minimum touch height.
   Applied only on touch-ish widths so desktop density is kept.
   =========================================================== */
@media (max-width: 900px) {
  /* footer + nav link lists: pad to a real thumb target */
  .footer-cols a,
  .footer-legal a,
  .nav-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .footer-cols a { margin-bottom: 0; }

  /* inline text CTAs ("Explore trucking coverage →") */
  .path-card .path-link,
  .cta-inline a:not(.btn),
  .guide-card span { min-height: 44px; display: inline-flex; align-items: center; }

  /* contact links (phone / email) — the highest-intent taps on the site */
  .contact-list a { display: inline-flex; align-items: center; min-height: 44px; }

  /* every button already clears 44, but guarantee it */
  .btn { min-height: 44px; }
}

@media (max-width: 900px) {
  /* hamburger: was a 28px target — hardest thing to hit on the whole site */
  .nav-toggle { min-width: 44px; min-height: 44px; justify-content: center; align-items: center; }
  .brand { min-height: 44px; }
  /* tel/mailto links sitting inline in a sentence: padding grows the hit area
     without disturbing the line box, so text flow is unchanged */
  .section-lede a[href^="tel:"],
  .section-lede a[href^="mailto:"],
  .prose p a[href^="tel:"],
  .prose p a[href^="mailto:"] { padding-block: .7rem; }
}

@media (max-width: 900px) {
  /* breadcrumbs, in-body "read more" links and back links were all ~16-26px tall.
     padding-block grows the touch area without changing the visual line height. */
  .guide-crumbs a { padding-block: .75rem; }
  .prose li > a:not(.btn) { padding-block: .55rem; }
  .legal-back { display: inline-flex; align-items: center; min-height: 44px; }
  /* breadcrumb row needs room once its links are padded */
  .guide-crumbs { line-height: 2.4; }
}

@media (max-width: 900px) {
  /* filter chips sat at ~38px — bump to a full thumb target */
  .chip { min-height: 44px; }
  .filter-inner { gap: .7rem; }
}

/* ---- Commercial: grouped coverage tiers (specialty vs broader business) ---- */
.cov-group { margin-top: 2.2rem; }
.cov-group + .cov-group {
  margin-top: 3rem;
  padding-top: 2.6rem;
  border-top: 1px solid var(--line);
}
.cov-group-head { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.cov-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--sans); font-weight: 700; font-size: .8rem;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--gold-2);
  background: rgba(48,120,240,.10);
  border: 1px solid rgba(48,120,240,.22);
  padding: .38rem .8rem; border-radius: 999px; white-space: nowrap;
}
.cov-badge .ic { width: 15px; height: 15px; }
.cov-badge.alt { color: var(--violet-2); background: rgba(84,48,204,.09); border-color: rgba(84,48,204,.22); }
.cov-group-title { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin: 0; }
.cov-group > .section-lede { margin: -.4rem 0 1.4rem; }

/* small "our specialty" tag beside a hub group heading */
.prose h2 .sec-note {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold-2);
  background: rgba(48,120,240,.10);
  border: 1px solid rgba(48,120,240,.22);
  padding: .2rem .55rem;
  border-radius: 999px;
  vertical-align: middle;
  margin-left: .5rem;
}

/* mobile: dropdown links render as full-width rows (overrides the 44px inline-flex tap rule) */
@media (max-width: 900px) {
  .nav-dd a { display: block; width: 100%; }
}
