:root {
  color-scheme: light dark;
  font-family: system-ui, sans-serif;
  background: #edf3f8;
  color: #16273a;
  --surface: #fff;
  --border: #d8e3ed;
  --text-secondary: #42566c;
  --accent: #125ca8;
  --accent-active: #0a4685;
  --button-text: #fff;
}

* { box-sizing: border-box; }

body {
  display: grid;
  place-items: center;
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  padding: 1.25rem;
}

main {
  width: min(100%, 28rem);
  padding: clamp(1.5rem, 6vw, 2.25rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
}

h1 {
  margin: 0;
  font-size: clamp(1.5rem, 6vw, 1.875rem);
  line-height: 1.25;
}

p {
  margin: 0.75rem 0 0;
  color: var(--text-secondary);
  line-height: 1.65;
}

a[href]:not([hidden]) {
  display: grid;
  place-items: center;
  min-height: 3.125rem;
  margin-top: 1.5rem;
  padding: 0.625rem 1rem;
  border-radius: 0.75rem;
  background: var(--accent);
  color: var(--button-text);
  font-weight: 650;
  text-align: center;
  text-decoration: none;
}

a[href]:active { background: var(--accent-active); }
a[href]:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

@media (prefers-color-scheme: dark) {
  :root {
    background: #111923;
    color: #edf5fe;
    --surface: #192635;
    --border: #2e4155;
    --text-secondary: #b9cadd;
    --accent: #9bcaff;
    --accent-active: #73b0f6;
    --button-text: #102b48;
  }
}
