:root {
  color-scheme: dark;
  --background: #0c0d10;
  --surface: #15161a;
  --surface-raised: #1b1c20;
  --text: #f7f7f8;
  --muted: #a9a9b0;
  --border: #303137;
  --accent: #d6534f;
  --accent-hover: #e2645f;
  --focus: #ff817b;
  --content-width: 1420px;
  --radius: 8px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-size: 17px;
  line-height: 1.55;
}

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

a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--text);
  color: var(--background);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.site-footer,
.section {
  width: min(calc(100% - 64px), var(--content-width));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 82px;
  border-bottom: 1px solid var(--border);
}

.brand,
.footer-brand {
  font-size: 22px;
  font-weight: 750;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: #d0d0d4;
  font-size: 15px;
  font-weight: 550;
}

.site-nav a,
.site-footer a {
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--text);
}

.site-header > .button {
  justify-self: end;
}

.section {
  padding-block: 128px;
}

.hero {
  padding-top: 96px;
  padding-bottom: 112px;
  text-align: center;
}

.hero-copy {
  max-width: 760px;
  margin: 0 auto 64px;
}

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

h1 {
  margin-bottom: 12px;
  font-size: 82px;
  line-height: 1;
  font-weight: 780;
}

h2 {
  margin-bottom: 72px;
  font-size: 52px;
  line-height: 1.08;
  font-weight: 760;
}

h3 {
  margin-bottom: 14px;
  font-size: 29px;
  line-height: 1.18;
  font-weight: 720;
}

.hero-lead {
  margin-bottom: 10px;
  color: #d4d4d8;
  font-size: 29px;
  line-height: 1.25;
  font-weight: 550;
}

.hero-body {
  max-width: 650px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: 20px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 16px;
  line-height: 1;
  font-weight: 650;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #fff;
}

.button-primary:hover {
  background: var(--accent-hover);
}

.button-secondary {
  border-color: #62636a;
  background: transparent;
  color: var(--text);
}

.button-secondary:hover {
  border-color: #92939a;
  background: var(--surface);
}

.button-small {
  min-height: 42px;
  padding-inline: 19px;
  font-size: 14px;
}

.requirement {
  margin: 18px 0 0;
  color: #85868d;
  font-size: 14px;
}

.app-frame {
  overflow: hidden;
  margin: 0;
  border: 1px solid #484950;
  border-radius: var(--radius);
  background: var(--surface-raised);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.38);
}

.hero-frame img {
  width: 100%;
  height: auto;
}

.features {
  border-top: 1px solid var(--border);
}

.features > h2 {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.8fr);
  gap: 72px;
  align-items: center;
  padding-block: 48px 96px;
  border-bottom: 1px solid var(--border);
}

.feature-row-reverse {
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.6fr);
  padding-top: 96px;
}

.feature-row-final {
  padding-top: 96px;
}

.feature-row-reverse .feature-media {
  grid-column: 2;
  grid-row: 1;
}

.feature-row-reverse .feature-copy-group {
  grid-column: 1;
  grid-row: 1;
}

.feature-media {
  aspect-ratio: 16 / 9;
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.feature-copy-group {
  display: grid;
  gap: 54px;
}

.feature-copy-group-single {
  max-width: 430px;
}

.feature-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.accent-rule {
  display: block;
  width: 48px;
  height: 2px;
  margin-bottom: 24px;
  background: var(--accent);
}

.privacy {
  border-bottom: 1px solid var(--border);
}

.privacy-copy {
  max-width: 1030px;
}

.privacy h2 {
  margin-bottom: 26px;
  font-size: 66px;
}

.privacy p {
  max-width: 920px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 28px;
  line-height: 1.55;
}

.install {
  max-width: 1120px;
}

.install h2 {
  margin-bottom: 44px;
}

.install-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: install-step;
}

.install-steps li {
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: center;
  min-height: 124px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  counter-increment: install-step;
  font-size: 21px;
}

.install-steps li::before {
  content: counter(install-step);
  color: var(--accent);
  font-size: 54px;
  line-height: 1;
  font-weight: 650;
}

.install-steps strong {
  color: #d9d9dd;
  font-weight: 650;
}

.security-note {
  max-width: 820px;
  margin-top: 72px;
  padding-left: 24px;
  border-left: 2px solid var(--accent);
}

.security-note h3 {
  font-size: 24px;
}

.security-note p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.final-cta {
  width: 100%;
  max-width: none;
  padding-block: 112px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.final-cta h2 {
  margin-bottom: 34px;
}

.site-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-block: 56px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.site-footer p {
  margin-bottom: 0;
}

.footer-brand {
  margin-bottom: 4px !important;
  color: var(--text);
}

.site-footer nav {
  display: flex;
  gap: 32px;
  font-size: 15px;
}

.error-page {
  display: grid;
  min-height: 100vh;
  place-content: center;
  justify-items: start;
  padding: 32px;
}

.error-page h1 {
  margin-bottom: 18px;
  font-size: 56px;
}

.error-page p {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 19px;
}

@media (max-width: 900px) {
  .site-header,
  .site-footer,
  .section {
    width: min(calc(100% - 40px), var(--content-width));
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .section {
    padding-block: 88px;
  }

  .hero {
    padding-top: 72px;
  }

  h1 {
    font-size: 64px;
  }

  h2,
  .privacy h2 {
    font-size: 44px;
  }

  .feature-row,
  .feature-row-reverse {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-block: 40px 72px;
  }

  .feature-row-reverse .feature-media,
  .feature-row-reverse .feature-copy-group {
    grid-column: 1;
  }

  .feature-row-reverse .feature-media {
    grid-row: 1;
  }

  .feature-row-reverse .feature-copy-group {
    grid-row: 2;
  }

  .feature-copy-group {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .privacy p {
    font-size: 23px;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .site-header,
  .site-footer,
  .section {
    width: min(calc(100% - 32px), var(--content-width));
  }

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

  .brand {
    font-size: 20px;
  }

  .site-header .button {
    min-height: 38px;
    padding-inline: 14px;
  }

  .section {
    padding-block: 72px;
  }

  .hero {
    padding-top: 56px;
    padding-bottom: 72px;
  }

  .hero-copy {
    margin-bottom: 42px;
  }

  h1 {
    font-size: 50px;
  }

  h2,
  .privacy h2 {
    margin-bottom: 46px;
    font-size: 36px;
  }

  h3 {
    font-size: 25px;
  }

  .hero-lead {
    font-size: 24px;
  }

  .hero-body {
    font-size: 17px;
  }

  .button-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-frame {
    width: calc(100% + 16px);
    margin-left: -8px;
  }

  .feature-row,
  .feature-row-reverse {
    gap: 38px;
    padding-block: 24px 64px;
  }

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

  .feature-copy p {
    font-size: 17px;
  }

  .privacy p {
    font-size: 20px;
  }

  .install-steps li {
    grid-template-columns: 64px 1fr;
    min-height: 112px;
    font-size: 17px;
  }

  .install-steps li::before {
    font-size: 42px;
  }

  .site-footer {
    display: grid;
    gap: 36px;
  }

  .site-footer nav {
    flex-wrap: wrap;
    gap: 18px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
