/* NZ Autocar theme styles.
   Source of truth: design_handoff_nzautocar/README.md (design tokens + per-section specs).
   Core palette rule: #CCFF00 is never used as text on white — only as a fill with #141414
   on top, or as the highlighter bar. Border radius is 0 everywhere. */

:root {
  --nz-accent: #CCFF00;
  --nz-ink: #141414;
  --nz-white: #FFFFFF;
  --nz-surface-alt: #F5F5F3;
  --nz-card-alt: #FAFAF8;
  --nz-text-2: #55524F;
  --nz-text-3: #3F3D3B;
  --nz-muted: #8A8785;
  --nz-footer-link: #A8A5A2;
  --nz-footer-copy: #6E6B69;
  --nz-border: #E4E3E0;
  --nz-divider: #EDEBE8;
  --nz-divider-2: #DEDCD8;
  --nz-row-hover: #FBFFE6;
  --nz-at-red: #FF3B47;
}

*, *::before, *::after { box-sizing: border-box; }

/* Archivo, self-hosted as a variable font (one file covers weights 100-900).
   latin-ext included for Maori macrons. Files live in assets/fonts/. */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Nav anchors (NEWS/REVIEWS → feed columns, header CTA → #subscribe) slide
   rather than jump; scroll-margin keeps the target clear of the viewport edge. */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
.nz-feed, .nz-subscribe, .nz-advertise { scroll-margin-top: 24px; }

/* !important because the old jNews companion plugin injects museo-sans
   site-wide (jeg_dynamic_css) after this stylesheet on the live site. */
body,
input,
textarea,
select,
button {
  font-family: 'Archivo', sans-serif !important;
}

body {
  margin: 0;
  background: var(--nz-white);
  color: var(--nz-ink);
  min-height: 100vh;
}

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

img { max-width: 100%; }
a { color: inherit; }

.nz-container {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 56px;
  padding-right: 56px;
}
.nz-container--wide {
  max-width: 1440px;
  padding-left: 40px;
  padding-right: 40px;
}

/* Green highlighter hover — applies to the text itself; never a color change. */
.nz-hl:hover, a:hover > .nz-hl { box-shadow: inset 0 -8px 0 var(--nz-accent); }
.nz-hl-sm:hover, a:hover > .nz-hl-sm { box-shadow: inset 0 -7px 0 var(--nz-accent); }

/* Green chip — the section-label pattern. */
.nz-chip {
  display: inline-block;
  background: var(--nz-accent);
  color: var(--nz-ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 7px 14px;
}

/* Buttons — invert on hover (green <-> black), square corners. */
.nz-btn {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 30px;
  transition: background 0.12s ease, color 0.12s ease;
}
.nz-btn--solid { background: var(--nz-ink); color: var(--nz-white); }
.nz-btn--solid:hover { background: var(--nz-accent); color: var(--nz-ink); }
.nz-btn--outline { border: 1px solid var(--nz-ink); color: var(--nz-ink); }
.nz-btn--outline:hover { background: var(--nz-ink); color: var(--nz-white); }

.nz-section-h2 {
  margin: 0;
  font-size: 42px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

/* ---------- Header ---------- */

.nz-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 18px 40px;
  border-bottom: 1px solid var(--nz-border);
}
.nz-header__logo { flex: none; display: block; line-height: 0; }
.nz-header__logo img {
  display: block;
  height: clamp(38px, 4.6vw, 54px);
  width: auto;
}
.nz-header .nz-nav,
.nz-header .nz-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  min-width: 0;
  gap: 12px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.nz-nav a {
  color: var(--nz-ink);
  text-decoration: none;
  text-transform: uppercase;
}
.nz-nav a:hover,
.nz-nav .current-menu-item > a,
.nz-nav .current_page_item > a,
.nz-nav a.is-current {
  box-shadow: inset 0 -8px 0 var(--nz-accent);
}
.nz-header__cta {
  background: var(--nz-accent);
  color: var(--nz-ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 13px 24px;
  white-space: nowrap;
}
.nz-header__cta:hover { background: var(--nz-ink); color: var(--nz-accent); }

/* ---------- Hero ---------- */

.nz-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 64px;
  padding-top: 40px;
  padding-bottom: 44px;
}
.nz-hero__copy { display: flex; flex-direction: column; gap: 18px; }
.nz-hero__eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--nz-text-2);
  text-transform: uppercase;
}
.nz-hero__title {
  margin: 0;
  font-size: clamp(46px, 5.4vw, 76px);
  line-height: 1.16;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
/* No vertical padding — at 76px it overlaps the line above. */
.nz-hero__title .nz-hero__highlight {
  background: var(--nz-accent);
  color: var(--nz-ink);
  padding: 0 12px;
  white-space: nowrap;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.nz-hero__body {
  margin: 0;
  max-width: 460px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--nz-text-2);
  font-weight: 400;
}
.nz-hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 2px; }

