/* ============================================================================
   KUARTZ LANDING (landing_v3.html) — DARK ROUNDED STUDIO DESIGN SYSTEM
   Typography : Inter (variable optical size + tabular-nums) · Orbitron (wordmark)
   Palette    : Pure carbon-neutral darks (#050506 / #0b0b0d) + Kuartz Blue (#2563eb)
   ============================================================================ */
:root {
  --bg: #050506;
  --bg-alt: #0b0b0d;
  --surface: #121215;
  --surface-2: #19191d;
  --border: #242429;
  --border-subtle: #1a1a1f;
  --border-strong: #36363e;

  --ink: #f5f5f7;
  --ink-2: #a6a6ae;
  --ink-3: #75757e;
  --accent: #2563eb;
  --offer-ink: #a9c2fb;   /* an offer's end: the lit blue ink */

  --font: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --word: "Orbitron", sans-serif;

  --max: 1240px;
  --kz-max: 1240px;
  --kz-bg: #050506;
  --gutter: clamp(20px, 4vw, 48px);
  --g: clamp(20px, 4vw, 48px);
  --sec-y: clamp(80px, 7.5vw, 116px);
  --head-gap: clamp(36px, 3.8vw, 48px);

  --r-win: 16px;
  --r-card: 20px;
  --r-pill: 999px;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--bg);
  color: var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
  font-optical-sizing: auto;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 15px/1.6 var(--font);
  letter-spacing: -0.008em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
