*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --brand:        #2E5E8C;
  --brand-hover:  #254D73;
  --brand-soft:   #EAF2F8;
  --brand-mist:   #DCEAF6;
  --brand-accent: #A9C7E6;
  --action-ring:  rgba(46,94,140,0.22);

  --bg:           #F7F8FA;
  --bg-elevated:  #FCFCFD;
  --surface:      #FFFFFF;
  --surface-soft: #F5F7FA;

  --text-primary:   #111827;
  --text-secondary: #667085;
  --text-muted:     #98A2B3;

  --success-bg:   #EAF7EF;
  --success-text: #1F7A45;
  --warning-bg:   #FFF4E5;
  --warning-text: #B96A00;

  --border:       rgba(0,0,0,0.06);
  --border-input: #D0D5DD;

  --e1: 0 2px 8px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.03);
  --e2: 0 8px 24px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.03);
  --e3: 0 20px 60px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.04);

  --r-control: 12px;
  --r-card:    16px;
  --r-dialog:  20px;
  --r-pill:    999px;
  --release-banner-h: 44px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  font-size: 14px;
  line-height: 1.6;
  padding-top: var(--release-banner-h);
}

/* RELEASE COUNTDOWN */
.release-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--release-banner-h);
  z-index: 210;
  border-bottom: 1px solid rgba(169, 199, 230, 0.42);
  background: #eaf2f8;
  box-shadow: 0 4px 18px rgba(46, 94, 140, 0.08);
}

.release-banner-inner {
  max-width: 1120px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.release-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand);
  white-space: nowrap;
}

.release-countdown {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(46, 94, 140, 0.24);
  background: rgba(255, 255, 255, 0.88);
  color: #1f4568;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* NAV */
nav {
  background: rgba(255,255,255,0.98);
  /* backdrop-filter removed — causes iOS Safari viewport blur when keyboard opens */
  border-bottom: 1px solid var(--border);
  position: sticky; top: var(--release-banner-h); z-index: 100;
  height: 60px;
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; letter-spacing: -0.01em;
  color: var(--text-primary); text-decoration: none;
}

.logo-mark { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; }
.logo-mark svg { width: 28px; height: 28px; display: block; }
.logo-mark img { width: 28px; height: 28px; display: block; object-fit: contain; }

.nav-pill {
  font-size: 11px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--brand); background: var(--brand-soft);
  padding: 4px 12px; border-radius: var(--r-pill);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--border-input);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: background 150ms ease, border-color 150ms ease, transform 100ms ease, box-shadow 150ms ease;
  box-shadow: var(--e1);
  white-space: nowrap;
}

.nav-cta:hover { border-color: var(--brand-accent); background: var(--brand-soft); color: var(--brand); }
.nav-cta:active { transform: scale(0.99); }
.nav-cta i, .nav-cta svg { width: 16px; height: 16px; }

/* HERO */
.hero {
  max-width: 640px; margin: 0 auto;
  padding: 80px 24px 56px; text-align: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 16px;
}

.eyebrow-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--brand); }

h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700; line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--text-primary); margin-bottom: 16px;
}

.hero-sub {
  font-size: 15px; line-height: 1.75;
  color: var(--text-secondary); font-weight: 400;
  max-width: 480px; margin: 0 auto 36px;
}

/* filter chips */
.filter-row {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; flex-wrap: wrap;
}

