/* ============================================================
   OTPless — Home v3 additions
   New sections: Hero platform reframe, Journey ribbon, Platform grid
   Builds on page-home-v2.css design tokens.
   ============================================================ */

/* ---------- v3 hero: trim race, beef up copy ---------- */
.v3-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
@media (max-width: 980px) { .v3-hero-grid { grid-template-columns: 1fr; gap: 56px; } }

.v3-h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 6.8vw, 92px);
  line-height: 0.97;
  letter-spacing: -0.038em;
  margin: 0;
  font-weight: 800;
  color: var(--text-strong);
}
.v3-h1 .quiet { color: var(--g8); display: block; }

.v3-lead {
  margin: 28px 0 0;
  max-width: 560px;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.6;
  color: var(--g11);
}
.v3-lead b { color: var(--text-strong); font-weight: 500; }

.v3-hero-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 28px;
}
.v3-hero-tagchip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border-radius: 100px;
  background: var(--surface-1);
  border: var(--border);
  font-size: 12px;
  color: var(--text);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease, color 160ms ease;
}
.v3-hero-tagchip .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  transition: transform 160ms ease;
}
.v3-hero-tagchip.q .dot { background: var(--g8); }
.v3-hero-tagchip-arrow {
  display: inline-block;
  margin-left: 2px;
  font-size: 11px;
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  transform: translateX(-4px);
  transition: opacity 160ms ease, max-width 200ms ease, transform 200ms ease;
  color: var(--accent);
}
.v3-hero-tagchip.q .v3-hero-tagchip-arrow { color: var(--g8); }
.v3-hero-tagchip:hover {
  background: var(--bg);
  border-color: var(--text);
  color: var(--text);
}
.v3-hero-tagchip:hover .v3-hero-tagchip-arrow {
  opacity: 1;
  max-width: 14px;
  transform: translateX(0);
}
.v3-hero-tagchip:hover .dot { transform: scale(1.15); }
.v3-hero-tagchip:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ============================================================
   THE JOURNEY — sticky lifecycle ribbon
   ============================================================ */
.v3-journey {
  padding: clamp(80px, 12vh, 140px) 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elev) 50%, var(--bg) 100%);
  border-block: var(--border);
}

.v3-journey-rail {
  margin-top: 64px;
  position: relative;
  background: var(--bg-elev);
  border: var(--border);
  border-radius: 20px;
  padding: 28px;
  overflow: hidden;
}
.v3-journey-rail::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 100%, var(--accent-soft), transparent 60%),
    repeating-linear-gradient(0deg, transparent 0 39px, var(--hairline) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, var(--hairline) 39px 40px);
  opacity: 0.4;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 0%, transparent 75%);
  pointer-events: none;
}

.v3-journey-track {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  position: relative;
  z-index: 1;
  padding-bottom: 28px;
}
.v3-journey-line {
  position: absolute;
  top: 26px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--g8), transparent);
  z-index: 0;
}
@media (max-width: 860px) {
  .v3-journey-track { grid-template-columns: 1fr; gap: 0; }
  .v3-journey-line { display: none; }
}

.v3-stage {
  position: relative;
  background: transparent;
  border: none;
  padding: 12px 4px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  z-index: 1;
  font-family: inherit;
  transition: all .25s ease;
}
@media (max-width: 860px) {
  .v3-stage {
    flex-direction: row; align-items: center; gap: 16px;
    text-align: left; padding: 16px 12px;
    border-bottom: var(--border);
  }
  .v3-stage:last-child { border-bottom: none; }
}

.v3-stage-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg);
  border: var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--g10);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  transition: all .25s ease;
  flex: 0 0 auto;
  position: relative;
}
.v3-stage:hover .v3-stage-dot {
  background: var(--surface-3);
  color: var(--text-strong);
}
.v3-stage[data-active="true"] .v3-stage-dot {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
  transform: scale(1.15);
  box-shadow: 0 0 0 4px var(--accent-soft), 0 8px 24px -6px var(--accent-glow);
}

.v3-stage-name {
  font-size: 12px;
  color: var(--g11);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.005em;
  transition: color .2s ease;
}
.v3-stage:hover .v3-stage-name { color: var(--text-strong); }
.v3-stage[data-active="true"] .v3-stage-name { color: var(--text-strong); }

.v3-stage-sub {
  display: none;
}
@media (max-width: 860px) {
  .v3-stage-sub {
    display: block;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--g9);
    margin-top: 4px;
  }
}

/* Detail panel below the rail */
.v3-journey-detail {
  margin-top: 24px;
  padding: 28px;
  background: linear-gradient(180deg, var(--panel-bg-from), var(--panel-bg-to));
  border: var(--border);
  border-radius: 16px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  z-index: 2;
  min-height: 240px;
}
@media (max-width: 860px) { .v3-journey-detail { grid-template-columns: 1fr; gap: 24px; } }

.v3-journey-detail-l {
  display: flex; flex-direction: column; gap: 16px;
}
.v3-journey-detail-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 8px;
}
.v3-journey-detail-eyebrow .step {
  font-family: var(--font-mono);
  color: var(--g9);
  letter-spacing: 0.14em;
}
.v3-journey-detail-h {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.05;
  letter-spacing: -0.028em;
  color: var(--text-strong);
  font-weight: 700;
  margin: 0;
}
.v3-journey-detail-p {
  font-size: 14.5px;
  color: var(--g11);
  line-height: 1.6;
  margin: 0;
  max-width: 56ch;
}
.v3-journey-products {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 8px;
}
.v3-journey-product {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border-radius: 100px;
  background: var(--surface-1);
  border: var(--border);
  font-size: 12px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-mono);
  transition: all .2s ease;
}
.v3-journey-product:hover {
  background: var(--surface-2);
  border-color: var(--accent-soft);
  color: var(--text-strong);
}
.v3-journey-product::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
}

