@font-face {
  font-family: 'Saans';
  src: url('../fonts/Saans-Heavy.subset.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
/* ============================================================
   OXON × Cat dealer landing page
   Built from "OXON Dealer Landing - Wireframes.dc.html", option 3a
   (dark hi-fi: black, Cat yellow, Saans Heavy).
   ============================================================ */



:root {
  --bg:        #0a0a0a;
  --bg-alt:    #0f0f0f;
  --panel:     #111;
  --panel-alt: #131313;
  --yellow:    #FFC72C;   /* Cat yellow */
  --line:      rgba(255, 255, 255, .09);
  --line-soft: rgba(255, 255, 255, .07);
  --text:      #fff;
  --text-70:   rgba(255, 255, 255, .75);
  --text-60:   rgba(255, 255, 255, .62);
  --text-50:   rgba(255, 255, 255, .5);
  --text-40:   rgba(255, 255, 255, .4);
  --text-30:   rgba(255, 255, 255, .3);

  --display: Saans, 'Archivo Black', Archivo, system-ui, sans-serif;
  --sans:    Archivo, system-ui, -apple-system, sans-serif;
  --mono:    ui-monospace, SFMono-Regular, Menlo, monospace;

  --pad: clamp(20px, 4vw, 56px);
  --max: 1360px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }

.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;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--yellow); color: #0a0a0a;
  padding: 10px 16px; font: 600 13px var(--sans); text-decoration: none;
}
.skip-link:focus { left: 8px; top: 8px; }

:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }

/* ---------- shared bits ---------- */
.eyebrow {
  font: 600 9.5px var(--mono);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--yellow);
}
.panel-label {
  font: 600 10px var(--mono);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--yellow);
}
.panel-label--quiet { color: var(--text-50); }
.accent { color: var(--yellow); }
.unit { font: 400 10px var(--mono); color: var(--text-40); }

.btn {
  display: inline-block;
  border: 0; border-radius: 4px;
  padding: 10px 18px;
  font: 600 10.5px var(--sans);
  letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; text-align: center;
  cursor: pointer;
  transition: background-color .15s ease, transform .15s ease;
}
.btn--primary { background: var(--yellow); color: #0a0a0a; }
.btn--primary:hover { background: #ffd45c; }
.btn--primary:active { transform: translateY(1px); }
.btn--block { width: 100%; padding: 13px; }

.section {
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(44px, 6vw, 68px) var(--pad);
}
.section__title {
  font: 800 clamp(26px, 3.4vw, 38px)/1 var(--display);
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.section__body {
  font: 400 14px/1.65 var(--sans);
  color: var(--text-60);
  max-width: 44ch;
}

/* placeholder slots kept from the wireframe until real assets land */
.logo-slot {
  display: grid; place-items: center;
  width: 70px; height: 22px;
  border: 1px dashed rgba(255, 255, 255, .2);
  border-radius: 3px;
  font: 500 7px var(--mono);
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255, 255, 255, .35);
}
.logo-slot--wide { width: 80px; height: 26px; }

/* ---------- co-brand strip ---------- */
.cobrand {
  background: var(--bg);
  border-bottom: 1px solid var(--line-soft);
}
.cobrand__inner {
  max-width: var(--max); margin-inline: auto;
  padding: 20px var(--pad);
  display: flex; align-items: center; justify-content: center;
  gap: clamp(20px, 5vw, 64px);
  flex-wrap: wrap;
}
.cobrand__logo { width: auto; }
.cobrand__logo--oxon      { height: clamp(30px, 4.4vw, 56px); }
.cobrand__logo--cleanburn {
  height: clamp(28px, 4.1vw, 52px);
  border: 1px solid #fff;
}
.cobrand__logo--dealer {
  height: clamp(26px, 3.8vw, 48px);
  border: 3px solid #fff;   /* 3x the Clean Burn rule */
}
.cobrand__rule { display: none; }

/* ---------- sticky nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(15, 15, 15, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav__inner {
  max-width: var(--max); margin-inline: auto;
  padding: 12px var(--pad);
  display: flex; align-items: center; gap: 10px;
}
.nav__pills {
  display: flex; gap: 10px; flex: 1;
  overflow-x: auto; scrollbar-width: none;
}
.nav__pills::-webkit-scrollbar { display: none; }
.pill {
  display: block; white-space: nowrap;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 99px;
  font: 600 10px var(--sans);
  letter-spacing: .09em; text-transform: uppercase;
  color: var(--text-60); text-decoration: none;
  transition: color .15s ease, border-color .15s ease;
}
.pill:hover { color: var(--text); border-color: rgba(255, 255, 255, .3); }
.pill[aria-current="true"] { color: var(--yellow); border-color: var(--yellow); }
.nav__cta { flex: none; padding: 8px 16px; }

/* ---------- hero ---------- */
.hero {
  --hero-media-w: min(52vw, 690px);
  --hero-gutter: clamp(24px, 3vw, 44px);   /* between the copy and the photo */
  --hero-top-gap: clamp(18px, 2.2vw, 34px); /* black above the photo */
  --hero-bottom-gap: clamp(28px, 3.2vw, 52px);
  /* distance from the viewport edge in to the page margin, so the photo's
     right edge lands on the same line as the cards below it */
  --hero-inset: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad)));

  position: relative;
  overflow: hidden;
  background: var(--bg);
  display: flex;
  align-items: center;
  min-height: calc(var(--hero-top-gap) + var(--hero-media-w) / 2.25 + var(--hero-bottom-gap));
}
.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(24px, 3vw, 40px) var(--pad);
}
.hero__lead {
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  width: calc(100% - var(--hero-media-w) - var(--hero-gutter));
  text-align: left;
}
/* Same width for both, so their left edges line up. */
.hero__title, .hero__body { width: 100%; max-width: 520px; }
.hero__title {
  font: 800 clamp(38px, 5.2vw, 70px)/.93 var(--display);
  letter-spacing: -.015em;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--yellow);
}
.hero__body {
  font: 400 17px/1.6 var(--sans);
  color: var(--text);
  text-wrap: pretty;
}

