/* VansonMod Official Portal — Architectural Indigo-Cyan (靛青) Design System */
:root {
  --bg: #f7fafc;
  --surface: #ffffff;
  --surface-tint: #eef5f8;
  --surface-soft: #f2f7fa;
  --border: #dde7ee;
  --border-strong: #b6d0dd;

  /* Indigo-Cyan (靛青色) Core */
  --indigo: #124559;
  --indigo-deep: #0b2e3d;
  --indigo-mid: #165b73;
  --cyan: #0e7490;
  --cyan-bright: #06b6d4;
  --cyan-soft: rgba(14, 116, 144, 0.08);
  --cyan-ring: rgba(14, 116, 144, 0.24);

  /* Ink */
  --ink-0: #0a1f2e;
  --ink-1: #3b5468;
  --ink-2: #688196;

  /* Dark Stage (Deep Indigo-Obsidian) */
  --stage-0: #071722;
  --stage-1: #0c2231;
  --stage-border: rgba(125, 211, 252, 0.16);
  --stage-ink: #e6f4fa;
  --stage-muted: #7da0b5;
  --stage-cyan: #67e8f9;
  --stage-teal: #5eead4;

  /* Semantic */
  --ok: #0d9488;
  --ok-bg: #ecfdf5;
  --ok-border: #bbf7d0;
  --amber: #b45309;
  --amber-bg: #fffbeb;
  --amber-border: #fde68a;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;

  --shadow-xs: 0 1px 2px rgba(10, 31, 46, 0.04);
  --shadow-sm: 0 6px 20px rgba(11, 46, 61, 0.06);
  --shadow-md: 0 18px 46px rgba(11, 46, 61, 0.11);
  --shadow-stage: 0 28px 70px rgba(7, 23, 34, 0.24), 0 0 0 1px rgba(125, 211, 252, 0.12);

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  --font-mono: "SF Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --container: 1140px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
  color: var(--ink-0);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  color: var(--ink-0);
  line-height: 1.65;
  font-size: 15px;
  max-width: 100%;
  overflow-x: clip;
}

main {
  flex: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
}

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

/* Keyframes */
@keyframes fadeUpIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-6px) scale(1.02); }
}

@keyframes ringSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulseRing {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.06); }
}

@keyframes auroraShift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(18px, -12px, 0) scale(1.05); }
}

.anim-in {
  animation: fadeUpIn 0.8s var(--ease-out-expo) both;
}
.anim-d1 { animation-delay: 0.06s; }
.anim-d2 { animation-delay: 0.14s; }
.anim-d3 { animation-delay: 0.22s; }
.anim-d4 { animation-delay: 0.30s; }

/* Apple-style Scroll Reveal & Staggered Cascade */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.reveal-hidden {
  opacity: 0;
  transform: translateY(30px) scale(0.985);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.stagger-group > * {
  transition: opacity 0.78s cubic-bezier(0.22, 1, 0.36, 1), transform 0.78s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.22s ease, box-shadow 0.22s ease;
}

.stagger-group.reveal-hidden > * {
  opacity: 0;
  transform: translateY(26px);
}

.stagger-group.is-visible > *:nth-child(1) { transition-delay: 0.02s; }
.stagger-group.is-visible > *:nth-child(2) { transition-delay: 0.09s; }
.stagger-group.is-visible > *:nth-child(3) { transition-delay: 0.16s; }
.stagger-group.is-visible > *:nth-child(4) { transition-delay: 0.23s; }
.stagger-group.is-visible > *:nth-child(5) { transition-delay: 0.30s; }
.stagger-group.is-visible > *:nth-child(6) { transition-delay: 0.37s; }

/* Auto-expiring Trial Strikethrough & Beta Pill */
.trial-strike {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(14, 116, 144, 0.55);
  opacity: 0.55;
  margin-right: 6px;
  font-weight: 600;
}

.callout .trial-strike {
  text-decoration-color: rgba(255, 255, 255, 0.7);
  opacity: 0.65;
}

.beta-window-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(14, 116, 144, 0.12);
  color: var(--indigo);
  border: 1px solid rgba(14, 116, 144, 0.28);
  vertical-align: middle;
}

.callout .beta-window-pill {
  background: rgba(255, 255, 255, 0.15);
  color: #e0f7ff;
  border-color: rgba(255, 255, 255, 0.3);
}

.is-post-beta .beta-only {
  display: none !important;
}

.btn-disabled {
  background: var(--surface-soft);
  color: var(--ink-2);
  border: 1px dashed var(--border-strong);
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 250, 252, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(221, 231, 238, 0.85);
  transition: box-shadow 0.24s ease, background 0.24s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 24px rgba(11, 46, 61, 0.06);
}

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--indigo), var(--cyan-bright));
  transition: width 0.08s linear;
  pointer-events: none;
}

.nav-bar {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16.5px;
  letter-spacing: -0.025em;
  color: var(--ink-0);
  white-space: nowrap;
}

