:root {
  color-scheme: light dark;
  --page: #edf4f2;
  --card: #fff;
  --text: #162d2b;
  --quiet: #435e5a;
  --line: #d4e2df;
  --status: #e5f1ee;
  --button: #194d49;
  --button-text: #fff;
  font-family: system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #142321;
    --card: #1e302d;
    --text: #ecf5f2;
    --quiet: #b8d0ca;
    --line: #3e5a55;
    --status: #2a423e;
    --button: #a3ded3;
    --button-text: #112b27;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: clamp(16px, 5vw, 48px);
  background: var(--page);
  color: var(--text);
  line-height: 1.55;
}

main {
  max-width: 32rem;
  margin: min(6vh, 48px) auto 0;
  padding: clamp(20px, 6vw, 40px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
}

h1 { margin: 0; font-size: clamp(1.625rem, 6vw, 2.25rem); line-height: 1.15; }
p { margin: 1rem 0; }
.label, .note { color: var(--quiet); }
.label { margin-top: 0; font-weight: 600; }
.note { margin-bottom: 0; font-size: .95rem; }
#status { padding: .875rem; border-radius: 12px; background: var(--status); }

button {
  min-height: 50px;
  width: 100%;
  padding: .625rem 1rem;
  border: 0;
  border-radius: 12px;
  color: var(--button-text);
  background: var(--button);
  font: inherit;
  font-weight: 700;
}

button:enabled { cursor: pointer; }
button:disabled { opacity: .55; }
button:focus-visible { outline: 3px solid var(--button); outline-offset: 4px; }