/* Inset, not bled: the photo sits inside the page margin like every other
   block, with black above it so it never touches the nav band. */
.hero__media {
  position: absolute;
  top: var(--hero-top-gap);
  right: var(--hero-inset);
  width: var(--hero-media-w);
  aspect-ratio: 9 / 4;   /* 3:2 with the bottom third cropped away */
  border-radius: 10px;
  overflow: hidden;
  z-index: 0;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;   /* keep the machines, lose the foreground */
}
.hero__media--pending {
  background: repeating-linear-gradient(45deg, #141414 0 10px, #111 10px 20px);
}

/* ---------- calculator ---------- */
.calc {
  max-width: var(--max); margin-inline: auto;
  padding: 0 var(--pad) clamp(30px, 4vw, 44px);
  display: grid; gap: 20px;
  grid-template-columns: 1fr 2fr;
  align-items: stretch;
}
.inputs {
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--panel);
  padding: 16px 18px;
  display: flex; flex-direction: column; gap: 14px;
}
.inputs .panel-label {
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  padding-bottom: 8px;
}
.field { display: flex; flex-direction: column; gap: 2px; }
.field__row {
  display: flex; justify-content: space-between;
  align-items: baseline; gap: 12px;
  cursor: pointer;
}
.field__name { font: 400 13px var(--sans); color: var(--text-70); }
.field__value {
  font: 800 16px var(--display);
  letter-spacing: -.01em;
  color: var(--text);
  white-space: nowrap;
}
.field__value--accent { color: var(--yellow); }

/* range slider, styled to the wireframe's dot-on-track */
.field input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 12px;
  margin: 0; background: transparent; cursor: pointer;
}
.field input[type="range"]::-webkit-slider-runnable-track {
  height: 3px; border-radius: 99px;
  background: linear-gradient(to right, var(--yellow) var(--fill, 50%), rgba(255, 255, 255, .13) var(--fill, 50%));
}
.field input[type="range"]::-moz-range-track {
  height: 3px; border-radius: 99px; background: rgba(255, 255, 255, .13);
}
.field input[type="range"]::-moz-range-progress {
  height: 3px; border-radius: 99px; background: var(--yellow);
}
.field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 12px; height: 12px; margin-top: -4.5px;
  border: 0; border-radius: 50%; background: var(--yellow);
}
.field input[type="range"]::-moz-range-thumb {
  width: 12px; height: 12px;
  border: 0; border-radius: 50%; background: var(--yellow);
}

