:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #08101f;
  color: #eef4ff;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; }
button { font: inherit; }

.shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 15% 15%, rgba(42, 116, 255, 0.24), transparent 34%),
    radial-gradient(circle at 85% 85%, rgba(32, 210, 167, 0.14), transparent 30%),
    #08101f;
}

.card {
  width: min(100%, 560px);
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid rgba(160, 187, 235, 0.2);
  border-radius: 24px;
  background: rgba(14, 25, 46, 0.92);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.eyebrow { margin: 0 0 12px; color: #78e0c1; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.13em; }
h1 { margin: 0; font-size: clamp(2rem, 6vw, 3.1rem); line-height: 1.02; }
.intro, .privacy { color: #aebbd1; line-height: 1.6; }
.privacy { margin: 22px 0 0; font-size: 0.83rem; }

.status {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 28px 0 18px;
  padding: 13px 15px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
}
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #f5bf57; box-shadow: 0 0 14px currentColor; }

.context { margin: 0 0 20px; display: grid; gap: 10px; }
.context div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid rgba(160, 187, 235, 0.13); }
dt { color: #9facc2; }
dd { margin: 0; font-weight: 750; text-align: right; }

.actions { display: grid; gap: 12px; }
button { min-height: 50px; border: 0; border-radius: 12px; padding: 0 20px; cursor: pointer; font-weight: 800; }
#login-button { background: #f4f7fc; color: #111827; }
#connect-button { background: #2a74ff; color: white; }
button:disabled { cursor: not-allowed; opacity: 0.42; }
button:focus-visible { outline: 3px solid #78e0c1; outline-offset: 3px; }

.error { padding: 12px 14px; border-radius: 10px; color: #ffd5d5; background: rgba(193, 52, 52, 0.22); }

@media (max-width: 500px) {
  .shell { padding: 12px; }
  .card { border-radius: 18px; }
  .context div { display: block; }
  dd { margin-top: 4px; text-align: left; }
}
