/* EVFolk public website (D-144 redesign). Tokens and fonts are in
   tokens.css, shared with the web app; the layout links it first. No
   JavaScript except the showrooms map. */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--ground); color: var(--text); overflow-x: clip;
  font: 500 15px/1.6 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: var(--volt); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
main.wrap { max-width: 1040px; }
.wide main.wrap { max-width: 1200px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--volt); color: var(--on-gradient); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; top: 8px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 20;
  background: var(--glass); border-bottom: 1px solid var(--divider);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
}
.bar { display: flex; align-items: center; gap: 8px 20px; min-height: 62px; }
.brand { display: inline-flex; align-items: center; min-height: 48px; flex: none; }
.brand img { display: block; height: 32px; width: auto; }
nav.main { display: flex; gap: 2px; flex: 1; min-width: 0; }
nav.main a {
  color: var(--text2); text-decoration: none; padding: 8px 12px; border-radius: 999px;
  font-weight: 600; font-size: 14px; white-space: nowrap;
}
nav.main a:hover { color: var(--text); background: var(--raised); }
nav.main a[aria-current] { color: var(--volt); background: rgba(59, 227, 138, .08); }
.top-actions { display: flex; align-items: center; gap: 8px; flex: none; }
@media (max-width: 860px) {
  .bar { flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
  nav.main { order: 3; flex-basis: 100%; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; margin: 0 -20px; padding-left: 14px; padding-right: 14px; }
  nav.main::-webkit-scrollbar { display: none; }
  .top-actions { margin-left: auto; }
  .top-actions .btn.ghost { display: none; }
}

main { padding-top: 40px; padding-bottom: 72px; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(26px, 3.2vw, 32px); line-height: 1.08; margin: 0 0 14px; }
h2 { font-size: clamp(20px, 2.2vw, 24px); line-height: 1.25; margin: 36px 0 10px; }
h3 { font-size: 16px; line-height: 1.3; margin: 24px 0 6px; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 14px; }
.lede { font-size: 16px; color: var(--text2); max-width: 680px; }
.muted { color: var(--text2); font-weight: 500; }
.small { font-size: 13px; color: var(--text3); }
.crumbs { font-size: 15px; color: var(--text3); margin: 0 0 16px; }
.crumbs a { color: var(--text2); }
.eyebrow, .result h2, th {
  font-family: var(--mono); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
}
.eyebrow { color: var(--volt); margin: 0 0 12px; display: inline-flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--gradient); }

/* Cards and tiles */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 0 0 var(--gap); }
.grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin: 20px 0; }
.grid .card { margin: 0; }
.tile { display: block; text-decoration: none; color: inherit; transition: border-color .2s, transform .2s, background .2s; }
.tile:hover { border-color: rgba(59, 227, 138, .5); background: var(--hover); transform: translateY(-2px); }
.tile h2, .tile h3 { margin: 0 0 6px; font-size: 16px; color: var(--text); }
.tile p { margin: 0; color: var(--text2); font-size: 14px; }
.hero { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 36px 28px; margin-bottom: 32px; }
.hero h1 { margin-bottom: 14px; }

/* Forms */
form.tool { display: grid; gap: 4px 16px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.field { display: flex; flex-direction: column; padding-bottom: 8px; }
.field.wide { grid-column: 1 / -1; }
label, .label { font-weight: 700; font-size: 14px; margin: 8px 0 6px; color: var(--text); }
.hint { font-size: 13px; color: var(--text3); margin: 6px 0 0; }
input, select {
  width: 100%; min-height: 50px; padding: 10px 14px; font: inherit; color: var(--text); background: var(--raised);
  border: 1px solid var(--line-strong); border-radius: 14px;
}
input::placeholder { color: var(--text3); }
input:focus-visible, select:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid var(--volt); outline-offset: 2px; }
input[aria-invalid="true"] { border-color: var(--coral); }
.error { color: var(--coral); font-size: 13px; margin: 4px 0 0; font-weight: 700; }
.errors { border: 1px solid var(--coral); border-radius: 14px; padding: 12px 16px; color: var(--coral); margin-bottom: 16px; }
details { border: 1px solid var(--line); border-radius: 14px; padding: 4px 14px; margin: 8px 0 12px; grid-column: 1 / -1; background: var(--surface); }
summary { cursor: pointer; font-weight: 700; padding: 10px 0; }
details .inner { display: grid; gap: 4px 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding-bottom: 8px; }
.btn, button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 0; border-radius: 14px;
  background: var(--gradient); color: var(--on-gradient); font: inherit; font-size: 14px; font-weight: 800; text-decoration: none; cursor: pointer;
  box-shadow: 0 8px 28px -10px rgba(19, 194, 163, .6); transition: transform .15s, box-shadow .2s, filter .2s;
}
.btn:hover, button:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 12px 34px -10px rgba(19, 194, 163, .75); }
.btn.alt, .btn.ghost { background: var(--raised); color: var(--text); border: 1px solid var(--line-strong); box-shadow: none; font-weight: 700; }
.btn.alt:hover, .btn.ghost:hover { background: var(--raised-hover); box-shadow: none; }
.btn.sm { min-height: 42px; padding: 0 18px; font-size: 13px; border-radius: 14px; }
.btn.lg { min-height: 50px; padding: 0 24px; font-size: 15px; border-radius: 18px; }
.btn svg { width: 20px; height: 20px; }
.actions { grid-column: 1 / -1; margin-top: 12px; }