main h1, main h2, main h3, main h4, main p, main ul, main ol, main dl, main dd, main figure { margin: 0; padding: 0; }
main ul, main ol { list-style: none; }
main a { color: inherit; text-decoration: none; }
main button { font: inherit; color: inherit; }
main img, main svg { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.w { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.tnum { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

/* ---- Header & Footer alignment with landing tokens ---- */
.kzh {
  background: rgba(5, 5, 6, 0.84);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
}
.kzh.scrolled { border-bottom-color: var(--border-subtle); }
.kzh-mark { font-size: 19px; letter-spacing: 0.06em; }
.kzh-nav a { font-size: 14.5px; color: var(--ink-2); }
.kzh-nav a:hover, .kzh-nav a[aria-current="page"] { color: var(--ink); text-decoration: none; }
.kzh-end > .kzk.sec.sm {
  height: 38px;
  padding: 0 18px;
  font-size: 13.5px;
  background: linear-gradient(180deg, #ffffff 0%, #ebebef 100%);
  color: #09090b;
  border-color: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), 0 1px 2px rgba(0, 0, 0, 0.45);
}
.kzh-end > .kzk.sec.sm:hover {
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
  color: #09090b;
}
.kzf { border-top: 1px solid var(--border-subtle); background: var(--bg); }
.kzf-in { padding-top: 36px; padding-bottom: 44px; font-size: 13.5px; }

/* ---- Section Rhythm ---- */
.sec { padding: var(--sec-y) 0; }
.sec-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.specs-sec {
  padding-top: 0;
  border-top: 0;
}
.faq-sec {
  padding-bottom: clamp(56px, 6vw, 84px);
  border-bottom: 0;
}

/* ---- Subtle Atmospheric Blurred App Backdrop (softer than Hero) ---- */
.has-bg { position: relative; overflow: hidden; }
.has-bg > .w { position: relative; z-index: 1; }
.sec-bg {
  position: absolute;
  inset: 0 -8% auto;
  height: 680px;
  opacity: 0.24;
  filter: blur(6px) saturate(1.2);
  transform: scale(1.28) rotate(-3deg);
  transform-origin: center top;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 42%, transparent 92%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 42%, transparent 92%);
}
.sec-bg .app-el { aspect-ratio: 1440 / 900; }
.sec-bg .app-el.ar-bsq-bg { aspect-ratio: 1440 / 900; }
.sec-bg img { width: 100%; height: 100%; object-fit: cover; }
.sec-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(62% 68% at 50% 34%, rgba(5, 5, 6, 0.42), rgba(5, 5, 6, 0.96));
}
.sec-alt .sec-bg::after {
  background: radial-gradient(62% 68% at 50% 34%, rgba(11, 11, 13, 0.42), rgba(11, 11, 13, 0.96));
}
.sec-bg.alt-rot { transform: scale(1.28) rotate(3deg); }

/* ---- Modular Type Scale ---- */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.h2 {
  font-size: clamp(32px, 3.8vw, 50px);
  font-weight: 580;
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: var(--ink);
  text-wrap: balance;
}
.h3 {
  font-size: 21px;
  font-weight: 560;
  line-height: 1.24;
  letter-spacing: -0.024em;
  color: var(--ink);
}
.lede {
  margin-top: 16px;
  max-width: 50ch;
  font-size: clamp(17px, 1.32vw, 19.5px);
  font-weight: 420;
  line-height: 1.54;
  color: var(--ink-2);
  text-wrap: pretty;
}
.fine {
  font-size: 13.5px;
  line-height: 1.56;
  color: var(--ink-3);
}
.fine a {
  color: var(--ink-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--border-strong);
  transition: color 0.16s, text-decoration-color 0.16s;
}
.fine a:hover { color: var(--ink); text-decoration-color: var(--ink); }

/* ---- Tactile Rounded Pill Buttons ---- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 48px;
  padding: 0 24px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.012em;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.16s cubic-bezier(0.22, 1, 0.36, 1),
              background-color 0.18s ease,
              border-color 0.18s ease,
              box-shadow 0.2s ease,
              color 0.18s ease;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn:active { transform: translateY(0) scale(0.982); }
.btn-lg { height: 52px; padding: 0 28px; font-size: 15.5px; }
.btn-sm { height: 38px; padding: 0 18px; font-size: 13.5px; }

.btn-white {
  background: linear-gradient(180deg, #ffffff 0%, #ebebef 100%);
  color: #09090b;
  border-color: rgba(255, 255, 255, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 1px 2px rgba(0, 0, 0, 0.45),
    0 10px 24px -10px rgba(255, 255, 255, 0.24);
}
.btn-white:hover {
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 2px 4px rgba(0, 0, 0, 0.5),
    0 14px 28px -10px rgba(255, 255, 255, 0.32);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn-store { height: 48px; padding: 0 22px; gap: 10px; }
.btn-store svg { width: 17px; height: 17px; }
.btn[aria-disabled="true"] { opacity: 0.55; cursor: default; pointer-events: none; transform: none; }

/* Play action ("See it in action") */
.na-play {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 52px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: #55555e;
  cursor: pointer;
  transition: text-decoration-color 0.18s;
}
.na-play:hover { text-decoration-color: var(--ink); }
.na-play i {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff 0%, #ebebef 100%);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 1px 2px rgba(0, 0, 0, 0.45),
    0 10px 24px -10px rgba(255, 255, 255, 0.24);
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease, background 0.18s ease;
}
.na-play i svg { width: 22px; height: 22px; margin-left: 3px; fill: #09090b; }
.na-play:hover i {
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
  transform: translateY(-1px) scale(1.03);
}
.na-play:active i { transform: translateY(0) scale(0.98); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--border-strong);
  transition: border-color 0.16s, gap 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}
.link-arrow:hover { border-color: var(--ink); gap: 11px; }
.link-arrow svg { width: 15px; height: 15px; }

/* ---- Brushed Dark-Titanium Double-Bezel Product Window Frame ---- */
.app-box {
  position: relative;
  padding: 9px;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.03) 38%, rgba(255, 255, 255, 0.08) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 36px 96px -20px rgba(0, 0, 0, 0.92);
}
.app-box > .app-el {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.9);
}
.app-el { display: block; width: 100%; background: #101016; }
.app-el > img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ============================================================================
   1. HERO
   ============================================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 6vw, 84px) 0 clamp(64px, 7vw, 100px);
}
.hero .w { position: relative; }
.na-hero-bg {
  position: absolute;
  inset: -6% -10% auto;
  height: 760px;
  opacity: 0.45;
  filter: blur(3px) saturate(1.3);
  transform: scale(1.4) rotate(-4deg);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 0, #000 30%, transparent 85%);
  mask-image: linear-gradient(#000 0, #000 30%, transparent 85%);
}
.na-hero-bg .app-el { aspect-ratio: 1440 / 900; }
.na-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 70% at 50% 40%, rgba(5, 5, 6, 0.52), rgba(5, 5, 6, 0.92));
}
.hero-in { max-width: 920px; margin: 0 auto; text-align: center; }
.hero h1 {
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 580;
  line-height: 1.02;
  letter-spacing: -0.046em;
  color: var(--ink);
  text-wrap: balance;
}
.hero-lede {
  max-width: 50ch;
  margin: 22px auto 0;
  font-size: clamp(17.5px, 1.38vw, 20px);
  font-weight: 420;
  line-height: 1.52;
  color: #b8b8c2;
  text-wrap: pretty;
}
.hero-act {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 32px;
  margin-top: 32px;
}
.hero-meta { margin-top: 16px; font-size: 13.5px; color: var(--ink-3); }

