/* ════════════════════════════════════════════════════════════════════════
   /iphone — the Inpherio Live page (2026-11-16). Built on the site's tiles,
   pills and terminals; this file only adds what the page needs on top:
   the notice strip, device frames, the "doesn't fit" bars, benchmark bars,
   the session player and the memory stepper. Tokens only, both themes;
   the terminal and the device frames are dark in both (like .code).
   ════════════════════════════════════════════════════════════════════════ */

/* ── the notice: the first thing on the page ───────────────────────────── */
.lv-notice { background: var(--blue-tint); border-bottom: 1px solid var(--line); }
.lv-notice .wrap { padding-top: .85rem; padding-bottom: .85rem; }
.lv-notice p { margin: 0; color: var(--ink); font-size: .95rem; line-height: 1.55; max-width: none; }
.lv-notice b { color: var(--link); }

/* ── hero ──────────────────────────────────────────────────────────────── */
main > section.lv-hero { padding-inline: max(var(--page-gutter), calc((100% - var(--page-max)) / 2)); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center; text-align: left;
  /* room under the Free/Plus strip: the dark band used to stop right at the pills (Russ 2026-11-28) */
  padding-bottom: clamp(3rem, 6vw, 5rem); }
.lv-hero .tile-copy { text-align: left; margin: 0; max-width: 40rem; }
.lv-hero .tile-ctas { justify-content: flex-start; }
.lv-eyebrow { font-size: 1rem; color: #a1a1a6; margin: 0 0 .9rem; }
.lv-mark { color: #f5f5f7; font-weight: 600; }
.lv-title { font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1.02; letter-spacing: -.03em; margin: 0 0 1.2rem; }
.lv-tag { font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.5; color: #c7c7cc; font-weight: 400; max-width: 36rem; }
.lv-soon { cursor: default; }
.lv-hero-visual { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.4rem; align-items: center; }
.lv-hero-phone { width: clamp(180px, 18vw, 250px); }
.lv-hero-stats { display: grid; gap: .8rem; }
.lv-stat { display: grid; gap: .15rem; padding: 1rem 1.1rem; border-radius: 18px; background: rgba(255,255,255,.06);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.09); }
.lv-stat-big { font: 600 clamp(1.6rem, 2.6vw, 2.2rem)/1.05 var(--font-sys); letter-spacing: -.02em; color: #f5f5f7; }
.lv-stat-cap { font-size: .86rem; line-height: 1.4; color: #a1a1a6; }
@media (max-width: 900px) {
  main > section.lv-hero { grid-template-columns: 1fr; }
  .lv-hero-visual { grid-template-columns: auto minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .lv-hero-visual { grid-template-columns: 1fr; justify-items: center; }
  .lv-hero-stats { width: 100%; }
}

/* ── hero: the deck — strongest results, one card at a time ─────────── */
.lv-hero-deck { display: grid; gap: .7rem; min-width: 0; }
.lv-hc-stack { display: grid; }
.lv-hero-card { grid-area: 1 / 1; display: grid; gap: .6rem; align-content: start; padding: 1.05rem 1.15rem; border-radius: 18px;
  background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.09);
  opacity: 0; transform: translateY(8px); pointer-events: none; visibility: hidden;
  transition: opacity .45s ease, transform .45s ease, visibility 0s .45s; }
.lv-hero-card.is-on { opacity: 1; transform: none; pointer-events: auto; visibility: visible;
  transition: opacity .45s ease .12s, transform .45s ease .12s; }
.lv-hc-top { margin: 0; display: flex; justify-content: space-between; align-items: center; gap: .6rem; }
.lv-hc-top span { font-size: .74rem; color: #a1a1a6; white-space: nowrap; }
.lv-hc-name { margin: 0; font: 600 1.2rem/1.15 var(--font-sys); letter-spacing: -.01em; color: #f5f5f7; }
.lv-hc-tps { margin: 0; display: flex; align-items: baseline; gap: .45rem; }
.lv-hc-tps b { font: 600 clamp(1.6rem, 2.4vw, 2.1rem)/1 var(--font-sys); letter-spacing: -.02em; color: #f5f5f7; font-variant-numeric: tabular-nums; }
.lv-hc-tps small { font-size: .8rem; color: #a1a1a6; }
/* the site's "doesn't fit" bars, at home on a dark card */
.lv-hero-card .lv-bar { color: #a1a1a6; font-size: .78rem; padding-bottom: 13px; }
.lv-hero-card .lv-bar b { color: #f5f5f7; }
.lv-hero-card .lv-bar::after { height: 7px; background: rgba(255,255,255,.14); }
.lv-hero-card .lv-bar--model b { color: #bf5af2; }
.lv-hc-cap { margin: .1rem 0 0; font-size: .8rem; line-height: 1.45; color: #a1a1a6; }
.lv-hc-dots { margin: 0; display: flex; gap: .45rem; justify-content: center; }
.lv-hc-dots:empty { display: none; }
.lv-hc-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 99px; background: rgba(255,255,255,.22);
  cursor: pointer; transition: width .3s ease, background .3s ease; }
.lv-hc-dots button.is-on { width: 22px; background: var(--accent); }
.lv-hc-dots button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .lv-hero-card, .lv-hc-dots button { transition: none; } }

/* ── device frames ─────────────────────────────────────────────────────── */
.lv-device { margin: 0; position: relative; background: #0b0b0d; box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset,
  0 30px 70px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(0,0,0,.4); }
.lv-device img { display: block; width: 100%; height: auto; }
.lv-device--phone { padding: 9px; border-radius: 46px; }
.lv-device--phone img { border-radius: 37px; }
.lv-device--pad { padding: 12px; border-radius: 28px; }
.lv-device--pad img { border-radius: 16px; }

/* ── sections ──────────────────────────────────────────────────────────── */
/* the site alternates grey on even sections; this page sets its own rhythm */
main > section.lv-section { padding: clamp(3rem, 2rem + 4vw, 5.5rem) 0; background: var(--bg); border-block: 0; }
main > section.lv-band { background: var(--paper); border-block: 1px solid var(--line); }
.lv-section .code-grid + h3, .lv-section .lv-term + h3 { margin-top: 3rem; }
.lv-section h3 { font-size: 1.15rem; letter-spacing: -.01em; margin: 0 0 .6rem; color: var(--ink); }
.lv-foot { font-size: .9rem; color: var(--muted); margin-top: 1.2rem; }
.lv-plus { padding: 1rem 1.1rem; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.lv-how > div { min-width: 0; }

/* ── "doesn't fit" bars ────────────────────────────────────────────────── */
.lv-fit { display: grid; gap: 1.6rem; margin-top: 2.2rem; }
.lv-fit-row { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: 1.4rem; align-items: center;
  padding: 1.4rem; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.lv-fit-dev { margin: 0; display: grid; gap: .2rem; }
.lv-fit-dev b { font-size: 1.05rem; color: var(--ink); }
.lv-fit-dev span { color: var(--muted); font-size: .9rem; }
.lv-bars { display: grid; gap: .55rem; min-width: 0; }
.lv-bar { position: relative; margin: 0; display: flex; justify-content: space-between; gap: 1rem; padding: 0 0 16px;
  font-size: .9rem; color: var(--body); max-width: none; }
.lv-bar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 9px; border-radius: 99px; background: var(--cloud-2); }
.lv-bar::before { content: ""; position: absolute; left: 0; bottom: 0; height: 9px; width: var(--w, 0%); z-index: 1; border-radius: 99px;
  transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.lv-bar span { min-width: 0; }
.lv-bar b { color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lv-bar--ram::before { background: var(--muted); }
.lv-bar--app::before { background: var(--accent); }
.lv-bar--model::before { background: linear-gradient(90deg, #0a84ff, #8e44ec); }
.lv-bar--model b { color: var(--violet); }
@media (max-width: 720px) { .lv-fit-row { grid-template-columns: 1fr; } }

/* ── benchmarks: every model × three devices ────────────────────────────
   A grid on wide screens (model | iPad | 17 | 14); below 820px each model is
   a card and each device a labelled line inside it (label from data-dev). */
.lv-bench { display: grid; gap: 2.6rem; margin-top: 1.6rem; }
.lv-mx-nav { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.6rem; }
.lv-mx-nav a { min-height: 34px; display: inline-flex; align-items: center; padding: 0 .9rem; border-radius: 99px; font: 600 .84rem/1 var(--font-sys);
  color: var(--body); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; }
.lv-mx-nav a:hover { color: var(--ink); background: var(--hover); }
.lv-mx-group { scroll-margin-top: 5rem; }
.lv-mx-group h3 { margin: 0 0 .3rem; }
.lv-mx-blurb { margin: 0 0 1rem; color: var(--muted); font-size: .92rem; max-width: 52rem; }
.lv-mx { display: grid; gap: .5rem; }
.lv-mx-head, .lv-mx-row { display: grid; grid-template-columns: minmax(0, 13rem) repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.lv-mx-head { padding: 0 1rem .2rem; }
.lv-mx-dev { margin: 0; display: grid; gap: .1rem; }
.lv-mx-dev b { font-size: .86rem; color: var(--ink); }
.lv-mx-dev span { font-size: .74rem; color: var(--muted); }
.lv-mx-row { padding: .85rem 1rem; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.lv-mx-row.is-empty { opacity: .7; }
.lv-mx-name { margin: 0; display: grid; gap: .25rem; min-width: 0; }
.lv-mx-name b { color: var(--ink); font-size: .98rem; overflow-wrap: anywhere; }
.lv-mx-name span { font-size: .78rem; color: var(--muted); }
.lv-mx-cell { min-width: 0; display: grid; gap: .35rem; }
.lv-mx-val { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: .1rem .4rem; font-variant-numeric: tabular-nums; }
.lv-mx-val b { font: 600 1.12rem/1.1 var(--font-sys); color: var(--ink); }
.lv-mx-val small { font-size: .72rem; font-weight: 500; color: var(--muted); }
.lv-mx-val .lv-chip, .lv-mx-val .lv-play { margin-left: auto; }
.lv-mx-track { position: relative; height: 8px; border-radius: 99px; background: var(--cloud-2); overflow: hidden; }
.lv-mx-track i { position: absolute; inset: 0 auto 0 0; width: var(--w, 0%); border-radius: 99px; background: var(--accent);
  transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.lv-mx-cell.is-storage .lv-mx-track i { background: linear-gradient(90deg, #ff9f0a, #8e44ec); }
.lv-mx-sub { margin: 0; font-size: .74rem; line-height: 1.35; color: var(--muted); }
.lv-mx-note { font-size: .72rem; line-height: 1.35; color: var(--amber); }
.lv-mx-why { margin: 0; font-size: .8rem; line-height: 1.4; color: var(--muted); }
.lv-chip { display: inline-block; padding: .1rem .5rem; border-radius: 99px; font: 600 .72rem/1.5 var(--font-sys);
  background: var(--blue-tint); color: var(--link); white-space: nowrap; }
.lv-chip--gold { background: var(--amber-tint); color: var(--amber); }
.lv-play { display: inline-flex; align-items: center; gap: .3rem; min-height: 28px; padding: 0 .7rem; border: 0; border-radius: 99px;
  font: 600 .74rem/1 var(--font-sys); color: #fff; background: var(--accent); cursor: pointer; }
.lv-play::before { content: ""; width: 0; height: 0; border-left: 7px solid currentColor; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.lv-play.is-playing::before { width: 7px; height: 9px; border: 0; background: linear-gradient(90deg, currentColor 35%, transparent 35% 65%, currentColor 65%); }
.lv-play:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 820px) {
  .lv-mx-head { display: none; }
  .lv-mx-row { grid-template-columns: 1fr; gap: .7rem; }
  .lv-mx-name { grid-template-columns: 1fr auto; align-items: baseline; padding-bottom: .5rem; border-bottom: 1px solid var(--line); }
  .lv-mx-cell { grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr); column-gap: .8rem; align-items: center; }
  .lv-mx-cell::before { content: attr(data-dev); grid-row: 1 / span 3; font-size: .78rem; font-weight: 600; color: var(--body); }
  .lv-mx-cell > * { grid-column: 2; }
}
@media (max-width: 420px) {
  .lv-mx-cell { grid-template-columns: 1fr; }
  .lv-mx-cell::before { grid-row: auto; }
  .lv-mx-cell > * { grid-column: 1; }
}

/* ── screenshots: a strip you can drag, swipe or step through ───────────
   Every frame is the same height, so nothing jumps as images arrive; snapping is
   "proximity" (it settles near a frame but never fights the finger). */
.lv-gallery { position: relative; margin-top: 2rem; }
.lv-shots { --shot-h: clamp(340px, 46vw, 500px); display: flex; gap: 1.6rem; overflow-x: auto; overflow-y: hidden; padding: 1rem .3rem 1.2rem;
  align-items: flex-start; scroll-snap-type: x proximity; scroll-padding-inline: .3rem; overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--line) transparent; cursor: grab; }
.lv-shots.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.lv-shots:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 12px; }
.lv-shot { flex: none; margin: 0; scroll-snap-align: start; display: grid; gap: .8rem; justify-items: start; }
.lv-shot .lv-device { display: block; height: var(--shot-h); width: auto; }
.lv-shot .lv-device img { height: 100%; width: auto; }
.lv-shot--phone .lv-device { padding: 8px; border-radius: 40px; }
.lv-shot--phone .lv-device img { border-radius: 32px; }
.lv-shot figcaption { font-size: .86rem; line-height: 1.4; color: var(--muted); width: 0; min-width: 100%; }
.lv-shot button { all: unset; cursor: zoom-in; display: block; border-radius: 40px; -webkit-tap-highlight-color: transparent; }
.lv-shot button img { pointer-events: none; -webkit-user-drag: none; }
.lv-shot button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.lv-gal-btn { position: absolute; top: calc(1rem + clamp(340px, 46vw, 500px) / 2); translate: 0 -50%; z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; color: var(--ink); background: var(--surface);
  box-shadow: 0 0 0 1px var(--line), 0 6px 20px rgba(0,0,0,.16); transition: opacity .2s, transform .2s; }
.lv-gal-btn[hidden] { display: none; }
.lv-gal-btn:hover { transform: scale(1.06); }
.lv-gal-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lv-gal-prev { left: -.6rem; }
.lv-gal-next { right: -.6rem; }
@media (hover: none), (max-width: 720px) { .lv-gal-btn { display: none; } }
@media (prefers-reduced-motion: no-preference) { .lv-shots { scroll-behavior: smooth; } }

/* ── the lightbox ──────────────────────────────────────────────────────── */
.lv-zoom { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: transparent; color: #f5f5f7; overflow: hidden; }
.lv-zoom::backdrop { background: rgba(0,0,0,.9); }
.lv-zoom[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.lv-zoom-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; font: 500 .86rem/1 var(--font-sys); color: #a1a1a6; }
.lv-zoom-stage { min-height: 0; display: grid; place-items: center; padding: 0 3.6rem; touch-action: pan-y; }
.lv-zoom-stage img { display: block; max-width: 100%; max-height: calc(100dvh - 8.6rem); width: auto; height: auto; border-radius: 18px; background: #0b0b0d;
  box-shadow: 0 20px 60px rgba(0,0,0,.6); transition: opacity .18s; }
.lv-zoom-stage img.is-loading { opacity: .35; }
.lv-zoom-cap { margin: 0; max-width: none; padding: .9rem 1.2rem 1.2rem; text-align: center; font-size: .95rem; line-height: 1.4; color: #e5e5ea; }
.lv-zoom button { border: 0; border-radius: 50%; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; color: #f5f5f7;
  background: rgba(255,255,255,.12); transition: background .2s; }
.lv-zoom button:hover { background: rgba(255,255,255,.22); }
.lv-zoom button:focus-visible { outline: 2px solid #64d2ff; outline-offset: 2px; }
.lv-zoom-nav { position: absolute; top: 50%; translate: 0 -50%; }
.lv-zoom-nav[hidden] { display: none; }
.lv-zoom-prev { left: .7rem; }
.lv-zoom-next { right: .7rem; }
@media (max-width: 600px) { .lv-zoom-stage { padding: 0 .6rem; } .lv-zoom-nav { top: auto; bottom: 4.6rem; translate: none; } }

/* ── the session player ────────────────────────────────────────────────── */
.lv-term { margin-top: 2rem; }
.lv-devtabs { display: inline-flex; flex-wrap: wrap; gap: .3rem; padding: .3rem; margin-bottom: 1rem; border-radius: 99px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.lv-devtabs button { min-height: 38px; display: inline-flex; align-items: center; gap: .45rem; padding: 0 1rem; border: 0; border-radius: 99px;
  font: 600 .88rem/1 var(--font-sys); color: var(--body); background: transparent; cursor: pointer; transition: background .2s, color .2s; }
.lv-devtabs button small { font-size: .72rem; font-weight: 500; color: var(--muted); }
.lv-devtabs button:hover { color: var(--ink); background: var(--hover); }
.lv-devtabs button[aria-selected="true"] { background: var(--ink); color: var(--on-ink); }
.lv-devtabs button[aria-selected="true"] small { color: inherit; opacity: .7; }
.lv-devtabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lv-term-body { display: grid; grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); gap: 1rem; align-items: start; }
.lv-pick { min-width: 0; }
.lv-pick-label, .lv-pick-sel { display: none; }
.lv-pick-list { max-height: calc(clamp(22rem, 52vh, 34rem) + 2.9rem); overflow-y: auto; padding: .4rem; border-radius: var(--r-lg);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); scrollbar-width: thin; }
.lv-pick-group { margin: .7rem .6rem .3rem; font: 600 .7rem/1.2 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.lv-pick-group:first-child { margin-top: .3rem; }
.lv-pick-list button { width: 100%; display: grid; gap: .1rem; padding: .5rem .65rem; border: 0; border-radius: 10px; text-align: left;
  background: transparent; color: var(--ink); font: 600 .86rem/1.25 var(--font-sys); cursor: pointer; }
.lv-pick-list button small { font-size: .74rem; font-weight: 500; color: var(--muted); }
.lv-pick-list button:hover { background: var(--hover); }
.lv-pick-list button[aria-selected="true"] { background: var(--accent); color: #fff; }
.lv-pick-list button[aria-selected="true"] small { color: rgba(255,255,255,.82); }
.lv-pick-list button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
@media (max-width: 900px) {
  .lv-term-body { grid-template-columns: 1fr; }
  .lv-pick-list { display: none; }
  .lv-pick-label { display: block; margin: 0 0 .35rem; font-size: .82rem; font-weight: 600; color: var(--muted); }
  .lv-pick-sel { display: block; width: 100%; min-height: 44px; padding: 0 .8rem; border-radius: 12px; border: 1px solid var(--line);
    background: var(--surface); color: var(--ink); font: 500 .95rem/1.2 var(--font-sys); }
  .lv-devtabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 16px; }
  .lv-devtabs button { flex-direction: column; justify-content: center; gap: .15rem; min-height: 54px; padding: .4rem .5rem; border-radius: 12px;
    font-size: .82rem; line-height: 1.15; text-align: center; white-space: normal; }
}
.lv-console .code-head { gap: .6rem; }
.lv-console-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lv-screen { --ink: #f5f5f7; --muted: #8e8e93; --link: #6bdfff;
  height: clamp(22rem, 52vh, 34rem); overflow-y: auto; padding: 1.1rem 1.2rem 1.4rem; margin: 0;
  font: .84rem/1.7 var(--font-mono); color: #e5e5ea; white-space: pre-wrap; overflow-wrap: anywhere;
  scrollbar-width: thin; scrollbar-color: #3a3a3c transparent; }
.lv-screen .t-p { color: #64d2ff; }            /* the shell prompt */
.lv-screen .t-cmd { color: #f5f5f7; }
.lv-screen .t-dim { color: #8e8e93; }
.lv-screen .t-think { color: #9a9aa2; font-style: italic; }
.lv-screen .t-ok { color: #8be38e; }
.lv-screen .t-k { color: #c9b3ff; }
.lv-screen .t-s { color: #f3d68b; }
.lv-screen .t-n { color: #a8e6a3; }
.lv-screen .t-wait { color: #8e8e93; }
.lv-screen .t-cur { display: inline-block; width: .6em; height: 1.1em; vertical-align: -.2em; background: #f5f5f7; animation: lv-blink 1s steps(1) infinite; }
@keyframes lv-blink { 50% { opacity: 0; } }
.lv-ns { color: #8e8e93; }
.lv-audio { display: block; width: calc(100% - 2.4rem); margin: 0 1.2rem 1.2rem; }
.lv-audio[hidden] { display: none; }
.lv-term-note { font-size: .88rem; color: var(--muted); margin-top: .9rem; min-height: 1.4em; }
@media (prefers-reduced-motion: reduce) { .lv-screen .t-cur { animation: none; } }

/* ── endpoints table ───────────────────────────────────────────────────── */
.lv-table td:first-child { white-space: nowrap; }
@media (max-width: 720px) { .lv-table td:first-child { white-space: normal; } }

/* ── the memory stepper ────────────────────────────────────────────────── */
.lv-mem { margin-top: 2rem; padding: clamp(1rem, 2.5vw, 1.8rem); border-radius: var(--r-xl); background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line); }
.lv-mem-steps { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.4rem; }
.lv-mem-steps button { min-height: 38px; padding: 0 1rem; border: 0; border-radius: 99px; font: 600 .86rem/1 var(--font-sys);
  color: var(--body); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: background .2s, color .2s; }
.lv-mem-steps button:hover { background: var(--hover); color: var(--ink); }
.lv-mem-steps button[aria-selected="true"] { background: var(--accent); color: #fff; box-shadow: none; }
.lv-mem-steps button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lv-mem-head { display: flex; justify-content: space-between; gap: 1rem; margin: 0 0 .6rem; font-size: .9rem; color: var(--muted); max-width: none; }
.lv-mem-head b { color: var(--ink); font-variant-numeric: tabular-nums; }
.lv-mem-bar { display: flex; gap: 4px; height: 64px; padding: 4px; border-radius: 16px; background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.lv-seg { flex: none; width: var(--w, 0%); min-width: 0; border-radius: 12px; display: flex; flex-direction: column; justify-content: center;
  padding: 0 .7rem; overflow: hidden; white-space: nowrap; background: var(--accent); color: #fff;
  transition: width .7s cubic-bezier(.2,.8,.2,1), opacity .5s, background .4s; }
.lv-seg b { font-size: .82rem; overflow: hidden; text-overflow: ellipsis; }
.lv-seg span { font-size: .72rem; opacity: .9; overflow: hidden; text-overflow: ellipsis; }
.lv-seg--warm { background: #1d7a3e; }
.lv-seg--store { background: linear-gradient(90deg, #b25000, #8e44ec); }
.lv-seg--speech { background: #7a35d6; }
.lv-seg--out { opacity: 0; width: 0 !important; padding: 0; }
.lv-mem-store { margin: .8rem 0 0; font-size: .9rem; color: var(--body); }
.lv-mem-text { margin: 1rem 0 0; color: var(--body); min-height: 5.2em; }
.lv-rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.lv-rule { padding: 1.3rem; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.lv-rule p { margin: 0; color: var(--body); font-size: .95rem; }
@media (max-width: 900px) { .lv-rules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .lv-rules { grid-template-columns: 1fr; } .lv-mem-bar { height: 76px; } }

/* ── features ──────────────────────────────────────────────────────────── */
.lv-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.lv-feat { padding: 1.4rem; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.lv-feat p { margin: 0; color: var(--body); font-size: .95rem; }
@media (max-width: 900px) { .lv-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .lv-feats { grid-template-columns: 1fr; } }

/* ── the closing tile ──────────────────────────────────────────────────── */
.lv-end .tile-copy { text-align: center; }

/* ── temporary App Store badge (no link until the app is listed) ───────── */
.lv-store { display: inline-flex; align-items: center; gap: .6rem; min-height: 52px; padding: .35rem 1.15rem .35rem .9rem;
  border-radius: 13px; background: #000; color: #fff; box-shadow: inset 0 0 0 1.5px #a1a1a6; cursor: default; vertical-align: middle; }
.lv-store-txt { display: grid; line-height: 1.05; text-align: left; }
.lv-store-txt small { font-size: .7rem; font-weight: 500; letter-spacing: .01em; color: #d1d1d6; }
.lv-store-txt b { font-size: 1.28rem; font-weight: 600; letter-spacing: -.01em; }
.tile-ctas .lv-store { margin-right: .3rem; }

/* ── "Let me know" waitlist form ───────────────────────────────────── */
.lv-know { margin: 1.6rem auto 0; max-width: 26rem; text-align: center; }
.lv-know-title { display: block; font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.lv-know-promise { margin: .3rem 0 .8rem; font-size: .85rem; color: var(--body); }
.lv-know-row { display: flex; gap: .5rem; }
.lv-know-row input { flex: 1; min-width: 0; padding: .7rem .9rem; border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.08); color: #f5f5f7;
  font-size: .95rem; }
.lv-know-row input::placeholder { color: #8e8e93; }
.lv-know-row input:focus { outline: 2px solid #2997ff; outline-offset: 1px; }
.lv-know-msg { margin: .6rem 0 0; font-size: .85rem; color: var(--body); }
.lv-know.is-done .lv-know-row { opacity: .45; }
@media (max-width: 480px) { .lv-know-row { flex-direction: column; } }

/* ── "still measuring" note above the benchmark grid ───────────────────── */
.lv-live-note { display: inline-flex; align-items: center; gap: .55rem; margin: 1.2rem 0 0; padding: .55rem .95rem; border-radius: 99px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: .86rem; color: var(--body); max-width: none; }
.lv-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #30d158; animation: lv-pulse 1.6s ease-in-out infinite; }
@keyframes lv-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .lv-dot { animation: none; } }
@media (max-width: 600px) { .lv-live-note { border-radius: 14px; align-items: flex-start; } .lv-dot { margin-top: .4rem; } }

/* ── jump links under the hero ─────────────────────────────────────────── */
.lv-jump { border-bottom: 1px solid var(--line); background: var(--paper); }
.lv-jump .wrap { display: flex; gap: .4rem; overflow-x: auto; padding-top: .7rem; padding-bottom: .7rem; scrollbar-width: none; }
.lv-jump .wrap::-webkit-scrollbar { display: none; }
.lv-jump a { flex: none; min-height: 34px; display: inline-flex; align-items: center; padding: 0 .85rem; border-radius: 99px; font: 600 .84rem/1 var(--font-sys);
  color: var(--body); text-decoration: none; white-space: nowrap; }
.lv-jump a:hover { color: var(--ink); background: var(--hover); }
.lv-jump a:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.lv-section, .lv-mx-group { scroll-margin-top: 4.5rem; }

/* ── four-up cards ─────────────────────────────────────────────────────── */
.lv-feats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .lv-feats--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .lv-feats--4 { grid-template-columns: 1fr; } }
.lv-band .lv-feat, .lv-band .lv-rule { background: var(--surface); }

/* ── at a glance: one card per device ──────────────────────────────────── */
.lv-glance { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.6rem; }
.lv-glance:empty { display: none; }
.lv-glance-card { padding: 1.2rem 1.3rem; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: .7rem; align-content: start; }
.lv-glance-dev { margin: 0 0 .2rem; display: grid; gap: .15rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.lv-glance-dev b { font-size: 1.05rem; color: var(--ink); }
.lv-glance-dev span { font-size: .78rem; color: var(--muted); }
.lv-glance-label { margin: .35rem 0 -.35rem; font: 600 .68rem/1.3 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.lv-glance-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1rem; row-gap: .1rem; align-items: baseline; }
.lv-glance-row b { font-size: .98rem; font-weight: 600; color: var(--ink); }
.lv-glance-row strong { font-size: 1.02rem; font-weight: 700; color: var(--ink); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lv-glance-row small { grid-column: 1 / -1; font-size: .78rem; color: var(--muted); }
@media (max-width: 900px) { .lv-glance { grid-template-columns: 1fr; } }

/* ── voice clips ───────────────────────────────────────────────────────── */
.lv-hear-title { margin: 2.6rem 0 .3rem; }
.lv-hear-foot { margin: 0 0 1.2rem; }
.lv-hear { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.lv-hear-dev { padding: 1.1rem 1.2rem; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: .8rem; align-content: start; }
.lv-hear-name { margin: 0; display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line); }
.lv-hear-name b { color: var(--ink); }
.lv-hear-name span { font-size: .78rem; color: var(--muted); }
.lv-clip { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .8rem; align-items: center; }
.lv-clip .lv-play { min-height: 36px; min-width: 4.6rem; justify-content: center; }
.lv-clip p { margin: 0; display: grid; gap: .1rem; }
.lv-clip b { font-size: .92rem; color: var(--ink); }
.lv-clip span { font-size: .76rem; line-height: 1.35; color: var(--muted); }
@media (max-width: 900px) { .lv-hear { grid-template-columns: 1fr; } }

/* ── free and Plus ─────────────────────────────────────────────────────── */
.lv-plan { padding: 1.5rem 1.6rem; border-radius: var(--r-xl); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.lv-plan--plus { box-shadow: inset 0 0 0 1.5px var(--amber); }
.lv-plan h3 { margin: 0 0 .9rem; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.lv-plan ul { margin: 0; padding-left: 1.15rem; display: grid; gap: .45rem; color: var(--body); }
.lv-plan-note { margin: 1rem 0 0; font-size: .9rem; color: var(--muted); }

/* ── hero: three buttons wrap tidily on a phone ────────────────────────── */
.lv-hero .tile-ctas { flex-wrap: wrap; row-gap: .7rem; }

/* ── one long conversation: terminal + timeline + the figures at the playhead ── */
.lv-lc { margin-top: 2rem; }
.lv-lc[hidden] { display: none; }
.lv-lc-facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .6rem; margin-bottom: 1.2rem; }
.lv-lc-facts div { padding: .9rem 1rem; border-radius: var(--r-lg, 16px); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.lv-lc-facts b { display: block; font-size: 1.15rem; color: var(--ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.lv-lc-facts span { display: block; font-size: .8rem; color: var(--muted); margin-top: .15rem; }
.lv-lc-screen { height: clamp(22rem, 56vh, 36rem); }
.lv-lc-screen .t-q { color: #64d2ff; font-weight: 600; }
.lv-lc-screen .t-turn { display: block; margin: 1.3rem 0 .4rem; color: #636366; font-size: .76rem; letter-spacing: .02em; }
.lv-lc-screen .t-turn:first-child { margin-top: 0; }
.lv-lc-ctl { display: flex; align-items: center; gap: .8rem; padding: .7rem 1rem .9rem; border-top: 1px solid rgba(255,255,255,.08); color: #a1a1a6; }
.lv-lc-play { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #f5f5f7; color: #111; cursor: pointer; }
.lv-lc-play .i-pause { display: none; }
.lv-lc-play.is-on .i-play { display: none; }
.lv-lc-play.is-on .i-pause { display: block; }
.lv-lc-play:focus-visible, .lv-lc-speed button:focus-visible { outline: 2px solid #64d2ff; outline-offset: 2px; }
.lv-lc-track { position: relative; flex: 1; min-width: 0; height: 44px; display: flex; align-items: center; }
.lv-lc-ticks { position: absolute; left: 0; right: 0; top: 50%; height: 14px; transform: translateY(-50%); pointer-events: none; }
.lv-lc-ticks i { position: absolute; top: 0; width: 2px; height: 14px; margin-left: -1px; border-radius: 1px; background: #48484a; }
.lv-lc-range { position: relative; width: 100%; margin: 0; height: 44px; background: transparent; accent-color: #64d2ff; cursor: pointer;
  -webkit-appearance: none; appearance: none; }
.lv-lc-range::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, #64d2ff var(--p, 0%), #3a3a3c var(--p, 0%)); }
.lv-lc-range::-moz-range-track { height: 4px; border-radius: 2px; background: #3a3a3c; }
.lv-lc-range::-moz-range-progress { height: 4px; border-radius: 2px; background: #64d2ff; }
.lv-lc-range::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -7px; border-radius: 50%; background: #f5f5f7; border: 0; }
.lv-lc-range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #f5f5f7; border: 0; }
.lv-lc-time { flex: none; font: .8rem/1 var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lv-lc-speed { flex: none; display: flex; gap: 2px; padding: 2px; border-radius: 99px; background: #2c2c2e; }
.lv-lc-speed button { min-width: 40px; min-height: 32px; border: 0; border-radius: 99px; background: transparent; color: #a1a1a6; font: 600 .78rem/1 var(--font-sys); cursor: pointer; }
.lv-lc-speed button[aria-pressed="true"] { background: #f5f5f7; color: #111; }
.lv-lc-now { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; margin-top: 1.2rem; }
.lv-lc-now div { padding: .75rem .9rem; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.lv-lc-now span { display: block; font-size: .76rem; color: var(--muted); }
.lv-lc-now b { display: block; margin-top: .15rem; font-size: 1rem; color: var(--ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.lv-lc-now b[data-th="1"] { color: #b58100; }
.lv-lc-now b[data-th="2"] { color: #d8590a; }
.lv-lc-now b[data-th="3"] { color: #d70015; }
.lv-lc-charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin-top: 1rem; }
.lv-lc-charts figure { margin: 0; padding: .8rem .9rem .7rem; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.lv-lc-charts figcaption { font-size: .78rem; color: var(--muted); margin-bottom: .4rem; display: flex; justify-content: space-between; gap: .5rem; }
.lv-lc-charts figcaption b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.lv-lc-charts svg { display: block; width: 100%; height: 96px; cursor: pointer; overflow: visible; }
.lv-lc-charts .c-line { fill: none; stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; }
.lv-lc-charts .c-area { fill: var(--accent); opacity: .12; }
.lv-lc-charts .c-bar { fill: var(--accent); opacity: .85; }
.lv-lc-charts .c-bar.is-past { opacity: .85; }
.lv-lc-charts .c-bar.is-future { opacity: .25; }
.lv-lc-charts .c-batt { fill: none; stroke: #34c759; stroke-width: 2; vector-effect: non-scaling-stroke; }
.lv-lc-charts .c-th1 { fill: #ffcc00; opacity: .35; }
.lv-lc-charts .c-th2 { fill: #ff9500; opacity: .45; }
.lv-lc-charts .c-th3 { fill: #ff3b30; opacity: .55; }
.lv-lc-charts .c-grid { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.lv-lc-charts .c-cur { stroke: var(--ink); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
@media (max-width: 900px) {
  .lv-lc-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lv-lc-facts div:last-child { grid-column: 1 / -1; }
  .lv-lc-now { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lv-lc-charts { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .lv-lc-ctl { flex-wrap: wrap; gap: .5rem .7rem; }
  .lv-lc-track { order: 3; flex-basis: 100%; }
  .lv-lc-time { flex: 1; }
}
main > section.lv-section[hidden] { display: none; }
.lv-lc-range, .lv-lc-range:focus { border: 0; padding: 0; box-shadow: none; border-radius: 0; outline: none; }
.lv-lc-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px #64d2ff; }
.lv-lc-range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px #64d2ff; }
.lv-lc-charts .c-bar { opacity: .18; }
.lv-lc-charts .c-bar.is-past, .lv-lc-charts .c-bar.is-future { opacity: .18; }

/* ── 22 Nov: free strip in the hero (always on black) ──────────────────── */
.lv-freestrip { list-style: none; margin: 1.4rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; max-width: 40rem; }
.lv-freestrip li { margin: 0; padding: .4rem .75rem; border-radius: 99px; font-size: .84rem; line-height: 1.3; color: #f5f5f7;  /* the hero stays dark in both themes; --on-ink turns dark in dark mode */
  background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.lv-freestrip b { margin-right: .35rem; color: var(--green-bright, #7ee787); font-weight: 700; }
.lv-freestrip li.is-plus { box-shadow: inset 0 0 0 1px var(--amber-bright, #f5c451); }
.lv-freestrip li.is-plus b { color: var(--amber-bright, #f5c451); }
.lv-freestrip li.is-earn { box-shadow: inset 0 0 0 1px rgba(100, 210, 255, .55); }
.lv-freestrip li.is-earn b { color: #64d2ff; }
.lv-dl-meta { margin: .8rem 0 0; font-size: .82rem; color: #a1a1a6; }
.lv-dl-meta [data-dl] { color: #f5f5f7; }
a.pill.lv-dl-cta { background: #0071e3; color: #fff; box-shadow: none; font-weight: 600; }
a.pill.lv-dl-cta:hover, a.pill.lv-dl-cta:focus-visible { background: #0077ed; color: #fff; }
.lv-notice a { color: var(--link); font-weight: 600; }
a.lv-store--live { cursor: pointer; text-decoration: none; }
a.lv-store--live:hover, a.lv-store--live:focus-visible { box-shadow: inset 0 0 0 2px #f5f5f7; }

/* ── getting started: numbered steps ───────────────────────────────────── */
.lv-steps { list-style: none; counter-reset: lvstep; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.lv-step { counter-increment: lvstep; margin: 0; padding: 1.3rem 1.2rem; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.lv-step::before { content: counter(lvstep); display: grid; place-items: center; width: 2rem; height: 2rem; margin-bottom: .8rem; border-radius: 50%;
  font: 700 .95rem/1 var(--font-sys); color: var(--on-accent); background: var(--accent); }
.lv-step h3 { margin: 0 0 .4rem; font-size: 1.05rem; }
.lv-step p { margin: 0; font-size: .92rem; color: var(--body); }
.lv-step code { font-size: .8rem; word-break: break-all; }
@media (max-width: 1100px) { .lv-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lv-step:last-child { grid-column: 1 / -1; } }
@media (max-width: 600px) { .lv-steps { grid-template-columns: 1fr; } }

/* ── free / Plus proof tables ──────────────────────────────────────────── */
.lv-proof { margin-top: 0; }
/* the gap goes on the bordered scroll box: a margin on the table itself sat inside the box */
.table-scroll:has(> .lv-proof) { margin-top: 2rem; }
.lv-proof caption { caption-side: top; text-align: left; padding: 1.1rem 1.25rem .8rem; font-weight: 700; color: var(--ink); }
.lv-proof th small, .lv-proof td small { display: block; font-size: .75rem; font-weight: 400; color: var(--muted); }
.lv-proof thead th { white-space: nowrap; }
.lv-proof th[scope="row"] { font-weight: 600; color: var(--ink); white-space: normal; min-width: 11rem; }
.lv-proof td { white-space: nowrap; }
.lv-proof td b { font-size: 1.05rem; color: var(--ink); }
.lv-proof td.is-slow b { color: var(--muted); }
.lv-proof td.is-none { color: var(--muted); font-size: .85rem; }
#plus .lv-proof caption { color: var(--amber); }
/* the guide's code is short: size each pair to its longer block, not motion.css's fixed 21rem */
.live-page #start .code-grid > .code pre, .live-page #openai .code-grid > .code pre { height: auto; flex: 1; }

/* ── /mac: Inpherio Live for Mac ─────────────────────────────────────────
   A Mac window instead of a phone: thin frame, small radius, the screenshot's own title bar. */
.lv-device--mac { padding: 0; border-radius: 12px; overflow: hidden; }
.lv-device--mac img { border-radius: 12px; }
.lv-hero--mac .lv-hero-visual { grid-template-columns: minmax(0, 1fr); }
.lv-hero-mac { width: 100%; max-width: 720px; justify-self: end; }
@media (max-width: 1100px) { .lv-hero-mac { justify-self: center; } }
.lv-shots--mac { --shot-h: clamp(220px, 34vw, 420px); }
.lv-shot--mac .lv-device { border-radius: 12px; }
.lv-shot--mac button { border-radius: 12px; }
.lv-note { margin-top: 1rem; font-size: .86rem; line-height: 1.5; color: var(--muted); max-width: 60rem; }
.lv-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