.filter-chip {
  height: 36px; padding: 0 16px;
  border-radius: var(--r-pill);
  font-size: 13px; font-weight: 500;
  display: flex; align-items: center; gap: 6px;
  cursor: default;
  transition: background 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

.filter-chip.active { background: var(--brand); color: white; }

.filter-chip.off {
  background: var(--surface); color: var(--text-secondary);
  box-shadow: var(--e1);
}

.filter-chip.off:hover {
  color: var(--brand); background: var(--brand-soft);
}

/* APP SCREENS */
.screens-wrap {
  max-width: 1120px; margin: 0 auto;
  padding: 56px 24px 72px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; align-items: start;
}

.screen-col { display: flex; flex-direction: column; gap: 10px; }

.phone {
  background: var(--surface); border-radius: var(--r-dialog);
  box-shadow: var(--e3); overflow: hidden; border: 1px solid var(--border);
}

/* Phone internals */
.ph-header {
  background: var(--surface-soft); padding: 14px 16px 10px;
  border-bottom: 1px solid var(--border);
}

.ph-city {
  font-size: 10px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 2px;
}

.ph-title { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }

.ic-12 { width: 12px; height: 12px; color: var(--text-muted); }
.ic-13 { width: 13px; height: 13px; }

.search-bar {
  margin: 10px 14px;
  height: 38px; background: var(--surface-soft);
  border-radius: var(--r-control); border: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px; padding: 0 12px;
  font-size: 12px; color: var(--text-muted);
}

.cat-row {
  display: flex; gap: 6px; padding: 0 14px 10px; overflow: hidden;
}

.cat-pill {
  flex-shrink: 0; height: 28px; padding: 0 12px;
  border-radius: var(--r-pill); font-size: 12px; font-weight: 600;
  display: flex; align-items: center;
}

.cat-pill.on { background: var(--brand); color: white; }
.cat-pill.off { background: var(--surface-soft); color: var(--text-secondary); box-shadow: var(--e1); }

.quick-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px; padding: 0 14px 10px;
}

.quick-card {
  background: var(--bg); border-radius: var(--r-card);
  padding: 10px; border: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}

.quick-icon {
  width: 26px; height: 26px; background: var(--brand-soft);
  border-radius: 8px; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
  color: var(--brand);
}
.quick-icon svg, .quick-icon i { width: 14px; height: 14px; }

.quick-title { font-size: 11px; font-weight: 600; letter-spacing: -0.01em; }
.quick-sub { font-size: 10px; color: var(--text-muted); }

.sec-head {
  padding: 2px 14px 8px;
  display: flex; align-items: center; justify-content: space-between;
}

.sec-head-title { font-size: 13px; font-weight: 600; letter-spacing: -0.01em; }
.sec-head-link { font-size: 12px; font-weight: 600; color: var(--brand); }

.salon-list { padding: 0 14px 14px; display: flex; flex-direction: column; gap: 10px; }

.salon-row { display: flex; gap: 10px; }

.salon-img {
  width: 56px; height: 56px; border-radius: var(--r-control);
  background: var(--brand-mist); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand);
}
.salon-img svg, .salon-img i { width: 22px; height: 22px; }

.salon-info { flex: 1; min-width: 0; }
.salon-name { font-size: 13px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 2px; }
.salon-addr { font-size: 11px; color: var(--text-muted); margin-bottom: 6px; }

.salon-chips { display: flex; gap: 4px; flex-wrap: wrap; }
.salon-chip {
  font-size: 10px; font-weight: 500; color: var(--text-secondary);
  background: var(--surface-soft); padding: 2px 8px; border-radius: var(--r-pill);
}

.salon-actions { display: flex; gap: 6px; margin-top: 8px; }

.btn-res {
  flex: 1; height: 30px; background: var(--brand); color: white;
  border-radius: 8px; font-size: 12px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}

.btn-save {
  width: 30px; height: 30px; background: var(--surface-soft);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
}
.btn-save svg, .btn-save i { width: 14px; height: 14px; }

/* Screen 2 – Booking */
.slot-header { padding: 14px; border-bottom: 1px solid var(--border); }
.slot-service { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 2px; }
.slot-salon { font-size: 11px; color: var(--text-secondary); }

.rec-slot {
  margin: 12px 14px;
  background: var(--brand-soft); border-radius: var(--r-card); padding: 14px;
  border: 1px solid var(--brand-accent);
}

.rec-tag {
  font-size: 10px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--brand); margin-bottom: 6px;
  display: inline-flex; align-items: center; gap: 6px;
}
.rec-tag svg, .rec-tag i { width: 12px; height: 12px; }

