/*
  SuperAppAnalytics — landing page v2 (/v2).
  Same design system as the main landing page (site.css + home.css), cut
  down to the point: the promise, the prompt and the product on the first
  screen, proof right under it, everything else short.
*/

/* ---------- Offer bar + nav under it ---------- */

.v2-bar {
  position: relative; z-index: 51;
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 14px;
  min-height: 40px; padding: 8px 16px;
  font-size: 14px; letter-spacing: -.01em; color: var(--text-2);
  text-align: center;
  border-bottom: 1px solid var(--hairline);
  background: var(--bg);
}
.v2-bar b { color: var(--text); font-weight: 650; }
.v2-bar a { display: inline-flex; align-items: center; gap: 5px; color: var(--text); font-weight: 600; }
.v2-bar a .i { font-size: 13px; transition: transform .3s var(--ease-out); }
.v2-bar a:hover .i { transform: translateX(3px); }

.v2 .nav-wrap { top: 54px; transition: top .45s var(--ease); }
.v2 .nav-wrap.is-scrolled { top: 14px; }

/* ---------- Hero: the whole pitch on one screen ---------- */

.v2-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 32px) 0 clamp(36px, 5vw, 64px);
}
.v2-hero .aura { height: 1000px; }
.v2-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
}
.v2-hero-copy { display: flex; flex-direction: column; align-items: flex-start; }

.v2-title { font-size: clamp(42px, 4.9vw, 68px); line-height: 1; }
.v2-sub {
  max-width: 600px; margin: 24px 0 0;
  font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--text-2);
}
.v2-punch { margin: 12px 0 0; font-size: clamp(17px, 1.4vw, 19px); font-weight: 650; letter-spacing: -.015em; }

