/* =========================================================================
   paultan.org × Carro — "How much has your car depreciated?" funnel
   Angle: fear-of-loss + market timing. Theme: dark market-data / analytics
   "terminal" — deep charcoal, a downward DEPRECIATION CURVE line chart with
   gridlines + animated declining line + a "you are here" point, and a subtle
   ticker strip. IBM Plex Sans (display/UI) + IBM Plex Mono (figures/labels).
   Red/amber "loss" accent, small green counterpoint for "today's value".
   Shares sell-landing.js — every JS hook (ids, .step, .step-progress,
   .sell-flow__thankyou, .faq-tab, [data-centre-*], .tac-dialog, .mobile-cta)
   is preserved and restyled here.
   ========================================================================= */

:root {
  /* terminal surfaces */
  --bg: #07090d;
  --bg-2: #0a0d12;
  --panel: #0e1218;
  --panel-2: #11161e;
  --panel-3: #161c26;
  --line: #1d2430;
  --line-soft: #161b23;
  --grid: rgba(255, 255, 255, 0.045);

  /* type colours */
  --hi: #eef1f4;
  --lo: #8b95a3;
  --lo-2: #5e6775;

  /* accents — loss vs. today */
  --loss: #ff4d4d;
  --loss-deep: #c9362f;
  --amber: #f5a623;
  --amber-deep: #c47f12;
  --gain: #34d399;
  --gain-deep: #1f9e74;

  /* CTA = brand red */
  --red: #ea2127;
  --red-bright: #ff3b41;
  --red-ink: #ffffff;

  --ring: rgba(245, 166, 35, 0.5);
  --ring-red: rgba(234, 33, 39, 0.5);
  --ring-gain: rgba(52, 211, 153, 0.45);

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 18px;

  --container: 1220px;

  --display: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", "Liberation Mono", monospace;

  --t-fast: 0.16s cubic-bezier(0.4, 0, 0.2, 1);
  --t: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --t-spring: 0.5s cubic-bezier(0.22, 1, 0.36, 1);

  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.4),
    0 30px 60px -28px rgba(0, 0, 0, 0.8);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--hi);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* faint terminal grid behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.6;
  mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
}

body > * { position: relative; z-index: 1; }

img, svg { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; }

a {
  color: var(--amber);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color var(--t-fast);
}
a:hover { color: var(--amber-deep); }

::selection { background: var(--loss); color: #fff; }

/* loss / gain / flat data tints (reused in ticker, chart head, readouts) */
.dp-down { color: var(--loss); }
.dp-up { color: var(--gain); }
.dp-flat { color: var(--lo); }

/* ----------------------------- a11y ----------------------------- */

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 10000;
  padding: 0.75rem 1rem;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: var(--radius-sm);
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--ring);
  border-radius: var(--radius-sm);
}

/* ----------------------------- header ----------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 9, 13, 0.78);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
}

.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.site-header__pt { display: inline-flex; align-items: center; flex-shrink: 0; }
.site-header__pt img { height: 30px; width: auto; }

.site-header__tail {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-left: auto;
  flex-shrink: 0;
}

.site-header__partnership { display: flex; align-items: center; gap: 0.7rem; }

.site-header__eyebrow {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lo-2);
}

.site-header__carro { display: inline-flex; align-items: center; flex-shrink: 0; }
.site-header__carro img { height: 22px; width: auto; }

@media (max-width: 460px) { .site-header__partnership { display: none; } }

@media (min-width: 768px) {
  .site-header__inner { padding: 0.85rem 1.75rem; gap: 1rem; }
  .site-header__pt img { height: 34px; }
  .site-header__carro img { height: 25px; }
}

/* ----------------------------- generic section ----------------------------- */

.section-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 3.25rem 1.25rem;
}
@media (min-width: 768px) {
  .section-inner { padding: 5rem 1.75rem; }
}

.section-eyebrow {
  margin: 0 0 0.85rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}

.section-title {
  margin: 0 0 2.25rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.6rem, 4.2vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--hi);
  text-wrap: balance;
}
.section-title em {
  font-style: normal;
  color: var(--amber);
}

/* ===================================================================
   HERO STAGE — market-data terminal
   =================================================================== */