/* Results */
.result { border: 1px solid rgba(59, 227, 138, .45); background: linear-gradient(180deg, rgba(59, 227, 138, .08), rgba(19, 194, 163, .03)); border-radius: var(--radius); padding: 24px; margin: 24px 0; }
.result .big { font-size: clamp(28px, 4vw, 38px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin: 6px 0 10px; font-variant-numeric: tabular-nums; }
.result h2 { margin: 0 0 4px; color: var(--volt); }
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 12px 0 0; }
dl.facts dt { color: var(--text2); }
dl.facts dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.note { font-size: 13.5px; color: var(--text2); margin: 8px 0 0; }
table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 14px; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--divider); vertical-align: top; }
th { color: var(--text3); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; }
.badge { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(59, 227, 138, .1); color: var(--volt); border: 1px solid rgba(59, 227, 138, .35); }
.cta { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 32px 0; }
.cta h2 { margin-top: 0; }
.prose { max-width: 700px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.disclaimer { font-size: 13.5px; border-left: 3px solid var(--blue); padding: 4px 0 4px 14px; color: var(--text2); margin: 24px 0; }
.draft { background: rgba(245, 196, 81, .08); color: var(--draft-text); border: 1px solid rgba(245, 196, 81, .45); border-radius: 14px; padding: 12px 16px; margin: 0 0 24px; font-size: 14px; }

/* Footer */
.foot { border-top: 1px solid var(--divider); background: var(--nav); padding: 48px 0 32px; }
.foot-grid { display: grid; gap: 28px; grid-template-columns: 1.4fr repeat(3, 1fr); margin-bottom: 28px; }
.foot-grid h2 { font-family: var(--mono); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text3); margin: 0 0 12px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li a { display: inline-block; color: var(--text2); text-decoration: none; padding: 5px 0; font-size: 14px; }
.foot-grid li a:hover { color: var(--volt); }
.foot-about p { color: var(--text2); font-size: 14px; max-width: 320px; margin-top: 12px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 12px; font-size: 14px; }
.foot-base { border-top: 1px solid var(--divider); padding-top: 20px; }
.foot-base a { color: var(--text2); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-about { grid-column: 1 / -1; } }
@media (max-width: 520px) {
  body { font-size: 15px; }
  .hero { padding: 24px 18px; }
  dl.facts { grid-template-columns: 1fr; gap: 0; }
  dl.facts dd { margin-bottom: 8px; }
}

/* Buying guide and Compare (D-105) */
.check { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; margin: 4px 16px 4px 0; min-height: 44px; }
.check input { width: 22px; min-height: 22px; height: 22px; accent-color: var(--volt); }
fieldset.uses { border: 1px solid var(--line); border-radius: 14px; margin: 8px 0 12px; grid-column: 1 / -1; padding: 8px 14px; }
fieldset.uses legend { font-weight: 700; padding: 0 6px; }
.wide-note { grid-column: 1 / -1; }
article.vehicle { display: grid; grid-template-columns: minmax(0, 220px) 1fr; gap: 6px 20px; align-items: start; }
article.vehicle:not(:has(.cover)) { grid-template-columns: 1fr; }
.cover { margin: 0; }
.cover img { display: block; width: 100%; height: auto; border-radius: 14px; background: var(--raised); }
.cover figcaption { font-size: 13px; color: var(--text3); margin-top: 4px; }
.score { font-size: 19px; font-weight: 800; color: var(--volt); font-variant-numeric: tabular-nums; }
.bar-track { height: 10px; border-radius: 999px; background: var(--line); overflow: hidden; margin: 6px 0 2px; }
.bar-fill { display: block; height: 100%; background: var(--gradient); border-radius: 999px; }
table.compare th[scope="row"] { font-family: var(--font); font-size: 14px; text-transform: none; letter-spacing: 0; color: var(--text); min-width: 120px; }
table.compare td { min-width: 150px; }
table.compare thead th { vertical-align: bottom; font-family: var(--font); text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--text); }
.best { color: var(--volt); font-weight: 800; font-size: 13px; }
@media (max-width: 520px) { article.vehicle { grid-template-columns: 1fr; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
ul.plain { list-style: none; padding: 0; margin: 0 0 12px; }

/* ------------------------------------------------------------------ */
/* Home page                                                           */
/* ------------------------------------------------------------------ */
.home main { padding-top: 0; max-width: none; padding-left: 0; padding-right: 0; }
.section { padding: 64px 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 28px; }
.section-head h2 { margin: 0 0 14px; font-size: clamp(24px, 2.8vw, 32px); line-height: 1.06; }
.section-head p { color: var(--text2); font-size: 16px; margin: 0; }
.grad-text { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Hero */
.hero-x { position: relative; overflow: hidden; padding: 56px 0 80px; isolation: isolate; }
.hero-x::before {
  /* An instrument-panel grid that fades out at the edges. */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(var(--divider) 1px, transparent 1px), linear-gradient(90deg, var(--divider) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  opacity: .7;
}
.glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(80px); opacity: .32; pointer-events: none; }
.glow.g1 { width: 520px; height: 520px; background: #3be38a; top: -180px; left: -140px; opacity: .16; }
.glow.g2 { width: 560px; height: 560px; background: #2f8cff; top: 40px; right: -200px; opacity: .2; }
.glow.g3 { width: 380px; height: 380px; background: #13c2a3; bottom: -220px; left: 40%; opacity: .16; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px;
  background: var(--glass-strong); border: 1px solid var(--line-strong); color: var(--text2); font-size: 13px; font-weight: 600; margin-bottom: 26px;
}
.pill b { background: var(--gradient); color: var(--on-gradient); font-size: 11px; font-family: var(--mono); letter-spacing: .06em; padding: 3px 9px; border-radius: 999px; }
.hero-x h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: .98; letter-spacing: -.035em; margin: 0 0 22px; }
.hero-x .lede { font-size: clamp(16px, 1.3vw, 17px); margin-bottom: 32px; max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--text3); font-size: 13px; font-weight: 600; margin: 0; padding: 0; list-style: none; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 10px var(--volt); }

/* The phone: an illustration of the app's Home, drawn in HTML. */
.device-wrap { position: relative; display: flex; justify-content: center; }
.device {
  position: relative; width: 320px; max-width: 100%; aspect-ratio: 320 / 650; border-radius: 48px; padding: 12px;
  background: linear-gradient(160deg, #2b3a37, #0e1716 40%, #1a2725); box-shadow: 0 0 0 1px #2c3c39, 0 50px 120px -30px rgba(19, 194, 163, .45), 0 30px 60px -30px #000;
  transform: rotate(-2deg); animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: rotate(-2deg) translateY(0); } 50% { transform: rotate(-2deg) translateY(-12px); } }
.screen { height: 100%; border-radius: 38px; background: var(--ground); overflow: hidden; padding: 44px 18px 18px; position: relative; display: flex; flex-direction: column; gap: 12px; }
.screen::before { content: ""; position: absolute; top: 12px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 20px; background: #000; }
.s-top { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--text2); }
.s-top strong { color: var(--text); font-size: 18px; font-weight: 800; display: block; letter-spacing: -.01em; }
.s-shift { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; font-size: 11px; font-weight: 700; color: var(--volt); background: rgba(59, 227, 138, .1); border: 1px solid rgba(59, 227, 138, .4); }
.s-shift i { width: 7px; height: 7px; border-radius: 50%; background: var(--volt); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.s-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 14px; }
.s-label { font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; color: var(--text3); text-transform: uppercase; }
.s-money { font-size: 40px; font-weight: 800; letter-spacing: -.03em; color: var(--volt); line-height: 1.05; font-variant-numeric: tabular-nums; margin: 4px 0 8px; }
.s-split { display: flex; gap: 3px; height: 9px; margin-bottom: 8px; }
.s-split span { border-radius: 9px; }
.s-legend { display: flex; justify-content: space-between; font-size: 11px; color: var(--text2); }
.s-legend b { font-weight: 700; }
.s-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gauge { position: relative; display: grid; place-items: center; }
.gauge svg { width: 100%; height: auto; display: block; }
.gauge .arc { stroke-dasharray: 251; stroke-dashoffset: 251; animation: sweep 2.2s .4s cubic-bezier(.2, .8, .2, 1) forwards; }
@keyframes sweep { to { stroke-dashoffset: 78; } }
.gauge .val { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.gauge .val b { font-size: 24px; font-weight: 800; line-height: 1; }
.gauge .val small { font-size: 10px; color: var(--text3); }
.cells { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; margin: 8px 0 6px; }
.cells i { height: 22px; border-radius: 4px; background: var(--line); }
.cells i.on { background: var(--blue); animation: cell .5s both; }
.cells i.half { background: var(--blue); opacity: .6; }
.cells i:nth-child(1) { animation-delay: .3s; } .cells i:nth-child(2) { animation-delay: .4s; } .cells i:nth-child(3) { animation-delay: .5s; }
.cells i:nth-child(4) { animation-delay: .6s; } .cells i:nth-child(5) { animation-delay: .7s; } .cells i:nth-child(6) { animation-delay: .8s; }
.cells i:nth-child(7) { animation-delay: .9s; }
@keyframes cell { from { opacity: 0; transform: scaleY(.3); } }
.s-small { font-size: 11px; color: var(--text2); }
.s-log { display: flex; align-items: center; gap: 10px; }
.s-badge { width: 34px; height: 34px; flex: none; border-radius: 11px; display: grid; place-items: center; }
.s-badge svg { width: 18px; height: 18px; }
.s-log div { flex: 1; min-width: 0; font-size: 12px; }
.s-log div b { display: block; font-size: 13px; color: var(--text); }
.s-log div span { color: var(--text3); }
.s-log em { font-style: normal; font-weight: 800; font-size: 13px; }
.s-bar { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-around; padding: 10px 6px 0; border-top: 1px solid var(--divider); }
.s-bar span { width: 18px; height: 18px; border-radius: 6px; border: 1.6px solid var(--text3); }
.s-bar span.active { border-color: var(--volt); }
.s-bar .log { width: 46px; height: 46px; border-radius: 50%; background: var(--gradient); margin-top: -22px; border: 0; box-shadow: 0 0 0 5px var(--ground), 0 10px 30px -6px rgba(19, 194, 163, .8); display: grid; place-items: center; color: var(--on-gradient); font-size: 26px; font-weight: 700; }
.float-chip {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px;
  background: var(--glass-strong); border: 1px solid var(--line-strong); font-size: 13px; color: var(--text2);
  box-shadow: 0 20px 40px -18px var(--shade); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.float-chip b { color: var(--text); display: block; font-size: 14px; }
.float-chip.c1 { left: -24px; top: 47%; animation: float2 6s ease-in-out infinite; }
.float-chip.c2 { right: -18px; bottom: 9%; animation: float2 7s 1s ease-in-out infinite; }
@keyframes float2 { 50% { transform: translateY(-10px); } }
.dot { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.dot svg { width: 18px; height: 18px; }
.caption-sample { position: absolute; bottom: -34px; left: 0; right: 0; text-align: center; font-size: 12px; color: var(--text3); }

/* Marquee */
.ticker { border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); background: var(--nav); overflow: hidden; padding: 18px 0; }
.ticker-track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.ticker-track span { display: inline-flex; align-items: center; gap: 48px; font-family: var(--mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--text2); white-space: nowrap; }
.ticker-track span::after { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--gradient); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Bento of features */
.bento { display: grid; gap: 16px; grid-template-columns: repeat(6, 1fr); }
.bx {
  position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 26px;
  grid-column: span 2; min-height: 260px; display: flex; flex-direction: column; transition: border-color .25s, transform .25s;
}
.bx:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.bx.w3 { grid-column: span 3; }
.bx.w4 { grid-column: span 4; }
.bx h3 { margin: 16px 0 8px; font-size: 18px; }
.bx p { color: var(--text2); margin: 0; font-size: 14px; }
.bx .viz { margin-top: auto; padding-top: 22px; }
.bx::after { content: ""; position: absolute; inset: auto -40% -60% auto; width: 300px; height: 300px; border-radius: 50%; background: var(--accent, #13c2a3); opacity: .07; filter: blur(50px); pointer-events: none; }
.ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; border: 1.5px solid; }
.ic svg, .s-badge svg, .dot svg, .btn svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic svg { width: 24px; height: 24px; }
.s-badge, .dot { border: 1.5px solid; }
.c-volt { color: var(--volt); background: rgba(59, 227, 138, .1); border-color: rgba(59, 227, 138, .5); --accent: #3be38a; }
.c-teal { color: var(--teal); background: rgba(19, 194, 163, .1); border-color: rgba(19, 194, 163, .5); --accent: #13c2a3; }
.c-blue { color: var(--blue); background: rgba(74, 163, 255, .1); border-color: rgba(74, 163, 255, .5); --accent: #4aa3ff; }
.c-amber { color: var(--amber); background: rgba(245, 196, 81, .1); border-color: rgba(245, 196, 81, .5); --accent: #f5c451; }
.c-coral { color: var(--coral); background: rgba(255, 138, 126, .1); border-color: rgba(255, 138, 126, .5); --accent: #ff8a7e; }
.bx.a-volt { --accent: #3be38a; } .bx.a-blue { --accent: #4aa3ff; } .bx.a-amber { --accent: #f5c451; } .bx.a-teal { --accent: #13c2a3; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 999px; font-size: 13px; font-weight: 700; border: 1.5px solid var(--line-strong); color: var(--text2); background: var(--raised); }
.chip.on { color: var(--teal); border-color: rgba(19, 194, 163, .7); background: rgba(19, 194, 163, .1); }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; }
.bars span { flex: 1; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, #3be38a, rgba(59, 227, 138, .25)); transform-origin: bottom; animation: grow 1.2s cubic-bezier(.2, .8, .2, 1) both; }
.bars span.cost { background: linear-gradient(180deg, #f5c451, rgba(245, 196, 81, .2)); }
.bars span:nth-child(2) { animation-delay: .1s; } .bars span:nth-child(3) { animation-delay: .2s; } .bars span:nth-child(4) { animation-delay: .3s; }
.bars span:nth-child(5) { animation-delay: .4s; } .bars span:nth-child(6) { animation-delay: .5s; } .bars span:nth-child(7) { animation-delay: .6s; }
@keyframes grow { from { transform: scaleY(0); } }
.bars-legend { display: flex; gap: 16px; margin-top: 10px; font-size: 13px; color: var(--text3); }
.bars-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.mini-map { position: relative; height: 150px; border-radius: 18px; overflow: hidden; background:
  radial-gradient(circle at 30% 40%, rgba(19, 194, 163, .12), transparent 40%),
  repeating-linear-gradient(35deg, transparent 0 22px, var(--hairline) 22px 23px),
  repeating-linear-gradient(-55deg, transparent 0 30px, var(--hairline) 30px 31px), var(--deep); border: 1px solid var(--line); }
.pin { position: absolute; width: 26px; height: 26px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); display: grid; place-items: center; box-shadow: 0 6px 14px -4px var(--shade); }
.pin::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ground); }
.pin.p1 { background: var(--blue); left: 18%; top: 30%; } .pin.p2 { background: var(--volt); left: 46%; top: 52%; }
.pin.p3 { background: var(--amber); left: 70%; top: 22%; } .pin.p4 { background: var(--teal); left: 82%; top: 62%; }
.pin.p2 { animation: ping 2.4s infinite; }
@keyframes ping { 0%, 100% { box-shadow: 0 0 0 0 rgba(59, 227, 138, .5); } 50% { box-shadow: 0 0 0 12px rgba(59, 227, 138, 0); } }
.osm { position: absolute; right: 8px; bottom: 6px; font-size: 10px; color: var(--text3); }
.post { display: flex; gap: 10px; align-items: flex-start; }
.avatar { width: 36px; height: 36px; border-radius: 50%; flex: none; background: var(--gradient); }
.post .bubble { background: var(--raised); border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px; font-size: 13px; color: var(--text2); flex: 1; }
.post .bubble b { color: var(--text); font-size: 13px; }
.reacts { display: flex; gap: 6px; margin-top: 8px; }
.reacts i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--surface); }
.score-row { display: grid; grid-template-columns: 90px 1fr 34px; align-items: center; gap: 10px; font-size: 13px; color: var(--text2); margin-bottom: 9px; }
.score-row .bar-track { margin: 0; height: 8px; }
.score-row b { color: var(--text); text-align: right; font-variant-numeric: tabular-nums; }

/* Web app showcase */
.webapp { padding: 96px 0; background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(47, 140, 255, .1), transparent 70%); }
.browser { border-radius: 22px; overflow: hidden; border: 1px solid var(--line-strong); background: var(--nav); box-shadow: 0 60px 120px -40px rgba(47, 140, 255, .35), 0 30px 60px -30px #000; max-width: 1040px; margin: 0 auto; }
.chrome { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--divider); background: #0f1918; }
.chrome i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-strong); }
.chrome .url { margin-left: 14px; flex: 1; max-width: 420px; background: var(--raised); border-radius: 9px; padding: 6px 12px; font-size: 13px; color: var(--text2); font-family: var(--mono); }
.app-ui { display: grid; grid-template-columns: 210px 1fr; min-height: 420px; }
.app-side { border-right: 1px solid var(--divider); padding: 18px 14px; display: flex; flex-direction: column; gap: 4px; }
.app-side .logbtn { height: 42px; border-radius: 14px; background: var(--gradient); color: var(--on-gradient); font-weight: 800; display: grid; place-items: center; margin-bottom: 12px; font-size: 15px; }
.app-side span { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 11px; font-size: 14px; color: var(--text2); }
.app-side span::before { content: ""; width: 16px; height: 16px; border-radius: 5px; border: 1.6px solid currentColor; opacity: .8; }
.app-side span.on { background: rgba(59, 227, 138, .1); color: var(--text); font-weight: 700; }
.app-side span.on::before { border-color: var(--volt); }
.app-main { padding: 22px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; align-content: start; }
.app-main .s-card { border-radius: 18px; }
.app-main .wide { grid-column: 1 / -1; }
.app-table { width: 100%; font-size: 13px; margin: 6px 0 0; }
.app-table td { padding: 8px 4px; border-bottom: 1px solid var(--divider); color: var(--text2); }
.app-table td:last-child { text-align: right; color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
.feature-list { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); margin-top: 40px; }
.feature-list div { padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.feature-list b { display: block; margin-bottom: 4px; }
.feature-list p { margin: 0; color: var(--text2); font-size: 14px; }

/* Audience split */
.split { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.persona { border-radius: 26px; padding: 30px; border: 1px solid var(--line); background: var(--surface); position: relative; overflow: hidden; }
.persona h3 { font-size: 20px; margin: 18px 0 10px; }
.persona ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.persona li { display: flex; gap: 10px; color: var(--text2); }
.persona li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 6px; background: rgba(59, 227, 138, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233be38a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* Steps */
.steps { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); counter-reset: step; }
.step { padding: 26px; border-radius: 22px; border: 1px solid var(--line); background: var(--surface); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--mono); font-weight: 600; font-size: 13px; letter-spacing: .08em; color: var(--volt); display: block; margin-bottom: 16px; }
.step h3 { margin: 0 0 8px; font-size: 17px; }
.step p { margin: 0; color: var(--text2); font-size: 14px; }

/* Privacy band */
.privacy { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; background: var(--band); border: 1px solid var(--line); border-radius: 32px; padding: 48px; }
.privacy ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.privacy li { padding: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.privacy li b { display: block; margin-bottom: 4px; }
.privacy li span { color: var(--text2); font-size: 14px; }
.lock { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 20px; }
.lock svg { width: 30px; height: 30px; }

/* Tools */
.tools { display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr); }
.tool-card { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 22px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--text); transition: border-color .2s, transform .2s; }
.tool-card:hover { border-color: rgba(59, 227, 138, .5); transform: translateY(-3px); }
.tool-card b { font-size: 16px; }
.tool-card span { color: var(--text2); font-size: 14px; }
.tool-card em { margin-top: auto; font-style: normal; color: var(--volt); font-weight: 700; font-size: 13px; }

/* Final call to action and launch list */
.final { position: relative; overflow: hidden; border-radius: 36px; padding: 64px 48px; text-align: center; border: 1px solid var(--line-strong); background: radial-gradient(ellipse 70% 90% at 50% 0%, rgba(59, 227, 138, .14), transparent 60%), radial-gradient(ellipse 60% 80% at 100% 100%, rgba(47, 140, 255, .14), transparent 60%), var(--surface); }
.final h2 { font-size: clamp(26px, 3.6vw, 40px); line-height: 1.02; margin: 0 auto 16px; max-width: 760px; }
.final p { color: var(--text2); max-width: 560px; margin: 0 auto 28px; font-size: 16px; }
.final .hero-ctas { justify-content: center; }
.signup { max-width: 560px; margin: 36px auto 0; text-align: left; }
.signup h3 { margin: 0 0 6px; text-align: center; }
.signup .row { display: flex; gap: 10px; }
.signup .row input { flex: 1; }
.signup .hint { text-align: center; }
.status-msg { text-align: center; color: var(--volt); font-weight: 700; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero-x { padding-top: 48px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bx, .bx.w3, .bx.w4 { grid-column: span 1; }
  .bx.w4, .bento .bx:last-child { grid-column: span 2; }
  .tools { grid-template-columns: repeat(2, 1fr); }
  .privacy { grid-template-columns: 1fr; padding: 32px; }
  .app-main { grid-template-columns: 1fr; }
  .feature-list, .steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .bento, .split, .privacy ul, .tools { grid-template-columns: 1fr; }
  .bx.w4, .bento .bx:last-child { grid-column: span 1; }
  .app-ui { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .float-chip.c1 { left: 0; } .float-chip.c2 { right: 0; }
  .final { padding: 44px 22px; border-radius: 28px; }
  .signup .row { flex-direction: column; }
  .hero-ctas .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; }
  .ticker-track { animation: none; }
}

/* ------------------------------------------------------------------ */
/* Inner pages (D-144)                                                 */
/* ------------------------------------------------------------------ */
main.wrap { padding-top: 0; }
.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic .i { width: 24px; height: 24px; }
.ic.lg { width: 46px; height: 46px; border-radius: 15px; }
.ic.lg .i { width: 24px; height: 24px; }
.ic.sm { width: 36px; height: 36px; border-radius: 11px; }
.ic.sm .i { width: 18px; height: 18px; }

.page-head { position: relative; padding: 36px 0 24px; margin-bottom: 8px; isolation: isolate; }
.page-head::before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%);
  background-image: linear-gradient(var(--divider) 1px, transparent 1px), linear-gradient(90deg, var(--divider) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 100% at 30% 0%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 100% at 30% 0%, #000 20%, transparent 70%);
  opacity: .6;
}
.page-head::after {
  content: ""; position: absolute; z-index: -1; top: -160px; left: -120px; width: 460px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 227, 138, .16), transparent 65%); pointer-events: none;
}
.page-head-row { display: flex; align-items: center; gap: 18px; }
.page-head h1 { font-size: clamp(26px, 3.2vw, 34px); line-height: 1.04; letter-spacing: -.03em; margin: 0; }
.page-head .eyebrow { margin-bottom: 8px; }
.page-head .lede { margin: 16px 0 0; font-size: 16px; }
.page-head .crumbs { margin-bottom: 22px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.crumbs a { text-decoration: none; color: var(--text2); }
.crumbs a:hover { color: var(--volt); }
.head-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.head-stats { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 22px; color: var(--text2); font-size: 14px; }
.head-stats b { color: var(--text); font-size: 18px; font-weight: 800; margin-right: 6px; font-variant-numeric: tabular-nums; }

/* Panels and section titles */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 24px; position: relative; }
.panel-title { display: flex; align-items: center; gap: 10px; font-size: 16px; margin: 0 0 16px; }
.section-title { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 44px 0 6px; }
.section-title h2 { margin: 0; }
.count { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--on-gradient); background: var(--gradient); border-radius: 999px; padding: 3px 10px; }

/* Stat tiles */
.stats { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); margin: 18px 0; }
.stat { background: var(--raised); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.stat-label { display: flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text3); }
.stat-label .i { width: 15px; height: 15px; color: var(--teal); }
.stat-value { font-size: 19px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.stat-value small { font-size: 12px; font-weight: 700; color: var(--text2); letter-spacing: 0; }
.stat-value.np { font-size: 13px; font-weight: 600; color: var(--text3); font-style: italic; }
.stat-sub { font-size: 13px; color: var(--text2); line-height: 1.4; }
.stat.empty { background: transparent; border-style: dashed; }

/* Score ring */
.ring { position: relative; display: inline-grid; place-items: center; width: var(--s); height: var(--s); flex: none; }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 6; }
.ring-track { stroke: var(--line); }
.ring-fill { stroke: var(--volt); stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(59, 227, 138, .45)); }
.ring b { font-size: calc(var(--s) * .28); font-weight: 800; font-variant-numeric: tabular-nums; }

/* Chip choices (radio and checkbox pills) */
.choice-set { border: 0; padding: 0; margin: 4px 0 10px; grid-column: 1 / -1; min-width: 0; }
.choice-set legend { font-weight: 700; font-size: 14px; padding: 0; margin-bottom: 10px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; display: inline-flex; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--line-strong); background: var(--raised); color: var(--text2); font-weight: 700; font-size: 13.5px; transition: border-color .15s, background .15s, color .15s;
}
.choice span:hover { border-color: var(--text3); color: var(--text); }
.choice input:checked + span { border-color: var(--teal); background: rgba(19, 194, 163, .12); color: var(--teal); }
.choice input:checked + span::before { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4 10-10'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4 10-10'/%3E%3C/svg%3E") center / contain no-repeat; }
.choice input:focus-visible + span { outline: 3px solid var(--volt); outline-offset: 2px; }

/* Buying guide */
.guide-layout { display: grid; grid-template-columns: 380px 1fr; gap: 28px; align-items: start; }
.guide-form { position: sticky; top: 88px; max-height: calc(100vh - 104px); overflow: auto; scrollbar-width: thin; }
.guide-form form.tool { grid-template-columns: 1fr; }
.guide-form details .inner { grid-template-columns: 1fr; }
.guide-form .actions button { width: 100%; }
.results-empty { text-align: center; padding: 48px 24px; }
.results-empty .ic { margin: 0 auto 14px; }
.vgrid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); margin: 16px 0; }
.vcard { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; transition: border-color .2s, transform .2s, box-shadow .2s; }
.vcard:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: 0 24px 50px -30px rgba(19, 194, 163, .5); }
.vcard .cover { margin: 0; position: relative; }
.vcard .cover img { width: 100%; height: 190px; object-fit: contain; padding: 10px; box-sizing: border-box; border-radius: 0; background: var(--surface); }
.vcard .cover figcaption { position: absolute; left: 8px; bottom: 8px; margin: 0; font-size: 11px; color: var(--text2); background: var(--glass); padding: 2px 8px; border-radius: 999px; }
.cover-blank { height: 120px; display: grid; place-items: center; color: var(--text3); background: radial-gradient(circle at 50% 120%, rgba(19, 194, 163, .14), transparent 60%), var(--deep); border-bottom: 1px solid var(--divider); }
.cover-blank .i { width: 40px; height: 40px; stroke-width: 1.4; }
.vcard-body { padding: 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.vcard-top { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; }
.vcard h3 { margin: 0; font-size: 16px; line-height: 1.25; }
.vcard h3 a { color: var(--text); text-decoration: none; }
.vcard h3 a:hover { color: var(--volt); }
.vcard .variant { display: block; color: var(--text3); font-size: 13px; font-weight: 600; margin-top: 2px; }
.facts-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.fact { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 10px; background: var(--raised); border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.fact .i { width: 14px; height: 14px; color: var(--teal); }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding-top: 12px; border-top: 1px solid var(--divider); margin-top: auto; }
.price strong { font-size: 17px; font-weight: 800; }
.price span { font-size: 13px; color: var(--text3); }
.missing { font-size: 13px; color: var(--amber); background: rgba(245, 196, 81, .08); border: 1px solid rgba(245, 196, 81, .3); border-radius: 10px; padding: 6px 10px; margin: 0; }
.score-note { font-size: 12px; color: var(--text3); margin-top: 4px; text-align: center; max-width: 90px; line-height: 1.3; }
.compare-bar { position: sticky; bottom: 16px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 14px 16px 14px 22px; border-radius: 20px; background: var(--glass-strong); border: 1px solid var(--line-strong); box-shadow: 0 20px 50px -20px var(--shade); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); margin-top: 20px; }
.compare-bar p { margin: 0; color: var(--text2); font-size: 14px; }

