:root {
  color-scheme: dark;
  --ink: #f5f8f5;
  --muted: #a8b1aa;
  --bg: #050806;
  --surface: #0a100c;
  --surface-2: #101a13;
  --line: #263329;
  --green: #0df170;
  --orange: #f97316;
  --red: #ff8b8b;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% -10%, rgba(13, 241, 112, 0.13), transparent 34rem),
    radial-gradient(circle at 5% 70%, rgba(249, 115, 22, 0.08), transparent 28rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

.shell {
  display: grid;
  width: min(760px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(28px, 8vh, 88px) 0 28px;
  grid-template-rows: 1fr auto;
  gap: 28px;
}

.access-card {
  align-self: center;
  padding: clamp(26px, 7vw, 58px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 105% -5%, rgba(13, 241, 112, 0.12), transparent 20rem),
    linear-gradient(150deg, rgba(255, 255, 255, 0.025), transparent 38%),
    var(--surface);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.38);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.brand .mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(13, 241, 112, 0.55);
  border-radius: 12px;
  color: var(--green);
  background: rgba(13, 241, 112, 0.07);
  font-size: 0.78rem;
  font-weight: 900;
}

.brand span:last-child {
  display: grid;
  line-height: 1.15;
}

.brand strong {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand small {
  margin-top: 6px;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 38px;
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--green);
  box-shadow: 0 0 18px rgba(13, 241, 112, 0.55);
}

h1 {
  max-width: 620px;
  margin: 17px 0;
  font-size: clamp(2.6rem, 8vw, 5.2rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.lead {
  max-width: 610px;
  margin: 0;
  color: #c9d1cb;
  font-size: clamp(1rem, 2.2vw, 1.16rem);
}

.status {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 13px;
  margin-top: 30px;
  padding: 16px 18px;
  border: 1px solid rgba(124, 168, 255, 0.36);
  border-radius: 13px;
  color: #dbe6ff;
  background: rgba(124, 168, 255, 0.065);
  font-weight: 750;
}

.status.denied {
  border-color: rgba(255, 139, 139, 0.42);
  color: #ffd1d1;
  background: rgba(255, 139, 139, 0.07);
}

.status.success {
  border-color: rgba(13, 241, 112, 0.42);
  color: #bfffdc;
  background: rgba(13, 241, 112, 0.07);
}

.spinner {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

.status.denied .spinner,
.status.success .spinner {
  display: none;
}

.privacy {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface-2);
}

.privacy strong {
  color: var(--orange);
  font-size: 0.76rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.privacy p,
.help {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.help {
  margin-top: 22px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #737e76;
  font-size: 0.74rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 20px, 520px);
    padding-top: 10px;
  }

  .access-card {
    border-radius: 19px;
  }

  .brand {
    padding-bottom: 24px;
  }

  h1 {
    font-size: clamp(2.5rem, 14vw, 4rem);
  }

  footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  .spinner {
    animation-duration: 1.8s;
  }
}