.dp-stage {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1000px 500px at 8% -10%, rgba(255, 77, 77, 0.14), transparent 60%),
    radial-gradient(900px 600px at 100% 0%, rgba(245, 166, 35, 0.1), transparent 58%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 62%, var(--bg) 100%);
  border-bottom: 1px solid var(--line-soft);
}

/* ---- ticker strip ---- */
.dp-ticker {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}
.dp-ticker__track {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  padding: 0.55rem 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lo);
  will-change: transform;
  animation: tickerScroll 34s linear infinite;
}
.dp-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.dp-ticker__item::before {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--lo-2);
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.dp-ticker:hover .dp-ticker__track { animation-play-state: paused; }

.landing-top {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 992px) {
  .landing-top {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    grid-template-areas:
      "headline headline"
      "hero form";
    column-gap: 3rem;
    row-gap: 2.5rem;
    align-items: start;
    padding: 3.5rem 1.75rem 4.5rem;
  }
  .landing-headline { grid-area: headline; }
  .landing-hero { grid-area: hero; }
  .landing-form-wrap { grid-area: form; }
  .hero__brk { display: none; }
}

.landing-headline { position: relative; }
.landing-hero { position: relative; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.4rem;
  padding: 0.4rem 0.9rem 0.4rem 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hi);
}

.hero__dot {
  position: relative;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--loss);
}
.hero__dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid var(--loss);
  animation: pulseRing 2.4s ease-out infinite;
}
@keyframes pulseRing {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(1.8); opacity: 0; }
}

.hero__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--hi);
}
.hero__title em {
  font-style: normal;
  font-weight: 700;
  color: var(--loss);
  position: relative;
  white-space: nowrap;
}
.hero__title em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -0.04em;
  height: 2px;
  background: linear-gradient(90deg, var(--loss), var(--amber));
}

.hero__lead {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--lo);
  max-width: 48ch;
}
.hero__lead strong { color: var(--hi); font-weight: 600; }

/* ---- the depreciation chart ---- */
.hero__chart {
  margin-top: 1.7rem;
  max-width: 460px;
}
@media (min-width: 992px) {
  .hero__chart { margin-top: 2rem; }
}

.chart {
  position: relative;
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem 1rem 1rem;
  box-shadow: var(--shadow-card);
}
.chart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.6rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.chart__head-label { color: var(--lo); }
.chart__head-tag { font-weight: 500; }

.chart__svg { width: 100%; height: auto; overflow: visible; }

.chart__grid line { stroke: var(--grid); stroke-width: 1; }
.chart__axis { stroke: var(--line); stroke-width: 1.5; }
.chart__lbl {
  fill: var(--lo-2);
  font-family: var(--mono);
  font-size: 11px;
  text-anchor: end;
}
.chart__lbl--x { text-anchor: middle; }

.chart__area {
  fill: url(#dpArea);
  opacity: 0;
  animation: areaFade 1.3s ease 1.2s forwards;
}
@keyframes areaFade { to { opacity: 1; } }

.chart__line {
  fill: none;
  stroke: url(#dpLine);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 1px 6px rgba(255, 77, 77, 0.45));
  stroke-dasharray: 520;
  stroke-dashoffset: 520;
  animation: drawLine 1.8s cubic-bezier(0.65, 0, 0.35, 1) 0.3s forwards;
}
@keyframes drawLine { to { stroke-dashoffset: 0; } }

.chart__here-rule {
  stroke: var(--amber);
  stroke-width: 1;
  stroke-dasharray: 3 4;
  opacity: 0;
  animation: hereFade 0.5s ease 1.7s forwards;
}
.chart__here-halo {
  fill: var(--gain);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: hereHalo 2s ease-out 1.9s infinite;
}
.chart__here-dot {
  fill: var(--gain);
  stroke: var(--bg);
  stroke-width: 2.5;
  opacity: 0;
  animation: hereFade 0.4s ease 1.9s forwards;
}
@keyframes hereFade { to { opacity: 1; } }
@keyframes hereHalo {
  0% { opacity: 0.45; transform: scale(0.5); }
  100% { opacity: 0; transform: scale(2.1); }
}

.chart__readout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 0.7rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
}
.chart__readout-cell { display: flex; flex-direction: column; gap: 0.2rem; }
.chart__readout-k {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lo-2);
}
.chart__readout-v {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--hi);
}
.chart__readout-v--now { color: var(--gain); }
.chart__readout-v--now span { color: var(--gain); }