.brand-orb {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 3px 12px rgba(18, 69, 89, 0.24);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-1);
  padding: 7px 13px;
  border-radius: 9px;
  transition: color 0.16s ease, background 0.16s ease;
}

.nav-links a:hover {
  color: var(--indigo);
  background: rgba(18, 69, 89, 0.05);
}

.nav-links a.active {
  color: var(--indigo);
  font-weight: 600;
  background: rgba(14, 116, 144, 0.09);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 2px;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 7px;
  transition: all 0.16s ease;
}

.lang-btn.active {
  color: #fff;
  background: var(--indigo);
}

.mobile-menu-btn {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-0);
  align-items: center;
  justify-content: center;
}

.mobile-drawer {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 12px 20px 16px;
}

.mobile-drawer.open {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-drawer a {
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-1);
}

.mobile-drawer a.active {
  color: var(--indigo);
  background: var(--surface-tint);
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  padding: 11px 20px;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease-out-expo), box-shadow 0.2s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(135deg, var(--indigo-deep) 0%, var(--indigo) 55%, var(--cyan) 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(18, 69, 89, 0.24);
}

.btn-primary:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 10px 28px rgba(18, 69, 89, 0.32);
}

.btn-outline,
.btn-secondary {
  background: var(--surface);
  color: var(--ink-0);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-xs);
}

.btn-outline:hover,
.btn-secondary:hover {
  border-color: var(--indigo);
  color: var(--indigo);
  background: var(--surface-soft);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--indigo);
}

.btn-ghost:hover {
  background: var(--cyan-soft);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 8px;
}

.btn-block {
  width: 100%;
}

/* Full-Viewport Architectural Hero (First Screen) */
.hero-viewport {
  position: relative;
  min-height: clamp(660px, calc(100vh - 68px), 880px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 52px 0 56px;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(18, 69, 89, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 69, 89, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 78% 68% at 50% 24%, #000 35%, transparent 100%);
  z-index: 0;
}

.hero-glow {
  position: absolute;
  top: -140px;
  left: 50%;
  width: 920px;
  height: 520px;
  margin-left: -460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 116, 144, 0.16) 0%, rgba(18, 69, 89, 0.08) 42%, transparent 72%);
  filter: blur(26px);
  pointer-events: none;
  animation: auroraShift 12s ease-in-out infinite;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-xs);
  font-size: 13px;
  font-weight: 600;
  color: var(--indigo);
  margin-bottom: 24px;
}

.hero-pill img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
}

.hero-title {
  margin: 0 0 18px;
  max-width: 860px;
  font-size: clamp(38px, 5.6vw, 66px);
  line-height: 1.07;
  letter-spacing: -0.04em;
  font-weight: 800;
  background: linear-gradient(180deg, #071926 0%, #124559 70%, #0e7490 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin: 0 0 30px;
  max-width: 640px;
  font-size: clamp(15.5px, 1.5vw, 18px);
  line-height: 1.6;
  color: var(--ink-1);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

/* Flagship Light-Glass Interactive Workbench Stage */
.hero-stage-shell {
  position: relative;
  width: 100%;
  max-width: 1040px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 250, 252, 0.96) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(18, 69, 89, 0.14);
  border-radius: 24px;
  box-shadow:
    0 32px 72px -20px rgba(18, 69, 89, 0.18),
    0 12px 28px -12px rgba(14, 116, 144, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  overflow: hidden;
  text-align: left;
  color: var(--ink-0);
}

.hero-stage-shell::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 5%, rgba(14, 116, 144, 0.45) 35%, rgba(6, 182, 212, 0.65) 55%, rgba(18, 69, 89, 0.35) 80%, transparent 95%);
  pointer-events: none;
}

.stage-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 22px;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(18, 69, 89, 0.08);
}

.stage-brand-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.stage-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0891b2;
  box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.16);
  flex-shrink: 0;
}

.stage-title-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-0);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.stage-arch-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(14, 116, 144, 0.08);
  border: 1px solid rgba(14, 116, 144, 0.16);
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.stage-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(18, 69, 89, 0.055);
  border: 1px solid rgba(18, 69, 89, 0.07);
}

