:root {
  --ink: #14211e;
  --muted: #3d4a46;
  --paper: #f4f7f6;
  --card: #ffffff;
  --line: #d5e0dc;
  --teal: #0e6b62;
  --teal-dark: #0a3f3b;
  --pending-bg: #e7eeeb;
  --pending-ink: #3d4a46;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: var(--teal-dark);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.hero,
main,
footer {
  width: min(42rem, calc(100% - 2rem));
  margin-inline: auto;
}

.hero {
  padding: 3.5rem 0 1rem;
}

.eyebrow {
  margin: 0;
  color: var(--teal-dark);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

h1 {
  margin: 0.2rem 0 0.4rem;
  font-size: clamp(2.6rem, 8vw, 4.2rem);
  line-height: 1.05;
  color: var(--teal-dark);
}

.slogan {
  margin: 0;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 650;
}

.lede,
section p,
li {
  color: var(--ink);
}

.lede {
  max-width: 38rem;
}

main {
  display: grid;
  gap: 1rem;
  padding-bottom: 2rem;
}

section {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.25rem 1.3rem 1.4rem;
}

h2 {
  margin: 0 0 0.6rem;
  font-size: 1.35rem;
  color: var(--teal-dark);
}

.checks {
  margin: 0;
  padding-left: 1.3rem;
  display: grid;
  gap: 0.35rem;
}

ul {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.35rem;
}

code {
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.95em;
}

.downloads {
  display: grid;
  gap: 0.75rem;
}

.button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 3.1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.8rem;
  font: inherit;
  font-weight: 650;
  text-align: left;
  text-decoration: none;
}

.button-active {
  background: var(--teal);
  color: #ffffff;
  border: 2px solid var(--teal-dark);
}

.button-active:hover {
  background: var(--teal-dark);
}

.button-pending {
  background: var(--pending-bg);
  color: var(--pending-ink);
  border: 2px dashed var(--muted);
  cursor: not-allowed;
}

.pending {
  flex: none;
  border: 1px solid var(--muted);
  border-radius: 999px;
  padding: 0.1rem 0.55rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.note {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  padding: 0 0 2.5rem;
}

@media (min-width: 720px) {
  .checks {
    grid-template-columns: 1fr 1fr;
    column-gap: 1.5rem;
  }
}
