:root {
  --ink: #171717;
  --soft-ink: #47413d;
  --muted: #77706b;
  --paper: #fffaf4;
  --panel: #ffffff;
  --orange: #e87722;
  --gold: #ffc44d;
  --green: #1f6f5b;
  --line: rgba(23, 23, 23, 0.12);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #ffffff;
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    padding 180ms ease;
}

.site-header.is-elevated {
  padding-block: 12px;
  background: rgba(18, 18, 18, 0.88);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.brand {
  display: block;
  width: 138px;
}

.brand img,
footer img {
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.42));
}

nav {
  display: flex;
  gap: clamp(16px, 3vw, 34px);
  font-size: 14px;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
  align-items: end;
  gap: clamp(20px, 4vw, 56px);
  padding-inline: clamp(18px, 5vw, 80px);
  overflow: hidden;
  color: #ffffff;
}

.hero-media,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
}

.hero-scrim {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.74)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.12));
}

.hero-content {
  position: relative;
  width: min(850px, 100%);
  padding: 148px 0 12vh;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(58px, 9vw, 122px);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 0.96;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 23px;
  line-height: 1.05;
}

.hero-copy,
.section-copy p,
.image-story p,
.community p,
.download p {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.45;
}

.hero-actions,
.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button,
.store-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 900;
}

.button-primary,
.store-button {
  color: #ffffff;
  background: var(--orange);
}

.button-secondary {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
}

.hero-phone-stack {
  position: relative;
  z-index: 2;
  height: min(650px, 74vh);
  align-self: end;
  margin-bottom: 6vh;
}

.phone {
  position: relative;
  width: 250px;
  aspect-ratio: 9 / 18.7;
  border: 10px solid #111111;
  border-radius: 34px;
  background: #111111;
  box-shadow:
    0 35px 80px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.phone-top {
  position: absolute;
  z-index: 5;
  top: 9px;
  left: 50%;
  width: 82px;
  height: 21px;
  border-radius: 0 0 14px 14px;
  background: #111111;
  transform: translateX(-50%);
}

.phone-screen {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 23px;
  background: #f6f0e9;
}

.screenshot-phone .phone-screen > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.screenshot-phone::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 24px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.phone-map {
  position: absolute;
  right: 34%;
  bottom: 0;
  transform: rotate(-7deg);
}

.phone-profile {
  position: absolute;
  right: 0;
  bottom: 44px;
  width: 226px;
  transform: rotate(7deg);
}

.app-map {
  position: relative;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(90deg, transparent 24%, rgba(255, 255, 255, 0.5) 24% 26%, transparent 26%),
    linear-gradient(0deg, transparent 18%, rgba(255, 255, 255, 0.5) 18% 20%, transparent 20%),
    linear-gradient(135deg, #d9eadb, #f4e7ce 52%, #d7e6ee);
}

.app-map::before,
.app-map::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(232, 119, 34, 0.14);
}

.app-map::before {
  width: 210px;
  height: 210px;
  top: 58px;
  left: -70px;
}

.app-map::after {
  width: 160px;
  height: 160px;
  right: -50px;
  bottom: 110px;
}

.map-route {
  position: absolute;
  left: 42px;
  top: 70px;
  width: 150px;
  height: 280px;
  border: 7px solid rgba(31, 111, 91, 0.76);
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 48% 44% 44% 50%;
  transform: rotate(22deg);
}

.map-pin {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 5px solid #ffffff;
  border-radius: 999px 999px 999px 0;
  background: var(--orange);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  transform: rotate(-45deg);
}

.pin-one {
  top: 128px;
  left: 76px;
}

.pin-two {
  top: 230px;
  right: 54px;
}

.pin-three {
  bottom: 170px;
  left: 84px;
}

.map-card {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 18px;
  padding: 16px;
  border-radius: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 40px rgba(35, 20, 8, 0.18);
}

.map-card strong,
.map-card span {
  display: block;
}

.map-card strong {
  margin-bottom: 5px;
  font-size: 17px;
}

.map-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.map-card button,
.event-screen button {
  width: 100%;
  min-height: 36px;
  margin-top: 12px;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  background: var(--orange);
  font-weight: 900;
}

.app-profile {
  min-height: 100%;
  padding: 54px 17px 18px;
  color: #ffffff;
  background: linear-gradient(180deg, #1a1714 0 35%, #fff7ef 35% 100%);
  text-align: center;
}

.profile-bike {
  width: 118px;
  height: 158px;
  object-fit: contain;
  margin: 0 auto -24px;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.42));
}

.profile-avatar {
  width: 70px;
  height: 70px;
  object-fit: cover;
  margin: 0 auto 14px;
  border: 4px solid #ffffff;
  border-radius: 999px;
  background: #ffffff;
}

.app-profile h3 {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 19px;
}

.app-profile p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 16px 0;
}

.profile-stats span {
  padding: 9px 4px;
  border-radius: 10px;
  color: var(--muted);
  background: #ffffff;
  font-size: 10px;
  font-weight: 800;
}

.profile-stats strong {
  display: block;
  color: var(--orange);
  font-size: 18px;
}

.badge-row {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.badge-row img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.app-showcase {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(76px, 10vw, 145px) clamp(18px, 6vw, 90px);
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.96), rgba(245, 234, 223, 0.92)),
    url("/assets/rider-stop.jpg") center / cover;
}

.wide-screenshot {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
  padding: clamp(78px, 10vw, 145px) clamp(18px, 6vw, 90px);
  background: #151515;
  color: #ffffff;
}

.wide-screenshot p:not(.eyebrow) {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.45;
}

