:root {
  color-scheme: light dark;
  --canvas: #f7f5ef;
  --surface: #fff;
  --ink: #222720;
  --brand: #58705b;
  --button-text: #fff;
  font-family: system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #10110f;
    --surface: #191b17;
    --ink: #f2f2ed;
    --brand: #8ba98e;
    --button-text: #10110f;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--canvas);
  color: var(--ink);
}

main {
  width: min(100%, 28rem);
  padding: clamp(24px, 7vw, 44px);
  border-radius: 24px;
  background: var(--surface);
  text-align: center;
}

.logo {
  display: block;
  margin: 0 auto 24px;
  border-radius: 16px;
}

.check {
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand);
}

h1 {
  margin: 0;
  font-size: clamp(1.4rem, 5vw, 2rem);
  line-height: 1.2;
}

p {
  margin: 12px auto 0;
  line-height: 1.55;
}

button,
a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 8px 20px;
  margin-top: 24px;
  border: 0;
  border-radius: 16px;
  background: var(--brand);
  color: var(--button-text);
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}
