:root {
  --blue: #305eeb; --blue-dark: #2447b8; --ink: #1d2433; --muted: #5e6d82; --line: #e3e9f1; --soft: #eef3fe; --bg: #f4f7fb; --ok: #1f9d55;
  --radius: 18px; font-family: "Open Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; color: var(--ink); background: radial-gradient(1200px 600px at 10% -10%, rgba(48,94,235,.14), transparent 60%), radial-gradient(900px 500px at 110% 110%, rgba(16,156,241,.12), transparent 60%), var(--bg); }
.shell { max-width: 440px; margin: 0 auto; padding: 32px 16px 24px; display: grid; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; }
.brand .mark { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, var(--blue), #109cf1); }
.brand .demo { margin-left: auto; font-size: 11px; font-weight: 600; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; }
.card { background: #fff; border-radius: var(--radius); box-shadow: 0 1px 2px rgba(29,36,51,.06), 0 12px 32px rgba(29,36,51,.08); padding: 28px 24px; min-height: 220px; }
.foot { font-size: 12px; color: var(--muted); text-align: center; margin: 0; }
.foot code { font-size: 11px; }
h1 { font-size: 24px; line-height: 1.25; margin: 0 0 6px; letter-spacing: -.01em; }
.lead { color: var(--muted); margin: 0 0 20px; font-size: 15px; line-height: 1.5; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
label { display: block; font-size: 13px; font-weight: 600; margin: 0 0 6px; }
input { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #c6cfdb; border-radius: 12px; margin-bottom: 14px; outline: none; }
input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(48,94,235,.15); }
.btn { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: inherit; font-weight: 600; font-size: 16px; padding: 13px 16px; border-radius: 12px; border: 1px solid transparent; cursor: pointer; }
.btn.primary { background: var(--blue); color: #fff; }
.btn.primary:hover { background: var(--blue-dark); }
.btn.ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--blue); }
.btn.link { background: none; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; padding: 10px; }
.btn svg { width: 20px; height: 20px; flex: none; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 16px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.stack { display: grid; gap: 10px; }
.center { text-align: center; }
.illus { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 18px; background: var(--soft); color: var(--blue); }
.illus svg { width: 32px; height: 32px; }
.illus.ok { background: #e8f6ee; color: var(--ok); }
.hint { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 600; font-size: 14px; margin-top: 4px; }
.hint::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(48,94,235,.45); } 70% { box-shadow: 0 0 0 10px rgba(48,94,235,0); } 100% { box-shadow: 0 0 0 0 rgba(48,94,235,0); } }
.benefits { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; text-align: left; }
.benefits li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; background: #f8fafc; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; font-size: 13px; color: var(--muted); }
.benefits li b { display: block; color: var(--ink); font-size: 14px; }
.benefits .ic { width: 36px; height: 36px; border-radius: 10px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--blue); }
.benefits .ic svg { width: 18px; height: 18px; }
.device { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.account { width: 100%; display: grid; grid-template-columns: 44px 1fr 16px; gap: 14px; align-items: center; text-align: left; font: inherit; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; cursor: pointer; box-shadow: 0 1px 2px rgba(29,36,51,.05); }
.account:hover { border-color: var(--blue); background: #fbfcff; }
.account .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--soft); color: var(--blue); display: grid; place-items: center; }
.account .ic svg { width: 24px; height: 24px; }
.account b { display: block; font-size: 16px; color: var(--ink); }
.account span { font-size: 14px; color: var(--muted); }
.account .chev { width: 9px; height: 9px; border-right: 2px solid var(--ink); border-top: 2px solid var(--ink); transform: rotate(45deg); }
.account[aria-busy="true"] { opacity: .7; pointer-events: none; }
.error { background: #fdecec; color: #9b1c1c; border-radius: 12px; padding: 10px 12px; font-size: 14px; margin-bottom: 14px; }
.loading { display: grid; place-items: center; min-height: 180px; }
.spin { width: 28px; height: 28px; border: 3px solid var(--soft); border-top-color: var(--blue); border-radius: 50%; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hint::before, .spin { animation: none; } }