.v3-journey-detail-r {
  background: var(--bg-elev-2);
  border: var(--border);
  border-radius: 14px;
  padding: 22px;
  min-height: 180px;
  display: flex; flex-direction: column;
  justify-content: center;
}
.v3-journey-metric-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.v3-journey-metric {
  display: flex; flex-direction: column; gap: 4px;
}
.v3-journey-metric .num {
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.v3-journey-metric .lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--g9);
}
.v3-journey-quote {
  margin-top: 18px;
  padding-top: 18px;
  border-top: var(--border);
  font-family: var(--font-display);
  font-size: 15px;
  font-style: italic;
  color: var(--g11);
  line-height: 1.5;
}

/* ============================================================
   THE PLATFORM — product grid (8 products)
   ============================================================ */
/* (.v3-platform removed — use the global .section-pad utility from styles.css) */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: var(--border);
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-elev);
}
@media (max-width: 1020px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .product-grid { grid-template-columns: 1fr; } }

.product-tile {
  background: var(--bg);
  padding: 28px 24px 24px;
  position: relative;
  border-right: var(--border);
  border-bottom: var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 240px;
  text-decoration: none;
  color: inherit;
  transition: background .2s ease;
  cursor: pointer;
}
.product-tile:hover { background: var(--bg-elev); }
.product-tile:nth-child(4n) { border-right: none; }
.product-tile:nth-last-child(-n+4) { border-bottom: none; }
@media (max-width: 1020px) {
  .product-tile { border-right: var(--border) !important; border-bottom: var(--border) !important; }
  .product-tile:nth-child(2n) { border-right: none !important; }
  .product-tile:nth-last-child(-n+2) { border-bottom: none !important; }
}
@media (max-width: 540px) {
  .product-tile { border-right: none !important; }
  .product-tile:not(:last-child) { border-bottom: var(--border) !important; }
  .product-tile:last-child { border-bottom: none !important; }
}

.product-tile-head {
  display: flex; justify-content: space-between; align-items: start;
  gap: 12px;
}
.product-tile-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--surface-1);
  border: var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  transition: all .25s ease;
  flex: 0 0 auto;
}
.product-tile:hover .product-tile-icon {
  background: var(--accent); color: var(--on-accent);
  border-color: var(--accent);
}
.product-tile-num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--g8);
  letter-spacing: 0.14em;
  padding-top: 8px;
}
.product-tile-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-strong);
  letter-spacing: -0.01em;
  margin-top: 4px;
}
.product-tile-tag {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 400;
  font-size: 13.5px;
  color: var(--g10);
  line-height: 1.5;
}
.product-tile-stat {
  margin-top: auto;
  padding-top: 14px;
  border-top: var(--border);
  display: flex; justify-content: space-between; align-items: end;
}
.product-tile-stat .v {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-strong);
  line-height: 1;
  letter-spacing: -0.02em;
}
.product-tile-stat .l {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--g9);
  text-align: right;
  line-height: 1.3;
  max-width: 50%;
}

/* ============================================================
   USE CASES strip — quick value props for non-login moments
   ============================================================ */
.use-cases {
  padding: clamp(72px, 10vh, 120px) 0;
  background: var(--bg-elev);
  border-block: var(--border);
}
.use-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1180px) { .use-card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .use-card-grid { grid-template-columns: 1fr; } }

.use-card {
  background: var(--bg);
  border: var(--border);
  border-radius: 16px;
  padding: 28px 26px;
  display: flex; flex-direction: column; gap: 16px;
  position: relative;
  overflow: hidden;
}
.use-card::after {
  content: "";
  position: absolute;
  bottom: 0; right: 0;
  width: 140px; height: 140px;
  background: radial-gradient(circle, var(--accent-soft), transparent 65%);
  opacity: 0.6;
  pointer-events: none;
}
.use-card-eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.use-card-h {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.018em;
  color: var(--text-strong);
  font-weight: 600;
  margin: 0;
}
.use-card-p {
  font-size: 13.5px;
  color: var(--g10);
  line-height: 1.6;
  margin: 0;
}
.use-card-stat {
  margin-top: auto;
  padding-top: 14px;
  border-top: var(--border);
  display: flex; justify-content: space-between; align-items: end;
  position: relative;
  z-index: 1;
}
.use-card-stat .v {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.025em;
}
.use-card-stat .l {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--g9);
  text-align: right;
  max-width: 60%;
}


/* ============================================================
   SNA UX DEMO — mobile-frame silent login experience
   ============================================================ */
.v3-sna-ux {
  background: linear-gradient(180deg, var(--panel-bg-from), var(--panel-bg-to));
  border-block: var(--border);
  padding: 96px 0 112px;
  overflow: hidden;
}
.v3-sna-ux-stage {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 80px;
  align-items: center;
}
@media (max-width: 980px) {
  .v3-sna-ux-stage { grid-template-columns: 1fr; gap: 48px; }
}

/* — left copy column — */
.v3-sna-ux-copy { max-width: 520px; }
.v3-sna-ux-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.v3-sna-ux-h {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--text-strong);
  margin: 0 0 18px;
}
.v3-sna-ux-p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--g11);
  margin: 0 0 28px;
  max-width: 460px;
}
.v3-sna-ux-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.v3-sna-ux-bullets li {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: var(--border);
}
.v3-sna-ux-bullets li:last-child { border-bottom: none; padding-bottom: 0; }
.v3-sna-ux-bullet-num {
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1;
  color: var(--text-strong);
  letter-spacing: -0.02em;
  flex: 0 0 90px;
  font-style: italic;
}
.v3-sna-ux-bullet-h {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-strong);
  margin-bottom: 2px;
}
.v3-sna-ux-bullet-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--g9);
}

