/* ===== Tokens ===== */
:root {
  --bg-top: #eef4fb;
  --bg-bottom: #e2ecf7;
  --surface: #ffffff;
  --text: #1a2b42;
  --text-muted: #64748b;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-soft: #eff6ff;
  --green: #16a34a;
  --border: rgba(37, 99, 235, 0.12);
  --shadow: 0 8px 32px rgba(26, 43, 66, 0.1);
  --radius: 22px;
  --max: 420px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top: env(safe-area-inset-top, 0px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100svh;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100svh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding:
    calc(80px + var(--safe-top))
    20px
    max(24px, calc(20px + var(--safe-bottom)));
}

.shell {
  width: 100%;
  max-width: var(--max);
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 22px 22px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  animation: fade-up 420ms ease forwards;
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .status__dot {
    animation: none;
  }
}

/* Online status */
.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px 6px 10px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: #f0fdf4;
  border: 1px solid rgba(22, 163, 74, 0.15);
}

.status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.status__text {
  font-size: 13px;
  font-weight: 700;
  color: #15803d;
  letter-spacing: -0.01em;
}

/* Typography */
.title {
  font-size: clamp(24px, 6.5vw, 30px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 6px;
}

.lead {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* Features */
.features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
  text-align: left;
}

.feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f8fafc 0%, var(--blue-soft) 100%);
  border: 1px solid var(--border);
}

.feature__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #fff;
  color: var(--blue);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}

.feature__icon svg {
  width: 20px;
  height: 20px;
}

.feature__text {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.35;
}

.feature__text strong {
  font-weight: 800;
  color: var(--blue);
}

/* Buttons */
.cta-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  padding: 14px 20px;
  border-radius: 14px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.cta__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.cta:active {
  transform: scale(0.98);
}

.cta:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.cta--primary {
  background: linear-gradient(180deg, #3b82f6 0%, var(--blue) 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
}

.cta--primary:hover {
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue-dark) 100%);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.42);
}

.cta--secondary {
  background: var(--blue-soft);
  color: var(--blue);
  border: 1px solid var(--border);
}

.cta--secondary:hover {
  background: #dbeafe;
}

@media (min-width: 768px) {
  .card {
    padding: 28px 26px 26px;
  }

  .title {
    font-size: 32px;
  }

  .feature__text {
    font-size: 14px;
  }
}
