/* ===== Tokens ===== */
:root {
  --bg: #000000;
  --surface: #111111;
  --surface-2: #1a1a1a;
  --text: #f5f5f5;
  --text-muted: #888888;
  --accent: #8b5cf6;
  --accent-soft: rgba(139, 92, 246, 0.12);
  --accent-glow: rgba(139, 92, 246, 0.25);
  --border: rgba(255, 255, 255, 0.08);
  --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:
    radial-gradient(ellipse 70% 45% at 50% -5%, rgba(139, 92, 246, 0.12) 0%, transparent 55%),
    var(--bg);
  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);
  padding: 24px 20px 20px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
}

.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;
  }

  .meta__item--open::before {
    animation: none;
  }
}

/* Meta */
.meta {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}

.meta__item {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}

.meta__item--open {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(139, 92, 246, 0.25);
}

.meta__item--open::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.meta__item--age {
  color: var(--text-muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
}

/* Sphere tag */
.sphere {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #a3a3a3;
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.sphere__at {
  color: var(--accent);
  text-shadow: 0 0 12px var(--accent-glow);
}

/* Icon */
.icon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.courier-icon {
  width: 68px;
  height: 68px;
}

/* Title — одна строка */
.title {
  font-size: clamp(22px, 6.2vw, 32px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 8px;
  white-space: nowrap;
}

.lead {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.45;
}

/* 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: var(--surface-2);
  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: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.feature__icon svg {
  width: 20px;
  height: 20px;
}

.feature__text {
  font-size: 13px;
  font-weight: 500;
  color: #b3b3b3;
  line-height: 1.35;
}

.feature__text strong {
  font-weight: 800;
  color: var(--text);
}

/* Buttons */
.cta-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.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(--accent);
  outline-offset: 2px;
}

.cta--primary {
  background: linear-gradient(180deg, #a78bfa 0%, var(--accent) 100%);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.cta--primary:hover {
  box-shadow: 0 6px 28px rgba(139, 92, 246, 0.4);
}

.cta--secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(139, 92, 246, 0.35);
}

.cta--secondary .cta__icon {
  color: var(--accent);
}

.cta--secondary:hover {
  background: var(--accent-soft);
  border-color: rgba(139, 92, 246, 0.55);
}

.age-note {
  font-size: 11px;
  font-weight: 500;
  color: #555;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .card {
    padding: 28px 24px 24px;
  }

  .title {
    font-size: 34px;
  }

  .feature__text {
    font-size: 14px;
  }
}

@media (max-width: 340px) {
  .title {
    font-size: 20px;
    letter-spacing: -0.03em;
  }
}