.rec-time { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.rec-date { font-size: 11px; color: var(--text-secondary); margin-top: 2px; }

.other-lbl {
  padding: 4px 14px 8px;
  font-size: 10px; font-weight: 600;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em;
}

.slot-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6px; padding: 0 14px;
}

.slot-btn {
  height: 40px; border-radius: var(--r-control);
  font-size: 13px; font-weight: 500;
  display: flex; align-items: center; justify-content: center;
}

.slot-btn.av { background: var(--surface-soft); color: var(--text-primary); box-shadow: var(--e1); }
.slot-btn.dis { background: transparent; color: var(--text-muted); }

.confirm-bar {
  margin: 14px; background: var(--brand); border-radius: var(--r-control);
  height: 48px; display: flex; align-items: center; justify-content: center;
  color: white; font-size: 14px; font-weight: 600;
}

/* Screen 3 – Confirmed */
.confirm-wrap { padding: 16px 14px; }

.confirm-success {
  background: var(--success-bg); border-radius: var(--r-card);
  padding: 16px; text-align: center; margin-bottom: 14px;
  color: var(--success-text);
}

.c-icon { display:flex; justify-content:center; margin-bottom: 8px; color: var(--success-text); }
.c-icon svg, .c-icon i { width: 22px; height: 22px; }
.c-title { font-size: 14px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 4px; color: var(--text-primary); }
.c-sub { font-size: 11px; color: var(--text-secondary); line-height: 1.5; margin-bottom: 12px; }

.c-detail {
  background: var(--surface); border-radius: var(--r-control);
  padding: 10px; text-align: left;
  color: var(--text-primary);
}

.c-row {
  display: flex; justify-content: space-between;
  padding: 5px 0; border-bottom: 1px solid var(--border);
}

.c-row:last-child { border-bottom: none; }
.c-label { font-size: 10px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.c-value { font-size: 11px; font-weight: 600; }

.promo-card {
  background: var(--brand-soft); border-radius: var(--r-card); padding: 12px;
}

.promo-tag {
  font-size: 10px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--brand); margin-bottom: 4px;
}

.promo-title { font-size: 13px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 2px; }
.promo-salon { font-size: 11px; color: var(--text-secondary); margin-bottom: 8px; }

.promo-btn {
  height: 30px; background: var(--brand); color: white;
  border-radius: 8px; font-size: 11px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}

/* step labels */
.step-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.05em;
}

.step-num {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand); color: white;
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.step-text { white-space: nowrap; }
.step-hint {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.9);
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
}
.step-hint i, .step-hint svg { width: 14px; height: 14px; }

/* step copy under screens */
.step-copy { padding-top: 2px; }
.step-desc { font-size: 13px; line-height: 1.65; color: var(--text-secondary); }

/* WAITLIST */
.wl-section { max-width: 480px; margin: 0 auto; padding: 0 24px 80px; }

.wl-card {
  background: var(--surface); border-radius: var(--r-dialog);
  box-shadow: var(--e3); padding: 40px;
}

.wl-title {
  font-size: 20px; font-weight: 700;
  letter-spacing: -0.025em; margin-bottom: 6px;
}

.wl-sub {
  font-size: 14px; color: var(--text-secondary);
  line-height: 1.7; font-weight: 400; margin-bottom: 28px;
}

.field { margin-bottom: 12px; }

.field-label {
  display: block; font-size: 12px; font-weight: 600;
  color: var(--text-secondary); margin-bottom: 6px;
}

.field input {
  width: 100%; height: 44px; padding: 0 14px;
  border: 1px solid var(--border-input); border-radius: var(--r-control);
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 400;
  color: var(--text-primary); background: var(--surface);
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
  -webkit-appearance: none;
}

.field input::placeholder { color: var(--text-muted); }

.field input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--action-ring);
}

.svc-label {
  font-size: 12px; font-weight: 600;
  color: var(--text-secondary); display: block; margin-bottom: 8px;
}

