:root {
  --bg: #090b0e;
  --panel: #14181f;
  --panel-strong: #1f242d;
  --text: #f7f4ee;
  --muted: #b8c0cc;
  --line: rgba(255, 255, 255, .16);
  --orange: #ff5a1f;
  --gold: #ffc247;
  --ice: #9ad8ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

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;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: linear-gradient(180deg, rgba(5, 7, 10, .86), rgba(5, 7, 10, .18));
  backdrop-filter: blur(10px);
}

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

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--orange), var(--gold));
  color: #170a04;
  font-weight: 900;
}

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

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

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 28px);
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
}

.nav-links a:hover {
  color: #fff;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

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

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 8, 10, .88), rgba(7, 8, 10, .34) 44%, rgba(7, 8, 10, .76)),
    linear-gradient(0deg, var(--bg), rgba(9, 11, 14, .04) 48%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 150px 0 64px;
}

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

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

h1 {
  width: min(760px, 100%);
  margin-bottom: 18px;
  font-size: clamp(54px, 9vw, 118px);
  line-height: .9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy {
  width: min(620px, 100%);
  color: rgba(255, 255, 255, .86);
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.55;
}

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

.primary-button,
.secondary-button,
.store-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 850;
}

.primary-button {
  padding: 0 24px;
  background: var(--orange);
  color: #180804;
  box-shadow: 0 16px 40px rgba(255, 90, 31, .28);
}

.secondary-button {
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .08);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(780px, 100%);
  margin: 54px 0 0;
}

.hero-stats div {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.hero-stats dt {
  color: #fff;
  font-weight: 900;
}

.hero-stats dd {
  margin: 6px 0 0;
  color: var(--muted);
}

.intro-strip {
  width: min(1120px, calc(100% - 36px));
  margin: -24px auto 0;
  position: relative;
  z-index: 3;
}

.intro-strip img {
  width: 100%;
  aspect-ratio: 1024 / 500;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .44);
}

.section,
.garage,
.download {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.section {
  padding: 88px 0 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 26px;
}

h2 {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

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

.mode-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.mode-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.mode-card div {
  padding: 20px;
}

.mode-card span {
  color: var(--orange);
  font-weight: 900;
}

.mode-card h3 {
  margin: 8px 0 8px;
  font-size: 24px;
}

.mode-card p,
.garage-copy p,
.download p {
  color: var(--muted);
  line-height: 1.7;
}

.garage {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 26px;
  align-items: center;
  padding: 96px 0 10px;
}

.garage-copy {
  padding: 34px;
  border-left: 4px solid var(--orange);
  background: linear-gradient(135deg, rgba(255, 90, 31, .12), rgba(154, 216, 255, .06));
}

.feature-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.feature-list li {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
}

.garage-image img,
.showcase img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .34);
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.gallery-button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  color: var(--text);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.gallery-button.active,
.gallery-button:hover {
  background: var(--ice);
  color: #05111a;
}

.showcase {
  margin: 0;
}

.showcase img {
  aspect-ratio: 16 / 8.6;
}

.showcase figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-weight: 800;
}

.download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 96px;
  margin-bottom: 64px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 90, 31, .24), rgba(255, 194, 71, .08)),
    var(--panel-strong);
}

.download h2 {
  font-size: clamp(30px, 4vw, 48px);
}

.store-button {
  flex: 0 0 auto;
  min-width: 190px;
  padding: 12px 20px;
  flex-direction: column;
  align-items: flex-start;
  background: #f5f7fb;
  color: #090b0e;
}

.store-buttons {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 12px;
}

.store-button.app-store {
  background: #101318;
  color: #f5f7fb;
  border: 1px solid rgba(255, 255, 255, .3);
}

.store-button span {
  font-size: 11px;
  font-weight: 900;
}

.store-button strong {
  font-size: 24px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 26px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer a {
  color: var(--ice);
}

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

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero-image {
    object-position: center top;
  }

  h1 {
    font-size: 56px;
  }

  .hero-stats,
  .mode-grid,
  .garage {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .download,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .garage-copy,
  .download {
    padding: 24px;
  }

  .store-button {
    width: 100%;
  }

  .store-buttons {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-content {
    width: calc(100% - 28px);
  }

  h1 {
    font-size: 44px;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .hero-stats {
    margin-top: 34px;
  }
}
