:root {
  color-scheme: dark;
  --bg: #08080d;
  --bg-elevated: #111119;
  --bg-card: rgba(20, 20, 29, 0.78);
  --bg-card-hover: rgba(27, 27, 39, 0.92);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f4f7;
  --text-muted: #a1a1b2;
  --text-dim: #717182;
  --accent: #ff3b30;
  --accent-bright: #ff584f;
  --accent-glow: rgba(255, 59, 48, 0.22);
  --accent-soft: rgba(255, 59, 48, 0.12);
  --green: #34d399;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  min-block-size: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -12%, rgba(255, 59, 48, 0.16), transparent 68%),
    radial-gradient(ellipse 50% 40% at 85% 20%, rgba(99, 102, 241, 0.07), transparent 65%);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
  border-radius: 6px;
}

code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 6px;
  color: #f9fafb;
}

/* Top Navigation */
.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(8, 8, 13, 0.72);
  border-block-end: 1px solid var(--border);
}

.nav-inner {
  max-inline-size: 1120px;
  margin-inline: auto;
  padding-block: 14px;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand img {
  display: block;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-links a[aria-current='page'] {
  color: #fff;
  background: var(--accent-soft);
  border: 1px solid rgba(255, 59, 48, 0.35);
}

/* Main container */
.wrap {
  flex: 1 0 auto;
  inline-size: 100%;
  max-inline-size: 1120px;
  margin-inline: auto;
  padding-inline: 24px;
}

.wrap-narrow {
  max-inline-size: 860px;
}

/* Shared Badges & Typography */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-block-end: 20px;
}

.hero-badge-dot {
  inline-size: 7px;
  block-size: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-block-end: 10px;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 20%, #ff7a72 70%, #ff3b30 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons */
.cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-block-end: 20px;
}

.cta-row-start {
  justify-content: flex-start;
  margin-block-end: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.96rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.16s ease,
    background-color 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: background-color 0.16s ease, border-color 0.16s ease;
  }
}

.btn svg {
  inline-size: 18px;
  block-size: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(180deg, var(--accent-bright) 0%, var(--accent) 100%);
  color: #fff;
  box-shadow: 0 8px 28px -6px rgba(255, 59, 48, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px -4px rgba(255, 59, 48, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn-soon {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: var(--border-strong);
  cursor: default;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary:hover,
  .btn-secondary:hover {
    transform: none;
  }
}

/* Home Hero */
.hero {
  text-align: center;
  padding-block: 68px 48px;
}

.hero h1 {
  font-size: clamp(2.35rem, 5.2vw, 3.85rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0 auto 20px;
  max-inline-size: 18ch;
  color: #fff;
}

.hero-sub {
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
  color: var(--text-muted);
  max-inline-size: 62ch;
  margin: 0 auto 32px;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-block-end: 44px;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-meta svg {
  inline-size: 15px;
  block-size: 15px;
  color: var(--accent-bright);
}

/* Interactive Stage Showcase */
.stage-shell {
  position: relative;
  max-inline-size: 980px;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  padding: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03));
  box-shadow:
    0 30px 80px -20px rgba(0, 0, 0, 0.8),
    0 0 90px -25px var(--accent-glow);
}

.stage-frame {
  border-radius: calc(var(--radius-lg) - 6px);
  overflow: hidden;
  background: #0d0d12;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.stage-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-block-end: 1px solid var(--border);
}

.window-dots {
  display: flex;
  gap: 7px;
}

.window-dots span {
  inline-size: 10px;
  block-size: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.stage-url {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-dim);
  background: rgba(0, 0, 0, 0.35);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.stage-zoom-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 7px;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.stage-zoom-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--border-strong);
}

.stage-zoom-btn svg {
  inline-size: 14px;
  block-size: 14px;
}

.stage-viewport {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0b0b10;
}

.stage-viewport img {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

.stage-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-block-start: 20px;
}

.stage-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.stage-tab:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.stage-tab[aria-selected='true'] {
  color: #fff;
  background: var(--accent-soft);
  border-color: rgba(255, 59, 48, 0.45);
}

.stage-tab-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-bright);
}

/* Section Headings */
.section {
  padding-block: 64px;
}

