/* ============ Gridlock Motors ============ */
:root {
  --navy: #123e8a;
  --navy-600: #0f3273;
  --navy-800: #0a1f47;
  --navy-900: #071530;
  --navy-50: #eaf0fb;
  --steel: #5d636b;
  --steel-300: #9aa1aa;
  --steel-100: #e6e9ee;
  --ink: #111827;
  --text: #2b3240;
  --muted: #6b7280;
  --bg: #f2f4f7;
  --card: #ffffff;
  --line: #e3e7ee;
  --green: #11845b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 24px rgba(16, 24, 40, .06);
  --shadow-lg: 0 20px 50px rgba(7, 21, 48, .18);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-brand: "Michroma", "Manrope", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0; }
h2 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 800; letter-spacing: -.01em; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; margin-top: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 10px;
  padding: 10px 16px; font-weight: 700; font-size: .92rem;
  transition: background .2s, color .2s, border-color .2s, transform .1s, box-shadow .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-600); box-shadow: 0 6px 16px rgba(18, 62, 138, .3); }
.btn-ghost { color: var(--navy); background: var(--navy-50); }
.btn-ghost:hover { background: #dce6f8; }
.btn-outline { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-light { background: #fff; color: var(--navy-800); }
.btn-light:hover { background: var(--steel-100); }
.btn-lg { padding: 14px 22px; font-size: 1rem; }
.btn-block { width: 100%; }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border: 0; border-radius: 10px; background: transparent; color: var(--ink);
}
.icon-btn:hover { background: var(--steel-100); }
.icon-btn.round { border: 1px solid var(--line); border-radius: 999px; background: #fff; width: 38px; height: 38px; }
.icon-btn.round:hover { border-color: var(--navy); color: var(--navy); }
:focus-visible { outline: 3px solid rgba(18, 62, 138, .45); outline-offset: 2px; }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark {
  display: grid; grid-template-columns: repeat(4, 7px); gap: 2px;
}
.brand-mark i {
  width: 7px; height: 7px; border-radius: 1.5px;
  background: linear-gradient(145deg, #7b8189, #4a4f56);
  box-shadow: inset 0 0 0 .5px rgba(255,255,255,.35);
}
.brand-mark i.b { background: linear-gradient(145deg, #2a5cb8, #0d2f6e); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-brand); font-size: 1.05rem; letter-spacing: .02em;
  background: linear-gradient(180deg, #3d434b 0%, #8d949d 45%, #2c3137 55%, #5b616a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-sub { font-family: var(--font-brand); font-size: .55rem; letter-spacing: .5em; color: var(--steel); margin-top: 4px; }

.main-nav { display: none; gap: 4px; }
.main-nav a { padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: .93rem; color: var(--text); }
.main-nav a:hover { background: var(--navy-50); color: var(--navy); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.hide-sm { display: none; }
@media (min-width: 720px) { .hide-sm { display: inline-flex; } }
@media (min-width: 1080px) {
  .main-nav { display: flex; }
  .menu-toggle { display: none; }
}

/* Drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(7, 21, 48, .45); z-index: 60; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 86vw);
  background: #fff; z-index: 61; padding: 16px; display: flex; flex-direction: column; gap: 16px;
  transform: translateX(100%); transition: transform .28s ease; box-shadow: var(--shadow-lg);
}
.drawer.is-open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer-nav { display: flex; flex-direction: column; }
.drawer-nav a { padding: 12px 8px; border-bottom: 1px solid var(--line); font-weight: 600; }

/* ============ Hero ============ */
.hero { position: relative; padding: 56px 0 0; isolation: isolate; }
.hero-bg {
  position: absolute; inset: 0 0 120px; z-index: -1; overflow: hidden;
  background:
    radial-gradient(1200px 400px at 85% -10%, rgba(66, 120, 220, .35), transparent 60%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 55%, #14264a 100%);
}
.hero-grid {
  position: absolute; right: -40px; top: 30px; width: 420px; height: 420px;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255,255,255,.06) 2px, transparent 2px);
  background-size: 52px 52px; transform: rotate(-8deg);
  mask-image: radial-gradient(circle at 60% 40%, #000 30%, transparent 70%);
}
.hero-inner { color: #fff; padding-bottom: 32px; }
.eyebrow { font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); margin: 0 0 10px; }
.eyebrow-light { color: #9fb8e6; }
.hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; }
.chrome-text {
  background: linear-gradient(180deg, #ffffff 0%, #c9d0d9 48%, #8a939f 52%, #e4e8ee 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { max-width: 560px; color: #c5d0e3; font-size: 1.05rem; margin: 16px 0 0; }

.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.search-card { padding: 22px; border: 1px solid var(--line); }
@media (min-width: 768px) { .search-card { padding: 28px 32px; } }
.search-card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.search-card-head h2 { font-size: 1.35rem; }
.search-card > .muted { margin: 6px 0 16px; font-size: .92rem; }
.smart-badge { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); font-weight: 700; font-size: .9rem; }
.smart-badge em { font-style: normal; background: var(--navy); color: #fff; font-size: .7rem; padding: 2px 8px; border-radius: 999px; }
.smart-search { display: flex; gap: 10px; flex-direction: column; }
@media (min-width: 640px) { .smart-search { flex-direction: row; } }
.search-input {
  flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 14px;
  border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--muted);
  transition: border-color .2s, box-shadow .2s;
}
.search-input:focus-within { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(18, 62, 138, .12); }
.search-input input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 1rem; padding: 14px 0; color: var(--ink); background: transparent; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; }
.chip {
  border: 1px solid var(--line); background: #f7f8fa; color: var(--text);
  padding: 6px 12px; border-radius: 999px; font-size: .82rem; font-weight: 600;
}
.chip:hover { border-color: var(--navy); color: var(--navy); background: var(--navy-50); }
.adv-filters { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.adv-filters summary { cursor: pointer; font-weight: 700; color: var(--steel); font-size: .9rem; text-align: center; list-style: none; }
.adv-filters summary::-webkit-details-marker { display: none; }
.adv-filters summary::after { content: " ▾"; }
.adv-filters[open] summary::after { content: " ▴"; }
.filters-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 16px; align-items: end; }
.filters-grid label, .form-grid label { display: flex; flex-direction: column; gap: 6px; font-size: .8rem; font-weight: 700; color: var(--steel); }
select, .form-grid input, .form-grid textarea {
  font: inherit; font-size: .95rem; color: var(--ink); padding: 10px 12px;
  border: 1.5px solid var(--line); border-radius: 10px; background: #fff; width: 100%;
}
select:focus, .form-grid input:focus, .form-grid textarea:focus { outline: 0; border-color: var(--navy); }

/* ============ Sections / Panels ============ */
.section { padding: 14px 0; }
.hero + .section { padding-top: 28px; }
.panel { background: var(--card); border-radius: var(--radius); padding: 22px 18px; box-shadow: var(--shadow); border: 1px solid var(--line); }
@media (min-width: 768px) { .panel { padding: 28px; } }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
.section-head .muted { margin: 6px 0 0; font-size: .92rem; }
.link-more { color: var(--navy); font-weight: 700; white-space: nowrap; font-size: .92rem; }
.link-more:hover { text-decoration: underline; }
.rail-controls { display: none; gap: 8px; }
@media (min-width: 768px) { .rail-controls { display: flex; } }

.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  border: 0; background: none; padding: 10px 14px; font-weight: 700; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .05em; color: var(--muted); white-space: nowrap;
  border-bottom: 2.5px solid transparent; margin-bottom: -1px;
}
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--navy); border-bottom-color: var(--navy); }
.tabs-sm .tab { font-size: .75rem; padding: 8px 10px; }

/* Rails */
.rail-wrap { position: relative; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr);
  gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-bottom: 4px;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 768px) { .rail { grid-auto-columns: calc((100% - 32px) / 3); } }
@media (min-width: 1100px) { .rail { grid-auto-columns: calc((100% - 48px) / 4); } }
.rail-controls.floating { position: absolute; top: -62px; right: 0; }

/* Services */
.service-card {
  border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 12px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.service-card:hover { border-color: #c9d5ea; box-shadow: var(--shadow); transform: translateY(-2px); }
.service-top { display: flex; gap: 14px; align-items: flex-start; }
.service-icon { flex-shrink: 0; width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-50); color: var(--navy); }
.service-card h3 { font-size: 1rem; }
.service-card p { margin: 4px 0 0; color: var(--muted); font-size: .88rem; }
.service-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 12px; margin-top: auto; font-size: .82rem; }
.service-foot a { color: var(--navy); font-weight: 700; }
.tag { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 3px 8px; border-radius: 6px; background: var(--steel-100); color: var(--steel); }
.tag-blue { background: var(--navy-50); color: var(--navy); }

/* Brands */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 12px; }
.brand-tile {
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 8px;
  border: 1px solid var(--line); border-radius: 12px; font-weight: 700; font-size: .88rem; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.brand-tile:hover { border-color: var(--navy); box-shadow: var(--shadow); color: var(--navy); }
.brand-mono {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-brand); font-size: .8rem; color: #fff;
  background: linear-gradient(145deg, #454b53, #1f2329);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 2px 6px rgba(0,0,0,.15);
}
.brand-tile.is-hidden { display: none; }

/* Car cards */
.car-card {
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff;
  display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s, border-color .2s;
}
.car-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: #cfd8e6; }
.car-media { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden; }
.car-media svg { width: 88%; height: auto; }
.car-media .badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; }
.badge { font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.badge-cert { background: var(--navy); color: #fff; }
.badge-ev { background: var(--green); color: #fff; }
.fav {
  position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.92); display: grid; place-items: center; color: var(--steel);
}
.fav:hover { color: #d33a4a; }
.fav.is-on { color: #d33a4a; }
.fav.is-on svg path { fill: currentColor; }
.car-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.car-body h3 { font-size: 1rem; font-weight: 800; }
.car-price { font-size: 1.15rem; font-weight: 800; color: var(--navy); }
.car-price small { font-size: .72rem; color: var(--muted); font-weight: 700; margin-right: 4px; }
.car-price.soon { color: var(--steel); font-size: .95rem; }
.car-specs { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 8px; padding: 0; list-style: none; }
.car-specs li { font-size: .75rem; font-weight: 600; color: var(--steel); background: #f4f6f9; padding: 3px 8px; border-radius: 6px; }
.car-body .btn { margin-top: auto; }
.car-loc { font-size: .78rem; color: var(--muted); display: flex; align-items: center; gap: 4px; }

.car-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.search-note { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: var(--navy-50); border-radius: 10px; padding: 10px 14px; margin-bottom: 16px; font-weight: 600; color: var(--navy-800); font-size: .9rem; }
.chip-clear { background: #fff; }
.empty { text-align: center; color: var(--muted); padding: 32px 0; }
.empty a { color: var(--navy); font-weight: 700; }

/* Budget / category */
.two-col { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.two-col > * { min-width: 0; }
@media (min-width: 900px) { .two-col { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); } }
.two-col h2 { margin-bottom: 16px; }
.link-list { list-style: none; margin: 0; padding: 0; }
.link-list li a { display: flex; justify-content: space-between; padding: 11px 4px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: .93rem; }
.link-list li a:hover { color: var(--navy); }
.link-list li a span { color: var(--muted); font-weight: 500; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.cat-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px; border: 1px solid var(--line);
  border-radius: 12px; font-weight: 700; font-size: .85rem; text-align: center; background: #fff;
}
.cat-item:hover { border-color: var(--navy); color: var(--navy); }
.cat-item svg { width: 72px; height: auto; }
.cat-item span { font-weight: 500; color: var(--muted); font-size: .75rem; }

/* Price grid */
.price-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.price-tile { border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; gap: 12px; align-items: center; }
.price-tile:hover { border-color: var(--navy); }
.price-tile .brand-mono { width: 44px; height: 44px; font-size: .7rem; flex-shrink: 0; }
.price-tile strong { display: block; color: var(--ink); }
.price-tile small { display: block; font-size: .68rem; font-weight: 800; letter-spacing: .08em; color: var(--muted); }
.price-tile em { font-style: normal; font-weight: 800; color: var(--navy); font-size: .92rem; }

/* Compare */
.compare-card { border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.compare-pair { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.compare-side { text-align: center; }
.compare-side .mini { background: linear-gradient(180deg, #f3f6fb, #e5eaf2); border-radius: 10px; padding: 8px; margin-bottom: 8px; }
.compare-side strong { display: block; font-size: .85rem; color: var(--ink); line-height: 1.25; }
.compare-side em { font-style: normal; font-size: .8rem; color: var(--navy); font-weight: 800; }
.vs { width: 34px; height: 34px; border-radius: 50%; background: var(--navy-800); color: #fff; font-weight: 800; font-size: .72rem; display: grid; place-items: center; }

/* About */
.about {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.about-media img { width: 100%; height: auto; aspect-ratio: 1280 / 533; object-fit: cover; }
.about-copy { padding: 24px 22px 28px; display: grid; gap: 8px 40px; }
@media (min-width: 900px) {
  .about-copy { padding: 36px; grid-template-columns: 1fr 1.3fr; }
  .about-copy .why-list { grid-column: 2; grid-row: 1 / span 3; margin: 0; }
}
.about-copy h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 18px; }
.why-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 14px; }
.why-list li { display: grid; gap: 2px; padding-left: 22px; position: relative; }
.why-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; border-radius: 2px; background: var(--navy); box-shadow: 12px 0 0 -2px transparent; }
.why-list strong { color: var(--ink); }
.why-list span { color: var(--muted); font-size: .92rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; border-top: 1px solid var(--line); padding-top: 18px; }
.stats strong { display: block; font-size: 1.6rem; font-weight: 800; color: var(--navy); }
.stats span { font-size: .8rem; color: var(--muted); font-weight: 600; }

/* Reviews */
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.review-card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.review-card:hover { box-shadow: var(--shadow); }
.review-card .car-media { aspect-ratio: 16 / 9; }
.review-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.review-body h3 { font-size: .98rem; line-height: 1.35; }
.review-meta { display: flex; gap: 10px; font-size: .78rem; color: var(--muted); font-weight: 600; }

/* Sell CTA */
.sell-cta {
  display: flex; flex-direction: column; gap: 18px; align-items: flex-start; justify-content: space-between;
  padding: 32px 24px; border-radius: var(--radius); color: #c9d4e8;
  background:
    radial-gradient(600px 200px at 100% 0%, rgba(66, 120, 220, .45), transparent 60%),
    linear-gradient(135deg, var(--navy-800), var(--navy-900));
}
.sell-cta h2 { color: #fff; font-size: clamp(1.35rem, 2.6vw, 1.9rem); }
.sell-cta p { margin: 8px 0 0; max-width: 560px; }
@media (min-width: 800px) { .sell-cta { flex-direction: row; align-items: center; padding: 40px 44px; } }

/* Footer */
.site-footer { background: var(--navy-900); color: #aab6cc; margin-top: 32px; padding-top: 44px; font-size: .92rem; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); padding-bottom: 32px; }
.footer-brand p { max-width: 280px; }
.site-footer .brand { display: flex; padding: 0; margin-bottom: 14px; }
.brand-light .brand-name { background: linear-gradient(180deg, #ffffff 0%, #d5dbe3 45%, #8d96a2 55%, #e9edf2 100%); -webkit-background-clip: text; background-clip: text; }
.brand-light .brand-sub { color: #aab6cc; }
.brand-light .brand-mark i.b { background: linear-gradient(145deg, #3a70d6, #1a4596); }
.brand-light .brand-mark i:not(.b) { background: linear-gradient(145deg, #a2a9b2, #6b727b); }
.site-footer h3 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.site-footer a { display: block; padding: 4px 0; }
.site-footer a:hover { color: #fff; }
.contact-line { margin: 0 0 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 16px 90px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; font-size: .8rem; }

/* Floating help */
.help-fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: #fff; font-weight: 700; font-size: .9rem;
  padding: 12px 18px; border-radius: 999px; box-shadow: 0 10px 30px rgba(18, 62, 138, .4);
}
.help-fab:hover { background: var(--navy-600); }

/* Modal */
.modal { border: 0; padding: 0; border-radius: var(--radius); width: min(520px, calc(100vw - 32px)); box-shadow: var(--shadow-lg); }
.modal::backdrop { background: rgba(7, 21, 48, .55); }
.modal-inner { padding: 24px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; }
.modal-inner > .muted { margin: 6px 0 18px; font-size: .92rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.form-grid .span-2 { grid-column: span 2; }
.form-grid textarea { resize: vertical; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
