/* ════════════════════════════════════════════════════════════════════════
   /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; }
.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%; }
}

/* ── 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 ────────────────────────────────────────────────────────── */
.lv-bench { display: grid; gap: .6rem; margin-top: 2rem; }
.lv-bench-group { margin: 1.2rem 0 .2rem; font: 600 .78rem/1.2 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.lv-bench-row { display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr) 6.5rem; gap: 1rem; align-items: center;
  padding: .85rem 1rem; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.lv-bench-name { margin: 0; display: grid; gap: .3rem; min-width: 0; }
.lv-bench-name b { color: var(--ink); font-size: .98rem; overflow-wrap: anywhere; }
.lv-bench-name span { font-size: .8rem; color: var(--muted); }
.lv-bench-track { position: relative; height: 12px; border-radius: 99px; background: var(--cloud-2); overflow: hidden; }
.lv-bench-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-bench-row.is-storage .lv-bench-track i { background: linear-gradient(90deg, #ff9f0a, #8e44ec); }
.lv-bench-val { margin: 0; text-align: right; font: 600 1.15rem/1.1 var(--font-sys); color: var(--ink); font-variant-numeric: tabular-nums; }
.lv-bench-val small { display: block; font-size: .72rem; font-weight: 500; 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); }
.lv-chip--gold { background: var(--amber-tint); color: var(--amber); }
@media (max-width: 720px) {
  .lv-bench-row { grid-template-columns: minmax(0, 1fr) auto; }
  .lv-bench-track { grid-column: 1 / -1; grid-row: 2; }
}

/* ── screenshots ───────────────────────────────────────────────────────── */
.lv-shots { display: flex; gap: 1.4rem; overflow-x: auto; padding: 2rem .2rem 1.2rem; margin-top: 1rem;
  scroll-snap-type: x mandatory; scrollbar-width: thin; align-items: flex-end; }
.lv-shot { flex: none; margin: 0; scroll-snap-align: start; display: grid; gap: .7rem; }
.lv-shot .lv-device { display: block; }
.lv-shot .lv-device--phone { width: clamp(200px, 22vw, 270px); }
.lv-shot .lv-device--pad { width: clamp(240px, 26vw, 330px); }
.lv-shot figcaption { font-size: .86rem; color: var(--muted); max-width: 34ch; }
.lv-shot button { all: unset; cursor: zoom-in; display: block; border-radius: 46px; }
.lv-shot button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.lv-zoom { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1400px); max-height: 94vh; }
.lv-zoom::backdrop { background: rgba(0,0,0,.82); }
.lv-zoom img { display: block; max-width: 100%; max-height: 94vh; width: auto; height: auto; border-radius: 18px; }

/* ── the session player ────────────────────────────────────────────────── */
.lv-term { margin-top: 2rem; }
.lv-tabs { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1rem; align-items: center; }
.lv-tabs .lv-tabs-dev { font: 600 .74rem/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
  margin: 0 .3rem 0 .6rem; }
.lv-tabs .lv-tabs-dev:first-child { margin-left: 0; }
.lv-tabs .lv-tabs-dev { flex-basis: 100%; margin: .2rem 0 0; }
.lv-tabs button { min-height: 36px; padding: 0 .95rem; 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-band .lv-tabs button { background: var(--surface); }
.lv-tabs button:hover { background: var(--hover); color: var(--ink); }
.lv-tabs button[aria-selected="true"] { background: var(--ink); color: var(--on-ink); box-shadow: none; }
.lv-tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.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; }