.results {
  border: 1px solid rgba(255, 199, 44, .28);
  border-radius: 10px;
  background: radial-gradient(120% 140% at 12% 0%, #2a2113 0%, #121212 58%, #101010 100%);
  padding: 20px clamp(20px, 2.4vw, 30px);
  display: flex; align-items: center; gap: clamp(20px, 2.6vw, 34px);
}
.results__half { flex: 1; min-width: 0; }
.results__half--roi { flex: 1.05; }
.results__rule { width: 1px; align-self: stretch; background: rgba(255, 255, 255, .1); }
.results__figure {
  margin-top: 6px;
  font: 800 clamp(34px, 4.6vw, 62px)/1 var(--display);
  letter-spacing: -.02em;
  color: var(--text);
}
.results__figure--roi {
  font-size: clamp(46px, 8vw, 108px);
  line-height: .86;
  color: var(--yellow);
}
.results__note {
  margin-top: 10px;
  font: 400 13.5px/1.55 var(--sans);
  color: var(--text-60);
}

/* ---------- testimonial rotator ---------- */
.testimonial {
  max-width: var(--max);
  margin: 0 auto clamp(30px, 4vw, 44px);
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--panel);
  padding: 38px clamp(20px, 3vw, 34px);
  display: flex; align-items: flex-start; gap: 30px;
  margin-inline: max(var(--pad), calc((100% - var(--max)) / 2 + var(--pad)));
}
.testimonial__mark {
  font: 800 64px/.7 var(--display);
  color: rgba(255, 199, 44, .35);
  flex: none;
}
.testimonial__body { flex: 1; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.testimonial__quote {
  font: 400 clamp(17px, 2vw, 21px)/1.5 var(--sans);
  color: var(--text);
  text-wrap: pretty;
  min-height: 3em;
}
.testimonial__attr {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.testimonial__avatar {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, .25);
}
.testimonial__who {
  font: 600 11px var(--sans);
  letter-spacing: .06em; text-transform: uppercase;
  font-style: normal; color: var(--text);
}
.testimonial__role { font: 400 10px var(--mono); color: var(--text-40); }
.testimonial__controls {
  flex: none;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.testimonial__count {
  font: 600 10px var(--mono);
  letter-spacing: .14em; color: var(--text-40);
}
.testimonial__arrows { display: flex; gap: 8px; }
.round-btn {
  width: 30px; height: 30px;
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%;
  background: transparent; color: var(--text-60);
  display: grid; place-items: center;
  font: 600 14px var(--sans); line-height: 1;
  cursor: pointer;
  transition: color .15s ease, border-color .15s ease;
}
.round-btn:hover { color: var(--text); border-color: rgba(255, 255, 255, .4); }
.testimonial__dots { display: flex; gap: 6px; }
.dot {
  width: 6px; height: 6px; padding: 0;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .22);
  cursor: pointer;
}
.dot[aria-selected="true"] { background: var(--yellow); }

/* ---------- 01 how it works ---------- */
.how { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.how__copy { flex: 1 1 320px; display: flex; flex-direction: column; gap: 16px; }
.steps { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.step {
  display: flex; gap: 14px; align-items: center;
  font: 400 13px var(--sans); color: var(--text-70);
}
.step__num {
  flex: none;
  width: 26px; height: 26px;
  border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%;
  display: grid; place-items: center;
  font: 600 10px var(--mono); color: var(--text-60);
}
.step--active .step__num { border-color: var(--yellow); color: var(--yellow); }

.video-slot {
  flex: 1 1 380px;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, .12); border-radius: 10px;
  background: repeating-linear-gradient(45deg, #141414 0 10px, #111 10px 20px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px;
}
.video-slot__play {
  width: 60px; height: 60px;
  border: 1px solid var(--yellow); border-radius: 50%;
  display: grid; place-items: center;
  font-size: 16px; color: var(--yellow);
}
.video-slot__label {
  font: 500 9.5px var(--mono);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-40);
}

/* ---------- 02 who's using it ---------- */
.who {
  background: var(--bg-alt);
  border-top: 1px solid var(--line-soft);
  max-width: none;
  padding-block: clamp(32px, 3.6vw, 46px);
  display: flex; flex-direction: column; gap: 18px;
}
/* The band is full-bleed for its background, so its content gets the same
   max-width *minus the section padding* to line up with every other section. */
.who > * { width: 100%; max-width: calc(var(--max) - 2 * var(--pad)); margin-inline: auto; }
.who__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.who__head > div { display: flex; flex-direction: column; gap: 14px; }
.who__note {
  font: 400 13px/1.6 var(--sans);
  color: var(--text-50); max-width: 42ch;
}
.stat-grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(5, 1fr);
}
.stat {
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--panel-alt);
  padding: 15px 16px;
}
.stat__figure {
  font: 800 34px/1 var(--display);
  letter-spacing: -.02em; color: var(--yellow);
}
.stat__label {
  margin: 8px 0 5px;
  font: 600 9px var(--mono);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-40);
}
.stat__who { font: 400 12.5px/1.4 var(--sans); color: var(--text); }

/* ---------- 03 q&a ---------- */
.qa {
  border-top: 1px solid var(--line-soft);
  display: flex; gap: 40px; align-items: flex-start; flex-wrap: wrap;
}
.qa__copy { flex: 0 1 300px; display: flex; flex-direction: column; gap: 14px; }
.qa__copy .section__title { font-size: clamp(24px, 3vw, 34px); }
.qa__list { flex: 1 1 420px; display: flex; flex-direction: column; gap: 8px; }
.qa__item {
  border: 1px solid var(--line); border-radius: 8px;
  background: var(--panel);
  transition: border-color .15s ease, background-color .15s ease;
}
.qa__item[open] {
  border-color: rgba(255, 199, 44, .3);
  background: var(--panel-alt);
}
.qa__q {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 17px 20px;
  font: 400 14.5px var(--sans);
  color: rgba(255, 255, 255, .82);
  cursor: pointer;
  list-style: none;
}
.qa__q::-webkit-details-marker { display: none; }
.qa__q::after {
  content: "+";
  flex: none;
  font: 400 16px var(--sans);
  color: var(--text-40);
}
.qa__item[open] .qa__q { font-weight: 600; font-size: 15px; color: var(--text); padding-bottom: 10px; }
.qa__item[open] .qa__q::after { content: "\2013"; color: var(--yellow); }
.qa__a { padding: 0 20px 18px; }
.qa__a p { font: 400 13.5px/1.65 var(--sans); color: var(--text-60); max-width: 62ch; }

/* ---------- send a message ---------- */
.contact {
  background: var(--bg-alt);
  border-top: 1px solid var(--line-soft);
  max-width: none;
  display: flex; gap: 40px; align-items: flex-start; flex-wrap: wrap;
}
.contact__copy {
  flex: 1 1 320px;
  display: flex; flex-direction: column; gap: 14px;
  max-width: 460px;
  margin-left: max(0px, calc((100vw - var(--max)) / 2));
}
.contact__rep { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.contact__repline { font: 400 11px var(--mono); color: var(--text-40); }

.contact__form {
  flex: 0 1 420px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--panel-alt);
  padding: 22px;
  display: flex; flex-direction: column; gap: 11px;
}
.contact__pair { display: flex; gap: 11px; flex-wrap: wrap; }
.contact__pair .input { flex: 1 1 140px; }
.input label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.input input, .input textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .12); border-radius: 4px;
  background: transparent;
  padding: 11px 12px;
  font: 400 13px var(--sans);
  color: var(--text);
  transition: border-color .15s ease;
}
.input textarea { resize: vertical; min-height: 88px; }
.input input::placeholder, .input textarea::placeholder { color: var(--text-30); }
.input input:focus, .input textarea:focus { border-color: var(--yellow); outline: none; }
.input input:user-invalid, .input textarea:user-invalid { border-color: #e2564b; }
.contact__status { font: 400 12px var(--sans); color: var(--yellow); min-height: 1.4em; }

/* ---------- basis of calculation ---------- */
.basis {
  border-top: 1px solid var(--line-soft);
  padding: 22px var(--pad);
}
.basis p {
  max-width: var(--max); margin-inline: auto;
  font: 400 10px/1.7 var(--sans);
  color: rgba(255, 255, 255, .32);
}
.basis strong { color: var(--text-50); font-weight: 400; }
.basis a { color: var(--text-50); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .calc { grid-template-columns: 1fr; }
  .results { flex-direction: column; align-items: flex-start; gap: 22px; }
  .results__rule { width: 100%; height: 1px; align-self: auto; }
}

@media (max-width: 760px) {
  .cobrand__inner { gap: 22px; }
  .nav__inner { flex-direction: column; align-items: stretch; gap: 10px; }
  .nav__pills { order: 2; }
  .nav__cta { order: 1; }
  .hero__media { display: none; }
  .hero__lead { width: auto; align-items: flex-start; }

  /* No photograph on the phone, so the profit and ROI figures come straight
     after the headline, above the sliders. */
  .calc { display: flex; flex-direction: column; }
  .results { order: -1; }

  .testimonial { flex-direction: column; gap: 20px; padding: 26px 20px; }
  .testimonial__mark { font-size: 48px; }
  .testimonial__controls { flex-direction: row; justify-content: space-between; width: 100%; }

  /* flex-wrap must go with flex-direction here: a *wrapping column* sizes
     each line to its items' max-content, which pushes the page wider than
     the phone and breaks every section, not just this one. */
  .how, .qa, .contact { flex-direction: column; flex-wrap: nowrap; }
  .how { align-items: stretch; }
  .contact__form { flex: 1 1 auto; width: 100%; }
  .contact__copy { max-width: none; }
}

@media (max-width: 1080px) { .stat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px)  { .stat-grid { grid-template-columns: 1fr; } }

/* ============================================================
   PRINT: dealers share this as a PDF
   ============================================================ */
@media print {
  :root { --bg: #fff; }
  body { background: #fff; color: #111; }
  .nav, .video-slot__play, .testimonial__controls, .contact__form, .skip-link { display: none; }
  .qa__item:not([open]) .qa__a { display: block; }
  .section, .hero, .calc { break-inside: avoid; }
}

