:root{
  --od-green:#556B2F;       /* OD green */
  --od-green-dark:#3f5323;
  --dark-gray:#1f2326;      /* dark gray */
  --dark-gray-2:#2a2f33;
  --text:#e9eef2;
  --muted:#b8c2cc;
  --border:rgba(255,255,255,.12);
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}

*{ box-sizing:border-box; }
html,body{
  margin:0;
  padding:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: linear-gradient(180deg, var(--dark-gray) 0%, #14181b 100%);
  color:var(--text);
}

a{ color:inherit; text-decoration:none; }

.header{
  position:fixed;
  top:0; left:0; right:0;
  height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 18px;
  background: rgba(31,35,38,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index:999;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 260px;
}
.brand img{
  width:44px; height:44px;
  border-radius:10px;
  border:1px solid var(--border);
  background:#0f1214;
}
.brand .title{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}
.brand .title strong{
  font-size:18px;
  letter-spacing:.3px;
}
.brand .title span{
  font-size:12px;
  color:var(--muted);
}

.nav{
  display:flex;
  align-items:center;
  gap:10px;
  flex:1;
  justify-content:center;
  scroll-behavior:smooth;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid var(--border);
  background: var(--dark-gray-2);
  color:var(--text);
  font-weight:600;
  font-size:14px;
  transition: transform .08s ease, background .2s ease, border-color .2s ease;
}
.btn:hover{
  background: #333a40;
  border-color: rgba(255,255,255,.2);
  transform: translateY(-1px);
}
.btn:active{ transform: translateY(0px); }

.btn-primary{
  background: linear-gradient(180deg, var(--od-green) 0%, var(--od-green-dark) 100%);
  border-color: rgba(255,255,255,.18);
}
.btn-primary:hover{
  background: linear-gradient(180deg, #607a35 0%, #34461d 100%);
}

.login-cta{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  min-width: 160px;
}
.btn-small{
  padding:8px 10px;
  border-radius:10px;
  font-size:13px;
}

.page{
  max-width: 1100px;
  margin: 0 auto;
  padding: 110px 18px 60px; /* top padding accounts for fixed header */
}

.hero{
  background: radial-gradient(1200px 500px at 20% 0%, rgba(85,107,47,.35) 0%, rgba(85,107,47,0) 55%),
              radial-gradient(900px 500px at 80% 30%, rgba(255,255,255,.08) 0%, rgba(255,255,255,0) 60%);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.hero h1{ margin:0 0 10px; font-size:34px; letter-spacing:.2px; }
.hero p{ margin:0; color:var(--muted); font-size:16px; line-height:1.55; max-width: 70ch; }

.grid{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.card{
  grid-column: span 4;
  background: rgba(42,47,51,.65);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
}
.card h3{ margin:0 0 8px; font-size:16px; }
.card p{ margin:0; color:var(--muted); line-height:1.5; }

@media (max-width: 900px){
  /* Use grid so: Row 1 = brand + login, Row 2 = nav.
     This prevents nav buttons from overlapping/blocking the login. */
  .header{
    position: sticky;
    top: 0;
    height: auto;
    min-height: 72px;
    padding: 10px 12px;
    gap: 10px;

    display:grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand login"
      "nav   nav";
    align-items:center;
  }

  .brand{
    grid-area: brand;
    min-width: 0;           /* allow title to shrink nicely */
  }

  .login-cta{
    grid-area: login;
    min-width: 0;
    justify-content:flex-end;
  }

  .nav{
    grid-area: nav;
    justify-content:center;
    overflow-x:auto;
    -webkit-overflow-scrolling: touch;
    padding: 6px 0;
  }

  .page{
    /* sticky header stays in flow, so no big offset needed */
    padding: 24px 18px 60px;
  }

  .card{ grid-column: span 12; }
}

.nav{ scrollbar-width: none; }
.nav::-webkit-scrollbar{ display:none; }

.hero-vehicle {
  width: min(90vw, 800px);
  height: auto;
  display: block;
  margin: 0 auto;
}

.footer{
  margin-top: 26px;
  color: var(--muted);
  font-size: 13px;
  text-align:center;
}