:root {
  --bg: #f7f6f3;
  --surface: #ffffff;
  --text: #1c1b19;
  --muted: #6b6862;
  --border: #e4e1da;
  --accent: #c2410c;
  --radius: 12px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121212;
    --surface: #1b1b1a;
    --text: #ecebe8;
    --muted: #a19e97;
    --border: #2d2c2a;
    --accent: #fb923c;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 440px; padding: 48px 20px; }

header { text-align: center; margin-bottom: 28px; }
h1 { font-size: 1.9rem; line-height: 1.15; margin: 0 0 4px; letter-spacing: -0.02em; }
.tagline { margin: 0; color: var(--muted); }

.links { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.links a {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
}
.links a:hover { border-color: var(--accent); transform: translateY(-1px); }
.hint { font-size: 0.85rem; font-weight: 400; color: var(--muted); overflow-wrap: anywhere; }

@media (prefers-reduced-motion: reduce) {
  .links a { transition: none; }
  .links a:hover { transform: none; }
}