.stage-tab {
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.stage-tab:hover {
  color: var(--ink-0);
}

.stage-tab.active {
  color: var(--ink-0);
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(18, 69, 89, 0.10), 0 1px 2px rgba(18, 69, 89, 0.06);
}

.stage-body {
  padding: 24px 24px 22px;
  min-height: 292px;
}

.stage-pane {
  display: none;
  animation: fadeUpIn 0.36s var(--ease-out-expo) both;
}

.stage-pane.active {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 20px;
  align-items: stretch;
}

.stage-pane-single {
  display: none;
  animation: fadeUpIn 0.36s var(--ease-out-expo) both;
}

.stage-pane-single.active {
  display: block;
}

.vm-prompt-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  max-width: 100%;
  background: linear-gradient(155deg, #ffffff 0%, #f1f8fb 100%);
  border: 1px solid rgba(18, 69, 89, 0.11);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(18, 69, 89, 0.04);
}

.vm-agent-row {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 14px;
}

.vm-agent-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: radial-gradient(circle at 30% 25%, #16546c 0%, #0b2634 75%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 8px 18px rgba(11, 38, 52, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vm-agent-icon img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  animation: orbFloat 5s ease-in-out infinite;
}

.vm-agent-name {
  font-weight: 700;
  font-size: 15.5px;
  color: var(--ink-0);
  letter-spacing: -0.015em;
}

.vm-agent-mode {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 1px;
}

.vm-query {
  font-size: 14px;
  color: var(--ink-1);
  margin: 0 0 16px;
  line-height: 1.6;
}

.vm-mode-pills {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.vm-mode-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(18, 69, 89, 0.05);
  border: 1px solid rgba(18, 69, 89, 0.10);
  color: var(--ink-2);
}

.vm-mode-pill.is-selected {
  background: linear-gradient(135deg, #124559 0%, #0e7490 100%);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(14, 116, 144, 0.22);
}

.vm-result-strip {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding: 9px 12px;
  border-radius: 11px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.22);
}

.vm-result-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: #047857;
  background: rgba(16, 185, 129, 0.16);
  padding: 2px 7px;
  border-radius: 6px;
  flex-shrink: 0;
}

.vm-result-text {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: #065f46;
  min-width: 0;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vm-steps {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
  font-family: var(--font-mono);
  font-size: 12px;
}

.vm-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
  padding: 11px 14px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(18, 69, 89, 0.09);
  box-shadow: 0 2px 6px rgba(18, 69, 89, 0.03);
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.vm-step.is-active {
  background: linear-gradient(90deg, #eff9fc 0%, #ffffff 100%);
  border-color: rgba(14, 116, 144, 0.42);
  box-shadow: 0 8px 20px -8px rgba(14, 116, 144, 0.22);
  transform: translateX(3px);
}

.vm-step-left {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.vm-step-idx {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: rgba(18, 69, 89, 0.06);
  color: var(--ink-2);
  font-size: 10.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s ease, color 0.3s ease;
}

.vm-step.is-active .vm-step-idx {
  background: linear-gradient(135deg, #124559 0%, #0e7490 100%);
  color: #ffffff;
}

.vm-step-text {
  display: flex;
  align-items: baseline;
  gap: 9px;
  min-width: 0;
  overflow: hidden;
}

.vm-step-tool {
  color: var(--ink-0);
  font-weight: 700;
  flex-shrink: 0;
}

.vm-step-meta {
  color: var(--ink-2);
  font-family: var(--font-sans);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vm-step-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}

.tag-ok {
  background: #e7f8ee;
  color: #047857;
  border: 1px solid rgba(5, 150, 105, 0.18);
}

.tag-hit {
  background: #fef3dc;
  color: #b45309;
  border: 1px solid rgba(217, 119, 6, 0.22);
}

.tag-cyan {
  background: #e6f7fa;
  color: #0e7490;
  border: 1px solid rgba(14, 116, 144, 0.2);
}

/* Tab 2: Disasm & Cloud Encoder inside Light-Glass Stage */
.disasm-split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: 16px;
}

.disasm-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stage-subcard {
  background: #ffffff;
  border: 1px solid rgba(18, 69, 89, 0.10);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 2px 10px rgba(18, 69, 89, 0.035);
}

.subcard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-0);
}

.subcard-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-2);
}

.code-block {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.75;
}

