/* ============================================================
   Dary — waitlist landing (DAR-6)
   Токены синхронизированы с DESIGN.md v7 (Geist, blue #3D6FE5,
   light #F7F9FF / dark navy #0B1020). Комментарии — по-русски.
   ============================================================ */

@font-face {
  font-family: 'Geist';
  src: url('../fonts/Geist-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* Цвета — light (DESIGN.md v7) */
  --primary: #3D6FE5;
  --primary-hover: #2F5CC9;
  --blue-700: #5B8CFF;
  --green: #3F9C7E;
  --red: #C75571;
  --text-1: #0F172B;
  --text-2: #62748E;
  --text-3: #94A3B8;
  --bg: #F7F9FF;
  --card: #FFFFFF;
  --card-alt: #EEF3FF;
  --border: #CAD5E2;
  --divider: #E2E8F0;
  --glass-fill: rgba(255, 255, 255, 0.62);
  --glass-stroke: rgba(255, 255, 255, 0.75);
  --shadow-soft: 0 8px 30px rgba(15, 23, 43, 0.07);
  --shadow-card: 0 2px 12px rgba(15, 23, 43, 0.05);
  --shadow-btn: 0 6px 20px rgba(61, 111, 229, 0.35);

  /* Мокап телефона — всегда dark v7, независимо от темы страницы */
  --ph-bg: #0B1020;
  --ph-card: #161E33;
  --ph-card-alt: #1C2640;
  --ph-text-1: #EEF3FF;
  --ph-text-2: #8E9BB8;

  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;

  --font: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Motion — по MOTION.md: enter = easeOutCubic */
  --ease-enter: cubic-bezier(0.215, 0.61, 0.355, 1);
  --dur-fast: 120ms;
  --dur-med: 200ms;
  --dur-slow: 350ms;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text-1: #EEF3FF;
    --text-2: #97A5C4;
    --text-3: #6B7A9C;
    --bg: #0B1020;
    --card: #161E33;
    --card-alt: #1C2640;
    --border: #2A3554;
    --divider: #232E4C;
    --glass-fill: rgba(22, 30, 51, 0.6);
    --glass-stroke: rgba(255, 255, 255, 0.08);
    --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.35);
    --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.3);
    color-scheme: dark;
  }
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-1);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: absolute; top: -48px; left: 16px; z-index: 100;
  background: var(--primary); color: #fff;
  padding: 10px 16px; border-radius: 12px;
  transition: top var(--dur-fast);
}
.skip-link:focus { top: 12px; }

