:root {
  --bg: #f8f9fa;
  --ink: #202124;
  --muted: #5f6368;
  --card: #ffffff;
  --line: #dadce0;
  --blue: #0b57d0;
  --font-display: "Manrope", sans-serif;
  --font-body: "Source Sans 3", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 50% -10%, rgba(11, 87, 208, 0.12), transparent 55%),
    var(--bg);
}

.gate {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.gate-inner {
  width: min(420px, 100%);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 2rem 1.5rem 1.75rem;
  text-align: center;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.12), 0 4px 16px rgba(60, 64, 67, 0.08);
}

.mark {
  width: 2.4rem;
  height: 2.4rem;
  margin: 0 auto 1rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, #0b57d0, #174ea6);
}

.google-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
  margin: 0 auto;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.google-circle:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 24px rgba(60, 64, 67, 0.18);
}

.google-circle:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.google-circle svg {
  width: 42%;
  height: 42%;
}

.gate h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 1.9rem);
  letter-spacing: -0.03em;
  margin: 1.1rem 0 0.45rem;
}

.gate p {
  color: var(--muted);
  margin: 0 0 0.5rem;
  line-height: 1.45;
  font-size: 0.95rem;
}

.err {
  color: #c5221f;
  min-height: 1.4rem;
  font-size: 0.9rem;
  margin-top: 0.85rem;
}
