:root {
  --bg: #1a1a2e;
  --panel: #16213e;
  --text: #f2f2f7;
  --muted: #9999bb;
  --accent: #4caf50;
  --accent-text: #0b1a0c;
  --lock: #66dd88;
  --line: #2a2f4a;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

main {
  max-width: 640px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 22px;
}

.brand img { width: 40px; height: 40px; border-radius: 10px; }

.lang button {
  background: none;
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 6px;
  padding: 4px 10px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.lang button[aria-pressed="true"] { color: var(--text); border-color: var(--muted); }

h1 { font-size: 30px; line-height: 1.2; margin: 0 0 12px; }
h2 { font-size: 20px; margin: 32px 0 8px; }
p { margin: 0 0 12px; }
.muted { color: var(--muted); font-size: 15px; }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  margin: 20px 0;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 700;
  text-decoration: none;
  border: none;
  border-radius: 10px;
  padding: 12px 22px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.btn.secondary {
  background: none;
  color: var(--text);
  border: 1px solid var(--muted);
}

.buttons { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }

ol.steps { padding-left: 22px; margin: 0; }
ol.steps li { margin-bottom: 16px; }

ul.features { padding-left: 20px; }
ul.features li { margin-bottom: 8px; }

.channel { font-size: 26px; font-weight: 700; word-break: break-word; }
.channel .lock { color: var(--lock); }

.qr { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.qr .code { width: 180px; height: 180px; background: #fff; border-radius: 8px; padding: 6px; flex: none; }
.qr .code svg { width: 100%; height: 100%; display: block; }
.qr p { flex: 1; min-width: 180px; }

.hidden { display: none !important; }

code, .hash { font-family: ui-monospace, monospace; font-size: 13px; color: var(--muted); word-break: break-all; }

footer { margin-top: 40px; color: var(--muted); font-size: 14px; }
footer a { color: var(--muted); }