/* Compare */
.cmp-heads { display: grid; gap: 14px; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); margin: 8px 0 22px; }
.cmp-head { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.cmp-head .cover img { width: 100%; height: 160px; object-fit: contain; padding: 10px; box-sizing: border-box; border-radius: 0; background: var(--surface); }
.cmp-head .cover figcaption { padding: 6px 14px 0; }
.cmp-head-body { padding: 16px; display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.cmp-head h2 { font-size: 16px; margin: 0; line-height: 1.25; }
.cmp-head h2 a { color: var(--text); text-decoration: none; }
.cmp-head .variant { display: block; color: var(--text3); font-size: 13px; font-weight: 600; margin-top: 2px; }
.cmp-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow-x: auto; }
table.compare { margin: 0; }
table.compare th, table.compare td { padding: 16px 18px; border-bottom: 1px solid var(--divider); }
table.compare tbody tr:last-child th, table.compare tbody tr:last-child td { border-bottom: 0; }
table.compare tbody tr:hover { background: var(--hairline); }
table.compare th[scope="row"] { position: sticky; left: 0; background: var(--surface); z-index: 1; font-weight: 700; width: 200px; }
table.compare td strong { font-size: 15px; font-variant-numeric: tabular-nums; }
.best { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; padding: 2px 9px; border-radius: 999px; background: rgba(59, 227, 138, .12); border: 1px solid rgba(59, 227, 138, .45); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; vertical-align: 2px; }
td.is-best { background: linear-gradient(90deg, rgba(59, 227, 138, .06), transparent); }
.np-cell { color: var(--text3); font-style: italic; font-size: 13px; }

/* EV database */
.make-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin: 12px 0 24px; }
.make-tile { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: border-color .2s, transform .2s; }
.make-tile:hover { border-color: rgba(59, 227, 138, .5); transform: translateY(-2px); }
.mono { width: 48px; height: 48px; flex: none; border-radius: 15px; display: grid; place-items: center; font-weight: 800; font-size: 17px; color: var(--on-gradient); background: var(--gradient); }
.make-tile b { display: block; font-size: 15px; }
.make-tile b + span { color: var(--text3); font-size: 13px; }
.make-tile .go { margin-left: auto; color: var(--text3); }
.make-tile:hover .go { color: var(--volt); }
.variant-card { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 26px; margin: 0 0 18px; scroll-margin-top: 90px; }
.variant-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.variant-head h2 { margin: 0; font-size: 20px; }
.variant-head .years { color: var(--text3); font-weight: 700; }
.plug-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 4px 0 0; }
.plug-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; border: 1.5px solid; }
.plug-chip.ac { color: var(--teal); border-color: rgba(19, 194, 163, .5); background: rgba(19, 194, 163, .08); }
.plug-chip.dc { color: var(--blue); border-color: rgba(74, 163, 255, .5); background: rgba(74, 163, 255, .08); }
.plug-chip.both { color: var(--volt); border-color: rgba(59, 227, 138, .5); background: rgba(59, 227, 138, .08); }
.source-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 12px; background: var(--raised); border: 1px solid var(--line); font-size: 13px; color: var(--text2); }
.source-pill a { font-weight: 700; }
.action-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--divider); }
.action { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border-radius: 13px; background: var(--raised); border: 1px solid var(--line-strong); color: var(--text); text-decoration: none; font-weight: 700; font-size: 13px; transition: border-color .15s, color .15s; }
.action .i { color: var(--teal); }
.action:hover { border-color: var(--volt); color: var(--volt); }
.action.primary { background: var(--gradient); color: var(--on-gradient); border: 0; }
.action.primary .i { color: var(--on-gradient); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.jump a { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text2); text-decoration: none; font-size: 13px; font-weight: 700; }
.jump a:hover { color: var(--volt); border-color: var(--volt); }