/* The prompt itself is the call to action. */
.v2-prompt {
  display: flex; align-items: center; gap: 12px;
  width: min(100%, 620px);
  margin-top: 30px;
  padding: 10px 10px 10px 18px;
  border-radius: 22px;
}
.v2-prompt-caret { align-self: flex-start; margin-top: 1px; font-family: var(--mono); font-size: 17px; color: rgb(var(--primary)); user-select: none; -webkit-user-select: none; }
.v2-prompt-text {
  flex: 1; min-width: 0; margin: 0;
  font-family: var(--mono); font-size: 13.5px; line-height: 1.5; color: var(--text-2);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.v2-prompt-text b { color: var(--text); font-weight: 600; }
.copy-btn.v2-copy, .copy-btn.v2-copy-lg { background: var(--btn-bg); color: var(--btn-fg); }
.copy-btn.v2-copy { height: 50px; padding: 0 22px; font-size: 16px; }
.copy-btn.v2-copy:hover, .copy-btn.v2-copy-lg:hover { background: var(--btn-bg); box-shadow: 0 0 0 4px rgba(var(--glow), .12), 0 12px 38px rgba(var(--primary), .34); }
.copy-btn.v2-copy-lg { height: 56px; padding: 0 30px; font-size: 17px; }
.copy-btn.v2-copy .i, .copy-btn.v2-copy-lg .i { font-size: 17px; }
.copy-btn.is-copied .i-done { color: inherit; }

.v2-ctas { margin-top: 18px; }
.v2-demo-link { font-size: 16px; font-weight: 600; }

.v2-assure { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 26px 0 0; padding: 0; font-size: 14px; color: var(--text-2); }
.v2-assure li { display: inline-flex; align-items: center; gap: 7px; }
.v2-assure .i { font-size: 15px; stroke-width: 2.4; color: var(--text); }

.v2-hero-phone { position: relative; display: flex; justify-content: center; }
.v2-hero-phone::before {
  content: ""; position: absolute; inset: 12% -30% 0;
  background: radial-gradient(50% 45% at 50% 50%, rgba(var(--deep), .35), transparent 70%);
  opacity: var(--aura); pointer-events: none;
}
.v2-hero-phone .device { --s: .66; }
.v2-hero-phone .app-frame { pointer-events: none; }

/* Proof strip: three numbers right under the hero. */
.v2-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(28px, 3vw, 44px);
  border-top: 1px solid var(--hairline);
}
.v2-stat { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 0; border-left: 1px solid var(--hairline); }
.v2-stat:first-child { border-left: 0; padding-left: 0; }
.v2-stat b { font-family: var(--display); font-size: clamp(36px, 3.6vw, 52px); font-weight: 700; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.v2-stat span { max-width: 260px; font-size: 15px; line-height: 1.4; color: var(--text-2); }

/* ---------- Proof: the live demo, big ---------- */

.v2-proof { padding-top: clamp(72px, 8vw, 120px); }
.v2-demo {
  position: relative; display: block;
  max-width: 980px; margin: 0 auto;
  padding: clamp(22px, 3vw, 36px) clamp(22px, 3vw, 36px) 20px;
  overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s ease;
}
.v2-demo::before { content: ""; position: absolute; inset: -40% 10% auto; height: 70%; background: radial-gradient(50% 60% at 50% 40%, rgba(var(--deep), .26), transparent 70%); pointer-events: none; }
[data-theme="light"] .v2-demo::before { background: radial-gradient(50% 60% at 50% 40%, rgba(var(--primary), .1), transparent 70%); }
.v2-demo:hover { transform: translateY(-3px); }
.v2-demo-top { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.v2-demo-cap { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.v2-demo-go { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; }
.v2-demo-go .i { transition: transform .3s var(--ease-out); }
.v2-demo:hover .v2-demo-go .i { transform: translateX(3px); }
.v2-demo-fig { position: relative; display: block; margin-top: 10px; font-family: var(--display); font-size: clamp(56px, 8vw, 104px); font-weight: 700; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.v2-demo-cmp { position: relative; display: block; margin-top: 8px; font-size: 16px; color: var(--text-2); }
.v2-demo-cmp b { color: rgb(var(--positive)); font-weight: 650; }
.v2-demo-chart { position: relative; display: block; width: 100%; height: clamp(110px, 16vw, 170px); margin-top: 18px; overflow: visible; }
.v2-demo-chart .dm-ghost { fill: none; stroke: var(--ghost); stroke-width: 1.5; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.v2-demo-chart .dm-line { fill: none; stroke: rgb(var(--primary)); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgba(var(--glow), var(--line-glow))); }
.v2-demo-chart .dm-area { fill: url(#v2Area); }
.v2-demo-orb { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: rgb(var(--glow)); box-shadow: 0 0 0 3px rgba(var(--glow), .25), 0 0 12px rgba(var(--glow), .9); pointer-events: none; }
.v2-demo-orb::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(var(--glow), .6); animation: demo-ping 2.2s ease-out infinite; }
.v2-demo-axis { position: relative; display: flex; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--hairline); font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }

.v2-gets {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  max-width: 980px; margin: clamp(28px, 4vw, 48px) auto 0;
  background: var(--hairline); border: 1px solid var(--hairline); border-radius: var(--radius-card);
  overflow: hidden;
}
.v2-get { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; background: var(--bg); }
.v2-get b { font-size: 17px; font-weight: 650; letter-spacing: -.015em; }
.v2-get span { font-size: 15px; line-height: 1.45; color: var(--text-2); }

/* ---------- Three steps ---------- */

.v2-steps .section-head, .v2-trust .section-head { margin-bottom: clamp(32px, 4vw, 56px); }
.v2-three { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1060px; margin: 0 auto; padding: 0; }
.v2-three li { padding: clamp(24px, 2.6vw, 34px); }
.v2-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: 16px; font-weight: 700;
}
.v2-three h3 { margin: 20px 0 0; font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -.025em; }
.v2-three p { margin: 8px 0 0; font-size: 16px; line-height: 1.5; color: var(--text-2); }

/* ---------- Trust row ---------- */

.v2-trust { padding-top: 0; }
.v2-trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; max-width: 1060px; margin: 0 auto; }
.v2-trust-row div { display: flex; flex-direction: column; gap: 6px; padding-top: 18px; border-top: 2px solid var(--text); }
.v2-trust-row b { font-size: 17px; font-weight: 650; letter-spacing: -.015em; }
.v2-trust-row span { font-size: 15px; line-height: 1.45; color: var(--text-2); }

/* ---------- Price ---------- */

.v2-price { padding-top: 0; }

/* ---------- Recap ---------- */

.v2-recap { overflow: hidden; text-align: center; }
.v2-recap-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.v2-recap-kicker { margin: 0; font-size: 17px; font-weight: 600; color: var(--text-2); }
.v2-recap-title { margin-top: 10px; font-size: clamp(48px, 7vw, 96px); }
.v2-recap-list { list-style: none; display: grid; gap: 12px; margin: 32px 0 0; padding: 0; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.45; color: var(--text-2); }
.v2-recap-list b { color: var(--text); font-weight: 650; }
.v2-recap-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }

/* ---------- Narrow screens ---------- */

@media (max-width: 1020px) {
  .v2-hero-grid { grid-template-columns: 1fr; }
  .v2-hero-copy { align-items: center; text-align: center; }
  .v2-assure { justify-content: center; }
  .v2-prompt { text-align: left; }
  .v2-hero-phone .device { --s: .6; }
  .v2-trust-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .v2-bar { flex-wrap: nowrap; font-size: 13px; white-space: nowrap; }
  .v2-bar-more { display: none; }
  .v2 .copy-btn .copy-label { display: inline !important; }
  .v2-hero { padding-top: calc(var(--nav-h) + 28px); }
  .v2-title { font-size: clamp(29px, 8.4vw, 44px); letter-spacing: -.04em; }
  .v2-prompt { flex-wrap: wrap; padding: 14px; }
  .v2-prompt .v2-copy { width: 100%; }
  .v2-hero-phone .device { --s: .52; }
  .v2-stats { grid-template-columns: 1fr; }
  .v2-stat, .v2-stat:first-child { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--hairline); flex-direction: row; align-items: baseline; gap: 16px; }
  .v2-stat b { min-width: 132px; font-size: 30px; white-space: nowrap; }
  .v2-gets, .v2-three { grid-template-columns: 1fr; }
  .v2-trust-row { grid-template-columns: 1fr; }
}

