:root {
  --rider: #f59e0b;
  --rider-dark: #f97316;
  --rider-soft: #fff7ed;
  --pillion: #3b82f6;
  --pillion-dark: #2563eb;
  --pillion-soft: #eff6ff;
  --accent: #10b981;
  --ink: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --surface: #f8f9fa;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(17, 24, 39, 0.12);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 16px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.18), transparent 34rem),
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.14), transparent 32rem),
    var(--surface);
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.page-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

/* Header */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
}

.nav-links a:hover {
  background: var(--white);
  color: var(--ink);
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.7fr);
  gap: 56px;
  align-items: center;
  padding: 40px 0 80px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 14px;
  border: 1px solid rgba(245, 158, 11, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--rider-dark);
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(17, 24, 39, 0.06);
}

.eyebrow-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.14);
}

h1 {
  margin: 20px 0;
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.07em;
}

.gradient-text {
  background: linear-gradient(100deg, var(--rider-dark), var(--pillion-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 30px;
  color: #374151;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.microcopy {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.hero-visual {
  display: grid;
  place-items: center;
}

/* Device frame wrapping a real app screenshot */

.phone {
  position: relative;
  width: min(324px, 100%);
  padding: 13px;
  border: 9px solid #111827;
  border-radius: 40px;
  background: #111827;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone-shot {
  width: 100%;
  height: auto;
  border-radius: 26px;
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 17px;
  border: 1px solid transparent;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--rider), var(--rider-dark));
  box-shadow: 0 18px 34px rgba(249, 115, 22, 0.28);
}

.button-secondary {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.07);
}

/* Sections */

section {
  padding: 76px 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  position: relative;
  padding: 26px;
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.06);
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  letter-spacing: -0.035em;
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
}

.icon-badge {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  border-radius: 18px;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.icon-rider {
  background: linear-gradient(135deg, var(--rider), var(--rider-dark));
}

.icon-pillion {
  background: linear-gradient(135deg, var(--pillion), var(--pillion-dark));
}

.icon-green {
  background: linear-gradient(135deg, var(--accent), #059669);
}

/* Rider / pillion mode cards */

.modes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.mode-card {
  min-height: 430px;
  padding: 34px;
  border-radius: var(--radius-lg);
  color: var(--white);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
}

.mode-card::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -90px;
  bottom: -90px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.mode-card.rider-mode {
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.22), transparent 15rem),
    linear-gradient(135deg, var(--rider), var(--rider-dark));
}

.mode-card.pillion-mode {
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.2), transparent 15rem),
    linear-gradient(135deg, var(--pillion), var(--pillion-dark));
}

.mode-label {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 900;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mode-card h2 {
  max-width: 450px;
  margin: 24px 0 16px;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.mode-card p {
  max-width: 470px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.04rem;
}

.mode-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
  position: relative;
  z-index: 1;
}

.mode-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.check {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  font-size: 0.82rem;
  flex: 0 0 auto;
}

/* Product tour: real device screenshots grouped by flow */

.tour-group + .tour-group {
  margin-top: 54px;
}

.tour-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.tour-head h3 {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: -0.045em;
}

.tour-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.shot-grid.of-three {
  grid-template-columns: repeat(3, 1fr);
  max-width: 855px;
}

.shot {
  margin: 0;
}

.shot img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 16px 38px rgba(17, 24, 39, 0.1);
}

.shot figcaption {
  margin-top: 12px;
}

.shot figcaption strong {
  display: block;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.shot figcaption span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.89rem;
  line-height: 1.45;
}

/* Story + safety split */

.split-panel {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 28px;
  align-items: stretch;
}

.story-panel {
  padding: 34px;
  border-radius: var(--radius-lg);
  background: #111827;
  color: var(--white);
  box-shadow: var(--shadow);
}

.story-panel h2 {
  margin-bottom: 14px;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.story-panel p {
  color: rgba(255, 255, 255, 0.74);
}

.city-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.city-tags span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.9rem;
  font-weight: 750;
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 26px;
}

.metric {
  padding: 22px;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  text-align: center;
}

.metric-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0 auto 12px;
  border-radius: 15px;
  color: var(--rider-dark);
  background: var(--rider-soft);
}

.metric-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.metric strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.55rem;
  letter-spacing: -0.05em;
}