/* Calculators */
.tool-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 22px; align-items: start; }
.tool-layout > .tool.card { margin: 0; }
.tool-side { position: sticky; top: 88px; }
.tool-side .result { margin: 0; }
.result { position: relative; overflow: hidden; }
.result::before { content: ""; position: absolute; top: -120px; right: -100px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(59, 227, 138, .2), transparent 65%); pointer-events: none; }
.result .big { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.result-wait { border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 32px 24px; text-align: center; color: var(--text2); }
.result-wait .ic { margin: 0 auto 14px; }
.result-wait b { display: block; color: var(--text); font-size: 16px; margin-bottom: 6px; }
.how { margin-top: 36px; }
.how ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.how li { padding: 14px 16px 14px 46px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); position: relative; color: var(--text2); }
.how li::before { content: ""; position: absolute; left: 16px; top: 18px; width: 16px; height: 16px; border-radius: 5px; background: var(--gradient); }
.how li strong { color: var(--text); }
.tool-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin: 16px 0 28px; }

/* Connector guide */
.plug-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); margin: 18px 0 28px; }
.plug-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 90px; }
.plug-card h2 { margin: 0; font-size: 17px; }
.plug-card p { margin: 0; color: var(--text2); font-size: 14px; }
.plug-card .uses { font-size: 13px; color: var(--text3); }
.info-grid { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; margin: 8px 0 24px; }
.info { padding: 20px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.info h3 { margin: 12px 0 6px; }
.info p { margin: 0; color: var(--text2); font-size: 14px; }

/* Reading pages */
.doc { max-width: 780px; }
.doc .prose, .prose.doc { max-width: none; }
.prose h2 { position: relative; padding-left: 16px; margin-top: 40px; }
.prose h2::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 4px; border-radius: 4px; background: var(--gradient); }
.prose h3 { color: var(--text); }
.prose p, .prose li { color: var(--text2); }
.prose strong { color: var(--text); }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .65em; width: 7px; height: 7px; border-radius: 2px; background: var(--volt); transform: rotate(45deg); }
.prose em { color: var(--amber); font-style: normal; }
.doc-card { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 8px 32px 28px; }

