/* Towco Rentals — built on Hafen's design system tokens (fonts, hazard yellow/black). */
:root {
  font-synthesis: none;

  --charcoal-90: #121a16;
  --charcoal-80: #17231e;
  --charcoal-60: #2c3a33;
  --charcoal-40: #5c6961;
  --amber-60: #faa534;
  --amber-30: #ffd699;
  --cream-00: #f9fcf7;
  --stone: #d8d5cb;
  --black: #0b0f0d;
  --royal: #2447c8;
  --royal-hover: #1b379e;

  --font-display: "industry-inc-base", sans-serif;
  --font-display-2: "industry", sans-serif;
  --font-accent: "interstate", sans-serif;
  --font-body: "interstate", sans-serif;
  --font-display-stencil: "industry-inc-stencil", sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
}

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

body {
  margin: 0;
  background: var(--charcoal-90);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--amber-60); text-decoration: none; }
a:hover { color: var(--amber-30); text-decoration: underline; }

.page {
  min-height: 100vh;
  background: var(--charcoal-90);
  color: var(--cream-00);
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

/* Shared */
.hazard {
  height: 16px;
  background: repeating-linear-gradient(90deg, var(--amber-60) 0 44px, var(--charcoal-90) 44px 88px);
}

.eyebrow {
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--amber-60);
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.98;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 24px var(--gutter);
  border-bottom: 2px solid var(--charcoal-60);
}

.brand { display: flex; align-items: baseline; gap: 12px; }

.brand-name {
  font-family: var(--font-display-stencil);
  font-size: 36px;
  line-height: 1;
  letter-spacing: 0.02em;
}

.brand-sub {
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--amber-60);
}

.launch-tag {
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  padding: 6px 12px;
  background: var(--royal);
  border: 2px solid var(--royal);
}

/* Hero */
.hero {
  padding: clamp(56px, 9vw, 128px) var(--gutter) clamp(48px, 7vw, 96px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
}

.hero-copy { display: flex; flex-direction: column; gap: 28px; }

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(52px, 8vw, 112px);
  line-height: 0.94;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.lede {
  margin: 0;
  max-width: 520px;
  font-size: 19px;
  line-height: 1.5;
  color: var(--stone);
  text-wrap: pretty;
}

/* Signup card */
.signup {
  background: var(--charcoal-80);
  border: 2px solid var(--royal);
  box-shadow: 8px 8px 0 var(--royal);
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.signup-title {
  margin: 0;
  font-family: var(--font-display-2);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.signup-text { margin: 0; font-size: 15px; line-height: 1.5; color: var(--stone); }

.signup-success {
  padding: 16px;
  background: var(--royal);
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.signup-form { display: flex; flex-direction: column; gap: 12px; }
.signup-form[hidden], .signup-success[hidden] { display: none; }

.field { display: flex; flex-direction: column; gap: 6px; }

.field-label {
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--amber-60);
}

.field input,
.field select {
  height: 48px;
  background: var(--cream-00);
  color: var(--charcoal-90);
  border: 2px solid var(--cream-00);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 16px;
  outline: none;
}

.field input { padding: 0 14px; }
.field select { padding: 0 12px; }

.field input:focus,
.field select:focus {
  border-color: var(--amber-60);
  box-shadow: 0 0 0 3px var(--amber-60);
}

.btn-primary {
  height: 52px;
  margin-top: 8px;
  background: var(--royal);
  color: var(--cream-00);
  border: 2px solid var(--black);
  border-radius: 2px;
  box-shadow: 0 4px 0 var(--black);
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: background 150ms ease-out;
}

.btn-primary:hover { background: var(--royal-hover); }
.btn-primary:active { transform: translateY(2px); box-shadow: 0 0 0 var(--black); }
.btn-primary:focus-visible { outline: 3px solid var(--amber-60); outline-offset: 2px; }

/* Construction band */
.construction {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px var(--gutter);
  background: var(--amber-60);
}

.construction span {
  background: var(--charcoal-90);
  color: var(--amber-60);
  padding: 6px 12px;
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
}

/* How it works */
.how {
  padding: clamp(56px, 8vw, 112px) var(--gutter);
  background: var(--royal);
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 24px;
}

.step {
  border-top: 4px solid var(--cream-00);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-n,
.step-title {
  font-family: var(--font-display-2);
  font-weight: 700;
  line-height: 1;
}

.step-n { font-size: 48px; color: var(--amber-60); }
.step-title { font-size: 24px; line-height: 1.1; }
.step p { margin: 0; font-size: 16px; line-height: 1.5; text-wrap: pretty; }

/* Fleet */
.fleet {
  padding: clamp(56px, 8vw, 112px) var(--gutter);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 48px;
}

.fleet-intro { display: flex; flex-direction: column; gap: 20px; }
.fleet-intro p { margin: 0; max-width: 420px; font-size: 17px; line-height: 1.5; color: var(--stone); }

.fleet-list { display: flex; flex-direction: column; }

.fleet-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 0;
  border-bottom: 2px solid var(--charcoal-60);
}

.fleet-name { font-family: var(--font-display-2); font-weight: 700; font-size: 22px; }

.fleet-spec {
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--amber-60);
}

/* Service area */
.area {
  padding: 0 var(--gutter) clamp(56px, 8vw, 112px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.area-chips { display: flex; flex-wrap: wrap; gap: 10px; }

.area-chips span {
  padding: 8px 14px;
  border: 2px solid var(--charcoal-40);
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
}

/* Footer */
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px var(--gutter);
  border-top: 2px solid var(--charcoal-60);
  font-size: 13px;
  color: var(--stone);
}