.code-line {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 8px;
  border-radius: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.code-line.is-hl {
  background: rgba(14, 116, 144, 0.09);
  border: 1px solid rgba(14, 116, 144, 0.2);
  font-weight: 600;
}

.c-addr { color: #0e7490; font-weight: 600; }
.c-bytes { color: #94a3b8; font-size: 11.5px; }
.c-op { color: #124559; font-weight: 700; min-width: 44px; }
.c-arg { color: #0f172a; }
.c-wild { color: #94a3b8; }

.enc-row {
  margin-bottom: 8px;
}

.enc-row code {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-0);
  background: rgba(18, 69, 89, 0.05);
  padding: 4px 9px;
  border-radius: 7px;
}

.enc-out {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: #0e7490;
  background: #f4fafc;
  border: 1px solid rgba(14, 116, 144, 0.14);
  padding: 9px 11px;
  border-radius: 10px;
  line-height: 1.6;
  word-break: break-word;
}

/* Tab 3: Register Telemetry Deck */
.regs-head-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.regs-head-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.regs-head-mono {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-1);
}

.reg-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.reg-cell {
  padding: 11px 13px;
  border-radius: 13px;
  background: #ffffff;
  border: 1px solid rgba(18, 69, 89, 0.09);
  box-shadow: 0 2px 6px rgba(18, 69, 89, 0.025);
  font-family: var(--font-mono);
}

.reg-cell.hl {
  border-color: rgba(14, 116, 144, 0.36);
  background: linear-gradient(180deg, #f3fafc 0%, #ffffff 100%);
  box-shadow: 0 4px 12px -4px rgba(14, 116, 144, 0.14);
}

.reg-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
}

.reg-k {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-2);
}

.reg-pill {
  font-size: 9.5px;
  font-weight: 700;
  padding: 1.5px 6px;
  border-radius: 5px;
  background: #e6f7fa;
  color: #0e7490;
}

.reg-pill.delta {
  background: #fef3dc;
  color: #b45309;
}

.reg-pill.muted {
  background: rgba(18, 69, 89, 0.06);
  color: var(--ink-2);
}

.reg-v {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-0);
}

/* Stage Footer Ribbon */
.stage-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 11px 20px;
  background: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(18, 69, 89, 0.08);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
}

.stage-ft-sep {
  opacity: 0.45;
}

/* Sections */
.section {
  padding: 84px 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.page-hero {
  padding: 64px 0 42px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(760px 300px at 80% -10%, rgba(14, 116, 144, 0.09), transparent 70%),
    linear-gradient(180deg, #eff6f9 0%, #f7fafc 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}

.h1 {
  margin: 0 0 14px;
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--ink-0);
}

.h2 {
  margin: 0 0 12px;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--ink-0);
}

.lead {
  margin: 0;
  font-size: 16px;
  color: var(--ink-1);
  max-width: 660px;
}

.section-head {
  max-width: 680px;
  margin-bottom: 40px;
}

/* Dedicated VMinion Feature Spotlight */
.vminion-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 36px;
  align-items: center;
}

.orb-pedestal {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 46px 28px 34px;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, #0b2636 0%, #071722 100%);
  border: 1px solid rgba(103, 232, 249, 0.18);
  box-shadow: var(--shadow-md);
  color: #fff;
  overflow: hidden;
  text-align: center;
}

.orb-rings {
  position: relative;
  width: 176px;
  height: 176px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
}

.orb-ring-outer,
.orb-ring-inner {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(103, 232, 249, 0.28);
  animation: ringSpin 28s linear infinite;
}

.orb-ring-inner {
  inset: 18px;
  border-style: solid;
  border-color: rgba(94, 234, 212, 0.24);
  animation: pulseRing 4.5s ease-in-out infinite;
}

.orb-hero-img {
  position: relative;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  box-shadow: 0 12px 42px rgba(6, 182, 212, 0.42);
  animation: orbFloat 5.5s ease-in-out infinite;
}

.orb-engine-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin-top: 20px;
}

.orb-engine-card {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(125, 211, 252, 0.14);
  text-align: left;
}

.orb-engine-card strong {
  display: block;
  font-size: 13.5px;
  color: #fff;
  margin-bottom: 2px;
}

.orb-engine-card span {
  font-size: 12px;
  color: var(--stage-muted);
  line-height: 1.45;
  display: block;
}

/* Bento Cards with Pointer Spotlight */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s var(--ease-out-expo);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(14, 116, 144, 0.08), transparent 65%);
  transition: opacity 0.25s ease;
}

.card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--surface-tint);
  border: 1px solid var(--border);
  color: var(--indigo);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.card-icon svg {
  width: 19px;
  height: 19px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink-0);
}

.card p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-1);
}

.tool-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tool-chip {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  padding: 5px 11px;
  border-radius: 8px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  color: var(--indigo);
}

/* Apple-style Interactive Horizontal Device Carousel */
.carousel-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.carousel-header .section-head {
  margin-bottom: 0;
}

.carousel-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--indigo);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-xs);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}

.carousel-btn:hover:not(:disabled) {
  background: var(--indigo);
  border-color: var(--indigo);
  color: #fff;
  transform: scale(1.05);
}

.carousel-btn:disabled {
  opacity: 0.36;
  cursor: default;
}

.device-gallery {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 2px 18px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.device-gallery::-webkit-scrollbar {
  display: none;
}

.device-item {
  flex: 0 0 calc((100% - 72px) / 3.25);
  min-width: 268px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 14px;
  cursor: zoom-in;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: var(--border-strong);
  transition: width 0.25s var(--ease-out-expo), background 0.2s ease;
}

.carousel-dot.active {
  width: 24px;
  background: var(--indigo);
}

.phone-bezel {
  position: relative;
  padding: 9px;
  border-radius: 34px;
  background: linear-gradient(155deg, #1b3b4c 0%, #091b27 52%, #133142 100%);
  box-shadow: 0 18px 40px rgba(9, 27, 39, 0.16), inset 0 0 0 1px rgba(186, 230, 253, 0.18);
  transition: transform 0.36s var(--ease-out-expo), box-shadow 0.36s ease;
}

.device-item:hover .phone-bezel {
  transform: translateY(-6px);
  box-shadow: 0 26px 54px rgba(14, 74, 99, 0.24), inset 0 0 0 1px rgba(103, 232, 249, 0.36);
}

.phone-notch {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 68px;
  height: 16px;
  border-radius: 999px;
  background: #07131c;
  z-index: 2;
}

.phone-screen {
  border-radius: 26px;
  overflow: hidden;
  background: #f5f7fb;
  aspect-ratio: 640 / 1390;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.device-caption {
  padding: 0 4px;
}

.device-caption h3 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-0);
}

.device-caption p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-1);
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(7, 23, 34, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.open {
  display: flex;
}

.lightbox-card {
  max-width: 520px;
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  background: #0a1e2c;
  border: 1px solid rgba(103, 232, 249, 0.22);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  color: #fff;
}

.lightbox-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14.5px;
  font-weight: 600;
}

