/* ===== Tokens ===== */
:root {
  --bg-top: #eef5fb;
  --bg-bottom: #d4e6f5;
  --surface: #ffffff;
  --text: #0f2744;
  --text-muted: #5a7390;
  --blue: #1f6fbf;
  --blue-deep: #134a86;
  --blue-soft: #e3eef8;
  --blue-glow: rgba(31, 111, 191, 0.18);
  --gold: #c9a227;
  --gold-soft: rgba(201, 162, 39, 0.22);
  --shadow: 0 20px 60px rgba(19, 74, 134, 0.14);
  --shadow-soft: 0 8px 24px rgba(19, 74, 134, 0.08);
  --radius-card: 28px;
  --max: 430px;
  --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(165deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
  line-height: 1.45;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background orbs */
.bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
}

.bg__orb--1 {
  width: 320px;
  height: 320px;
  top: -80px;
  right: -60px;
  background: radial-gradient(circle, #b8d9f5 0%, transparent 70%);
}

.bg__orb--2 {
  width: 260px;
  height: 260px;
  bottom: 10%;
  left: -80px;
  background: radial-gradient(circle, #d4e8f8 0%, transparent 70%);
}

.bg__orb--3 {
  width: 180px;
  height: 180px;
  top: 40%;
  right: 10%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.15) 0%, transparent 70%);
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding:
    calc(100px + var(--safe-top))
    20px
    max(24px, calc(20px + var(--safe-bottom)));
}

.shell {
  width: 100%;
  max-width: var(--max);
}

.card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 32px 24px 28px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.85);
  overflow: hidden;
}

.card__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue) 0%, #5aa8f0 50%, var(--gold) 100%);
}

/* Entrance */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise-in 600ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes rise-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .cta--primary {
    animation: none !important;
  }

  .badge__dot {
    animation: none !important;
  }
}

/* Hero block */
.hero {
  margin-bottom: 6px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue-soft) 0%, #f0f7fd 100%);
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
  border: 1px solid rgba(31, 111, 191, 0.12);
}

.badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.icon-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
}

.icon-wrap__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-soft) 0%, #fff 100%);
  border: 1.5px solid rgba(31, 111, 191, 0.1);
  box-shadow: var(--shadow-soft);
}

.hero-icon {
  position: relative;
  width: 36px;
  height: 36px;
}

/* Typography */
.title {
  font-size: clamp(28px, 7.5vw, 36px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--blue-deep);
  margin-bottom: 12px;
}

.title__accent {
  background: linear-gradient(135deg, var(--blue) 0%, #2d8ae8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  max-width: 280px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Divider */
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 26px 0 22px;
}

.divider__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(19, 74, 134, 0.12), transparent);
}

.divider__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ab0c4;
}

/* CTA stack */
.cta-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.cta {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  text-decoration: none;
  text-align: left;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  overflow: hidden;
}

.cta__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  flex-shrink: 0;
}

.cta__icon {
  width: 22px;
  height: 22px;
}

.cta__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.cta__text {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.cta__sub {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.75;
  line-height: 1.3;
}

.cta__arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  opacity: 0.5;
  transition: transform 180ms ease, opacity 180ms ease;
}

.cta:hover .cta__arrow {
  transform: translateX(3px);
  opacity: 0.85;
}

.cta:active {
  transform: scale(0.985);
}

.cta:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* Primary */
.cta--primary {
  min-height: 72px;
  background: linear-gradient(135deg, #2b84dc 0%, var(--blue-deep) 100%);
  color: #fff;
  box-shadow:
    0 12px 28px rgba(19, 74, 134, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  animation: soft-pulse 3s ease-in-out infinite;
}

.cta--primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: skewX(-20deg);
  animation: shine 4s ease-in-out infinite;
}

.cta--primary .cta__icon-wrap {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta--primary .cta__sub {
  color: rgba(255, 255, 255, 0.8);
}

.cta--primary:hover {
  filter: brightness(1.04);
  box-shadow:
    0 16px 36px rgba(19, 74, 134, 0.36),
    0 0 0 1px rgba(255, 255, 255, 0.14) inset;
}

/* Secondary */
.cta--secondary {
  min-height: 72px;
  background: linear-gradient(135deg, #f8fbff 0%, #eef5fc 100%);
  color: var(--blue-deep);
  border: 1.5px solid rgba(31, 111, 191, 0.2);
  box-shadow: var(--shadow-soft);
}

.cta--secondary .cta__icon-wrap {
  background: var(--blue-soft);
  border: 1px solid rgba(31, 111, 191, 0.12);
}

.cta--secondary .cta__icon {
  color: var(--blue);
}

.cta--secondary .cta__sub {
  color: var(--text-muted);
}

.cta--secondary:hover {
  background: linear-gradient(135deg, #fff 0%, var(--blue-soft) 100%);
  border-color: rgba(31, 111, 191, 0.35);
  box-shadow: 0 10px 28px rgba(19, 74, 134, 0.12);
}

@keyframes soft-pulse {
  0%, 100% {
    box-shadow:
      0 12px 28px rgba(19, 74, 134, 0.3),
      0 0 0 0 rgba(31, 111, 191, 0.25);
  }
  50% {
    box-shadow:
      0 14px 32px rgba(19, 74, 134, 0.34),
      0 0 0 8px rgba(31, 111, 191, 0);
  }
}

@keyframes shine {
  0%, 100% { left: -100%; }
  50% { left: 150%; }
}

@media (min-width: 768px) {
  .card {
    padding: 40px 32px 34px;
  }

  .title {
    font-size: 38px;
  }

  .lead {
    font-size: 16px;
  }

  .cta__text {
    font-size: 17px;
  }
}
