
:root {
  --recce-orange: #f47a20;
  --recce-orange-bright: #ff8b32;
  --recce-midnight: #07111b;
  --recce-carbon: #0b1118;
  --recce-panel: #111a24;
  --recce-panel-soft: #17222e;
  --recce-white: #f7f9fb;
  --recce-muted: #aab4bf;
  --recce-green: #22cf78;
  --max-width: 1180px;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(0, 0, 0, .38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--recce-white);
  background:
    radial-gradient(circle at 15% 0%, rgba(244,122,32,.08), transparent 32rem),
    var(--recce-midnight);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max-width)); margin-inline: auto; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--recce-orange);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}
h1, h2, h3 { margin-top: 0; line-height: 1.05; text-wrap: balance; }
h1 { font-size: clamp(3rem, 7vw, 6.4rem); letter-spacing: -.05em; }
h2 { font-size: clamp(2.1rem, 4.5vw, 4rem); letter-spacing: -.035em; }
h3 { font-size: 1.25rem; }
p { color: var(--recce-muted); }
.section { padding: 110px 0; }
.section-heading { max-width: 760px; margin-bottom: 48px; }
.accent { color: var(--recce-orange); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #111;
  background: var(--recce-orange);
  box-shadow: 0 12px 30px rgba(244,122,32,.28);
}
.btn-primary:hover { background: var(--recce-orange-bright); }
.btn-secondary { border-color: rgba(255,255,255,.24); background: rgba(7,17,27,.42); backdrop-filter: blur(12px); }
.btn-secondary:hover { border-color: var(--recce-orange); }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; }

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  transition: .25s;
}
.site-header.scrolled {
  background: rgba(7,17,27,.9);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
}
.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand img { width: 300px; height: auto; padding-top: 15px; margin-left:-15px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-weight: 700; font-size: .93rem; }
.nav-links a:hover { color: var(--recce-orange); }
.mobile-toggle { display: none; background: none; border: 0; color: white; font-size: 1.55rem; }

