/* Small standalone pages (activate, key). Same tokens as index.html. */
:root {
  --black: #000;
  --text: #F5F5F7;
  --text-2: #A1A1A6;
  --text-3: #6E6E73;
  --line: #2C2C2E;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, "Segoe UI", sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, "Segoe UI", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--black); color: var(--text); font-family: var(--font); -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--text); }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 4px; }

.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.langs { display: flex; gap: 14px; font-size: 13px; }
.langs a { color: var(--text-3); text-decoration: none; }
.langs a[aria-current="true"] { color: var(--text); }

main { flex: 1; width: 100%; max-width: 560px; margin: 0 auto; padding: 12vh 24px 64px; }
h1 { margin: 0 0 14px; font-family: var(--font-display); font-size: clamp(32px, 5vw, 44px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 700; }
.lede { margin: 0 0 32px; font-size: 19px; line-height: 1.45; letter-spacing: -0.015em; color: var(--text-2); }
.fine { margin: 28px 0 0; font-size: 14px; line-height: 1.55; color: var(--text-3); }
.fine a { color: var(--text-2); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 24px; border-radius: 999px; border: 0; cursor: pointer;
  font: inherit; font-size: 17px; font-weight: 600; letter-spacing: -0.016em; text-decoration: none; white-space: nowrap;
  background: var(--text); color: #000; transition: background-color .2s, transform .2s;
}
.btn:hover { background: #fff; }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .5; cursor: default; }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: #1C1C1E; }

.key {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 0 0 24px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px;
  font: 600 17px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .03em; word-break: break-all;
}
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

input[type=email] {
  width: 100%; min-height: 48px; margin: 0 0 14px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 12px; background: #0B0B0C; color: var(--text);
  font: inherit; font-size: 17px;
}
input[type=email]::placeholder { color: var(--text-3); }
.status { min-height: 1.5em; margin: 18px 0 0; color: var(--text-2); font-size: 16px; line-height: 1.5; }

footer { padding: 24px; text-align: center; font-size: 12px; color: var(--text-3); }
