:root {
  color-scheme: dark;
  --background: #030505;
  --panel: #0b0d0d;
  --text: #f6f8f4;
  --muted: #b9bebd;
  --green: #3bd998;
  --yellow: #ffef53;
  --purple: #8060ff;
  --line: rgba(255, 255, 255, 0.12);
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 8%, rgba(59, 217, 152, 0.24), transparent 34rem),
    radial-gradient(circle at 86% 48%, rgba(255, 239, 83, 0.12), transparent 28rem),
    var(--background);
  color: var(--text);
}

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

.site-header,
footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header {
  min-height: 76px;
}

.brand {
  color: var(--green);
  font-weight: 800;
}

nav,
footer {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: min(980px, calc(100vh - 76px));
  display: flex;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.hero-image {
  position: absolute;
  inset: 0 0 auto auto;
  width: min(58vw, 650px);
  max-height: 92%;
  object-fit: contain;
  object-position: center bottom;
  opacity: 0.78;
  filter: drop-shadow(0 30px 80px rgba(0, 0, 0, 0.72));
}

.hero-copy {
  position: relative;
  max-width: 640px;
  min-width: 0;
  padding: 80px 0;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(54px, 8vw, 112px);
  line-height: 0.96;
}

.hero p:not(.eyebrow),
.lede {
  color: var(--muted);
  font-size: 22px;
  line-height: 1.45;
}

.store-link {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 18px;
  border: 1px solid rgba(59, 217, 152, 0.56);
  border-radius: 8px;
  color: var(--text);
  background: rgba(59, 217, 152, 0.13);
  font-size: 15px;
  font-weight: 800;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 56px 0 72px;
  border: 1px solid var(--line);
  background: var(--line);
}

.benefits article {
  min-height: 220px;
  padding: 28px;
  background: rgba(11, 13, 13, 0.82);
}

h2 {
  margin-bottom: 12px;
  font-size: 24px;
}

.benefits p,
.document p {
  color: var(--muted);
  line-height: 1.65;
}

.screens {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 84px;
}

.screens img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.36);
}

.document {
  max-width: 820px;
  padding: 80px 0 110px;
  border-top: 1px solid var(--line);
}

.document h1 {
  font-size: clamp(44px, 7vw, 82px);
}

.document h2 {
  margin-top: 42px;
}

footer {
  min-height: 92px;
  border-top: 1px solid var(--line);
  justify-content: flex-start;
}

footer a {
  color: var(--muted);
}

@media (max-width: 860px) {
  .site-header,
  footer,
  main {
    width: 340px;
    max-width: calc(100vw - 28px);
    margin-left: 14px;
    margin-right: 14px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 18px 0;
  }

  nav {
    width: 100%;
    justify-content: flex-start;
    row-gap: 10px;
  }

  .hero {
    width: 340px;
    max-width: calc(100vw - 28px);
    min-height: auto;
    padding-top: 28px;
    align-items: flex-start;
    flex-direction: column-reverse;
    overflow: visible;
  }

  .hero > * {
    min-width: 0;
  }

  .hero-image {
    position: relative;
    display: block;
    width: 340px !important;
    max-width: calc(100vw - 28px);
    max-height: none;
    margin: 10px 0 0;
    opacity: 0.9;
  }

  .hero-copy {
    padding: 26px 0 18px;
    width: 340px;
    max-width: calc(100vw - 28px);
  }

  h1 {
    width: 340px;
    max-width: calc(100vw - 28px);
    font-size: clamp(34px, 11vw, 48px);
    overflow-wrap: anywhere;
  }

  .hero p:not(.eyebrow),
  .lede {
    width: 340px;
    max-width: calc(100vw - 28px);
    font-size: 18px;
  }

  .benefits,
  .screens {
    grid-template-columns: 1fr;
    width: 340px;
    max-width: calc(100vw - 28px);
  }

  .benefits article,
  .screens img {
    width: 100%;
  }

  .document,
  .document h1,
  .document h2,
  .document p {
    width: 340px;
    max-width: calc(100vw - 28px);
  }
}
