:root {
  --ink: #0b1f17;
  --ink-2: #14291f;
  --paper: #f6f5ef;
  --paper-2: #eeece2;
  --line: #dcdcd2;
  --line-dark: #c9c9bd;
  --muted: #5e6b64;
  --muted-light: #93a39a;
  --lime: #c7f45a;
  --lime-dark: #a9da3b;
  --blue: #2f6bff;
  --violet: #7c5cff;
  --orange: #ff8a3d;
  --red: #d64545;
  --green: #1e8e5a;
  --radius: 18px;
  --shadow: 0 24px 60px -34px rgba(11, 31, 23, 0.4);
  --font-head: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--lime); color: var(--ink); }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { margin: 0; }

p { margin: 0; }

ul, ol { margin: 0; padding: 0; }

svg { display: inline-block; }

.arrow { width: 16px; height: 16px; flex: none; transition: transform 0.2s ease; }

a:hover .arrow, .btn:hover .arrow { transform: translateX(3px); }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.wrap.narrow, .narrow { max-width: 840px; }

.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;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--lime);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  transition: top 0.2s;
}

.skip-link:focus { top: 16px; }

:focus-visible {
  outline: 3px solid var(--lime-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 245, 239, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 74px;
  display: flex;
  align-items: center;
  gap: 34px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--lime);
  color: var(--ink);
  display: grid;
  place-items: center;
}

.brand-mark svg { width: 21px; height: 21px; }

.brand-name {
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand-name span { color: var(--muted); }

.brand-light .brand-name { color: var(--paper); }
.brand-light .brand-name span { color: var(--muted-light); }

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.nav a {
  font-size: 14px;
  font-weight: 500;
  color: #33443b;
  position: relative;
  padding: 6px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--ink);
  transition: right 0.2s ease;
}

.nav a:hover::after, .nav a.active::after { right: 0; }
.nav a.active { font-weight: 600; }

.header-cta {
  margin-left: 8px;
  background: var(--ink);
  color: var(--paper);
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}

.header-cta:hover { background: var(--ink-2); transform: translateY(-1px); }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-dark);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  place-items: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  margin: 3px auto;
}

/* Hero */

.hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding-top: 64px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(199, 244, 90, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(199, 244, 90, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 70% 10%, #000 10%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  right: -180px;
  top: -260px;
  background: radial-gradient(circle, rgba(199, 244, 90, 0.16), transparent 65%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: center;
  padding-bottom: 58px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(199, 244, 90, 0.12);
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(52px, 7vw, 88px);
  line-height: 0.94;
  letter-spacing: -0.055em;
  font-weight: 700;
  margin: 22px 0 24px;
}

.accent { color: var(--lime); }

.hero-lede {
  max-width: 560px;
  color: #c3cec7;
  font-size: 17.5px;
  line-height: 1.65;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 14px;
  padding: 6px 6px 6px 18px;
  margin-top: 30px;
  max-width: 620px;
  box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.5);
}

.search-box input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  min-width: 0;
  padding: 12px 0;
}

.search-box input::placeholder { color: #8b968f; }

.search-box button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.search-box button:hover { background: var(--ink-2); }
.search-box button .arrow { width: 14px; height: 14px; }

.search-results {
  max-width: 620px;
  margin-top: 10px;
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.search-results a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.search-results a:last-child { border-bottom: 0; }
.search-results a:hover { background: var(--paper); }
.search-results strong { font-weight: 600; }
.search-results span { color: var(--muted); font-size: 12px; }
.search-empty { padding: 14px 18px; color: var(--muted); font-size: 14px; }

.quick-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 18px;
  font-size: 12px;
  color: #8fa096;
}

.quick-links a {
  color: #dbe4de;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 1px;
}

.quick-links a:hover { color: var(--lime); border-color: var(--lime); }

.hero-panel {
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.panel-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(199, 244, 90, 0.28);
  border-radius: 16px;
  padding: 18px 20px;
  backdrop-filter: blur(8px);
  max-width: 280px;
}

.panel-card-top { margin-left: auto; }
.panel-card-bottom { margin-left: 24px; }

.panel-card strong {
  display: block;
  font-family: var(--font-head);
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--lime);
  margin: 4px 0 2px;
}