/* Green block offset 22px right/down behind the cover; the padding box makes
   the absolutely-positioned block cover the cover exactly. */
.nz-hero__cover-wrap { position: relative; padding: 0 22px 22px 0; }
.nz-hero__cover-accent {
  position: absolute;
  left: 22px; top: 22px; right: 0; bottom: 0;
  background: var(--nz-accent);
}
.nz-hero__cover {
  position: relative;
  width: min(320px, 26vw);
  height: min(430px, 35vw);
  background: var(--nz-white);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}
.nz-hero__cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Latest feeds ---------- */

.nz-latest {
  background: var(--nz-surface-alt);
  border-top: 1px solid var(--nz-border);
  border-bottom: 1px solid var(--nz-border);
}
.nz-latest__inner {
  padding-top: 48px;
  padding-bottom: 64px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.nz-latest__heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.nz-latest__heading h2 {
  margin: 0;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.nz-latest__on { font-size: 20px; font-weight: 500; color: var(--nz-muted); }
.nz-latest__partner { display: block; line-height: 0; }
.nz-latest__partner img { display: block; height: 30px; width: auto; }

.nz-feeds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: start;
}
.nz-feed { display: flex; flex-direction: column; gap: 20px; }
.nz-feed__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 3px solid var(--nz-ink);
  padding-bottom: 10px;
}
.nz-feed__label { font-size: 15px; font-weight: 800; letter-spacing: 0.16em; }
.nz-feed__view-all {
  color: var(--nz-muted);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.nz-feed__view-all:hover { color: var(--nz-ink); }
.nz-feed__lead { display: flex; flex-direction: column; gap: 12px; }
.nz-feed__media { position: relative; }
.nz-feed__media img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.nz-feed__media--empty { width: 100%; height: 200px; background: var(--nz-border); }
.nz-feed__badge {
  position: absolute;
  left: 12px; bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--nz-accent);
  padding: 6px 12px;
  pointer-events: none;
  color: var(--nz-ink);
  font-size: 12px;
}
.nz-feed__badge strong { font-weight: 800; letter-spacing: 0.06em; }
.nz-feed__lead a { text-decoration: none; color: inherit; }
.nz-feed__lead h3 { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.3; }
.nz-feed__lead a:hover h3 { box-shadow: inset 0 -8px 0 var(--nz-accent); }
.nz-feed__meta { font-size: 13px; color: var(--nz-muted); }
.nz-feed__list { display: flex; flex-direction: column; gap: 16px; }
.nz-feed__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  border-top: 1px solid var(--nz-divider-2);
  padding-top: 14px;
}
.nz-feed__item-title {
  color: var(--nz-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}
.nz-feed__item:hover .nz-feed__item-title { box-shadow: inset 0 -7px 0 var(--nz-accent); }
.nz-feed__item-meta { color: var(--nz-muted); font-size: 12px; }

/* ---------- Subscribe ---------- */

.nz-subscribe {
  padding-top: 96px;
  padding-bottom: 96px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.nz-section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.nz-subscribe__note { margin: 0; font-size: 16px; color: var(--nz-text-2); }
.nz-subscribe__account { margin: 4px 0 0; font-size: 15px; color: var(--nz-text-2); }
.nz-subscribe__account a {
  color: var(--nz-ink);
  text-decoration: none;
  font-weight: 700;
}
.nz-tiers {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  justify-content: center;
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 1160px) {
  .nz-tiers { grid-template-columns: repeat(auto-fit, minmax(240px, 300px)); }
}
.nz-tier {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px 28px;
  background: var(--nz-card-alt);
  border: 1px solid var(--nz-border);
}
.nz-tier--popular {
  background: var(--nz-white);
  border: 2px solid var(--nz-ink);
  transform: scale(1.04);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}
.nz-tier__flag {
  align-self: flex-start;
  background: var(--nz-accent);
  color: var(--nz-ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  padding: 6px 12px;
}
.nz-tier__name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--nz-muted);
}
.nz-tier__price { display: flex; align-items: baseline; gap: 6px; }
.nz-tier__amount { font-size: 44px; font-weight: 900; letter-spacing: -0.02em; }
.nz-tier__per { font-size: 15px; color: var(--nz-muted); }
.nz-tier__features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--nz-text-3);
}
.nz-tier__features li { display: flex; gap: 10px; align-items: baseline; }
.nz-tier__features li::before {
  content: "—";
  color: var(--nz-ink);
  font-weight: 800;
}
.nz-tier .nz-btn {
  margin-top: auto;
  font-size: 13px;
  letter-spacing: 0.12em;
  padding: 14px 0;
  width: 100%;
}

