:root {
  color-scheme: light;
  --ink: #1a1430;
  --muted: #6b6390;
  --violet: #7063df;
  --panel: #ffffff;
  --bg: #f8f7fc;
  --stroke: #e9e4f5;
  --shadow: 0 22px 60px rgba(75, 55, 125, 0.11);
  --font-sans: "Segoe UI", system-ui, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Consolas, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--font-sans);
  background: radial-gradient(1200px 600px at 10% -10%, #ede9ff, transparent), var(--bg);
  color: var(--ink);
}
.page { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; }
.card, .authCard {
  width: min(560px, 100%);
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: 28px;
  padding: 36px 28px;
  box-shadow: var(--shadow);
}
.eyebrow {
  margin: 0 0 8px;
  color: var(--violet);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
h1 { margin: 0; font-size: clamp(32px, 6vw, 46px); font-weight: 800; line-height: 1.1; }
.lede { margin: 12px 0 0; color: var(--muted); line-height: 1.65; max-width: 58ch; }
p { margin: 0 0 16px; color: var(--muted); line-height: 1.45; }
.codePanel { margin: 28px 0 18px; display: grid; justify-items: center; gap: 16px; }
.circularCodeWrap { position: relative; display: grid; place-items: center; width: 252px; height: 252px; }
.circularCode {
  display: block;
  width: 252px;
  height: 252px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 16px 40px rgba(26, 20, 48, .08);
}
.circularCodeCenter {
  position: absolute;
  inset: 32%;
  display: grid;
  place-items: center;
  color: #1a1430;
  font: 800 42px/1 var(--font-mono);
  letter-spacing: .06em;
  pointer-events: none;
  text-shadow: 0 0 8px #fff, 0 0 16px #fff;
}
.codeFresh {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .02em;
  text-align: center;
}
.authActions { display: grid; gap: 10px; margin: 0 0 18px; justify-items: stretch; }
.authHint { margin: 0; text-align: center; color: var(--muted); font-size: 13px; font-weight: 650; }
.authHint a { color: var(--violet); font-weight: 750; }
.authSteps { margin: 0; padding-left: 18px; color: var(--muted); display: grid; gap: 8px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  background: var(--violet);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}
.buttonSecondary {
  margin-top: 16px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--stroke);
}
.authNotice {
  margin: 16px 0 0;
  color: var(--ink);
  font-weight: 650;
  line-height: 1.5;
}
.muted { color: var(--muted); font-size: 0.92rem; }
.code { font-variant-numeric: tabular-nums; font-weight: 800; letter-spacing: 0.08em; }
