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

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 50% -20%, rgba(58, 205, 176, 0.12), transparent 42%),
    #07111f;
}

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

.card {
  width: min(680px, 100%);
  min-height: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 48px;
  text-align: center;
  background: rgba(11, 26, 45, 0.92);
  border: 1px solid #2b3e58;
  border-radius: 32px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.eyebrow {
  margin: 0 0 26px;
  color: #70eed2;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(56px, 10vw, 108px);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.login-card h1,
.denied-card h1 {
  font-size: clamp(48px, 8vw, 76px);
}

.intro {
  max-width: 480px;
  margin: 36px 0;
  color: #b6c3d5;
  font-size: clamp(17px, 2.5vw, 20px);
  line-height: 1.55;
}

button, a { font: inherit; }

.google-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  color: #152033;
  font-weight: 700;
  background: #fff;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 150ms ease, opacity 150ms ease;
}

.google-button:hover { transform: translateY(-1px); }
.google-button:disabled { cursor: wait; opacity: 0.65; }
.google-mark { color: #4285f4; font-size: 20px; font-weight: 900; }

.status { min-height: 24px; margin: 20px 0 0; color: #b6c3d5; }
.status.error { color: #ffb4b4; }

.success {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  color: #d8fff5;
  background: rgba(112, 238, 210, 0.08);
  border: 1px solid rgba(112, 238, 210, 0.32);
  border-radius: 999px;
}

.success span {
  width: 9px;
  height: 9px;
  background: #70eed2;
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(112, 238, 210, 0.8);
}

form { margin-top: 28px; }

.text-button {
  display: inline-block;
  padding: 10px 14px;
  color: #b6c3d5;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 560px) {
  .card { min-height: 480px; padding: 48px 24px; border-radius: 24px; }
}
