/* ============================================================
   LocateMyEV — locatemyev.com · demo stylesheet
   Palette psychology:
   · Ink navy  = trust, security, authority (finance-grade)
   · Charge green = go / savings / clean energy (action colour)
   · Volt cyan = innovation accent (used sparingly)
   ============================================================ */
:root {
  --ink-950: #071120;
  --ink-900: #0B1B30;
  --ink-800: #102542;
  --ink-700: #163055;
  --charge-300: #57F2B0;
  --charge-400: #00E88F;   /* bright CTA on dark, dark text on it */
  --charge-500: #00C878;
  --charge-700: #047857;   /* deep green: links + CTAs on light, AA w/ white */
  --charge-800: #065F46;
  --volt-400: #2AD4FF;
  --volt-700: #0E7490;
  --surface: #F4F7FB;
  --line: #E1E8F0;
  --line-soft: #EBF0F6;
  --text-1: #16233A;
  --text-2: #55647D;
  --text-3: #44536E;
  --amber-bg: #FFF8E6;
  --amber-line: #F5DFA0;
  --amber-text: #8A5A00;
  --shadow-card: 0 1px 2px rgb(7 17 32 / .05), 0 6px 20px rgb(7 17 32 / .06);
  --shadow-hover: 0 4px 8px rgb(7 17 32 / .07), 0 16px 36px rgb(7 17 32 / .12);
  --radius: 14px;
  --radius-sm: 10px;
  --pad: clamp(18px, 4.5vw, 34px);
  --font-display: "Space Grotesk", "Inter", ui-sans-serif, system-ui, sans-serif;
  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
  --dur-fast: .22s;
  --dur-med: .5s;
  --dur-slow: .9s;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--surface); color: var(--text-1);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased; line-height: 1.58; font-size: 15px;
}
:focus-visible { outline: 2.5px solid var(--charge-500); outline-offset: 2px; border-radius: 6px; }
img { max-width: 100%; display: block; }
a { color: var(--charge-700); }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
main { min-height: 62vh; }

