:root {
  --midnight: #040938; --night: #09105b; --deep: #101b7c; --royal: #1639a6;
  --azure: #2981fb; --mint: #5ee9c9; --cream: #fbfaf6; --ink: #040d1e;
  --border: #dadee5; --muted: #4f5661; --destructive: #e62b34; --radius: .5rem;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 16px/1.55 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
.wrap { max-width: 480px; margin: 0 auto; padding: 32px 16px 48px; }
.bar { background: var(--midnight); border-bottom: 1px solid rgba(255,255,255,.12); }
.brand { display: flex; align-items: center; gap: 10px; max-width: 480px; margin: 0 auto; padding: 14px 16px; color: var(--cream); text-decoration: none; }
.brand img { height: 28px; width: auto; display: block; filter: invert(1); }
.brand span { font: 600 1.05rem "Inter", sans-serif; letter-spacing: .01em; }
.brand b { color: var(--mint); font-weight: 600; }
h1, h2 { font-family: "Space Grotesk", "Inter", sans-serif; font-weight: 600; letter-spacing: -0.025em; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  border-top: 3px solid var(--mint); padding: 28px 24px;
}
h1 { font-size: 1.6rem; line-height: 1.2; margin: 0 0 12px; }
h2 { font-size: 1.05rem; margin: 28px 0 8px; }
p { margin: 0 0 14px; }
.muted { color: var(--muted); font-size: .9rem; }
.eyebrow { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--royal); margin: 0 0 8px; }
label { display: block; font-weight: 500; margin: 16px 0 6px; }
input[type=text], input[type=email] {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 12px;
}
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin: 20px 0; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--midnight); }
.btn, button {
  display: inline-flex; justify-content: center; align-items: center; width: 100%;
  font: 600 1rem "Inter", sans-serif; color: var(--cream); background: var(--midnight);
  border: 0; border-radius: var(--radius); padding: 12px 18px; cursor: pointer; text-decoration: none;
}
.btn:hover, button:hover { background: var(--night); }
.btn.sec { background: #fff; color: var(--midnight); border: 1px solid var(--border); width: auto; padding: 6px 12px; font-size: .85rem; }
.btn.sec:hover { background: var(--cream); }
:focus-visible { outline: 3px solid var(--azure); outline-offset: 2px; }
a { color: var(--royal); }
.err { color: var(--destructive); font-size: .9rem; margin: 6px 0 0; }
.alert { border: 1px solid var(--destructive); border-left-width: 4px; border-radius: var(--radius); padding: 12px 14px; margin: 0 0 18px; color: var(--ink); background: #fff; }
.mono, code, pre { font-family: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: .82rem; }
pre, .token { background: var(--midnight); color: var(--cream); border-radius: var(--radius); padding: 14px; margin: 0 0 8px; white-space: pre-wrap; overflow-wrap: anywhere; }
.token { white-space: normal; word-break: break-all; color: var(--mint); }
.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 6px; }
.pulse { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(94,233,201,.6); animation: pulse 1.6s infinite; margin-right: 8px; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(94,233,201,0); } 100% { box-shadow: 0 0 0 0 rgba(94,233,201,0); } }
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }
.foot { margin-top: 20px; text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
