/* =====================================================
   VERRTE — Living AI Presence — styles.css
   Mobile-first, dark AI space aesthetic
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ─── DESIGN TOKENS ─────────────────────────────── */
:root {
  --bg: #04040F;
  --deep: #080821;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --glow-blue: #4F8EF7;
  --glow-violet: #A259FF;
  --glow-cyan: #38D9F5;
  --accent: linear-gradient(135deg, #4F8EF7, #A259FF);
  --text: #E8ECF4;
  --text-muted: #8892A4;
  --text-dim: #4A5568;
  --success: #22C55E;
  --ring-size: min(72vw, 340px);
  --ring-md: min(60vw, 300px);
  --transition: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── RESET ─────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── CANVAS ─────────────────────────────────────── */
#particles-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ─── BACKGROUND LAYERS ──────────────────────────── */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.bg-nebula {
  background: url('bg.png') center/cover no-repeat;
  opacity: 0.22;
  animation: fog-drift 38s ease-in-out infinite;
}

.bg-gradient {
  background:
    radial-gradient(ellipse 90% 60% at 50% 40%, rgba(79, 142, 247, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 20% 70%, rgba(162, 89, 255, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(56, 217, 245, 0.04) 0%, transparent 60%);
  animation: flow 28s ease-in-out infinite;
}

.bg-fog {
  background: radial-gradient(ellipse 80% 60% at 50% 60%, rgba(4, 4, 15, 0.7) 0%, transparent 100%);
}

/* ─── ANIMATIONS ─────────────────────────────────── */
@keyframes flow {
  0% {
    transform: translateX(-5%) scale(1.05);
  }

  50% {
    transform: translateX(5%) scale(1);
  }

  100% {
    transform: translateX(-5%) scale(1.05);
  }
}

@keyframes fog-drift {
  0% {
    transform: translateY(-3%) scale(1.05);
    opacity: 0.22;
  }

  50% {
    transform: translateY(3%) scale(1);
    opacity: 0.18;
  }

  100% {
    transform: translateY(-3%) scale(1.05);
    opacity: 0.22;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 30px rgba(79, 142, 247, 0.3), 0 0 60px rgba(162, 89, 255, 0.15), inset 0 0 20px rgba(79, 142, 247, 0.1);
  }

  50% {
    transform: scale(1.03);
    box-shadow: 0 0 50px rgba(79, 142, 247, 0.5), 0 0 100px rgba(162, 89, 255, 0.25), inset 0 0 30px rgba(79, 142, 247, 0.15);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 30px rgba(79, 142, 247, 0.3), 0 0 60px rgba(162, 89, 255, 0.15), inset 0 0 20px rgba(79, 142, 247, 0.1);
  }
}

@keyframes ring-rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes scan-line {
  0% {
    top: 8%;
    opacity: 0;
  }

  5% {
    opacity: 1;
  }

  95% {
    opacity: 1;
  }

  100% {
    top: 92%;
    opacity: 0;
  }
}

@keyframes snap-focus {
  0% {
    transform: scale(1);
    filter: brightness(1);
  }

  30% {
    transform: scale(1.06);
    filter: brightness(1.4);
    box-shadow: 0 0 80px rgba(79, 142, 247, 0.8), 0 0 150px rgba(56, 217, 245, 0.4);
  }

  60% {
    transform: scale(0.99);
    filter: brightness(1.1);
  }

  100% {
    transform: scale(1.02);
    filter: brightness(1);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in-slow {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes speaker-pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }

  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes bar-wave {

  0%,
  100% {
    height: 4px;
  }

  50% {
    height: 18px;
  }
}

@keyframes success-bg {
  0% {
    background: radial-gradient(ellipse 90% 60% at 50% 40%, rgba(34, 197, 94, 0.0) 0%, transparent 70%);
  }

  50% {
    background: radial-gradient(ellipse 90% 60% at 50% 40%, rgba(34, 197, 94, 0.12) 0%, transparent 70%);
  }

  100% {
    background: radial-gradient(ellipse 90% 60% at 50% 40%, rgba(34, 197, 94, 0.06) 0%, transparent 70%);
  }
}

@keyframes dot-orbit {
  from {
    transform: rotate(0deg) translateX(calc(var(--ring-size) / 2 + 2px)) rotate(0deg);
  }

  to {
    transform: rotate(360deg) translateX(calc(var(--ring-size) / 2 + 2px)) rotate(-360deg);
  }
}

/* ─── LAYOUT ─────────────────────────────────────── */
#app {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

/* ─── LOGO ───────────────────────────────────────── */
.logo {
  position: fixed;
  top: 24px;
  left: 24px;
  z-index: 100;
  text-decoration: none;
  animation: fade-in-slow 1.2s ease both;
  display: block;
}

.logo-img {
  height: 52px;
  width: auto;
  /* Trick to make white background transparent on dark theme:
     Invert (white->black, blue->orange) + Shift Hue (orange->blue) + Screen blend */
  filter: invert(1) hue-rotate(180deg) brightness(1.2);
  mix-blend-mode: screen;
  transition: transform 0.3s ease;
}

.logo:hover .logo-img {
  transform: scale(1.05);
}

.logo-sub {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: -2px;
  display: block;
  -webkit-text-fill-color: var(--text-muted);
}

/* ─── SPEAKER HINT ───────────────────────────────── */
#speaker-hint {
  position: fixed;
  top: 18px;
  right: 20px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(79, 142, 247, 0.12);
  border: 1px solid rgba(79, 142, 247, 0.25);
  border-radius: 40px;
  padding: 8px 16px;
  font-size: 12px;
  color: var(--glow-blue);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: speaker-pulse 2s ease-in-out infinite;
  cursor: pointer;
  transition: opacity 0.6s ease;
}

#speaker-hint.hidden {
  opacity: 0;
  pointer-events: none;
}

.speaker-icon {
  font-size: 16px;
  line-height: 1;
}

.audio-bars {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 18px;
}

.audio-bar {
  width: 3px;
  background: var(--glow-blue);
  border-radius: 2px;
  height: 4px;
  transition: height 0.1s;
}

.audio-bar.playing:nth-child(1) {
  animation: bar-wave 0.7s ease infinite;
}

.audio-bar.playing:nth-child(2) {
  animation: bar-wave 0.9s ease infinite 0.15s;
}

.audio-bar.playing:nth-child(3) {
  animation: bar-wave 0.6s ease infinite 0.3s;
}

.audio-bar.playing:nth-child(4) {
  animation: bar-wave 1.0s ease infinite 0.1s;
}

.audio-bar.playing:nth-child(5) {
  animation: bar-wave 0.8s ease infinite 0.2s;
}

/* ─── STEPS ──────────────────────────────────────── */
.step {
  display: none;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 480px;
  padding: 80px 0 40px;
  animation: fade-in 0.8s var(--transition) both;
}

.step.active {
  display: flex;
}

/* ─── FACE RING ──────────────────────────────────── */
.face-ring-wrap {
  position: relative;
  width: var(--ring-size);
  height: var(--ring-size);
  margin: 0 auto 32px;
  flex-shrink: 0;
}

.face-ring {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--deep);
  animation: pulse 6s ease-in-out infinite;
  box-shadow:
    0 0 30px rgba(79, 142, 247, 0.3),
    0 0 60px rgba(162, 89, 255, 0.15),
    inset 0 0 20px rgba(79, 142, 247, 0.1);
  overflow: hidden;
  cursor: default;
}

/* Gradient border via pseudo */
.face-ring::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4F8EF7, #A259FF, #38D9F5, #4F8EF7);
  z-index: -1;
  animation: ring-rotate 8s linear infinite;
}

/* Inner clip */
.face-ring::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--deep);
  z-index: 0;
}