.hero-win {
  margin-top: clamp(40px, 4.4vw, 56px);
  padding: 10px;
  border-radius: 26px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 56px 140px -24px rgba(0, 0, 0, 0.98);
}
.hero-win > .app-el { aspect-ratio: 1440 / 900; border-radius: 18px; }

.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 36px;
  margin-top: clamp(36px, 4vw, 48px);
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.hero-facts dt { font-size: 19px; font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; color: var(--ink); }
.hero-facts dd { margin-top: 6px; font-size: 14.5px; line-height: 1.54; color: var(--ink-2); }

/* ============================================================================
   2. BENCHMARKS
   ============================================================================ */
.bench-head { max-width: 860px; margin: 0 auto; text-align: center; }
.bench-head .h2 { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.04; letter-spacing: -0.044em; }
.bench-head .lede { margin-left: auto; margin-right: auto; }

.bench-top {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  margin-top: clamp(48px, 5vw, 64px);
  text-align: center;
}
.stat-open .num {
  font-size: clamp(54px, 6.4vw, 88px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.05em;
  background: linear-gradient(180deg, #ffffff 30%, #8e8e98 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-open .label { margin-top: 14px; font-size: 16px; font-weight: 600; color: var(--ink); }
.stat-open .sub { margin: 5px auto 0; max-width: 30ch; font-size: 14px; line-height: 1.5; color: var(--ink-2); }

.bench-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 40px 56px;
  margin-top: clamp(48px, 5vw, 64px);
  align-items: start;
}
.chart-panel {
  padding: 32px;
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--border);
}
.chart-grp + .chart-grp { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--border-subtle); }
.chart-title { font-size: 17px; font-weight: 600; color: var(--ink); }
.chart-sub { margin-top: 4px; font-size: 13.5px; color: var(--ink-3); }
.bar-rows { display: grid; gap: 16px; margin-top: 20px; }
.b-row {
  display: grid;
  grid-template-columns: 9.2em minmax(0, 1fr) 4.2em;
  gap: 14px;
  align-items: center;
  font-size: 14.5px;
  color: var(--ink-2);
}
.b-row.win { color: var(--ink); font-weight: 600; }
.b-track { height: 10px; border-radius: var(--r-pill); background: #202026; overflow: hidden; }
.b-fill { height: 100%; width: calc(var(--v) * 1%); border-radius: var(--r-pill); background: #4e4e58; }
.b-row.win .b-fill { background: #ffffff; }
.b-row b { text-align: right; font-size: 14.5px; font-weight: 600; }
.bar-note { margin-top: 16px; }

.an-points { display: grid; gap: 32px; }
.an-points div { padding-top: 18px; border-top: 1px solid var(--border); }
.an-points dt { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.an-points dd { margin-top: 8px; font-size: 15.5px; line-height: 1.58; color: var(--ink-2); }
.bench-foot { margin-top: 24px; }

/* ============================================================================
   3. WHY A TIMELINE
   ============================================================================ */
.split-57 {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 40px 64px;
  align-items: center;
}
.split-57.top { align-items: start; }
.split-57 .h2 { font-size: clamp(30px, 3.3vw, 44px); }

.cmp { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.cmp col.f { width: 44%; }
.cmp th, .cmp td {
  padding: 17px 14px;
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
  vertical-align: middle;
}
.cmp thead th {
  padding: 20px 12px;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
  vertical-align: bottom;
}
.cmp thead small { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 400; color: var(--ink-3); }
.cmp tbody th { padding-left: 0; text-align: left; font-size: 15px; font-weight: 500; color: var(--ink); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp .k { background: var(--surface-2); color: var(--ink); }
.cmp thead .k { border-radius: 16px 16px 0 0; }
.cmp thead .k b { font: 700 13px/1 var(--word); letter-spacing: 0.06em; color: var(--ink); }
.cmp thead .k small { color: var(--ink-2); }
.cmp tbody tr:last-child .k { border-radius: 0 0 16px 16px; }
.mk-y { width: 16px; height: 16px; display: inline-block; vertical-align: middle; color: var(--ink-2); }
.cmp .k .mk-y { color: #ffffff; }
.mk-n { color: #4a4a54; }

/* ============================================================================
   4. PERFORMANCE TOOLS
   ============================================================================ */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px 40px;
  margin-top: var(--head-gap);
}
.tool-item { display: flex; flex-direction: column; }
.tool-win { flex: none; }
.tool-win > .app-el { aspect-ratio: 2 / 1; }
.tool-win.r1 > .app-el { aspect-ratio: 508 / 276; }
.tool-item h3 { margin-top: 22px; }
.tool-item p { margin-top: 8px; font-size: 15.5px; line-height: 1.58; color: var(--ink-2); max-width: 52ch; }

/* ============================================================================
   5. INTERACTIVE LIVE SHOWCASE + MID BANNER
   ============================================================================ */
.show-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
}
.show-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--border);
}
.show-tabs button {
  height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.18s, color 0.18s;
}
.show-tabs button:hover { color: var(--ink); }
.show-tabs button[aria-selected="true"] { background: #ffffff; color: #09090b; font-weight: 600; }

.show-stage { margin-top: var(--head-gap); }
.show-slide { display: none; }
.show-slide.on { display: block; }
.show-slide .app-box { padding: 10px; border-radius: 26px; }
.show-slide .app-box > .app-el { aspect-ratio: 1440 / 900; border-radius: 18px; }

.show-cap {
  margin-top: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 12px 40px;
  font-size: 15.5px;
  color: var(--ink-2);
}
.show-cap p { max-width: 68ch; }
.show-cap strong { color: var(--ink); font-weight: 600; }
.show-cap .spec-note {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}

.mid-banner {
  margin-top: clamp(64px, 7vw, 88px);
  padding: clamp(28px, 3vw, 36px) clamp(24px, 3.4vw, 40px);
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}
/* its background: a waveform in the app's bands, low behind the copy, fading out at both ends (the copy keeps ≥ 4.5:1) */
.mid-banner { position: relative; isolation: isolate; overflow: hidden; }
.mid-banner > :not(.kz-dots) { position: relative; z-index: 1; }
.mid-banner .kz-dots {   /* the banner's background: a level meter's dots (kz_dots) at their own size (a dot every 9 px on
                            any screen), on the banner's foot, centred */
  position: absolute; z-index: 0; left: 50%; bottom: 0; width: 1440px; height: 200px; transform: translateX(-50%);
  max-width: none; pointer-events: none;
}
.mid-banner h3 { font-size: clamp(22px, 2vw, 26px); font-weight: 580; letter-spacing: -0.028em; color: var(--ink); }
.mid-banner p { margin-top: 4px; font-size: 15.5px; color: var(--ink-2); }

/* ============================================================================
   6. AUTO, CHECK & SET PLAN
   ============================================================================ */
.ar-auto { aspect-ratio: 700 / 485; }
.ar-check { aspect-ratio: 602 / 485; }
.ar-plan { aspect-ratio: 1440 / 298; }
.ar-ai { aspect-ratio: 800 / 490; }
.ar-import { aspect-ratio: 760 / 545; }

.auto-pair {
  display: grid;
  grid-template-columns: minmax(0, 868fr) minmax(0, 747fr);
  gap: 44px 28px;
  margin-top: var(--head-gap);
}
.auto-pair h3 { margin-top: 22px; }
.auto-pair p { margin-top: 8px; font-size: 15.5px; line-height: 1.58; color: var(--ink-2); }

.plan-row { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--border-subtle); }
.plan-cap {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 12px 56px;
  margin-top: 24px;
  align-items: start;
}
.plan-cap p { font-size: 15.5px; line-height: 1.58; color: var(--ink-2); }

/* ============================================================================
   7. AI ASSISTANT VIA MCP
   ============================================================================ */
.ai-split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 24px;
  align-items: stretch;
  margin-top: var(--head-gap);
}
.na-chat { contain: size; }
.kzai {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  font-family: var(--font);
}
.kzai-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}
.kzai-head i { width: 7px; height: 7px; border-radius: 50%; background: #5ff09a; flex: none; }
.kzai-head b { font-weight: 600; color: var(--ink); }
.kzai-head span { font-size: 12.5px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; }
.kzai-q { flex: none; display: flex; justify-content: flex-end; padding: 14px 14px 0; }
.kzai-log {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 16px 12px;
  -webkit-mask-image: linear-gradient(transparent var(--kzai-a, 0px), #000 var(--kzai-b, 28px));
  mask-image: linear-gradient(transparent var(--kzai-a, 0px), #000 var(--kzai-b, 28px));
}
.kzai-user {
  flex: none;
  align-self: flex-end;
  max-width: 92%;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--surface-2);
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--ink);
}
.kzai-bot { flex: none; max-width: 96%; color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.kzai-tool {
  flex: none;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1px 8px;
  padding: 2px 0 2px 10px;
  border-left: 2px solid #3a3a42;
  font: 400 12px/1.45 "IBM Plex Mono", ui-monospace, monospace;
}
.kzai-tool b { color: #fff; font-weight: 500; }
.kzai-tool span { color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kzai-tool em { grid-column: 1 / -1; font-style: normal; color: var(--ink-3); }
.kzai-in {
  flex: none;
  margin: 0 12px 12px;
  padding: 10px 14px;
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 14px;
}
.kzai-in span { color: var(--ink-3); }
.kzai-in.on { border-color: var(--border-strong); }
.kzai-in u { display: inline-block; width: 1px; height: 1em; margin-left: 1px; vertical-align: -2px; background: var(--ink); text-decoration: none; }

/* Open 3-column ruled grid */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 40px;
  margin-top: 48px;
}
.rules-grid.lg-gap { margin-top: 64px; }
.rules-grid > div { padding-top: 18px; border-top: 1px solid var(--border); }
.rules-grid .k { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.rules-grid h3 { margin-top: 8px; }
.rules-grid p:not(.k) { margin-top: 8px; font-size: 15.5px; line-height: 1.58; color: var(--ink-2); }

/* ============================================================================
   8. LIBRARY IMPORT & ANY SETUP
   ============================================================================ */
.lib-split { margin-top: var(--head-gap); }
.src-list { border-top: 1px solid var(--border); }
.src-list div {
  display: grid;
  grid-template-columns: 7.5em minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 15.5px;
}
.src-list dt { font-weight: 600; color: var(--ink); }
.src-list dd { color: var(--ink-2); }
.src-note { margin-top: 16px; }

/* ============================================================================
   9. MOBILE — FULL-WIDTH CINEMA SHOWCASE
   ============================================================================ */
.mob-head { max-width: 780px; margin: 0 auto; text-align: center; }
.mob-head .h2 { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.04; letter-spacing: -0.044em; }
.mob-head .lede { margin-left: auto; margin-right: auto; }
.store-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

.mob-stage { margin-top: clamp(44px, 4.8vw, 60px); }
.ns-phone {
  position: relative;
  width: 100%;
  padding: 0.48%;
  border-radius: 8.1% / 17.7%;
  background: linear-gradient(180deg, #9898a3 0%, #3d3d46 8%, #202026 35%, #18181e 70%, #2d2d35 94%, #5e5e68 100%);
  box-shadow: 0 44px 110px -20px rgba(0, 0, 0, 0.92), 0 18px 36px -12px rgba(0, 0, 0, 0.65);
}
.ns-bezel { padding: 1.25%; border-radius: 7.7% / 16.9%; background: #040406; }
.ns-screen { position: relative; border-radius: 5.9% / 12.8%; overflow: hidden; background: #101016; aspect-ratio: 2796 / 1290; }
.ns-screen img { width: 100%; height: 100%; object-fit: cover; }

.mob-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 32px;
  margin-top: clamp(36px, 4vw, 52px);
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.mob-facts li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 1.54; color: var(--ink-2); }
.mob-facts li svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--ink); }

/* ============================================================================
   10. BUILT FOR THE BOOTH
   ============================================================================ */
.booth-figs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: var(--head-gap);
  border-top: 1px solid var(--border);
}
.booth-figs div { padding: 32px 28px 0 0; }
.booth-figs div + div { padding-left: 28px; border-left: 1px solid var(--border-subtle); }
.booth-figs dt { font-size: clamp(28px, 2.8vw, 38px); font-weight: 580; line-height: 1.05; letter-spacing: -0.038em; color: var(--ink); }
.booth-figs dd { margin-top: 12px; font-size: 15px; line-height: 1.56; color: var(--ink-2); }

/* ============================================================================
   11. PRICING — EDITORIAL ASYMMETRIC
   ============================================================================ */
.price-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 40px 64px;
  align-items: start;
}
.price-left .btn { margin-top: 28px; }
.price-trial-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-size: 14.5px;
  color: var(--ink-2);
}
.price-trial-list li { display: flex; align-items: flex-start; gap: 10px; }
.price-trial-list li svg { width: 15px; height: 15px; flex: none; margin-top: 4px; color: var(--ink); }

.price-rows { display: grid; gap: 16px; padding-top: 26px; }
.p-row {
  padding: 28px 32px;
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px 28px;
  align-items: center;
}
.p-row-head { display: flex; align-items: center; gap: 10px; }
.p-row-head h3 { font-size: 21px; font-weight: 580; letter-spacing: -0.026em; color: var(--ink); }
.p-badge {
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}
.p-row p { margin-top: 6px; font-size: 15.5px; line-height: 1.54; color: var(--ink-2); }
.p-row.best p strong { color: var(--ink); font-weight: 600; }
.p-row-meta { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; color: var(--ink-2); }
.p-row-meta span { display: inline-flex; align-items: center; gap: 6px; }
.p-row-meta svg { width: 14px; height: 14px; color: var(--ink); }

.p-row-price { text-align: right; }
.p-amt {
  font-size: clamp(38px, 3.6vw, 48px);
  font-weight: 580;
  line-height: 0.95;
  letter-spacing: -0.044em;
  color: var(--ink);
  white-space: nowrap;
}
.p-amt sup { font-size: 0.44em; font-weight: 600; vertical-align: 0.92em; }
.p-per { display: block; margin-top: 7px; font-size: 13.5px; color: var(--ink-3); }

/* A running offer (offers.web_offer): the price paid large with the struck 30-day low before it, its end with a clock in
   the lit blue; at the end (html.kz-offer-over) today's prices come back in place (.p-offer-off) */
.p-amt-row { display: flex; align-items: baseline; justify-content: flex-end; gap: 14px; }
.p-was { font-size: clamp(18px, 1.5vw, 20px); font-weight: 500; letter-spacing: -0.02em; color: var(--ink-3); text-decoration-thickness: 1.5px; white-space: nowrap; }
.p-ends { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 13.5px; color: var(--offer-ink); white-space: nowrap; }
.p-ends svg { width: 14px; height: 14px; flex: none; }
.p-offer-off { display: none; }
.kz-offer-over .p-offer-on { display: none; }
.kz-offer-over .p-offer-off { display: revert; }
.kz-offer-over .p-row-price > .p-offer-off { display: block; }

/* The offer's bar over the header: one line on the brand blue, closable; the short form on a phone */
.kz-offer-bar { position: relative; display: flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 52px;
  background: var(--accent); color: #fff; font: 500 14px/1.35 var(--font); text-align: center; }
.kz-offer-bar p { margin: 0; }
.kz-offer-bar b { font-weight: 600; }
.kz-offer-bar a { margin-left: 14px; color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap; }
.kz-offer-bar a:hover { text-decoration: underline; text-underline-offset: 3px; }
.kz-offer-bar .short { display: none; }
.kz-offer-x { position: absolute; right: max(12px, calc(var(--g) - 10px)); top: 50%; width: 40px; height: 40px; margin-top: -20px; display: inline-flex;
  align-items: center; justify-content: center; border: 0; border-radius: 999px; background: none; color: #fff; cursor: pointer; }
.kz-offer-x:hover { background: rgba(255, 255, 255, .14); }
.kz-offer-x svg { width: 16px; height: 16px; }
.kz-offer-bar-off .kz-offer-bar, .kz-offer-over .kz-offer-bar { display: none; }

.p-fine-list {
  display: grid;
  gap: 7px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}
.p-fine-list li { position: relative; padding-left: 14px; }
.p-fine-list li::before { content: "·"; position: absolute; left: 2px; }

/* ============================================================================
   12. FAQ & SPECIFICATIONS
   ============================================================================ */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 40px 64px;
  align-items: start;
}
.acc { border-top: 1px solid var(--border); }
.acc details { border-bottom: 1px solid var(--border); }
.acc summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 300;
  color: var(--ink-3);
}
.acc details[open] summary::after { content: "\2212"; color: var(--ink); }
.acc details p { padding-bottom: 22px; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.acc details a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.specs-acc { margin-top: 32px; }
.specs-acc summary { font-size: 19px; }
.specs-acc dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; padding-bottom: 24px; }
.specs-acc dl div {
  display: grid;
  grid-template-columns: 10.5em minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--border-subtle);
  font-size: 14.5px;
}
.specs-acc dt { color: var(--ink-3); font-weight: 500; }
.specs-acc dd { color: var(--ink); }

/* ============================================================================
   13. CLOSING CTA WITH KUARTZ BAR RULER
   ============================================================================ */
.close-sec { padding: var(--sec-y) 0 clamp(64px, 6.5vw, 96px); counter-reset: kzbar -3; }
.na-idx { position: relative; height: 16px; margin-bottom: clamp(28px, 3.2vw, 44px); }
.na-ruler {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(#f5f5f7, #f5f5f7) left bottom / 2px 16px no-repeat,
    repeating-linear-gradient(90deg, #75757e 0 1px, transparent 1px 25%) left bottom / 100% 16px no-repeat,
    repeating-linear-gradient(90deg, #4b4b53 0 1px, transparent 1px 6.25%) left bottom / 100% 7px no-repeat,
    repeating-linear-gradient(90deg, #2d2d33 0 1px, transparent 1px 1.5625%) left bottom / 100% 3px no-repeat,
    linear-gradient(var(--border), var(--border)) left bottom / 100% 1px no-repeat;
}
.na-ruler i {
  position: absolute;
  top: -1px;
  padding-left: 6px;
  font-size: 10.5px;
  font-weight: 500;
  font-style: normal;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--ink-3);
  counter-increment: kzbar 4;
}
.na-ruler i::after { content: counter(kzbar); }
.na-ruler i:nth-child(1) { left: 0; color: var(--ink); }
.na-ruler i:nth-child(2) { left: 25%; }
.na-ruler i:nth-child(3) { left: 50%; }
.na-ruler i:nth-child(4) { left: 75%; }

.close-sec h2 {
  max-width: 14ch;
  font-size: clamp(40px, 6.2vw, 86px);
  font-weight: 580;
  line-height: 0.99;
  letter-spacing: -0.046em;
  color: var(--ink);
}
.close-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-top: clamp(28px, 3vw, 40px);
}
.close-sub { max-width: 36em; font-size: clamp(16.5px, 1.3vw, 18.5px); color: var(--ink-2); }
.close-act { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; text-align: right; }
.close-act .fine { max-width: 44ch; }

/* ============================================================================
   RESPONSIVE & ACCESSIBILITY
   ============================================================================ */
@media (max-width: 1000px) {
  .split-57, .bench-grid, .auto-pair, .plan-cap, .ai-split, .faq-grid, .price-grid, .show-cap {
    grid-template-columns: minmax(0, 1fr);
  }
  .show-cap .spec-note { white-space: normal; }
  .price-rows { padding-top: 0; }
  .hero-facts, .booth-figs, .mob-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .booth-figs div { padding: 24px 16px 24px 0; }
  .booth-figs div:nth-child(3) { padding-left: 0; border-left: 0; }
  .booth-figs div:nth-child(n+3) { border-top: 1px solid var(--border-subtle); }
  .bench-top, .tools-grid, .rules-grid { grid-template-columns: minmax(0, 1fr); }
  .na-chat { contain: none; height: 380px; }
  .specs-acc dl { grid-template-columns: minmax(0, 1fr); }
  .close-row { flex-direction: column; }
  .close-act { align-items: flex-start; text-align: left; }
}
@media (max-width: 640px) {
  .hero-facts, .booth-figs, .mob-facts { grid-template-columns: minmax(0, 1fr); }
  .booth-figs div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--border-subtle); }
  .show-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .show-tabs button { padding: 0 8px; font-size: 13px; }
  .cmp col.f { width: 42%; }
  .cmp th, .cmp td { padding: 14px 6px; }
  .cmp thead small { display: none; }
  .chart-panel, .mid-banner, .p-row { padding: 24px 20px; }
  .b-row { grid-template-columns: minmax(0, 1fr) 4em; gap: 6px 10px; }
  .b-row > span:first-child { grid-column: 1 / -1; }
  .src-list div, .specs-acc dl div { grid-template-columns: minmax(0, 1fr); gap: 3px; }
  .na-chat { height: auto; }
  .p-row { grid-template-columns: minmax(0, 1fr); }
  .p-row-price { text-align: left; }
  .p-amt-row { justify-content: flex-start; }
  .kz-offer-bar { justify-content: flex-start; padding: 10px 48px 10px 16px; font-size: 14px; text-align: left; }
  .kz-offer-bar a { margin-left: 10px; }
  .kz-offer-x { right: 4px; }
  .kz-offer-bar .long { display: none; }
  .kz-offer-bar .short { display: inline; }
  .price-left .btn, .mid-banner .btn, .close-act .btn { width: 100%; }
  .close-act { width: 100%; align-items: stretch; }
  .na-ruler i:nth-child(even) { visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .na-play i, .link-arrow { transition: none; }
}
