:root {
  color-scheme: light dark;

  font-size: 17px;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;

  --title-color: black;

  --page-max: 72rem;
  --page-pad: clamp(16px, 4vw, 40px);

  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-h1: "Quicksand", system-ui, sans-serif;

  --text-base: 1rem;
  --line-body: 1.6;
  --line-heading: 1.25;

  --hero-gap: 1rem;
}

@media screen and (prefers-color-scheme: dark) {
  :root {
    --title-color: white;
  }
}

@media screen and (prefers-color-scheme: light) {
  body {
    background-color: #DDDED4;
  }
}

@media screen and (prefers-color-scheme: dark) {
  body {
    background-color: #0A0A0D;
  }
}

@media (max-width: 480px) {
  footer {
    justify-content: center;
  }
}

.page {
  margin: 0 auto;
  max-width: var(--page-max);
  padding: var(--page-pad);
}

header {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

header .title {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--title-color);
}

header .logo {
  max-height: 32px;
  width: auto;
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-body);
  line-height: var(--line-heading);
  font-weight: 600;
  margin: 0 0 0.75em;
}

h1 {
  font-family: var(--font-h1);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: 0.015em;
}

h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }
h5 { font-size: 1rem; }
h6 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

p {
  margin: 0 0 1em;
}

body {
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--line-body);
  margin: 0;
}

body .hero-container {
  margin: 0 auto;
  max-width: var(--page-max);
  padding: var(--page-pad);
  display: flex;
  align-items: center;
  gap: var(--hero-gap);
}

body .hero-icon {
  width: 256px;
  height: 256px;
  border-radius: 16px;
  flex-shrink: 0;
}

body .hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

body .download-badge {
  margin-top: 0.5rem;
  width: auto;
  height: 48px;
  max-width: 100%;
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.875rem;
}

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

footer a:hover {
  text-decoration: underline;
}

.sep {
  opacity: 0.5;
}
