:root {
  --black: #020203;
  --ink: #08090c;
  --steel: #171b22;
  --line: rgba(255, 255, 255, .14);
  --text: #f7f4ef;
  --muted: #b8b5ae;
  --red: #e10600;
  --red-hot: #ff2b22;
  --gold: #c8b579;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  color: var(--text);
  background: var(--black);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

body::selection {
  color: #fff;
  background: var(--red);
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  padding: 24px 42px;
  transition: background .25s ease, border-color .25s ease, padding .25s ease;
}

.topbar.is-scrolled {
  padding-block: 14px;
  background: rgba(2, 2, 3, .88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.topbar-logo {
  display: flex;
  align-items: center;
  width: 250px;
  height: 66px;
  padding: 0;
  overflow: hidden;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, .56));
}

.topbar-logo img,
footer img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.topbar nav {
  display: flex;
  justify-content: center;
  gap: 34px;
}

.topbar a {
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.topbar nav a {
  color: rgba(255, 255, 255, .76);
}

.topbar nav a:hover {
  color: #fff;
}

.topbar-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 8px;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media {
  background: url("assets/hero-hypercar-night.png") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 2, 3, .9) 0%, rgba(2, 2, 3, .55) 34%, rgba(2, 2, 3, .08) 66%),
    linear-gradient(0deg, rgba(2, 2, 3, .94) 0%, rgba(2, 2, 3, .12) 50%, rgba(2, 2, 3, .56) 100%);
}

.hero-content {
  width: min(900px, calc(100% - 56px));
  margin: 0 auto;
  padding: 108px 0 58px;
  transform: translateX(calc((min(1480px, 100vw) - min(900px, calc(100vw - 56px))) / -3.2));
}

.hero-logo {
  width: min(450px, 72vw);
  max-height: 122px;
  object-fit: contain;
  margin-bottom: 24px;
  filter: drop-shadow(0 24px 36px rgba(0, 0, 0, .72));
}

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

.product-credit {
  margin: -8px 0 18px;
  color: rgba(255, 255, 255, .76);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-credit strong,
.footer-copy strong {
  color: #fff;
}

.hero h1,
.section-intro h2,
.cinema-split h2,
.future h2,
.download h2 {
  margin: 0;
  font-weight: 1000;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 790px;
  font-size: clamp(58px, 8.7vw, 118px);
  line-height: .82;
}

.hero-lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(19px, 1.8vw, 25px);
  line-height: 1.38;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 1000;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, .52);
}

.btn-primary {
  background: linear-gradient(135deg, var(--red), #750300);
  border-color: rgba(255, 43, 34, .7);
  box-shadow: 0 18px 48px rgba(225, 6, 0, .24);
}

.btn-quiet {
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(12px);
}

.btn-large {
  min-width: 280px;
  min-height: 62px;
}

.hero-meta {
  position: absolute;
  right: 42px;
  bottom: 34px;
  display: flex;
  gap: 10px;
  color: rgba(255, 255, 255, .82);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-meta span {
  padding: 9px 11px;
  background: rgba(2, 2, 3, .45);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.scroll-cue {
  position: absolute;
  left: 42px;
  bottom: 34px;
  width: 1px;
  height: 70px;
  background: rgba(255, 255, 255, .3);
}

.scroll-cue::after {
  content: "";
  position: absolute;
  left: -3px;
  bottom: 0;
  width: 7px;
  height: 7px;
  background: var(--red-hot);
  border-radius: 999px;
}

.section-band,
.modules,
.cinema-split,
.future,
.download,
footer {
  width: min(1480px, calc(100% - 56px));
  margin: auto;
}

.vision {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 48px;
  padding: 120px 0 95px;
  border-bottom: 1px solid var(--line);
}

.section-label {
  color: var(--red-hot);
  font-size: 13px;
  font-weight: 1000;
  text-transform: uppercase;
}

.statement p {
  max-width: 1120px;
  margin: 0;
  font-size: clamp(34px, 5vw, 76px);
  font-weight: 900;
  line-height: 1.02;
  text-transform: uppercase;
}

.vision-lines {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 28px;
  border: 1px solid var(--line);
}

.vision-lines span {
  padding: 22px;
  color: rgba(255, 255, 255, .82);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.modules {
  padding: 105px 0 70px;
}

.section-intro {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 38px;
}

.section-intro h2,
.cinema-split h2,
.future h2,
.download h2 {
  font-size: clamp(34px, 5.1vw, 72px);
  line-height: .94;
}

.module-rail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.module-panel {
  position: relative;
  min-height: 430px;
  display: grid;
  align-items: end;
  padding: 34px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)),
    var(--steel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.module-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(225, 6, 0, .2), transparent 38%),
    linear-gradient(0deg, rgba(2, 2, 3, .82), transparent 64%),
    url("assets/hero-hypercar-night.png") center / cover no-repeat;
  opacity: .34;
  transition: transform .4s ease, opacity .4s ease;
}

.module-panel:hover::before {
  opacity: .46;
  transform: scale(1.035);
}

.module-panel.accent::before {
  background:
    linear-gradient(120deg, rgba(225, 6, 0, .38), transparent 45%),
    linear-gradient(0deg, rgba(2, 2, 3, .82), transparent 64%),
    url("assets/hero-hypercar-night.png") 68% center / cover no-repeat;
}

.module-panel > * {
  position: relative;
}

.chapter {
  position: absolute;
  top: 26px;
  right: 30px;
  color: rgba(255, 255, 255, .32);
  font-size: 54px;
  font-weight: 1000;
}

.module-tag {
  margin: 0 0 10px;
  color: var(--red-hot);
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
}

.module-panel h3 {
  margin: 0 0 16px;
  font-size: clamp(32px, 4vw, 58px);
  line-height: .94;
  text-transform: uppercase;
}

.module-panel p:last-child {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 19px;
  line-height: 1.5;
}

.cinema-split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 36px;
  align-items: stretch;
  padding: 70px 0;
}

.split-copy {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 46px;
  background:
    linear-gradient(0deg, rgba(2, 2, 3, .92), rgba(2, 2, 3, .16)),
    url("assets/hero-hypercar-night.png") center / cover no-repeat;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.split-copy p:last-child {
  max-width: 760px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: 20px;
  line-height: 1.5;
}

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

.signal-stack div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 172px;
  padding: 34px;
  background: linear-gradient(180deg, #11151c, #090b10);
}

.signal-stack span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
}

.signal-stack strong {
  margin-top: 12px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.08;
}

.future {
  padding: 95px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.future p:last-child {
  max-width: 820px;
  color: rgba(255, 255, 255, .75);
  font-size: 21px;
  line-height: 1.5;
}

.download {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 38px;
  align-items: center;
  padding: 90px 0 100px;
}

.download-copy p:last-child {
  max-width: 640px;
  color: rgba(255, 255, 255, .72);
  font-size: 19px;
  line-height: 1.5;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 0 52px;
  color: rgba(255, 255, 255, .58);
  border-top: 1px solid var(--line);
}

footer img {
  width: 220px;
  height: 62px;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, .5));
}

