/* ==========================================================
   Lab Rats — lab-rats.com
   Black + brushed silver. Plain CSS, no build step.
   ========================================================== */

:root {
  --bg: #050505;
  --bg-2: #0b0b0c;
  --surface: #111113;
  --surface-2: #17171a;
  --line: rgba(229, 231, 235, 0.14);
  --line-strong: rgba(229, 231, 235, 0.28);
  --text: #e5e7eb;
  --text-dim: #a1a1aa;
  --text-faint: #71717a;
  --silver-1: #f9fafb;
  --silver-2: #e5e7eb;
  --silver-3: #d1d5db;
  --silver-4: #9ca3af;
  --silver-5: #6b7280;
  --chrome: linear-gradient(180deg, #ffffff 0%, #e5e7eb 30%, #9ca3af 52%, #f3f4f6 72%, #a1a1aa 100%);
  --brushed: linear-gradient(180deg, #f3f4f6 0%, #d1d5db 45%, #9ca3af 100%);
  --glow: 0 0 0 1px rgba(229, 231, 235, 0.08), 0 20px 60px -20px rgba(229, 231, 235, 0.12);
  --radius: 22px;
  --radius-sm: 14px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Roboto Mono", Menlo, Consolas, monospace;
  --container: 1160px;
  --pad: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--silver-2); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--silver-2); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
.hero-tagline { text-wrap: balance; }
.hero-lede, .app-short, .section-sub { text-wrap: pretty; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.mono { font-family: var(--mono); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--pad); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--silver-2); color: #000; padding: 8px 14px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.chrome-text {
  background: var(--chrome);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--silver-4); margin: 0 0 18px;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 35% 35%, #fff, #9ca3af 70%);
  box-shadow: 0 0 10px rgba(229, 231, 235, 0.7);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand img { border-radius: 9px; }
.brand-name {
  font-weight: 700; font-size: 18px; letter-spacing: -0.01em;
  background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.site-nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 28px); }