.lightbox-actions {
  display: flex;
  gap: 6px;
}

.lb-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  display: grid;
  place-items: center;
}

.lb-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.lightbox-stage {
  padding: 16px;
  display: flex;
  justify-content: center;
  overflow: auto;
  background: #06131c;
}

.lightbox-stage img {
  max-height: 70vh;
  width: auto;
  border-radius: 18px;
}

.lightbox-foot {
  padding: 12px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: var(--stage-muted);
}

/* FAQ Accordion */
.faq-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.faq-filter {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-1);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  transition: all 0.16s ease;
}

.faq-filter:hover {
  border-color: var(--border-strong);
  color: var(--indigo);
}

.faq-filter.active {
  background: var(--indigo);
  border-color: var(--indigo);
  color: #fff;
}

.faq-list {
  max-width: 860px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

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

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 19px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 15.5px;
  font-weight: 650;
  color: var(--ink-0);
}

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

.faq-chevron {
  width: 18px;
  height: 18px;
  color: var(--cyan);
  flex-shrink: 0;
  transition: transform 0.24s var(--ease-out-expo);
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 22px 20px;
  font-size: 14.5px;
  line-height: 1.74;
  color: var(--ink-1);
}

.faq-item.is-hidden {
  display: none;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--surface-tint);
  color: var(--indigo);
  border: 1px solid var(--border);
  white-space: nowrap;
  flex-shrink: 0;
}

.badge-solid {
  background: var(--indigo);
  color: #fff;
  border-color: var(--indigo);
}

.badge-ok {
  background: var(--ok-bg);
  color: var(--ok);
  border-color: var(--ok-border);
}

.badge-amber {
  background: var(--amber-bg);
  color: var(--amber);
  border-color: var(--amber-border);
}

/* Evergreen Callout */
.callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 30px 34px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--stage-0) 0%, var(--indigo) 62%, var(--cyan) 100%);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.callout h3 {
  margin: 0 0 6px;
  font-size: 22px;
  letter-spacing: -0.025em;
}

.callout p {
  margin: 0;
  color: rgba(230, 244, 250, 0.86);
  font-size: 14.5px;
  max-width: 620px;
}

.btn-white {
  background: #fff;
  color: var(--indigo-deep);
}

.btn-white:hover {
  background: #eaf6fa;
  transform: translateY(-1px);
}

.btn-line-white {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-line-white:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* Pricing */
.price-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.22s var(--ease-out-expo), box-shadow 0.22s ease, border-color 0.2s ease;
}

.price-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.price-card.featured {
  border: 2px solid var(--indigo);
  box-shadow: var(--shadow-md);
}

.price-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.price-name {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink-0);
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 6px 0 4px;
  font-variant-numeric: tabular-nums;
}

.price-num {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink-0);
}

.price-orig {
  font-size: 14px;
  color: var(--ink-2);
  text-decoration: line-through;
}

.price-period {
  font-size: 13px;
  color: var(--ink-2);
}

.price-desc {
  font-size: 13.5px;
  color: var(--ink-1);
  margin: 0 0 18px;
}

.feature-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13.5px;
  color: var(--ink-1);
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.feature-list svg {
  width: 15px;
  height: 15px;
  color: var(--cyan);
  margin-top: 3px;
  flex-shrink: 0;
}

/* Tables */
.table-wrap {
  width: 100%;
  max-width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table.clean-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.clean-table th,
.clean-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 13.8px;
}

.clean-table tr:last-child td {
  border-bottom: 0;
}

.clean-table thead th {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-2);
  background: var(--surface-soft);
}

.clean-table td.mono {
  font-family: var(--font-mono);
  font-size: 12.8px;
  font-variant-numeric: tabular-nums;
}

/* Download Cards */
.dl-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dl-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.dl-card.featured {
  border: 1.5px solid var(--indigo);
  background: linear-gradient(135deg, #ffffff 0%, #f1f8fb 100%);
  grid-column: span 2;
}

.dl-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.dl-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.dl-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: nowrap;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.dl-foot > div:first-child {
  min-width: 0;
  flex: 1;
}

.dl-foot .btn {
  flex-shrink: 0;
}

.dl-file {
  font-family: var(--font-mono);
  font-size: 12.2px;
  color: var(--ink-0);
  word-break: break-all;
}

.sha-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-2);
  margin-top: 4px;
}

.copy-btn {
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--indigo);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
}

.copy-btn:hover {
  background: var(--surface-tint);
}

.copy-btn.copied {
  color: var(--ok);
  border-color: var(--ok-border);
  background: var(--ok-bg);
}

/* Full-Container Editorial Essay Layout (Compliance / Terms) */
.essay-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 36px;
  align-items: start;
}

