:root {
  color-scheme: light;
  --ink: #17191a;
  --muted: #5d6468;
  --paper: #ffffff;
  --soft: #f4f6f5;
  --line: #d9ddda;
  --orange: #ee7a12;
  --green: #2e8b4c;
  --blue: #1974ce;
  --teal: #168d8a;
  --red: #cf3038;
  --content: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

a {
  color: inherit;
}

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

.hero {
  position: relative;
  isolation: isolate;
  height: 68svh;
  min-height: 460px;
  max-height: 680px;
  overflow: hidden;
  color: #ffffff;
  background: var(--ink);
}

.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
  content: "";
}

.hero::before {
  z-index: -2;
  background-image: url("/assets/app-screens-preview.png");
  background-position: center 31%;
  background-size: cover;
  opacity: 0.7;
}

.hero::after {
  z-index: -1;
  background: rgba(13, 15, 15, 0.77);
}

.site-nav {
  display: flex;
  width: min(calc(100% - 40px), var(--content));
  min-height: 72px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-weight: 750;
  text-decoration: none;
}

.brand img,
.hero-icon,
.error-content img {
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 20%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #ffffff;
}

.hero-content {
  display: flex;
  width: min(calc(100% - 40px), 840px);
  height: calc(100% - 72px);
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.hero-icon {
  width: 88px;
  height: 88px;
  margin-bottom: 18px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: #ffb260;
}

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

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 14px;
  font-size: 52px;
  font-weight: 820;
}

h2 {
  margin-bottom: 16px;
  font-size: 36px;
  font-weight: 800;
}

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

.hero-copy {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  margin-top: 26px;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  padding: 10px 18px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button-primary {
  color: var(--ink);
  background: #ffffff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #f0f2f1;
}

.button-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(23, 25, 26, 0.36);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: #ffffff;
  background: rgba(23, 25, 26, 0.72);
}

.button-dark {
  color: #ffffff;
  background: var(--ink);
}

.button-dark:hover,
.button-dark:focus-visible {
  background: #35393b;
}

.feature-band,
.screens-section,
.support-band,
.site-footer {
  padding-right: max(24px, calc((100% - var(--content)) / 2));
  padding-left: max(24px, calc((100% - var(--content)) / 2));
}

.feature-band {
  padding-top: 88px;
  padding-bottom: 96px;
  background: var(--paper);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-heading > p:last-child {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
}

.feature-item {
  padding-top: 20px;
  border-top: 4px solid var(--line);
}

.feature-item p {
  margin: 0;
  color: var(--muted);
}

.feature-number {
  display: block;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.feature-orange {
  border-color: var(--orange);
}

.feature-green {
  border-color: var(--green);
}

.feature-blue {
  border-color: var(--blue);
}

.screens-section {
  padding-top: 88px;
  padding-bottom: 96px;
  color: #ffffff;
  background: var(--ink);
}

.section-heading-light > p:last-child {
  color: #c8cecb;
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 28px;
}

.screen-card {
  margin: 0;
  overflow: hidden;
  border-top: 5px solid var(--green);
  border-radius: 8px;
  background: #252829;
}

.screen-card img {
  width: 100%;
  height: auto;
  background: #ffffff;
}

.screen-card figcaption {
  padding: 15px 16px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 750;
}

.screen-orange {
  border-color: var(--orange);
}

.screen-teal {
  border-color: var(--teal);
}

.support-band {
  display: grid;
  padding-top: 72px;
  padding-bottom: 72px;
  grid-template-columns: minmax(0, 1.5fr) minmax(240px, 0.7fr);
  align-items: center;
  gap: 48px;
  background: var(--soft);
}

.support-band h2 {
  margin-bottom: 12px;
}

.support-band p:last-child {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
}

.support-links {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 15px;
}

.text-link {
  color: var(--ink);
  font-weight: 700;
  text-underline-offset: 4px;
}

.site-footer {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #c8cecb;
  background: #0e0f10;
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.site-footer a {
  color: #ffffff;
  text-underline-offset: 4px;
}

a:focus-visible {
  outline: 3px solid #ffb260;
  outline-offset: 3px;
}

.error-page {
  min-height: 100svh;
  background: var(--soft);
}

.error-content {
  display: flex;
  width: min(calc(100% - 40px), 620px);
  min-height: 100svh;
  margin: 0 auto;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
}

.error-content img {
  margin-bottom: 24px;
  border-color: var(--line);
}

.error-content h1 {
  font-size: 40px;
}

.error-content p:not(.eyebrow) {
  margin-top: 0;
  margin-bottom: 24px;
  color: var(--muted);
}

@media (max-width: 820px) {
  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 31px;
  }

  .feature-grid,
  .screen-grid {
    gap: 20px;
  }

  .support-band {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 680px) {
  .hero {
    height: 76svh;
    min-height: min(500px, calc(100svh - 40px));
  }

  .hero::before {
    background-position: center 45%;
    background-size: auto 125%;
  }

  .site-nav {
    width: min(calc(100% - 28px), var(--content));
  }

  .brand span {
    display: none;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 13px;
  }

  .hero-content {
    width: min(calc(100% - 32px), 840px);
  }

  .hero-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 14px;
  }

  h1 {
    margin-bottom: 12px;
    font-size: 35px;
  }

  h2 {
    font-size: 29px;
  }

  .hero-copy,
  .section-heading > p:last-child {
    font-size: 16px;
  }

  .hero-actions {
    width: min(100%, 360px);
    margin-top: 20px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .feature-band,
  .screens-section {
    padding-top: 64px;
    padding-bottom: 72px;
  }

  .section-heading {
    margin-bottom: 36px;
  }

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

  .feature-grid {
    gap: 30px;
  }

  .screen-grid {
    width: min(100%, 420px);
    margin: 0 auto;
    gap: 28px;
  }

  .support-band {
    padding-top: 56px;
    padding-bottom: 60px;
  }

  .site-footer {
    padding-top: 26px;
    padding-bottom: 26px;
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .button {
    transition: none;
  }
}