/* ---------- Advertise ---------- */

.nz-advertise {
  background: var(--nz-surface-alt);
  border-top: 1px solid var(--nz-border);
  border-bottom: 1px solid var(--nz-border);
}
.nz-advertise__inner {
  padding-top: 88px;
  padding-bottom: 88px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.nz-advertise__copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.nz-advertise__body {
  margin: 0;
  max-width: 440px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--nz-text-2);
}
.nz-advertise__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 8px;
}
.nz-advertise__row .nz-btn { padding: 15px 28px; white-space: nowrap; }
.nz-advertise__contact { font-size: 14px; color: var(--nz-text-2); }
.nz-advertise__contact a {
  color: var(--nz-ink);
  text-decoration: none;
  font-weight: 600;
}
/* ---------- Contact ---------- */

.nz-contact {
  padding-top: 96px;
  padding-bottom: 96px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.nz-contact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.nz-contact__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  border: 1px solid var(--nz-border);
  padding: 44px 32px;
}
.nz-contact__kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--nz-muted);
}
.nz-contact__title {
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.nz-contact__blurb {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--nz-text-2);
}
.nz-contact__email {
  color: var(--nz-ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
}

/* ---------- Follow along ---------- */

.nz-social {
  background: var(--nz-surface-alt);
  border-top: 1px solid var(--nz-border);
}
.nz-social__inner {
  padding-top: 72px;
  padding-bottom: 72px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.nz-social__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.nz-social__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.nz-social__channels { display: flex; flex-wrap: wrap; gap: 12px; }
.nz-social__channel {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  border: 1px solid var(--nz-ink);
  padding: 12px 18px;
  min-width: 150px;
}
.nz-social__channel:hover { background: var(--nz-accent); }
.nz-social__channel-name {
  color: var(--nz-ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.nz-social__channel-handle { color: var(--nz-text-2); font-size: 13px; }
.nz-instagrid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.nz-instagrid a,
.nz-instagrid > div {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--nz-white);
  display: block;
}
.nz-instagrid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Footer ---------- */

.nz-footer { background: var(--nz-ink); }
.nz-footer__inner {
  padding-top: 56px;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.nz-footer__logo { display: block; height: 50px; width: auto; }
.nz-footer__social,
.nz-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nz-footer__social {
  gap: 12px 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.nz-footer__social a { color: var(--nz-white); text-decoration: none; text-transform: uppercase; }
.nz-footer__social a:hover { color: var(--nz-accent); }
.nz-footer__links { gap: 12px 40px; font-size: 14px; }
.nz-footer__links a { color: var(--nz-footer-link); text-decoration: none; }
.nz-footer__links a:hover { color: var(--nz-accent); }
.nz-footer__copyright { font-size: 12px; color: var(--nz-footer-copy); }

/* ---------- Prices page ---------- */

.nz-prices-head {
  padding-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.nz-prices-head__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.nz-prices-head__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.nz-breadcrumb {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--nz-muted);
  text-transform: uppercase;
}
.nz-prices-head__title {
  margin: 0;
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.nz-prices-head__title span {
  background: var(--nz-accent);
  color: var(--nz-ink);
  padding: 0 10px;
  white-space: nowrap;
}
.nz-prices-head__intro {
  margin: 0;
  max-width: 540px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--nz-text-2);
}
.nz-prices-head__ad { width: min(728px, 100%); }
.nz-prices-head__ad img { display: block; width: 100%; height: auto; }

.nz-prices-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 3px solid var(--nz-ink);
  padding-bottom: 16px;
}
.nz-range-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.nz-range-tab {
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  border: 1px solid var(--nz-ink);
  color: var(--nz-ink);
  padding: 10px 17px;
}
.nz-range-tab--active {
  background: var(--nz-ink);
  color: var(--nz-white);
  border: none;
  padding: 11px 18px;
}
/* Fuel-type filter — beta-tester request. Square pills in the range-tab idiom. */
.nz-fuel-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.nz-fuel-tab {
  font-family: 'Archivo', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  border: 1px solid var(--nz-ink);
  background: var(--nz-white);
  color: var(--nz-ink);
  padding: 9px 14px;
  border-radius: 0;
  cursor: pointer;
}
.nz-fuel-tab.is-active {
  background: var(--nz-ink);
  color: var(--nz-white);
}
.nz-fuel-tab:hover:not(.is-active) { box-shadow: inset 0 -8px 0 var(--nz-accent); }

.nz-prices-search { display: flex; align-items: center; gap: 12px; }
.nz-prices-search input[type="search"] {
  font-family: 'Archivo', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--nz-ink);
  background: var(--nz-white);
  border: 1px solid var(--nz-ink);
  border-radius: 0;
  padding: 11px 14px;
  width: 240px;
  outline: none;
  -webkit-appearance: none;
}
.nz-prices-search__count {
  font-size: 13px;
  color: var(--nz-muted);
  white-space: nowrap;
}

.nz-prices-table-wrap { overflow-x: auto; padding-bottom: 72px; }
.nz-prices-table {
  width: 100%;
  min-width: 1080px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.nz-prices-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--nz-ink);
  color: var(--nz-white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding: 13px 14px;
  white-space: nowrap;
  text-align: right;
}
.nz-prices-table thead th.nz-col-left { text-align: left; }
.nz-prices-table thead th.nz-col-center { text-align: center; }
.nz-prices-table .nz-brand-row th {
  background: var(--nz-surface-alt);
  border-bottom: 3px solid var(--nz-ink);
  text-align: left;
  padding: 22px 14px 12px;
}
.nz-brand-row__name {
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.nz-brand-row__count {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--nz-muted);
  margin-left: 12px;
}
.nz-prices-table tbody tr.nz-model-row { border-bottom: 1px solid var(--nz-divider); }
.nz-prices-table tbody tr.nz-model-row:hover { background: var(--nz-row-hover); }
.nz-prices-table td {
  text-align: right;
  font-size: 14px;
  color: var(--nz-text-3);
  padding: 12px 14px;
}
.nz-prices-table td.nz-cell-model {
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--nz-ink);
}
.nz-prices-table td.nz-cell-model a { text-decoration: none; color: inherit; }
.nz-prices-table td.nz-cell-model a:hover { box-shadow: inset 0 -7px 0 var(--nz-accent); }
.nz-prices-table td.nz-cell-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--nz-ink);
  white-space: nowrap;
}
.nz-prices-table td.nz-cell-engine { text-align: left; white-space: nowrap; }
.nz-prices-table td.nz-cell-center { text-align: center; }
.nz-prices-table td.nz-cell-drive {
  text-align: center;
  font-weight: 700;
  color: var(--nz-ink);
}
.nz-prices-empty {
  padding: 56px 14px;
  text-align: center;
  font-size: 16px;
  color: var(--nz-text-2);
}