.essay-sheet {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px 54px;
  box-shadow: var(--shadow-sm);
}

.essay-toc {
  position: sticky;
  top: 92px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.essay-toc-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 12px;
}

.essay-toc a {
  display: block;
  padding: 7px 0;
  font-size: 13.5px;
  color: var(--ink-1);
  border-left: 2px solid transparent;
  padding-left: 10px;
  margin-left: -10px;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.essay-toc a:hover {
  color: var(--indigo);
  border-left-color: var(--cyan);
}

.essay-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-2);
}

.essay-sheet .essay-lead {
  font-size: 17.5px;
  line-height: 1.78;
  color: var(--ink-0);
  font-weight: 450;
  margin: 0 0 28px;
}

.essay-sheet h2 {
  margin: 40px 0 14px;
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink-0);
  font-weight: 750;
}

.essay-sheet p {
  margin: 0 0 18px;
  font-size: 15.5px;
  line-height: 1.84;
  color: var(--ink-1);
}

.essay-sheet p:last-child {
  margin-bottom: 0;
}

.essay-quote {
  margin: 30px 0;
  padding: 20px 24px;
  border-left: 3px solid var(--indigo);
  background: var(--surface-soft);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--indigo-deep);
  font-weight: 500;
}

.essay-signoff {
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--ink-2);
}

/* Trial Walkthrough */
.step-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-xs);
}

.step-index {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--surface-tint);
  border: 1px solid var(--border-strong);
  color: var(--indigo);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 16.5px;
  color: var(--ink-0);
}

.step-card p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-1);
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 44px 0 34px;
  color: var(--ink-2);
  font-size: 13.5px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 0.8fr));
  gap: 28px;
  margin-bottom: 28px;
}