/* App call to action */
.app-cta { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 26px 28px; margin: 40px 0 8px; border-radius: 26px; border: 1px solid var(--line-strong); background: radial-gradient(ellipse 60% 120% at 0% 0%, rgba(59, 227, 138, .12), transparent 60%), radial-gradient(ellipse 60% 120% at 100% 100%, rgba(47, 140, 255, .14), transparent 60%), var(--surface); }
.app-cta h2 { margin: 0 0 4px; font-size: 18px; }
.app-cta p { margin: 0; color: var(--text2); font-size: 14px; }
.app-cta .cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* Scroll-in, where the browser can tie animations to scrolling */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .bx, .step, .tool-card, .persona, .vcard, .variant-card, .plug-card, .make-tile, .privacy li, .feature-list > div {
      animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%;
    }
    @keyframes rise { from { opacity: 0; transform: translateY(26px); } }
  }
}

@media (max-width: 980px) {
  .guide-layout, .tool-layout { grid-template-columns: 1fr; }
  .guide-form, .tool-side { position: static; max-height: none; }
  .cmp-heads { grid-template-columns: repeat(var(--n), minmax(220px, 1fr)); overflow-x: auto; }
}
@media (max-width: 640px) {
  .page-head { padding-top: 32px; }
  .page-head-row .ic.lg { display: none; }
  .info-grid { grid-template-columns: 1fr; }
  .app-cta { grid-template-columns: 1fr; }
  .app-cta > .ic { display: none; }
  .variant-card, .doc-card { padding: 20px; }
  table.compare th[scope="row"] { width: 130px; }
}
.prose ol { padding-left: 0; list-style: none; counter-reset: li; }
.prose ol li { position: relative; padding-left: 40px; margin-bottom: 12px; counter-increment: li; }
.prose ol li::before { content: counter(li); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--on-gradient); background: var(--gradient); }
.doc-card .lede { margin-top: 24px; }
.draft { max-width: 780px; }
.best .i { width: 12px; height: 12px; }
.btn .i { width: 20px; height: 20px; }
.vcard .choice span { min-height: 38px; font-size: 13px; }
.vcard .choice { align-self: flex-start; }