/* — right phone column — */
.v3-sna-ux-phone-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  justify-self: center;
}
.v3-sna-ux-phone {
  position: relative;
  width: 320px;
  height: 660px;
  background: linear-gradient(180deg, #1f1d1a, #0c0b0a);
  border-radius: 46px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 40px 80px -20px rgba(0,0,0,0.6),
    0 0 0 1px rgba(0,0,0,0.6) inset,
    0 1px 0 rgba(255,255,255,0.05) inset;
  padding: 10px;
}
.v3-sna-ux-phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #000;
  border-radius: 18px;
  z-index: 3;
}
.v3-sna-ux-phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #faf8f3;
  border-radius: 38px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
/* Light app palette inside the phone */
.v3-sna-ux-phone-screen {
  --app-bg: #faf8f3;
  --app-surface: #ffffff;
  --app-text: #1a1714;
  --app-text-soft: #6b665e;
  --app-accent: #D97757;
  --app-line: rgba(0,0,0,0.08);
}

/* status bar */
.v3-sna-ux-statusbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 28px 6px;
  color: var(--app-text);
  font-size: 14px;
  font-weight: 600;
  flex: 0 0 auto;
}
.v3-sna-ux-statusbar-r { display: flex; gap: 5px; align-items: center; }

/* screens container */
.v3-sna-ux-screens {
  position: relative;
  flex: 1;
  overflow: hidden;
}
.v3-sna-ux-screen {
  position: absolute;
  inset: 0;
  padding: 28px 26px 32px;
  display: flex;
  flex-direction: column;
  background: var(--app-bg);
  color: var(--app-text);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 360ms ease, transform 420ms ease, visibility 360ms;
}
.v3-sna-ux-screen[data-active="true"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Screen 1: cold open */
.v3-sna-app-brand {
  display: flex; flex-direction: column; align-items: center;
  gap: 14px;
  margin-top: 60px;
  text-align: center;
}
.v3-sna-app-logo {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: linear-gradient(160deg, var(--app-accent), #b95a3f);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 32px;
  font-weight: 600;
  box-shadow: 0 10px 30px -6px rgba(217,119,87,0.5);
}
.v3-sna-app-name {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--app-text);
  font-weight: 600;
}
.v3-sna-app-tag {
  font-size: 13px;
  color: var(--app-text-soft);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.v3-sna-app-cta-wrap {
  margin-top: auto;
  display: flex; flex-direction: column; gap: 12px;
  padding-bottom: 12px;
}
.v3-sna-app-cta {
  display: block;
  width: 100%;
  padding: 14px 16px;
  border-radius: 100px;
  border: none;
  background: var(--app-text);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.v3-sna-app-cta[data-pressed="true"] {
  transform: scale(0.98);
  background: #000;
}
.v3-sna-app-fineprint {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--app-text-soft);
  text-align: center;
  letter-spacing: 0.05em;
}

/* Screen 2: phone entry */
.v3-sna-app-back {
  background: none; border: none; padding: 0;
  color: var(--app-text);
  font-size: 22px;
  cursor: pointer;
  margin-bottom: 24px;
  align-self: flex-start;
}
.v3-sna-app-prompt-h {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--app-text);
  margin-bottom: 8px;
}
.v3-sna-app-prompt-sub {
  font-size: 13px;
  color: var(--app-text-soft);
  margin-bottom: 28px;
  line-height: 1.45;
}
.v3-sna-app-phonefield {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 16px;
  border: 1.5px solid var(--app-text);
  border-radius: 12px;
  background: var(--app-surface);
  font-size: 16px;
  margin-bottom: 24px;
}
.v3-sna-app-cc { font-weight: 600; color: var(--app-text); }
.v3-sna-app-num {
  color: var(--app-text);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  display: flex; align-items: center;
}
.v3-sna-app-caret {
  display: inline-block;
  width: 1.5px;
  height: 18px;
  background: var(--app-text);
  margin-left: 2px;
  animation: v3-sna-caret 0.9s steps(2) infinite;
}
@keyframes v3-sna-caret { 50% { opacity: 0; } }

/* Screen 3: verifying */
.v3-sna-verify {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1;
  gap: 18px;
}
.v3-sna-verify-orb {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
}
.v3-sna-verify-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid var(--app-accent);
  opacity: 0;
}
.v3-sna-ux-screen[data-active="true"] .v3-sna-verify-ring.r1 {
  inset: 0;
  animation: v3-sna-pulse 1.8s ease-out infinite;
}
.v3-sna-ux-screen[data-active="true"] .v3-sna-verify-ring.r2 {
  inset: 0;
  animation: v3-sna-pulse 1.8s ease-out 0.4s infinite;
}
.v3-sna-ux-screen[data-active="true"] .v3-sna-verify-ring.r3 {
  inset: 0;
  animation: v3-sna-pulse 1.8s ease-out 0.8s infinite;
}
@keyframes v3-sna-pulse {
  0% { transform: scale(0.5); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}
.v3-sna-verify-core {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--app-accent), #b95a3f);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 24px -6px rgba(217,119,87,0.5);
}
.v3-sna-verify-h {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--app-text);
}
.v3-sna-verify-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--app-text-soft);
  max-width: 220px;
  line-height: 1.5;
}

/* Screen 4: home / signed in */
.v3-sna-home-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.v3-sna-home-hi {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--app-text);
}
.v3-sna-home-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--app-text-soft);
  margin-top: 2px;
}
.v3-sna-home-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--app-accent);
  color: #fff;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.v3-sna-home-success {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(34, 139, 91, 0.1);
  color: #228b5b;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  width: fit-content;
  margin-bottom: 22px;
}
.v3-sna-home-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 50%;
  background: #228b5b;
  color: #fff;
}
.v3-sna-home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: auto;
}
.v3-sna-home-card {
  background: var(--app-surface);
  border: 1px solid var(--app-line);
  border-radius: 14px;
  padding: 18px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--app-text);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.v3-sna-home-card .ic { font-size: 22px; }