.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: url("../assets/hero-road.jpg") center 64% / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,11,17,.96) 0%, rgba(5,11,17,.76) 46%, rgba(5,11,17,.18) 78%),
    linear-gradient(0deg, var(--recce-midnight) 0%, transparent 28%);
}
.hero-grid {
  padding-top: 110px;
  display: grid;
  grid-template-columns: 1.08fr .72fr;
  align-items: center;
  gap: 80px;
}
.hero-copy { max-width: 760px; }
.hero-copy p { max-width: 660px; font-size: clamp(1rem, 1.7vw, 1.25rem); color: #d3dae2; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 26px; margin: 34px 0; }
.hero-stat strong { display: block; font-size: 1.5rem; color: white; }
.hero-stat span { color: var(--recce-muted); font-size: .84rem; text-transform: uppercase; letter-spacing: .11em; }

.phone {
  width: min(350px, 84vw);
  aspect-ratio: .52;
  margin-left: auto;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 48px;
  background: linear-gradient(145deg, #222b34, #05080b);
  box-shadow: var(--shadow), inset 0 0 0 4px #05080b;
  transform: rotate(3deg);
}
.phone-screen {
  height: 100%;
  overflow: hidden;
  position: relative;
  border-radius: 37px;
  background:
    linear-gradient(rgba(5,10,15,.2), rgba(5,10,15,.82)),
    url("../assets/hero-road.jpg") center / cover;
}
.phone-notch { width: 42%; height: 24px; margin: 0 auto; background: #030507; border-radius: 0 0 16px 16px; }
.pace-card {
  position: absolute;
  inset: 15% 10% auto;
  text-align: center;
  padding: 28px 18px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 24px;
  background: rgba(5,11,17,.78);
  backdrop-filter: blur(13px);
}
.pace-card small { color: var(--recce-orange); font-weight: 900; letter-spacing: .2em; }
.pace-card .number { font-size: 5.7rem; line-height: .9; font-weight: 900; }
.pace-card .direction { font-size: 1.35rem; font-weight: 900; letter-spacing: .1em; }
.pace-card img { width: 92px; margin: 28px auto 12px; }
.pace-card .distance { font-size: 2rem; font-weight: 900; }

.trust-strip { border-block: 1px solid rgba(255,255,255,.08); background: #09121b; }
.trust-grid { min-height: 86px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; gap: 20px; text-align: center; color: #c7cfd7; font-weight: 750; }
.trust-grid span::before { content: "●"; color: var(--recce-orange); margin-right: 10px; }

.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card {
  min-height: 270px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,.04), rgba(255,255,255,.012));
}
.feature-icon { width: 74px; height: 74px; display: grid; place-items: center; margin-bottom: 28px; border-radius: 20px; background: rgba(244,122,32,.11); }
.feature-icon img { width: 49px; max-height: 49px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.media-card {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 28px;
  background: var(--recce-panel);
  box-shadow: var(--shadow);
}
.media-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.check-list { display: grid; gap: 14px; padding: 0; list-style: none; }
.check-list li { color: #d7dde3; }
.check-list li::before { content: "✓"; color: var(--recce-orange); font-weight: 900; margin-right: 13px; }

.telemetry {
  background:
    linear-gradient(90deg, rgba(7,17,27,.97), rgba(7,17,27,.72)),
    url("../assets/app-splash.jpg") center 43% / cover no-repeat;
}
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.metric { padding: 22px; border-radius: 18px; background: rgba(8,15,22,.78); border: 1px solid rgba(255,255,255,.11); backdrop-filter: blur(10px); }
.metric strong { display: block; font-size: 2rem; color: white; }
.metric span { color: var(--recce-muted); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }

.community-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; }
.leaderboard { padding: 26px; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); background: var(--recce-panel); }
.driver-row { display: grid; grid-template-columns: 46px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.driver-row:last-child { border-bottom: 0; }
.rank { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: #202c38; font-weight: 900; }
.driver-row:first-of-type .rank { color: #15100a; background: var(--recce-orange); }
.score { color: var(--recce-orange); font-weight: 900; }
.achievement-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.badge { min-height: 150px; padding: 22px; border-radius: 20px; background: linear-gradient(145deg, #182430, #0c141c); border: 1px solid rgba(255,255,255,.08); }
.badge-symbol { font-size: 2.4rem; }

.merch-card { position: relative; }
.merch-card img { aspect-ratio: 16/10; object-fit: cover; }
.merch-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,11,17,.8), transparent 52%); pointer-events: none; }
.merch-caption { position: absolute; z-index: 1; left: 28px; bottom: 22px; }

.cta {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.08);
  background: radial-gradient(circle at 50% 110%, rgba(244,122,32,.23), transparent 35rem);
}
.cta .section-heading { margin-inline: auto; }
.signup {
  max-width: 610px;
  margin: 30px auto 0;
  display: flex;
  gap: 10px;
  padding: 7px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
}
.signup input { flex: 1; min-width: 0; color: white; background: transparent; border: 0; padding: 0 18px; outline: none; }

.site-footer { padding: 44px 0; border-top: 1px solid rgba(255,255,255,.08); background: #050b10; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; }
.footer-grid img { width: 180px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; color: var(--recce-muted); font-size: .9rem; }

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 74px; left: 20px; right: 20px;
    padding: 22px;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 18px;
    background: rgba(7,17,27,.97);
  }
  .nav-links.open { display: flex; }
  .mobile-toggle { display: block; }
  .hero-grid, .split, .community-grid { grid-template-columns: 1fr; }
  .hero-grid { padding: 140px 0 80px; gap: 45px; }
  .phone { margin: auto; transform: none; width: 310px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); padding: 18px 0; }
}
@media (max-width: 620px) {
  .section { padding: 78px 0; }
  .features-grid, .metrics, .achievement-grid { grid-template-columns: 1fr; }
  .signup { border-radius: 22px; flex-direction: column; padding: 10px; }
  .signup input { min-height: 48px; }
  .footer-grid { grid-template-columns: 1fr; }
}