.face-img {
  position: absolute;
  left: 3px;
  top: 3px;
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  z-index: 1;
  transition: opacity 0.6s ease;
}

#camera-video {
  position: absolute;
  left: 3px;
  top: 3px;
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  border-radius: 50%;
  object-fit: cover;
  object-position: center center;
  z-index: 1;
  display: none;
  transform: scaleX(-1);
  /* mirror — front camera */
}

/* Scan line */
.scan-line {
  position: absolute;
  left: 3px;
  right: 3px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--glow-cyan), transparent);
  box-shadow: 0 0 8px var(--glow-cyan), 0 0 20px rgba(56, 217, 245, 0.4);
  z-index: 2;
  top: 8%;
  border-radius: 1px;
  display: none;
  animation: scan-line 2.8s ease-in-out infinite;
}

/* Dot ring decoration */
.dot-ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 3;
}

.dot {
  position: absolute;
  width: 5px;
  height: 5px;
  background: linear-gradient(135deg, var(--glow-blue), var(--glow-cyan));
  border-radius: 50%;
  box-shadow: 0 0 6px var(--glow-blue);
}

.face-ring-wrap.success .face-ring {
  animation: snap-focus 0.6s ease forwards, pulse 6s ease-in-out infinite 0.8s;
}

/* ─── SCAN STATUS ─────────────────────────────────── */
.scan-status {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--glow-cyan);
  text-align: center;
  min-height: 20px;
  transition: opacity 0.3s ease;
}

