:root { color-scheme: dark; --bg: #08090C; --text: #F3F4F6; --muted: #9AA3B2; --accent: #4DB6FF; }
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { background: radial-gradient(1200px 600px at 50% -10%, rgba(77,182,255,0.14), transparent 60%), var(--bg); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
.lg { min-height: 100%; display: flex; align-items: center; justify-content: center; padding: 24px; }
.lg-card { width: 100%; max-width: 420px; text-align: center; padding: 32px 24px; border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025)); border: 1px solid rgba(255,255,255,0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 24px 60px rgba(0,0,0,0.5);
  -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%); }
h1 { font-size: 1.35rem; margin: 18px 0 8px; font-weight: 650; }
p { margin: 0; color: var(--muted); line-height: 1.5; font-size: 0.98rem; word-break: break-word; }
.lg-spin { width: 40px; height: 40px; margin: 0 auto; border-radius: 50%; border: 3px solid rgba(255,255,255,0.14); border-top-color: var(--accent); animation: lg-rot 0.9s linear infinite; }
.lg-spin[hidden], .lg-actions[hidden] { display: none; }
.lg-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.lg-btn { appearance: none; border: 0; cursor: pointer; text-decoration: none; font: inherit; font-weight: 600; color: #04121F; background: var(--accent);
  padding: 13px 20px; min-height: 46px; border-radius: 999px; touch-action: manipulation; }
.lg-ghost { color: var(--text); background: rgba(255,255,255,0.10); }
.legal { padding: 24px 16px; }
.legal-card { width: min(680px, 100%); max-width: 680px; text-align: left; }
.legal-card h1 { margin-bottom: 8px; }
.legal-card h2 { margin: 24px 0 8px; font-size: 1rem; }
.legal-card p { line-height: 1.6; }
.legal-card a:not(.lg-btn) { color: #5ac8fa; text-underline-offset: 2px; }
.legal-eyebrow { margin: 0 0 8px; color: #5ac8fa; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; }
@keyframes lg-rot { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .lg-spin { animation-duration: 3s; } }

:root { --accent:#63e0cb; --bg:#07090e; }
body { background:radial-gradient(ellipse at 50% 0%,rgba(49,164,157,.18),transparent 36rem),#07090e; }
.lg-card { border-color:rgba(99,224,203,.18); background:linear-gradient(145deg,rgba(19,32,44,.96),rgba(10,15,24,.97)); box-shadow:0 28px 90px rgba(0,0,0,.48); }
.lg-brand { display:flex; align-items:center; justify-content:center; gap:11px; margin:0 auto 25px; color:#f4f7fb; text-decoration:none; }
.lg-brand > span { width:38px; height:38px; display:grid; place-items:center; border-radius:12px; color:#071513; background:linear-gradient(145deg,#8aead7,#35c9b4); font-weight:950; letter-spacing:-2px; }
.lg-brand strong { display:grid; gap:3px; font-size:11px; letter-spacing:.16em; text-align:left; }
.lg-brand small { color:#718097; font-size:9px; letter-spacing:.2em; }
.lg-btn { background:linear-gradient(120deg,#83ead5,#42c7b8); color:#061513; }
.lg-ghost { color:#f4f7fb; background:rgba(255,255,255,.08); border:1px solid rgba(174,196,226,.16); }
.legal-card h2 { color:#eaf2f7; }
.legal-card code { color:#8de7d6; background:rgba(99,224,203,.08); padding:2px 5px; border-radius:5px; overflow-wrap:anywhere; }
.legal-card a:not(.lg-btn) { color:#63e0cb; }
@media (max-width:480px) { .lg { padding:14px; } .lg-card { padding:26px 18px; border-radius:22px; } }
