:root {
  --ink: #111827;
  --muted: #5e6a7e;
  --paper: #f8fbff;
  --lane: #142033;
  --lane-2: #253146;
  --orange: #ff8a2a;
  --yellow: #ffd048;
  --blue: #2f9cf4;
  --cyan: #66d7f2;
  --green: #63d86b;
  --line: rgba(17, 24, 39, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(20, 32, 51, 0.04) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(0deg, rgba(20, 32, 51, 0.04) 1px, transparent 1px) 0 0 / 64px 64px,
    #f8fbff;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  color: #fff;
  background: rgba(20, 32, 51, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 10px;
  color: var(--lane);
  background: var(--yellow);
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
}

.brand small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.site-header nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  min-width: 0;
}

.site-header nav a,
.site-footer nav a {
  color: inherit;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.site-header nav a {
  color: rgba(255, 255, 255, 0.84);
}

.hero {
  position: relative;
  min-height: min(790px, calc(100svh - 72px));
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(110deg, rgba(20, 32, 51, 0.94) 0%, rgba(20, 32, 51, 0.78) 40%, rgba(20, 32, 51, 0.2) 100%),
    url("assets/parking-gameplay.png") center 42% / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 96px;
  background:
    repeating-linear-gradient(90deg, transparent 0 62px, rgba(255, 255, 255, 0.7) 62px 110px, transparent 110px 172px),
    linear-gradient(180deg, transparent, rgba(20, 32, 51, 0.65));
  opacity: 0.24;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: clamp(88px, 15vh, 150px) clamp(22px, 5vw, 56px) 96px;
}

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

.hero h1 {
  max-width: 780px;
  margin: 0;
  color: var(--yellow);
  font-size: clamp(58px, 10vw, 132px);
  line-height: 0.92;
  text-shadow: 0 8px 0 rgba(47, 156, 244, 0.38), 0 20px 44px rgba(0, 0, 0, 0.38);
}

.hero-copy {
  max-width: 620px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 2px solid currentColor;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
}

.button.primary {
  color: var(--lane);
  border-color: #241f18;
  background: var(--orange);
  box-shadow: 0 5px 0 #9f4d19;
}

.button.primary.dark {
  color: #fff;
  background: var(--lane);
  box-shadow: 0 5px 0 #070b12;
}

.button.ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(720px, 100%);
  margin: 54px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
}

.hero-facts div {
  padding: 16px;
  background: rgba(20, 32, 51, 0.64);
}

dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-facts dt {
  color: rgba(255, 255, 255, 0.58);
}

dd {
  margin: 6px 0 0;
  font-weight: 800;
}

.section {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 112px) clamp(18px, 4vw, 40px);
}

.intro-grid,
.publisher,
.play-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
}

h2 {
  margin: 0;
  color: var(--lane);
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.02;
}

h3 {
  margin: 14px 0 8px;
  color: var(--lane);
  font-size: 20px;
}

p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature-list article {
  display: grid;
  grid-template-columns: 58px 1fr;
  column-gap: 18px;
  padding: 20px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(20, 32, 51, 0.08);
}

.feature-list article p,
.feature-list article h3 {
  grid-column: 2;
}

.icon {
  grid-row: 1 / span 2;
  display: block;
  width: 58px;
  height: 58px;
  border-radius: 8px;
  border: 2px solid #1f2937;
}

.icon.road {
  background: linear-gradient(90deg, var(--lane) 0 42%, var(--yellow) 42% 58%, var(--lane) 58%);
}

.icon.signal {
  background:
    radial-gradient(circle at 50% 24%, #ff4c4c 0 7px, transparent 8px),
    radial-gradient(circle at 50% 50%, var(--yellow) 0 7px, transparent 8px),
    radial-gradient(circle at 50% 76%, var(--green) 0 7px, transparent 8px),
    #2d3748;
}

.icon.garage {
  background:
    linear-gradient(90deg, transparent 0 24px, #fff 24px 32px, transparent 32px),
    linear-gradient(180deg, var(--blue) 0 58%, var(--orange) 58%);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.screens {
  width: 100%;
  max-width: none;
  background: linear-gradient(180deg, #eaf6ff, #f8fbff);
}

.screens .section-heading,
.phone-gallery {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.phone-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 32px);
}

.phone-gallery figure {
  margin: 0;
}

.phone-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border: 10px solid var(--lane);
  border-radius: 26px;
  background: #dbeafe;
  box-shadow: 0 24px 42px rgba(20, 32, 51, 0.2);
}

.phone-gallery figcaption {
  margin-top: 12px;
  color: var(--lane);
  font-weight: 900;
  text-align: center;
}

.play-band {
  align-items: center;
  width: min(1120px, calc(100% - 36px));
  margin-top: 76px;
  margin-bottom: 76px;
  padding: clamp(28px, 5vw, 48px);
  border: 3px solid #1f2937;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0 2px, transparent 2px 34px),
    var(--orange);
  box-shadow: 0 12px 0 #9f4d19;
}

.play-band h2,
.play-band p,
.play-band .eyebrow {
  color: #1f2937;
}

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

.business-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.business-list div {
  display: grid;
  grid-template-columns: minmax(160px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
  padding: 18px;
  background: #fff;
}

.business-list dd {
  color: var(--lane);
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.82);
  background: var(--lane);
}

.site-footer p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.legal-page {
  background: #f4f7fb;
}

.legal-main {
  width: min(860px, 100%);
  margin: 0 auto;
  padding: 64px 22px 86px;
}

.legal-main h1 {
  margin: 0 0 12px;
  color: var(--lane);
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1;
}

.legal-main h2 {
  margin-top: 34px;
  font-size: 25px;
}

.updated {
  color: #6b7280;
  font-weight: 700;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.legal-nav a {
  color: var(--lane);
  font-weight: 800;
}

@media (max-width: 820px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: 760px;
    background-position: center;
  }

  .hero-inner {
    padding-top: 74px;
  }

  .hero-facts,
  .intro-grid,
  .publisher,
  .play-band,
  .phone-gallery {
    grid-template-columns: 1fr;
  }

  .hero-facts div {
    padding: 14px;
  }

  .business-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .site-header nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 8px 12px;
  }

  .site-header nav a {
    font-size: 13px;
    text-align: center;
  }

  .hero h1 {
    max-width: 7.2ch;
    font-size: clamp(44px, 15vw, 58px);
    line-height: 0.98;
  }

  .hero-copy {
    max-width: 330px;
    font-size: 17px;
    overflow-wrap: break-word;
  }

  .button {
    width: min(100%, 330px);
  }

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

  .feature-list article p,
  .feature-list article h3 {
    grid-column: auto;
  }
}