.footer-copy {
  display: grid;
  gap: 6px;
  text-align: right;
}

.footer-copy p {
  margin: 0;
}

.footer-copy a {
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.footer-copy a:hover {
  color: var(--gold);
}

.legal-page {
  background:
    linear-gradient(90deg, rgba(2, 2, 3, .94), rgba(2, 2, 3, .82)),
    url("assets/hero-hypercar-night.png") center / cover fixed no-repeat;
}

.legal-shell {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
  padding: 160px 0 88px;
}

.legal-hero {
  max-width: 860px;
  margin-bottom: 34px;
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(46px, 7vw, 92px);
  font-weight: 1000;
  line-height: .9;
  text-transform: uppercase;
}

.legal-hero p:last-child {
  max-width: 780px;
  color: rgba(255, 255, 255, .76);
  font-size: 20px;
  line-height: 1.5;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.legal-card {
  padding: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legal-card h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 24px;
  font-weight: 1000;
  text-transform: uppercase;
}

.legal-card p {
  margin: 10px 0;
  color: rgba(255, 255, 255, .72);
  line-height: 1.5;
}

.legal-card strong {
  color: #fff;
}

#toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 50;
  max-width: min(520px, calc(100% - 32px));
  padding: 16px 22px;
  color: #fff;
  background: rgba(12, 14, 19, .96);
  border: 1px solid rgba(225, 6, 0, .58);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .5);
  font-weight: 800;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  text-align: center;
  transform: translateX(-50%) translateY(120px);
  transition: transform .25s ease, opacity .25s ease;
}

#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 1120px) {
  .topbar {
    grid-template-columns: auto auto;
    padding: 18px 22px;
  }

  .topbar nav {
    display: none;
  }

  .topbar-logo {
    width: 210px;
    height: 58px;
  }

  .hero-content {
    transform: none;
  }

  .hero-meta {
    left: 28px;
    right: auto;
    bottom: 28px;
    flex-wrap: wrap;
    max-width: calc(100% - 56px);
  }

  .scroll-cue {
    display: none;
  }

  .vision,
  .section-intro,
  .module-rail,
  .cinema-split,
  .download {
    grid-template-columns: 1fr;
  }

  .vision-lines {
    grid-column: auto;
  }
}

@media (max-width: 680px) {
  .topbar {
    gap: 12px;
    justify-content: space-between;
    padding: 14px;
  }

  .topbar-logo {
    width: 148px;
    height: 46px;
  }

  .topbar-cta {
    display: none;
  }

  .hero-content {
    width: min(340px, calc(100% - 32px));
    margin-left: 16px;
    margin-right: auto;
    padding: 118px 0 150px;
  }

  .hero-logo {
    width: min(330px, 100%);
    margin-bottom: 24px;
  }

  .hero h1 {
    font-size: clamp(44px, 14vw, 62px);
    line-height: .88;
  }

  .hero-lead {
    font-size: 18px;
  }

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

  .hero-meta {
    left: 16px;
    bottom: 18px;
    max-width: calc(100% - 32px);
  }

  .hero-meta span {
    padding: 8px 9px;
    font-size: 11px;
  }

  .section-band,
  .modules,
  .cinema-split,
  .future,
  .download,
  footer {
    width: calc(100% - 32px);
  }

  .vision {
    gap: 26px;
    padding: 78px 0 70px;
  }

  .vision-lines {
    grid-template-columns: 1fr;
  }

  .modules,
  .future {
    padding: 76px 0 58px;
  }

  .module-panel,
  .split-copy {
    min-height: 420px;
    padding: 24px;
  }

  .cinema-split {
    padding: 58px 0;
  }

  .signal-stack div {
    min-height: 140px;
    padding: 26px;
  }

  .download {
    padding: 70px 0 78px;
  }

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

  .footer-copy {
    text-align: left;
  }

  footer img {
    width: 190px;
  }

  .legal-shell {
    width: calc(100% - 32px);
    padding: 128px 0 64px;
  }

  .legal-grid {
    grid-template-columns: 1fr;
  }

  .legal-card {
    padding: 22px;
  }
}