.footer-col h4 {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-0);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-col a {
  color: var(--ink-1);
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--indigo);
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--ink-2);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Responsive */
.callout-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .vminion-grid,
  .stage-pane.active,
  .grid-4,
  .footer-grid,
  .essay-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .essay-toc {
    display: none;
  }
  .device-item {
    flex: 0 0 46%;
  }
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .reg-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .container {
    padding: 0 16px;
  }
  .nav-bar {
    height: auto;
    flex-wrap: wrap;
    padding: 10px 16px 0;
    gap: 0 10px;
  }
  .brand {
    order: 1;
    font-size: 16px;
    gap: 8px;
    padding-bottom: 10px;
  }
  .brand-orb {
    width: 28px;
    height: 28px;
  }
  .nav-right {
    order: 2;
    gap: 8px;
    padding-bottom: 10px;
  }
  .lang-btn {
    padding: 5px 9px;
    font-size: 12px;
  }
  .nav-links {
    display: flex;
    order: 3;
    flex: 0 0 calc(100% + 32px);
    width: calc(100% + 32px);
    margin: 0 -16px;
    padding: 7px 14px 9px;
    gap: 4px;
    border-top: 1px solid rgba(18, 69, 89, 0.08);
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links::-webkit-scrollbar {
    display: none;
  }
  .nav-links a {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 500;
    padding: 5px 11px;
    border-radius: 999px;
    color: var(--ink-1);
  }
  .nav-links a.active {
    color: var(--indigo);
    background: rgba(14, 116, 144, 0.12);
    font-weight: 700;
  }
  .nav-cta,
  .stage-arch,
  .carousel-controls,
  .mobile-menu-btn,
  .mobile-drawer {
    display: none !important;
  }
  .hero-viewport {
    min-height: auto;
    padding: 24px 0 34px;
  }
  .hero-glow {
    width: 140vw;
    margin-left: -70vw;
    height: 360px;
  }
  .hero-pill {
    max-width: 100%;
    font-size: 12px;
    padding: 5px 12px 5px 7px;
    margin-bottom: 16px;
  }
  .hero-title {
    font-size: clamp(28px, 8vw, 34px);
    line-height: 1.12;
    margin-bottom: 12px;
  }
  .hero-sub {
    font-size: 14.5px;
    line-height: 1.56;
    margin-bottom: 20px;
  }
  .hero-actions {
    width: 100%;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 26px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-stage-shell {
    border-radius: 18px;
  }
  .stage-topbar {
    padding: 11px 14px;
  }
  .stage-body {
    padding: 14px;
    min-height: 0;
  }
  .stage-pane.active {
    gap: 12px;
  }
  .vm-prompt-box {
    padding: 15px;
    border-radius: 14px;
  }
  .vm-query {
    font-size: 13.5px;
    line-height: 1.5;
    margin: 10px 0 12px;
  }
  .vm-mode-pills {
    gap: 6px;
    margin-bottom: 12px;
  }
  .vm-mode-pill {
    font-size: 11px;
    padding: 3px 9px;
  }
  .vm-result-strip {
    padding: 8px 10px;
    gap: 7px;
  }
  .vm-result-text {
    font-size: 11px;
  }
  .vm-steps {
    gap: 8px;
  }
  .vm-step {
    padding: 10px 12px;
    gap: 8px;
    border-radius: 12px;
  }
  .vm-step.is-active {
    transform: none;
  }
  .vm-step-left {
    gap: 9px;
  }
  .vm-step-tool {
    font-size: 12px;
  }
  .vm-step-meta {
    font-size: 11px;
  }
  .vm-step-tag {
    font-size: 10px;
    padding: 2px 7px;
    flex-shrink: 0;
  }
  .section {
    padding: 44px 0;
  }
  .page-hero {
    padding: 32px 0 24px;
  }
  .h1 {
    font-size: clamp(26px, 7.6vw, 34px);
    line-height: 1.15;
  }
  .h2 {
    font-size: clamp(22px, 6.4vw, 28px);
    line-height: 1.2;
  }
  .lead {
    font-size: 14.5px;
    line-height: 1.58;
  }
  .section-head {
    margin-bottom: 24px;
  }
  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid,
  .orb-engine-pair,
  .reg-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .card {
    padding: 18px 16px;
    border-radius: 16px;
    min-width: 0;
  }
  .device-gallery {
    gap: 16px;
    padding: 6px 2px 16px;
  }
  .device-item {
    flex: 0 0 82%;
    min-width: 0;
  }
  .phone-bezel {
    border-radius: 30px;
    padding: 8px;
  }
  .vminion-pill-strip {
    gap: 6px;
  }
  .tool-chip {
    font-size: 11.5px;
    padding: 5px 10px;
  }
  .dl-card {
    padding: 18px 16px;
    min-width: 0;
  }
  .dl-card.featured {
    grid-column: span 1;
  }
  .dl-head {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .dl-head .btn,
  .dl-foot .btn {
    width: 100%;
  }
  .dl-foot {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .callout {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 22px 18px;
    border-radius: 18px;
  }
  .callout > div {
    min-width: 0;
  }
  .callout .btn {
    width: 100%;
  }
  .callout-actions {
    flex-direction: column;
    width: 100%;
  }
  .callout-actions .btn {
    width: 100%;
  }
  .faq-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }
  .faq-filters::-webkit-scrollbar {
    display: none;
  }
  .faq-filter {
    flex-shrink: 0;
  }
  .essay-sheet {
    padding: 22px 18px;
    border-radius: 16px;
  }
  .essay-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .essay-signoff {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .essay-signoff .btn {
    width: 100%;
  }
  .btn {
    min-height: 44px;
  }
  .btn-sm {
    min-height: 38px;
  }
  /* H5 Cardified Tables (zero awkward horizontal table scrolling on iPhone) */
  .mobile-cards-table table.clean-table,
  .mobile-cards-table table.clean-table thead,
  .mobile-cards-table table.clean-table tbody,
  .mobile-cards-table table.clean-table tr,
  .mobile-cards-table table.clean-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }
  .mobile-cards-table table.clean-table thead {
    display: none;
  }
  .mobile-cards-table table.clean-table tr {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
  }
  .mobile-cards-table table.clean-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 5px 0;
    border: 0;
    font-size: 13.5px;
    text-align: right;
  }
  .mobile-cards-table table.clean-table td.cmp-title-cell {
    display: block;
    text-align: left;
    padding-bottom: 8px;
    margin-bottom: 4px;
    border-bottom: 1px dashed var(--border);
    font-size: 14.5px;
  }
  .mobile-cards-table table.clean-table td[data-label]::before {
    content: attr(data-label);
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-2);
    flex-shrink: 0;
    text-align: left;
  }
  .mobile-cards-table:not(.mobile-compare-table) table.clean-table td:last-child {
    padding-top: 10px;
  }
  .mobile-cards-table:not(.mobile-compare-table) table.clean-table td:last-child .btn {
    width: 100%;
  }
  .footer-grid {
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .site-footer {
    padding-bottom: calc(30px + env(safe-area-inset-bottom, 0px));
  }
}

/* ================================================================
   Entry Public Beta / Free Trial Modal
   ================================================================ */
.entry-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(7, 23, 33, 0.56);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s;
}
.entry-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.entry-modal {
  width: 100%;
  max-width: 520px;
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(18, 69, 89, 0.16);
  box-shadow: 0 28px 80px rgba(7, 23, 33, 0.34), 0 4px 16px rgba(7, 23, 33, 0.14);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.34s cubic-bezier(0.16, 1, 0.3, 1);
}
.entry-modal-backdrop.open .entry-modal {
  transform: translateY(0) scale(1);
}
.entry-modal-hero {
  position: relative;
  padding: 28px 28px 24px;
  color: #ffffff;
  background: radial-gradient(circle at 85% 18%, rgba(56, 189, 248, 0.24), transparent 55%),
              linear-gradient(135deg, #0b2c3b 0%, #124559 55%, #0e6074 100%);
}
.entry-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.16s, transform 0.16s;
}
.entry-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.04);
}
.entry-modal-brand {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 14px;
  padding-right: 36px;
}
.entry-modal-brand img {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18);
}
.entry-modal-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #93e5f8;
}
.entry-modal-hero .beta-window-pill {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
}
.entry-modal-title {
  margin: 0 0 10px;
  font-size: 25px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
}
.entry-modal-title .trial-strike {
  color: rgba(255, 255, 255, 0.56);
  margin-right: 6px;
}
.entry-modal-sub {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
}
.entry-modal-body {
  padding: 22px 28px 24px;
}
.entry-modal-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.entry-modal-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-1);
}
.entry-modal-list svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.entry-modal-actions {
  display: flex;
  gap: 10px;
}
.entry-modal-actions .btn {
  flex: 1;
  justify-content: center;
}
.entry-modal-dontshow {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-2);
  cursor: pointer;
  user-select: none;
  transition: color 0.15s;
}
.entry-modal-dontshow:hover {
  color: var(--ink-0);
}
.entry-modal-dontshow input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--accent);
  cursor: pointer;
  margin: 0;
}
/* Editorial VMinion Showcase + Floating Orbital Orb + Interactive Jump Bar */
.vm-editorial-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 760px;
  margin: 0 auto 30px;
}

