/* ===========================================================
   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: auto; }
.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; gap: 1.5rem; }
.nav-links a { font-weight: 500; color: var(--ink); font-size: .96rem; }
.nav-links a:hover { color: var(--gold-2); }
.nav-cta { display: flex; align-items: center; gap: .6rem; }
.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; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 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; }
.qf-choice input { position: absolute; opacity: 0; pointer-events: none; }
.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; }

/* ---------- 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 1.1fr; gap: 3rem; align-items: center; }
.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) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: 1rem 4vw; gap: 1rem;
  }
  .hero-inner, .about-inner, .quote-inner { grid-template-columns: 1fr; }
  .hero-card { order: -1; }
  .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; }
.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). */
