/* Custom Dirt Bike Graphics - shared stylesheet
   Motocross look: dark charcoal, one lime accent, big readable type, mobile first. */

:root {
  --charcoal-900: #0e1013;
  --charcoal-800: #14171c;
  --charcoal-700: #1c2027;
  --charcoal-600: #262b34;
  --charcoal-500: #343a45;
  --lime: #b8ff2e;
  --lime-dim: #8fd41c;
  --ink: #f2f4f7;
  --muted: #a8b0bd;
  --radius: 14px;
  --maxw: 1120px;
  --display: "Arial Black", "Helvetica Neue", Impact, Haettenschweiler, "Segoe UI", system-ui, sans-serif;
  --body: "Segoe UI", Roboto, Helvetica, Arial, system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--charcoal-800);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  background-image:
    linear-gradient(180deg, var(--charcoal-900) 0, var(--charcoal-800) 340px, var(--charcoal-800) 100%);
}

/* Angle motif: subtle diagonal stripe field behind the whole page. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: repeating-linear-gradient(
    -55deg,
    rgba(184, 255, 46, 0.035) 0 2px,
    transparent 2px 34px
  );
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* ---------- Skip link ---------- */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--lime);
  color: #0e1013;
  padding: 10px 16px;
  font-weight: 800;
  z-index: 60;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------- Top nav ---------- */
.topbar {
  border-bottom: 3px solid var(--lime);
  background: rgba(14, 16, 19, 0.92);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(6px);
}

.topbar-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand:hover .brand-name { color: var(--lime); }

.brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: block;
}

.brand-name {
  font-family: var(--display);
  font-size: 19px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.05;
  transition: color 0.15s ease;
}
.brand-name small {
  display: block;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--lime);
  text-transform: uppercase;
}

/* Nav row scrolls sideways on small screens, no JS needed. */
.nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 2px;
}
.nav::-webkit-scrollbar { display: none; }

.nav a {
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 9px 13px;
  border: 2px solid var(--charcoal-600);
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.nav a:hover { color: var(--ink); border-color: var(--lime-dim); }
.nav a[aria-current="page"] {
  background: var(--lime);
  border-color: var(--lime);
  color: #0e1013;
}

/* ---------- Hero ---------- */
.hero {
  padding: 44px 0 10px;
  position: relative;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #0e1013;
  background: var(--lime);
  padding: 6px 12px 5px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  margin: 0 0 18px;
}

h1 {
  font-family: var(--display);
  font-size: clamp(30px, 8.4vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  margin: 0 0 18px;
  text-wrap: balance;
}
h1 .accent { color: var(--lime); }

.subline {
  font-size: clamp(17px, 4.2vw, 21px);
  color: var(--muted);
  max-width: 62ch;
  margin: 0 0 26px;
}

/* ---------- Buttons ---------- */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 12px;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #0e1013;
  background: var(--lime);
  border: 3px solid var(--lime);
  padding: 15px 24px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  transition: transform 0.12s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { background: #d4ff7a; transform: translateY(-2px); }

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--charcoal-500);
}
.btn.ghost:hover { border-color: var(--lime); color: var(--lime); background: transparent; }

/* ---------- Sections ---------- */
.section { padding: 46px 0 8px; }

.section-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  border-bottom: 4px solid var(--charcoal-700);
  padding-bottom: 12px;
  margin-bottom: 26px;
}
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(23px, 5.6vw, 38px);
  line-height: 1.08;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: -0.2px;
}
.section-num {
  font-family: var(--display);
  font-size: 14px;
  color: #0e1013;
  background: var(--lime);
  padding: 5px 9px 4px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

/* ---------- Cards ---------- */
.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

.card {
  background: var(--charcoal-700);
  border: 2px solid var(--charcoal-600);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.card:hover { border-color: var(--lime-dim); transform: translateY(-3px); }

.card-art {
  height: 132px;
  position: relative;
  background: var(--charcoal-800);
  border-bottom: 2px solid var(--charcoal-600);
  overflow: hidden;
}
.card-art svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.card-body { padding: 20px 20px 22px; }
.card h3 {
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.15;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.card p { margin: 0; color: var(--muted); }

.feature {
  display: grid;
  gap: 24px;
  align-items: center;
  background: var(--charcoal-700);
  border: 2px solid var(--charcoal-600);
  border-left: 6px solid var(--lime);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.feature h2 {
  font-family: var(--display);
  font-size: clamp(21px, 5.2vw, 32px);
  line-height: 1.1;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.feature p { margin: 0 0 22px; color: var(--muted); }
.feature-art { border-radius: 10px; overflow: hidden; }
.feature-art svg { width: 100%; height: auto; display: block; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 14px; }

.faq-item {
  background: var(--charcoal-700);
  border: 2px solid var(--charcoal-600);
  border-radius: var(--radius);
  padding: 22px 20px;
}
.faq-item h3 {
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.2;
  text-transform: uppercase;
  margin: 0 0 10px;
  color: var(--lime);
}
.faq-item p { margin: 0; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  margin: 54px 0 0;
  padding: 30px 22px;
  background: var(--lime);
  border-radius: var(--radius);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}
.cta-band h2 {
  font-family: var(--display);
  font-size: clamp(20px, 5vw, 30px);
  text-transform: uppercase;
  margin: 0 0 16px;
  color: #0e1013;
}
.cta-band .btn { background: #0e1013; color: var(--lime); border-color: #0e1013; }
.cta-band .btn:hover { background: #262b34; }
.cta-band .btn.ghost { background: transparent; color: #0e1013; border-color: #0e1013; }
.cta-band .btn.ghost:hover { background: rgba(14, 16, 19, 0.12); color: #0e1013; }

/* ---------- Footer ---------- */
footer.site {
  margin-top: 64px;
  border-top: 3px solid var(--lime);
  background: var(--charcoal-900);
  padding: 30px 0 40px;
}
footer.site p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 15px;
  max-width: 60ch;
}
footer.site a { color: var(--lime); font-weight: 700; }
footer.site .fine { font-size: 13px; color: #79818f; }

/* ---------- Desktop ---------- */
@media (min-width: 720px) {
  body { font-size: 18px; }
  .topbar-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .nav { overflow-x: visible; }
  .nav a { font-size: 14px; padding: 10px 16px; }
  .hero { padding: 66px 0 14px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .card-art { height: 168px; }
  .section { padding: 60px 0 10px; }
  .feature { grid-template-columns: 1.1fr 0.9fr; padding: 34px 30px; }
}

@media (min-width: 1000px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
  .card-art { height: 150px; }
  .brand-name { font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .btn:hover, .card:hover { transform: none; }
}