:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --text: #14171c;
  --muted: #5b6370;
  --accent: #2f6fe4;
  --accent-text: #ffffff;
  --border: #dde1e7;
  --ok: #1d7a46;
  --error: #b3261e;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1116;
    --surface: #171b22;
    --text: #e8ebf0;
    --muted: #9aa3b0;
    --accent: #4f8cff;
    --accent-text: #0e1116;
    --border: #2a303a;
    --ok: #5fd08f;
    --error: #ff8a80;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
main { max-width: 680px; margin: 0 auto; padding: 24px 16px 48px; }
header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
header img { width: 40px; height: 40px; }
header a { color: inherit; text-decoration: none; font-weight: 700; font-size: 20px; }
nav.lang { margin-left: auto; font-size: 14px; }
nav.lang a { color: var(--muted); margin-left: 8px; }
nav.lang a[aria-current] { color: var(--text); font-weight: 600; text-decoration: none; }
h1 { font-size: 28px; line-height: 1.25; margin: 24px 0 8px; }
h2 { font-size: 20px; margin: 28px 0 8px; }
a { color: var(--accent); }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  margin: 20px 0;
}
ol.steps { padding-left: 22px; margin: 0; }
ol.steps li { margin: 8px 0; }
.muted { color: var(--muted); font-size: 15px; }
button {
  font: inherit;
  font-weight: 600;
  border: 0;
  border-radius: 999px;
  padding: 14px 24px;
  min-height: 48px;
  background: var(--accent);
  color: var(--accent-text);
  cursor: pointer;
  width: 100%;
}
button.secondary { background: transparent; color: var(--accent); border: 1px solid var(--border); }
button:disabled { opacity: .5; cursor: default; }
.actions { display: grid; gap: 10px; margin-top: 16px; }
#status { margin-top: 16px; min-height: 1.5em; }
#status.ok { color: var(--ok); }
#status.error { color: var(--error); }
footer { margin-top: 40px; font-size: 14px; color: var(--muted); }
footer a { color: var(--muted); }
[hidden] { display: none !important; }