/* ===================================================================
   FORM CARD — dark instrument panel
   =================================================================== */

.landing-form-wrap {
  scroll-margin-top: 5.5rem;
  position: relative;
}
.landing-form-wrap::before {
  content: "";
  position: absolute;
  inset: -14% -8%;
  background: radial-gradient(closest-side, rgba(245, 166, 35, 0.1), transparent 75%);
  z-index: -1;
  pointer-events: none;
}

.form-card {
  position: relative;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  color: var(--hi);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: 1.5rem 1.35rem 1.65rem;
  overflow: hidden;
}
.form-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--loss), var(--amber) 65%, var(--gain));
}
@media (min-width: 768px) {
  .form-card { padding: 2rem 2rem 2.1rem; }
}

.form-card__head { margin-bottom: 1.35rem; }
.form-card__kicker {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 0.55rem;
}
.form-card__title {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--hi);
}
.form-card__subtitle {
  margin: 0;
  font-size: 0.95rem;
  color: var(--lo);
}

/* step progress */
.step-progress {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.step-progress__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem 0.4rem 0.45rem;
  background: var(--panel-3);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--lo);
  transition: all var(--t-fast);
}
.step-progress__num {
  width: 24px; height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--lo);
}
.step-progress__pill.is-active {
  border-color: var(--amber);
  color: var(--hi);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.12);
}
.step-progress__pill.is-active .step-progress__num {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--bg);
}
.step-progress__pill.is-done {
  background: rgba(52, 211, 153, 0.1);
  border-color: var(--gain-deep);
  color: var(--hi);
}
.step-progress__pill.is-done .step-progress__num {
  background: var(--gain);
  border-color: var(--gain);
  color: var(--bg);
}
.step-progress__bar {
  flex: 1;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.step-progress__bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--amber), var(--gain));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.step-progress[data-step="2"] .step-progress__bar::after { transform: scaleX(1); }

@media (max-width: 380px) {
  .step-progress__label { display: none; }
  .step-progress__pill { padding: 0.4rem; }
}

/* fieldsets / steps */
.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.step[hidden] { display: none; }
.step.is-active { animation: stepIn 0.32s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes stepIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.sell-form-grid { display: grid; gap: 0.95rem; }
@media (min-width: 600px) {
  .sell-form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.1rem;
    align-items: start;
  }
  .sell-form-grid .form-group--full { grid-column: 1 / -1; }
}

.form-group { margin: 0; min-width: 0; }
.form-group label {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 0.45rem;
  color: var(--lo);
}
.form-group .field-hint {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.78rem;
  color: var(--lo-2);
}

.form-control {
  width: 100%;
  padding: 0.78rem 0.9rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--hi);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  min-height: 50px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.form-control::placeholder { color: var(--lo-2); }
.form-control:hover:not(:disabled) { border-color: #2c3645; }
.form-control:focus,
.form-control:focus-visible {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.18);
}
.form-control:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #0c0f14;
}

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%238b95a3' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 14px 10px;
  padding-right: 2.4rem;
}
select.form-control option { background: var(--panel); color: var(--hi); }

.form-consent {
  margin: 1.2rem 0 0;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--lo-2);
}
.form-consent a { color: var(--amber); text-decoration: underline; text-underline-offset: 2px; }
.form-consent a:hover { color: var(--loss); }

/* buttons */
.btn-primary, .btn-ghost {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  border-radius: var(--radius-sm);
  min-height: 52px;
  padding: 0.85rem 1.3rem;
  transition: background var(--t-fast), border-color var(--t-fast),
    color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.btn-primary {
  position: relative;
  background: var(--red);
  color: var(--red-ink);
  border: 1px solid var(--red);
  box-shadow: 0 8px 22px -8px rgba(234, 33, 39, 0.6);
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: skewX(-18deg);
  transition: left 0.6s ease;
}
.btn-primary:hover { background: var(--red-bright); border-color: var(--red-bright); }
.btn-primary:hover::after { left: 130%; }
.btn-primary:active { transform: translateY(1px); }
.btn-primary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--ring-red), 0 8px 22px -8px rgba(234, 33, 39, 0.6);
}
.btn-primary--block { width: 100%; }

.btn-ghost {
  background: transparent;
  color: var(--hi);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--panel-3); border-color: #2c3645; }