/* ---------- Yours: the agent's funnels and cards for one app ---------- */

.v2-yours { padding-top: clamp(80px, 9vw, 128px); }
.v2-yours .section-head { margin-bottom: 32px; }
.v2-yours-tabs { display: flex; justify-content: center; margin-bottom: 22px; }
.v2-yours-tabs .seg-btn { gap: 9px; padding: 0 18px 0 12px; }
.v2-yours-tabs .app-icon { width: 22px; height: 22px; border-radius: 6px; }

.v2-yours-panel { max-width: 1060px; margin: 0 auto; }
.v2-log { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 0 0 22px; padding: 0; font-size: 14px; color: var(--text-2); }
.v2-log li { display: inline-flex; align-items: center; gap: 6px; }
.v2-log b { color: var(--text); font-weight: 650; font-variant-numeric: tabular-nums; }
.v2-log .i { font-size: 14px; stroke-width: 2.4; color: rgb(var(--primary)); }

.v2-yours-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.v2-cap { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.v2-cap .i { font-size: 14px; }

.v2-funnel { padding: clamp(22px, 2.6vw, 30px); }
.v2-funnel-head { margin: 12px 0 0; font-family: var(--display); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; letter-spacing: -.025em; color: var(--text-2); }
.v2-funnel-head b { color: var(--text); font-weight: 700; }
.v2-rows { list-style: none; display: grid; gap: 4px; margin: 20px 0 0; padding: 0; }
.v2-rows li { display: grid; grid-template-columns: minmax(0, 190px) 1fr 40px; align-items: center; gap: 16px; padding: 9px 0; border-top: 1px solid var(--hairline); font-size: 15px; }
.v2-rows li:first-child { border-top: 0; }
.v2-row-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v2-rows b { text-align: right; font-weight: 650; font-variant-numeric: tabular-nums; }
.v2-meter { position: relative; display: block; height: 6px; border-radius: 3px; background: var(--track); overflow: hidden; }
.v2-meter i {
  position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 3px;
  background: linear-gradient(90deg, rgb(var(--deep)), rgb(var(--glow)));
  box-shadow: 0 0 8px rgba(var(--glow), .5);
  transform-origin: left; transform: scaleX(0);
}
.v2-yours-panel.is-in .v2-meter i { animation: v2-fill .9s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 60ms + 80ms); }
.v2-rows li .v2-meter i { animation-delay: inherit; }
.v2-rows li { --d: calc(var(--i) * 60ms); }
.v2-yours-panel.is-in .v2-rows li .v2-meter i { animation-delay: calc(var(--d) + 80ms); }
@keyframes v2-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.v2-verdict { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--hairline); font-size: 15px; line-height: 1.45; color: var(--text-2); }
.v2-verdict b { color: var(--text); font-weight: 650; }