.v3-sna-home-cta {
  margin-top: 16px;
  padding: 14px;
  background: var(--app-text);
  color: #fff;
  border-radius: 100px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
}

/* pip strip */
.v3-sna-ux-pips {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.v3-sna-ux-pip {
  width: 24px;
  height: 3px;
  border-radius: 3px;
  background: var(--g7);
  transition: background 240ms ease, width 240ms ease;
}
.v3-sna-ux-pip[data-active="true"] {
  background: var(--accent);
  width: 32px;
}

.v3-sna-ux-caption {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--g9);
  text-transform: uppercase;
}
.v3-sna-ux-caption-dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--g8);
}
.v3-sna-ux-replay {
  background: none;
  border: 1px solid var(--g7);
  color: var(--g10);
  width: 24px; height: 24px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-left: 6px;
  transition: all 160ms ease;
}
.v3-sna-ux-replay:hover {
  border-color: var(--text-strong);
  color: var(--text-strong);
  transform: rotate(-90deg);
}



/* ============================================================
   SNA UX DEMO — CLEAN REBUILD
   Single source of truth — supersedes any prior .v3-sna-* rules
   ============================================================ */

/* layout: phone column gets enough room for callouts on both sides */
.v3-sna-ux-stage {
  margin-top: 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 560px;
  gap: 56px;
  align-items: center;
}
@media (max-width: 1100px) {
  .v3-sna-ux-stage { grid-template-columns: 1fr 480px; gap: 32px; }
}
@media (max-width: 980px) {
  .v3-sna-ux-stage { grid-template-columns: 1fr; gap: 40px; }
  .v3-sna-ux-copy { max-width: 100%; margin: 0 auto; }
  .v3-sna-ux-phone-wrap { margin: 0 auto; }
}

/* copy column */
.v3-sna-ux-copy { max-width: 480px; }
.v3-sna-ux-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.v3-sna-ux-h {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--text-strong);
  margin: 0 0 18px;
}
.v3-sna-ux-p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--g11);
  margin: 0 0 28px;
  max-width: 460px;
}
.v3-sna-ux-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.v3-sna-ux-bullets li {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: var(--border);
}
.v3-sna-ux-bullets li:last-child { border-bottom: none; padding-bottom: 0; }
.v3-sna-ux-bullet-num {
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1;
  color: var(--text-strong);
  letter-spacing: -0.02em;
  flex: 0 0 90px;
  font-style: italic;
}
.v3-sna-ux-bullet-h {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-strong);
  margin-bottom: 2px;
}
.v3-sna-ux-bullet-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--g9);
}

/* ===========================================================
   Phone wrap + chrome
   =========================================================== */
.v3-sna-ux-phone-wrap {
  position: relative;
  width: 560px;
  max-width: 100%;
  height: 720px;
  display: flex;
  justify-content: center;
  align-items: center;
  justify-self: center;
}
@media (max-width: 600px) {
  .v3-sna-ux-phone-wrap { height: 560px; }
  .v3-sna-ux-phone { width: 240px; height: 492px; border-radius: 36px; }
  .v3-sna-ux-phone-screen { border-radius: 28px; }
  .v3-sna-ux-phone-notch { top: 14px; width: 80px; height: 22px; }
}
.v3-sna-ux-phone {
  position: relative;
  width: 320px;
  height: 660px;
  background: linear-gradient(180deg, #1f1d1a, #0c0b0a);
  border-radius: 46px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 40px 80px -20px rgba(0,0,0,0.6),
    0 0 0 1px rgba(0,0,0,0.6) inset,
    0 1px 0 rgba(255,255,255,0.05) inset;
  padding: 10px;
  animation: v3-sna-phone-float 6s ease-in-out infinite;
}
@keyframes v3-sna-phone-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* hardware buttons */
.v3-sna-ux-phone-btn {
  position: absolute;
  background: linear-gradient(90deg, #0a0908, #2a2725, #0a0908);
}
.v3-sna-ux-phone-btn--vu { left: -2px; top: 120px; width: 3px; height: 36px; border-radius: 2px 0 0 2px; }
.v3-sna-ux-phone-btn--vd { left: -2px; top: 168px; width: 3px; height: 56px; border-radius: 2px 0 0 2px; }
.v3-sna-ux-phone-btn--power { right: -2px; top: 150px; width: 3px; height: 64px; border-radius: 0 2px 2px 0; }

/* dynamic island */
.v3-sna-ux-phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #000;
  border-radius: 18px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding-right: 12px;
}
.v3-sna-ux-phone-notch-cam {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #2a4860 0%, #0a0a0a 65%);
}
.v3-sna-ux-phone-notch-sensor {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #181816;
}

/* phone screen + app palette */
.v3-sna-ux-phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #faf8f3;
  border-radius: 38px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  --app-bg: #faf8f3;
  --app-surface: #ffffff;
  --app-text: #1a1714;
  --app-text-soft: #6b665e;
  --app-accent: #D97757;
  --app-line: rgba(0,0,0,0.08);
}

/* status bar */
.v3-sna-ux-statusbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 28px 6px;
  color: var(--app-text);
  font-size: 14px;
  font-weight: 600;
  flex: 0 0 auto;
}
.v3-sna-ux-statusbar-r { display: flex; gap: 5px; align-items: center; }

/* LIVE dot */
.v3-sna-ux-livedot {
  position: absolute;
  top: 50px;
  right: 18px;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 4;
  pointer-events: none;
}
.v3-sna-ux-livedot .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #e84a4a;
  animation: v3-sna-blink 1.4s ease-in-out infinite;
}
@keyframes v3-sna-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.v3-sna-ux-livedot .label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: rgba(0,0,0,0.55);
  font-weight: 600;
}