.section-head {
  text-align: center;
  max-inline-size: 620px;
  margin: 0 auto 40px;
}

h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin: 0 0 12px;
  color: #fff;
}

.section-desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
}

/* Subpage Hero */
.page-hero {
  padding-block: 56px 32px;
  border-block-end: 1px solid var(--border);
  margin-block-end: 36px;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 12px;
  color: #fff;
}

.page-hero-sub {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-muted);
  max-inline-size: 62ch;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-block-end: 16px;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--accent-bright);
}

/* Bento Features Grid */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.bento-card {
  grid-column: span 4;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-inline-size: 0;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.bento-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
}

.bento-card.wide {
  grid-column: span 6;
}

@media (max-width: 900px) {
  .bento-card,
  .bento-card.wide {
    grid-column: span 6;
  }
}

@media (max-width: 640px) {
  .bento-card,
  .bento-card.wide {
    grid-column: span 12;
  }
}

.icon-box {
  inline-size: 40px;
  block-size: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border: 1px solid rgba(255, 59, 48, 0.25);
  color: var(--accent-bright);
  flex-shrink: 0;
}

.icon-box svg {
  inline-size: 20px;
  block-size: 20px;
}

.bento-card h3 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 650;
  color: #fff;
  letter-spacing: -0.01em;
}

.bento-card p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-muted);
}

/* Mini Live-Style Pill inside card */
.mini-pill {
  margin-block-start: auto;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
}

.mini-pill-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
}

.mini-pill-dot {
  inline-size: 7px;
  block-size: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.mini-pill-chips {
  display: inline-flex;
  gap: 6px;
  color: var(--text-muted);
}

.mini-pill-chips span {
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
}

/* Walkthrough Gallery Grid */
.shots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 18px;
}

.shot-card {
  margin: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.shot-card:hover {
  border-color: rgba(255, 59, 48, 0.4);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .shot-card:hover {
    transform: none;
  }
}

.shot-trigger {
  display: block;
  padding: 0;
  border: 0;
  background: #0b0b10;
  cursor: zoom-in;
  inline-size: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.shot-trigger img {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.shot-card:hover .shot-trigger img {
  transform: scale(1.02);
}

@media (prefers-reduced-motion: reduce) {
  .shot-card:hover .shot-trigger img {
    transform: none;
  }
}

.shot-card figcaption {
  padding: 14px 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-block-start: 1px solid var(--border);
}

.shot-card figcaption strong {
  color: #fff;
  font-weight: 600;
}

/* Panels & Split Grid */
.split-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.stack-grid {
  display: grid;
  gap: 18px;
  margin-block-end: 40px;
}

.panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
}

.panel-highlight {
  background:
    radial-gradient(circle at 0% 0%, rgba(52, 211, 153, 0.1), transparent 55%),
    var(--bg-card);
  border-color: rgba(52, 211, 153, 0.25);
}

.panel h2,
.panel h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  color: #fff;
}

.panel-lead {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.panel p {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.panel p:last-child {
  margin-block-end: 0;
}

.panel-list {
  margin: 0;
  padding-inline-start: 20px;
  display: grid;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.panel-list strong {
  color: #fff;
}

.shortcut-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.shortcut-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
}

.shortcut-desc {
  color: var(--text-muted);
}

kbd {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  background: #1c1c27;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-block-end-width: 2px;
  border-radius: 6px;
  padding: 3px 8px;
  white-space: nowrap;
}

.usecase-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.usecase-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.usecase-badge {
  font-size: 1.15rem;
  line-height: 1.3;
  flex-shrink: 0;
}

.usecase-list strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
  margin-block-end: 2px;
}

.usecase-list span {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* FAQ Accordion (Native details/summary) */
.faq-list {
  max-inline-size: 760px;
  margin-inline: auto;
  display: grid;
  gap: 10px;
}

details.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.18s ease;
}

details.faq-item[open] {
  border-color: var(--border-strong);
}

details.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 0.98rem;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 1.15rem;
  color: var(--text-muted);
  transition: transform 0.2s ease, color 0.2s ease;
}

details.faq-item[open] summary::after {
  content: '−';
  color: var(--accent-bright);
}

.faq-body {
  padding: 0 22px 18px;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.93rem;
}

/* Bottom CTA Banner */
.cta-banner {
  margin-block: 32px 24px;
  padding: 44px 28px;
  border-radius: var(--radius-lg);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 59, 48, 0.18), transparent 70%),
    var(--bg-elevated);
  border: 1px solid var(--border-strong);
}

