*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --color-page: #ffffff;
  --color-text: #1d1d1f;
  --color-muted: #6e6e73;
  --font: system-ui, -apple-system, sans-serif;
  --text: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  --h1: clamp(2.25rem, 1.4rem + 2.4vw, 3.5rem);
  --leading: 1.5;
  --space-s: 0.5rem;
  --space-m: 1rem;
  --space-l: 1.5rem;
  --space-xl: clamp(2.5rem, 2rem + 2vw, 4.5rem);
  --page: clamp(1.25rem, 4vw, 2.5rem);
  --phone: 16rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-page: #000000;
    --color-text: #f5f5f7;
    --color-muted: #a1a1a6;
  }
}

html {
  color-scheme: light dark;
  -webkit-text-size-adjust: 100%;
  background-color: var(--color-page);
}

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-block-size: 100dvb;
  font-family: var(--font);
  font-size: var(--text);
  line-height: var(--leading);
  color: var(--color-text);
  background-color: var(--color-page);
  overflow-wrap: anywhere;
}

main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

img {
  max-inline-size: 100%;
  block-size: auto;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-m);
  padding: var(--space-m) var(--page);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
}

.brand img {
  inline-size: 2rem;
  block-size: 2rem;
  border-radius: 0.45rem;
}

.hero {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  padding: var(--space-xl) var(--page);
}

.hero > div {
  flex: 1 1 18rem;
  max-inline-size: 34rem;
}

.eyebrow {
  margin: 0 0 var(--space-s);
  color: var(--color-muted);
}

h1 {
  margin: 0 0 var(--space-m);
  font-size: var(--h1);
  font-weight: 600;
  line-height: 1.15;
}

.hero p {
  margin: 0 0 var(--space-l);
}

.hero figure {
  flex: none;
  margin: 0;
  inline-size: min(100%, var(--phone));
}

.hero figure img {
  display: block;
  inline-size: 100%;
}

.download {
  margin: 0 0 var(--space-m);
}

.download a {
  display: inline-block;
}

.download a picture {
  display: block;
}

.download img {
  inline-size: 7.5rem;
  block-size: auto;
}

.offer {
  margin-block-end: 0;
  color: var(--color-muted);
  font-size: 0.9375rem;
}

.page,
.missing {
  padding: var(--space-xl) var(--page);
}

.page {
  max-inline-size: 40rem;
}

.page a,
.missing a,
.legal a {
  color: inherit;
}

.legal {
  margin-inline: auto;
}

.legal h1 {
  font-size: clamp(2rem, 1.4rem + 1.4vw, 2.75rem);
}

.legal h2,
.legal h3 {
  margin-block: 2rem 0.75rem;
  font-weight: 600;
  line-height: 1.3;
}

.legal h2 {
  font-size: 1.35rem;
}

.legal h3 {
  font-size: 1.125rem;
}

.legal p,
.legal li {
  margin-block: 0 1rem;
}

.legal ul {
  margin-block: 0 1rem;
  padding-inline-start: 1.25rem;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-m) var(--space-l);
  padding: var(--space-l) var(--page);
  color: var(--color-muted);
  font-size: 0.9375rem;
}

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

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 0.25rem;
}
