:root {
  color-scheme: light;
  --ink: #111318;
  --steel: #2d2d2d;
  --muted: #5d6570;
  --paper: #f7f4ed;
  --tile: #fffdf8;
  --tile-strong: #ffffff;
  --line: #d6d0c4;
  --line-dark: #3a3a3a;
  --red: #bb030f;
  --yellow: #f2c94c;
  --green: #003611;
  --blue: #1e4f91;
  --sky: #e7f0f6;
  --shadow: 0 24px 54px rgba(17, 19, 24, 0.16);
  --max: 1180px;
  --pad: 24px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100svh;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 20;
  transform: translateY(-160%);
  background: var(--yellow);
  color: var(--ink);
  padding: 10px 14px;
  font-weight: 900;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(17, 19, 24, 0.12);
  background: rgba(247, 244, 237, 0.94);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(var(--max), calc(100% - 48px));
  min-height: 70px;
  margin: 0 auto;
}

.nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
}

.brand img {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
}

.brand span {
  line-height: 1;
  white-space: nowrap;
}

.mobile-store {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  min-height: 40px;
  padding: 11px 12px;
  border: 1px solid transparent;
  color: var(--steel);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links a:hover {
  border-color: var(--line);
  background: var(--tile);
}

.nav-links .store-link {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.nav-links .store-link:hover {
  border-color: var(--red);
  background: var(--red);
}

.hero {
  position: relative;
  display: grid;
  min-height: 82svh;
  overflow: hidden;
  background: #16120e url("assets/hero-riding-subway.png") center 42% / cover no-repeat;
  color: #fff;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(8, 9, 11, 0.84) 0%, rgba(8, 9, 11, 0.58) 48%, rgba(8, 9, 11, 0.22) 100%),
    rgba(0, 0, 0, 0.18);
}

.hero-inner {
  position: relative;
  display: grid;
  align-content: center;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 56px 0 72px;
}

.eyebrow,
.section-kicker,
.legal-kicker {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--yellow);
}

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

figure {
  margin: 0;
}

h1 {
  max-width: 8ch;
  margin-bottom: 22px;
  font-size: 5.9rem;
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.45rem;
  font-weight: 760;
  line-height: 1.35;
}

.hero-actions,
.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 18px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.button:hover {
  border-color: var(--red);
  background: var(--red);
}

.button.light {
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.button.light:hover {
  background: #fff;
  color: var(--ink);
}

.button.alt {
  background: var(--tile-strong);
  color: var(--ink);
}

.button.alt:hover {
  color: #fff;
}

.hero-product {
  position: absolute;
  right: max(54px, calc((100vw - var(--max)) / 2));
  bottom: 104px;
  width: min(300px, 22vw);
  transform: rotate(3deg);
  filter: drop-shadow(0 30px 42px rgba(0, 0, 0, 0.42));
}

.hero-product img {
  width: 100%;
  border: 10px solid #101318;
  border-radius: 32px;
  background: #101318;
}

.hero-strip {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(8, 9, 11, 0.68);
}

.hero-stat {
  padding: 16px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat:last-child {
  border-right: 0;
}

.hero-stat strong {
  display: block;
  font-size: 1.6rem;
  line-height: 1;
}

.hero-stat span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

.section {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 82px 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.62fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 36px;
}

h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: 3.25rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.section-intro {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

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

.proof-item {
  min-width: 0;
  padding: 22px;
  background: var(--tile-strong);
}

.proof-item strong {
  display: block;
  font-size: 2.5rem;
  line-height: 1;
}

.proof-item span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.35;
  text-transform: uppercase;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 34px;
  align-items: center;
}

.phone-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
}

.phone-shot {
  overflow: hidden;
  border: 10px solid #101318;
  border-radius: 30px;
  background: #101318;
  box-shadow: var(--shadow);
}

.phone-shot:nth-child(2) {
  transform: translateY(-28px);
}

.phone-shot img {
  width: 100%;
  aspect-ratio: 402 / 874;
  object-fit: cover;
  border-radius: 20px;
}

.feature-stack {
  display: grid;
  gap: 14px;
}

.feature-card,
.route-card,
.legal-card,
.support-card,
.policy-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--tile-strong);
  box-shadow: 0 10px 28px rgba(17, 19, 24, 0.08);
}

.feature-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  align-items: start;
}

.feature-mark {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 950;
}

.feature-card h3,
.route-card h3,
.support-card h3,
.policy-card h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.feature-card p,
.route-card p,
.support-card p,
.policy-card p,
.legal-card p,
.legal-card li,
.support-card li,
.policy-card li {
  color: var(--muted);
  line-height: 1.58;
}

.routes-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.route-card {
  display: grid;
  gap: 16px;
  min-height: 260px;
  padding: 18px;
}

.route-chip {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 950;
}

.route-chip.red {
  background: var(--red);
  color: #fff;
}

.route-chip.green {
  background: var(--green);
  color: #fff;
}

.route-chip.blue {
  background: var(--blue);
  color: #fff;
}

.route-chip.steel {
  background: var(--steel);
  color: #fff;
}

.route-card p {
  margin-bottom: 0;
}

.media-band {
  background: var(--steel);
  color: #fff;
}

.media-band .section + .section {
  border-top-color: rgba(255, 255, 255, 0.16);
}

.media-band .section-kicker {
  color: var(--yellow);
}

.media-band .section-intro,
.media-band p {
  color: rgba(255, 255, 255, 0.76);
}

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

.surface {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #191d23;
}

.surface img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.surface div {
  padding: 16px;
}

.surface h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.surface p {
  margin: 0;
  font-size: 0.95rem;
}

.pricing-section {
  background: var(--sky);
}

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 24px;
  align-items: stretch;
}

