:root {
  color-scheme: dark;
  --bg: #08110e;
  --panel: #101b18;
  --panel-soft: #17231f;
  --text: #f2fff8;
  --muted: #a4bbb0;
  --line: rgba(255, 255, 255, 0.12);
  --green: #04df6f;
  --green-soft: #65ff9f;
  --blue: #3158ff;
  --gold: #ffd166;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 74% 16%, rgba(4, 223, 111, 0.2), transparent 30rem),
    linear-gradient(135deg, #06100d 0%, #101713 48%, #0b111c 100%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  flex: 0 0 auto;
  border-radius: 12px;
  box-shadow: 0 0 22px rgba(4, 223, 111, 0.38);
}

.brand strong {
  overflow: hidden;
  font-size: 1rem;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-download,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid rgba(101, 255, 159, 0.36);
  border-radius: 8px;
  font-weight: 800;
}

.header-download {
  flex: 0 0 auto;
  padding: 0 18px;
  background: rgba(4, 223, 111, 0.1);
  color: var(--green-soft);
}

.download-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  width: min(1120px, calc(100% - 32px));
  min-height: calc(100vh - 88px);
  margin: 0 auto;
  padding: clamp(36px, 7vw, 84px) 0;
}

.hero-copy {
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-soft);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3rem, 8.5vw, 6.7rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-text {
  max-width: 580px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.65;
}

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

.primary-button {
  min-width: 180px;
  padding: 0 26px;
  background: var(--green);
  color: #00190b;
  box-shadow: 0 18px 44px rgba(4, 223, 111, 0.22);
}

.info-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 54px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.info-band article {
  min-height: 185px;
  padding: 26px;
  background: var(--panel-soft);
}

.info-band span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
}

.info-band h2 {
  margin: 18px 0 10px;
  font-size: 1.14rem;
}

.info-band p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

footer span {
  color: var(--text);
  font-weight: 800;
}

footer a {
  color: var(--green-soft);
  font-weight: 800;
}

.header-download:hover,
.primary-button:hover,
footer a:hover {
  filter: brightness(1.08);
}

.header-download:focus-visible,
.primary-button:focus-visible,
.brand:focus-visible,
footer a:focus-visible {
  outline: 3px solid rgba(101, 255, 159, 0.5);
  outline-offset: 4px;
}

@media (max-width: 820px) {
  .download-hero {
    min-height: auto;
  }

  h1 {
    max-width: 10ch;
  }

  .info-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 460px) {
  .site-header,
  .download-hero,
  .info-band,
  footer {
    width: min(100% - 24px, 1120px);
  }

  .site-header {
    gap: 0.7rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand strong {
    max-width: 120px;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button {
    width: 100%;
  }

  .info-band article {
    min-height: 156px;
    padding: 22px;
  }
}

@media (max-width: 600px) {
  .header-download {
    display: none;
  }

  .hero-copy,
  .hero-text {
    max-width: 360px;
  }

  .download-hero {
    justify-items: center;
  }
}