/* ── Reveal-on-scroll (motion.js toggles .is-visible) ────────── */
[data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ── 3D tilt (motion.js sets --rx/--ry/--tz on pointer move) ─── */
[data-tilt] {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(var(--tz, 0px));
  transition: transform .35s var(--ease-out);
  transform-style: preserve-3d;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) { [data-tilt] { transform: none !important; transition: none; } }
@media (hover: none) { [data-tilt] { transform: none !important; } }

/* ── Demo banner + header ─────────────────────────── */
.demo-banner {
  background: linear-gradient(90deg, #F7C948, #F5B301);
  color: var(--ink-950); text-align: center;
  font-size: 11.5px; font-weight: 650; padding: 6px 14px; letter-spacing: .01em;
}
header.site {
  position: sticky; top: 0; z-index: 40; color: #fff;
  background: rgb(7 17 32 / .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgb(255 255 255 / .08);
  transition: box-shadow .25s var(--ease-out);
}
header.site.is-scrolled { box-shadow: 0 8px 24px rgb(7 17 32 / .28); }
header.site.is-scrolled .site-bar { height: 58px; transition: height .2s var(--ease-out); }
.site-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; height: 68px; min-width: 0; transition: height .2s var(--ease-out); }
.logo { display: flex; align-items: center; text-decoration: none; min-width: 0; flex: 0 1 auto; }
.logo img { height: 42px; width: auto; }
@media (max-width: 420px) { .logo img { height: 36px; } }
nav.primary { display: none; gap: 2px; }
nav.primary a {
  color: #B9C6D8; text-decoration: none; font-size: 14px; font-weight: 550;
  padding: 9px 13px; border-radius: 9px; white-space: nowrap;
  transition: color .15s, background-color .15s;
}
nav.primary a:hover { color: #fff; background: rgb(255 255 255 / .07); }
nav.primary a[aria-current="page"] { color: var(--charge-300); background: rgb(0 232 143 / .1); }
.header-cta { display: none; }
.menu-btn {
  background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .12);
  color: #fff; width: 42px; height: 42px; border-radius: 10px; cursor: pointer;
  font-size: 19px; line-height: 1; flex: none; display: grid; place-items: center;
}
.mobile-nav { display: none; flex-direction: column; gap: 2px; padding: 8px var(--pad) 18px; border-top: 1px solid rgb(255 255 255 / .08); }
.mobile-nav.open { display: flex; }
.mobile-nav a { color: #DCE5EF; text-decoration: none; padding: 12px 14px; border-radius: 10px; font-size: 15px; font-weight: 550; }
.mobile-nav a:hover { background: rgb(255 255 255 / .07); }
.mobile-nav .btn { margin-top: 10px; align-self: stretch; }
@media (min-width: 1000px) {
  nav.primary { display: flex; }
  .header-cta { display: inline-flex; }
  .menu-btn { display: none; }
}

/* ── Buttons ──────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 11px; padding: 0 20px; height: 44px; font-size: 14.5px; font-weight: 650;
  cursor: pointer; text-decoration: none; border: 1px solid transparent; white-space: nowrap;
  transition: background-color .16s, border-color .16s, transform .12s, box-shadow .16s;
  width: auto; max-width: 100%;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--charge-400), #00CFA0 60%, #00C0BE);
  background-color: var(--charge-400);
  color: var(--ink-950); box-shadow: 0 6px 18px rgb(0 200 120 / .32);
}
.btn-primary:hover { filter: brightness(1.05); box-shadow: 0 8px 22px rgb(0 200 120 / .4); }
.btn-solid { background: var(--charge-700); color: #fff; }
.btn-solid:hover { background: var(--charge-800); }
.btn-secondary { background: #fff; color: var(--ink-900); border-color: #C7D2E0; }
.btn-secondary:hover { border-color: #93A5BC; background: #F8FAFD; }
.btn-dark { background: var(--ink-900); color: #fff; }
.btn-dark:hover { background: var(--ink-800); }
.btn-ghost { background: transparent; color: var(--ink-900); }
.btn-ghost:hover { background: var(--line-soft); }
.btn-outline-light { background: rgb(255 255 255 / .08); color: #fff; border-color: rgb(255 255 255 / .22); }
.btn-outline-light:hover { background: rgb(255 255 255 / .15); }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn-lg { height: 52px; padding: 0 28px; font-size: 15.5px; border-radius: 13px; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; border-radius: 9px; }

/* ── Live EV news rail ────────────────────────────────────── */
.news-rail { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.news-card {
  display: flex; gap: 12px; align-items: flex-start; text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px; box-shadow: var(--shadow-card); transition: box-shadow .15s, transform .12s;
}
.news-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-1px); }
.news-thumb {
  flex: none; width: 68px; height: 68px; border-radius: 9px; background-size: cover; background-position: center;
  background-color: var(--ink-900);
}
.news-thumb-empty { display: grid; place-items: center; font-size: 22px; }
.news-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.news-source { font-size: 11px; font-weight: 700; color: var(--charge-700); text-transform: uppercase; letter-spacing: .03em; }
.news-title { font-size: 13.5px; font-weight: 600; color: var(--ink-900); line-height: 1.35; }

/* ── Featured Ontario dealers ─────────────────────────────── */
.dealer-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.dealer-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px;
  box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 10px;
}
.dealer-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.dealer-card-top h3 { margin: 0; font-size: 15px; color: var(--ink-900); }
.dealer-status { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.dealer-status .dot { width: 7px; height: 7px; border-radius: 50%; background: #98A6BC; }
.dealer-status.is-live { color: var(--charge-700); }
.dealer-status.is-live .dot { background: var(--charge-500); box-shadow: 0 0 0 3px rgb(0 200 120 / .18); }
.dealer-status.is-down { color: var(--text-2); }
.dealer-blurb { font-size: 13px; color: var(--text-2); margin: 0; flex: 1; }
.dealer-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
/* Full-width only on small screens; intrinsic width above. */
.btn-block-sm { width: 100%; }
@media (min-width: 560px) { .btn-block-sm { width: auto; min-width: 240px; } }

/* ── Badges & cards ───────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 4px; border-radius: 999px;
  padding: 3px 10px; font-size: 11.5px; font-weight: 650; border: 1px solid transparent;
  line-height: 1.4; white-space: nowrap;
}
.badge-bev { background: #E6FBF1; color: #065F46; border-color: #A9EFD2; }
.badge-phev { background: #E8F8FD; color: #0E7490; border-color: #ADE6F5; }
.badge-demo { background: var(--amber-bg); color: var(--amber-text); border-color: var(--amber-line); }
.badge-neutral { background: #EFF3F8; color: #3D4C64; border-color: var(--line); }
.badge-sponsored { background: rgb(42 212 255 / .12); color: #0C6E8C; border-color: rgb(42 212 255 / .4); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

/* ── Hero ─────────────────────────────────────────── */
.hero {
  color: #fff; background-color: var(--ink-950); overflow: hidden; position: relative;
  background-image:
    radial-gradient(1100px 500px at 88% -12%, rgb(0 232 143 / .17), transparent 58%),
    radial-gradient(900px 460px at -8% 112%, rgb(42 212 255 / .12), transparent 55%),
    linear-gradient(158deg, var(--ink-950), var(--ink-900) 55%, var(--ink-800));
}
.hero-orbs { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55;
  animation: orbDrift 22s ease-in-out infinite alternate;
}
.hero-orb.o1 { width: 380px; height: 380px; top: -120px; right: 6%; background: radial-gradient(circle, rgb(0 232 143 / .5), transparent 70%); animation-duration: 26s; }
.hero-orb.o2 { width: 300px; height: 300px; bottom: -100px; left: 2%; background: radial-gradient(circle, rgb(42 212 255 / .4), transparent 70%); animation-duration: 19s; animation-delay: -6s; }
@keyframes orbDrift { from { transform: translate(0,0) scale(1); } to { transform: translate(-24px, 26px) scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .hero-orb { animation: none; } }
.hero .inner { position: relative; z-index: 1; padding: clamp(52px, 8vw, 88px) 0 clamp(56px, 8vw, 92px); display: grid; gap: clamp(30px, 5vw, 52px); align-items: center; }
.hero .kicker {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--charge-300); font-size: 12.5px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; margin: 0;
}
.hero .kicker::before { content: ""; width: 26px; height: 2px; background: var(--charge-400); border-radius: 2px; }
.hero h1 { font-family: var(--font-display); font-size: clamp(34px, 6vw, 62px); line-height: 1.02; letter-spacing: -0.03em; margin: 16px 0 0; font-weight: 700; }
.hero h1 .accent {
  background: linear-gradient(92deg, var(--charge-400), var(--volt-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% auto; animation: accentSheen 5s ease-in-out infinite;
}
@keyframes accentSheen { 0%, 100% { background-position: 0% center; } 50% { background-position: 100% center; } }
@media (prefers-reduced-motion: reduce) { .hero h1 .accent { animation: none; } }
.hero .sub { color: #C4D0DF; font-size: clamp(15.5px, 2vw, 18px); max-width: 560px; margin: 18px 0 0; }
.hero .note { color: #B9C6D8; font-size: 12.5px; max-width: 520px; margin: 18px 0 0; }
.hero-stats { display: flex; gap: 26px; margin-top: 26px; flex-wrap: wrap; }
.hero-stats > div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-display); font-size: 23px; font-weight: 700; color: #fff; line-height: 1.1; font-variant-numeric: tabular-nums; }
.hero-stats span { font-size: 11.5px; color: #9FB0C6; margin-top: 2px; }
.hero-form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; max-width: 600px; }
.hero-form input {
  flex: 1 1 220px; min-width: 0; height: 52px; border-radius: 13px; border: 1px solid rgb(255 255 255 / .18);
  background: rgb(255 255 255 / .97); padding: 0 16px; font-size: 15px; color: var(--ink-900); font-family: inherit;
}
.hero-form .btn { flex: 0 0 auto; }
@media (max-width: 559px) { .hero-form .btn { flex: 1 1 46%; } }
.hero-side { display: none; }
@media (min-width: 1000px) {
  .hero .inner { grid-template-columns: 1.12fr .88fr; }
  .hero-side { display: block; }
}
.hero-card {
  background: rgb(16 37 66 / .75); border: 1px solid rgb(255 255 255 / .1);
  border-radius: var(--radius); padding: 24px 26px; font-size: 14px; color: #DCE5EF;
  backdrop-filter: blur(4px);
}
.hero-card p { margin: 0 0 14px; font-weight: 700; color: #fff; letter-spacing: -.01em; }
.hero-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 13px; }
.hero-card li { display: flex; gap: 11px; align-items: flex-start; }
.hero-card .ico { flex: none; }

/* ── Sections ─────────────────────────────────────── */
section.block { padding: clamp(48px, 7vw, 76px) 0; }
section.block.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow {
  display: block; text-align: center; color: var(--charge-700);
  font-size: 12px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 10px;
}
h2.section { font-family: var(--font-display); font-size: clamp(25px, 3.4vw, 36px); letter-spacing: -.025em; margin: 0 0 10px; color: var(--ink-900); text-align: center; font-weight: 600; }
p.section-sub { text-align: center; color: var(--text-2); margin: 0 auto clamp(26px, 4vw, 40px); max-width: 620px; font-size: 15px; }
.grid-3 { display: grid; gap: clamp(16px, 2.5vw, 24px); }
@media (min-width: 760px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-3 > * { min-width: 0; }
.step-card { padding: clamp(20px, 3vw, 28px); position: relative; }
.step-card .num { color: #55647D; font-size: 12px; font-weight: 750; letter-spacing: .08em; }
.step-card h3 { margin: 10px 0 8px; font-size: 17px; color: var(--ink-900); letter-spacing: -.01em; }
.step-card p { margin: 0; color: var(--text-3); font-size: 14px; }
.step-card .ico {
  width: 44px; height: 44px; border-radius: 12px; font-size: 20px; margin-bottom: 14px;
  background: linear-gradient(135deg, rgb(0 232 143 / .14), rgb(42 212 255 / .12));
  border: 1px solid rgb(0 200 120 / .25); display: grid; place-items: center;
}

/* ── Vehicle cards ────────────────────────────────── */
.vgrid { display: grid; gap: clamp(16px, 2.5vw, 24px); grid-template-columns: 1fr; }
@media (min-width: 620px) { .vgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1140px) { .vgrid { grid-template-columns: repeat(3, 1fr); } }
.vgrid > * { min-width: 0; }
.vcard { overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .18s, transform .18s; }
.vcard:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .vcard:hover { transform: none; } }
.vcard .media { position: relative; aspect-ratio: 16/9; background: var(--ink-900); display: block; }
.vcard .media img { width: 100%; height: 100%; object-fit: cover; }
.photo-credit {
  position: absolute; left: 10px; bottom: 10px; z-index: 2;
  background: rgb(7 17 32 / .62); color: #DCE5EF; font-size: 10.5px; font-weight: 600;
  padding: 3px 8px; border-radius: 999px; letter-spacing: .01em; backdrop-filter: blur(3px);
}
.vcard .flags { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; max-width: 70%; }
.vcard .flag-demo { position: absolute; top: 10px; right: 10px; }
.vcard .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.vcard h3 { margin: 0; font-size: 15.5px; line-height: 1.35; font-weight: 700; letter-spacing: -.01em; }
.vcard h3 a { color: var(--ink-900); text-decoration: none; }
.vcard h3 a:hover { color: var(--charge-700); }
.vcard .trim { color: var(--text-2); font-size: 13px; margin: 2px 0 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vcard .price { text-align: right; font-weight: 800; color: var(--ink-900); white-space: nowrap; font-size: 15.5px; }
.vcard .price small { display: block; font-weight: 450; color: var(--text-2); font-size: 11.5px; }
.vcard .toprow { display: flex; justify-content: space-between; gap: 12px; }
.vcard .specs { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 14px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--text-3); }
.vcard .specs li { display: flex; gap: 7px; align-items: baseline; min-width: 0; }
.vcard .specs .ico { flex: none; }
.vcard .specs li > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vcard .foot {
  margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--text-2);
}
.vcard .foot a { font-weight: 700; text-decoration: none; white-space: nowrap; }
.muted { color: #5B6B84; }

/* ── Ads: flip cards ──────────────────────────────── */
.ad-flip { perspective: 1200px; position: relative; }
.ad-flip .faces {
  position: relative; width: 100%; min-height: 238px;
  transform-style: preserve-3d; transition: transform .75s cubic-bezier(.2,.7,.25,1);
}
.ad-flip.flipped .faces { transform: rotateY(180deg); }
.ad-face {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: var(--radius); padding: 22px; color: #fff; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 12px;
  border: 1px solid rgb(255 255 255 / .14); box-shadow: var(--shadow-card);
}
.ad-face::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px 200px at 110% -20%, rgb(255 255 255 / .14), transparent 60%);
}
.ad-face.back { transform: rotateY(180deg); }
.ad-face .ad-tag { align-self: flex-start; background: rgb(255 255 255 / .16); color: #fff; border-color: rgb(255 255 255 / .3); }
.ad-face h4 { margin: 0; font-size: 16.5px; line-height: 1.3; letter-spacing: -.01em; font-weight: 750; }
.ad-face p { margin: 0; font-size: 13px; opacity: .93; }
.ad-face .cta { font-size: 13.5px; font-weight: 750; color: #fff; }
.ad-face .fineprint { font-size: 10.5px; opacity: .78; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (prefers-reduced-motion: reduce) { .ad-flip .faces { transition: none; } }
.ad-dots { display: flex; gap: 7px; justify-content: center; margin-top: 12px; }
.ad-dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: #C9D4E2; cursor: pointer; padding: 0; }
.ad-dots button[aria-current="true"] { background: var(--charge-500); width: 20px; border-radius: 99px; transition: width .2s; }
.vcard.sponsored { border-color: rgb(42 212 255 / .45); background: linear-gradient(180deg, #F2FBFE, #fff 55%); }

/* ── Inputs / filters ─────────────────────────────── */
.input, select.input, textarea.input {
  width: 100%; border: 1.5px solid #C7D2E0; border-radius: 11px; background: #fff;
  padding: 11px 13px; font-size: 14px; color: var(--ink-900); font-family: inherit;
  transition: border-color .15s;
}
.input:hover { border-color: #A5B4C9; }
.input:focus { border-color: var(--charge-500); outline: none; box-shadow: 0 0 0 3px rgb(0 200 120 / .15); }
.label { display: block; font-size: 13.5px; font-weight: 650; color: var(--ink-900); margin: 0 0 6px; }
.help { font-size: 12px; color: var(--text-2); margin: 6px 0 0; }
.field { margin-bottom: 16px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 0 14px; }
@media (min-width: 480px) { .field-row { grid-template-columns: 1fr 1fr; } }
.layout-search { display: grid; gap: clamp(20px, 3vw, 30px); align-items: start; }
@media (min-width: 1024px) { .layout-search { grid-template-columns: 280px minmax(0, 1fr); } }
.layout-search > * { min-width: 0; }
.filters-panel { padding: 22px; position: sticky; top: 96px; display: none; }
.filters-panel.open, .filters-toggle { display: block; }
@media (min-width: 1024px) {
  .filters-panel { display: block; max-height: calc(100vh - 118px); overflow-y: auto; }
  .filters-toggle { display: none; }
}

/* ── Tables ───────────────────────────────────────── */
.tbl-wrap { position: relative; overflow-x: auto; border-radius: var(--radius); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 560px; }
table.tbl th {
  text-align: left; font-weight: 700; color: #46566F; padding: 12px 14px;
  border-bottom: 1.5px solid var(--line); white-space: nowrap; background: #FAFCFE;
  font-size: 12.5px; letter-spacing: .02em;
}
table.tbl td { padding: 12px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.tbl tr:last-child td { border-bottom: 0; }

/* ── Wizard ───────────────────────────────────────── */
.progress { height: 7px; border-radius: 99px; background: var(--line-soft); overflow: hidden; margin-top: 10px; }
.progress > div { height: 100%; background: linear-gradient(90deg, var(--charge-500), var(--volt-400)); border-radius: 99px; transition: width .35s; }
.choice-grid { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .choice-grid { grid-template-columns: repeat(3, 1fr); } .choice-grid.cols-2 { grid-template-columns: repeat(2, 1fr); } .choice-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }
.choice {
  border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 15px; background: #fff;
  cursor: pointer; font-size: 14px; text-align: left; font-family: inherit; transition: border-color .13s, background-color .13s;
  min-width: 0;
}
.choice:hover { border-color: #9FB0C6; }
.choice[aria-pressed="true"] { border-color: var(--charge-500); background: rgb(0 200 120 / .06); box-shadow: 0 0 0 1px var(--charge-500) inset; }
.choice .t { font-weight: 700; color: var(--ink-900); display: block; }
.choice .d { color: var(--text-2); font-size: 12.5px; display: block; margin-top: 2px; }
.chip {
  border: 1.5px solid #C7D2E0; background: #fff; border-radius: 999px; padding: 9px 16px;
  font-size: 13.5px; font-weight: 600; cursor: pointer; font-family: inherit; color: var(--text-3);
  transition: all .13s;
}
.chip:hover { border-color: #93A5BC; }
.chip[aria-pressed="true"] { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* ── Match results ────────────────────────────────── */
.score-ring { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.score-ring > span {
  width: 48px; height: 48px; border-radius: 50%; background: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 16px; color: var(--ink-900);
}
.cat-bar { height: 6px; border-radius: 99px; background: var(--line-soft); overflow: hidden; margin: 8px 0 10px; }
.cat-bar > div { height: 100%; background: linear-gradient(90deg, var(--charge-500), var(--volt-400)); border-radius: 99px; }
.reason { display: flex; gap: 7px; font-size: 12.5px; color: var(--text-3); margin: 4px 0; }
.reason .ico { flex: none; }

/* ── Footer ───────────────────────────────────────── */
footer.site { background: var(--ink-950); color: #B9C6D8; margin-top: clamp(48px, 7vw, 80px); }
footer.site .cols { display: grid; gap: 32px; padding: clamp(38px, 6vw, 56px) 0; }
@media (min-width: 760px) { footer.site .cols { grid-template-columns: 1.35fr 1fr 1fr 1fr 1fr; } }
footer.site h2 { font-size: 13px; color: #fff; margin: 0 0 13px; letter-spacing: .06em; text-transform: uppercase; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
footer.site a { color: #93A6BD; text-decoration: none; font-size: 13.5px; }
footer.site a:hover { color: var(--charge-300); }
footer.site .fine { border-top: 1px solid rgb(255 255 255 / .08); padding: 20px 0; font-size: 12px; color: #7D90A9; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; }
footer.site .about { font-size: 13px; color: #93A6BD; max-width: 300px; }
footer.site .logo img { height: 44px; }

/* ── Misc ─────────────────────────────────────────── */
.pill-note {
  border: 1px solid var(--amber-line); background: var(--amber-bg); color: var(--amber-text);
  border-radius: 12px; padding: 13px 16px; font-size: 12.5px;
}
.notice-ok { border: 1px solid #A9EFD2; background: #E9FBF2; color: #065F46; border-radius: 12px; padding: 14px 16px; font-size: 13.5px; }
.spinner {
  width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgb(7 17 32 / .25);
  border-top-color: var(--ink-950); animation: spin 1s linear infinite; display: inline-block; vertical-align: -4px;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
.page-title { font-size: clamp(24px, 3.6vw, 34px); color: var(--ink-900); letter-spacing: -.02em; margin: 0; font-weight: 800; }
.page-sub { color: var(--text-2); font-size: 14.5px; margin: 8px 0 0; max-width: 760px; }
.pad-page { padding-top: clamp(28px, 4.5vw, 44px); padding-bottom: 12px; }
.stack { display: grid; gap: clamp(18px, 2.6vw, 24px); }
.stack > * { min-width: 0; }
.two-col { display: grid; gap: clamp(20px, 3vw, 30px); align-items: start; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .two-col { grid-template-columns: minmax(0, 1fr) 370px; } }
.two-col > * { min-width: 0; }
.sticky-side { display: grid; gap: 18px; }
@media (min-width: 1024px) { .sticky-side { position: sticky; top: 96px; } }
.stat { padding: 18px 20px; }
.stat .k { font-size: 12.5px; color: var(--text-2); font-weight: 600; margin: 0; }
.stat .v { font-size: clamp(22px, 3vw, 28px); font-weight: 800; color: var(--ink-900); margin: 4px 0 0; }
.stat .s { font-size: 11.5px; color: var(--text-2); margin: 3px 0 0; overflow: hidden; text-overflow: ellipsis; }
.grid-4 { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (min-width: 920px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.grid-4 > * { min-width: 0; }

/* ============================================================
   Volt — floating site assistant
   ============================================================ */
.volt-widget { position: fixed; right: 18px; bottom: 18px; z-index: 90; }
.volt-fab {
  position: relative; width: 58px; height: 58px; border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--charge-400), #00CFA0 60%, var(--volt-400));
  box-shadow: 0 10px 26px rgb(0 200 120 / .38), 0 2px 6px rgb(7 17 32 / .2);
  display: grid; place-items: center; transition: transform .18s var(--ease-spring);
}
.volt-fab:hover { transform: scale(1.06); }
.volt-fab:active { transform: scale(.96); }
.volt-fab-icon { font-size: 24px; filter: drop-shadow(0 1px 1px rgb(0 0 0 / .15)); }
.volt-fab-pulse {
  position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgb(0 232 143 / .55);
  animation: voltPulse 2.6s ease-out infinite;
}
@keyframes voltPulse { 0% { transform: scale(.86); opacity: .8; } 100% { transform: scale(1.32); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .volt-fab-pulse { animation: none; } }

.volt-panel {
  position: absolute; right: 0; bottom: 74px; width: min(360px, calc(100vw - 36px)); max-height: min(560px, 72vh);
  background: #fff; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 24px 60px rgb(7 17 32 / .28);
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .2s var(--ease-out), transform .22s var(--ease-out);
}
.volt-panel.is-open { opacity: 1; transform: none; }
.volt-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px;
  background: linear-gradient(135deg, var(--ink-950), var(--ink-800)); color: #fff; flex: none;
}
.volt-head > div:first-child { display: flex; align-items: center; gap: 10px; }
.volt-head-badge {
  width: 34px; height: 34px; border-radius: 50%; background: rgb(0 232 143 / .18); color: var(--charge-300);
  display: grid; place-items: center; font-size: 17px; flex: none;
}
.volt-head strong { display: block; font-size: 14px; }
.volt-head span { display: block; font-size: 10.5px; color: #9FB0C6; margin-top: 1px; }
.volt-close { background: none; border: none; color: #B9C6D8; font-size: 15px; cursor: pointer; padding: 6px; line-height: 1; border-radius: 8px; }
.volt-close:hover { background: rgb(255 255 255 / .1); color: #fff; }

.volt-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--surface); min-height: 180px; }
.volt-bubble { max-width: 86%; padding: 10px 13px; border-radius: 14px; font-size: 13.5px; line-height: 1.5; }
.volt-bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); color: var(--text-1); border-bottom-left-radius: 4px; }
.volt-user { align-self: flex-end; background: var(--ink-900); color: #fff; border-bottom-right-radius: 4px; }
.volt-cta { display: inline-block; margin-top: 8px; font-weight: 700; font-size: 12.5px; color: var(--charge-700); text-decoration: none; }
.volt-cta:hover { text-decoration: underline; }
.volt-typing { display: inline-flex; gap: 4px; padding: 2px 0; }
.volt-typing span { width: 6px; height: 6px; border-radius: 50%; background: #9FB0C6; animation: voltTyping 1.1s ease-in-out infinite; }
.volt-typing span:nth-child(2) { animation-delay: .15s; }
.volt-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes voltTyping { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.volt-chips { display: flex; gap: 6px; padding: 0 12px 10px; flex-wrap: wrap; flex: none; background: var(--surface); }
.volt-chip {
  font-size: 11.5px; font-weight: 600; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--text-2); cursor: pointer; transition: border-color .15s, color .15s;
}
.volt-chip:hover { border-color: var(--charge-500); color: var(--charge-700); }

.volt-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; flex: none; }
.volt-input { flex: 1; height: 40px; border-radius: 10px; border: 1px solid var(--line); padding: 0 12px; font-size: 13.5px; font-family: inherit; min-width: 0; }
.volt-form .btn { height: 40px; width: 40px; padding: 0; border-radius: 10px; }

@media (max-width: 420px) {
  .volt-widget { right: 12px; bottom: 12px; }
  .volt-panel { width: calc(100vw - 24px); right: -6px; }
}