/* screens stack */
.v3-sna-ux-screens {
  position: relative;
  flex: 1;
  overflow: hidden;
}
.v3-sna-ux-screen {
  position: absolute;
  inset: 0;
  background: var(--app-bg);
  color: var(--app-text);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 360ms ease, transform 420ms ease, visibility 360ms;
  display: flex;
  flex-direction: column;
}
.v3-sna-ux-screen[data-active="true"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ===========================================================
   Screen 1 & 2 backdrop — Snabbit form
   =========================================================== */
.v3-sna-ux-screen[data-screen="0"],
.v3-sna-ux-screen[data-screen="1"] {
  padding: 18px 24px 24px;
}

.v3-sna-app-topbar {
  display: flex; align-items: center; gap: 10px;
  padding: 0 0 22px;
  flex: 0 0 auto;
}
.v3-sna-app-mark-icon {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: var(--app-surface);
  border: 1px solid var(--app-line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 16px;
  color: var(--app-text);
}
.v3-sna-app-mark-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--app-text);
}

.v3-sna-form { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.v3-sna-form-step {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: #3b5bff;
  margin-bottom: 22px;
}
.v3-sna-form-h {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--app-text);
  margin: 0 0 28px;
  font-weight: 600;
}
.v3-sna-form-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: var(--app-text-soft);
  margin-bottom: 10px;
  font-weight: 600;
}
.v3-sna-form-field {
  display: flex; align-items: center;
  border: 1px solid var(--app-line);
  border-radius: 14px;
  background: var(--app-surface);
  padding: 14px 16px;
  margin-bottom: 12px;
}
.v3-sna-form-cc {
  font-size: 14px;
  color: var(--app-text);
  font-weight: 500;
  white-space: nowrap;
}
.v3-sna-form-divider {
  width: 1px;
  height: 18px;
  background: var(--app-line);
  margin: 0 12px;
}
.v3-sna-form-num {
  flex: 1;
  font-size: 14px;
  color: rgba(0,0,0,0.32);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.v3-sna-form-hint {
  display: flex; align-items: center; gap: 7px;
  font-size: 11.5px;
  color: var(--app-text);
  font-weight: 500;
  margin-top: 4px;
}
.v3-sna-form-hint .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #5b6bff;
  box-shadow: 0 0 0 4px rgba(91,107,255,0.14);
  animation: v3-sna-hint-pulse 1.8s ease-out infinite;
}
@keyframes v3-sna-hint-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(91,107,255,0.14); }
  50% { box-shadow: 0 0 0 7px rgba(91,107,255,0.03); }
}

/* dimmed backdrop on sheet screen */
.v3-sna-app-topbar--dim,
.v3-sna-form--dim {
  opacity: 0.5;
  filter: grayscale(0.5);
}

/* ===========================================================
   Screen 2 — Google phone-hint bottom sheet (overlay)
   =========================================================== */
.v3-sna-ux-screen[data-screen="1"] {
  position: absolute;
  inset: 0;
}

.v3-sna-sheet-scrim {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  pointer-events: none;
}

.v3-sna-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: auto;
  background: var(--app-surface);
  border-radius: 20px 20px 0 0;
  padding: 8px 20px 22px;
  box-shadow: 0 -10px 30px -10px rgba(0,0,0,0.18);
  transform: translateY(110%);
  transition: transform 460ms cubic-bezier(0.22,1,0.36,1);
  z-index: 5;
}
.v3-sna-ux-screen[data-active="true"] .v3-sna-sheet {
  transform: translateY(0);
}

.v3-sna-sheet-handle {
  width: 34px; height: 4px;
  background: rgba(0,0,0,0.18);
  border-radius: 100px;
  margin: 4px auto 14px;
  display: block;
}
.v3-sna-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 0;
  border: none;
}
.v3-sna-sheet-google {
  display: flex; align-items: center;
  background: transparent;
  border: none;
  flex: 0 0 auto;
}
.v3-sna-sheet-close {
  background: none; border: none;
  color: rgba(0,0,0,0.55);
  cursor: pointer;
  padding: 4px;
  display: flex; align-items: center; justify-content: center;
}

.v3-sna-sheet-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--app-text);
  margin: 0 0 10px;
}
.v3-sna-sheet-explain {
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(0,0,0,0.7);
  margin: 0 0 12px;
}
.v3-sna-sheet-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}
.v3-sna-sheet-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--app-line);
  position: relative;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
  min-height: 50px;
}
.v3-sna-sheet-row[data-pressed="true"] {
  background: rgba(66,133,244,0.05);
}
.v3-sna-sheet-phoneicon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #e8f0fe;
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 32px;
}
.v3-sna-sheet-row-body { flex: 1; min-width: 0; }
.v3-sna-sheet-row-num {
  font-size: 13.5px;
  color: var(--app-text);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}
.v3-sna-sheet-foot-fineprint {
  font-size: 10.5px;
  line-height: 1.5;
  color: rgba(0,0,0,0.62);
  margin: 4px 0 0;
}
.v3-sna-sheet-foot-fineprint .link {
  color: #1a73e8;
}