/* Theme switch and logo inks (D-145) */
.logo-day { display: none !important; }
:root[data-theme="light"] .logo-night { display: none !important; }
:root[data-theme="light"] .logo-day { display: block !important; }
@media (prefers-color-scheme: light) {
  :root[data-theme="system"] .logo-night { display: none !important; }
  :root[data-theme="system"] .logo-day { display: block !important; }
}
.theme-switch { display: inline-flex; padding: 3px; gap: 2px; border-radius: 13px; background: var(--raised); border: 1px solid var(--line); }
.theme-switch a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--text3); }
.theme-switch a:hover { color: var(--text); }
.theme-switch a[aria-current] { background: var(--surface); color: var(--volt); box-shadow: 0 1px 3px var(--shade); }
.theme-switch .i { width: 17px; height: 17px; }
@media (max-width: 420px) { .theme-switch a { width: 30px; } }

/* Store buttons (D-145) */
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 11px; min-height: 54px; padding: 8px 18px 8px 14px; border-radius: 16px;
  background: #0b0f0e; border: 1px solid #2c3c39; color: #e8f1ee; text-decoration: none; transition: transform .15s, border-color .15s;
}
a.store-btn:hover { transform: translateY(-2px); border-color: #3be38a; }
.store-btn > span { display: flex; flex-direction: column; line-height: 1.1; }
.store-btn small { font-size: 11px; font-weight: 600; color: #a3b4af; letter-spacing: .02em; }
.store-btn b { font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.store-glyph { width: 28px; height: 28px; flex: none; }
.store-btn.soon { opacity: .6; cursor: default; }
.store-btn.soon small { color: #f5c451; text-transform: uppercase; font-family: var(--mono); letter-spacing: .08em; font-size: 10px; }
.stores.sm .store-btn { min-height: 44px; padding: 6px 14px 6px 10px; border-radius: 13px; }
.stores.sm .store-btn b { font-size: 14px; }
.stores.sm .store-glyph { width: 22px; height: 22px; }
.stores.lg .store-btn { min-height: 60px; padding: 10px 22px 10px 16px; }
.stores.lg .store-btn b { font-size: 17px; }
.night { color: var(--text); }

/* Vehicle pages (D-146) */
.ev-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px; align-items: start; margin: 8px 0 36px; }
.ev-gallery { position: sticky; top: 88px; }
.gallery-main { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 26px; border: 1px solid var(--line); background: var(--surface); scrollbar-width: none; }
.gallery-main::-webkit-scrollbar { display: none; }
.gallery-main figure { flex: 0 0 100%; margin: 0; scroll-snap-align: center; position: relative; scroll-margin-top: 100px; }
.gallery-main img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: var(--surface); }
.gallery-main figcaption { position: absolute; left: 12px; bottom: 10px; font-size: 12px; color: var(--text2); background: var(--glass); padding: 3px 10px; border-radius: 999px; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.gallery-thumbs a { flex: none; border-radius: 12px; overflow: hidden; border: 2px solid var(--line); }
.gallery-thumbs a:hover, .gallery-thumbs a:focus-visible, .gallery-thumbs a[aria-current] { border-color: var(--volt); }
.gallery-thumbs img { display: block; width: 96px; height: 64px; object-fit: cover; }
.gallery-empty { aspect-ratio: 4 / 3; border-radius: 26px; border: 1px dashed var(--line-strong); display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; padding: 24px; color: var(--text3);
  background: radial-gradient(circle at 50% 65%, rgba(19, 194, 163, .12), transparent 55%), var(--surface); }
.gallery-empty .i { width: 120px; height: 120px; stroke-width: 1; color: var(--teal); opacity: .8; }
.ev-info h1 { font-size: clamp(24px, 2.8vw, 30px); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 6px; }
.ev-sub { color: var(--text2); font-weight: 600; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 16px; }
.ev-price-box { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 20px; margin: 0 0 16px; border: 1px solid rgba(59, 227, 138, .35);
  background: linear-gradient(135deg, rgba(59, 227, 138, .1), rgba(47, 140, 255, .06)); }
.ev-price-big { font-size: clamp(24px, 2.6vw, 30px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.ev-price-meta { font-size: 13px; color: var(--text3); }
.ev-price-meta.stale { color: var(--amber); }
.ev-keys { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); margin: 0 0 18px; }
.ev-keys .stat-value { font-size: 17px; }
.ev-columns { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.ev-side { position: sticky; top: 88px; }
.spec-grid { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; margin-top: 14px; }
.spec-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 18px 20px; }
.spec-card h3 { margin: 0 0 8px; font-size: 13px; font-family: var(--mono); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.spec-card dl { margin: 0; }
.spec-card dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--divider); }
.spec-card dl > div:last-child { border-bottom: 0; }
.spec-card dt { color: var(--text2); font-size: 14px; }
.spec-card dd { margin: 0; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.spec-card dd small { display: block; font-weight: 500; font-size: 12px; color: var(--text3); }
.price-history { list-style: none; margin: 0; padding: 0; }
.price-history li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--divider); font-size: 14px; color: var(--text2); }
.price-history li:last-child { border-bottom: 0; }
.price-history b { color: var(--text); font-variant-numeric: tabular-nums; }
.section-title a { margin-left: auto; font-weight: 700; font-size: 14px; text-decoration: none; }
.ev-sort { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin: 20px 0 0; }
.ev-sort label { font-size: 14px; font-weight: 700; color: var(--text2); white-space: nowrap; }
.ev-sort select { width: auto; min-height: 42px; padding: 8px 12px; }
.ev-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); margin: 14px 0 8px; }
.ev-card { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s; }
.ev-card:hover { border-color: rgba(59, 227, 138, .5); transform: translateY(-3px); box-shadow: 0 24px 50px -30px rgba(19, 194, 163, .5); }
.ev-card img { width: 100%; height: 170px; object-fit: contain; padding: 10px; box-sizing: border-box; background: var(--surface); display: block; }
.ev-card .cover-blank { height: 150px; }
.ev-card-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.ev-brand { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text3); }
.ev-card b { font-size: 15px; line-height: 1.2; }
.ev-rating { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text3); }
.ev-rating b { font-size: 13px; color: var(--text); }
.ev-rating.none { font-size: 12px; }
.ev-rating-line { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 8px; color: var(--text2); text-decoration: none; font-size: 14px; font-weight: 600; }
.ev-rating-line b { font-size: 15px; color: var(--text); }
.ev-rating-line:hover span { color: var(--volt); text-decoration: underline; }
.ev-rating-line.none { color: var(--text3); }
.ev-price { font-size: 16px; font-weight: 800; color: var(--volt); font-variant-numeric: tabular-nums; }
.ev-card .facts-chips { margin-top: 4px; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .ev-card, .spec-card { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  }
}
@media (max-width: 980px) {
  .ev-hero, .ev-columns { grid-template-columns: 1fr; }
  .ev-gallery, .ev-side { position: static; }
}
@media (max-width: 640px) { .spec-grid { grid-template-columns: 1fr; } }