.step-actions {
  margin-top: 1.4rem;
  display: flex;
  justify-content: flex-end;
}
.step-actions .btn-primary { width: 100%; }
@media (min-width: 600px) {
  .step-actions .btn-primary { width: auto; min-width: 190px; }
}
.step-actions--split { justify-content: space-between; gap: 0.75rem; }
.step-actions--split .btn-ghost { flex: 0 0 auto; }
.step-actions--split .btn-primary { flex: 1 1 auto; width: auto; }
@media (min-width: 600px) {
  .step-actions--split .btn-primary { flex: 0 0 auto; min-width: 210px; }
}

/* sell-flow + thank-you overlay */
.sell-flow { position: relative; min-height: 220px; }
.sell-flow__thankyou {
  display: none;
  position: absolute;
  inset: -0.5rem;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  z-index: 3;
  color: var(--hi);
  border-radius: var(--radius);
}
.sell-flow__thankyou.is-visible {
  display: flex;
  animation: stepIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.sell-flow__thankyou svg { color: var(--gain); margin-bottom: 0.9rem; }
.sell-flow__thankyou h2 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}
.sell-flow__thankyou p {
  margin: 0;
  font-size: 0.96rem;
  color: var(--lo);
  max-width: 38ch;
}

/* ===================================================================
   HOW IT WORKS
   =================================================================== */

.section-steps {
  background: var(--panel);
  border-bottom: 1px solid var(--line-soft);
}

.steps-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}
@media (min-width: 820px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 1.35rem; }
}

.step-card {
  position: relative;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem 1.5rem;
  overflow: hidden;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.step-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, var(--amber), transparent 55%);
  opacity: 0.6;
}
.step-card:hover {
  transform: translateY(-4px);
  border-color: #2c3645;
  box-shadow: 0 24px 48px -28px rgba(0, 0, 0, 0.85);
}
.step-card__num {
  display: block;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: 0.05em;
  color: var(--amber);
  margin-bottom: 0.9rem;
}
.step-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--sans);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--hi);
}
.step-card p { margin: 0; font-size: 0.94rem; color: var(--lo); }

/* ===================================================================
   TRUST
   =================================================================== */

.section-trust {
  background:
    radial-gradient(800px 400px at 85% 0%, rgba(255, 77, 77, 0.08), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--line-soft);
}
.section-trust .section-eyebrow { color: var(--amber); }

.trust-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}
@media (min-width: 820px) {
  .trust-grid { grid-template-columns: repeat(3, 1fr); gap: 1.35rem; }
}

.trust-tile {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem 1.5rem;
  overflow: hidden;
  transition: border-color var(--t), background var(--t);
}
.trust-tile:hover { border-color: #2c3645; background: rgba(255, 255, 255, 0.035); }
.trust-tile__accent {
  position: absolute;
  top: 0; left: 1.5rem;
  width: 40px; height: 3px;
  background: var(--amber);
  border-radius: 0 0 3px 3px;
}
.trust-tile h3 {
  margin: 0.6rem 0 0.55rem;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--hi);
}
.trust-tile p { margin: 0; font-size: 0.94rem; color: var(--lo); }

/* ===================================================================
   SIGNALS — "six moments where waiting costs more"
   Card grid that mirrors the trust-tile rhythm but leans into the
   page's red/loss accent to reinforce the timing-cost message.
   =================================================================== */

.section-signals {
  background:
    radial-gradient(900px 480px at 15% 0%, rgba(255, 77, 77, 0.07), transparent 65%),
    var(--panel);
  border-bottom: 1px solid var(--line-soft);
}
.section-signals .section-eyebrow { color: var(--loss); }

.section-lead {
  max-width: 64ch;
  margin: 0 0 2rem;
  color: var(--lo);
  font-size: 1rem;
  line-height: 1.55;
}