.svc-row { display: flex; flex-wrap: wrap; gap: 6px; }

.svc-chip {
  height: 36px; padding: 0 16px;
  border-radius: var(--r-pill); border: 1px solid var(--border-input);
  background: var(--surface); font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 500; color: var(--text-secondary);
  cursor: pointer; user-select: none;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
  display: flex; align-items: center;
}

.svc-chip:hover { border-color: var(--brand-accent); color: var(--brand); background: var(--brand-soft); }
.svc-chip.on { border-color: var(--brand-accent); color: var(--brand); background: var(--brand-soft); font-weight: 600; }

.cta-btn {
  width: 100%; height: 52px; background: var(--brand); color: white;
  border: none; border-radius: var(--r-control);
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600;
  cursor: pointer; margin-top: 24px; letter-spacing: -0.01em;
  transition: background 150ms ease, box-shadow 150ms ease, transform 100ms ease;
  box-shadow: 0 2px 12px rgba(46,94,140,0.25);
  display: flex; align-items: center; justify-content: center; gap: 6px;
}

.cta-btn:hover { background: var(--brand-hover); box-shadow: 0 4px 20px rgba(46,94,140,0.3); }
.cta-btn:active { transform: scale(0.99); }

.btn-ic { width: 14px; height: 14px; }

.trust-row {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-top: 12px;
}

.trust-item { font-size: 11px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.trust-sep { width: 2px; height: 2px; border-radius: 50%; background: var(--border-input); }

/* PROOF BAR / FOOTER */
.proof-bar { background: var(--text-primary); padding: 32px 24px; }

.proof-inner {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
}

.proof-item {
  text-align: center; padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,0.06);
}

.proof-item:last-child { border-right: none; }
.proof-num { font-size: 24px; font-weight: 700; letter-spacing: -0.025em; color: #fff; display: block; margin-bottom: 4px; }
.proof-lbl { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.32); letter-spacing: 0.03em; }

.footer-wrap { max-width: 1120px; margin: 0 auto; }

footer {
  border-top: 1px solid var(--border); padding: 24px;
  display: flex; align-items: center; justify-content: space-between;
}

.foot-copy { font-size: 12px; color: var(--text-muted); }
.foot-link { font-size: 12px; color: var(--brand); font-weight: 600; text-decoration: none; }
.foot-link:hover { text-decoration: underline; }

.success { display: none; text-align: center; padding: 24px 0; }
.suc-icon {
  width: 48px; height: 48px; background: var(--brand-soft);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; margin: 0 auto 16px;
  color: var(--brand);
}
.suc-icon svg, .suc-icon i { width: 18px; height: 18px; }
.suc-title { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.suc-sub { font-size: 13px; color: var(--text-secondary); line-height: 1.65; }

/* CONFIRM MODAL */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 300;
}
.modal.on { display: flex; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17,24,39,0.5);
}
.modal-card {
  position: relative;
  width: min(520px, calc(100vw - 32px));
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--e3);
  padding: 20px 18px;
}
.modal-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.modal-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--e1);
  overflow: hidden;
}
.modal-mark svg { width: 34px; height: 34px; display: block; }
.modal-mark img { width: 34px; height: 34px; display: block; object-fit: contain; }
.modal-title { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.modal-sub { font-size: 13px; color: var(--text-secondary); line-height: 1.65; margin-top: 2px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.modal-btn {
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--border-input);
  background: var(--surface);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
}
.modal-btn.primary {
  background: var(--brand);
  border-color: transparent;
  color: #fff;
}
.modal-btn.primary:hover { background: var(--brand-hover); }

@media (prefers-reduced-motion: no-preference) {
  .modal-card { animation: popIn 280ms cubic-bezier(0.16,1,0.3,1) both; }
  @keyframes popIn {
    from { opacity: 0; transform: translateY(10px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }
}

/* mobile-only hero CTA */
.hero-cta-mobile {
  display: none;
  margin-top: 24px;
}

.hero-cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 52px; padding: 0 28px;
  background: var(--brand); color: white;
  border-radius: var(--r-control); font-size: 15px; font-weight: 600;
  text-decoration: none; letter-spacing: -0.01em;
  box-shadow: 0 4px 20px rgba(46,94,140,0.3);
  transition: background 150ms ease, transform 100ms ease;
}

.hero-cta-btn:active { transform: scale(0.98); }

.urgency-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--warning-text);
  background: var(--warning-bg); padding: 5px 12px;
  border-radius: var(--r-pill); margin-bottom: 16px;
}