/* ---------- Фоновая аврора ---------- */
.bg-aurora {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
  pointer-events: none;
}
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: 0.5;
  animation: drift 24s ease-in-out infinite alternate;
}
.blob-a { width: 560px; height: 560px; background: #C9DBFF; top: -180px; right: -120px; }
.blob-b { width: 420px; height: 420px; background: #E4DAFF; top: 30%; left: -180px; animation-delay: -8s; }
.blob-c { width: 380px; height: 380px; background: #D6F4EF; bottom: -140px; right: 12%; animation-delay: -16s; }

@media (prefers-color-scheme: dark) {
  .blob { opacity: 0.16; }
  .blob-a { background: #3D6FE5; }
  .blob-b { background: #7B5CFF; }
  .blob-c { background: #2F8F76; }
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(40px, 50px, 0) scale(1.08); }
}

/* ---------- Навбар (glass pill) ---------- */
.nav-wrap {
  position: sticky; top: 12px; z-index: 50;
  width: min(1120px, 100% - 24px);
  margin-inline: auto;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 10px 14px 10px 18px;
  border-radius: 999px;
}
.glass {
  background: var(--glass-fill);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid var(--glass-stroke);
  box-shadow: var(--shadow-soft);
}
.nav-logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 650; font-size: 19px; letter-spacing: -0.01em;
}
.nav-logo img { border-radius: 9px; }
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  font-size: 15px; font-weight: 480; color: var(--text-2);
  padding: 10px 2px; /* touch target */
  transition: color var(--dur-fast);
}
.nav-links a:hover { color: var(--text-1); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; min-width: 44px; padding: 0 10px;
  font-size: 13.5px; font-weight: 560; letter-spacing: 0.04em;
  color: var(--text-2); border-radius: 999px;
  transition: color var(--dur-fast), background var(--dur-fast);
}
.lang-switch:hover { color: var(--text-1); background: var(--card-alt); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px;
  border: none; border-radius: 999px; cursor: pointer;
  font-family: var(--font); font-size: 16px; font-weight: 560;
  transition: transform var(--dur-fast) var(--ease-enter),
              background var(--dur-fast), box-shadow var(--dur-med);
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--primary); color: #fff;
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover { background: var(--primary-hover); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center; gap: 48px;
  padding: 72px 0 40px;
  min-height: calc(100svh - 90px);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 14px; font-weight: 500; color: var(--text-2);
  background: var(--card); border: 1px solid var(--divider);
  padding: 7px 14px; border-radius: 999px;
  box-shadow: var(--shadow-card);
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(63, 156, 126, 0.45); }
  50% { box-shadow: 0 0 0 7px rgba(63, 156, 126, 0); }
}

h1 {
  margin-top: 22px;
  font-size: clamp(40px, 5.4vw, 64px);
  font-weight: 640; line-height: 1.04; letter-spacing: -0.035em;
}
.grad-text {
  display: block; margin-top: 10px;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 560; letter-spacing: -0.02em;
  background: linear-gradient(92deg, var(--primary), var(--blue-700) 55%, #7B5CFF);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-sub {
  margin-top: 22px; max-width: 46ch;
  font-size: 18px; color: var(--text-2);
}

/* Форма waitlist */
.waitlist-form {
  display: flex; gap: 10px; margin-top: 30px;
  max-width: 460px;
}
.waitlist-form input {
  flex: 1; min-width: 0; min-height: 52px;
  padding: 0 20px;
  font-family: var(--font); font-size: 16px; color: var(--text-1);
  background: var(--card);
  border: 1.5px solid var(--border); border-radius: 999px;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.waitlist-form input::placeholder { color: var(--text-3); }
.waitlist-form input:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(61, 111, 229, 0.15);
}
.waitlist-form input[aria-invalid="true"] { border-color: var(--red); }
.form-note { margin-top: 12px; font-size: 13.5px; color: var(--text-3); }
.form-note.is-error { color: var(--red); }
.form-note.is-success { color: var(--green); font-weight: 500; }

/* Success-состояние формы */
.waitlist-success {
  margin-top: 30px; max-width: 460px;
  background: var(--card); border: 1px solid var(--divider);
  border-radius: var(--radius-md); padding: 22px 24px;
  box-shadow: var(--shadow-card);
  animation: pop-in 0.45s var(--ease-enter);
}
.waitlist-success h3 { font-size: 19px; font-weight: 620; letter-spacing: -0.01em; }
.waitlist-success h3 .check { color: var(--green); margin-right: 6px; }
.waitlist-success p { margin-top: 6px; font-size: 15px; color: var(--text-2); }
.share-row { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.btn-ghost {
  background: var(--card-alt); color: var(--text-1);
  min-height: 44px; padding: 0 18px; font-size: 14.5px;
}
.btn-ghost:hover { background: var(--divider); }
@keyframes pop-in {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}

.hero-badges {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 34px;
}
.store-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 520; color: var(--text-2);
  border: 1px solid var(--divider); background: var(--card);
  padding: 9px 16px; border-radius: 12px;
  box-shadow: var(--shadow-card);
}
.store-note { font-size: 13.5px; color: var(--text-3); }

/* ---------- Мокап телефона ---------- */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone-glow {
  position: absolute; inset: 10% 6%; z-index: -1;
  background: radial-gradient(closest-side, rgba(61, 111, 229, 0.28), transparent 70%);
  filter: blur(30px);
}
.phone {
  position: relative;
  width: min(320px, 82vw);
  aspect-ratio: 320 / 660;
  background: #05070F;
  border-radius: 52px;
  padding: 10px;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.08) inset,
    0 30px 80px rgba(15, 23, 43, 0.35);
  transform: rotate(2.5deg);
}
.phone-notch {
  position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 26px; border-radius: 999px;
  background: #05070F; z-index: 3;
}
.phone-screen {
  height: 100%; overflow: hidden;
  text-align: left; /* hero центрируется на мобильном — экран не должен наследовать */
  background: var(--ph-bg);
  border-radius: 43px;
  padding: 18px 16px 14px;
  display: flex; flex-direction: column;
  color: var(--ph-text-1);
}
.app-status-bar {
  display: flex; justify-content: space-between;
  font-size: 12px; font-weight: 560; padding: 4px 10px 0;
}
.sb-icons { letter-spacing: 2px; font-size: 8px; line-height: 2; }
.app-greeting { margin-top: 26px; padding: 0 6px; }
.app-hello { font-size: 20px; font-weight: 620; letter-spacing: -0.02em; }
.app-date { font-size: 12.5px; color: var(--ph-text-2); margin-top: 2px; }

.app-progress-card {
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(135deg, #223056, #1C2640);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px; padding: 12px 14px; margin-top: 14px;
}
.ring { position: relative; display: grid; place-items: center; }
.ring svg { transform: rotate(-90deg); }
.ring-track { fill: none; stroke: rgba(255, 255, 255, 0.12); stroke-width: 4.5; }
.ring-fill {
  fill: none; stroke: var(--blue-700); stroke-width: 4.5;
  stroke-linecap: round;
  stroke-dasharray: 119.4; /* 2πr, r=19 */
  stroke-dashoffset: 59.7; /* 50% */
  transition: stroke-dashoffset 0.9s var(--ease-enter);
}
.ring-label {
  position: absolute; font-size: 12px; font-weight: 620;
}
.app-progress-title { font-size: 14px; font-weight: 600; }
.app-progress-sub { font-size: 12px; color: var(--ph-text-2); margin-top: 1px; }

.app-section-label {
  font-size: 11px; font-weight: 560; text-transform: uppercase;
  letter-spacing: 0.09em; color: var(--ph-text-2);
  margin: 14px 6px 8px;
}
.med-card {
  display: flex; align-items: center; gap: 11px;
  background: var(--ph-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px; padding: 10px 12px;
  margin-bottom: 8px;
  transition: background var(--dur-med);
}
.med-icon {
  width: 36px; height: 36px; flex: none;
  display: grid; place-items: center;
  font-size: 15px; border-radius: 11px;
  color: var(--tint); background: color-mix(in srgb, var(--tint) 20%, transparent);
}
.med-info { flex: 1; min-width: 0; }
.med-name { font-size: 14px; font-weight: 580; }
.med-dose { font-size: 11.5px; color: var(--ph-text-2); margin-top: 1px; }
.med-status {
  font-size: 11.5px; font-weight: 560;
  padding: 5px 10px; border-radius: 999px; flex: none;
}
.status-pending { color: #9DB8FF; background: rgba(91, 140, 255, 0.16); }
.status-taken { color: #7ED0B4; background: rgba(63, 156, 126, 0.2); font-size: 13px; }
.med-card.is-taken .med-name { color: var(--ph-text-2); }

/* Анимация «принято» на демо-карточке */
.med-card.demo-taken { background: var(--ph-card-alt); }
.med-card.demo-taken .med-status {
  animation: status-pop 0.5s var(--ease-enter);
}
@keyframes status-pop {
  0% { transform: scale(0.4); opacity: 0; }
  70% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

.app-navbar {
  position: relative;
  margin-top: auto;
  display: flex; justify-content: space-around; align-items: center;
  background: rgba(28, 38, 64, 0.75);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px; padding: 10px 8px;
}
.nav-ico { font-size: 15px; color: var(--ph-text-2); z-index: 1; width: 40px; text-align: center; }
.nav-ico.active { color: var(--ph-text-1); }
.nav-pill {
  position: absolute; left: 8px; top: 6px; bottom: 6px;
  width: calc(25% - 8px);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

/* Пуш-тост поверх телефона */
.push-toast {
  position: absolute; top: 58px; left: 20px; right: 20px; z-index: 4;
  display: flex; gap: 10px; align-items: center;
  background: rgba(38, 47, 74, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px; padding: 10px 14px;
  color: var(--ph-text-1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  opacity: 0; transform: translateY(-24px) scale(0.95);
  pointer-events: none;
}
.push-toast img { border-radius: 7px; }
.push-toast.show {
  animation: toast-in 4.4s var(--ease-enter) forwards;
}
.push-title { font-size: 10.5px; font-weight: 560; color: var(--ph-text-2); text-transform: uppercase; letter-spacing: 0.05em; }
.push-body { font-size: 12.5px; font-weight: 520; margin-top: 1px; }
@keyframes toast-in {
  0% { opacity: 0; transform: translateY(-24px) scale(0.95); }
  8% { opacity: 1; transform: translateY(0) scale(1); }
  80% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-16px) scale(0.97); }
}

/* ---------- Секции ---------- */
.section { padding: 90px 0 30px; }
.section-eyebrow {
  font-size: 14px; font-weight: 580; color: var(--primary);
  text-transform: uppercase; letter-spacing: 0.12em;
}
.section h2 {
  margin-top: 12px;
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 620; line-height: 1.12; letter-spacing: -0.03em;
  max-width: 22ch;
}
.section-narrow h2 { max-width: none; }

/* ---------- Bento ---------- */
.bento {
  display: grid; gap: 18px; margin-top: 44px;
  grid-template-columns: repeat(3, 1fr);
}
.bento-card {
  background: var(--card);
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: transform var(--dur-med) var(--ease-enter), box-shadow var(--dur-med);
  overflow: hidden;
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.bento-wide { grid-column: span 2; }
.bento-card h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.bento-card p { margin-top: 10px; font-size: 15.5px; color: var(--text-2); max-width: 56ch; }

.bento-illu {
  height: 130px; margin: -6px -6px 20px;
  border-radius: var(--radius-md);
  background: var(--card-alt);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}

/* Иллюстрация: пуши */
.illu-notify { flex-direction: column; gap: 10px; }
.mini-toast {
  display: flex; align-items: center; gap: 9px;
  background: var(--card); border: 1px solid var(--divider);
  border-radius: 14px; padding: 8px 14px;
  box-shadow: var(--shadow-card);
  width: min(320px, 84%);
}
.mini-toast img { border-radius: 6px; }
.mini-toast-2 { opacity: 0.55; transform: scale(0.94); }
.bento-card:hover .mini-toast { animation: nudge 0.6s var(--ease-enter); }
@keyframes nudge {
  0% { transform: translateY(6px); opacity: 0.6; }
  100% { transform: translateY(0); opacity: 1; }
}

/* Иллюстрация: дизайн-чипы */
.illu-design { gap: 12px; }
.chip {
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 16px;
  font-size: 19px; font-weight: 600;
  box-shadow: var(--shadow-card);
  transition: transform var(--dur-med) var(--ease-enter);
}
.chip-a { background: var(--card); color: var(--text-1); }
.chip-b { background: linear-gradient(135deg, #0B1020, #223056); }
.chip-c { background: #DAF0FF; color: #2E7CC4; }
.bento-card:hover .chip-a { transform: translateY(-5px) rotate(-4deg); }
.bento-card:hover .chip-b { transform: translateY(-2px); }
.bento-card:hover .chip-c { transform: translateY(-5px) rotate(4deg); }

/* Иллюстрация: 3 бесплатно */
.illu-free { flex-direction: column; }
.big-num {
  font-size: 56px; font-weight: 680; line-height: 1; letter-spacing: -0.04em;
  background: linear-gradient(120deg, var(--primary), var(--blue-700));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.big-num-sub { font-size: 13px; font-weight: 540; color: var(--text-2); margin-top: 2px; }

/* Иллюстрация: приватность (щит + чипы) */
.illu-privacy { gap: 10px; flex-wrap: wrap; padding: 0 22px; }
.shield {
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 16px;
  color: var(--primary);
  background: var(--card);
  box-shadow: var(--shadow-card);
  transition: transform var(--dur-med) var(--ease-enter);
}
.bento-card:hover .shield { transform: translateY(-4px); }
.privacy-chip {
  display: inline-flex; align-items: center;
  padding: 8px 14px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--divider);
  font-size: 13px; font-weight: 540; color: var(--text-2);
  box-shadow: var(--shadow-card);
  transition: transform var(--dur-med) var(--ease-enter);
}
.bento-card:hover .privacy-chip:nth-of-type(2) { transform: translateY(-3px); }
.bento-card:hover .privacy-chip:nth-of-type(4) { transform: translateY(-3px); }

/* ---------- Steps ---------- */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin-top: 44px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--card); border: 1px solid var(--divider);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-card);
}
.step-num {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 14px;
  background: var(--card-alt); color: var(--primary);
  font-size: 18px; font-weight: 640;
}
.step h3 { margin-top: 16px; font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.step p { margin-top: 8px; font-size: 15px; color: var(--text-2); }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 40px; display: grid; gap: 12px; max-width: 760px; }
.faq-list details {
  background: var(--card); border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  list-style: none; cursor: pointer;
  padding: 19px 22px;
  font-size: 16.5px; font-weight: 560; letter-spacing: -0.01em;
  min-height: 44px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-chev {
  flex: none; width: 10px; height: 10px;
  border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3);
  transform: rotate(45deg);
  transition: transform var(--dur-med) var(--ease-enter);
}
details[open] .faq-chev { transform: rotate(-135deg); }
.faq-list details p {
  padding: 0 22px 20px; font-size: 15px; color: var(--text-2); max-width: 66ch;
}

/* ---------- Final CTA ---------- */
.cta-panel {
  text-align: center;
  background:
    radial-gradient(120% 160% at 50% -30%, rgba(91, 140, 255, 0.35), transparent 60%),
    linear-gradient(160deg, #0B1020, #16224A);
  color: #EEF3FF;
  border-radius: var(--radius-lg);
  padding: 68px 28px;
  margin-top: 60px;
}
.cta-panel h2 {
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 630; letter-spacing: -0.03em;
}
.cta-panel > p { margin-top: 12px; color: #97A5C4; font-size: 17px; }
.waitlist-form-center { margin-inline: auto; }
.cta-panel .waitlist-form input {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
  color: #EEF3FF;
}
.cta-panel .waitlist-form input::placeholder { color: #6B7A9C; }
.cta-panel .form-note { color: #6B7A9C; }
.cta-panel .form-note.is-success { color: #7ED0B4; }
.cta-panel .form-note.is-error { color: #E68CA0; }
.cta-panel .waitlist-success {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  margin-inline: auto; text-align: left;
}
.cta-panel .waitlist-success p { color: #97A5C4; }
.cta-panel .btn-ghost { background: rgba(255, 255, 255, 0.1); color: #EEF3FF; }
.cta-panel .btn-ghost:hover { background: rgba(255, 255, 255, 0.16); }

/* ---------- Footer ---------- */
.footer { padding: 70px 0 40px; }
.footer-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  padding-bottom: 26px; border-bottom: 1px solid var(--divider);
}
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a {
  font-size: 14.5px; color: var(--text-2); padding: 8px 0;
  transition: color var(--dur-fast);
}
.footer-links a:hover { color: var(--text-1); }
.footer-disclaimer {
  margin-top: 24px; font-size: 13px; color: var(--text-3); max-width: 78ch;
}
.footer-copy { margin-top: 14px; font-size: 13px; color: var(--text-3); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s var(--ease-enter) var(--d, 0s),
    transform 0.65s var(--ease-enter) var(--d, 0s);
}
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .blob, .pulse-dot { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .push-toast.show { animation: none; opacity: 1; transform: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 56px; padding-top: 48px; min-height: 0;
    text-align: center;
  }
  .hero-sub { margin-inline: auto; }
  .waitlist-form { margin-inline: auto; }
  .hero-badges { justify-content: center; }
  .waitlist-success { margin-inline: auto; text-align: left; }
  .phone { transform: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-wide { grid-column: span 2; }
  .steps { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 32px); }
  .section { padding: 64px 0 20px; }
  .waitlist-form { flex-direction: column; }
  .waitlist-form .btn { width: 100%; }
  .bento { grid-template-columns: 1fr; }
  .bento-wide { grid-column: auto; }
  .cta-panel { padding: 52px 20px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}
