/* TrashMinder landing — palette from the hauler's world:
   morning fog, asphalt, polycart green, one hi-vis note spent
   entirely on the route line. Display face is Overpass (derived
   from US highway signage). */

:root {
  --fog: #edefe9;      /* page base — cool 6 a.m. light */
  --paper: #fbfbf7;    /* cards / route sheet */
  --asphalt: #22261f;  /* ink + dark sections */
  --polycart: #1f5130; /* brand green */
  --steel: #6d746b;    /* secondary text, rules */
  --hivis: #d3e34a;    /* SIGNATURE ONLY: route line, checks */
  --display: "Overpass", "Arial Narrow", sans-serif;
  --body: "Instrument Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--body);
  color: var(--asphalt);
  background: var(--fog);
  line-height: 1.6;
  font-size: 17px;
}

h1, h2, h3 {
  font-family: var(--display);
  line-height: 1.05;
  letter-spacing: -0.015em;
}

a { color: inherit; }

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

/* ---------------- top bar ---------------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px clamp(20px, 5vw, 56px);
  background: color-mix(in srgb, var(--fog) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid color-mix(in srgb, var(--steel) 35%, transparent);
}

.wordmark {
  font-family: var(--display);
  font-weight: 900;
  font-size: 22px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.wordmark span { color: var(--polycart); }
.wordmark-pin { width: 22px; height: 22px; fill: var(--polycart); }

.topnav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-weight: 500;
  font-size: 15px;
}
.topnav a { text-decoration: none; color: var(--steel); }
.topnav a:hover { color: var(--asphalt); }

/* ---------------- buttons ---------------- */

.btn {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  color: var(--paper);
  background: var(--polycart);
  padding: 13px 26px 11px;
  border-radius: 4px;
}
.btn:hover { background: #29663e; }

.btn-ghost {
  background: transparent;
  color: var(--asphalt);
  box-shadow: inset 0 0 0 2px var(--asphalt);
}
.btn-ghost:hover { background: color-mix(in srgb, var(--asphalt) 8%, transparent); }

.btn-small { font-size: 15px; padding: 9px 18px 7px; }

/* ---------------- hero ---------------- */

.hero {
  background: var(--asphalt);
  color: var(--fog);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  padding: clamp(64px, 10vw, 120px) clamp(20px, 5vw, 56px) clamp(72px, 10vw, 128px);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hivis);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(40px, 6.2vw, 76px);
  font-weight: 900;
  margin-bottom: 22px;
}

.hero-lede {
  font-size: clamp(17px, 1.6vw, 20px);
  max-width: 34em;
  color: color-mix(in srgb, var(--fog) 82%, var(--steel));
  margin-bottom: 30px;
}
.hero-lede em { font-style: normal; color: var(--hivis); }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero .btn-ghost { color: var(--fog); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--fog) 55%, transparent); }
.hero .btn-ghost:hover { background: color-mix(in srgb, var(--fog) 10%, transparent); }

.hero-fineprint {
  margin-top: 26px;
  font-size: 14px;
  color: var(--steel);
  max-width: 36em;
}

/* run-list card in the hero — the paper this replaces */
.hero-sheet {
  background: var(--paper);
  color: var(--asphalt);
  border-radius: 6px;
  padding: 20px 22px 24px;
  font-family: var(--mono);
  font-size: 14px;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.55);
  transform: rotate(1.2deg);
  max-width: 420px;
  justify-self: end;
  width: 100%;
}
.sheet-head {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--steel);
  border-bottom: 2px solid var(--asphalt);
  padding-bottom: 10px;
  margin-bottom: 6px;
}
.sheet-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed color-mix(in srgb, var(--steel) 45%, transparent);
}
.sheet-row:last-child { border-bottom: 0; }
.sheet-note { margin-left: auto; color: var(--steel); font-size: 12px; }
.sheet-check {
  width: 15px; height: 15px;
  border: 2px solid var(--asphalt);
  border-radius: 3px;
  flex: none;
  position: relative;
}
.sheet-row.done .sheet-check { background: var(--polycart); border-color: var(--polycart); }
.sheet-row.done .sheet-check::after {
  content: "";
  position: absolute; inset: 2px 3px 4px 3px;
  border-left: 2.5px solid var(--hivis);
  border-bottom: 2.5px solid var(--hivis);
  transform: rotate(-45deg);
}
.sheet-row.done { color: var(--steel); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--steel) 50%, transparent); }

/* ---------------- the route (signature) ---------------- */

.route { padding: clamp(64px, 9vw, 110px) clamp(20px, 5vw, 56px); }

.route-head { max-width: 900px; margin: 0 auto 56px; }
.route-head h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 900; margin-bottom: 12px; }
.route-head p { color: var(--steel); max-width: 40em; }