.metric span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

/* Founder / about */

.founder-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: start;
  max-width: 760px;
  margin: 0 auto;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.06);
}

.founder-avatar {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--rider), var(--rider-dark));
  color: var(--white);
  font-size: 1.7rem;
  font-weight: 900;
}

.founder-card h3 {
  margin-bottom: 2px;
  font-size: 1.25rem;
  letter-spacing: -0.035em;
}

.founder-role {
  margin-bottom: 12px;
  color: var(--rider-dark);
  font-weight: 800;
  font-size: 0.92rem;
}

.founder-card p {
  margin-bottom: 14px;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--pillion-dark);
  font-weight: 800;
  border-bottom: 1px solid rgba(37, 99, 235, 0.3);
}

.text-link:hover {
  border-bottom-color: var(--pillion-dark);
}

/* Private beta call to action */

.cta {
  padding: 0 0 76px;
}

.beta-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 36px;
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(255, 255, 255, 0.92));
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.06);
}

.beta-box h3 {
  margin-bottom: 8px;
  font-size: 1.55rem;
  letter-spacing: -0.045em;
}

.beta-box p {
  margin-bottom: 0;
  max-width: 620px;
  color: var(--muted);
}

.badge-beta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.16);
  color: #047857;
  font-size: 0.83rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* Legal and contact pages */

.page-head {
  padding: 40px 0 12px;
}

.page-head h1 {
  margin: 0 0 10px;
  font-size: clamp(2.3rem, 6vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.page-head p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.updated {
  display: inline-block;
  margin-top: 16px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 750;
}

.legal {
  max-width: 840px;
  padding: 24px 0 72px;
}

.legal h2 {
  margin: 42px 0 12px;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}

.legal h2:first-of-type {
  margin-top: 20px;
}

.legal h3 {
  margin: 26px 0 8px;
  font-size: 1.08rem;
  letter-spacing: -0.025em;
}

.legal p,
.legal li {
  color: #374151;
}

.legal ul,
.legal ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

.legal li {
  margin-bottom: 9px;
}

.legal strong {
  color: var(--ink);
}

.legal table {
  width: 100%;
  margin-bottom: 20px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.legal th,
.legal td {
  padding: 11px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal th {
  background: var(--white);
  font-weight: 850;
}

.callout {
  margin: 24px 0;
  padding: 24px 26px;
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-left: 5px solid var(--rider-dark);
  border-radius: var(--radius-sm);
  background: var(--rider-soft);
}

.callout h3 {
  margin-top: 0;
}

.callout p:last-child,
.callout ul:last-child {
  margin-bottom: 0;
}

.callout-blue {
  border-color: rgba(59, 130, 246, 0.3);
  border-left-color: var(--pillion-dark);
  background: var(--pillion-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 26px;
}

.contact-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.06);
}

.contact-card h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.contact-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.contact-card a {
  color: var(--pillion-dark);
  font-weight: 800;
}

.error-box {
  max-width: 620px;
  padding: 80px 0 120px;
}

/* Footer */

footer {
  padding: 28px 0 42px;
  color: var(--muted);
  font-size: 0.94rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.footer-row strong {
  color: var(--ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-weight: 750;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-legal {
  margin-top: 14px;
  border-top: 0;
  padding-top: 0;
  font-size: 0.88rem;
}

footer a {
  color: var(--pillion-dark);
  font-weight: 750;
}

/* Responsive */

@media (max-width: 980px) {
  .hero,
  .split-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 20px;
  }

  .feature-grid,
  .metric-strip,
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shot-grid,
  .shot-grid.of-three {
    grid-template-columns: repeat(2, 1fr);
    max-width: none;
  }

  .beta-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 24px, 1160px);
  }

  .nav-links {
    display: none;
  }

  .hero {
    gap: 32px;
    padding-bottom: 52px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  section {
    padding: 52px 0;
  }

  .feature-grid,
  .modes,
  .safety-grid,
  .metric-strip,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .shot-grid,
  .shot-grid.of-three {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin: 0 auto;
  }

  .mode-card {
    min-height: auto;
    padding: 28px;
  }

  .beta-box {
    padding: 28px;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .founder-card {
    grid-template-columns: 1fr;
  }

  .legal table {
    display: block;
    overflow-x: auto;
  }
}