/* tap ripple */
.v3-sna-tap-ripple {
  position: absolute;
  top: 50%; left: 16px;
  width: 0; height: 0;
  border-radius: 50%;
  background: rgba(66,133,244,0.22);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.v3-sna-sheet-row[data-pressed="true"] .v3-sna-tap-ripple {
  animation: v3-sna-ripple 620ms cubic-bezier(0.22,1,0.36,1);
}
@keyframes v3-sna-ripple {
  0% { width: 0; height: 0; opacity: 0.55; }
  100% { width: 320px; height: 320px; opacity: 0; }
}

/* ===========================================================
   Screen 3 — Verifying with Airtel
   =========================================================== */
.v3-sna-ux-screen[data-screen="2"] {
  padding: 18px 24px 24px;
}
.v3-sna-verify {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1;
  gap: 18px;
}
.v3-sna-verify-carrier {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 11px;
  border: 1px solid var(--app-line);
  border-radius: 100px;
  background: var(--app-surface);
  color: var(--app-text);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  font-weight: 600;
}
.v3-sna-verify-carrier-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #e84a4a;
  box-shadow: 0 0 0 3px rgba(232,74,74,0.18);
}
.v3-sna-verify-orb {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex; align-items: center; justify-content: center;
  margin-top: 8px;
}
.v3-sna-verify-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid var(--app-accent);
  opacity: 0;
  inset: 0;
}
.v3-sna-ux-screen[data-active="true"] .v3-sna-verify-ring.r1 { animation: v3-sna-pulse 1.8s ease-out infinite; }
.v3-sna-ux-screen[data-active="true"] .v3-sna-verify-ring.r2 { animation: v3-sna-pulse 1.8s ease-out 0.4s infinite; }
.v3-sna-ux-screen[data-active="true"] .v3-sna-verify-ring.r3 { animation: v3-sna-pulse 1.8s ease-out 0.8s infinite; }
@keyframes v3-sna-pulse {
  0% { transform: scale(0.5); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}
.v3-sna-verify-core {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--app-accent), #b95a3f);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 24px -6px rgba(217,119,87,0.5);
}
.v3-sna-verify-h {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--app-text);
}
.v3-sna-verify-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--app-text-soft);
  max-width: 220px;
  line-height: 1.5;
}

/* ===========================================================
   Screen 4 — Signed in
   =========================================================== */
.v3-sna-ux-screen[data-screen="3"] {
  padding: 28px 26px 28px;
}
.v3-sna-home-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.v3-sna-home-hi {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--app-text);
}
.v3-sna-home-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--app-text-soft);
  margin-top: 2px;
}
.v3-sna-home-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--app-accent);
  color: #fff;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.v3-sna-home-success {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(34, 139, 91, 0.1);
  color: #228b5b;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  width: fit-content;
  margin-bottom: 22px;
}
.v3-sna-home-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 50%;
  background: #228b5b;
  color: #fff;
}
.v3-sna-home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: auto;
}
.v3-sna-home-card {
  background: var(--app-surface);
  border: 1px solid var(--app-line);
  border-radius: 14px;
  padding: 18px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--app-text);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.v3-sna-home-card .ic { font-size: 22px; }
.v3-sna-home-cta {
  margin-top: 16px;
  padding: 14px;
  background: var(--app-text);
  color: #fff;
  border-radius: 100px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
}

/* ===========================================================
   Pip strip
   =========================================================== */
.v3-sna-ux-pips {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.v3-sna-ux-pip {
  width: 24px;
  height: 3px;
  border-radius: 3px;
  background: var(--g7);
  transition: background 240ms ease, width 240ms ease;
}
.v3-sna-ux-pip[data-active="true"] {
  background: var(--accent);
  width: 32px;
}

/* ===========================================================
   Annotation callouts — positioned within 560px wrap
   =========================================================== */
.v3-sna-anno {
  position: absolute;
  width: 108px;
  padding: 12px 12px;
  background: var(--surface-1);
  border: var(--border);
  border-radius: 10px;
  box-shadow: 0 8px 28px -8px rgba(0,0,0,0.4);
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  transition: opacity 360ms ease, transform 420ms cubic-bezier(0.22,1,0.36,1);
  pointer-events: none;
  z-index: 2;
}
.v3-sna-anno[data-active="true"] {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.v3-sna-anno-idx {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 6px;
}
.v3-sna-anno-h {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-strong);
  letter-spacing: -0.005em;
  margin-bottom: 4px;
  line-height: 1.25;
}
.v3-sna-anno-sub {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  color: var(--g9);
  line-height: 1.4;
}
.v3-sna-anno--tl { top: 80px; left: 4px; }
.v3-sna-anno--tr { top: 80px; right: 4px; }
.v3-sna-anno--bl { bottom: 100px; left: 4px; }
.v3-sna-anno--br { bottom: 100px; right: 4px; }
.v3-sna-anno::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 1px;
  background: linear-gradient(90deg, var(--g7), transparent);
  top: 22px;
}
.v3-sna-anno--tl::after, .v3-sna-anno--bl::after { right: -16px; left: auto; }
.v3-sna-anno--tr::after, .v3-sna-anno--br::after {
  left: -16px; right: auto;
  background: linear-gradient(270deg, var(--g7), transparent);
}
@media (max-width: 980px) { .v3-sna-anno { display: none; } }

/* hide legacy classes from old passes if they exist */
.v3-sna-sheet-radio, .v3-sna-sheet-row-meta, .v3-sna-sheet-foot, .v3-sna-sheet-h, .v3-sna-sheet-sub, .v3-sna-app-brand { display: none; }


/* ============================================================
   SNA scene-icon — tower signal wave animation
   ============================================================ */
.v3-tower-wave {
  opacity: 0;
  animation: v3-tower-wave-pulse 2.4s ease-out infinite;
}
.v3-tower-wave--1 { animation-delay: 0s; }
.v3-tower-wave--2 { animation-delay: 0.4s; }
.v3-tower-wave--3 { animation-delay: 0.8s; }
@keyframes v3-tower-wave-pulse {
  0%   { opacity: 0; transform: scale(0.7); }
  20%  { opacity: 0.9; }
  60%  { opacity: 0.4; }
  100% { opacity: 0; transform: scale(1.05); }
}
.v3-tower-waves {
  transform-box: fill-box;
  transform-origin: 32px 22px;
}
.v3-tower-wave--l { transform-origin: 26px 22px; }
.v3-tower-wave--r { transform-origin: 38px 22px; }

.v3-tower-pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: v3-tower-tip-pulse 1.6s ease-in-out infinite;
}
@keyframes v3-tower-tip-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}


/* ============================================================
   SNA UX — OTP vs SNA comparison block
   ============================================================ */
