:root {
  color-scheme: dark;
  --background: #05070d;
  --background-alt: #08111c;
  --panel: #081322;
  --panel-alt: #0c1a2a;
  --board-dark: #111923;
  --board-light: #263142;
  --cyan: #00e5ff;
  --violet: #b026ff;
  --magenta: #ff2bd6;
  --green: #39ff88;
  --amber: #ffd166;
  --red: #ff3b6b;
  --text: #f2fbff;
  --muted: #9fb7c7;
  --line: rgba(0, 229, 255, 0.28);
  --line-violet: rgba(176, 38, 255, 0.34);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(135deg, rgba(0, 229, 255, 0.08), transparent 28%),
    linear-gradient(315deg, rgba(255, 43, 214, 0.08), transparent 30%),
    repeating-linear-gradient(
      90deg,
      transparent 0 31px,
      rgba(0, 229, 255, 0.035) 31px 32px
    ),
    var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: var(--cyan);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(8, 19, 34, 0.92);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 750;
  text-decoration: none;
}

.mark {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: var(--background);
  font-size: 0.85rem;
  letter-spacing: 0;
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.56), 0 0 24px rgba(176, 38, 255, 0.35);
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
}

nav a {
  color: var(--muted);
  font-weight: 650;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--text);
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.62);
}

main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 46px;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  padding: 22px 0 28px;
}

.hero-copy {
  max-width: 680px;
}

.hero-art {
  justify-self: end;
  margin: 0;
}

.hero-art img {
  display: block;
  width: min(360px, 100%);
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--background);
  box-shadow:
    0 0 28px rgba(0, 229, 255, 0.3),
    0 0 42px rgba(255, 43, 214, 0.26),
    0 28px 56px rgba(0, 0, 0, 0.48);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1 {
  margin: 0 0 16px;
  font-size: 3.8rem;
  line-height: 1.08;
  color: var(--text);
  text-shadow: 0 0 18px rgba(0, 229, 255, 0.24), 0 0 28px rgba(176, 38, 255, 0.18);
}

h2 {
  margin: 0 0 10px;
  font-size: 2.05rem;
  line-height: 1.16;
  color: var(--text);
}

.lede {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.12rem;
}

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

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--cyan);
  border-radius: 8px;
  background: rgba(12, 26, 42, 0.72);
  color: var(--text);
  font-weight: 750;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(0, 229, 255, 0.08), 0 0 18px rgba(0, 229, 255, 0.12);
}

.button-primary {
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: var(--background);
  box-shadow: 0 0 22px rgba(0, 229, 255, 0.34), 0 0 26px rgba(176, 38, 255, 0.24);
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 0 0 34px;
}

.feature-strip div {
  min-height: 120px;
  padding: 18px;
  background: rgba(8, 19, 34, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(176, 38, 255, 0.08);
}

.feature-strip strong,
.feature-strip span {
  display: block;
}

.feature-strip strong {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 1.04rem;
}

.feature-strip span {
  color: var(--muted);
}

.store-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin-bottom: 36px;
  padding: clamp(20px, 4vw, 28px);
  background: linear-gradient(135deg, rgba(8, 19, 34, 0.94), rgba(12, 26, 42, 0.9));
  border: 1px solid var(--line-violet);
  border-radius: 8px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.26);
}

.store-section p {
  margin: 0;
  max-width: 650px;
  color: var(--muted);
}

.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.store-pill {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px dashed rgba(255, 209, 102, 0.72);
  border-radius: 8px;
  color: var(--amber);
  font-weight: 750;
  white-space: nowrap;
  background: rgba(255, 209, 102, 0.07);
}

.legal-index {
  padding-top: 4px;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 18px;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.card {
  display: grid;
  gap: 10px;
  min-height: 172px;
  padding: 20px;
  background: rgba(8, 19, 34, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(0, 229, 255, 0.05);
}

.card:hover,
.card:focus-visible {
  border-color: var(--cyan);
  box-shadow: 0 0 22px rgba(0, 229, 255, 0.16), inset 0 0 0 1px rgba(0, 229, 255, 0.14);
}

.card span {
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.card strong {
  font-size: 1.28rem;
}

.card small {
  color: var(--muted);
  font-size: 0.96rem;
}

.document {
  width: min(880px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 48px);
  background: rgba(8, 19, 34, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.3);
}

.document h1 {
  font-size: 2.6rem;
}

.document h2 {
  margin: 34px 0 10px;
  font-size: 1.2rem;
}

.document p,
.document li {
  color: var(--muted);
}

code {
  padding: 0.12rem 0.32rem;
  border-radius: 4px;
  background: var(--panel-alt);
  color: var(--green);
  border: 1px solid rgba(57, 255, 136, 0.18);
  font-size: 0.92em;
}

footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  padding: 26px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: rgba(8, 19, 34, 0.94);
}

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

  nav {
    width: 100%;
  }

  main {
    padding-top: 24px;
  }

  h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.55rem;
  }

  .home-hero {
    grid-template-columns: 1fr;
    padding-top: 10px;
  }

  .hero-art {
    justify-self: start;
  }

  .hero-art img {
    width: min(260px, 100%);
  }

  .store-section {
    grid-template-columns: 1fr;
  }

  .store-links {
    justify-content: flex-start;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .store-pill,
  .button {
    width: 100%;
  }

  .document {
    padding: 22px;
  }

  .document h1 {
    font-size: 2rem;
  }
}
