/* Deep green night, heavy slanted type, one neon accent. */
:root {
  --lime: #45f03a;
  --lime-deep: #1f9a17;
  --green-night: #11160f;
  --green-card: #1a2216;
  --green-line: #2c3a26;
  --ink: #0b0e0a;
  --paper: #f1f3ef;
  --text: #ffffff;
  --muted: #a7b0a3;
  --dark-muted: #4d5549;
  --font: Vazirmatn, Tahoma, sans-serif;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); background: var(--green-night); color: var(--text); line-height: 1.8; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
}

h1, h2, h3 { margin: 0; font-weight: 900; line-height: 1.05; text-wrap: balance; }
/* Sporty lean. Vazirmatn has no italic, so the heading box is skewed; Persian
   reads right to left, so "forward" leans the tops to the left. */
.slant { transform: skewX(9deg); letter-spacing: 0; }
h1 { font-size: clamp(64px, 11vw, 150px); }
h2 { font-size: clamp(44px, 6.5vw, 88px); margin-bottom: 28px; }
h3 { font-size: 22px; }
.lime { color: var(--lime); }
.lime-dark { color: var(--lime-deep); }
.center { text-align: center; }

.logo { font-weight: 900; font-size: 30px; text-decoration: none; line-height: 1; position: relative; display: inline-block; }
.logo::after {
  content: "";
  position: absolute;
  inset-inline-start: 6px;
  bottom: -6px;
  width: 18px;
  height: 4px;
  border-radius: 2px;
  background: var(--lime);
}
.logo.dark { color: var(--ink); }
.logo.dark::after { background: var(--ink); }

.store-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  padding: 13px 24px;
  border-radius: 12px;
  transition: transform 0.15s ease;
}
.store-btn:hover { transform: translateY(-2px); }
.store-btn:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

/* ---------- Opening ---------- */
.hero { padding: max(12px, env(safe-area-inset-top)) 12px 0; }
.hero-frame {
  position: relative;
  min-height: min(92vh, 900px);
  border: 1.5px solid var(--lime);
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hero-map {
  position: absolute;
  inset: 0;
  background: url("/site/img/hero-map.webp") center / cover no-repeat;
  filter: saturate(1.2);
}
.hero-map::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 45%, rgba(11, 14, 10, 0.55), rgba(11, 14, 10, 0.92) 70%),
    linear-gradient(to top, var(--green-night), transparent 35%);
}
.hero-bar {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
}
.bar-link { text-decoration: none; font-weight: 700; font-size: 15px; border-bottom: 2px solid var(--lime); }
.hero-copy {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 20px 90px;
  gap: 26px;
}
.hero-copy p { margin: 0; font-size: clamp(17px, 2vw, 21px); font-weight: 600; }

