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

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(0, 100, 210, 0.24), transparent 34rem),
    radial-gradient(circle at 90% 90%, rgba(30, 64, 175, 0.2), transparent 30rem),
    #08111f;
}

.shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 28px;
}

.card {
  width: min(100%, 560px);
  padding: 38px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.86);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
  text-align: center;
}

.logo {
  width: min(240px, 70%);
  height: auto;
  margin-bottom: 28px;
}

.eyebrow {
  margin-bottom: 12px;
  color: #60a5fa;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(28px, 6vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.description {
  margin: 20px auto 0;
  max-width: 46ch;
  color: #cbd5e1;
  font-size: 16px;
  line-height: 1.6;
}

.privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 24px 0;
  padding: 14px 16px;
  border: 1px solid rgba(96, 165, 250, 0.22);
  border-radius: 12px;
  background: rgba(0, 100, 210, 0.1);
  color: #dbeafe;
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
}

.privacy-icon {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  place-items: center;
  border-radius: 50%;
  background: #2563eb;
  color: white;
  font-size: 12px;
  font-weight: 900;
}

.picker-loader { width: 28px; height: 28px; margin: 27px auto 0; border: 3px solid rgba(147,197,253,.25); border-top-color: #60a5fa; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.retry-button { min-height: 42px; margin-top: 22px; padding: 0 18px; border: 1px solid #3b82f6; border-radius: 9px; background: transparent; color: #bfdbfe; cursor: pointer; font: inherit; font-size: 13px; font-weight: 700; }
.retry-button:hover { background: rgba(59,130,246,.12); }

.status {
  min-height: 22px;
  margin: 16px 0 0;
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.45;
}

.status.success {
  color: #6ee7b7;
}

.status.error {
  color: #fda4af;
}

.text-button {
  margin-top: 8px;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: #93c5fd;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 520px) {
  .shell {
    padding: 16px;
  }

  .card {
    padding: 28px 20px;
  }
}
