:root {
  color-scheme: dark;
  --ink: #0b0d10;
  --ink-2: #11161c;
  --panel: #171c22;
  --panel-2: #20262e;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 210, 26, 0.5);
  --text: #f7f2df;
  --muted: #aeb7c2;
  --gold: #ffd21a;
  --gold-soft: #ffe45c;
  --gold-deep: #c89500;
  --green: #55e6a5;
  --sky: #76c7ff;
  --red: #ff7167;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 210, 26, 0.09), transparent 360px),
    radial-gradient(circle at 86% 4%, rgba(85, 230, 165, 0.08), transparent 290px),
    var(--ink);
  font-size: 16px;
  line-height: 1.55;
}

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

img,
svg {
  display: block;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 10;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--gold);
  color: #111;
  font-weight: 800;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 13, 16, 0.86);
  backdrop-filter: blur(18px);
}

.nav-shell,
.hero,
.section-shell,
.developer-band,
.site-footer {
  width: min(1160px, calc(100% - 32px));
  margin-inline: auto;
}

.nav-shell {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold-deep));
  color: #111;
  font-weight: 950;
  box-shadow: 0 10px 30px rgba(255, 210, 26, 0.18);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

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

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

.nav-links {
  justify-self: center;
  display: flex;
  gap: 8px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
  background: var(--gold);
}

.language-select {
  display: flex;
  align-items: center;
  gap: 8px;
}

.language-select span {
  width: 1px;
  height: 1px;
  overflow: hidden;
  position: absolute;
  clip: rect(0 0 0 0);
}

.language-select select {
  width: 132px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px;
  color: var(--text);
  background: var(--ink-2);
  font: inherit;
  font-size: 14px;
}