.panel-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9db0a5;
  font-weight: 600;
}

.panel-card > span:last-child { font-size: 12px; color: #b9c6be; }

.panel-flow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
}

.flow-node {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: #b9c6be;
  white-space: nowrap;
}

.flow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6f8377;
}

.accent-dot { background: var(--lime); }

.flow-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(199, 244, 90, 0.1), rgba(199, 244, 90, 0.5), rgba(199, 244, 90, 0.1));
}

.hero-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
  padding-bottom: 24px;
}

.hero-strip div {
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.hero-strip strong {
  font-family: var(--font-head);
  font-size: 25px;
  color: var(--lime);
  letter-spacing: -0.03em;
}

.hero-strip span { font-size: 12px; color: #8fa096; }

/* Sections */

.section { padding: 82px 0; }
.section-tint { background: var(--paper-2); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 34px;
}

.section-label {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-label.light { color: var(--lime); }

.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin-top: 10px;
}

.section-sub {
  margin-top: 12px;
  color: var(--muted);
  max-width: 560px;
  font-size: 15px;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
}

.section-link:hover { color: var(--green); border-color: var(--green); }

.split-head {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 34px;
}

.split-lede { color: var(--muted); font-size: 15px; }

/* Grids */

.card-grid { display: grid; gap: 18px; }
.card-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Car cards */

.car-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 238px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.car-card:hover {
  transform: translateY(-3px);
  border-color: #b9c0b7;
  box-shadow: var(--shadow);
}

.car-top, .car-foot, .charger-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.car-years { font-size: 11.5px; color: var(--muted); white-space: nowrap; }

.car-make {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.car-name {
  font-family: var(--font-head);
  font-size: 24px;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-top: 3px;
}

.car-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.car-spec span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}

.car-spec strong { font-size: 15px; font-weight: 600; }

.car-foot { padding-top: 13px; border-top: 1px solid var(--line); }

.car-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
}

/* Badges */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1.4;
  white-space: nowrap;
}