.signals-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
@media (min-width: 720px) {
  .signals-grid { grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
}
@media (min-width: 1080px) {
  .signals-grid { grid-template-columns: repeat(3, 1fr); }
}

.signal-card {
  position: relative;
  background: rgba(255, 77, 77, 0.022);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem 1.4rem;
  overflow: hidden;
  transition: border-color var(--t), background var(--t), transform var(--t);
}
.signal-card::before {
  content: "";
  position: absolute;
  top: 0; left: 1.5rem;
  width: 44px; height: 3px;
  background: var(--loss);
  border-radius: 0 0 3px 3px;
}
.signal-card:hover {
  border-color: rgba(255, 77, 77, 0.35);
  background: rgba(255, 77, 77, 0.048);
}
.signal-card__num {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  color: var(--loss);
  margin: 0.4rem 0 0.65rem;
}
.signal-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--hi);
}
.signal-card p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--lo);
  line-height: 1.55;
}

/* ===================================================================
   CHECKS — "what buyers actually check"
   Denser two-column checklist; amber dot markers signal the shift
   from urgency (signals) to transparency / decision-aid.
   =================================================================== */

.section-checks {
  background: var(--bg);
  border-bottom: 1px solid var(--line-soft);
}
.section-checks .section-eyebrow { color: var(--amber); }

.checks-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 820px) {
  .checks-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem 1.6rem; }
}

.check-item {
  display: flex;
  gap: 0.95rem;
  align-items: flex-start;
  padding: 1.05rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.015);
  transition: border-color var(--t), background var(--t);
}
.check-item:hover {
  border-color: #2c3645;
  background: rgba(255, 255, 255, 0.03);
}
.check-item__tick {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 0.2rem;
  border-radius: 50%;
  border: 1px solid rgba(245, 166, 35, 0.55);
  background:
    radial-gradient(circle at 50% 50%, var(--amber) 0 35%, transparent 36%);
}
.check-item__body { flex: 1; min-width: 0; }
.check-item__body h3 {
  margin: 0 0 0.32rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--hi);
}
.check-item__body p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--lo);
  line-height: 1.55;
}

/* ===================================================================
   FAQ
   =================================================================== */

.section-faq { background: var(--panel); border-bottom: 1px solid var(--line-soft); }

.faq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
}

.faq-tab {
  flex: 0 0 auto;
  padding: 0.55rem 1.05rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  background: transparent;
  color: var(--lo);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.faq-tab:hover { border-color: #2c3645; color: var(--hi); }
.faq-tab.is-active {
  background: var(--amber);
  color: var(--bg);
  border-color: var(--amber);
  font-weight: 500;
}
.faq-tab:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--ring); }

/* On small screens the variable-width chips wrap unevenly and orphan the last
   one; a fixed 2-column grid keeps the six pills as a tidy 3x2 block with no
   horizontal scroll. */
@media (max-width: 600px) {
  .faq-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  .faq-tab {
    padding: 0.6rem 0.75rem;
    text-align: center;
    white-space: normal;
  }
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 0.65rem;
  background: rgba(255, 255, 255, 0.015);
  transition: border-color var(--t-fast), background var(--t-fast);
}
.faq-list details[hidden] { display: none; }
.faq-list details:hover { border-color: #2c3645; }
.faq-list details[open] {
  border-color: var(--amber-deep);
  background: rgba(245, 166, 35, 0.05);
}
.faq-list summary {
  position: relative;
  padding: 1.05rem 2.9rem 1.05rem 1.15rem;
  font-weight: 600;
  font-size: 0.97rem;
  cursor: pointer;
  list-style: none;
  color: var(--hi);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 1.2rem; top: 50%;
  width: 9px; height: 9px;
  border-right: 2px solid var(--lo);
  border-bottom: 2px solid var(--lo);
  transform: translateY(-65%) rotate(45deg);
  transition: transform var(--t-fast), border-color var(--t-fast);
}
.faq-list details[open] summary::after {
  transform: translateY(-25%) rotate(-135deg);
  border-color: var(--amber);
}
.faq-list .faq-answer {
  padding: 0 1.15rem 1.15rem;
  font-size: 0.93rem;
  color: var(--lo);
  margin: 0;
  line-height: 1.65;
}

/* ===================================================================
   INSPECTION CENTRES
   =================================================================== */

.section-centres { background: var(--bg); border-bottom: 1px solid var(--line-soft); }

.centres-head {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}
.centres-head .section-title { margin-bottom: 0; }
.centres-head__copy { margin: 0; color: var(--lo); max-width: 56ch; }
@media (min-width: 880px) {
  .centres-head {
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.78fr);
    align-items: end;
    gap: 2.5rem;
  }
}

