/* Pedal Prime — static landing */
:root {
  --bg: #0f1419;
  --bg-elevated: #1a222d;
  --surface: #232d3b;
  --text: #e8eef4;
  --text-muted: #9aacbd;
  --accent: #00d4aa;
  --accent-dim: rgba(0, 212, 170, 0.15);
  --accent-hot: #ff6b35;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 14px;
  --shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 1.05rem;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

figure {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: var(--bg);
  z-index: 9999;
}

.wrap {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 20, 25, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
  position: relative;
}

.logo {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #00a388);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--text);
  text-decoration: none;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #00b894);
  color: #04251f;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 212, 170, 0.35);
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: var(--surface);
  text-decoration: none;
}

.menu-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    margin-inline-start: auto;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-elevated);
    padding: 1rem 1.5rem 1.25rem;
    border-bottom: 1px solid var(--border);
    gap: 0;
    display: none;
  }

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

  .nav-links li {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .header-cta .btn-ghost {
    display: none;
  }
}

/* Hero */
.hero {
  padding: clamp(3rem, 10vw, 6rem) 0 clamp(4rem, 12vw, 7rem);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 70% -10%, rgba(0, 212, 170, 0.18), transparent),
    radial-gradient(ellipse 60% 40% at 10% 80%, rgba(255, 107, 53, 0.08), transparent);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: var(--accent-dim);
  color: var(--accent);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.35rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  font-weight: 800;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin: 0 0 1.75rem;
  max-width: 34ch;
}

.hero-grid > div:first-child .hero-lead {
  margin-inline: 0;
}

@media (max-width: 900px) {
  .hero-lead {
    margin-inline: auto;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-trust strong {
  color: var(--text);
}

.hero-visual {
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1rem;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.hero-visual-inner {
  width: 100%;
  height: 100%;
  border-radius: calc(var(--radius) - 6px);
  overflow: hidden;
  background: var(--surface);
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-caption {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Sections */
section {
  padding: clamp(3rem, 8vw, 5rem) 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.kits-cards {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, transform 0.2s ease;
  overflow: hidden;
}

.card:hover {
  border-color: rgba(0, 212, 170, 0.35);
  transform: translateY(-3px);
}

.card-with-media .card-body {
  padding: 1.55rem 1.75rem 1.75rem;
}

.card-with-media.card {
  padding: 0;
}

.card-media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--surface);
}

.card-media-short {
  aspect-ratio: 3 / 2;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.card-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Split + stats */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split-with-image {
  margin-bottom: 2rem;
}

@media (max-width: 850px) {
  .split {
    grid-template-columns: 1fr;
  }

  .split-figure {
    order: -1;
  }
}

.split-content h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin: 0 0 1rem;
}

.split-content ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.split-content li {
  padding: 0.65rem 0;
  padding-left: 1.75rem;
  position: relative;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.split-content li:last-child {
  border-bottom: none;
}

.split-content li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.split-figure img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.split-caption {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

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

@media (max-width: 700px) {
  .stat-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.stat-cell {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  border: 1px solid var(--border);
}

.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--surface), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
  margin: 2rem 0;
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
}

.cta-band p {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 700px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-brand .logo {
  margin-bottom: 0.75rem;
}

.footer-attribution {
  margin-top: 1rem;
  font-size: 0.78rem;
  opacity: 0.85;
  max-width: 42ch;
}

.footer-col h4 {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: var(--text-muted);
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}
