/* MissedHaul — shared styles
   Palette: job-site / work truck. Hi-vis yellow is the only accent and always means "do this". */
:root {
  --asphalt: #1D2124;     /* dark sections, text */
  --asphalt-2: #3A4146;   /* raised surfaces on dark */
  --asphalt-3: #4A5258;   /* borders on dark */
  --charcoal: #30363B;    /* dark section backgrounds (lighter than text) */
  --concrete: #F3F4F1;    /* main light background */
  --paper: #FCFCFB;       /* raised surfaces on light */
  --line: #DBDDD8;        /* borders on light */
  --steel: #565F65;       /* secondary text on light */
  --fog: #A9B1B6;         /* secondary text on dark */
  --hivis: #FFC40C;       /* primary action */
  --hivis-hover: #FFD24A;
  --go: #2F7A4B;          /* booked / money */
  --go-bright: #4CD483;   /* money, on dark backgrounds */
  --stop: #C8352E;        /* missed call */
  --imsg: #0A84FF;        /* outgoing text bubbles (realism) */

  --display: 'Anton', Impact, 'Arial Narrow Bold', sans-serif;
  --body: 'Barlow', 'Helvetica Neue', Arial, sans-serif;

  --radius-s: 8px;
  --radius-m: 14px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--concrete);
  color: var(--asphalt);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--hivis); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.measure { max-width: 760px; }