.stops {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

/* the route line: hi-vis center-striped road running stop to stop */
.stops::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 34px;
  left: 17px;
  border-left: 4px dashed var(--hivis);
  filter: drop-shadow(0 0 1px rgba(0,0,0,0.25));
}

.stop {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 22px;
  padding-bottom: 52px;
}
.stop:last-child { padding-bottom: 0; }

.stop-marker {
  width: 38px; height: 38px;
  background: var(--asphalt);
  border-radius: 6px;
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
}
.stop-check {
  width: 16px; height: 16px;
  border: 2.5px solid var(--steel);
  border-radius: 3px;
  transition: background 0.3s, border-color 0.3s;
  position: relative;
}
.stop.arrived .stop-check { background: var(--polycart); border-color: var(--hivis); }
.stop.arrived .stop-check::after {
  content: "";
  position: absolute; inset: 2px 2px 5px 2px;
  border-left: 3px solid var(--hivis);
  border-bottom: 3px solid var(--hivis);
  transform: rotate(-45deg);
}

.stop-num {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--polycart);
  margin-bottom: 6px;
}
.stop-body h3 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; margin-bottom: 8px; }
.stop-body p:last-child { color: #3d443c; max-width: 44em; }

/* ---------------- your brand ---------------- */

.brand {
  background: var(--polycart);
  color: var(--fog);
  padding: clamp(64px, 9vw, 110px) clamp(20px, 5vw, 56px);
}
.brand-inner { max-width: 900px; margin: 0 auto; }
.brand h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 900; margin-bottom: 14px; }
.brand-lede { max-width: 38em; color: color-mix(in srgb, var(--fog) 85%, var(--polycart)); margin-bottom: 40px; }

.brand-proof {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-bottom: 22px;
}

.site-card {
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
  color: var(--asphalt);
  box-shadow: 0 18px 44px -20px rgba(0, 0, 0, 0.5);
}
.site-card figcaption {
  font-family: var(--mono);
  font-size: 12.5px;
  padding: 9px 14px;
  background: var(--asphalt);
  color: var(--fog);
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--hivis); flex: none; }
.site-body { display: grid; gap: 6px; padding: 20px 18px 22px; }
.site-body strong { font-family: var(--display); font-size: 20px; }
.site-body span { font-size: 14.5px; color: var(--steel); }
.site-a .site-body { border-top: 6px solid #2a4a2e; }   /* countryside green */
.site-b .site-body { border-top: 6px solid #17211a; }   /* modern near-black */

.brand-note { font-size: 14.5px; color: color-mix(in srgb, var(--fog) 75%, var(--polycart)); }

/* ---------------- closer ---------------- */

.closer {
  text-align: center;
  padding: clamp(64px, 9vw, 110px) clamp(20px, 5vw, 56px);
  max-width: 760px;
  margin: 0 auto;
}
.closer h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 900; margin-bottom: 14px; }
.closer p { color: #3d443c; margin-bottom: 30px; }
.closer .hero-cta { justify-content: center; }

/* ---------------- lead form ---------------- */

.lead-form {
  text-align: left;
  background: var(--paper);
  border: 1px solid color-mix(in srgb, var(--steel) 35%, transparent);
  border-radius: 8px;
  padding: 26px 24px 24px;
  box-shadow: 0 18px 44px -28px rgba(0, 0, 0, 0.4);
}

.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
  margin-bottom: 20px;
}

.lead-field { display: grid; gap: 6px; }
.lead-field span {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
}
.lead-field em { text-transform: none; font-style: normal; letter-spacing: 0; }
.lead-field input,
.lead-field select {
  font: inherit;
  padding: 10px 12px;
  border: 1.5px solid color-mix(in srgb, var(--steel) 55%, transparent);
  border-radius: 4px;
  background: var(--fog);
  color: var(--asphalt);
}
.lead-field input:focus,
.lead-field select:focus {
  outline: none;
  border-color: var(--polycart);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--polycart) 25%, transparent);
}
.lead-span { grid-column: 1 / -1; }

/* honeypot: visually gone, still in the DOM for bots */
.lead-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.lead-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.lead-status { margin-top: 14px; text-align: center; font-size: 15px; min-height: 1.4em; }
.lead-status.ok { color: var(--polycart); font-weight: 600; }
.lead-status.err { color: #a33e2a; }

@media (max-width: 640px) {
  .lead-grid { grid-template-columns: 1fr; }
}

/* ---------------- footer ---------------- */

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 26px clamp(20px, 5vw, 56px);
  border-top: 1px solid color-mix(in srgb, var(--steel) 35%, transparent);
  font-size: 14px;
  color: var(--steel);
}

/* ---------------- responsive ---------------- */

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-sheet { justify-self: start; transform: rotate(0.6deg); }
  .topnav { display: none; }
}