.v2-insights { display: grid; gap: 16px; }
.v2-insight { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px; }
.v2-yours-panel.is-in .v2-insight, .v2-yours-panel.is-in .v2-log li, .v2-yours-panel.is-in .v2-rows li { animation: v2-rise .6s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 70ms); }
.v2-yours-panel.is-in .v2-rows li .v2-meter i { animation-name: v2-fill; animation-duration: .9s; }
@keyframes v2-rise { from { opacity: 0; transform: translateY(8px); } }
.v2-insight-fig { display: flex; align-items: baseline; gap: 10px; margin: 0; }
.v2-insight-fig b { font-family: var(--display); font-size: 38px; font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.v2-insight-fig span { font-size: 15px; font-weight: 600; }
.v2-insight-text { margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--text-2); }
.v2-yours-note { margin: 18px 0 0; text-align: center; font-size: 13.5px; color: var(--text-3); }

/* ---------- Contrast table ---------- */

.v2-vs { padding-top: 0; }
.v2-vs .section-head { margin-bottom: clamp(32px, 4vw, 52px); }
.v2-vs-table { max-width: 1060px; margin: 0 auto; padding: 8px clamp(18px, 2.6vw, 32px); }
.v2-vs-row { display: grid; grid-template-columns: 180px 1fr 1fr; gap: 20px; align-items: center; padding: 18px 0; border-top: 1px solid var(--hairline); font-size: 16px; line-height: 1.4; }
.v2-vs-row:first-child { border-top: 0; }
.v2-vs-row > b { font-weight: 650; }
.v2-vs-row > span:nth-child(2) { color: var(--text-2); text-decoration: line-through; text-decoration-color: var(--text-3); text-decoration-thickness: 1px; }
.v2-vs-row > span:nth-child(3) { font-weight: 600; }
.v2-vs-head { padding: 14px 0 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.v2-vs-head > span:nth-child(2) { color: var(--text-2); text-decoration: none; }
.v2-vs-head > span:nth-child(3) { color: rgb(var(--primary)); font-weight: 650; }

@media (max-width: 900px) {
  .v2-yours-grid { grid-template-columns: 1fr; }
  .v2-insights { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .v2-yours-tabs .seg-btn { padding: 0 12px 0 8px; font-size: 13px; }
  .v2-yours-tabs .app-icon { display: none; }
  .v2-insights { grid-template-columns: 1fr; }
  .v2-rows li { grid-template-columns: minmax(0, 1fr) 70px 34px; gap: 10px; font-size: 14px; }
  .v2-vs-row { grid-template-columns: 1fr 1fr; gap: 6px 14px; font-size: 15px; }
  .v2-vs-row > b { grid-column: 1 / -1; }
  .v2-vs-head > span:first-child { display: none; }
}
.v2-cmp { display: grid; gap: 8px; }
.v2-cmp-row { display: grid; grid-template-columns: 116px 1fr 32px; align-items: center; gap: 12px; font-size: 13.5px; color: var(--text-2); }
.v2-cmp-row b { text-align: right; color: var(--text); font-weight: 650; font-variant-numeric: tabular-nums; }
.v2-cmp-row + .v2-cmp-row .v2-meter i { background: var(--text-3); box-shadow: none; }

/* =========== Centered hero (MotionLab-style), overrides the split hero above =========== */

.v2-hero { padding-bottom: 0; }
.v2-hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; }
.v2-works {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 26px; padding: 5px 16px 5px 5px; border-radius: 999px;
  font-size: 14px; font-weight: 600; letter-spacing: -.01em;
}
.v2-works img { width: 26px; height: 26px; border-radius: 7px; }
.v2-title { font-size: clamp(40px, 6vw, 84px); line-height: 1.02; letter-spacing: -.05em; }
.v2-title .hero-live { display: inline-block; padding-bottom: .06em; }
.v2-sub { max-width: none; margin: 22px 0 0; font-size: clamp(18px, 1.7vw, 22px); }
.v2-sub b { color: var(--text); font-weight: 650; }
.v2-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.v2-note { margin: 16px 0 0; font-size: 14px; color: var(--text-2); }

/* Stage: the phone in the middle, cards floating either side. */
.v2-stage {
  position: relative;
  display: flex; justify-content: center;
  margin: clamp(40px, 5vw, 64px) auto 0;
  max-width: 1180px;
  height: calc(880px * .74 * .78);          /* phone cropped at ~78% of its height */
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
          mask-image: linear-gradient(180deg, #000 70%, transparent);
}
.v2-stage .v2-hero-phone .device { --s: .74; }
.v2-float {
  position: absolute; z-index: 2;
  width: 260px; padding: 16px 18px;
  text-align: left;
  border-radius: 22px;
  box-shadow: var(--card-shadow), 0 24px 60px rgba(0, 0, 0, .35);
  animation: v2-bob 6s ease-in-out infinite;
}
[data-theme="light"] .v2-float { box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 24px 50px rgba(0, 0, 0, .1); }
.v2-float-l1 { left: calc(50% - 470px); top: 40px; transform: rotate(-4deg); --r: -4deg; }
.v2-float-l2 { left: calc(50% - 400px); top: 270px; width: 220px; --r: 3deg; animation-delay: -2s; }
.v2-float-r1 { right: calc(50% - 420px); top: 70px; width: 220px; --r: 4deg; animation-delay: -1s; }
.v2-float-r2 { right: calc(50% - 470px); top: 230px; --r: -3deg; animation-delay: -3s; }
@keyframes v2-bob { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-8px) rotate(var(--r, 0deg)); } }
.v2-float .v2-cap { margin-bottom: 10px; }
.v2-float .v2-cap .live-dot { margin-right: 2px; }
.v2-mini-rows { list-style: none; display: grid; gap: 8px; margin: 0; padding: 0; }
.v2-mini-rows li { display: grid; grid-template-columns: 96px 1fr 26px; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; }
.v2-mini-rows b { text-align: right; font-variant-numeric: tabular-nums; }
.v2-mini-rows .v2-meter i, .v2-float .v2-meter i { transform: none; }
.v2-float-fig { display: flex; align-items: baseline; gap: 8px; margin: 0; }
.v2-float-fig b { font-family: var(--display); font-size: 34px; font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.v2-float-fig span { font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.v2-float .v2-meter { margin-top: 10px; }
.v2-float-foot { margin: 10px 0 0; font-size: 12.5px; color: var(--text-2); }

.v2-hero + * , .v2-hero .v2-stats { position: relative; }
.v2-hero .v2-stats { margin-top: 8px; }

@media (max-width: 1100px) {
  .v2-float { display: none; }
}
@media (max-width: 760px) {
  .v2-works { font-size: 13px; }
  .v2-title { font-size: clamp(30px, 9vw, 44px); }
  .v2-sub { font-size: 17px; }
  .v2-ctas { flex-direction: column; align-items: stretch; width: 100%; }
  .v2-stage .v2-hero-phone .device { --s: .6; }
  .v2-stage { height: calc(880px * .6 * .78); }
}
.v2-hero { padding-top: calc(var(--nav-h) + 52px); }
.v2-float-l1 { width: 290px; --r: -3deg; }
.v2-mini-rows li { grid-template-columns: 112px 1fr 28px; white-space: nowrap; }
.v2-float-r1 { width: 250px; --r: 3deg; }
.v2-float-fig span { white-space: nowrap; }
.v2-float-l2 { --r: 2deg; }
.v2-float-r2 { --r: -2deg; }
@media (max-width: 760px) { .v2-hero { padding-top: calc(var(--nav-h) + 36px); } }
.v2-float-l2 { left: calc(50% - 450px); top: 290px; width: 240px; }
.v2-chips { list-style: none; display: grid; gap: 7px; margin: 0; padding: 0; }
.v2-chips li { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.v2-chips .i { font-size: 14px; stroke-width: 2.4; color: rgb(var(--primary)); }
.v2-chips code { font-family: var(--mono); font-size: 12.5px; padding: 3px 8px; border-radius: 7px; background: var(--fill-2); }
@media (max-width: 760px) { .v2-t1 { display: block; } }

/* ---------- What's in the app: four real screens ---------- */

.v2-tour { padding-top: clamp(80px, 9vw, 128px); }
.v2-tour .section-head { margin-bottom: clamp(36px, 4vw, 56px); }
.v2-tour-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); max-width: 1080px; margin: 0 auto; }
.v2-tour-item { margin: 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.v2-tour-phone {
  display: flex; justify-content: center;
  height: calc(880px * .5 * .82); overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent);
          mask-image: linear-gradient(180deg, #000 78%, transparent);
}
.v2-tour-phone .device { --s: .5; }
.v2-tour-phone .app-frame { pointer-events: none; }
.v2-tour-item figcaption { display: flex; flex-direction: column; gap: 6px; max-width: 230px; margin-top: 18px; }
.v2-tour-item figcaption b { font-size: 18px; font-weight: 650; letter-spacing: -.02em; }
.v2-tour-item figcaption span { font-size: 15px; line-height: 1.45; color: var(--text-2); }
.v2-tour-also { margin: 36px 0 0; text-align: center; font-size: 15px; color: var(--text-2); }

@media (max-width: 1020px) {
  .v2-tour-row { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
}
@media (max-width: 560px) {
  .v2-tour-row {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 18px;
    margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px;
    scrollbar-width: none;
  }
  .v2-tour-row::-webkit-scrollbar { display: none; }
  .v2-tour-item { flex: 0 0 74%; scroll-snap-align: center; }
}
.v2-tour-row { max-width: 1180px; }
.v2-tour-phone { height: calc(880px * .56 * .82); }
.v2-tour-phone .device { --s: .56; }
@media (max-width: 1240px) and (min-width: 1021px) { .v2-tour-phone .device { --s: .5; } .v2-tour-phone { height: calc(880px * .5 * .82); } }

/* ---------- iPhone app + web dashboard ---------- */

.v2-both .section-head { margin-bottom: clamp(36px, 4vw, 56px); }
.v2-both-stage { position: relative; max-width: 1080px; margin: 0 auto; padding-right: clamp(0px, 9vw, 120px); }
.v2-browser {
  position: relative; display: block;
  border-radius: 18px; overflow: hidden;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--hairline-2), 0 40px 100px rgba(0, 0, 0, .5);
  transition: transform .5s var(--ease-out), box-shadow .4s ease;
}
[data-theme="light"] .v2-browser { box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 30px 80px rgba(0, 0, 0, .14); }
.v2-browser:hover { transform: translateY(-4px); }
.v2-browser-bar { display: flex; align-items: center; gap: 14px; height: 42px; padding: 0 14px; background: var(--surface-2); border-bottom: 1px solid var(--hairline); }
.v2-dots { display: flex; gap: 7px; }
.v2-dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--track); }
.v2-url { display: inline-flex; align-items: center; gap: 6px; margin: 0 auto; padding: 5px 14px; border-radius: 8px; background: var(--fill-2); font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.v2-url .i { font-size: 12px; }
.v2-browser-open { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--text-2); transition: color .2s ease; }
.v2-browser:hover .v2-browser-open { color: var(--text); }
.v2-browser-view { position: relative; display: block; aspect-ratio: 1440 / 860; overflow: hidden; }
.v2-browser-view iframe { position: absolute; left: 0; top: 0; width: 1440px; height: 860px; border: 0; transform-origin: 0 0; transform: scale(var(--k, .7)); pointer-events: none; }