/* ─── MICROCOPY ──────────────────────────────────── */
.microcopy {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.04em;
  line-height: 1.6;
  max-width: 320px;
  margin: 0 auto 24px;
}

/* ─── PRESENCE PROMPT ────────────────────────────── */
.presence-prompt {
  text-align: center;
  animation: slide-up 0.8s var(--transition) 0.3s both;
}

.presence-prompt h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(22px, 5.5vw, 32px);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #E8ECF4 30%, #4F8EF7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.presence-prompt p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

/* ─── BUTTONS ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  border: none;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  letter-spacing: 0.02em;
  width: 100%;
  max-width: 320px;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: linear-gradient(135deg, #4F8EF7, #A259FF);
  color: white;
  box-shadow: 0 4px 24px rgba(79, 142, 247, 0.35), 0 0 0 0 rgba(79, 142, 247, 0);
}

.btn-primary:hover {
  box-shadow: 0 6px 32px rgba(79, 142, 247, 0.5), 0 0 40px rgba(162, 89, 255, 0.2);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  border-color: rgba(79, 142, 247, 0.3);
  color: var(--text);
  background: rgba(79, 142, 247, 0.06);
}

.btn-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  width: 100%;
}

.link-subtle {
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: none;
  cursor: pointer;
  margin-top: 8px;
  display: inline-block;
  transition: color 0.2s;
  text-align: center;
}

.link-subtle:hover {
  color: var(--text-muted);
}

/* ─── MODAL ──────────────────────────────────────── */
.modal-wrap {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(4, 4, 15, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.modal-wrap.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: rgba(10, 10, 30, 0.95);
  border: 1px solid var(--border);
  border-radius: 24px 24px 0 0;
  padding: 32px 24px 40px;
  width: 100%;
  max-width: 480px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 -20px 60px rgba(79, 142, 247, 0.1);
}

.modal-wrap.open .modal {
  transform: translateY(0);
}

.modal-handle {
  width: 40px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: 0 auto 24px;
}

.modal h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #E8ECF4, #4F8EF7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.modal p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Checkboxes */
.check-list {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.check-item input[type=checkbox] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 1.5px solid rgba(79, 142, 247, 0.4);
  border-radius: 6px;
  background: transparent;
  flex-shrink: 0;
  margin-top: 1px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  position: relative;
}

.check-item input[type=checkbox]:checked {
  background: linear-gradient(135deg, #4F8EF7, #A259FF);
  border-color: transparent;
}

.check-item input[type=checkbox]:checked::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
  font-weight: 700;
}

.check-item label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  cursor: pointer;
}

/* ─── FORM ───────────────────────────────────────── */
.form-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin-bottom: 24px;
  animation: slide-up 0.6s var(--transition) both;
}

.form-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 6px;
  display: block;
}

.form-input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}

.form-input::placeholder {
  color: var(--text-dim);
}

