:root {
  color-scheme: dark;
  --bg: #111318;
  --surface: #181b22;
  --surface-2: #252a32;
  --text: #f2f0f7;
  --muted: #c7c6cf;
  --accent: #b8d77b;
  --cyan: #9ad3d9;
  --line: rgba(242, 240, 247, 0.16);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.hero {
  position: relative;
  min-height: min(760px, 92vh);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 19, 24, 0.94), rgba(17, 19, 24, 0.74) 43%, rgba(17, 19, 24, 0.18)),
    linear-gradient(0deg, rgba(17, 19, 24, 0.48), rgba(17, 19, 24, 0.08));
}

.topbar {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 760;
  font-size: 1.05rem;
}

.brand img {
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

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

.topbar__links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.topbar__link:hover {
  color: var(--text);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(88px, 14vh, 148px) 0 96px;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  max-width: 880px;
  font-size: 6.25rem;
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 3.4rem;
  line-height: 1.02;
  letter-spacing: 0;
}

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

.lede {
  max-width: 640px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 1.25rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 8px;
  background: var(--accent);
  color: #182300;
  text-decoration: none;
  font-weight: 800;
}

main {
  overflow: hidden;
}

.intro,
.screens,
footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.intro {
  padding: 86px 0 72px;
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) 1.18fr;
  gap: 48px;
  align-items: start;
}

.intro__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.intro article {
  min-height: 166px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.intro p,
.device figcaption,
footer p {
  color: var(--muted);
}

.screens {
  padding: 38px 0 92px;
}

.screens__heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.screen-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.62fr) minmax(360px, 1fr);
  gap: 20px;
  align-items: start;
}

.device {
  margin: 0;
}

.device img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0f1117;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
}

.device--phone {
  grid-row: span 2;
}

.device figcaption {
  margin-top: 12px;
  font-size: 0.95rem;
}

footer {
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
}

footer p {
  margin: 0;
}

.page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(154, 211, 217, 0.08), transparent 340px),
    var(--bg);
}

.page .topbar,
.page main,
.page footer {
  width: min(880px, calc(100% - 40px));
}

.page main {
  margin: 0 auto;
  padding: 74px 0 88px;
}

.page h1 {
  max-width: 760px;
  font-size: 4.5rem;
}

.policy-meta {
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 1.05rem;
}

.policy {
  display: grid;
  gap: 28px;
}

.policy section {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.policy section:last-child {
  border-bottom: 0;
}

.policy h2 {
  margin-bottom: 12px;
  font-size: 1.55rem;
}

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

.policy ul {
  margin: 0;
  padding-left: 20px;
}

.policy li + li {
  margin-top: 8px;
}

@media (max-width: 900px) {
  .hero {
    min-height: 680px;
  }

  .hero::after {
    background:
      linear-gradient(0deg, rgba(17, 19, 24, 0.94), rgba(17, 19, 24, 0.58)),
      linear-gradient(90deg, rgba(17, 19, 24, 0.72), rgba(17, 19, 24, 0.2));
  }

  .hero__content {
    padding-top: 118px;
  }

  h1 {
    font-size: 4.8rem;
  }

  h2 {
    font-size: 2.6rem;
  }

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

  .intro__grid,
  .screen-grid {
    grid-template-columns: 1fr;
  }

  .device--phone {
    grid-row: auto;
    max-width: 420px;
  }
}

@media (max-width: 560px) {
  .topbar,
  .hero__content,
  .intro,
  .screens,
  footer {
    width: min(100% - 28px, var(--max));
  }

  .topbar__link {
    display: none;
  }

  h1,
  .page h1 {
    font-size: 3.25rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  .lede {
    font-size: 1.08rem;
  }

  .hero {
    min-height: 620px;
  }

  .intro {
    padding-top: 64px;
  }

  .intro article {
    min-height: 0;
  }
}