.badge-nacs { background: #e6f9b9; color: #33500d; border-color: #cbe98a; }
.badge-j1772 { background: #e7eeff; color: #2646a8; border-color: #c7d7ff; }
.badge-ccs { background: #efeaff; color: #4c2fbe; border-color: #d9cfff; }
.badge-chademo { background: #ffecdd; color: #984811; border-color: #ffd0ad; }
.badge-mixed { background: #eaf6ee; color: #1f5b3d; border-color: #c8e8d4; }
.badge-native { background: #ddf6e5; color: #155c38; border-color: #b5e6c6; }
.badge-adapter { background: #fff2d2; color: #7d4e00; border-color: #f2d78e; }
.badge-no { background: #fde3e3; color: #8b1d1d; border-color: #f4bcbc; }
.badge-neutral { background: #ecece4; color: #4a554f; border-color: #d9d9cf; }

/* Charger cards */

.charger-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.charger-card:hover {
  transform: translateY(-3px);
  border-color: #b9c0b7;
  box-shadow: var(--shadow);
}

.charger-card .car-name { font-size: 22px; }

.charger-tagline { color: var(--muted); font-size: 13.5px; }

.charger-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: auto;
}

.charger-specs .car-spec strong { font-size: 14px; }

/* Guide & tool cards */

.guide-card, .tool-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  min-height: 210px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.guide-card:hover, .tool-card:hover {
  transform: translateY(-3px);
  border-color: #b9c0b7;
  box-shadow: var(--shadow);
}

.guide-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}

.guide-card h3, .tool-card h3 {
  font-family: var(--font-head);
  font-size: 21px;
  line-height: 1.16;
  letter-spacing: -0.025em;
}

.guide-card p, .tool-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.guide-card .car-link, .tool-card .car-link { margin-top: auto; }

/* Steps */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

.step-num {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 20px;
}

.step h3 {
  font-family: var(--font-head);
  font-size: 21px;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 10px;
}

.step p { color: var(--muted); font-size: 14px; }

.step a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 12.5px;
  font-weight: 600;
  border-bottom: 1px solid var(--line-dark);
  padding-bottom: 2px;
}

/* Feature band */

.feature-band {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 24px;
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.feature-band::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -160px;
  bottom: -220px;
  background: radial-gradient(circle, rgba(199, 244, 90, 0.18), transparent 65%);
}

.feature-band h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin: 14px 0 16px;
}

.feature-band p { color: #b9c6be; font-size: 15px; max-width: 560px; }

.feature-stats {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 1;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  padding-left: 34px;
}

.feature-stats strong {
  display: block;
  font-family: var(--font-head);
  font-size: 34px;
  color: var(--lime);
  letter-spacing: -0.03em;
  line-height: 1;
}

.feature-stats span { display: block; color: #9db0a5; font-size: 12px; margin-top: 5px; }

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--ink-2); }
.btn-light { background: var(--lime); color: var(--ink); }
.btn-light:hover { background: var(--lime-dark); }
.btn-outline { background: transparent; border-color: var(--line-dark); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }

/* Page hero */

.page-hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  padding: 42px 0 58px;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(199, 244, 90, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(199, 244, 90, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 80% 0%, #000 10%, transparent 65%);
}

.page-hero > .wrap { position: relative; }

.page-title {
  font-family: var(--font-head);
  font-size: clamp(38px, 5.4vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  margin-top: 18px;
}

.page-lede {
  max-width: 680px;
  color: #c3cec7;
  font-size: 17px;
  line-height: 1.65;
  margin-top: 18px;
}

.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  color: var(--muted-light);
}

.breadcrumbs a:hover { color: var(--lime); }
.crumb-sep { opacity: 0.5; }

/* Car hero */

.car-hero-grid {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 44px;
  align-items: center;
}

.car-hero-badge {
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(199, 244, 90, 0.35);
  background:
    radial-gradient(circle at 50% 30%, rgba(199, 244, 90, 0.16), transparent 60%),
    rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 20px;
}

.big-plug {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 700;
  color: var(--lime);
  letter-spacing: -0.04em;
  line-height: 1;
}

.car-hero-badge span:last-child { font-size: 11px; color: #9db0a5; text-transform: uppercase; letter-spacing: 0.12em; }

/* Stats */

.stat-strip { background: #fff; border-bottom: 1px solid var(--line); }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); }

.stat-box {
  padding: 24px 26px;
  border-right: 1px solid var(--line);
  min-height: 104px;
}

.stat-box:last-child { border-right: 0; }

.stat-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat-value {
  display: block;
  font-family: var(--font-head);
  font-size: 27px;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-top: 7px;
}

.stat-note { display: block; font-size: 11.5px; color: var(--muted); margin-top: 3px; }

/* Content */

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 336px;
  gap: 56px;
  align-items: start;
}

.prose { min-width: 0; }

.prose h2 {
  font-family: var(--font-head);
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 42px 0 14px;
}

.prose > h2:first-child { margin-top: 0; }

.prose h3 {
  font-family: var(--font-head);
  font-size: 21px;
  letter-spacing: -0.02em;
  margin: 28px 0 10px;
}

.prose p { color: #314038; font-size: 16px; line-height: 1.75; margin-bottom: 15px; }

.prose ul, .prose ol { margin: 0 0 18px 22px; color: #314038; }
.prose li { margin-bottom: 7px; line-height: 1.7; }

.prose a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--lime-dark);
}

.prose a:hover { color: var(--green); }

.callout {
  background: #f0f7e3;
  border: 1px solid #d8e9ba;
  border-left: 4px solid var(--lime-dark);
  border-radius: 12px;
  padding: 17px 19px;
  margin: 22px 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: #2c402f;
}

.callout-warn { background: #fff6e7; border-color: #f0d9ae; border-left-color: #dfa23a; color: #4f3a17; }

.ad-slot {
  margin: 32px 0;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: center;
}

.ad-label {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin: 20px 0;
  background: #fff;
}

.data-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }

.data-table th {
  text-align: left;
  padding: 11px 16px;
  background: #f2f1e8;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.data-table td {
  padding: 13px 16px;
  border-top: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.55;
}

.data-table tbody tr:first-child td { border-top: 0; }
.data-table tbody tr:hover { background: #fafaf4; }
.data-table th:first-child { border-radius: 13px 0 0 0; }

.table-note { font-size: 12.5px; color: var(--muted); }

.status-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 13.5px;
  color: var(--muted);
  margin: 16px 0;
}

.link-list { list-style: none; margin-left: 0 !important; }
.link-list li { border-bottom: 1px solid var(--line); padding: 11px 0; margin: 0; }

.two-col-list {
  columns: 2;
  column-gap: 28px;
  list-style: none;
  margin-left: 0 !important;
}
.two-col-list li { break-inside: avoid; border-bottom: 1px solid var(--line); padding: 8px 0; margin: 0; font-size: 14px; }

.source-note { font-size: 12px; color: var(--muted); line-height: 1.7; margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); }
.source-note a { text-decoration: none; border-bottom: 1px dotted var(--line-dark); }

/* Sidebar */

.sidebar { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 96px; }

.side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
}

.side-card-accent { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.side-label {
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.side-card-accent .side-label { color: var(--lime); }

.side-card h3 {
  font-family: var(--font-head);
  font-size: 21px;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.side-card p { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.side-card-accent p { color: #b9c6be; }

.side-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
}

.side-card-accent .side-row { border-color: rgba(255, 255, 255, 0.12); }
.side-row span { color: var(--muted); }
.side-card-accent .side-row span { color: #9db0a5; }
.side-row strong { text-align: right; font-weight: 600; }

.side-card .btn { width: 100%; margin-top: 16px; }

.mini-list { list-style: none; margin: 0; }
.mini-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 12.5px; }
.mini-list li:first-child { border-top: 0; padding-top: 0; }
.mini-list a { font-weight: 600; }
.mini-list span { color: var(--muted); white-space: nowrap; }

.toc { list-style: none; margin: 0; font-size: 13px; }
.toc li { padding: 7px 0; border-bottom: 1px solid var(--line); color: #33443b; }
.toc li:last-child { border-bottom: 0; }

/* FAQ */

.faq-list { border-top: 1px solid var(--line); margin-top: 18px; }

.faq-item { border-bottom: 1px solid var(--line); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 0;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-plus {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 400;
  color: var(--muted);
  transition: transform 0.2s;
  line-height: 1;
}

.faq-item[open] .faq-plus { transform: rotate(45deg); color: var(--ink); }

.faq-answer { padding: 0 0 17px; }
.faq-answer p { color: var(--muted); font-size: 14.5px; line-height: 1.7; margin: 0; }

/* Filter bar */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 28px;
}

.filter { display: flex; flex-direction: column; gap: 6px; min-width: 140px; }
.filter-search { flex: 1 1 220px; }

.filter label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.filter input, .filter select {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 9px;
  padding: 9px 11px;
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--ink);
  width: 100%;
}

.filter input:focus, .filter select:focus { outline: 2px solid var(--lime-dark); outline-offset: 1px; }

.filter-count { margin-left: auto; font-size: 12px; color: var(--muted); padding-bottom: 9px; }
.filter-count span { color: var(--ink); font-weight: 600; }

.empty { text-align: center; color: var(--muted); padding: 48px 0; }
.link-btn { border: 0; background: none; color: var(--ink); text-decoration: underline; cursor: pointer; font-family: inherit; font-size: inherit; }

/* Guide */

.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.guide-prose { max-width: 720px; }
.guide-prose h2 { scroll-margin-top: 100px; }

/* Calculator */

.calculator-layout { display: grid; grid-template-columns: minmax(0, 1fr) 0.9fr; gap: 28px; align-items: start; }

.calculator {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
}

.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }

.field label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input, .field select {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 10px;
  padding: 11px 13px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  width: 100%;
}

.field input:focus, .field select:focus { outline: 2px solid var(--lime-dark); outline-offset: 1px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.field-note { font-size: 11.5px; color: var(--muted); margin-top: 14px; line-height: 1.6; }

.result-box {
  background: var(--ink);
  color: var(--paper);
  border-radius: 18px;
  padding: 30px;
  position: sticky;
  top: 96px;
}

.result-box .side-label { color: var(--lime); }

.result-big {
  font-family: var(--font-head);
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--lime);
  margin: 10px 0 22px;
}

.result-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13.5px;
}

.result-row span { color: #9db0a5; }
.result-row strong { font-weight: 600; text-align: right; }
.result-note { font-size: 11.5px; color: #8fa096; line-height: 1.6; margin-top: 18px; }

/* Compare */

.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 26px 0; }

.compare-col {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}

.compare-col h3 { font-family: var(--font-head); font-size: 22px; letter-spacing: -0.03em; margin-bottom: 10px; }
.compare-col p { color: var(--muted); font-size: 14px; margin-bottom: 18px; }

.compare-table th:first-child { width: 28%; }

/* CTA band */

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 20px;
  padding: 38px 42px;
}

.cta-band h2 { font-family: var(--font-head); font-size: clamp(24px, 3vw, 34px); line-height: 1.08; letter-spacing: -0.035em; margin: 10px 0 8px; }
.cta-band p { color: #b9c6be; font-size: 14px; }
.cta-band .btn { flex: none; }

/* Footer */

.site-footer { background: var(--ink); color: var(--paper); padding: 64px 0 24px; }

.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }

.footer-brand p { color: #9db0a5; font-size: 13px; max-width: 300px; margin-top: 16px; line-height: 1.7; }

.footer-col h4 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 14px;
}

.footer-col a { display: block; color: #b9c6be; font-size: 12.5px; padding: 5px 0; }
.footer-col a:hover { color: var(--lime); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 48px;
  padding-top: 20px;
}

.footer-bottom p { color: #71847a; font-size: 11px; line-height: 1.6; max-width: 560px; }

/* Utility */

.muted { color: var(--muted); }

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-panel { display: none; }
  .hero h1 { font-size: clamp(50px, 9vw, 76px); }
  .split-head { grid-template-columns: 1fr; gap: 14px; }
  .card-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .feature-band { grid-template-columns: 1fr; padding: 38px; }
  .feature-stats { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.14); padding-left: 0; padding-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); }
  .content-grid, .guide-layout { grid-template-columns: 1fr; gap: 34px; }
  .sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .car-hero-grid { grid-template-columns: 1fr; }
  .car-hero-badge { display: none; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-box:nth-child(2) { border-right: 0; }
  .stat-box:nth-child(1), .stat-box:nth-child(2) { border-bottom: 1px solid var(--line); }
  .calculator-layout { grid-template-columns: 1fr; }
  .result-box { position: static; }
}

@media (max-width: 820px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 18px;
    margin: 0;
  }
  .nav.open a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav.open a::after { display: none; }
  .menu-toggle { display: grid; margin-left: auto; }
  .header-cta { display: none; }
  .hero-strip { grid-template-columns: repeat(2, 1fr); gap: 14px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 30px; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .header-inner { height: 66px; }
  .nav.open { top: 66px; }
  .hero { padding-top: 42px; }
  .hero h1 { font-size: clamp(42px, 12vw, 58px); }
  .hero-lede { font-size: 15.5px; }
  .search-box { flex-direction: column; align-items: stretch; padding: 8px; gap: 8px; }
  .search-box input { padding: 10px 8px; }
  .search-box button { justify-content: center; padding: 13px; }
  .quick-links { margin-top: 14px; }
  .section { padding: 56px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .card-grid-2, .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat-box { padding: 18px 16px; min-height: 92px; }
  .stat-value { font-size: 22px; }
  .feature-band { padding: 28px; }
  .feature-stats { grid-template-columns: 1fr; gap: 14px; }
  .page-hero { padding: 30px 0 42px; }
  .page-title { font-size: clamp(34px, 10vw, 48px); }
  .page-lede { font-size: 15.5px; }
  .sidebar { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .filter-bar { align-items: stretch; }
  .filter { min-width: 100%; }
  .filter-count { margin-left: 0; padding-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
  .two-col-list { columns: 1; }
  .prose h2 { font-size: 26px; }
  .data-table { font-size: 13px; }
}