/* ---------- Type ---------- */
h1, h2 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0;
}
h1 { font-size: clamp(56px, 11vw, 128px); line-height: 1.05; }
h2 { font-size: clamp(38px, 6vw, 68px); line-height: 1.08; margin-bottom: 16px; }
h3 { font-size: 21px; line-height: 1.25; margin: 0 0 6px; font-weight: 700; }
p { margin: 0 0 14px; }
.lede { font-size: 20px; max-width: 58ch; }
.muted { color: var(--steel); }
.dark .muted { color: var(--fog); }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.dark { background: var(--charcoal); color: #fff; }
.light { background: var(--concrete); }
.paper { background: var(--paper); }
.section-head { margin-bottom: 40px; max-width: 760px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--body); font-weight: 700; font-size: 18px;
  padding: 16px 26px; border-radius: var(--radius-s);
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: background-color .15s ease;
}
.btn-primary { background: var(--hivis); color: var(--asphalt); }
.btn-primary:hover { background: var(--hivis-hover); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.light .btn-ghost:hover, .paper .btn-ghost:hover { background: rgba(0,0,0,.05); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Nav ---------- */
.nav { background: var(--charcoal); color: #fff; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--asphalt-3); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-family: var(--display); text-transform: uppercase; font-size: 26px; letter-spacing: 0.02em; color: #fff; text-decoration: none; line-height: 1; display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { width: 30px; height: 30px; border-radius: 6px; background: var(--hivis); color: var(--asphalt); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a:not(.btn) { color: var(--fog); text-decoration: none; font-weight: 600; font-size: 16px; }
.nav-links a:not(.btn):hover { color: #fff; }
.nav .btn { padding: 10px 16px; font-size: 16px; }
@media (max-width: 720px) { .nav-links a:not(.btn) { display: none; } }
@media (max-width: 420px) { .logo { font-size: 22px; gap: 8px; } .logo-mark { width: 26px; height: 26px; font-size: 15px; } .nav .btn { padding: 9px 12px; font-size: 15px; } }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 0; }
.hero h1 { margin-bottom: 26px; }
.hero .lede { color: #D9DEE1; margin-bottom: 30px; }
.steps-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: 64px; border-top: 1px solid var(--asphalt-3);
}
.steps-strip > div { padding: 26px 24px 30px 0; display: flex; gap: 14px; align-items: flex-start; }
.steps-strip > div + div { padding-left: 24px; border-left: 1px solid var(--asphalt-3); }
.step-num { font-family: var(--display); font-size: 40px; line-height: 1; color: var(--hivis); flex: none; width: 26px; }
.steps-strip h3 { color: #fff; font-size: 19px; }
.steps-strip p { color: var(--fog); font-size: 16px; margin: 0; }
@media (max-width: 760px) {
  .steps-strip { grid-template-columns: 1fr; }
  .steps-strip > div, .steps-strip > div + div { padding: 20px 0; border-left: 0; }
  .steps-strip > div + div { border-top: 1px solid var(--asphalt-3); }
}

/* ---------- Simulator ---------- */
.tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 24px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: 1 0 auto; text-align: left; font: inherit; font-size: 16px; font-weight: 600;
  background: var(--paper); color: var(--asphalt); border: 1px solid var(--line);
  border-radius: var(--radius-s); padding: 10px 14px; cursor: pointer;
}
.tab small { display: block; font-size: 13px; font-weight: 600; color: var(--steel); }
.tab[aria-selected="true"] { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.tab[aria-selected="true"] small { color: var(--hivis); }

.step-copy { max-width: 720px; margin-bottom: 18px; }
.step-copy h3 { font-size: 28px; }
.path { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 36px; }
.path .ph-arrow-right { color: var(--steel); }
.chip { font-size: 15px; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid; }
.c-cust { background: var(--paper); border-color: var(--line); color: var(--asphalt); }
.c-mh { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.c-you { background: var(--hivis); border-color: var(--hivis); color: var(--asphalt); }

.phone-toggle { display: none; margin-bottom: 20px; }
.phone-toggle .seg { display: inline-flex; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.phone-toggle button { font: inherit; font-size: 15px; font-weight: 700; border: 0; background: transparent; color: var(--steel); padding: 8px 16px; border-radius: 999px; cursor: pointer; }
.phone-toggle button[aria-pressed="true"] { background: var(--charcoal); color: #fff; }

.phones { display: flex; justify-content: center; gap: 56px; align-items: flex-start; }
.phone-col { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 340px; }
.phone-label { font-weight: 700; font-size: 17px; margin-bottom: 12px; display: flex; gap: 8px; align-items: center; }
@media (max-width: 900px) {
  .phone-toggle { display: block; }
  .phones { gap: 0; }
  .phone-col.is-hidden { display: none; }
}

.phone {
  width: 100%; height: 620px; border: 10px solid #111416; border-radius: 44px;
  background: #0E1113; position: relative; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 24px 48px -20px rgba(29,33,36,.55);
}
.island { width: 104px; height: 28px; background: #000; border-radius: 16px; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); z-index: 2; }
.phone-head { background: #171B1E; padding: 48px 16px 10px; text-align: center; border-bottom: 1px solid #262B2F; flex: none; }
.phone-head .sub { font-size: 12px; color: #8B949A; min-height: 16px; }
.phone-head .title { font-size: 16px; font-weight: 700; color: #fff; }
.screen { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.4; color: #fff; scrollbar-width: none; }
.screen::-webkit-scrollbar { display: none; }
.phone-foot { padding: 10px 12px 14px; background: #171B1E; border-top: 1px solid #262B2F; flex: none; }
.phone-foot .textbar { height: 36px; border-radius: 999px; border: 1px solid #30363B; color: #6E777D; font-size: 14px; display: flex; align-items: center; padding: 0 14px; }

.b { padding: 10px 14px; border-radius: 18px; max-width: 86%; }
.b-in { background: #3A3A3C; color: #fff; align-self: flex-start; border-bottom-left-radius: 5px; }
.b-out { background: var(--imsg); color: #fff; align-self: flex-end; border-bottom-right-radius: 5px; }
.b-wide { max-width: 96%; }
.b-alert { border-left: 4px solid var(--hivis); }
.b-sys { align-self: center; font-size: 12px; color: #8B949A; text-align: center; }
.b-who { font-size: 12px; font-weight: 700; color: #8B949A; }
.alert-title { font-weight: 700; color: var(--hivis); margin-bottom: 4px; }
.pill { margin-top: 8px; display: flex; align-items: center; gap: 8px; padding: 9px 11px; border-radius: 10px; font-weight: 700; font-size: 14px; }
.pill-primary { background: var(--hivis); color: var(--asphalt); }
.pill-muted { background: #4A5157; color: #fff; }
.pill-link { background: rgba(255,255,255,.14); color: #fff; }
.lock { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; }
.lock-time { font-size: 56px; font-weight: 300; }
.lock-card { width: 100%; background: #23292D; border-radius: 16px; padding: 14px; text-align: left; }
.lock-card .miss { color: #FF6B5E; font-weight: 700; font-size: 14px; display: flex; gap: 6px; align-items: center; }
.small-note { color: #8B949A; font-size: 14px; max-width: 230px; }

.reveal { opacity: 0; animation: rise .35s ease-out both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal { animation: none; opacity: 1; } }

.sim-nav { display: flex; justify-content: center; gap: 12px; margin-top: 32px; }
.sim-nav .btn[disabled] { opacity: .35; cursor: not-allowed; }

.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); }
.promises i { font-size: 28px; }
.promises h3 { margin-top: 8px; }
.promises p { color: var(--steel); font-size: 16px; }
@media (max-width: 760px) { .promises { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- Setup ---------- */
.setup-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; }
.setup-list li { padding: 0 28px 0 0; }
.setup-list li + li { padding-left: 28px; border-left: 1px solid var(--asphalt-3); }
.setup-list .step-num { display: block; margin-bottom: 14px; width: auto; }
.setup-list p { color: var(--fog); font-size: 16px; }
@media (max-width: 760px) {
  .setup-list { grid-template-columns: 1fr; }
  .setup-list li, .setup-list li + li { padding: 22px 0; border-left: 0; }
  .setup-list li + li { border-top: 1px solid var(--asphalt-3); }
}

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.calc-inputs { display: grid; gap: 22px; align-content: start; }
.slider { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 22px; }
.slider label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; gap: 12px; }
.slider output { font-family: var(--display); font-size: 40px; line-height: 1; font-weight: 400; color: var(--asphalt); }
.slider output small { font-family: var(--body); font-size: 15px; color: var(--steel); font-weight: 600; }
input[type=range] { width: 100%; margin-top: 16px; accent-color: var(--asphalt); height: 28px; }
.assume { color: var(--steel); font-size: 16px; margin: 0; }
.calc-result { background: var(--charcoal); color: #fff; border-radius: var(--radius-m); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--asphalt-3); }
.calc-row span:first-child { color: var(--fog); font-weight: 600; }
.calc-row strong { font-size: 24px; }
.calc-row .fee { color: #FF8A80; }
.calc-formula { color: var(--fog); font-size: 14px; margin-top: -10px; }
.net-label { color: var(--fog); font-weight: 700; }
.net { font-family: var(--display); font-size: clamp(64px, 9vw, 96px); line-height: .95; color: var(--go-bright); }
.net.negative { color: #FF8A80; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }

/* ---------- Founder ---------- */
.founder blockquote { margin: 0; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.4; font-weight: 500; max-width: 34em; }
.founder blockquote p { margin-bottom: 18px; }
.signoff { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--charcoal); color: var(--hivis); font-family: var(--display); font-size: 22px; display: flex; align-items: center; justify-content: center; }

/* ---------- Pricing ---------- */
.price-card { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.price { font-family: var(--display); font-size: clamp(96px, 14vw, 160px); line-height: .85; }
.price small { font-family: var(--body); font-size: 24px; color: var(--fog); font-weight: 600; }
.covers { color: var(--hivis); font-size: 22px; font-weight: 700; margin: 18px 0 6px; }
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks i { color: var(--hivis); margin-top: 4px; }
.guarantee { color: #D9DEE1; font-size: 16px; max-width: 46ch; margin: 0 0 24px; padding-left: 14px; border-left: 3px solid var(--hivis); }
.guarantee strong { color: #fff; }
@media (max-width: 860px) { .price-card { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-weight: 700; font-size: 20px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; transition: transform .2s ease; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { color: var(--steel); padding-bottom: 20px; margin: 0; max-width: 62ch; }
.faq-cta { margin-top: 40px; }

/* ---------- Footer ---------- */
footer { background: var(--charcoal); color: var(--fog); padding: 44px 0; font-size: 15px; }
footer .wrap { display: grid; gap: 16px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-links a { color: #fff; text-decoration: none; font-weight: 600; }
.foot-links a:hover { text-decoration: underline; }
footer p { margin: 0; max-width: 70ch; }

/* ---------- Legal + sign-up pages ---------- */
.doc { padding: 56px 0 80px; }
.doc h1 { font-size: clamp(44px, 7vw, 72px); margin-bottom: 10px; }
.doc h2 { font-family: var(--body); text-transform: none; font-weight: 700; font-size: 22px; letter-spacing: 0; line-height: 1.3; margin: 34px 0 8px; }
.doc li { margin-bottom: 6px; }
.doc a { color: var(--asphalt); text-decoration-color: var(--hivis); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.callout { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--hivis); border-radius: var(--radius-s); padding: 16px 20px; margin: 18px 0; }
.callout ul { margin: 0; padding-left: 20px; }
form.signup { display: grid; gap: 18px; margin-top: 28px; }
form.signup label { font-weight: 700; display: grid; gap: 6px; font-size: 16px; }
form.signup input[type=text], form.signup input[type=tel], form.signup input[type=email] {
  font: inherit; font-size: 18px; padding: 13px 14px; border-radius: var(--radius-s);
  border: 1px solid #B9BDB6; background: #fff; color: var(--asphalt); width: 100%;
}
form.signup .consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 15px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 16px; }
form.signup .consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--asphalt); }
.sample { white-space: pre-wrap; font-size: 16px; }

/* ---------- Call screen (simulator step 1) ---------- */
.phone.is-call .phone-head { display: none; }
.phone.is-call .screen { padding-top: 52px; overflow: hidden; background: linear-gradient(#20262A, #0E1113 55%); }
.phone.is-call .captions { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; align-content: start; }
.phone.is-call .captions::-webkit-scrollbar { display: none; }
.phone.is-call .phone-foot { background: transparent; border-top: 0; }
.call-top { text-align: center; margin-bottom: 8px; }
.call-avatar { width: 60px; height: 60px; border-radius: 50%; background: #3A4046; color: #DDE2E5; font-weight: 700; font-size: 21px; display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; }
.call-name { font-size: 22px; font-weight: 600; }
.call-timer { color: #9AA3A8; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; }
.call-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--go-bright); }
.captions { display: grid; gap: 10px; margin-top: 6px; }
.caption { font-size: 14px; line-height: 1.4; color: #E4E8EA; background: rgba(255,255,255,.06); border-radius: 12px; padding: 8px 11px; }
.caption.is-caller { background: rgba(255,255,255,.12); }
.cap-name { display: block; font-size: 11px; font-weight: 700; color: #9AA3A8; margin-bottom: 2px; }
.caption.is-caller .cap-name { color: #CDE7FF; }
.call-controls { display: flex; justify-content: space-around; padding: 4px 8px 6px; }
.call-controls span { width: 54px; height: 54px; border-radius: 50%; background: #2C3236; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.call-controls .end { background: #E5483D; }

/* ---------- Photo grid (simulator step 3) ---------- */
.photo-grid { display: grid; grid-template-columns: repeat(3, 64px); gap: 4px; align-self: flex-start; }
.photo-grid.is-out { align-self: flex-end; }
.photo-grid span { height: 64px; border-radius: 10px; background: linear-gradient(135deg, #8C7B6A, #5E5246); color: rgba(255,255,255,.75); display: flex; align-items: center; justify-content: center; font-size: 26px; }
.photo-grid span:nth-child(2) { background: linear-gradient(135deg, #6F7A84, #474F57); }
.photo-grid span:nth-child(3) { background: linear-gradient(135deg, #9A8C7C, #6A5E52); }

/* ---------- Highlighted alert link (simulator step 4) ---------- */
.pill-done { background: transparent; color: #9AA3A8; border: 1px dashed #4A5157; }
.pill-focus { box-shadow: 0 0 0 3px #0E1113, 0 0 0 5px var(--hivis); animation: nudge 1.6s ease-in-out .9s 2; }
@keyframes nudge { 50% { transform: scale(1.03); } }
@media (prefers-reduced-motion: reduce) { .pill-focus { animation: none; } }
