:root {
  color-scheme: light dark;
  --background: #f2f2f7;
  --card: #ffffff;
  --text: #1c1c1e;
  --secondary: #55555a;
  --accent: #2e5e45;
  --on-accent: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #000000;
    --card: #1c1c1e;
    --text: #f2f2f7;
    --secondary: #aeaeb2;
    --accent: #7dbf97;
    --on-accent: #0b1a12;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.45;
}

main {
  width: 100%;
  max-width: 420px;
  background: var(--card);
  border-radius: 24px;
  padding: 32px 24px;
  text-align: center;
}

.mark {
  width: 72px;
  height: 72px;
  border-radius: 16px;
}

h1 {
  font-family: "New York", ui-serif, Georgia, serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 1.2;
  margin: 20px 0 12px;
}

p {
  color: var(--secondary);
  margin: 0 0 24px;
}

.button {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 14px 16px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 12px;
}

.primary {
  background: var(--accent);
  color: var(--on-accent);
}

.secondary {
  color: var(--accent);
}

ol {
  text-align: left;
  color: var(--secondary);
  padding-left: 20px;
  margin: 0 0 24px;
}

li {
  margin-bottom: 8px;
}

[hidden] {
  display: none;
}
