:root {
  color-scheme: dark;
  --bg: #0f1514;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --text: #f4fbf7;
  --muted: #b8c8c1;
  --line: rgba(255, 255, 255, 0.16);
  --green: #9af06f;
  --blue: #6ac7ff;
  --coral: #ff7d66;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 20%, rgba(154, 240, 111, 0.16), transparent 28rem),
    radial-gradient(circle at 82% 10%, rgba(106, 199, 255, 0.16), transparent 26rem),
    linear-gradient(180deg, #0f1514 0%, #111917 48%, #090d0c 100%);
}

a {
  color: inherit;
}

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

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

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

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  color: #101614;
  background: linear-gradient(135deg, var(--green), var(--blue));
  box-shadow: 0 10px 30px rgba(154, 240, 111, 0.22);
}

nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

nav a,
.site-footer a {
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

nav a {
  padding: 10px 12px;
}

nav a:hover,
nav a[aria-current="page"],
.site-footer a:hover,
.site-footer a[aria-current="page"] {
  color: var(--text);
  background: var(--panel);
}

.hero {
  width: min(1120px, calc(100% - 32px));
  min-height: calc(100vh - 168px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 84px);
  padding: 20px 0 36px;
}

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

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

h1,
h2,
p {
  overflow-wrap: anywhere;
}

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

.hero-text {
  max-width: 36rem;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 780;
  text-decoration: none;
}

.button.primary {
  border-color: transparent;
  color: #101614;
  background: var(--green);
}

.app-store-status {
  cursor: default;
}

.button.secondary {
  color: var(--text);
  background: var(--panel);
  backdrop-filter: blur(18px);
}

.hero-screens {
  position: relative;
  min-width: 0;
  min-height: 650px;
  display: grid;
  place-items: center;
}

.hero-phone {
  display: block;
  width: min(34vw, 286px);
  aspect-ratio: 660 / 1434;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0a0d0d;
  box-shadow: var(--shadow);
}

.hero-phone.primary {
  position: relative;
  z-index: 3;
  width: min(40vw, 330px);
}

.hero-phone.secondary,
.hero-phone.tertiary {
  position: absolute;
  z-index: 2;
  opacity: 0.84;
}

.hero-phone.secondary {
  left: 0;
  top: 72px;
  transform: rotate(-5deg) scale(0.9);
}

.hero-phone.tertiary {
  right: 0;
  bottom: 64px;
  transform: rotate(5deg) scale(0.9);
}

.screenshots {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 76px;
}

.section-heading {
  max-width: 660px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
  align-items: start;
}

.screenshot-grid figure {
  margin: 0;
  min-width: 0;
}

.screenshot-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 660 / 1434;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0a0d0d;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.screenshot-grid figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 760;
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: -1px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.feature-band article {
  min-height: 250px;
  padding: clamp(28px, 4vw, 52px);
  background: rgba(15, 21, 20, 0.86);
}

.icon {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
}

.feature-band h2,
.closing h2,
.document h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  letter-spacing: 0;
}

.feature-band p,
.closing p,
.document p,
.document li {
  color: var(--muted);
  line-height: 1.7;
}

.closing {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0;
  text-align: center;
}

.closing h2 {
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 1;
}

.document {
  width: min(780px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(40px, 8vw, 88px) 0 96px;
}

.document h1 {
  max-width: 12ch;
  margin-bottom: 24px;
}

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

.document a {
  color: var(--green);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.document ul,
.document ol {
  padding-left: 1.35rem;
}

.site-footer {
  min-height: 84px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  flex-wrap: wrap;
}

.site-footer a {
  padding: 8px 10px;
}

@media (max-width: 820px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 6px 0 0;
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(2.7rem, 14vw, 4.6rem);
  }

  .hero-screens {
    order: -1;
    min-height: 430px;
  }

  .hero-phone.primary {
    width: min(54vw, 250px);
  }

  .hero-phone.secondary,
  .hero-phone.tertiary {
    width: min(42vw, 190px);
  }

  .hero-phone.secondary {
    left: 8%;
    top: 36px;
  }

  .hero-phone.tertiary {
    right: 8%;
    bottom: 36px;
  }

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

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

  .screenshot-grid img {
    max-width: 420px;
    margin: 0 auto;
  }

  .screenshot-grid figcaption {
    max-width: 420px;
    margin-right: auto;
    margin-left: auto;
  }

  .feature-band article {
    min-height: 0;
  }
}

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

  h1 {
    max-width: 8.2ch;
    font-size: clamp(2.35rem, 12vw, 3.4rem);
  }

  .hero-text {
    font-size: 1rem;
  }

  nav a {
    padding: 9px 6px;
    font-size: 0.84rem;
  }

  .hero,
  .document,
  .screenshots,
  .closing {
    width: min(1120px, calc(100% - 24px));
  }

  .button {
    width: 100%;
  }
}