.pass-card {
  display: grid;
  align-content: space-between;
  min-height: 100%;
  padding: 28px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--yellow);
}

.pass-card h2 {
  font-size: 2.7rem;
}

.pass-card p {
  color: #2d2d2d;
  font-weight: 700;
  line-height: 1.58;
}

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

.tier {
  min-height: 100%;
  padding: 20px;
  border: 1px solid rgba(17, 19, 24, 0.22);
  border-radius: 8px;
  background: var(--tile-strong);
}

.tier .label {
  display: inline-block;
  margin-bottom: 16px;
  padding: 7px 9px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 950;
  text-transform: uppercase;
}

.tier h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.tier p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

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

.trust-item {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--tile-strong);
}

.trust-item h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.trust-item p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.final-cta {
  background: var(--green);
  color: #fff;
}

.final-cta .section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.final-cta h2 {
  color: #fff;
}

.final-cta p {
  max-width: 720px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a {
  font-weight: 850;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--red);
}

.legal-hero {
  width: min(920px, calc(100% - 48px));
  margin: 0 auto;
  padding: 64px 0 36px;
}

.legal-hero h1 {
  max-width: 12ch;
  color: var(--ink);
  font-size: 4.4rem;
}

.legal-hero p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 38px;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 22px 0 82px;
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--tile-strong);
}

.legal-nav a {
  padding: 10px;
  color: var(--steel);
  font-size: 0.88rem;
  font-weight: 850;
  text-decoration: none;
}

.legal-nav a:hover {
  background: var(--paper);
  color: var(--red);
}

.legal-content {
  display: grid;
  gap: 18px;
}

.legal-card {
  padding: 26px;
}

.legal-card h2 {
  margin-bottom: 14px;
  font-size: 2rem;
  line-height: 1.08;
}

.legal-card h3 {
  margin: 22px 0 8px;
  font-size: 1.15rem;
}

.legal-card p:last-child,
.legal-card ul:last-child,
.legal-card ol:last-child {
  margin-bottom: 0;
}

.legal-card ul,
.legal-card ol {
  margin-top: 0;
  padding-left: 22px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  background: var(--tile-strong);
}

th,
td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--steel);
  color: #fff;
  font-size: 0.78rem;
  text-transform: uppercase;
}

td {
  color: var(--muted);
  line-height: 1.48;
}

tr:last-child td {
  border-bottom: 0;
}

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

.support-card,
.policy-card {
  padding: 22px;
}

.contact-block {
  display: grid;
  gap: 10px;
  padding: 20px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--yellow);
}

.contact-block a {
  font-weight: 950;
}

@media (max-width: 1040px) {
  h1 {
    font-size: 5rem;
  }

  h2 {
    font-size: 2.75rem;
  }

  .routes-grid,
  .surface-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-layout,
  .showcase,
  .section-header {
    grid-template-columns: 1fr;
  }

  .hero-product {
    display: none;
  }
}

@media (max-width: 780px) {
  .nav {
    width: min(100% - 32px, var(--max));
    min-height: 64px;
  }

  .nav-links {
    gap: 2px;
  }

  .nav-links a {
    padding: 10px 8px;
    font-size: 0.76rem;
  }

  .hero {
    min-height: 78svh;
    background-position: center top;
  }

  .hero-inner,
  .section,
  .footer-inner,
  .legal-hero,
  .legal-layout {
    width: min(100% - 32px, var(--max));
  }

  .hero-inner {
    padding-top: 42px;
    padding-bottom: 118px;
  }

  h1,
  .legal-hero h1 {
    font-size: 3.8rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .hero-copy {
    font-size: 1.12rem;
  }

  .hero-strip,
  .proof-grid,
  .tier-grid,
  .trust-grid,
  .support-grid,
  .policy-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-stat {
    padding: 13px 14px;
  }

  .phone-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 560px;
    margin: 10px auto 0;
  }

  .feature-stack {
    order: -1;
  }

  .phone-shot:nth-child(2) {
    transform: none;
  }

  .phone-shot:nth-child(3) {
    display: none;
  }

  .final-cta .section,
  .footer-inner,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .legal-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .site-header {
    position: static;
    backdrop-filter: none;
  }

  .nav {
    display: block;
    min-height: 0;
    padding: 10px 0;
  }

  .nav-top {
    width: 100%;
  }

  .brand {
    gap: 9px;
    font-size: 0.9rem;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .nav-links {
    display: flex;
    width: 100%;
    margin-top: 10px;
    gap: 6px;
    justify-content: space-between;
    overflow-x: auto;
    scrollbar-width: none;
  }

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

  .nav-links a {
    min-height: 34px;
    padding: 9px 4px;
    font-size: 0.72rem;
    white-space: nowrap;
  }

  .nav-links .mobile-optional,
  .desktop-store {
    display: none;
  }

  .mobile-store {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 10px 12px;
    border: 1px solid var(--ink);
    background: var(--ink);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 950;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
  }

  .hero {
    min-height: 660px;
    background-position: 52% top;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(8, 9, 11, 0.78) 0%, rgba(8, 9, 11, 0.5) 54%, rgba(8, 9, 11, 0.78) 100%),
      rgba(0, 0, 0, 0.14);
  }

  h1,
  .legal-hero h1 {
    font-size: 2.9rem;
  }

  h2 {
    font-size: 1.95rem;
  }

  .hero-actions,
  .cta-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .proof-grid,
  .routes-grid,
  .surface-grid,
  .tier-grid,
  .trust-grid,
  .support-grid,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .hero-strip {
    position: absolute;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-inner {
    padding-top: 36px;
    padding-bottom: 156px;
  }

  .hero-copy {
    font-size: 1.06rem;
    line-height: 1.42;
  }

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

  .legal-card,
  .support-card,
  .policy-card {
    padding: 20px;
  }
}
