:root {
  --paper: #ffffff;
  --mist: #f5f5f7;
  --ink: #1d1d1f;
  --sub: #6e6e73;
  --line: #d2d2d7;
  --shu: #b8322a;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #000; --mist: #1c1c1e; --ink: #f5f5f7; --sub: #a1a1a6; --line: #3a3a3c; --shu: #e0564c; }
}
* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Apple SD Gothic Neo', 'Noto Sans JP', 'Noto Sans KR', 'Yu Gothic', 'Malgun Gothic', sans-serif;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 20px 32px;
}
main { width: 100%; max-width: 420px; flex: 1; }
.lang { display: flex; justify-content: center; gap: 16px; font-size: 13px; margin-bottom: 48px; }
.lang a { color: var(--sub); text-decoration: none; }
.lang a[aria-current] { color: var(--ink); font-weight: 600; }
h1 { font-size: 28px; font-weight: 600; letter-spacing: .02em; text-align: center; }
.role { text-align: center; color: var(--shu); font-size: 14px; margin-top: 4px; }
.about { color: var(--sub); font-size: 15px; margin: 24px 0 36px; text-align: center; }
ul { list-style: none; padding: 0; display: grid; gap: 12px; }
.btn {
  display: flex; flex-direction: column; align-items: center;
  width: 100%; padding: 14px 16px;
  background: var(--mist); color: var(--ink);
  border: 1px solid var(--line); border-radius: 14px;
  font: inherit; font-size: 16px; font-weight: 600;
  text-decoration: none; cursor: pointer;
  transition: border-color .15s;
}
.btn:hover, .btn:focus-visible { border-color: var(--shu); }
.btn span { font-size: 12px; font-weight: 400; color: var(--sub); }
.btn.main { background: var(--shu); border-color: var(--shu); color: #fff; }
.btn.main span { color: rgba(255,255,255,.85); }
footer { font-size: 12px; color: var(--sub); margin-top: 48px; }
