:root {
  color-scheme: light dark;
  --paper: #f6f8fb;
  --surface: #ffffff;
  --ink: #17212b;
  --muted: #5e6b78;
  --line: #dce3ea;
  --blue: #245f99;
  --blue-deep: #183f66;
  --wash: #eaf2f8;
  --green: #24745b;
  --footer: #18232d;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #121820;
    --surface: #1b232d;
    --ink: #edf2f7;
    --muted: #a8b4c1;
    --line: #303d4a;
    --blue: #82b5e4;
    --blue-deep: #b7d7f2;
    --wash: #1d2c3b;
    --green: #74bd9f;
    --footer: #0c1218;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blue);
  text-underline-offset: 4px;
}

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

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

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

h1 {
  max-width: 660px;
  margin-bottom: 22px;
  font-size: 54px;
  font-weight: 680;
}

h2 {
  margin-bottom: 18px;
  font-size: 38px;
  font-weight: 660;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 650;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  z-index: 20;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 82px;
  padding: 16px max(28px, calc((100vw - 1180px) / 2));
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
  font-weight: 660;
}

.brand img {
  flex: 0 0 auto;
  border-radius: 10px;
}

.brand span {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 450;
}

.site-header nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 23px;
  font-size: 13px;
}

.site-header nav a,
.site-footer nav a {
  color: var(--muted);
  text-decoration: none;
}

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

.site-header .nav-button {
  padding: 8px 13px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(440px, 1.12fr);
  gap: 64px;
  align-items: center;
  min-height: min(760px, calc(100svh - 82px));
  max-width: 1240px;
  margin: 0 auto;
  padding: 64px 30px 74px;
}

.hero-copy {
  align-self: center;
}

.eyebrow {
  margin-bottom: 13px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lede {
  max-width: 570px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 17px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 13px;
  font-weight: 620;
  text-decoration: none;
}

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

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

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

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 19px;
  margin: 25px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 12px;
  list-style: none;
}

.hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-facts li::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--green);
  border-radius: 50%;
}

.app-preview {
  align-self: center;
  margin: 0;
}

.app-preview img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 28px 70px -42px rgb(25 45 65 / 0.42);
}

.app-preview figcaption {
  margin-top: 11px;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.statement,
.steps-section,
.feature-band,
.privacy-band {
  max-width: 1180px;
  margin: 0 auto;
  padding-right: 30px;
  padding-left: 30px;
}

.statement {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.65fr);
  gap: 70px;
  align-items: end;
  padding-top: 74px;
  padding-bottom: 74px;
  border-top: 1px solid var(--line);
}

.statement .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -42px;
}

.statement h2 {
  max-width: 740px;
  margin-bottom: 0;
}

.statement > p:last-child {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 15px;
}

.steps-section {
  padding-top: 76px;
  padding-bottom: 82px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  max-width: 1120px;
  margin: 0 auto 38px;
}

.section-heading > p {
  max-width: 390px;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 14px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.steps li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 16px;
  padding: 28px 30px 8px 0;
}

.steps li + li {
  padding-left: 30px;
  border-left: 1px solid var(--line);
}

.step-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--blue);
  background: var(--wash);
  border-radius: 50%;
  font: 11px ui-monospace, "SF Mono", monospace;
}

.steps p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.feature-band {
  padding-top: 78px;
  padding-bottom: 82px;
}

.feature-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 39px;
}

.feature-intro h2 {
  max-width: 680px;
  margin-bottom: 0;
}

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

.feature-grid article {
  padding: 25px 34px 4px 0;
}

.feature-grid article + article {
  padding-left: 34px;
  border-left: 1px solid var(--line);
}

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

.privacy-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 80px;
  padding-top: 54px;
  padding-bottom: 58px;
  color: #f0f5f9;
  background: var(--footer);
  box-shadow: 0 0 0 100vmax var(--footer);
  clip-path: inset(0 -100vmax);
}

.privacy-band .eyebrow {
  color: #8dc9b2;
}

.privacy-band h2 {
  max-width: 470px;
}

.privacy-copy p {
  color: #b8c5d1;
  font-size: 14px;
}

.privacy-copy .text-link {
  display: inline-block;
  margin-top: 3px;
  color: #a9d6ff;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px 34px;
  align-items: center;
  padding: 25px max(28px, calc((100vw - 1180px) / 2)) 28px;
  color: #b8c5d1;
  background: var(--footer);
  border-top: 1px solid #2a3b4a;
  font-size: 12px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #edf3f8;
}

.footer-brand img {
  border-radius: 7px;
}

.site-footer nav a {
  color: #b8c5d1;
}

.site-footer > p {
  grid-column: 1 / -1;
  margin-bottom: 0;
  color: #8f9eab;
}

@media (max-width: 940px) {
  h1 {
    font-size: 46px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 42px;
    min-height: auto;
    padding-top: 52px;
  }

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

  .app-preview {
    width: min(780px, 100%);
    margin: 0 auto;
  }

  .statement {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .statement .eyebrow {
    margin-bottom: 0;
  }

  .section-heading,
  .feature-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
  }

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

  .steps li,
  .steps li + li,
  .feature-grid article,
  .feature-grid article + article {
    padding: 24px 0;
    border-left: 0;
  }

  .steps li + li,
  .feature-grid article + article {
    border-top: 1px solid var(--line);
  }

  .privacy-band {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    min-height: 74px;
    padding: 15px 20px;
  }

  .site-header nav {
    gap: 13px;
  }

  .site-header nav a:first-child,
  .brand small {
    display: none;
  }

  .brand {
    font-size: 13px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .hero,
  .statement,
  .steps-section,
  .feature-band,
  .privacy-band {
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero {
    padding-top: 44px;
    padding-bottom: 52px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 31px;
  }

  .lede {
    font-size: 16px;
  }

  .hero-actions .button {
    flex: 1 1 180px;
  }

  .statement {
    padding-top: 56px;
    padding-bottom: 58px;
  }

  .steps-section,
  .feature-band {
    padding-top: 56px;
    padding-bottom: 58px;
  }

  .steps li {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
  }

  .step-number {
    width: 29px;
    height: 29px;
  }

  .privacy-band {
    padding-top: 43px;
    padding-bottom: 47px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding-right: 20px;
    padding-left: 20px;
  }

  .site-footer nav {
    flex-wrap: wrap;
    gap: 13px 19px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
