:root {
  color-scheme: light;
  --background: #f8faf9;
  --text: #172c26;
  --muted: #5b6b65;
  --action: #17644e;
  --action-hover: #104d3b;
  --action-text: #fff;
  --body-size: 1rem;
  --control-size: .875rem;
  --title-size: 1.75rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --background: #141a18;
    --text: #edf4f0;
    --muted: #a1b2a8;
    --action: #84dfba;
    --action-hover: #a5eccf;
    --action-text: #102e23;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-size: var(--body-size);
  line-height: 1.7;
}
.brand { padding: 1.75rem 2rem; font-size: var(--body-size); font-weight: 700; }
.brand span { font-weight: 400; }
main { width: min(calc(100% - 3rem), 25rem); margin: auto; padding: 3rem 0 4rem; }
h1 { margin: 0; font-size: var(--title-size); line-height: 1.35; font-weight: 600; overflow-wrap: anywhere; }
.intro { margin: .75rem 0 2rem; font-size: var(--body-size); color: var(--muted); }
.primary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: .75rem 1rem;
  border-radius: .375rem;
  background: var(--action);
  color: var(--action-text);
  font-size: var(--control-size);
  line-height: 1.6;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  overflow-wrap: anywhere;
}
.primary:hover { background: var(--action-hover); }
a:focus-visible { outline: 3px solid var(--action); outline-offset: 5px; }
.provider { margin: .75rem 0 0; color: var(--muted); font-size: var(--control-size); line-height: 1.6; text-align: center; }
footer { padding: 1.5rem; color: var(--muted); text-align: center; font-size: var(--control-size); line-height: 1.6; }
@media (max-width: 380px) { .brand { padding: 1.5rem; } main { width: calc(100% - 2.5rem); } }