.v3-sna-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  margin: 0 0 32px;
  align-items: stretch;
}
.v3-sna-compare-col {
  padding: 20px 18px;
  border: var(--border);
  border-radius: 14px;
  background: var(--surface-1);
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.v3-sna-compare-col--after {
  background: linear-gradient(160deg, rgba(217,119,87,0.08), transparent);
  border-color: rgba(217,119,87,0.3);
}
.v3-sna-compare-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: var(--border);
}
.v3-sna-compare-tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--g9);
  font-weight: 600;
}
.v3-sna-compare-tag--accent { color: var(--accent); }
.v3-sna-compare-label {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--text-strong);
  font-weight: 500;
}
.v3-sna-compare-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  counter-reset: sna-step;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.v3-sna-compare-steps li {
  position: relative;
  padding-left: 26px;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--g11);
  counter-increment: sna-step;
}
.v3-sna-compare-steps li::before {
  content: counter(sna-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  color: var(--g8);
  letter-spacing: 0.04em;
  padding-top: 2px;
}
.v3-sna-compare-steps li.alt {
  font-style: italic;
  color: var(--g9);
}
.v3-sna-compare-steps li.alt::before { content: "+"; color: var(--g8); }
.v3-sna-compare-steps li.done {
  color: var(--text-strong);
  font-weight: 500;
}
.v3-sna-compare-steps li.done::before {
  content: "✓";
  color: var(--accent);
  font-size: 13px;
  padding-top: 0;
  font-weight: 700;
}

.v3-sna-compare-foot {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 12px;
  border-top: var(--border);
}
.v3-sna-compare-foot-num {
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  letter-spacing: -0.02em;
  color: var(--text-strong);
  line-height: 1;
}
.v3-sna-compare-foot--accent .v3-sna-compare-foot-num { color: var(--accent); }
.v3-sna-compare-foot-sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--g9);
}

.v3-sna-compare-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
}
.v3-sna-compare-divider span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--g8);
  background: var(--bg);
  padding: 4px;
}

@media (max-width: 1180px) {
  .v3-sna-compare { grid-template-columns: 1fr; gap: 12px; }
  .v3-sna-compare-divider { display: none; }
}


/* ============================================================
   MOBILE AUTH — One API. Every channel. Picked in real time.
   ============================================================ */
.v3-mobauth {
  padding: 112px 0 120px;
  border-block: var(--border);
  background: var(--bg);
}
.v3-mobauth-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
@media (max-width: 1100px) {
  .v3-mobauth-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* === LEFT === */
.v3-mobauth-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--g10);
  margin-bottom: 32px;
}
.v3-mobauth-eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(217,119,87,0.18);
}
.v3-mobauth-h {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--text-strong);
  font-weight: 500;
  margin: 0 0 28px;
}
.v3-mobauth-p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--g11);
  margin: 0 0 40px;
  max-width: 540px;
}
.v3-mobauth-p em {
  font-style: italic;
  color: var(--text-strong);
}

.v3-mobauth-channels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 540px) {
  .v3-mobauth-channels { grid-template-columns: 1fr; }
}
.v3-mobauth-channel {
  --ch-accent: #4ade80;
  border: var(--border);
  border-radius: 14px;
  background: var(--surface-1);
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  transition: border-color 200ms ease, background 200ms ease;
}
.v3-mobauth-channel[data-color="green"] { --ch-accent: #4ade80; }
.v3-mobauth-channel[data-color="purple"] { --ch-accent: #a78bfa; }
.v3-mobauth-channel:hover {
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.02);
}
.v3-mobauth-channel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--ch-accent);
}
.v3-mobauth-channel-icon {
  display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
}
.v3-mobauth-channel-tag {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--ch-accent);
  letter-spacing: -0.005em;
}
.v3-mobauth-channel-h {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-strong);
  margin-bottom: 6px;
}
.v3-mobauth-channel-p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--g10);
  margin: 0 0 18px;
  flex: 1;
}
.v3-mobauth-channel-foot {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: var(--g9);
  padding-top: 12px;
  border-top: var(--border);
}
.v3-mobauth-channel-foot .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #2bb673;
  box-shadow: 0 0 0 3px rgba(43,182,115,0.18);
}

/* === RIGHT — ROUTING ENGINE === */
.v3-mobauth-right {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
@media (max-width: 1100px) {
  .v3-mobauth-right { position: static; }
}

.v3-mobauth-engine {
  border: 1px solid rgba(74,222,128,0.18);
  border-radius: 18px;
  background:
    radial-gradient(ellipse at top, rgba(74,222,128,0.06), transparent 70%),
    var(--surface-1);
  padding: 22px 22px 24px;
}
.v3-mobauth-engine-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.v3-mobauth-engine-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #4ade80;
  font-weight: 600;
}
.v3-mobauth-engine-title .live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74,222,128,0.22);
  animation: v3-mobauth-live 1.4s ease-in-out infinite;
}
@keyframes v3-mobauth-live {
  0%, 100% { box-shadow: 0 0 0 3px rgba(74,222,128,0.22); }
  50% { box-shadow: 0 0 0 6px rgba(74,222,128,0.06); }
}
.v3-mobauth-engine-meta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--g9);
}

.v3-mobauth-engine-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.v3-mobauth-engine-row {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  background: rgba(0,0,0,0.18);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text);
}
.v3-mobauth-engine-row[data-state="off"] {
  border-color: rgba(232,74,74,0.22);
  background: rgba(232,74,74,0.04);
}
.v3-mobauth-engine-row-ic {
  color: var(--g9);
  text-align: center;
  font-size: 13px;
}
.v3-mobauth-engine-row[data-state="off"] .v3-mobauth-engine-row-ic { color: #e84a4a; }
.v3-mobauth-engine-row-name {
  letter-spacing: 0.01em;
  color: var(--text-strong);
}
.v3-mobauth-engine-row[data-state="off"] .v3-mobauth-engine-row-name { color: var(--g10); }
.v3-mobauth-engine-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 4px 9px;
  border-radius: 100px;
  background: rgba(255,255,255,0.05);
  color: var(--g9);
}
.v3-mobauth-engine-badge--red {
  background: rgba(232,74,74,0.12);
  color: #ef7373;
}

