:root {
  color-scheme: dark;
  --bg: #07090c;
  --bg-2: #101116;
  --panel: rgba(16, 20, 27, 0.72);
  --panel-strong: rgba(18, 23, 31, 0.92);
  --line: rgba(255, 255, 255, 0.14);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f6f8fb;
  --muted: #aeb8c6;
  --subtle: #758193;
  --cyan: #5bdcff;
  --mint: #64efac;
  --gold: #ffd481;
  --red: #ff6f61;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::selection {
  background: rgba(91, 220, 255, 0.28);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 16px clamp(18px, 5vw, 56px);
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(7, 9, 12, 0.78);
  border-color: var(--line-soft);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 750;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(91, 220, 255, 0.18);
}

.brand span {
  white-space: nowrap;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 4vw, 34px);
  color: rgba(246, 248, 251, 0.72);
  font-size: 14px;
}

.site-nav a {
  transition: color 180ms ease;
}

.site-nav a:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.language-switch {
  display: inline-grid;
  grid-template-columns: repeat(3, 36px);
  height: 36px;
  padding: 3px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.language-switch button {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.language-switch button[aria-pressed="true"] {
  background: var(--text);
  color: #0b0d10;
}

.download-link,
.ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.download-link {
  background: var(--text);
  color: #080a0d;
}

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

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

.hero-background {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 9, 12, 0.96) 0%, rgba(7, 9, 12, 0.70) 48%, rgba(7, 9, 12, 0.22) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(7, 9, 12, 0) 26%),
    linear-gradient(180deg, rgba(7, 9, 12, 0.58) 0%, rgba(7, 9, 12, 0) 28%);
}

.hero-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 118px 24px 86px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(330px, 0.78fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: center;
}

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

.hero-copy h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy h1 span {
  display: block;
  margin-top: 16px;
  color: rgba(246, 248, 251, 0.86);
  font-size: clamp(32px, 4.4vw, 58px);
  line-height: 1.08;
  font-weight: 760;
}

.hero-lede {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(246, 248, 251, 0.78);
  font-size: 18px;
}

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

.app-store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 0 22px;
  border-radius: 999px;
  background: #f7f8fb;
  color: #07090c;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.apple-mark {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  color: #07090c;
  font-size: 12px;
}

.app-store-button small,
.app-store-button strong {
  display: block;
  line-height: 1.15;
}

.app-store-button small {
  font-size: 12px;
  color: #4d5662;
}

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

.ghost-link {
  border: 1px solid var(--line);
  color: rgba(246, 248, 251, 0.82);
  background: rgba(255, 255, 255, 0.05);
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 38px;
}

.hero-metrics span {
  width: 160px;
  min-height: 74px;
  padding: 14px 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
}

.hero-metrics strong,
.hero-metrics small {
  display: block;
}

.hero-metrics strong {
  color: var(--text);
  font-size: 22px;
}

.hero-metrics small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.hero-device {
  position: relative;
  min-height: 680px;
  display: grid;
  place-items: center;
}

.phone-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 38px;
  background: #090b0f;
  box-shadow: var(--shadow);
}

.main-phone {
  width: min(86vw, 365px);
  aspect-ratio: 1206 / 2622;
}

.main-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-panel {
  position: absolute;
  min-width: 150px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(7, 12, 18, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.34);
}

.floating-panel span,
.floating-panel strong {
  display: block;
}

.floating-panel span {
  color: var(--muted);
  font-size: 12px;
}

.floating-panel strong {
  margin-top: 4px;
  font-size: 26px;
  line-height: 1;
}

.floating-panel small {
  color: var(--cyan);
  font-size: 12px;
}

.speed-panel {
  top: 100px;
  left: 0;
}

.route-panel {
  right: 0;
  bottom: 135px;
}

.section {
  padding: 104px 24px;
  background: var(--bg);
  scroll-margin-top: 88px;
}

.section:nth-of-type(even) {
  background: var(--bg-2);
}

.section-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.section-inner.narrow {
  max-width: 850px;
  text-align: center;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 42px;
}

.section h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
}

.section p {
  color: var(--muted);
  font-size: 17px;
}

.intro-band {
  padding-top: 76px;
  padding-bottom: 76px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.showcase-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 28px;
  align-items: stretch;
}

.landscape-showcase,
.route-card,
.video-card,
.visual-card {
  margin: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
}

.landscape-showcase img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
}

figcaption {
  padding: 14px 16px;
  color: var(--subtle);
  font-size: 13px;
}

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