/* ---------- Legend ---------- */

.nz-legend {
  background: var(--nz-surface-alt);
  border-top: 1px solid var(--nz-border);
}
.nz-legend__inner {
  padding-top: 56px;
  padding-bottom: 56px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.nz-legend__inner .nz-chip { align-self: flex-start; font-size: 12px; letter-spacing: 0.2em; }
.nz-legend__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px 32px;
}
.nz-legend__entry {
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-top: 2px solid var(--nz-ink);
  padding-top: 10px;
}
.nz-legend__term { font-size: 12px; font-weight: 800; letter-spacing: 0.14em; }
.nz-legend__def { font-size: 14px; line-height: 1.5; color: var(--nz-text-2); }

/* ---------- Generic content (index / page / single fallbacks) ---------- */

.nz-content {
  padding-top: 64px;
  padding-bottom: 96px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.nz-content h1 {
  margin: 0;
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.nz-content .entry-content,
.nz-content .nz-archive-list { font-size: 16px; line-height: 1.6; color: var(--nz-text-3); max-width: 760px; }
.nz-archive-list { display: flex; flex-direction: column; }
.nz-archive-list a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  border-top: 1px solid var(--nz-divider-2);
  padding: 18px 0;
}
.nz-archive-list a .nz-hl { color: var(--nz-ink); font-size: 19px; font-weight: 700; line-height: 1.3; align-self: flex-start; }
.nz-archive-list a:hover .nz-hl { box-shadow: inset 0 -8px 0 var(--nz-accent); }
.nz-archive-list .nz-feed__item-meta { font-size: 13px; }

/* Fuel-type badges — text chips per the design's no-icons rule. */
.nz-fuel-badge {
  display: inline-block;
  vertical-align: 2px;
  margin-left: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 2px 6px;
  white-space: nowrap;
}
.nz-fuel-badge--ev { background: var(--nz-accent); color: var(--nz-ink); }
.nz-fuel-badge--phev,
.nz-fuel-badge--hybrid { border: 1px solid var(--nz-ink); color: var(--nz-ink); }
h1 .nz-fuel-badge { font-size: 13px; padding: 4px 10px; vertical-align: middle; }

/* Review photo on the vehicle page */
.nz-vehicle-photo img {
  display: block;
  width: min(720px, 100%);
  height: auto;
}

/* Single vehicle spec sheet */
.nz-vehicle-specs {
  border-collapse: collapse;
  min-width: min(560px, 100%);
  font-variant-numeric: tabular-nums;
}
.nz-vehicle-specs th,
.nz-vehicle-specs td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--nz-divider);
  font-size: 15px;
}
.nz-vehicle-specs th {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nz-muted);
}

/* ---------- Responsive reflow ----------
   The handoff specifies desktop-first reflow only; no layout below ~700px is
   designed. These breakpoints are a conservative usability baseline (stacking
   only, no redesign). A proper mobile design pass is still required — see the
   loader instructions. */

@media (max-width: 980px) {
  .nz-hero { grid-template-columns: minmax(0, 1fr); }
  .nz-hero__cover-wrap { justify-self: start; }
  .nz-hero__cover { width: min(320px, 60vw); height: min(430px, 80vw); }
  .nz-instagrid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .nz-container { padding-left: 32px; padding-right: 32px; }
  .nz-container--wide { padding-left: 24px; padding-right: 24px; }
  .nz-header { padding: 18px 24px; }
  .nz-feeds { grid-template-columns: minmax(0, 1fr); }
  .nz-tiers { grid-template-columns: minmax(240px, 340px); }
  .nz-tier--popular { transform: none; }
  .nz-contact__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  .nz-container,
  .nz-container--wide { padding-left: 18px; padding-right: 18px; }
  .nz-header { padding: 14px 18px; }
  .nz-instagrid { grid-template-columns: repeat(2, 1fr); }
  .nz-prices-search input[type="search"] { width: 100%; }
  .nz-prices-search { width: 100%; }
}