.v3-mobauth-engine-status {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #f5a86b;
  padding: 12px 14px;
  background: rgba(217,119,87,0.06);
  border: 1px solid rgba(217,119,87,0.18);
  border-radius: 8px;
  margin-bottom: 18px;
}
.v3-mobauth-engine-status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #f5a86b;
  box-shadow: 0 0 0 3px rgba(217,119,87,0.18);
}

.v3-mobauth-engine-code {
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.v3-mobauth-engine-code-comment {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--g9);
  margin-bottom: 8px;
}
.v3-mobauth-engine-code-block {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--text-strong);
  margin: 0;
  white-space: pre;
  line-height: 1.5;
}
.v3-mobauth-engine-code-block .kw { color: #ec7a9a; }
.v3-mobauth-engine-code-block .fn { color: #82d4ff; }
.v3-mobauth-engine-code-block .str { color: #9be39b; }

/* stats */
.v3-mobauth-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 6px 4px 0;
}
.v3-mobauth-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.v3-mobauth-stat .v {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 30px;
  font-weight: 500;
  color: var(--text-strong);
  letter-spacing: -0.02em;
  line-height: 1;
}
.v3-mobauth-stat .l {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--g9);
  text-transform: uppercase;
}

.v3-mobauth-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 8px;
}


/* ============================================================
   MOBILE AUTH — 2×2 bento channel grid
   ============================================================ */
.v3-mobauth-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .v3-mobauth-bento { grid-template-columns: 1fr; }
}
.v3-mobauth-bento .v3-mobauth-channel {
  padding: 28px 28px 26px;
  border-radius: 18px;
  min-height: 220px;
}
.v3-mobauth-bento .v3-mobauth-channel-head {
  margin-bottom: 22px;
}
.v3-mobauth-bento .v3-mobauth-channel-tag {
  font-size: 22px;
  font-style: italic;
}
.v3-mobauth-bento .v3-mobauth-channel-h {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 10px;
}
.v3-mobauth-bento .v3-mobauth-channel-p {
  font-size: 14px;
  margin-bottom: 22px;
  max-width: 90%;
}
.v3-mobauth-bento .v3-mobauth-channel-foot {
  font-size: 11.5px;
  padding-top: 16px;
}


/* ============================================================
   MOBILE AUTH — Routing engine: scenario cycling + winner state
   ============================================================ */
.v3-mobauth-engine-row {
  transition: border-color 320ms ease, background 320ms ease;
}
.v3-mobauth-engine-row[data-state="win"] {
  border-color: rgba(74,222,128,0.45);
  background: rgba(74,222,128,0.07);
}
.v3-mobauth-engine-row[data-state="win"] .v3-mobauth-engine-row-ic {
  color: #4ade80;
}
.v3-mobauth-engine-row[data-state="win"] .v3-mobauth-engine-row-name {
  color: var(--text-strong);
}
.v3-mobauth-engine-row[data-state="ok"] {
  border-color: rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.18);
}

.v3-mobauth-engine-badge {
  transition: background 320ms ease, color 320ms ease, opacity 320ms ease;
  white-space: nowrap;
}
.v3-mobauth-engine-badge--green {
  background: rgba(74,222,128,0.14);
  color: #6ee7a3;
}

.v3-mobauth-engine-status {
  transition: background 320ms ease, border-color 320ms ease, color 320ms ease;
}
.v3-mobauth-engine-status[data-tone="green"] {
  background: rgba(74,222,128,0.08);
  border-color: rgba(74,222,128,0.2);
  color: #6ee7a3;
}
.v3-mobauth-engine-status[data-tone="green"] .v3-mobauth-engine-status-dot {
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74,222,128,0.22);
}

/* pip strip */
.v3-mobauth-engine-pips {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.v3-mobauth-engine-pip {
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255,255,255,0.12);
  transition: background 240ms ease, width 240ms ease;
}
.v3-mobauth-engine-pip[data-active="true"] {
  background: var(--accent);
  width: 32px;
}

/* scenario name fade transition */
[data-scenario-name],
[data-status-text] {
  transition: opacity 240ms ease;
}
[data-scenario-name].fade-out,
[data-status-text].fade-out {
  opacity: 0;
}


/* ============================================================
   SCENE-ICON · code </>  — override rotation, breathe + blink
   ============================================================ */
.scene-icon.blue.scene-icon--code .scene-icon-symbol {
  animation: none !important;
}
.scene-icon--code .v3-code-l,
.scene-icon--code .v3-code-r,
.scene-icon--code .v3-code-s {
  transform-box: fill-box;
}
.scene-icon--code .v3-code-l {
  transform-origin: right center;
  animation: v3-code-l 2.6s ease-in-out infinite;
}
.scene-icon--code .v3-code-r {
  transform-origin: left center;
  animation: v3-code-r 2.6s ease-in-out infinite;
}
.scene-icon--code .v3-code-s {
  transform-origin: center;
  animation: v3-code-s 1.6s ease-in-out infinite;
}
@keyframes v3-code-l {
  0%, 100% { transform: translateX(0) scale(1); }
  50%      { transform: translateX(-2.5px) scale(1.04); }
}
@keyframes v3-code-r {
  0%, 100% { transform: translateX(0) scale(1); }
  50%      { transform: translateX(2.5px) scale(1.04); }
}
@keyframes v3-code-s {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.3; }
}
@media (prefers-reduced-motion: reduce) {
  .scene-icon--code .v3-code-l,
  .scene-icon--code .v3-code-r,
  .scene-icon--code .v3-code-s { animation: none !important; }
}