.v2-both-phone {
  position: absolute; right: 0; bottom: -40px; z-index: 2;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .45));
}
.v2-both-phone .device { --s: .5; }
.v2-both-phone .app-frame { pointer-events: none; }

.v2-both-labels { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 760px; margin: clamp(72px, 7vw, 96px) auto 0; }
.v2-both-labels div { display: flex; flex-direction: column; gap: 6px; padding-top: 16px; border-top: 2px solid var(--text); }
.v2-both-labels b { font-size: 18px; font-weight: 650; letter-spacing: -.02em; }
.v2-both-labels span { font-size: 15px; line-height: 1.45; color: var(--text-2); }

@media (max-width: 760px) {
  .v2-both-stage { padding-right: 0; }
  .v2-both-phone { right: -6px; bottom: -30px; }
  .v2-both-phone .device { --s: .3; }
  .v2-browser-open { display: none; }
  .v2-both-labels { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 760px) {
  .v2-both-phone .device { --s: .25; }
  .v2-both-phone { right: -4px; bottom: -36px; }
  .v2-both-labels { grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 64px; }
  .v2-both-labels b { font-size: 16px; }
  .v2-both-labels span { font-size: 14px; }
}

/* ---------- Nav: the live demo, one click away ---------- */

.v2-nav-demo { gap: 7px; height: 40px; padding: 0 16px; font-size: 15px; }
.v2-nav-demo .live-dot { margin: 0; }
@media (max-width: 1100px) { .v2-nav-demo { display: none; } }

/* ---------- vs RevenueCat ---------- */

.v2-rc .section-head { margin-bottom: clamp(36px, 4vw, 56px); }
.v2-rc-board {
  position: relative; isolation: isolate;
  max-width: 1000px; margin: 0 auto;
  display: grid;
}
/* Our column glows: a lit panel behind the third column. */
.v2-rc-glow {
  position: absolute; z-index: -1; top: 0; bottom: 0; right: 0; width: 34%;
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, rgba(var(--primary), .16), rgba(var(--primary), .04));
  box-shadow: inset 0 0 0 1px rgba(var(--primary), .45), 0 30px 80px rgba(var(--deep), .25);
}
[data-theme="light"] .v2-rc-glow { background: #fff; box-shadow: inset 0 0 0 1.5px rgba(var(--primary), .55), 0 24px 60px rgba(var(--primary), .16); }
.v2-rc-row { display: grid; grid-template-columns: 1fr 33% 34%; align-items: center; min-height: 64px; border-top: 1px solid var(--hairline); font-size: 16px; }
.v2-rc-row > * { padding: 14px 20px; }
.v2-rc-row > :first-child { padding-left: 0; font-weight: 600; }
.v2-rc-row > :nth-child(2), .v2-rc-row > :nth-child(3) { text-align: center; }
.v2-rc-head { border-top: 0; min-height: 88px; }
.v2-rc-mark { display: inline-flex; align-items: center; gap: 9px; font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.v2-rc-mark img { width: 28px; height: 28px; border-radius: 7px; }
.v2-rc-them { color: var(--text-2); }
.v2-yes { font-size: 24px; stroke-width: 2.6; color: rgb(var(--primary)); vertical-align: middle; }
.v2-rc-row > :nth-child(2) .v2-yes { color: var(--text-2); }
.v2-no { font-size: 20px; color: var(--text-3); }
.v2-partial { font-size: 14px; color: var(--text-2); }
.v2-rc-price { font-size: 15px; color: var(--text-2); }
.v2-rc-price b { color: var(--text); font-weight: 650; }
.v2-rc-keep { max-width: 720px; margin: 36px auto 0; text-align: center; font-size: 17px; line-height: 1.5; color: var(--text-2); }
.v2-rc-keep b { color: var(--text); font-weight: 650; }
.v2-rc-fine { margin: 14px 0 0; text-align: center; font-size: 12.5px; color: var(--text-3); }

@media (max-width: 760px) {
  .v2-rc-row { grid-template-columns: 1fr 26% 30%; font-size: 14px; min-height: 56px; }
  .v2-rc-row > * { padding: 12px 8px; }
  .v2-rc-glow { width: 30%; }
  .v2-rc-mark { flex-direction: column; gap: 4px; font-size: 12px; }
  .v2-rc-mark img { width: 24px; height: 24px; }
  .v2-partial, .v2-rc-price { font-size: 12.5px; }
}
.v2 .nav-links a { white-space: nowrap; }
.v2-rc-row > :nth-child(2), .v2-rc-row > :nth-child(3) { display: flex; justify-content: center; align-items: center; }
@media (max-width: 1100px) { .v2-nav-demo { display: inline-flex; } }
@media (max-width: 1180px) and (min-width: 1021px) { .v2 .nav-signin { display: none; } }
@media (max-width: 760px) { .v2-nav-demo { height: 36px; padding: 0 12px; font-size: 14px; } .v2 .brand span { font-size: 15px; } }
@media (max-width: 400px) { .v2 .brand span { display: none; } }
@media (max-width: 1020px) {
  .v2 .nav-links { display: none; }
  .v2 .nav-menu-btn { display: inline-grid; }
  .v2 .nav .nav-signin { display: none; }
}
.v2-anchor { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }
