/* Second Truck Marketing
   Palette: fleet green + signal amber on a cool steel paper.
   Type: Archivo throughout; headings set wide and heavy like truck-door lettering. */

:root {
  --fleet: #24463D;
  --fleet-deep: #1A3530;
  --amber: #F0A81C;
  --amber-deep: #D08E0B;
  --paper: #EEF0EE;
  --steel: #DDE2DF;
  --ink: #1C2530;
  --ink-soft: #46515C;
  --rule: #C3CBC7;
  --on-dark: #F4F6F4;
  --on-dark-soft: #C9D6D1;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section-space: clamp(3.5rem, 8vw, 6.5rem);
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-variation-settings: "wdth" 100;
}

h1, h2, h3 {
  margin: 0;
  font-stretch: 118%;
  font-variation-settings: "wdth" 118;
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.75rem, 3.8vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 1.75rem;
}

h3 {
  font-size: 1.2rem;
  font-weight: 750;
  margin-bottom: 0.5rem;
}

p { margin: 0 0 1rem; }

a { color: inherit; }

.icon {
  width: 1.15em;
  height: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.icon-lg { width: 2.25rem; height: 2.25rem; color: var(--fleet); margin-bottom: 0.9rem; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.narrow { max-width: 48rem; }
.narrow-text { max-width: 44rem; }

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.6rem 1rem;
  background: var(--amber);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* Header */

.site-header {
  background: var(--fleet);
  color: var(--on-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  min-width: 0;
}

.brand-mark { width: 2.6rem; height: auto; fill: var(--amber); flex: none; }
.brand-mark .brand-window { fill: var(--fleet); }
.brand-mark .brand-wheel { fill: var(--ink); stroke: var(--fleet); stroke-width: 3; }

.brand-name {
  font-weight: 800;
  font-size: 1.05rem;
  font-variation-settings: "wdth" 120;
  line-height: 1.1;
  letter-spacing: 0;
}
.brand-sub { font-weight: 500; color: var(--on-dark-soft); }

.header-call {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.header-call:hover { border-color: var(--amber); color: var(--amber); }

/* Hero */

.hero {
  background: var(--fleet);
  color: var(--on-dark);
  padding-top: clamp(2.5rem, 7vw, 5.5rem);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 5.4vw, 4.1rem);
  font-weight: 850;
  line-height: 1.02;
  max-width: 16ch;
}

.hero-sub {
  margin-top: 1.5rem;
  font-size: clamp(1.08rem, 1.6vw, 1.25rem);
  color: var(--on-dark-soft);
  max-width: 38rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.25rem;
  padding: 0.8rem 1.4rem;
  border-radius: 6px;
  font-weight: 750;
  font-size: 1.05rem;
  text-decoration: none;
  border: 2px solid transparent;
}

.btn-primary { background: var(--amber); color: var(--ink); }
.btn-primary:hover { background: var(--amber-deep); }

.btn-ghost { border-color: rgba(255, 255, 255, 0.45); color: var(--on-dark); }
.btn-ghost:hover { border-color: var(--on-dark); background: rgba(255, 255, 255, 0.06); }

.hero-art { align-self: end; }

.road-scene { display: block; width: 100%; height: auto; }
.road-scene .road { fill: var(--fleet-deep); }
.road-scene .lane { stroke: var(--amber); stroke-width: 4; stroke-dasharray: 26 22; opacity: 0.85; }

.truck-now .body { fill: var(--paper); }
.truck-now .stripe { fill: var(--amber); }
.truck-now .cab { fill: var(--paper); }
.truck-now .window { fill: var(--fleet-deep); }
.truck-now .rack { fill: none; stroke: var(--on-dark-soft); stroke-width: 1.5; }
.truck-now .rung { stroke: var(--on-dark-soft); stroke-width: 1.5; }
.truck-now .wheel { fill: var(--ink); }
.truck-now .hub { fill: var(--on-dark-soft); }

.truck-next * {
  fill: none;
  stroke: var(--on-dark-soft);
  stroke-width: 3;
  stroke-dasharray: 7 6;
  vector-effect: non-scaling-stroke;
}

@media (prefers-reduced-motion: no-preference) {
  .truck-next {
    animation: pull-in 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) 0.4s both;
  }
  @keyframes pull-in {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
  }
}

/* Sections */

.section { padding-block: var(--section-space); }

.problem { background: var(--paper); }

.day {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  border-left: 3px solid var(--fleet);
}

.day li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 0.9rem 0 0.9rem 1.25rem;
}
.day li + li { border-top: 1px solid var(--rule); }

.time {
  font-weight: 800;
  font-size: 1.35rem;
  font-variation-settings: "wdth" 115;
  color: var(--fleet);
  font-variant-numeric: tabular-nums;
}

.day p { margin: 0; }

.lede { font-size: 1.15rem; color: var(--ink); }

.offer { background: var(--steel); }

.offer-grid {
  display: grid;
  gap: 2.5rem 3rem;
}

.offer-item {
  border-top: 4px solid var(--ink);
  padding-top: 1.4rem;
}
.offer-item p { color: var(--ink-soft); margin: 0; }

.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--ink-soft);
}
.ticks li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.35rem;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.55em;
  width: 0.7rem;
  height: 0.38rem;
  border-left: 2.5px solid var(--fleet);
  border-bottom: 2.5px solid var(--fleet);
  transform: rotate(-45deg);
}

.straight-talk {
  margin: 3rem 0 0;
  padding: 1.25rem 1.4rem;
  max-width: 48rem;
  background: var(--paper);
  border-left: 5px solid var(--amber);
  font-size: 1.08rem;
}

.steps { background: var(--paper); }

.step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2rem;
  counter-reset: none;
}

.step-list li { position: relative; }
.step-list p { color: var(--ink-soft); margin: 0; max-width: 30rem; }

.step-num {
  display: block;
  font-size: 3.5rem;
  font-weight: 900;
  font-variation-settings: "wdth" 125;
  line-height: 1;
  color: var(--fleet);
  margin-bottom: 0.6rem;
}

.trades {
  background: var(--fleet);
  color: var(--on-dark);
}
.trades p { color: var(--on-dark-soft); }

.trade-list {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.75rem;
}
.trade-list li {
  font-size: clamp(1.6rem, 5vw, 3.2rem);
  font-weight: 850;
  font-variation-settings: "wdth" 125;
  line-height: 1.15;
  color: var(--amber);
}

.faq { background: var(--paper); }

.faq details {
  border-top: 1px solid var(--rule);
}
.faq details:last-of-type { border-bottom: 1px solid var(--rule); }

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  font-weight: 750;
  font-size: 1.12rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1;
  color: var(--fleet);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--ink-soft); padding-bottom: 1rem; max-width: 42rem; }

/* Final CTA */

.final-cta {
  background: var(--amber);
  color: var(--ink);
  padding-block: clamp(3rem, 7vw, 5rem);
}

.final-grid { display: grid; gap: 1.5rem; align-items: center; }
.final-cta h2 { margin-bottom: 0.6rem; }
.final-cta p { margin: 0; font-size: 1.1rem; }

.final-actions { display: flex; flex-direction: column; gap: 0.4rem; }

.big-phone {
  font-size: clamp(2rem, 7vw, 3.4rem);
  font-weight: 900;
  font-variation-settings: "wdth" 112;
  line-height: 1.05;
  text-decoration: none;
  white-space: nowrap;
}
.big-phone:hover { text-decoration: underline; text-decoration-thickness: 3px; }

.final-email {
  font-weight: 650;
  font-size: 1.05rem;
  overflow-wrap: anywhere;
}

.final-cta :focus-visible { outline-color: var(--ink); }

/* Footer */

.site-footer {
  background: var(--ink);
  color: #C8CFD6;
  padding-block: 2.5rem 1.5rem;
  font-size: 0.95rem;
}
.site-footer p { margin: 0 0 0.25rem; }

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-legal { color: #F1F3F5; font-weight: 650; }

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}
.footer-links a { overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--amber); }

.copyright {
  margin-top: 1.75rem !important;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
}

/* Privacy page */

.doc { padding-block: var(--section-space); }
.doc h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 850; margin-bottom: 0.5rem; }
.doc h2 { font-size: 1.35rem; margin: 2rem 0 0.6rem; }
.doc .effective { color: var(--ink-soft); margin-bottom: 2rem; }
.doc ul { padding-left: 1.25rem; }
.doc li { margin-bottom: 0.35rem; }

/* Wider screens */

@media (min-width: 720px) {
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .step-list { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .final-grid { grid-template-columns: 1.2fr 1fr; }
  .final-actions { align-items: flex-end; text-align: right; }
}

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; align-items: end; gap: 3rem; }
  .hero-copy { padding-bottom: clamp(3rem, 6vw, 5rem); }
}

/* Small phones */

@media (max-width: 480px) {
  .brand-sub { display: none; }
  .header-call { padding: 0.45rem 0.6rem; font-size: 0.95rem; }
  .btn { width: 100%; }
  .day li { grid-template-columns: 1fr; gap: 0.15rem; }
}

@media (max-width: 380px) {
  .header-call span { display: none; }
  .header-call::after { content: "Call"; }
}