.centre-filter { max-width: 36rem; margin-bottom: 1.1rem; }
.centre-filter label {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lo);
}
.centre-filter .form-control {
  background: var(--panel-2);
  color: var(--hi);
  border-color: var(--line);
}
.centre-filter .form-control::placeholder { color: var(--lo-2); }
.centre-filter .form-control:hover:not(:disabled) { border-color: #2c3645; }
.centre-filter .form-control:focus { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.18); }

.centre-groups { display: grid; gap: 0.7rem; }
.centre-group {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}
.centre-group[hidden] { display: none; }
.centre-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.15rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--hi);
  list-style: none;
}
.centre-group summary::-webkit-details-marker { display: none; }
.centre-group summary span:last-child {
  flex-shrink: 0;
  color: var(--amber);
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}
.centre-grid {
  display: grid;
  gap: 0.7rem;
  padding: 0 1.15rem 1.15rem;
}
@media (min-width: 720px) {
  .centre-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.centre-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 1rem 1.05rem;
}
.centre-card[hidden] { display: none; }
.centre-card h3 { margin: 0 0 0.4rem; font-size: 0.96rem; line-height: 1.3; color: var(--hi); }
.centre-card p { margin: 0; color: var(--lo); font-size: 0.88rem; }
.centre-empty { margin: 1.1rem 0 0; color: var(--lo); font-weight: 600; }
.centre-empty[hidden] { display: none; }

/* ===================================================================
   FOOTER
   =================================================================== */

.site-footer { background: var(--panel); border-top: 1px solid var(--line-soft); }
.site-footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 2.75rem 1.25rem 3rem;
}
@media (min-width: 768px) {
  .site-footer__inner { padding: 3.25rem 1.75rem 3.5rem; }
}
.site-footer__brands {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  align-items: flex-start;
  padding-bottom: 1.75rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
}
.site-footer__brand p {
  margin: 0 0 0.55rem;
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--lo-2);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.site-footer__brand a { display: inline-block; }
.site-footer__brand--pt img { height: 34px; width: auto; }
.site-footer__brand--carro img { height: 26px; width: auto; }
@media (min-width: 768px) {
  .site-footer__brand--pt img { height: 38px; }
  .site-footer__brand--carro img { height: 29px; }
}
.site-footer__copy p {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  color: var(--lo);
  max-width: 72ch;
}
.site-footer__copy strong { color: var(--hi); }
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.95rem;
  align-items: center;
  margin-top: 1rem !important;
}
.site-footer__links a {
  color: var(--hi);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
}
.site-footer__links a:hover { color: var(--amber); }
.site-footer__links span { color: var(--lo-2); }

/* ===================================================================
   MOBILE STICKY CTA
   =================================================================== */

.mobile-cta {
  position: fixed;
  left: 1rem; right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  background: var(--red);
  color: var(--red-ink);
  border: 1px solid var(--red);
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 14px 30px -8px rgba(234, 33, 39, 0.55), 0 4px 12px -4px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(120%);
  transition: opacity var(--t), transform var(--t);
  pointer-events: none;
}
.mobile-cta:not([hidden]).is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-cta:hover { background: var(--red-bright); border-color: var(--red-bright); }
.mobile-cta:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--ring-red), 0 14px 30px -8px rgba(234, 33, 39, 0.55);
}
@media (min-width: 768px) { .mobile-cta { display: none !important; } }

/* ===================================================================
   FLOATING WHATSAPP
   =================================================================== */

.wa-float {
  position: fixed;
  right: calc(1rem + env(safe-area-inset-right));
  bottom: calc(5.5rem + env(safe-area-inset-bottom));
  z-index: 62;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem; height: 3.5rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 26px -6px rgba(37, 211, 102, 0.55), 0 4px 12px -4px rgba(0, 0, 0, 0.4);
  transition: transform var(--t), box-shadow var(--t);
}
.wa-float:hover {
  transform: scale(1.06);
  color: #fff;
  box-shadow: 0 12px 30px -6px rgba(37, 211, 102, 0.6);
}
.wa-float:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.45), 0 10px 26px -6px rgba(37, 211, 102, 0.55);
}
.wa-float__icon { display: block; }
@media (min-width: 768px) {
  .wa-float { bottom: calc(1.25rem + env(safe-area-inset-bottom)); }
}

/* ===================================================================
   TAC DIALOG
   =================================================================== */

