:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --ink: #14213d;
  --muted: #68738a;
  --line: rgba(20, 33, 61, 0.1);
  --card: rgba(255, 255, 255, 0.92);
  --shadow: 0 24px 70px rgba(25, 45, 90, 0.14);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--page-bg, #f5f7fb);
  -webkit-font-smoothing: antialiased;
}

button,
select {
  font: inherit;
}

html[dir="rtl"] .check-card,
html[dir="rtl"] .steps,
html[dir="rtl"] .preview {
  text-align: right;
}

html[dir="rtl"] .shield {
  margin-right: auto;
  margin-left: 0;
}

button {
  -webkit-tap-highlight-color: transparent;
}

.page {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: 20px;
  overflow: hidden;
  isolation: isolate;
}

.page::before,
.page::after {
  position: absolute;
  z-index: -1;
  width: 320px;
  height: 320px;
  content: "";
  border-radius: 50%;
  filter: blur(12px);
  opacity: 0.6;
}

.page::before {
  top: -160px;
  right: -120px;
  background: var(--glow-one, #c8d8ff);
}

.page::after {
  bottom: -190px;
  left: -140px;
  background: var(--glow-two, #d7fff2);
}

.shell {
  width: min(100%, 430px);
  margin: auto;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  color: #fff;
  background: var(--accent, #5b6cff);
  border-radius: 8px;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--accent, #5b6cff) 30%, transparent);
}

.card {
  padding: 30px 24px 24px;
  text-align: center;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  padding: 0 11px;
  margin-bottom: 14px;
  color: var(--accent-dark, #4553d8);
  font-size: 12px;
  font-weight: 800;
  background: color-mix(in srgb, var(--accent, #5b6cff) 11%, white);
  border-radius: 999px;
}

h1 {
  margin: 0;
  font-size: clamp(30px, 9vw, 42px);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.lead {
  max-width: 320px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.stage {
  margin: 26px 0 22px;
}

.primary {
  position: relative;
  width: 100%;
  min-height: 58px;
  padding: 0 20px;
  overflow: hidden;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent, #5b6cff), var(--accent-dark, #4553d8));
  border: 0;
  border-radius: 17px;
  box-shadow: 0 14px 30px color-mix(in srgb, var(--accent, #5b6cff) 28%, transparent);
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease;
}

.primary::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.28), transparent 75%);
  transform: translateX(-110%);
  animation: sheen 2.8s infinite 1s;
}

.primary:active {
  transform: scale(0.98);
}

.primary:disabled {
  cursor: wait;
  filter: saturate(0.7);
}

.microcopy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 14px;
  color: #8a94a8;
  font-size: 12px;
}

.dot {
  width: 7px;
  height: 7px;
  background: #22b573;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(34, 181, 115, 0.12);
}

.hidden {
  display: none !important;
}

.fade-up {
  animation: fade-up 420ms ease both;
}

@keyframes sheen {
  45%,
  100% {
    transform: translateX(110%);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 700px) {
  .page {
    padding: 40px;
  }

  .card {
    padding: 38px 34px 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
