:root {
  --navy: #061A2F;
  --navy-2: #0B2742;
  --ink: #102033;
  --amber: #C9823A;
  --copper: #A96836;
  --parchment: #F6F1E8;
  --stone: #D8D2C6;
  --slate: #5C6E7C;
  --white: #FFFFFF;
  --line: rgba(16, 32, 51, 0.14);
  --shadow: 0 18px 50px rgba(6, 26, 47, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--navy);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.45rem, 4.7vw, 4.2rem);
  max-width: 14ch;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.18rem;
  margin-bottom: 0.65rem;
}

p {
  color: color-mix(in srgb, currentColor 78%, transparent);
}

.shell {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.narrow {
  max-width: 780px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-160%);
  padding: 0.6rem 0.8rem;
  background: var(--amber);
  color: var(--navy);
  border-radius: var(--radius);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(6, 26, 47, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 750;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 650;
  padding: 0.65rem 0.8rem;
  border-radius: var(--radius);
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: transparent;
  color: var(--white);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero,
.page-hero {
  color: var(--white);
  background:
    radial-gradient(circle at 72% 18%, rgba(201, 130, 58, 0.2), transparent 28rem),
    linear-gradient(135deg, var(--navy) 0%, #071321 54%, var(--navy-2) 100%);
}

.hero {
  min-height: clamp(620px, calc(100svh - 180px), 760px);
  display: grid;
  align-items: center;
  padding: 3rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.88fr);
  gap: clamp(2.25rem, 5vw, 4.25rem);
  align-items: center;
}

.hero-copy {
  max-width: 600px;
}

.lede,
.page-hero p {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  max-width: 680px;
}

.hero-mark {
  justify-self: end;
  width: min(100%, 480px);
  padding: clamp(0.55rem, 1.5vw, 1rem);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(246, 241, 232, 0.96);
  box-shadow: var(--shadow);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.65rem;
}

.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: var(--radius);
  font-weight: 760;
  text-decoration: none;
}

.button {
  padding: 0.75rem 1.1rem;
}

.button.primary {
  color: var(--navy);
  background: var(--amber);
  border: 1px solid var(--amber);
}

.button.primary.dark {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.text-link {
  color: var(--copper);
}

.text-link::after {
  content: "";
  width: 1.25rem;
  height: 1px;
  margin-left: 0.55rem;
  background: currentColor;
}

.section,
.page-hero {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}

.section-light {
  background: var(--parchment);
}

.section:not(.section-light):not(.product-band):not(.credibility) {
  color: var(--white);
  background: var(--navy);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card,
.support-card,
.quote-panel,
.product-card-large {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(16, 32, 51, 0.07);
}

.feature-card {
  min-height: 230px;
  padding: 1.35rem;
}

.feature-icon {
  display: inline-flex;
  margin-bottom: 2.4rem;
  color: var(--copper);
  font-size: 0.82rem;
  font-weight: 800;
}

.product-band {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(201, 130, 58, 0.1), transparent 38%),
    var(--navy-2);
}

.split,
.credibility-grid,
.story-grid,
.product-card-large {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.section-label {
  color: var(--amber);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
}

.route-panel {
  position: relative;
  min-height: 310px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  overflow: hidden;
}

.route-panel p {
  position: absolute;
  left: 1.35rem;
  right: 1.35rem;
  bottom: 1.2rem;
  color: rgba(255, 255, 255, 0.76);
}

.route-line {
  position: absolute;
  left: 18%;
  right: 16%;
  top: 44%;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), rgba(255, 255, 255, 0.7), var(--stone));
  transform: rotate(-14deg);
}

.route-point {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--amber);
  border: 3px solid var(--navy-2);
  box-shadow: 0 0 0 6px rgba(201, 130, 58, 0.18);
}

.route-point.start { left: 17%; top: 49%; }
.route-point.mid { left: 51%; top: 39%; background: var(--white); }
.route-point.end { right: 15%; top: 31%; }

.credibility {
  background: var(--white);
}

.facts,
.mini-facts {
  margin: 0;
}

.facts div,
.mini-facts div {
  display: grid;
  grid-template-columns: minmax(120px, 150px) minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

dt {
  color: var(--slate);
  font-weight: 760;
}

dd {
  margin: 0;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.page-hero {
  padding-top: clamp(5rem, 9vw, 8rem);
}

.page-hero h1 {
  max-width: 14ch;
}

.product-card-large {
  padding: clamp(1.5rem, 4vw, 3rem);
}

.product-symbol {
  justify-self: center;
  width: min(100%, 320px);
  opacity: 0.98;
}

.roadscout-lockup {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem;
  border: 1px solid rgba(16, 32, 51, 0.12);
  border-radius: var(--radius);
  background: #0c1929;
  box-shadow: 0 16px 36px rgba(16, 32, 51, 0.13);
}

.roadscout-lockup img {
  width: 74px;
  height: 74px;
  flex: 0 0 auto;
}

.roadscout-lockup strong,
.roadscout-lockup span {
  display: block;
}

.roadscout-lockup strong {
  color: var(--white);
  font-size: clamp(1.55rem, 4vw, 2.2rem);
  line-height: 1;
}

.roadscout-lockup span {
  margin-top: 0.45rem;
  color: #78eeff;
  font-size: 0.9rem;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.check-list {
  padding-left: 1.15rem;
  margin: 1.2rem 0 1.8rem;
}

.check-list li {
  margin-bottom: 0.45rem;
}

.quote-panel,
.support-card {
  padding: clamp(1.35rem, 3vw, 2rem);
}

.about-centered {
  max-width: 780px;
  text-align: center;
}

.support-card {
  min-width: 0;
  overflow-wrap: anywhere;
}

.support-card h2 {
  font-size: clamp(1.75rem, 2.7vw, 2.4rem);
  line-height: 1.15;
}

.support-card .text-link {
  max-width: 100%;
  justify-content: flex-start;
  font-size: 0.95rem;
  overflow-wrap: anywhere;
  word-break: normal;
}

.support-card .text-link::after {
  display: none;
}

.support-card .mini-facts div {
  grid-template-columns: 1fr;
  gap: 0.25rem;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.legal-copy h2 {
  font-size: 1.4rem;
  margin-top: 2rem;
}

.site-footer {
  color: var(--white);
  background: #04111f;
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(4, minmax(120px, 1fr));
  gap: 1.5rem;
}

.site-footer h2 {
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--stone);
  margin-bottom: 0.75rem;
}

.site-footer a {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  margin-bottom: 0.45rem;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--white);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: var(--navy);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .hero-grid,
  .split,
  .credibility-grid,
  .story-grid,
  .product-card-large {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 2.5rem 0 2rem;
  }

  .hero-mark {
    justify-self: start;
    width: min(100%, 330px);
  }

  .feature-grid,
  .support-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 1.25rem, 1120px);
  }

  h1 {
    font-size: 2.35rem;
    max-width: 12.5ch;
  }

  .brand span {
    max-width: 11rem;
    line-height: 1.15;
  }

  .feature-grid,
  .support-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .facts div,
  .mini-facts div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .support-card h2 {
    font-size: 2rem;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .route-panel {
    min-height: 260px;
  }

  .hero-grid {
    gap: 1.3rem;
  }

  .hero-mark {
    width: min(100%, 310px);
    padding: 0.42rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