.tac-dialog {
  width: calc(100vw - 2rem);
  max-width: 430px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, 0.8);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  color: var(--hi);
}
.tac-dialog::backdrop {
  background: rgba(3, 5, 8, 0.78);
  backdrop-filter: blur(3px);
}
.tac-dialog__inner { position: relative; padding: 1.75rem 1.5rem 1.5rem; }
.tac-dialog__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px; height: 50px;
  background: var(--red);
  color: #fff;
  border-radius: 12px;
  margin-bottom: 0.9rem;
}
.tac-dialog__inner h2 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  padding-right: 2.5rem;
  color: var(--hi);
}
.tac-dialog__close {
  position: absolute;
  top: 0.9rem; right: 0.9rem;
  width: 38px; height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--panel-3);
  border-radius: 8px;
  color: var(--hi);
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.tac-dialog__close:hover { background: var(--bg-2); border-color: #2c3645; }
.tac-dialog__close:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--ring); }
.tac-dialog__desc { font-size: 0.94rem; color: var(--lo); margin: 0 0 1.1rem; }
.tac-alert {
  display: none;
  padding: 0.75rem 0.9rem;
  margin-bottom: 0.9rem;
  font-size: 0.86rem;
  background: rgba(255, 77, 77, 0.1);
  border: 1px solid rgba(255, 77, 77, 0.4);
  border-radius: var(--radius-sm);
  color: #ff9a9a;
}
.tac-alert.is-visible { display: block; }
.tac-dialog #carro-tac {
  letter-spacing: 0.42em;
  text-align: center;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 1.2rem;
  padding-right: 0.9rem;
  margin-bottom: 0.9rem;
}

/* ===================================================================
   ENTRANCE ANIMATIONS (staggered hero reveal)
   =================================================================== */

@keyframes riseIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.landing-headline > *,
.landing-hero > * { animation: riseIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; }
.landing-headline > *:nth-child(1) { animation-delay: 0.05s; }
.landing-headline > *:nth-child(2) { animation-delay: 0.13s; }
.landing-hero > *:nth-child(1) { animation-delay: 0.22s; }
.landing-hero > *:nth-child(2) { animation-delay: 0.3s; }
.landing-form-wrap { animation: riseIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.24s both; }

/* ===================================================================
   REDUCED MOTION
   =================================================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .dp-ticker__track { animation: none !important; }
  .chart__line { stroke-dashoffset: 0 !important; }
  .chart__area { opacity: 1 !important; }
  .chart__here-rule,
  .chart__here-dot { opacity: 1 !important; }
  .chart__here-halo { opacity: 0 !important; }
}

/* ==========================================================================
   model.css additions — programmatic sell-by-model pages reuse the
   depreciation "terminal" colour + font scheme (above). This block adds:
   (1) compatibility aliases so the model template's inline styles, which use
       the older car-value token names (--ink/--gold/--paper…), resolve onto
       the depreciation palette; (2) the model-only components the depreciation
       funnel doesn't have — the hero stage, the valuation gauge, the market
       ticker is styled inline in model.php, and the JPJ registrations chart.
   ========================================================================== */
:root {
  --ink: var(--bg);
  --ink-soft: var(--bg-2);
  --gold: var(--amber);
  --gold-bright: #ffc05a;
  --gold-deep: var(--amber-deep);
  --jade: var(--gain);
  --paper: #0f141b;
  --paper-2: #131922;
  --paper-line: var(--line);
  --paper-line-strong: #2a3340;
  --on-paper: var(--hi);
  --on-paper-soft: #c2c9d2;
  --on-paper-muted: var(--lo);
  --ring-gold: var(--ring);
  --shadow-paper: var(--shadow-card);
}

