:root {
  --paper: #fbfaf7;
  --surface: #ffffff;
  --ink: #17232b;
  --muted: #687178;
  --line: #e4e2dc;
  --accent: #f2643c;
  --shadow-sm: 0 8px 28px rgba(31, 42, 47, .07);
  --radius-lg: 30px;
  color-scheme: light;
}

html[data-theme="dark"] {
  --paper: #101716;
  --surface: #17201f;
  --ink: #f2f3ed;
  --muted: #a9b0ab;
  --line: #303a37;
  --shadow-sm: 0 8px 28px rgba(0, 0, 0, .22);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 200; top: 8px; left: 8px; padding: 10px 16px; color: #fff; background: #0d4543; border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.theme-toggle .moon-icon, html[data-theme="dark"] .theme-toggle .sun-icon { display: none; }
html[data-theme="dark"] .theme-toggle .moon-icon { display: block; }

.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 21px; border-radius: 11px; font-size: 13px; font-weight: 800; }
.button.primary { color: #fff; background: var(--accent); }
.status-page { display: grid; min-height: 67vh; padding: 80px 0; place-items: center; }
.status-card { max-width: 660px; padding: 65px 40px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.status-card > span { display: block; color: var(--accent); font-family: Georgia, serif; font-size: 68px; font-weight: 700; line-height: 1; }
.status-card h1 { margin: 13px 0 8px; font-family: Georgia, "Songti SC", serif; font-size: 30px; }
.status-card p { margin: 0 0 25px; color: var(--muted); }

@media (max-width: 640px) {
  .shell { width: min(100% - 28px, 1180px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