.form-input:focus {
  border-color: rgba(79, 142, 247, 0.5);
  box-shadow: 0 0 0 3px rgba(79, 142, 247, 0.1);
}

/* Radio toggle */
.radio-toggle {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 4px;
  gap: 4px;
}

.radio-toggle input {
  display: none;
}

.radio-toggle label {
  flex: 1;
  padding: 10px 12px;
  text-align: center;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.radio-toggle input:checked+label {
  background: linear-gradient(135deg, #4F8EF7, #A259FF);
  color: white;
}

/* ─── INTENT CARDS ───────────────────────────────── */
.intent-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  width: 100%;
  margin-bottom: 24px;
}

@media (min-width: 480px) {
  .intent-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.intent-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 22px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  overflow: hidden;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}

.intent-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(79, 142, 247, 0.06), rgba(162, 89, 255, 0.04));
  opacity: 0;
  transition: opacity 0.22s ease;
}

.intent-card:hover::before,
.intent-card:active::before {
  opacity: 1;
}

.intent-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(79, 142, 247, 0.15);
  border-color: rgba(79, 142, 247, 0.3);
}

.intent-card:active {
  transform: translateY(-2px);
}

.intent-icon {
  font-size: 28px;
  margin-bottom: 14px;
  display: block;
}

.intent-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.intent-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
}

.intent-cta {
  font-size: 13px;
  font-weight: 500;
  color: var(--glow-blue);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ─── STEP 0 (Living Screen) ─────────────────────── */
#step-0 {
  padding-top: 60px;
  gap: 0;
}

.step-0-text {
  text-align: center;
  animation: fade-in 1.2s var(--transition) 1.5s both;
}

.step-0-text .microcopy {
  margin-bottom: 8px;
}

/* ─── STEP 3 (Live Scan) ─────────────────────────── */
#step-3 h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(18px, 4.5vw, 26px);
  font-weight: 600;
  text-align: center;
  margin-bottom: 28px;
  color: var(--text);
}

/* ─── STEP 4 (Form) ──────────────────────────────── */
#step-4 h2,
#step-5 h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(18px, 4.5vw, 26px);
  font-weight: 600;
  text-align: center;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #E8ECF4, #4F8EF7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#step-4 .sub,
#step-5 .sub {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 28px;
  line-height: 1.5;
}

/* ─── LOCKED MODE ─────────────────────────────────── */
.locked-content {
  padding: 0 20px 60px;
  position: relative;
  z-index: 1;
}

.locked-section {
  position: relative;
  margin-top: 24px;
}

.locked-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(4, 4, 15, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  border: 1px solid var(--border);
  gap: 12px;
  z-index: 10;
  padding: 24px;
  text-align: center;
}

.lock-icon {
  font-size: 28px;
}

.locked-overlay p {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 220px;
  line-height: 1.5;
}

/* ─── PROGRESS DOTS ──────────────────────────────── */
.progress-dots {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 100;
}

.progress-dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: var(--text-dim);
  transition: width 0.3s ease, background 0.3s ease;
}

.progress-dot.active {
  width: 20px;
  background: linear-gradient(90deg, #4F8EF7, #A259FF);
}

/* ─── SUCCESS STATE ───────────────────────────────── */
.success-bg {
  animation: success-bg 1.5s ease both;
}

/* ─── UTIL ───────────────────────────────────────── */
.hidden {
  display: none !important;
}

.text-center {
  text-align: center;
}

/* ─── LARGE SCREEN ADJUSTMENTS ───────────────────── */
@media (min-width: 768px) {
  :root {
    --ring-size: 300px;
  }

  .btn {
    max-width: 360px;
  }

  .modal-wrap {
    align-items: center;
    padding: 20px;
  }

  .modal {
    border-radius: 24px;
    max-width: 440px;
    transform: translateY(40px) scale(0.96);
  }

  .modal-wrap.open .modal {
    transform: translateY(0) scale(1);
  }

  .modal-handle {
    display: none;
  }
}

@media (min-width: 1024px) {
  :root {
    --ring-size: 340px;
  }

  #step-0 {
    padding-top: 70px;
  }
}