/* ---- hero stage (matches the depreciation .dp-stage backdrop) ---- */
.cv-stage {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1000px 500px at 8% -10%, rgba(255, 77, 77, 0.12), transparent 60%),
    radial-gradient(900px 600px at 100% 0%, rgba(245, 166, 35, 0.09), transparent 58%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 62%, var(--bg) 100%);
  border-bottom: 1px solid var(--line-soft);
}
.cv-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(1000px 600px at 30% 20%, #000 30%, transparent 78%);
  mask-image: radial-gradient(1000px 600px at 30% 20%, #000 30%, transparent 78%);
}
.cv-stage > * { position: relative; }

/* ---- valuation gauge instrument ---- */
.hero__gauge { margin-top: 1.7rem; max-width: 440px; }
@media (min-width: 992px) { .hero__gauge { margin-top: 2rem; } }
.gauge { position: relative; width: 100%; }
.gauge svg { width: 100%; height: auto; overflow: visible; }
.gauge__track { fill: none; stroke: var(--line); stroke-width: 14; stroke-linecap: round; }
.gauge__fill {
  fill: none;
  stroke: url(#gaugeGrad);
  stroke-width: 14;
  stroke-linecap: round;
  stroke-dasharray: 503;
  stroke-dashoffset: 503;
  filter: drop-shadow(0 0 6px rgba(245, 166, 35, 0.45));
  animation: gaugeFill 2s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
}
@keyframes gaugeFill { to { stroke-dashoffset: 196; } }
.gauge__tick { stroke: var(--lo-2); stroke-width: 2; stroke-linecap: round; }
.gauge__tick--major { stroke: #5e6775; stroke-width: 2.5; }
.gauge__ticklabel { fill: var(--lo-2); font-family: var(--mono); font-size: 13px; text-anchor: middle; }
.gauge__needle {
  transform-origin: 200px 200px;
  transform: rotate(-90deg);
  animation: needleSweep 2.1s cubic-bezier(0.34, 1.3, 0.5, 1) 0.4s forwards;
}
@keyframes needleSweep {
  0% { transform: rotate(-90deg); }
  70% { transform: rotate(35deg); }
  85% { transform: rotate(20deg); }
  100% { transform: rotate(26deg); }
}
.gauge__needle-line { stroke: var(--loss); stroke-width: 4; stroke-linecap: round; }
.gauge__hub { fill: var(--bg); stroke: var(--loss); stroke-width: 4; }
.gauge__readout { margin: -0.25rem auto 0; padding-top: 0.7rem; max-width: 16rem; text-align: center; border-top: 1px solid var(--line); }
.gauge__readout-label { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--lo-2); }
.gauge__readout-value { font-family: var(--mono); font-weight: 500; font-size: clamp(1.35rem, 4vw, 1.9rem); letter-spacing: 0.02em; color: var(--hi); margin-top: 0.25rem; }
.gauge__readout-value span { color: var(--amber); letter-spacing: 0.06em; }
@media (prefers-reduced-motion: reduce) {
  .gauge__fill { stroke-dashoffset: 196; }
  .gauge__needle { transform: rotate(26deg); }
}

/* ---- JPJ registrations chart + facts ---- */
.jpj-lead { margin: 0 0 1.6rem; max-width: 62ch; color: var(--lo); font-size: 1.05rem; }
.jpj-lead strong { color: var(--hi); font-weight: 700; }
.jpj-grid { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .jpj-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: stretch; } }
.jpj-chart-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem 0.9rem; }
.jpj-chart-title { margin: 0 0 0.8rem; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lo-2); }
.jpj-chart { display: block; width: 100%; height: auto; }
.jpj-bar { fill: #2f3a48; opacity: 1; }
.jpj-bar--peak { fill: var(--amber); }
.jpj-bar--partial { opacity: 0.4; }
.jpj-axis { font-family: var(--mono); font-size: 11px; fill: var(--lo-2); }
.jpj-axis--end { text-anchor: end; }
.jpj-chart-foot { margin: 0.55rem 0 0; font-size: 0.8rem; color: var(--lo-2); }
.jpj-chart-foot strong { color: var(--amber); font-weight: 700; }
.jpj-facts { margin: 0; padding: 0; list-style: none; display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.jpj-fact { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: 0.3rem; }
.jpj-fact__num { font-family: var(--display); font-weight: 700; font-size: clamp(1.45rem, 3.4vw, 1.9rem); line-height: 1; letter-spacing: -0.01em; color: var(--amber); }
.jpj-fact__label { font-size: 0.85rem; color: var(--lo); line-height: 1.45; }
.jpj-note { margin: 1.4rem 0 0; font-size: 0.82rem; color: var(--lo-2); max-width: 78ch; }
.jpj-note a { color: var(--amber); text-decoration: underline; text-underline-offset: 2px; }
.jpj-note a:hover { color: var(--amber-deep); }
