/* ---------- design tokens ----------
   Palette follows usatf.org's brand system:
   navy #012639, red #B5252E, silver #8E9295, ice #D8E7F1, off-white #F1F2F3 */
:root {
  --navy: #012639;
  --navy-soft: #0d3a52;
  --red: #b5252e;
  --red-dark: #931e26;
  --ice: #d8e7f1;
  --silver: #8e9295;
  --ink: #16232c;
  --ink-soft: #4d5c66;
  --paper: #ffffff;
  --paper-alt: #f1f2f3;
  --line: #d9dde1;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(1, 38, 57, 0.25);
  --font-display: "Archivo", "Inter", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef3f7;
    --ink-soft: #b4c2cc;
    --paper: #06121b;
    --paper-alt: #0b1d2a;
    --line: #1d3444;
    --navy: #0d3a52;
    --navy-soft: #155078;
    --red: #d4525b;
    --red-dark: #e0707a;
    --ice: #1a3040;
    --silver: #7e8f9c;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.08;
  margin: 0 0 0.5em;
}
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 5px;
  border-radius: 3px;
  background: var(--red);
  margin-top: 14px;
}
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9em 1.6em;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}
@media (prefers-color-scheme: dark) {
  .site-header { background: rgba(6, 18, 27, 0.9); }
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand-mark svg { display: block; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.brand-name em {
  font-style: normal;
  color: var(--red);
}
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.site-nav a:hover { color: var(--red); }
.nav-cta {
  background: var(--red);
  color: #fff !important;
  padding: 0.55em 1.2em;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--red-dark); color: #fff !important; }
@media (prefers-color-scheme: dark) {
  .nav-cta { background: #b5252e; }
  .nav-cta:hover { background: #931e26; }
  /* Keep the un-lightened red so white button labels clear WCAG AA */
  .btn-primary { background: #b5252e; }
  .btn-primary:hover { background: #931e26; }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* ---------- hero ---------- */
.hero {
  padding: 110px 0 80px;
  background:
    linear-gradient(112deg, rgba(1, 38, 57, 0.94) 0%, rgba(1, 38, 57, 0.85) 55%, rgba(1, 38, 57, 0.7) 100%),
    url("images/open-road.jpg") center 62% / cover no-repeat;
  color: #fff;
}
.hero-inner { max-width: 780px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ice);
  margin-bottom: 1em;
}
@media (prefers-color-scheme: dark) {
  .eyebrow { color: #d8e7f1; }
}
.hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.4rem); color: #fff; }
.hero-sub { font-size: 1.1rem; color: rgba(255, 255, 255, 0.85); max-width: 640px; }
.hero .btn-ghost { border-color: #fff; color: #fff; }
.hero .btn-ghost:hover { background: #fff; color: var(--navy); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 1.6em 0 2.4em; }
.hero-stats {
  display: flex;
  gap: 40px;
  list-style: none;
  padding: 24px 0 0;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  flex-wrap: wrap;
}
.hero-stats li { display: flex; flex-direction: column; gap: 2px; }
.hero-stats strong { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; letter-spacing: -0.01em; color: #fff; }
.hero-stats span { font-size: 0.85rem; color: rgba(255, 255, 255, 0.75); }

/* ---------- sections ---------- */
.section { padding: 80px 0; }
.section:nth-of-type(even) { background: var(--paper-alt); }
.section-lede { font-size: 1.05rem; color: var(--ink-soft); max-width: 640px; }

.grid { display: grid; gap: 20px; margin-top: 40px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.section:nth-of-type(even) .card { background: var(--paper); }
.card h3 { color: var(--navy); }
@media (prefers-color-scheme: dark) {
  .card h3 { color: #9cc4de; }
}
.card p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }
.card-alt { position: relative; padding-top: 44px; }
.card-num {
  position: absolute;
  top: 18px; left: 26px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--red);
  opacity: 0.85;
}

/* ---------- road band ---------- */
.roadband {
  padding: 110px 0;
  background:
    linear-gradient(rgba(1, 38, 57, 0.72), rgba(1, 38, 57, 0.82)),
    url("images/bike-at-rest.jpg") center 45% / cover no-repeat;
  color: #fff;
  text-align: center;
}
.roadband-quote {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4.2vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.4em;
}
.roadband-sub {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- process ---------- */
.process-inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 56px;
  align-items: start;
  margin-top: 40px;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.steps li {
  display: flex;
  gap: 22px;
  align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
}
@media (prefers-color-scheme: dark) {
  .step-num { background: #155078; }
}
.steps h3 { margin-bottom: 0.25em; }
.steps p { color: var(--ink-soft); margin: 0; }
.process-figure {
  margin: 0;
  position: sticky;
  top: 100px;
}
.process-figure img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.process-figure figcaption {
  font-size: 0.85rem;
  color: var(--ink-soft);
  padding: 12px 4px 0;
  line-height: 1.5;
}

/* ---------- about ---------- */
.about-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: center;
}
.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.about-copy p { color: var(--ink-soft); }
.about-facts {
  list-style: none;
  padding: 0; margin: 1.4em 0 0;
  display: flex; flex-direction: column; gap: 10px;
}
.about-facts li {
  padding-left: 26px;
  position: relative;
  font-weight: 600;
  font-size: 0.95rem;
}
.about-facts li::before {
  content: "";
  position: absolute; left: 0; top: 6px;
  width: 10px; height: 10px;
  border-radius: 2px;
  background: var(--red);
}

/* ---------- faq ---------- */
.faq-list { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.faq-list details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--red);
  margin-left: 12px;
}
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { margin: 12px 0 0; color: var(--ink-soft); }

/* ---------- quote ---------- */
.quote {
  background: var(--navy) !important;
  color: #fff;
}
.quote h2 { color: #fff; }
.quote-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.quote-copy p { color: rgba(255, 255, 255, 0.82); }
.quote-contact a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 4px;
}
.quote-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--ink);
}
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-split > div { display: flex; flex-direction: column; gap: 6px; }
.hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}
label { font-size: 0.85rem; font-weight: 700; color: var(--ink-soft); }
input, textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.7em 0.9em;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--paper-alt);
  color: var(--ink);
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(181, 37, 46, 0.25);
}
.form-status { font-size: 0.85rem; color: var(--ink-soft); min-height: 1.2em; margin: 0; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy);
  border-top: 4px solid var(--red);
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.85);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}
.footer-inner a { text-decoration: none; font-weight: 600; color: #fff; }
.footer-inner a:hover { text-decoration: underline; text-decoration-color: var(--red); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .process-inner { grid-template-columns: 1fr; }
  .process-figure { position: static; max-width: 480px; }
}
@media (max-width: 860px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; }
  .about-photo { max-width: 260px; }
  .quote-inner { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 16px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .nav-cta { width: 100%; text-align: center; }
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .hero { padding: 72px 0 56px; }
  .roadband { padding: 72px 0; }
  .section { padding: 56px 0; }
  .hero-stats { gap: 28px; }
  .form-row-split { grid-template-columns: 1fr; }
  .steps li { gap: 16px; }
}