.feature-list article {
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.feature-index {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.feature-list h3,
.visual-card h3 {
  margin: 14px 0 8px;
  font-size: 22px;
}

.feature-list p,
.visual-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

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

.visual-card {
  display: grid;
  grid-template-rows: auto 1fr;
}

.visual-card.wide {
  grid-column: 1 / -1;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: none;
  align-items: center;
}

.visual-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.visual-card img.fit-image {
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: contain;
  background: #080b10;
}

.visual-card img.island-image {
  padding: 18px;
}

.visual-card img.hud-image {
  padding: 18px;
}

.visual-card div {
  padding: 24px;
}

.replay-inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 6vw, 68px);
  align-items: start;
}

.sticky-heading {
  position: sticky;
  top: 108px;
  margin-bottom: 0;
}

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

.clean-list li {
  padding: 14px 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  color: rgba(246, 248, 251, 0.86);
  background: rgba(255, 255, 255, 0.04);
}

.media-stack {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.75fr);
  gap: 18px;
  align-items: start;
}

.route-card img {
  width: 100%;
  aspect-ratio: 1206 / 2622;
  object-fit: cover;
}

.video-card video {
  width: 100%;
  aspect-ratio: 720 / 1280;
  object-fit: cover;
}

.pro-section {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background:
    linear-gradient(90deg, rgba(91, 220, 255, 0.12), rgba(100, 239, 172, 0.06) 45%, rgba(255, 212, 129, 0.10)),
    var(--bg-2);
}

.pro-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.74fr);
  gap: 34px;
  align-items: center;
}

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

.pro-points span {
  min-height: 84px;
  display: grid;
  place-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 9, 12, 0.38);
  color: var(--text);
  font-weight: 800;
  text-align: center;
}

.safety-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: 48px;
}

.safety-copy {
  padding: 26px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.safety-copy p {
  margin-top: 0;
}

.safety-copy a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--text);
  color: #080a0d;
  font-weight: 800;
}

.site-footer {
  padding: 42px 24px;
  background: #050608;
  border-top: 1px solid var(--line-soft);
}

.footer-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand img {
  width: 28px;
  height: 28px;
}

.site-footer p {
  margin: 12px 0 0;
  color: var(--subtle);
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .site-nav {
    display: none;
  }

  .header-actions {
    justify-self: end;
  }

  .hero-inner,
  .showcase-row,
  .replay-inner,
  .pro-inner,
  .safety-inner {
    grid-template-columns: 1fr;
  }

  .hero-section {
    align-items: stretch;
  }

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

  .hero-device {
    min-height: 560px;
  }

  .main-phone {
    width: min(76vw, 330px);
  }

  .sticky-heading {
    position: static;
  }

  .media-stack {
    max-width: 720px;
  }

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

  .visual-card.wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .site-header {
    gap: 10px;
    padding: 12px 14px;
  }

  .brand span {
    display: none;
  }

  .language-switch {
    grid-template-columns: repeat(3, 32px);
  }

  .language-switch button {
    width: 26px;
    font-size: 11px;
  }

  .download-link {
    min-height: 36px;
    padding: 0 14px;
  }

  .hero-inner {
    padding: 92px 18px 58px;
  }

  .hero-copy h1 {
    font-size: 50px;
  }

  .hero-copy h1 span {
    font-size: 30px;
  }

  .hero-lede,
  .section p {
    font-size: 16px;
  }

  .app-store-button {
    width: 100%;
    justify-content: center;
  }

  .ghost-link {
    width: 100%;
  }

  .hero-metrics span {
    flex: 1 1 128px;
    width: auto;
  }

  .hero-device {
    min-height: 360px;
    margin-top: 10px;
  }

  .hero-metrics {
    display: none;
  }

  .main-phone {
    width: min(58vw, 230px);
    border-radius: 28px;
  }

  .floating-panel {
    display: none;
  }

  .section {
    padding: 76px 18px;
  }

  .section h2 {
    font-size: 34px;
  }

  .landscape-showcase img {
    min-height: 220px;
  }

  .ecosystem-grid,
  .visual-card.wide,
  .media-stack,
  .pro-points {
    grid-template-columns: 1fr;
  }

  .visual-card img {
    min-height: 210px;
  }

  .visual-card img.fit-image {
    min-height: 0;
  }

  .visual-card img.island-image {
    padding: 14px;
  }

  .visual-card img.hud-image {
    padding: 14px;
  }

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