.site-nav a { color: var(--text-dim); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .2s; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; }
.site-nav .btn { color: #0a0a0a; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-weight: 600; font-size: 15.5px; text-decoration: none; letter-spacing: 0.005em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-silver {
  color: #0a0a0a; background: var(--brushed);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 -1px 0 rgba(0, 0, 0, 0.25), 0 10px 30px -10px rgba(229, 231, 235, 0.45);
}
.btn-silver:hover { color: #000; box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(0,0,0,.25), 0 14px 36px -10px rgba(229, 231, 235, 0.6); }
.btn-ghost { color: var(--text); border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { border-color: var(--silver-3); color: #fff; }

.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--silver-2);
  cursor: pointer; transition: border-color .2s, color .2s, background .2s;
}
.icon-btn:hover { border-color: var(--silver-3); color: #fff; background: #1f1f23; }
.icon-btn:disabled { opacity: .35; cursor: default; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 10vw, 120px) 0 clamp(56px, 8vw, 100px); isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1;
  background:
    radial-gradient(600px 380px at 75% 40%, rgba(229, 231, 235, 0.10), transparent 70%),
    radial-gradient(500px 300px at 10% 10%, rgba(229, 231, 235, 0.05), transparent 70%);
}
.hero-grid-bg {
  position: absolute; inset: 0; z-index: -1; opacity: .55;
  background-image:
    linear-gradient(rgba(229, 231, 235, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(229, 231, 235, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
}
.hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-title { font-size: clamp(56px, 11vw, 132px); font-weight: 800; letter-spacing: -0.045em; line-height: 0.95; padding-bottom: 0.06em; }
.hero-tagline { font-size: clamp(20px, 2.6vw, 28px); font-weight: 600; color: var(--silver-2); margin: 18px 0 14px; letter-spacing: -0.01em; }
.hero-lede { color: var(--text-dim); font-size: clamp(16px, 1.6vw, 18px); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero-visual { display: grid; justify-items: center; gap: 28px; }
.specimen { position: relative; width: min(340px, 78vw); aspect-ratio: 1; display: grid; place-items: center; }
.ring { position: absolute; border-radius: 50%; border: 1px solid var(--line); }
.ring-1 { inset: 0; border-color: rgba(229, 231, 235, 0.10); }
.ring-2 { inset: 12%; border-color: rgba(229, 231, 235, 0.18); border-style: dashed; animation: spin 60s linear infinite; }
.ring-3 { inset: 24%; background: radial-gradient(circle, rgba(229, 231, 235, 0.10), transparent 70%); border-color: rgba(229, 231, 235, 0.28); }
.specimen-logo {
  position: relative; width: 50%; height: auto; border-radius: 26%;
  box-shadow: 0 0 0 1px rgba(229, 231, 235, 0.25), 0 30px 80px -20px rgba(229, 231, 235, 0.35), 0 0 60px -10px rgba(229, 231, 235, 0.25);
}
.bubble {
  position: absolute; border-radius: 50%; border: 1px solid rgba(229, 231, 235, 0.55);
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.6), rgba(255,255,255,.05) 60%);
  animation: rise 7s ease-in-out infinite;
}
.b1 { width: 14px; height: 14px; left: 22%; bottom: 22%; }
.b2 { width: 9px; height: 9px; left: 72%; bottom: 30%; animation-delay: -2.5s; animation-duration: 8s; }
.b3 { width: 6px; height: 6px; left: 64%; bottom: 18%; animation-delay: -5s; animation-duration: 6s; }
@keyframes rise {
  0% { transform: translateY(0); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: translateY(-180px); opacity: 0; }
}
@keyframes spin { to { transform: rotate(360deg); } }

.specimen-tags { display: grid; gap: 10px; width: min(360px, 100%); }
.specimen-tags li {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  font-size: 14px; color: var(--text);
}
.tag-id { font-family: var(--mono); font-size: 12px; color: var(--silver-4); letter-spacing: .06em; }
.tag-state { margin-left: auto; font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-faint); white-space: nowrap; }
.tag-state.live { color: var(--silver-1); text-shadow: 0 0 10px rgba(229, 231, 235, .6); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; border-top: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head h2, .about-copy h2 { font-size: clamp(34px, 5vw, 54px); font-weight: 800; letter-spacing: -0.035em; padding-bottom: .05em; }
.section-sub { color: var(--text-dim); font-size: 17px; margin: 14px 0 0; }

/* ---------- Apps ---------- */
.apps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(20px, 3vw, 32px); }
.app-card {
  position: relative; grid-column: 1 / -1;
  border-radius: var(--radius); padding: clamp(20px, 3.4vw, 40px);
  background: linear-gradient(180deg, var(--surface-2), var(--surface) 40%, var(--bg-2));
  border: 1px solid var(--line-strong);
  box-shadow: var(--glow);
}
.app-card::before { /* top silver sheen */
  content: ""; position: absolute; left: 8%; right: 8%; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.75), transparent);
}
.app-card--soon { border-style: dashed; background: linear-gradient(180deg, #0f0f11, var(--bg-2)); box-shadow: none; }
.app-card--soon::before { opacity: .4; }

.app-head { display: flex; gap: clamp(16px, 2.4vw, 24px); align-items: center; }
.app-icon {
  width: 88px; height: 88px; flex: none; border-radius: 22px;
  box-shadow: 0 0 0 1px rgba(229,231,235,.3), 0 14px 40px -12px rgba(229,231,235,.3);
}
.app-icon--placeholder {
  display: grid; place-items: center;
  background: radial-gradient(circle at 30% 20%, #26262b, #0b0b0c 75%);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 28px; padding: 0 12px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .02em;
  border: 1px solid var(--line-strong); color: var(--silver-2); background: rgba(255,255,255,.03);
}
.chip .dot { width: 7px; height: 7px; }
.chip-live { color: #0a0a0a; background: var(--brushed); border-color: transparent; box-shadow: inset 0 1px 0 rgba(255,255,255,.9); }
.chip-live .dot { background: #0a0a0a; box-shadow: none; }
.chip-mono { font-family: var(--mono); font-weight: 500; color: var(--silver-4); }
.chip-soon { border-style: dashed; }
.app-name { font-size: clamp(24px, 3.2vw, 34px); font-weight: 750; letter-spacing: -0.025em; color: #fff; }
.app-short { color: var(--text-dim); margin: 6px 0 0; font-size: clamp(15px, 1.5vw, 17px); }

.app-body { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(20px, 3vw, 36px); margin-top: clamp(24px, 3vw, 36px); align-items: start; }
.feature-graphic { width: 100%; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); margin-bottom: 26px; }
.mini-head { font-size: 13px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .16em; color: var(--silver-4); font-weight: 500; margin-bottom: 14px; }

.feature-list { display: grid; gap: 10px; }
.feature-list li { position: relative; padding-left: 28px; color: var(--text); }
.feature-list li::before {
  content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #9ca3af 60%, #4b5563);
  box-shadow: 0 0 8px rgba(229,231,235,.35);
}
.feature-list--compact { margin-top: 24px; }

.lab-notes {
  border-radius: var(--radius-sm); padding: clamp(18px, 2.4vw, 26px);
  background:
    repeating-linear-gradient(0deg, rgba(229,231,235,.035) 0 1px, transparent 1px 30px),
    linear-gradient(180deg, #1a1a1d, #101012);
  border: 1px solid var(--line-strong);
}
.notes-list { display: grid; gap: 16px; margin-bottom: 24px; }
.notes-list li { display: grid; gap: 3px; padding-left: 14px; border-left: 2px solid var(--silver-5); }
.notes-list strong { color: #fff; font-weight: 650; font-size: 15.5px; line-height: 1.4; }
.notes-list span { color: var(--text-dim); font-size: 14px; line-height: 1.5; }
.play-badge { display: inline-block; border-radius: 10px; transition: transform .2s, filter .2s; }
.play-badge img { width: 220px; height: auto; margin: -10px 0 -10px -14px; /* official badge includes its own padding */ }
.play-badge:hover { transform: translateY(-1px); filter: drop-shadow(0 8px 20px rgba(229,231,235,.25)); }

/* Gallery / carousel */
.gallery { margin-top: clamp(28px, 4vw, 44px); padding-top: clamp(22px, 3vw, 32px); border-top: 1px solid var(--line); }
.gallery-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.gallery-head .mini-head { margin: 0; }
.gallery-controls { display: flex; gap: 8px; }
.gallery-track {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px 2px 18px; scroll-padding-inline: 2px;
  scrollbar-width: thin; scrollbar-color: var(--silver-5) transparent;
  overscroll-behavior-x: contain;
}
.gallery-track::-webkit-scrollbar { height: 6px; }
.gallery-track::-webkit-scrollbar-thumb { background: var(--silver-5); border-radius: 6px; }
.gallery-track li { flex: 0 0 clamp(150px, 40vw, 200px); scroll-snap-align: start; }
.gallery-track a {
  display: block; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line-strong); background: #000;
  box-shadow: 0 16px 40px -18px rgba(0,0,0,.9);
  transition: transform .25s ease, border-color .25s, box-shadow .25s;
}
.gallery-track a:hover { transform: translateY(-3px); border-color: var(--silver-3); box-shadow: 0 18px 46px -16px rgba(229,231,235,.25); }
.gallery-track img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }

.soon-note { margin: 24px 0 0; font-size: 13px; color: var(--text-faint); letter-spacing: .02em; }

/* ---------- About ---------- */
.section--about { background: radial-gradient(800px 400px at 0% 0%, rgba(229,231,235,.05), transparent 70%); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-copy p { color: var(--text-dim); font-size: 17px; max-width: 34em; }
.about-copy h2 { margin-bottom: 22px; }
.principles { display: grid; gap: 14px; }
.principles li {
  display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: baseline;
  padding: 20px 22px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.005));
}
.principle-num { grid-row: span 2; font-size: 13px; color: var(--silver-4); }
.principles h3 { font-size: 18px; color: #fff; font-weight: 650; }
.principles p { margin: 4px 0 0; color: var(--text-dim); font-size: 15px; }

/* ---------- Lightbox ---------- */
.lightbox {
  border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none;
  background: rgba(3, 3, 3, 0.985); color: var(--text);
  display: none; place-items: center;
}
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 16px; }
.lightbox::backdrop { background: rgba(0,0,0,.7); }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 12px; min-width: 0; }
.lightbox img { max-height: calc(100dvh - 90px); width: auto; max-width: 100%; border-radius: 18px; border: 1px solid var(--line-strong); }
.lightbox figcaption { font-family: var(--mono); font-size: 13px; color: var(--silver-3); letter-spacing: .04em; text-align: center; }
.lightbox-close { position: absolute; top: 14px; right: 14px; z-index: 2; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { grid-template-columns: auto 1fr; align-items: center; justify-items: start; gap: 24px; }
  .specimen { width: 200px; }
  .app-body { grid-template-columns: 1fr; }
  .feature-graphic { max-width: 620px; }
  .about-grid { grid-template-columns: 1fr; }
}
@media (min-width: 641px) and (max-width: 960px) { /* unfolded inner screens, tablets */
  .notes-list { grid-template-columns: 1fr 1fr; gap: 18px 24px; }
}
@media (max-width: 640px) {
  .hero-visual { grid-template-columns: 1fr; justify-items: center; }
  .specimen { width: min(220px, 62vw); }
  .app-head { align-items: flex-start; }
  .app-icon { width: 64px; height: 64px; border-radius: 16px; }
  .app-icon--placeholder svg { width: 42px; height: 42px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .lightbox[open] { grid-template-columns: 1fr; padding: 56px 10px 10px; }
  .lightbox-prev, .lightbox-next { position: absolute; bottom: 18px; z-index: 2; }
  .lightbox-prev { left: 18px; } .lightbox-next { right: 18px; }
  .lightbox img { max-height: calc(100dvh - 120px); }
}
@media (max-width: 380px) { /* folded cover screens / small phones */
  .site-nav { gap: 12px; }
  .site-nav a { font-size: 14px; }
  .brand-name { font-size: 16px; }
  .app-head { flex-direction: column; }
  .play-badge img { width: 200px; }
}

/* Dual-screen / foldable devices that expose viewport segments */
@media (horizontal-viewport-segments: 2) {
  .hero-inner {
    grid-template-columns: env(viewport-segment-width 0 0) env(viewport-segment-width 1 0);
    column-gap: calc(env(viewport-segment-left 1 0) - env(viewport-segment-right 0 0));
    max-width: none; padding-inline: 0;
  }
  .hero-copy, .hero-visual { padding-inline: var(--pad); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .bubble { display: none; }
}


/* ==========================================================
   v2 additions: multi-page site
   ========================================================== */

/* ---------- Nav toggle (mobile) ---------- */
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; cursor: pointer;
  border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--silver-2);
  place-items: center; padding: 0;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s; }
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle-bars { display: grid; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-grid; }
  .site-header .site-nav {
    position: absolute; left: 0; right: 0; top: 64px;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--pad) 18px;
    background: rgba(5, 5, 5, 0.97); border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  }
  .site-header .site-nav.is-open { display: flex; }
  .site-header .site-nav a:not(.btn) { padding: 13px 2px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .site-header .site-nav .btn { margin-top: 14px; min-height: 46px; }
  .no-js .site-header .site-nav { position: static; display: flex; flex-direction: row; flex-wrap: wrap; padding: 0 0 12px; border: 0; background: none; }
  .no-js .nav-toggle { display: none; }
  .no-js .header-inner { height: auto; flex-wrap: wrap; padding-top: 12px; }
}

/* ---------- Generic section bits ---------- */
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section--alt { background: linear-gradient(180deg, #080809, var(--bg)); }
.section-head--center { margin-inline: auto; text-align: center; }
.text-link { color: var(--silver-2); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.text-link:hover { color: #fff; }
.text-link svg { transition: transform .2s; }
.text-link:hover svg { transform: translateX(3px); }
.card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 22px; }
.line-icon { width: 26px; height: 26px; color: var(--silver-2); }
.line-icon * { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-tile {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: radial-gradient(circle at 30% 20%, #2a2a2f, #0d0d0f 75%);
  border: 1px solid var(--line-strong); box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

/* ---------- Built for strip ---------- */
.builtfor { border-top: 1px solid var(--line); padding: 26px 0; background: #070708; }
.builtfor-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.builtfor-label { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--silver-5); margin: 0; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge {
  display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--silver-2); letter-spacing: .01em;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.01));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
}

/* ---------- Roadmap / In the lab ---------- */
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 24px); }
.road-card {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: clamp(20px, 2.6vw, 28px); border-radius: var(--radius);
  border: 1px solid var(--line-strong); background: linear-gradient(180deg, var(--surface-2), var(--bg-2));
}
.road-card--soon { border-style: dashed; }
.road-card--tba { border-style: dashed; border-color: var(--line); background: transparent; }
.road-status { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--silver-4); display: flex; align-items: center; gap: 8px; margin: 0; }
.road-card h3 { font-size: 22px; color: #fff; }
.road-card p { color: var(--text-dim); margin: 0; font-size: 15px; }
.road-card .feature-list { font-size: 15px; }
.road-card .card-actions { margin-top: auto; padding-top: 8px; }
.road-head { display: flex; align-items: center; gap: 14px; }
.road-head img, .road-head .app-icon { width: 52px; height: 52px; border-radius: 14px; }
.road-head .app-icon--placeholder svg { width: 36px; height: 36px; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 20px); counter-reset: step; position: relative; }
.step {
  position: relative; padding: 24px 22px 26px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.005));
}
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.step-num { font-family: var(--mono); font-size: 13px; color: var(--silver-5); letter-spacing: .08em; }
.step h3 { font-size: 19px; color: #fff; margin-bottom: 8px; }
.step p { color: var(--text-dim); font-size: 15px; margin: 0; }

/* ---------- Principles v2 ---------- */
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 24px); }
.principle {
  padding: clamp(22px, 2.8vw, 32px); border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(400px 200px at 0% 0%, rgba(229,231,235,.06), transparent 70%),
    linear-gradient(180deg, var(--surface-2), var(--bg-2));
}
.principle h3 { font-size: 21px; color: #fff; margin: 18px 0 10px; }
.principle p { color: var(--text-dim); margin: 0; font-size: 15.5px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(32px, 5vw, 60px); border-radius: 28px; text-align: center;
  background: linear-gradient(180deg, #141416, #0a0a0b) padding-box,
              linear-gradient(135deg, rgba(255,255,255,.55), rgba(156,163,175,.15) 40%, rgba(255,255,255,.4)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 30px 80px -40px rgba(229,231,235,.35);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(229,231,235,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(229,231,235,.05) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
}
.cta-band h2 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; letter-spacing: -0.03em; padding-bottom: .05em; }
.cta-band p { color: var(--text-dim); max-width: 36em; margin: 14px auto 0; font-size: 17px; }
.cta-band .hero-actions { justify-content: center; }
.cta-note { font-family: var(--mono); font-size: 12.5px; color: var(--silver-5) !important; letter-spacing: .04em; margin-top: 18px !important; }

/* ---------- Footer v2 ---------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 72px) 0 calc(28px + env(safe-area-inset-bottom)); background: #030303; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 36px 28px; }
.footer-brand .brand { margin-bottom: 4px; }
.footer-tag { color: var(--text-faint); font-size: 14px; margin: 12px 0 0; max-width: 22em; }
.footer-col h2 { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--silver-4); margin: 6px 0 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: var(--text-dim); text-decoration: none; font-size: 14.5px; }
.footer-col a:hover { color: #fff; }
.soon-tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--silver-5); border: 1px dashed var(--line-strong); border-radius: 999px; padding: 1px 7px; margin-left: 6px; white-space: nowrap; }
.footer-legal { margin-top: 44px; color: var(--text-faint); font-size: 12.5px; line-height: 1.6; }
.footer-legal::before { content: ""; display: block; border-top: 1px solid var(--line); margin-bottom: 22px; }
.footer-legal p { margin: 0 0 6px; max-width: 80em; }

/* ---------- Sub-page hero ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(40px, 7vw, 84px) 0 clamp(36px, 5vw, 60px); border-bottom: 1px solid var(--line); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 360px at 80% 20%, rgba(229,231,235,.08), transparent 70%); }
.page-hero h1 { font-size: clamp(38px, 6vw, 68px); font-weight: 800; letter-spacing: -0.04em; padding-bottom: .05em; }
.page-hero .lede { color: var(--text-dim); font-size: clamp(16px, 1.7vw, 19px); max-width: 40em; margin: 16px 0 0; text-wrap: pretty; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--mono); font-size: 12.5px; color: var(--silver-5); margin: 0 0 22px; padding: 0; list-style: none; }
.breadcrumb a { color: var(--silver-4); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--text-faint); }
.updated { font-family: var(--mono); font-size: 12.5px; color: var(--silver-5); margin: 18px 0 0; }

/* ---------- App detail page ---------- */
.app-hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.app-hero-id { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.app-hero-id .app-icon { width: 96px; height: 96px; border-radius: 24px; }
.app-hero h1 { font-size: clamp(34px, 5vw, 56px); }
.app-hero .disclosure-line { font-size: 14px; color: var(--text-dim); margin: 18px 0 0; }
.app-hero .disclosure-line strong { color: var(--silver-2); font-weight: 600; }
.app-hero .play-badge img { width: 230px; }
.app-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 22px; }
.app-hero-media { position: relative; }
.app-hero-media img { width: 100%; border-radius: 18px; border: 1px solid var(--line-strong); box-shadow: 0 40px 90px -40px rgba(229,231,235,.35); }
.subnav { position: sticky; top: 64px; z-index: 40; background: rgba(5,5,5,.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; white-space: nowrap; text-decoration: none; font-size: 14px; color: var(--text-dim); border: 1px solid transparent; }
.subnav a:hover { color: #fff; border-color: var(--line-strong); }
[id] { scroll-margin-top: 130px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 20px); }
.feature-card { padding: 22px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.005)); }
.feature-card .step-num { display: block; margin-bottom: 12px; }
.feature-card h3 { font-size: 17.5px; color: #fff; margin-bottom: 6px; }
.feature-card p { margin: 0; color: var(--text-dim); font-size: 15px; }
.overview-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.overview-grid .prose p { font-size: 17px; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 0; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); overflow: hidden; margin: 0; background: #0c0c0d; }
.facts dt, .facts dd { margin: 0; padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.facts dt { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--silver-4); padding-top: 15px; }
.facts dd { color: var(--text); }
.facts dt:last-of-type, .facts dd:last-of-type { border-bottom: 0; }
.facts code { font-family: var(--mono); font-size: 13px; color: var(--silver-2); word-break: break-all; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 24px); }
.panel { padding: clamp(22px, 2.8vw, 32px); border-radius: var(--radius); border: 1px solid var(--line-strong); background: linear-gradient(180deg, var(--surface-2), var(--bg-2)); }
.panel h3 { font-size: 21px; color: #fff; margin: 14px 0 6px; }
.panel > p { color: var(--text-dim); font-size: 15px; }
.panel-label { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--silver-4); margin: 0; }
.steps-list { counter-reset: s; display: grid; gap: 12px; margin-top: 18px; }
.steps-list li { counter-increment: s; position: relative; padding-left: 40px; color: var(--text); font-size: 15px; }
.steps-list li::before {
  content: counter(s); position: absolute; left: 0; top: -1px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--mono); font-size: 12px; color: #0a0a0a; background: var(--brushed);
}
.callout { margin-top: 18px; padding: 12px 16px; border-left: 2px solid var(--silver-4); background: rgba(255,255,255,.03); border-radius: 0 10px 10px 0; color: var(--text-dim); font-size: 14.5px; }
.callout strong { color: var(--silver-2); }
.req-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.req-list li { display: flex; gap: 14px; padding: 18px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.req-list strong { display: block; color: #fff; font-size: 16px; margin-bottom: 2px; }
.req-list span { color: var(--text-dim); font-size: 14.5px; }
.req-list .icon-tile { flex: none; width: 42px; height: 42px; border-radius: 12px; }
.req-list .line-icon { width: 22px; height: 22px; }
.panel .big { font-size: clamp(19px, 2.2vw, 23px); font-weight: 700; color: #fff; line-height: 1.35; margin: 12px 0 14px; }
.final-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.final-cta h2 { font-size: clamp(26px, 3.4vw, 36px); }
.final-cta p { color: var(--text-dim); margin: 8px 0 0; }

/* ---------- Prose / documents ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(22px, 2.6vw, 28px); color: #fff; margin: 44px 0 14px; letter-spacing: -0.02em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; color: #fff; margin: 26px 0 8px; }
.prose p, .prose li { color: var(--text-dim); font-size: 16px; }
.prose ul { list-style: none; display: grid; gap: 8px; margin: 0 0 1em; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--silver-4); }
.prose a { color: var(--silver-1); }
.prose strong { color: var(--silver-2); }
.doc-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.toc { position: sticky; top: 92px; border-left: 1px solid var(--line); padding-left: 18px; }
.toc p { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--silver-5); margin-bottom: 12px; }
.toc ul { display: grid; gap: 8px; }
.toc a { color: var(--text-dim); text-decoration: none; font-size: 14px; }
.toc a:hover { color: #fff; }
.note-box { padding: 16px 18px; border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); color: var(--text-dim); font-size: 14.5px; margin-bottom: 32px; background: rgba(255,255,255,.02); }
.note-box strong { color: var(--silver-2); }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group > h2 { font-size: clamp(22px, 2.6vw, 28px); color: #fff; margin-bottom: 16px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255,255,255,.02); transition: border-color .2s, background .2s; }
.faq-item + .faq-item { margin-top: 10px; }
.faq-item[open] { border-color: var(--line-strong); background: linear-gradient(180deg, var(--surface-2), var(--bg-2)); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; font-weight: 600; color: #fff; font-size: 16.5px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px;
  border-right: 2px solid var(--silver-4); border-bottom: 2px solid var(--silver-4); transform: rotate(45deg) translateY(-3px); transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq-answer { padding: 0 20px 20px; color: var(--text-dim); font-size: 15.5px; }
.faq-answer p { margin: 0 0 .8em; }
.faq-answer p:last-child { margin: 0; }
.faq-answer code { font-family: var(--mono); font-size: 13.5px; color: var(--silver-2); background: #1b1b1e; padding: 2px 6px; border-radius: 6px; }
.faq-answer ul { list-style: disc; padding-left: 20px; margin: 0 0 .8em; }

/* ---------- Press kit ---------- */
.dl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: clamp(14px, 2vw, 20px); }
.dl-card { display: flex; flex-direction: column; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); overflow: hidden; background: #0c0c0d; }
.dl-preview {
  display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 22px;
  background:
    linear-gradient(45deg, #121214 25%, transparent 25%, transparent 75%, #121214 75%) 0 0 / 20px 20px,
    linear-gradient(45deg, #121214 25%, transparent 25%, transparent 75%, #121214 75%) 10px 10px / 20px 20px,
    #0a0a0b;
  border-bottom: 1px solid var(--line);
}
.dl-preview img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.dl-preview--wide { aspect-ratio: 4 / 3; }
.dl-preview--wide img { border-radius: 8px; }
.dl-preview--tall img { border-radius: 8px; border: 1px solid var(--line); }
.dl-body { padding: 16px 18px 18px; display: grid; gap: 4px; flex: 1; }
.dl-body h3 { font-size: 16px; color: #fff; }
.dl-meta { font-family: var(--mono); font-size: 12px; color: var(--silver-5); margin: 0; }
.dl-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.dl-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px;
  font-size: 13px; font-weight: 600; text-decoration: none; color: var(--silver-2);
  border: 1px solid var(--line-strong); background: rgba(255,255,255,.03);
}
.dl-btn:hover { color: #fff; border-color: var(--silver-3); }
.dl-btn svg { width: 14px; height: 14px; }
.boiler { display: grid; gap: 16px; }
.boiler-card { padding: 22px 24px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: linear-gradient(180deg, var(--surface-2), var(--bg-2)); }
.boiler-card p:last-child { margin: 0; }
.boiler-card p { color: var(--text); }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.swatch { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line-strong); background: #0c0c0d; }
.swatch-chip { height: 76px; }
.swatch-info { padding: 10px 14px 12px; }
.swatch-info strong { display: block; color: #fff; font-size: 14px; }
.swatch-info code { font-family: var(--mono); font-size: 12.5px; color: var(--silver-4); }

/* ---------- v2 responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .process { grid-template-columns: repeat(2, 1fr); }
  .roadmap { grid-template-columns: 1fr; }
  .principle-grid { grid-template-columns: 1fr; }
  .app-hero-grid, .overview-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .doc-layout, .faq-layout { grid-template-columns: 1fr; }
  .toc { position: static; border-left: 0; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
  .toc ul { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
}
@media (max-width: 720px) {
  .two-col, .req-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .process, .feature-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .facts dt { border-bottom: 0; padding-bottom: 0; }
  .app-hero-id .app-icon { width: 72px; height: 72px; border-radius: 18px; }
  .final-cta .play-badge img { width: 200px; }
}

/* v2 helpers */
.sub-title { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 22px; padding-bottom: .05em; }
.callout--spaced { margin-top: 28px; }
.final-cta-text { flex: 1 1 420px; }
.final-cta-text h2 { margin-top: 10px; }
.final-cta-text p:last-child { margin-top: 14px; }
.dl-icon { border-radius: 28px; }
.swatch-head { margin-top: 44px; }
.boiler-card .panel-label + p { margin-top: 10px; }
.page-hero .hero-actions { margin-top: 26px; }

/* v2 fixes */
ol.process, ol.steps-list, ol.breadcrumb { list-style: none; padding: 0; margin-bottom: 0; }
ol.process { margin: 0; }
@media (max-width: 860px) {
  .site-header .site-nav { background: #070707; box-shadow: 0 24px 48px -12px rgba(0,0,0,.9); }
}
.overview-copy p:not(.eyebrow) { color: var(--text-dim); font-size: 17px; max-width: 36em; }
.dl-btn svg * { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dl-preview, .dl-preview--wide { aspect-ratio: auto; height: 220px; }
.dl-preview img { max-height: 176px; }
.dl-body { align-content: start; }

/* ==========================================================
   v3: demo video ("See it in action")
   ========================================================== */
.demo-frame {
  position: relative; overflow: hidden; border-radius: 18px; background: #000;
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 0 1px rgba(229,231,235,.06), 0 40px 90px -40px rgba(229,231,235,.35), 0 20px 50px -24px rgba(0,0,0,.9);
}
.demo-frame::before { /* top silver sheen, matches the app card */
  content: ""; position: absolute; left: 10%; right: 10%; top: 0; height: 1px; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent);
}
.demo-video { display: block; width: 100%; height: auto; background: #000; }
.demo-video--land { aspect-ratio: 16 / 9; }
.demo-video--vert { aspect-ratio: 9 / 16; }
.demo-fallback { padding: 24px; color: var(--text-dim); font-size: 14.5px; margin: 0; }
.demo-caption { color: var(--text-dim); font-size: 15px; margin: 14px 2px 0; text-wrap: pretty; }
.demo-caption .text-link { margin-left: 4px; white-space: nowrap; }
.demo-caption.mono { font-size: 12.5px; letter-spacing: .06em; color: var(--silver-5); text-align: center; }
.demo-len { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--silver-5); }

/* Home: featured video inside the app card */
.demo-feature { margin: clamp(28px, 4vw, 44px) 0 0; padding-top: clamp(22px, 3vw, 32px); border-top: 1px solid var(--line); }
.demo-feature-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.demo-feature-head .mini-head { margin: 0; }

/* App page: copy + vertical video side by side */
.demo-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.demo-copy p:not(.eyebrow):not(.disclosure-line):not(.demo-alt) { color: var(--text-dim); font-size: 17px; max-width: 36em; }
.demo-points { margin: 22px 0 0; }
.demo-copy .disclosure-line { font-size: 14px; color: var(--text-dim); margin: 24px 0 0; padding: 12px 16px; border-left: 2px solid var(--silver-4); background: rgba(255,255,255,.03); border-radius: 0 10px 10px 0; }
.demo-copy .disclosure-line strong { color: var(--silver-2); font-weight: 600; }
.demo-alt { font-size: 14px; color: var(--text-faint); margin: 16px 0 0; }
.demo-figure { margin: 0; justify-self: center; width: min(100%, 360px); }
.demo-frame--vert { border-radius: 28px; padding: 8px; background: linear-gradient(180deg, #1c1c20, #0a0a0b); }
.demo-frame--vert .demo-video { border-radius: 21px; }

@media (max-width: 960px) {
  .demo-grid { grid-template-columns: 1fr; }
  .demo-figure { width: min(100%, 340px); }
}
@media (max-width: 640px) {
  .demo-feature-head { flex-wrap: wrap; }
  .demo-figure { width: min(100%, 300px); }
  .demo-frame { border-radius: 14px; }
  .demo-frame--vert { border-radius: 24px; padding: 6px; }
  .demo-frame--vert .demo-video { border-radius: 18px; }
}

/* ---- ZFOLD8 Manager rebrand (2026-10-14) ---- */
.merge-note { margin: 12px 0 0; padding: 10px 14px; border: 1px solid var(--line); border-left: 3px solid var(--silver-3); border-radius: 10px; background: rgba(229,231,235,.05); color: var(--text-dim); font-size: 14.5px; }
.merge-note strong { color: var(--silver-1, #f3f4f6); }
.soon-line { color: var(--text-dim); font-size: 14.5px; margin: 14px 0 0; }
.soon-line .soon-tag, .feature-card--soon .soon-tag { margin-right: 6px; }
.feature-grid--soon .feature-card--soon { opacity: .8; border-style: dashed; }
.video-slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(18px, 3vw, 32px); }
.video-slot { margin: 0; }
.video-slot .demo-video { aspect-ratio: 9 / 16; max-height: 70vh; margin: 0 auto; }
.video-placeholder { aspect-ratio: 16 / 10; display: grid; place-content: center; gap: 8px; text-align: center; background: repeating-linear-gradient(135deg, #0b0b0d 0 14px, #101013 14px 28px); color: var(--silver-3, #d1d5db); }
.video-placeholder .mono { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--silver-5); }
.video-placeholder strong { font-size: 18px; }
.shot-placeholder div { aspect-ratio: 9 / 16; display: grid; place-items: center; border: 1px dashed var(--line); border-radius: 14px; color: var(--silver-5); text-align: center; padding: 12px; }
.app-hero-media .hero-shot { width: min(100%, 300px); height: auto; margin: 0 auto; border-radius: 18px; border: 1px solid var(--line); }

/* ---- v1.3.00 assets: mixed-orientation carousel, 16:9 walkthrough videos ---- */
.gallery-track li.shot { flex: 0 0 auto; }
.gallery-track li.shot img { height: clamp(240px, 52vw, 380px); width: auto; max-width: none; aspect-ratio: auto; object-fit: contain; }
.video-slot .demo-video { aspect-ratio: 16 / 9; max-height: none; }
.video-slots { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.video-slot .demo-caption .mono { display: block; margin-top: 4px; font-size: 12px; color: var(--silver-5); }
.dl-preview img { height: auto; }