/* Showrooms (D-147): filters, the map and an outlet card per place. */
form.showroom-filters { display: grid; gap: 12px 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); align-items: end; margin-top: 24px; }
form.showroom-filters .actions { margin: 0; display: flex; gap: 10px; }
.showroom-map-wrap { margin: 12px 0 8px; }
.showroom-map { height: 460px; border-radius: 22px; overflow: hidden; background: var(--deep); border: 1px solid var(--line); }
.showroom-map noscript p { padding: 24px; }
.map-blank-note { margin: 8px 0 0; }
.map-legend { display: flex; flex-wrap: wrap; gap: 16px; margin: 8px 0 0; font-size: 13px; color: var(--text2); }
.map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; border: 2px solid var(--surface); }
.lg-dot.showroom { background: var(--teal); }
.lg-dot.service { background: var(--blue); }
.lg-dot.approx { background: transparent; border: 2px dashed var(--text2); }
.maplibregl-popup-content { background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 14px; font: 14px/1.4 var(--font); padding: 12px 14px; }
.maplibregl-popup-content b { display: block; font-size: 15px; }
.maplibregl-popup-content span { display: block; color: var(--text2); font-size: 13px; }
.maplibregl-popup-content a { font-weight: 700; font-size: 13px; }
.maplibregl-popup-tip { border-top-color: var(--surface) !important; border-bottom-color: var(--surface) !important; }
.maplibregl-popup-close-button { color: var(--text2); font-size: 18px; padding: 0 6px; }
.outlet-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); margin: 12px 0 8px; }
.outlet { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 18px; display: flex; flex-direction: column; gap: 6px; scroll-margin-top: 90px; }
.outlet:target { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(19, 194, 163, .25); }
.outlet-top { display: flex; gap: 8px; flex-wrap: wrap; }
.outlet h3 { margin: 6px 0 0; font-size: 17px; }
.outlet p { margin: 0; }
.outlet-brand { color: var(--text2); font-size: 14px; }
.outlet-address { display: flex; gap: 6px; font-size: 14px; }
.outlet-address .i { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--text3); }
.outlet-approx { font-size: 13px; color: var(--amber); }
.outlet-actions { margin-top: 8px; padding-top: 0; border-top: 0; }
.outlet-credit { margin-top: auto !important; padding-top: 8px; font-size: 12px; color: var(--text3); }
@media (max-width: 640px) { .showroom-map { height: 360px; } }
/* MapLibre's own controls keep their look, not the site's button style. */
.showroom-map .maplibregl-ctrl button { display: block; min-height: 0; width: 29px; height: 29px; padding: 0; border-radius: 0; background: transparent; box-shadow: none; transform: none; filter: none; }
.showroom-map .maplibregl-ctrl-group { background: #fff; }
.showroom-map .maplibregl-popup-close-button { width: auto; height: auto; position: absolute; }

/* Owner reviews (D-148): stars, the breakdown and each review. */
.stars { position: relative; display: inline-block; line-height: 0; vertical-align: middle; }
.stars svg { width: var(--s); height: var(--s); margin-right: 2px; }
.stars-empty svg { fill: var(--line-strong); }
.stars-full { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; }
.stars-full svg { fill: var(--amber); }
.review-summary { display: grid; gap: 24px; grid-template-columns: minmax(180px, 240px) 1fr; align-items: center; }
.review-big { display: flex; flex-direction: column; gap: 6px; }
.review-big strong { font-size: 48px; line-height: 1; font-weight: 800; font-variant-numeric: tabular-nums; }
.review-big .note { margin: 0; }
.crit-rows { display: grid; gap: 10px; }
.crit-row { display: grid; grid-template-columns: 130px 1fr 34px; gap: 12px; align-items: center; font-size: 14px; color: var(--text2); }
.crit-row b { color: var(--text); text-align: right; font-variant-numeric: tabular-nums; }
.crit-row .bar-track { height: 8px; margin: 0; }
.crit-row .bar-fill { background: var(--amber); }
.review-list { display: grid; gap: 14px; margin-top: 14px; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 20px; }
.review-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.review-head .who { font-weight: 700; }
.review-head .when { color: var(--text3); font-size: 13px; }
.verified-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--teal); background: rgba(19, 194, 163, .1); border: 1px solid rgba(19, 194, 163, .45); }
.verified-badge .i { width: 14px; height: 14px; }
.review h3 { margin: 12px 0 4px; font-size: 17px; }
.review p { margin: 6px 0 0; white-space: pre-line; }
.review-crits { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: 13px; color: var(--text2); }
.review-crits b { color: var(--text); }
.review-pages { display: flex; gap: 10px; margin-top: 14px; }
@media (max-width: 640px) { .review-summary { grid-template-columns: 1fr; } .crit-row { grid-template-columns: 110px 1fr 30px; } }
