:root {
  --deep: #0a1626;
  --gold: #a88b52;
  --white: #fff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--deep);
  background: radial-gradient(ellipse 120% 80% at 50% -20%, rgba(168, 139, 82, 0.14), transparent 55%), var(--deep);
  display: grid;
  place-items: center;
  padding: 24px;
}

.card {
  width: min(440px, 100%);
  background: var(--white);
  border: 1px solid rgba(168, 139, 82, 0.28);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 24px 48px rgba(10, 22, 38, 0.38);
  text-align: center;
}

.logo { max-height: 64px; margin-bottom: 12px; }

h1 { margin: 0 0 12px; font-size: 1.5rem; letter-spacing: 0.02em; }

.lead { color: #334155; line-height: 1.55; margin: 0 0 24px; }

.hint { font-size: 0.85rem; color: #64748b; line-height: 1.5; margin: 20px 0 0; }

.actions { display: flex; flex-direction: column; gap: 12px; }

button, .secondary {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
}

.primary {
  background: var(--gold);
  color: var(--white);
  border: none;
  font-weight: 500;
}

.secondary {
  background: transparent;
  color: var(--deep);
  border: 1px solid rgba(168, 139, 82, 0.55);
  text-align: center;
  font-weight: 600;
}

.docs-link {
  color: var(--deep);
  background: #f8fafc;
  border-color: #cbd5e1;
}

.docs-link:hover,
.docs-link:focus-visible {
  color: var(--deep);
  border-color: var(--gold);
  background: #fffbeb;
}

.status { color: #b45309; font-size: 0.9rem; }

.session-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 16px;
  text-align: left;
}

.session-label { margin: 0 0 4px; font-size: 0.75rem; color: #15803d; text-transform: uppercase; letter-spacing: 0.04em; }

.secondary-btn {
  background: transparent;
  color: #64748b;
  border: 1px solid #cbd5e1;
  font-weight: 400;
}

.secondary-btn[hidden] { display: none; }

button:disabled { opacity: 0.65; cursor: wait; }

.profile {
  text-align: left;
  background: #f8fafc;
  border-radius: 8px;
  padding: 16px;
  overflow: auto;
  font-size: 0.9rem;
}

.profile-name { font-size: 1.15rem; font-weight: 600; margin: 0 0 4px; }

.profile-email { color: #64748b; margin: 0 0 12px; }

.profile-hint { color: #334155; line-height: 1.5; margin: 0; font-size: 0.85rem; }