/* B2B CTA */
.b2b-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 44px;
}

.b2b-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-dialog);
  box-shadow: var(--e2);
  padding: 16px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.b2b-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.b2b-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  line-height: 1.35;
}

.b2b-sub {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.45;
}

.b2b-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 14px;
  border-radius: var(--r-control);
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 2px 12px rgba(46,94,140,0.25);
  white-space: nowrap;
  transition: background 150ms ease, transform 100ms ease, box-shadow 150ms ease;
}

.b2b-btn:hover { background: var(--brand-hover); box-shadow: 0 4px 20px rgba(46,94,140,0.3); }
.b2b-btn:active { transform: scale(0.99); }
.b2b-btn i, .b2b-btn svg { width: 16px; height: 16px; }

/* RESPONSIVE */
@media (max-width: 860px) {
  .nav-inner { padding: 0 16px; }

  /* Steps carousel for all smaller screens (phones + tablets) */
  .screens-wrap {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 22px;
    scroll-padding-right: 22px;
    gap: 14px;
    padding: 22px 22px 34px;
    overscroll-behavior-x: contain;
  }
  .screens-wrap::-webkit-scrollbar { display: none; }
  .screen-col {
    align-items: center;
    scroll-snap-align: start;
    /* Container-based width, so mobile previews do not overflow when the page is embedded or emulated. */
    flex: 0 0 min(94%, 420px);
    min-width: 0;
  }
  .phone { width: 100%; }
  .step-label { width: min(420px, 100%); justify-content: flex-start; font-size: 14px; }
  .step-num { width: 24px; height: 24px; font-size: 12px; }
  .step-hint { display: inline-flex; }
  .step-copy { width: min(420px, 100%); }
}

@media (max-width: 640px) {
  :root { --release-banner-h: 56px; }
  .release-banner-inner {
    padding: 0 16px;
    gap: 10px;
  }
  .release-label { font-size: 11px; letter-spacing: 0.03em; }
  .release-countdown { font-size: 12px; padding: 0 12px; min-height: 32px; }
  .hero { padding: 44px 16px 28px; }
  .wl-section { padding-left: 16px; padding-right: 16px; }
  .wl-card { padding: 24px; }
  .proof-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .proof-item { border-right: none; }
  footer { flex-direction: column; align-items: flex-start; gap: 10px; }
  .nav-pill { display: none; }
  .hero-cta-mobile { display: flex; justify-content: center; }
  .filter-row { display: none; }
  h1 { font-size: clamp(30px, 8vw, 40px); }
  .b2b-section { padding: 0 16px 34px; }
  .b2b-card { flex-direction: column; align-items: stretch; padding: 16px; }
  .b2b-btn { width: 100%; }
}

@media (max-width: 440px) {
  :root { --release-banner-h: 50px; }
  .release-label { display: none; }
  .release-banner-inner { justify-content: center; }
}

@media (prefers-reduced-motion: no-preference) {
  .step-hint { animation: hintNudge 1.25s ease-in-out infinite; }
  @keyframes hintNudge {
    0%, 70%, 100% { transform: translateX(0); opacity: 0.75; }
    85% { transform: translateX(6px); opacity: 1; }
  }
}

/* MOTION */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition:
      opacity 450ms cubic-bezier(0.16,1,0.3,1) var(--d, 0ms),
      transform 450ms cubic-bezier(0.16,1,0.3,1) var(--d, 0ms);
    will-change: opacity, transform;
  }

  .reveal.in {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
}