.hero {
  min-height: calc(100svh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: 48px;
  align-items: center;
  padding: 72px 0 48px;
}

.eyebrow,
.section-heading p,
.product-meta p {
  margin: 0;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1 {
  max-width: 860px;
  margin-bottom: 22px;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.03;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-lead {
  max-width: 710px;
  color: #dce2e8;
  font-size: clamp(18px, 2.2vw, 23px);
}

.hero-actions,
.product-actions,
.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button-primary,
.button-secondary,
.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 11px 16px;
  font-weight: 850;
}

.button-primary {
  background: var(--gold);
  color: #101010;
  box-shadow: 0 14px 34px rgba(255, 210, 26, 0.22);
}

.button-secondary,
.text-link {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.button-primary:hover,
.button-primary:focus-visible,
.button-secondary:hover,
.button-secondary:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  transform: translateY(-1px);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 42px;
}

.stats span {
  min-height: 94px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  font-size: 14px;
}

.stats strong {
  display: block;
  color: var(--text);
  font-size: 34px;
  line-height: 1;
}

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

.icon-stack {
  display: grid;
  grid-template-columns: repeat(2, 96px);
  gap: 14px;
  transform: rotate(-6deg);
}

.icon-stack img {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.icon-stack img:first-child {
  grid-column: span 2;
  justify-self: center;
}

.dashboard-card {
  position: absolute;
  right: 12px;
  bottom: 28px;
  width: min(300px, 78vw);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 12px;
  background: rgba(18, 22, 27, 0.92);
  box-shadow: var(--shadow);
}

.dash-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.dash-row:last-child {
  border-bottom: 0;
}

.dash-row strong {
  color: var(--gold);
}

.section-shell {
  padding: 84px 0;
}

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

.section-heading h2,
.developer-band h2 {
  margin: 8px 0 10px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.02;
}

.section-heading span,
.developer-band p,
.principles p {
  color: var(--muted);
}

.product-list {
  display: grid;
  gap: 18px;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  gap: 24px;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
}

.product-meta {
  display: flex;
  gap: 14px;
  align-items: center;
}

.product-meta img {
  width: 72px;
  height: 72px;
  border-radius: 17px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
}

.product-meta h3 {
  margin: 4px 0 0;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.06;
}

.product-subtitle {
  margin: 22px 0 8px;
  color: var(--gold-soft);
  font-size: 18px;
  font-weight: 850;
}

.product-summary {
  max-width: 650px;
  color: #d8dee6;
}

.product-category {
  display: flex;
  gap: 8px;
  margin: 0 0 22px;
  color: var(--muted);
}

.product-category dt {
  color: var(--text);
  font-weight: 850;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: #030303;
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.store-badge:hover,
.store-badge:focus-visible {
  border-color: var(--gold);
}

.store-badge__mark svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.store-badge small {
  display: block;
  font-size: 10px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.78);
}

.store-badge span:last-child {
  display: block;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.08;
}

.product-media {
  display: grid;
  align-content: start;
  gap: 12px;
}

.product-visual {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  overflow: hidden;
  background: var(--ink-2);
}

.visual-topline,
.feature-list,
.mini-compass {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.visual-topline {
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.altitude-readout,
.speed-readout {
  margin-top: 16px;
  color: var(--gold);
  font-size: 54px;
  line-height: 1;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
}

.peak-line {
  height: 62px;
  margin: 26px -16px 18px;
  display: flex;
  align-items: end;
  gap: 0;
}

.peak-line span {
  flex: 1;
  height: 100%;
  background: linear-gradient(145deg, transparent 45%, rgba(255, 210, 26, 0.42) 46%, rgba(255, 210, 26, 0.08) 100%);
  clip-path: polygon(0 100%, 50% 18%, 100% 100%);
}

.peak-line span:nth-child(2) {
  height: 82%;
}

.peak-line span:nth-child(3) {
  height: 62%;
}

.mini-compass i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  font-style: normal;
  font-weight: 850;
}

.meme-canvas {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border: 2px solid var(--gold);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(118, 199, 255, 0.22), rgba(255, 113, 103, 0.14)),
    #101318;
  color: white;
  text-align: center;
}

.meme-canvas strong {
  font-size: 52px;
  line-height: 1;
}

.meme-canvas span {
  padding: 4px 8px;
  background: #fff;
  color: #000;
  font-weight: 950;
}

.timeline {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 8px;
  margin-top: 14px;
}

.timeline span {
  height: 22px;
  border-radius: 7px;
  background: var(--gold);
}

.timeline span:nth-child(2) {
  background: var(--sky);
}

.timeline span:nth-child(3) {
  background: var(--red);
}

.speed-label {
  color: var(--muted);
  font-size: 16px;
  font-weight: 850;
}

.product-visual--ride svg {
  width: 100%;
  height: auto;
  margin-top: 18px;
}

.product-visual--ride path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 7;
  stroke-linecap: round;
}

.product-visual--ride circle {
  fill: var(--green);
}

.feature-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 9px;
  color: #e7edf2;
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  font-weight: 740;
}

.developer-band {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 44px;
  align-items: start;
  padding: 74px 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principles {
  display: grid;
  gap: 12px;
}

.principles h3 {
  margin-bottom: 6px;
}

.principles article {
  border-left: 3px solid var(--gold);
  padding-left: 14px;
}

.principles strong {
  display: block;
  margin-bottom: 4px;
}

.language-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.language-grid a {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 780;
}

.language-grid a[aria-current="page"],
.language-grid a:hover,
.language-grid a:focus-visible {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 32px 0 42px;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

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

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

@media (max-width: 880px) {
  .nav-shell {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 10px 0;
  }

  .nav-links {
    grid-column: 1 / -1;
    justify-self: stretch;
    justify-content: space-between;
    order: 3;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 48px;
  }

  .hero-stage {
    min-height: 320px;
  }

  .stats,
  .product-card,
  .developer-band {
    grid-template-columns: 1fr;
  }

  .section-shell {
    padding: 58px 0;
  }

  .developer-band {
    padding: 58px 0;
  }
}

@media (max-width: 560px) {
  .nav-shell,
  .hero,
  .section-shell,
  .developer-band,
  .site-footer {
    width: min(100% - 22px, 1160px);
  }

  .brand small {
    display: none;
  }

  .language-select select {
    width: 116px;
  }

  .hero-actions,
  .product-actions,
  .site-footer {
    align-items: stretch;
  }

  .button-primary,
  .button-secondary,
  .store-badge,
  .text-link {
    width: 100%;
  }

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

  .product-card {
    padding: 16px;
  }

  .product-meta {
    align-items: flex-start;
  }

  .product-meta img {
    width: 58px;
    height: 58px;
    border-radius: 14px;
  }

  .altitude-readout,
  .speed-readout {
    font-size: 42px;
  }

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