:root {
  color-scheme: dark;
  --bg: #0a0a0b;
  --surface: rgba(20, 20, 22, 0.92);
  --raised: #1c1c1f;
  --text: #ffffff;
  --muted: #96969d;
  --faint: #67676d;
  --accent: #8f9ff5;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.17);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  background:
    radial-gradient(circle at 50% -12%, rgba(143, 159, 245, 0.18), transparent 34rem),
    radial-gradient(circle at 20% 110%, rgba(176, 255, 226, 0.06), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

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

.card {
  position: relative;
  width: min(100%, 460px);
  padding: 34px;
  overflow: hidden;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 38%),
    var(--surface);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 42px;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.015em;
  user-select: none;
}

.brand__mark {
  width: 25px;
  height: 25px;
  margin-left: -2px;
}

.status-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 22px;
  border: 1px solid rgba(143, 159, 245, 0.32);
  border-radius: 18px;
  color: var(--accent);
  background: rgba(143, 159, 245, 0.11);
  box-shadow: 0 0 28px rgba(143, 159, 245, 0.12);
}

.status-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.status-icon--error {
  color: #ffb4ad;
  border-color: rgba(255, 180, 173, 0.3);
  background: rgba(255, 180, 173, 0.09);
  box-shadow: 0 0 28px rgba(255, 180, 173, 0.08);
}

.eyebrow {
  margin: 0 0 9px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(28px, 7vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.lede {
  max-width: 360px;
  margin: 16px auto 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 12px;
  color: #0a0a0b;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24);
  font-size: 15px;
  font-weight: 680;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: #f3f3f5;
  box-shadow: 0 11px 28px rgba(0, 0, 0, 0.3);
}

.button:active {
  transform: translateY(0);
}

.button:focus-visible {
  outline: 3px solid rgba(143, 159, 245, 0.45);
  outline-offset: 3px;
}

.button[hidden] {
  display: none;
}

.help,
.footnote {
  color: var(--faint);
  font-size: 12px;
  line-height: 1.5;
}

.help {
  margin: 14px 0 0;
}

.footnote {
  margin: 22px auto 0;
}

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

  .card {
    padding: 28px 22px;
    border-radius: 20px;
  }

  .brand {
    margin-bottom: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