/* ---------- Facts ---------- */
.stage {
  position: relative;
  margin-top: -1px;
  border-radius: 40px 40px 0 0;
  overflow: hidden;
  padding-block: 120px;
  background: #1c2119;
}
.stage-map {
  position: absolute;
  inset: 0;
  background: url("/site/img/hero-map.webp") 30% 60% / 160% no-repeat;
  opacity: 0.35;
  filter: grayscale(0.6);
}
.stage-inner { position: relative; text-align: center; }
.stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; }
.stat {
  width: 220px;
  background: #fff;
  color: var(--ink);
  border: 3px solid var(--lime);
  border-radius: 18px;
  padding: 18px 16px 16px;
  margin-inline: -4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.stat:nth-child(1) { transform: rotate(-3deg); }
.stat:nth-child(2) { transform: translateY(-6px); z-index: 1; }
.stat:nth-child(3) { transform: rotate(3deg); }
.stat b { font-size: 64px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span {
  background: #b9f7b2;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 800;
}

/* ---------- How it works ---------- */
.how { padding-block: 120px; background: var(--green-night); }
.how-inner { display: grid; grid-template-columns: 1fr 0.8fr; gap: 60px; align-items: start; }
.how-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.how-step { padding-block: 10vh; }
.how-step:first-child { padding-top: 0; }
.how-step button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: start;
  font: inherit;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  background: var(--green-card);
  border: 1px solid var(--green-line);
  border-radius: 14px;
  padding: 14px 18px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.how-step .num {
  width: 30px;
  height: 30px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
}
.how-step p { margin: 14px 4px 0; color: var(--muted); max-height: 0; overflow: hidden; opacity: 0; transition: opacity 0.3s, max-height 0.3s; }
.how-step.active button { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.how-step.active p { max-height: 240px; opacity: 1; }
.how-phone { position: sticky; top: 8vh; }

.phone {
  width: min(320px, 78vw);
  margin-inline: auto;
  border-radius: 46px;
  padding: 10px;
  background: #050605;
  box-shadow: 0 0 0 2px #2f3a2a, 0 30px 80px rgba(0, 0, 0, 0.6);
}
.phone img { border-radius: 36px; }

/* ---------- Run or ride ---------- */
.modes {
  padding-block: 120px;
  color: var(--ink);
  background:
    linear-gradient(rgba(241, 243, 239, 0.88), rgba(241, 243, 239, 0.88)),
    repeating-linear-gradient(28deg, transparent 0 46px, #d6ddd2 46px 48px),
    repeating-linear-gradient(-62deg, transparent 0 70px, #d6ddd2 70px 72px),
    var(--paper);
}
.modes-inner { display: grid; grid-template-columns: 1fr 0.8fr; gap: 60px; align-items: center; }
.modes-copy > p { color: var(--dark-muted); font-size: 18px; max-width: 32em; margin: 0 0 30px; }
.mode-list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mode-list p { margin: 8px 0 0; color: var(--dark-muted); font-size: 15px; }
.mode-ico { font-size: 34px; }
.light-phone { box-shadow: 0 0 0 2px #cfd6cb, 0 30px 70px rgba(0, 0, 0, 0.25); }

/* ---------- Feature cards ---------- */
.cards { position: relative; padding-block: 120px 90px; overflow: hidden; background: #171d14; }
.cards-map {
  position: absolute;
  inset: 0;
  background: url("/site/img/hero-map.webp") 80% 30% / 180% no-repeat;
  opacity: 0.18;
}
.cards .wrap { position: relative; }
.card-track {
  position: relative;
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px max(20px, calc((100vw - var(--wrap)) / 2 + 20px)) 30px;
  scrollbar-width: thin;
  scrollbar-color: var(--lime) transparent;
}
.card-track:focus-visible { outline: 2px solid var(--lime); outline-offset: -2px; }
.card {
  flex: 0 0 300px;
  scroll-snap-align: center;
  background: rgba(17, 22, 15, 0.92);
  border: 1px solid var(--green-line);
  border-radius: 20px;
  padding: 28px 24px;
}
.card svg { width: 34px; height: 34px; color: var(--lime); margin-bottom: 18px; }
.card h3 { transform: skewX(9deg); transform-origin: right; font-size: 26px; margin-bottom: 10px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Install ---------- */
.install { padding-block: 110px; background: var(--green-night); }
.sub { color: var(--muted); font-size: 18px; margin: -10px auto 36px; max-width: 34em; }
.install-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 900px; margin-inline: auto; }
.install-card { background: var(--green-card); border: 1px solid var(--green-line); border-radius: 22px; padding: 28px; }
.install-card ol { margin: 12px 0 0; padding-inline-start: 22px; color: var(--muted); }
.install-card b { color: #fff; }
.install-card li { margin-bottom: 8px; }

/* ---------- FAQ ---------- */
.faq { padding-block: 110px; background: var(--green-night); border-top: 1px solid var(--green-line); }
.faq-inner { max-width: 760px; }
.faq details { margin-bottom: 12px; border-radius: 14px; background: var(--green-card); border: 1px solid var(--green-line); overflow: hidden; }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  font-weight: 800;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "⌄";
  width: 28px;
  height: 28px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-weight: 900;
  line-height: 1;
  transition: transform 0.2s;
}
.faq details[open] summary { background: #b9f7b2; color: var(--ink); }
.faq details[open] summary::after { transform: rotate(180deg); background: var(--ink); color: var(--lime); }
.faq details p { margin: 0; padding: 14px 18px 18px; color: var(--muted); }
.faq summary:focus-visible { outline: 3px solid var(--lime); outline-offset: -3px; }

/* ---------- Closing ---------- */
.final { padding: 24px 12px calc(12px + env(safe-area-inset-bottom)); background: var(--green-night); }
.final-card {
  background: var(--lime);
  color: var(--ink);
  border-radius: 40px;
  padding: 60px 20px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 30px;
  min-height: 70vh;
  justify-content: center;
}
.final h2 { font-size: clamp(60px, 10vw, 140px); margin: 0; }
.final .fine { margin: 20px 0 0; font-size: 13px; color: #1b4a16; }

/* ---------- Narrow screens ---------- */
@media (max-width: 860px) {
  .br-wide { display: none; }
  .hero-bar { padding: 18px 20px; }
  .stage, .how, .modes, .cards, .install, .faq { padding-block: 80px; }
  .how-inner, .modes-inner { grid-template-columns: 1fr; gap: 40px; }
  .how-step { padding-block: 0; }
  .how-phone { position: static; }
  .stat { width: 100%; max-width: 280px; margin: 6px 0; transform: none !important; }
  .mode-list, .install-grid { grid-template-columns: 1fr; }
  .card { flex-basis: 78vw; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .store-btn, .how-step p, .how-step button, .faq summary::after { transition: none; }
}