.vm-orb-stage {
  position: relative;
  width: 152px;
  height: 152px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.vm-orb-aura {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 116, 144, 0.22) 0%, rgba(6, 182, 212, 0.10) 48%, transparent 72%);
  filter: blur(8px);
  pointer-events: none;
}

.vm-orb-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.vm-orb-ring-outer {
  inset: 0;
  border: 1.5px dashed rgba(14, 116, 144, 0.30);
  animation: ringSpin 26s linear infinite;
}

.vm-orb-ring-inner {
  inset: 16px;
  border: 1.25px solid rgba(8, 145, 178, 0.26);
  box-shadow: inset 0 0 22px rgba(6, 182, 212, 0.12), 0 0 18px rgba(14, 116, 144, 0.10);
  animation: ringSpin 18s linear infinite reverse;
}

.vm-orb-ring-inner::before {
  content: "";
  position: absolute;
  top: -3.5px;
  left: 50%;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  border-radius: 50%;
  background: #0891b2;
  box-shadow: 0 0 10px rgba(8, 145, 178, 0.75);
}

.vm-orb-float-img {
  position: relative;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  box-shadow: 0 16px 36px rgba(18, 69, 89, 0.24), 0 0 28px rgba(6, 182, 212, 0.26);
  animation: orbFloat 4.8s ease-in-out infinite;
}

.vm-editorial-h2 {
  margin-bottom: 10px;
}

.vm-editorial-lead {
  max-width: 650px;
  margin: 0 auto;
}

.vm-centered-pills {
  justify-content: center;
  margin-top: 16px;
}

.gallery-jump-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.jump-pill {
  border: 1px solid rgba(18, 69, 89, 0.12);
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.jump-pill:hover {
  color: var(--ink-0);
  border-color: rgba(14, 116, 144, 0.32);
  background: #ffffff;
}

.jump-pill.active {
  color: #ffffff;
  background: linear-gradient(135deg, #124559 0%, #0e7490 100%);
  border-color: transparent;
  box-shadow: 0 6px 16px -4px rgba(14, 116, 144, 0.34);
}

.device-gallery-wrap {
  position: relative;
}

.device-gallery {
  cursor: grab;
}

.device-gallery.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.carousel-dot {
  cursor: pointer;
}

@media (max-width: 720px) {
  .vm-orb-stage {
    width: 126px;
    height: 126px;
    margin-bottom: 14px;
  }
  .vm-orb-float-img {
    width: 78px;
    height: 78px;
  }
  .gallery-jump-bar {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
    margin-bottom: 20px;
    -webkit-overflow-scrolling: touch;
  }
  .gallery-jump-bar::-webkit-scrollbar {
    display: none;
  }
  .stage-topbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 14px;
  }
  .stage-brand-meta {
    justify-content: flex-start;
  }
  .stage-brand-meta .stage-arch-pill {
    margin-left: auto;
  }
  .stage-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .stage-tab {
    padding: 6px 8px;
    font-size: 11.5px;
    text-align: center;
  }
  .disasm-split {
    grid-template-columns: 1fr;
  }
  .c-bytes {
    display: none;
  }
  .reg-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .vm-step-text {
    flex-direction: column;
    gap: 2px;
  }
  .stage-footer {
    font-size: 11px;
    padding: 10px 14px;
    gap: 6px;
  }
  .entry-modal-backdrop {
    align-items: flex-end;
    padding: 0;
  }
  .entry-modal {
    max-width: 100%;
    border-radius: 24px 24px 0 0;
    transform: translateY(28px);
  }
  .entry-modal-backdrop.open .entry-modal {
    transform: translateY(0);
  }
  .entry-modal-hero {
    padding: 24px 20px 20px;
  }
  .entry-modal-title {
    font-size: 22px;
  }
  .entry-modal-body {
    padding: 20px 20px calc(22px + env(safe-area-inset-bottom, 0px));
  }
  .entry-modal-actions {
    flex-direction: column;
  }
  .entry-modal-actions .btn {
    width: 100%;
  }
}