.wide-product-shot {
  width: 100%;
  max-height: 720px;
  object-fit: contain;
  filter: drop-shadow(0 34px 80px rgba(0, 0, 0, 0.42));
}

.showcase-copy p {
  max-width: 590px;
  color: var(--soft-ink);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.45;
}

.showcase-phones {
  min-height: 590px;
  position: relative;
}

.showcase-phones .phone {
  position: absolute;
}

.phone-feed {
  left: 0;
  top: 92px;
  width: 218px;
  transform: rotate(-8deg);
}

.phone-map-large {
  left: 50%;
  top: 0;
  width: 260px;
  transform: translateX(-50%);
  z-index: 2;
}

.phone-events {
  right: 0;
  top: 88px;
  width: 218px;
  transform: rotate(8deg);
}

.feed-screen {
  min-height: 100%;
  padding: 48px 15px 16px;
  background: #fff7ef;
}

.feed-screen > img {
  width: 102px;
  margin: 0 auto 22px;
  filter: drop-shadow(0 7px 16px rgba(0, 0, 0, 0.18));
}

.feed-screen article {
  margin-bottom: 12px;
  padding: 14px;
  border-radius: 15px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(35, 20, 8, 0.08);
}

.feed-screen span,
.event-screen span {
  display: block;
  margin-bottom: 6px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.feed-screen strong {
  display: block;
  margin-bottom: 5px;
  font-size: 15px;
}

.feed-screen p,
.event-screen p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.event-screen {
  min-height: 100%;
  padding: 48px 15px 16px;
  background: #151515;
  color: #ffffff;
}

.event-screen > img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 18px;
}

.event-screen h3 {
  font-size: 21px;
}

.event-screen p {
  color: rgba(255, 255, 255, 0.68);
}

.section {
  padding: clamp(78px, 10vw, 150px) clamp(18px, 5vw, 80px);
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: start;
  background: #151515;
  color: #ffffff;
}

.section-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-tile {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.feature-tile span {
  margin-bottom: auto;
  color: var(--orange);
  font-weight: 900;
}

.feature-tile p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.45;
}

.image-story,
.community {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1fr);
  gap: clamp(26px, 6vw, 76px);
  align-items: center;
  padding: clamp(78px, 10vw, 140px) clamp(18px, 6vw, 90px);
}

.image-story img,
.community img {
  width: 100%;
  height: min(680px, 72vh);
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(37, 21, 8, 0.18);
}

.image-story p,
.community p,
.download p {
  color: var(--soft-ink);
}

.community {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.75fr);
  background: #f5eadf;
}

.highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  background: var(--line);
}

.highlights div {
  min-height: 220px;
  padding: 32px clamp(18px, 3vw, 34px);
  background: var(--paper);
}

.highlights strong {
  display: block;
  margin-bottom: 12px;
  font-size: 28px;
}

.highlights span {
  color: var(--muted);
  line-height: 1.45;
}

.download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(72px, 10vw, 130px) clamp(18px, 6vw, 90px);
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(19, 19, 19, 0.92), rgba(19, 19, 19, 0.62)),
    url("/assets/rider-stop.jpg") center / cover;
}

.download h2 {
  margin-bottom: 10px;
}

.download p {
  color: rgba(255, 255, 255, 0.78);
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 70px);
  color: #ffffff;
  background: #111111;
}

footer img {
  width: 118px;
}

footer span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.deeplink-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 22px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.76)),
    url("/assets/hero-ride.png") center / cover;
}

.deeplink-panel {
  width: min(560px, 100%);
  border-radius: 8px;
  padding: clamp(24px, 6vw, 42px);
  background: rgba(18, 18, 18, 0.88);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(14px);
}

.deeplink-panel img {
  width: 150px;
  margin-bottom: 22px;
}

.deeplink-panel h1 {
  margin-bottom: 14px;
  font-size: clamp(38px, 8vw, 66px);
}

.deeplink-panel p {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.5;
}

@media (max-width: 880px) {
  nav {
    display: none;
  }

  .brand {
    width: 118px;
  }

  .feature-band,
  .image-story,
  .community,
  .app-showcase,
  .wide-screenshot,
  .download {
    grid-template-columns: 1fr;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-content {
    padding-bottom: 30px;
  }

  .hero-phone-stack {
    width: min(520px, 100%);
    height: 520px;
    margin: 0 auto 56px;
  }

  .phone-map {
    left: 8%;
    right: auto;
  }

  .phone-profile {
    right: 9%;
  }

  .showcase-phones {
    min-height: 760px;
  }

  .phone-feed {
    left: 2%;
    top: 280px;
  }

  .phone-map-large {
    top: 0;
  }

  .phone-events {
    right: 2%;
    top: 280px;
  }

  .feature-grid,
  .highlights {
    grid-template-columns: 1fr;
  }

  .feature-tile,
  .highlights div {
    min-height: 180px;
  }

  .community img {
    order: -1;
  }

  .download {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: auto;
    padding-inline: 18px;
  }

  .hero-content {
    padding-bottom: 9vh;
  }

  .hero-phone-stack {
    height: 460px;
    margin-bottom: 38px;
  }

  .phone {
    width: 214px;
    border-width: 8px;
    border-radius: 30px;
  }

  .phone-profile {
    width: 186px;
    bottom: 34px;
  }

  .showcase-phones {
    min-height: auto;
    display: grid;
    gap: 22px;
  }

  .showcase-phones .phone {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: min(260px, 86vw);
    margin: 0 auto;
    transform: none;
  }

  .hero-actions,
  .store-actions {
    width: 100%;
  }

  .button,
  .store-button {
    width: 100%;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