.cta-banner h2 {
  margin-block-end: 10px;
}

.cta-banner p {
  color: var(--text-muted);
  max-inline-size: 52ch;
  margin: 0 auto 24px;
}

/* 404 Card */
.not-found {
  text-align: center;
  padding-block: 96px;
  max-inline-size: 560px;
  margin-inline: auto;
}

.not-found h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  color: #fff;
}

.not-found p {
  color: var(--text-muted);
  margin: 0 0 28px;
}

/* Footer */
footer {
  inline-size: 100%;
  max-inline-size: 1120px;
  margin-inline: auto;
  margin-block-start: 48px;
  padding: 28px 24px 40px;
  border-block-start: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-links a:hover,
.footer-links a[aria-current='page'] {
  color: var(--accent-bright);
}

/* Native Lightbox Modal (<dialog>) */
dialog.lightbox {
  margin: auto;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: #0d0d13;
  color: var(--text);
  max-inline-size: min(94vw, 1060px);
  max-block-size: 92dvh;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.85);
  opacity: 0;
  transform: scale(0.97);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    display 0.2s allow-discrete,
    overlay 0.2s allow-discrete;
}

dialog.lightbox[open] {
  display: flex;
  flex-direction: column;
  opacity: 1;
  transform: scale(1);
}

@starting-style {
  dialog.lightbox[open] {
    opacity: 0;
    transform: scale(0.97);
  }
}

@media (prefers-reduced-motion: reduce) {
  dialog.lightbox {
    transition: opacity 0.15s ease, display 0.15s allow-discrete, overlay 0.15s allow-discrete;
    transform: none;
  }
  @starting-style {
    dialog.lightbox[open] {
      transform: none;
    }
  }
}

dialog.lightbox:modal {
  overscroll-behavior: contain;
}

dialog.lightbox::backdrop {
  background: rgba(4, 4, 8, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
  overscroll-behavior: contain;
}

.lightbox-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-block-end: 1px solid var(--border);
}

.lightbox-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

.lightbox-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 32px;
  block-size: 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.12);
}

.lightbox-img {
  display: block;
  inline-size: 100%;
  block-size: auto;
  max-block-size: calc(92dvh - 60px);
  object-fit: contain;
}

@media (max-width: 640px) {
  .nav-inner {
    padding-block: 10px;
    padding-inline: 16px;
    gap: 8px;
  }
  .nav-links {
    gap: 2px;
    overflow-x: auto;
    max-inline-size: 100%;
    scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar {
    display: none;
  }
  .nav-links a {
    padding: 5px 8px;
    font-size: 0.82rem;
    white-space: nowrap;
  }
  .wrap {
    padding-inline: 16px;
  }
  .hero {
    padding-block: 28px 32px;
  }
  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-row .btn {
    inline-size: 100%;
    justify-content: center;
  }
  .hero-meta {
    gap: 10px 16px;
    font-size: 0.82rem;
  }
  .stage-topbar {
    padding: 8px 10px;
    gap: 8px;
  }
  .stage-url {
    min-inline-size: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.72rem;
  }
  .stage-tabs {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-block-end: 4px;
    scrollbar-width: none;
  }
  .stage-tabs::-webkit-scrollbar {
    display: none;
  }
  .stage-tab {
    flex-shrink: 0;
    font-size: 0.8rem;
    padding: 7px 10px;
  }
  .shots-grid,
  .split-grid {
    grid-template-columns: 1fr;
  }
  .panel,
  .bento-card {
    padding: 18px;
  }
  .shortcut-list li {
    flex-wrap: wrap;
    gap: 6px;
  }
  .cta-banner {
    padding: 28px 18px;
  }
  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }
  .footer-links a {
    margin-inline-start: 0;
  }
  .lightbox {
    max-inline-size: calc(100vw - 20px);
    max-block-size: 90dvh;
  }
}
