:root {
  color-scheme: dark;
  --bg: #0c0b14;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --text: #f7f3ff;
  --muted: #b9accf;
  --line: rgba(255, 255, 255, 0.13);
  --purple: #7c3aed;
  --purple-soft: #a78bfa;
  --purple-light: #c4b5fd;
  --green: #18c36f;
  --radius: 8px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(124, 58, 237, 0.42), transparent 32rem),
    radial-gradient(circle at 75% 12%, rgba(167, 139, 250, 0.22), transparent 34rem),
    linear-gradient(145deg, #100d1d 0%, var(--bg) 48%, #08070d 100%);
  color: var(--text);
}

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

code {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.22);
  color: var(--purple-light);
  padding: 0.12rem 0.35rem;
}

.site-header,
.section-shell,
.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #c4b5fd, var(--purple));
}

.brand-mark img {
  width: 23px;
  height: 23px;
  object-fit: contain;
}

.nav-links {
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-links a {
  padding: 8px 10px;
  border-radius: var(--radius);
}

.nav-links a:hover {
  background: var(--panel);
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 360px;
  align-items: center;
  gap: 64px;
  padding: 86px 0 68px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--purple-light);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 6.7rem);
  line-height: 0.89;
  letter-spacing: -0.075em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.hero-text {
  max-width: 630px;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 14px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 18px;
  font-weight: 750;
}

.button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--purple-soft), var(--purple));
  box-shadow: 0 16px 40px rgba(124, 58, 237, 0.35);
}

.button.secondary {
  background: var(--panel);
  color: var(--purple-light);
}

.fine-print {
  color: #8d819f;
  font-size: 0.92rem;
}

.app-preview {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: #f9f7ff;
  box-shadow: var(--shadow);
}

.preview-header {
  display: grid;
  min-height: 122px;
  place-items: center;
  background: linear-gradient(145deg, #c4b5fd 0%, #8b5cf6 45%, var(--purple) 100%);
}

.preview-header img {
  width: 74px;
  height: 74px;
  object-fit: contain;
}

.preview-body {
  display: grid;
  gap: 18px;
  padding: 24px;
  color: #161225;
}

.status-row,
.game-card,
.ducking-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 800;
}

.switch {
  position: relative;
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--purple-soft), var(--purple));
}

.switch::after {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  content: "";
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.25), rgba(124, 58, 237, 0.18));
  padding: 5px;
}

.mode-button {
  min-height: 33px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #5f5377;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
}

.mode-button.active {
  background: #fff;
  color: #24163a;
  box-shadow: 0 4px 12px rgba(31, 21, 55, 0.18);
}

.game-card {
  border: 1px solid #ece8f6;
  border-radius: var(--radius);
  padding: 16px;
}

.game-card strong {
  color: var(--green);
}

.ducking-row {
  margin-top: 2px;
  font-size: 0.92rem;
}

.range-shell {
  overflow: hidden;
  height: 8px;
  border-radius: 999px;
  background: #ebe7f5;
}

.range-shell span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--purple-soft), var(--purple));
}

.split,
.process,
.safety {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 48px;
  padding: 56px 0;
}

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

.feature-card,
.steps article,
.safety {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(18px);
}

.feature-card,
.steps article {
  padding: 22px;
}

.feature-card p,
.steps p,
.safety-copy p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.steps article span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--purple-light);
  font-weight: 900;
}

.safety {
  padding: 34px;
}

.safety-copy {
  display: grid;
  gap: 16px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  margin-top: 42px;
  padding: 24px 0 38px;
  color: var(--muted);
}

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

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    gap: 14px;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .split,
  .process,
  .safety {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 34px;
    padding-top: 48px;
  }

  .app-preview {
    width: min(100%, 360px);
  }
}

@media (max-width: 520px) {
  .site-header,
  .section-shell,
  .site-footer {
    width: min(100% - 22px, 1120px);
  }

  h1 {
    font-size: 3.15rem;
  }

  .button {
    width: 100%;
  }

  .safety {
    padding: 22px;
  }
}
