:root {
  --foreground: #111;
  --background: #f5f5f5;
  --accent: color(display-p3 0.997 0.435 0);
}

@media screen and (prefers-color-scheme: dark) {
  :root {
    --foreground: #f5f5f5;
    --background: #111;
  }
}

html {
  font: 120%/1.4 system-ui, -apple-system, sans-serif;
  font-feature-settings: "cv06";
  background: var(--background);
  color: var(--foreground);
}

body {
  max-width: 45rem;
  margin: 0 auto;
  padding: 0.75rem;
}

h1 {
  font-variation-settings: "wdth" 132, "wght" 375;
  color: var(--accent);
}

h1 a {
  text-decoration: none;
}

h2 {
  font-size: 1.75rem;
}

h1.logo {
  display: flex;
  gap: 0.2em;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  font-variation-settings: "wdth" 132, "wght" 175;
  margin-block-end: 0;
}

header {
  margin-bottom: 3rem;
  text-align: center;
}

header h2 {
  font-weight: 500;
}

p.intro {
  font-size: clamp(1.15rem, 5vmax, 2.25em);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.25%;
}

footer {
  border-top: 1px solid rgba(128, 128, 128, 0.2);
  padding-block: 0.75em;
  display: flex;
  justify-content: space-between;
  color: rgba(128, 128, 128, 1);
}

footer a {
  color: inherit;
}

a {
  color: var(--accent);
}

a.button {
  background-color: var(--accent);
  color: #fff;
  padding: 0.75em 1.5em;
  border-radius: 0.5em;
  text-decoration: none;
  transition: 0.3s ease;
  transition-property: filter, transform;
  display: inline-flex;
}

a.button:hover {
  filter: brightness(90%);
}

a.button:active {
  transform: scale(0.975);
}

.cta {
  text-align: center;
  margin-bottom: 1.5em;
}

.apple {
  font-size: 1.25em;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  margin-right: 0.15em;
}
