/* ORQVION home — original visual system (not a Cursor clone) */

:is(.page-home, .page-features, .page-product, .page-pricing, .page-enterprise, .page-security, .page-help, .page-docs, .page-about, .page-portal, .page-download, .page-legal, .page-changelog, .page-support, .page-contact) {
  --ox-bg: #06060a;
  --ox-bg-2: #0b0b12;
  --ox-ink: #f3f3f7;
  --ox-muted: #9494a3;
  --ox-line: rgba(255, 255, 255, 0.08);
  --ox-cyan: #4dd4ff;
  --ox-violet: #8b7bff;
  --ox-purple: #b06aff;
  --ox-grad: linear-gradient(120deg, #4dd4ff 0%, #8b7bff 50%, #b06aff 100%);
  --ox-display: "Outfit", "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --ox-sans: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --ox-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --ox-max: 1160px;
  --accent: #8b7bff;
  --ok: #8b7bff;
  --brand-gradient: var(--ox-grad);

  font-family: var(--ox-sans);
  color: var(--ox-ink);
  background: var(--ox-bg);
  -webkit-font-smoothing: antialiased;
}

:is(.page-home, .page-features, .page-product, .page-pricing, .page-enterprise, .page-security, .page-help, .page-docs, .page-about, .page-portal, .page-download, .page-legal, .page-changelog, .page-support, .page-contact) .site-header {
  background: rgba(6, 6, 10, 0.7);
  border-bottom-color: var(--ox-line);
  backdrop-filter: blur(18px) saturate(1.15);
}

:is(.page-home, .page-features, .page-product, .page-pricing, .page-enterprise, .page-security, .page-help, .page-docs, .page-about, .page-portal, .page-download, .page-legal, .page-changelog, .page-support, .page-contact) .brand-logo { height: 34px; }

:is(.page-home, .page-features, .page-product, .page-pricing, .page-enterprise, .page-security, .page-help, .page-docs, .page-about, .page-portal, .page-download, .page-legal, .page-changelog, .page-support, .page-contact) .nav a,
:is(.page-home, .page-features, .page-product, .page-pricing, .page-enterprise, .page-security, .page-help, .page-docs, .page-about, .page-portal, .page-download, .page-legal, .page-changelog, .page-support, .page-contact) .nav-auth-login { color: var(--ox-muted); font-size: 0.875rem; }
:is(.page-home, .page-features, .page-product, .page-pricing, .page-enterprise, .page-security, .page-help, .page-docs, .page-about, .page-portal, .page-download, .page-legal, .page-changelog, .page-support, .page-contact) .nav a:hover,
:is(.page-home, .page-features, .page-product, .page-pricing, .page-enterprise, .page-security, .page-help, .page-docs, .page-about, .page-portal, .page-download, .page-legal, .page-changelog, .page-support, .page-contact) .nav a.active,
:is(.page-home, .page-features, .page-product, .page-pricing, .page-enterprise, .page-security, .page-help, .page-docs, .page-about, .page-portal, .page-download, .page-legal, .page-changelog, .page-support, .page-contact) .nav-auth-login:hover { color: var(--ox-ink); }

:is(.page-home, .page-features, .page-product, .page-pricing, .page-enterprise, .page-security, .page-help, .page-docs, .page-about, .page-portal, .page-download, .page-legal, .page-changelog, .page-support, .page-contact) .btn-primary {
  background: var(--ox-grad);
  color: #fff;
  border: 0;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(139, 123, 255, 0.28);
}
:is(.page-home, .page-features, .page-product, .page-pricing, .page-enterprise, .page-security, .page-help, .page-docs, .page-about, .page-portal, .page-download, .page-legal, .page-changelog, .page-support, .page-contact) .btn-primary:hover { filter: brightness(1.08); color: #fff; }
:is(.page-home, .page-features, .page-product, .page-pricing, .page-enterprise, .page-security, .page-help, .page-docs, .page-about, .page-portal, .page-download, .page-legal, .page-changelog, .page-support, .page-contact) .btn-ghost {
  border-radius: 12px;
  border-color: var(--ox-line);
}
.page-home .btn-brand { display: none; } /* prefer ox-btn on home */
.page-features .btn-brand,
.page-product .btn-brand,
.page-pricing .btn-brand,
.page-enterprise .btn-brand,
.page-security .btn-brand,
.page-help .btn-brand,
.page-docs .btn-brand,
.page-about .btn-brand,
.page-portal .btn-brand,
.page-download .btn-brand,
.page-legal .btn-brand,
.page-changelog .btn-brand,
.page-support .btn-brand,
.page-contact .btn-brand { display: none; }

.ox-shell {
  width: min(100% - 2.5rem, var(--ox-max));
  margin-inline: auto;
}

/* ——— Hero ——— */
.ox-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  overflow-x: clip;
  min-height: calc(100svh - 64px);
  padding: clamp(2.5rem, 5vw, 4rem) 0 3rem;
}

.page-home {
  overflow-x: clip;
  background-color: #08080c;
}

.ox-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}

.ox-hero-grid {
  position: absolute;
  inset: 35% -10% -20%;
  z-index: 0;
  background-image:
    linear-gradient(rgba(139, 123, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 212, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  transform: perspective(700px) rotateX(62deg);
  transform-origin: center top;
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 70%, transparent);
  animation: ox-grid-drift 22s linear infinite;
  pointer-events: none;
}

.ox-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
}

@media (min-width: 1024px) {
  .ox-hero-layout {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 2.5rem;
    min-height: calc(100svh - 9rem);
    align-items: center;
  }

  .ox-hero-stage {
    align-self: center;
    width: 100%;
    max-width: min(100%, 760px);
    margin-inline: auto;
  }
}

.ox-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.1rem;
  padding: 0.35rem 0.75rem 0.35rem 0.45rem;
  border: 1px solid rgba(139, 123, 255, 0.28);
  border-radius: 999px;
  background: rgba(139, 123, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 560;
  letter-spacing: 0.02em;
  color: #d6d0ff;
}

.ox-kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ox-grad);
  box-shadow: 0 0 0 0 rgba(139, 123, 255, 0.45);
  animation: ox-pulse 2s ease-out infinite;
}

.ox-hero-copy h1 {
  margin: 0 0 1rem;
  font-family: var(--ox-display);
  font-size: clamp(2.35rem, 5vw, 3.65rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #fff;
  text-wrap: balance;
}

.ox-lead {
  margin: 0;
  max-width: 32rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ox-muted);
}

.ox-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.ox-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.2rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 0.18s ease, filter 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.ox-btn-primary {
  background: var(--ox-grad);
  color: #fff;
  box-shadow: 0 12px 36px rgba(139, 123, 255, 0.32);
}

.ox-btn-primary:hover {
  filter: brightness(1.08);
  color: #fff;
  transform: translateY(-1px);
}

.ox-btn-ghost {
  border: 1px solid var(--ox-line);
  color: var(--ox-ink);
  background: rgba(255, 255, 255, 0.02);
}

.ox-btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.ox-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  color: #7e7e8f;
  font-size: 0.82rem;
}

.ox-meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.ox-meta li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ox-violet);
  opacity: 0.8;
}

/* ——— 3D stage ——— */
.ox-hero-stage {
  position: relative;
  min-height: 340px;
  perspective: 1600px;
}

.ox-stage {
  position: relative;
  height: 100%;
  min-height: inherit;
  transform-style: preserve-3d;
}

.ox-orb {
  position: absolute;
  width: min(70%, 420px);
  aspect-ratio: 1;
  left: 50%;
  top: 42%;
  translate: -50% -50%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(77, 212, 255, 0.35), transparent 42%),
    radial-gradient(circle at 65% 60%, rgba(176, 106, 255, 0.35), transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(139, 123, 255, 0.2), transparent 60%);
  filter: blur(18px);
  animation: ox-orb 10s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

.ox-orbit {
  position: absolute;
  left: 50%;
  top: 48%;
  translate: -50% -50%;
  border: 1px solid rgba(139, 123, 255, 0.22);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.ox-orbit-a {
  width: min(92%, 540px);
  aspect-ratio: 1.35;
  animation: ox-spin 28s linear infinite;
  border-color: rgba(77, 212, 255, 0.18);
}

.ox-orbit-b {
  width: min(78%, 460px);
  aspect-ratio: 1.2;
  animation: ox-spin 38s linear infinite reverse;
  border-color: rgba(176, 106, 255, 0.2);
}

.ox-orbit::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ox-grad);
  top: 8%;
  left: 50%;
  box-shadow: 0 0 16px rgba(139, 123, 255, 0.7);
}

.ox-window {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: linear-gradient(180deg, #14141c 0%, #0c0c12 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(139, 123, 255, 0.08);
  animation: ox-float 7s ease-in-out infinite;
}

.ox-window-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--ox-line);
  background: rgba(255, 255, 255, 0.025);
}

.ox-window-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2e2e38;
}

.ox-window-bar code {
  margin-left: 0.5rem;
  font-family: var(--ox-mono);
  font-size: 0.68rem;
  color: var(--ox-muted);
}

.ox-window-bar em {
  margin-left: auto;
  font-style: normal;
  font-family: var(--ox-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--ox-violet);
  border: 1px solid rgba(139, 123, 255, 0.35);
  border-radius: 5px;
  padding: 0.12rem 0.4rem;
  background: rgba(139, 123, 255, 0.1);
}

.ox-window-body {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 190px;
  min-height: 270px;
}

.ox-side,
.ox-agent {
  padding: 0.85rem 0.75rem;
  background: #0d0d14;
}

.ox-side { border-right: 1px solid var(--ox-line); }
.ox-agent {
  border-left: 1px solid var(--ox-line);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.ox-side p,
.ox-agent > p {
  margin: 0 0 0.4rem;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b6b7a;
}

.ox-task {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin-bottom: 0.45rem;
  font-size: 0.72rem;
  line-height: 1.35;
  color: #b8b8c6;
}

.ox-task.live { color: #fff; }
.ox-task i {
  width: 6px;
  height: 6px;
  margin-top: 0.3rem;
  border-radius: 50%;
  background: var(--ox-violet);
  box-shadow: 0 0 0 0 rgba(139, 123, 255, 0.5);
  animation: ox-pulse 2s ease-out infinite;
  flex-shrink: 0;
}
.ox-task b {
  font-family: var(--ox-mono);
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--ox-cyan);
}

.ox-editor { background: #09090f; min-width: 0; }
.ox-tabs {
  display: flex;
  border-bottom: 1px solid var(--ox-line);
  font-family: var(--ox-mono);
  font-size: 0.66rem;
  color: #666676;
}
.ox-tabs span {
  padding: 0.5rem 0.75rem;
  border-right: 1px solid var(--ox-line);
}
.ox-tabs .on {
  color: #ddd;
  background: rgba(255, 255, 255, 0.03);
}

.ox-editor pre {
  margin: 0;
  padding: 0.9rem 0.95rem;
  font-family: var(--ox-mono);
  font-size: 0.72rem;
  line-height: 1.7;
  color: #c8c8d4;
}
.ox-editor .ln { color: #484856; }
.ox-editor .kw { color: var(--ox-purple); }
.ox-editor .fn { color: var(--ox-cyan); }
.ox-editor .cm { color: #5a5a6a; }
.ox-editor .tg { color: var(--ox-violet); }
.ox-editor .at { color: #c4b5fd; }
.ox-editor .st { color: var(--ox-cyan); }

.ox-msg {
  margin: 0;
  padding: 0.5rem 0.6rem;
  border-radius: 10px;
  font-size: 0.7rem;
  line-height: 1.4;
}
.ox-msg.user { background: rgba(255, 255, 255, 0.05); color: #ddd; }
.ox-msg.bot {
  background: rgba(139, 123, 255, 0.12);
  border: 1px solid rgba(139, 123, 255, 0.2);
  color: #e4e0ff;
}

.ox-compose {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--ox-line);
  border-radius: 10px;
  font-size: 0.68rem;
  color: #6b6b7a;
}
.ox-compose i {
  font-style: normal;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--ox-grad);
  color: #fff;
  font-size: 0.7rem;
}

.ox-float-cli {
  position: absolute;
  right: -2%;
  bottom: -6%;
  z-index: 3;
  width: min(280px, 58%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: #0d0d14;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(77, 212, 255, 0.08);
  animation: ox-float-alt 8s ease-in-out infinite;
}

.ox-float-cli pre {
  margin: 0;
  padding: 0.75rem 0.85rem;
  font-family: var(--ox-mono);
  font-size: 0.68rem;
  line-height: 1.65;
  color: #c8c8d4;
}
.ox-float-cli .dim { color: #666; }
.ox-float-cli .acc { color: var(--ox-cyan); }
.ox-float-cli .ok { color: var(--ox-violet); }

.ox-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--ox-line);
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.ox-shot img { display: block; width: 100%; }

/* ——— Interactive desktop UI demo (homepage hero) ——— */
.ox-stage-demo::before {
  content: "";
  position: absolute;
  inset: 8% 0 5%;
  z-index: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(139, 123, 255, 0.18), transparent 62%);
  pointer-events: none;
}

.ox-stage-demo .ox-demo-window {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.04) 0%, transparent 42%),
    linear-gradient(180deg, #16161f 0%, #0b0b12 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 40px 100px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(139, 123, 255, 0.12),
    0 0 48px rgba(77, 212, 255, 0.06);
  animation: ox-float 9s ease-in-out infinite;
}

.ox-demo-window .ox-window-bar.ox-demo-bar {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.45rem 0.65rem;
  padding: 0.55rem 0.75rem;
}

.ox-demo-window .ox-window-bar .ox-traffic {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.ox-demo-window .ox-window-bar code {
  margin-left: 0;
  justify-self: start;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.ox-demo-window .ox-window-bar em.ox-demo-mode {
  margin-left: 0;
  justify-self: end;
  white-space: nowrap;
}

.ox-demo-views {
  display: inline-flex;
  gap: 0.25rem;
  justify-self: center;
  padding: 0.15rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--ox-line);
}

.ox-demo-view {
  padding: 0.2rem 0.55rem;
  font-size: 0.62rem;
  font-family: var(--ox-mono);
  color: #8a8a9a;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.ox-demo-view.is-active {
  color: #eee;
  background: rgba(139, 123, 255, 0.22);
}

.ox-demo-mode {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-style: normal;
  font-size: 0.58rem;
  color: var(--ox-cyan);
  letter-spacing: 0.06em;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.25);
  background: rgba(34, 211, 238, 0.06);
}

.ox-demo-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  animation: ox-pulse 2.2s ease-out infinite;
}

.ox-demo-pane-label {
  margin: 0 0 0.45rem;
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5c5c6a;
}

.ox-demo-layout {
  display: grid;
  grid-template-columns: 42px 112px minmax(0, 1fr) clamp(200px, 34%, 248px);
  grid-template-rows: 1fr;
  align-items: stretch;
  height: clamp(388px, 44vh, 468px);
  min-height: 388px;
  background: #0d0d14;
  text-align: left;
  overflow: hidden;
}

.ox-demo-layout.has-chat .ox-demo-clone,
.ox-demo-layout.has-chat .ox-demo-tagline {
  display: none;
}

.ox-demo-layout.has-chat .ox-demo-welcome-panel {
  padding-top: 0.5rem;
}

.ox-demo-layout.has-chat .ox-demo-brand {
  margin-bottom: 0.15rem;
}

.ox-demo-layout.has-chat .ox-demo-wordmark:not(.ox-demo-wordmark-sm) {
  height: 38px;
  max-width: 220px;
}

.ox-demo-layout.has-chat .ox-demo-open-folder,
.ox-demo-layout.has-chat .ox-demo-step-btn {
  display: none;
}

.ox-demo-layout.has-chat .ox-demo-steps li {
  grid-template-columns: 14px minmax(0, 1fr);
}

.ox-demo-layout.is-editor-view .ox-demo-explorer-hint {
  display: none;
}

.ox-demo-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0;
  min-height: 0;
  height: 100%;
  border-right: 1px solid var(--ox-line);
  background: #0a0a10;
}

.ox-demo-rail-ico {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid transparent;
}

.ox-demo-rail-ico.is-on {
  border-color: rgba(139, 123, 255, 0.35);
  background: rgba(139, 123, 255, 0.12);
}

.ox-demo-explorer {
  padding: 0.75rem 0.55rem;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  border-right: 1px solid var(--ox-line);
  font-size: 0.62rem;
  line-height: 1.45;
  color: #6e6e7c;
}

.ox-demo-explorer-hint strong { color: #b0b0be; }

.ox-demo-main {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  border-right: 1px solid var(--ox-line);
  background: linear-gradient(180deg, #0f0f16 0%, #0c0c12 100%);
}

.ox-demo-welcome-panel,
.ox-demo-editor-panel,
.ox-demo-media-panel {
  position: absolute;
  inset: 0;
  min-height: 0;
}

.ox-demo-welcome-panel {
  padding: 0.75rem 0.9rem;
  overflow-x: hidden;
  overflow-y: auto;
  background: linear-gradient(180deg, #0f0f16 0%, #0c0c12 100%);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.14) #0c0c12;
}

.ox-demo-welcome-panel[hidden],
.ox-demo-editor-panel[hidden],
.ox-demo-media-panel[hidden] {
  display: none !important;
}

.ox-demo-media-panel {
  display: flex;
  flex-direction: column;
  padding: 0.65rem 0.85rem 0.75rem;
  background: linear-gradient(180deg, #101018 0%, #0a0a10 100%);
  overflow: hidden;
}

.ox-demo-media-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.55rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--ox-line);
  font-size: 0.66rem;
  font-weight: 600;
  color: #ececf2;
}

.ox-demo-media-badge {
  font-size: 0.52rem;
  font-weight: 500;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.1);
}

.ox-demo-media-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 0;
  text-align: center;
}

.ox-demo-media-prompt {
  margin: 0;
  font-size: 0.62rem;
  color: #8a8a98;
}

.ox-demo-media-progress {
  width: min(100%, 260px);
}

.ox-demo-media-result {
  margin: 0;
  width: 100%;
  max-width: 100%;
  padding: 0.45rem;
  border-radius: 14px;
  border: 1px solid rgba(139, 123, 255, 0.28);
  background: #09090f;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 16px 48px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: scale(0.96) translateY(6px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.ox-demo-media-result.is-visible {
  opacity: 1;
  transform: none;
}

.ox-demo-media-result img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: min(36vh, 210px);
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  background: #0d0d14;
  transition: filter 0.65s ease, transform 0.65s ease, opacity 0.65s ease;
}

.ox-demo-media-result img.is-generating {
  filter: blur(14px) saturate(1.1) brightness(0.75);
  transform: scale(1.03);
  opacity: 0.85;
}

.ox-demo-media-result figcaption {
  margin-top: 0.45rem;
  font-family: var(--ox-mono);
  font-size: 0.54rem;
  color: #7a7a88;
}

.ox-demo-layout.is-media-view .ox-demo-explorer-hint,
.ox-demo-layout.is-media-view .ox-demo-explorer-file {
  opacity: 0.35;
}

.ox-demo-editor-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.ox-demo-explorer-file {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.35rem 0 0;
  padding: 0.2rem 0.3rem;
  border-radius: 6px;
  font-family: var(--ox-mono);
  font-size: 0.58rem;
  color: #7a7a88;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.ox-demo-explorer.is-live .ox-demo-explorer-file {
  opacity: 1;
  transform: none;
}

.ox-demo-explorer-file.is-active {
  color: #ddd;
  background: rgba(139, 123, 255, 0.12);
}

.ox-demo-dot {
  width: 5px;
  height: 5px;
  border-radius: 2px;
  background: var(--ox-cyan);
}

.ox-demo-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.35rem;
  padding: 0 0.25rem;
}

.ox-demo-wordmark {
  display: block;
  width: auto;
  height: 48px;
  max-width: min(100%, 280px);
  object-fit: contain;
}

.ox-demo-wordmark-sm {
  height: 22px;
  max-width: 140px;
  opacity: 0.92;
}

.ox-demo-tagline {
  margin: 0 0 0.85rem;
  text-align: center;
  font-size: 0.68rem;
  line-height: 1.5;
  color: #8a8a98;
}

.ox-demo-checklist {
  padding: 0.65rem 0.75rem;
  margin-bottom: 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--ox-line);
  background: rgba(255, 255, 255, 0.02);
}

.ox-demo-checklist-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.68rem;
  color: #d0d0dc;
}

.ox-demo-checklist-head [data-ox-demo-progress] {
  flex-shrink: 0;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  font-size: 0.56rem;
  font-family: var(--ox-mono);
  color: #a8a8b6;
  border: 1px solid var(--ox-line);
  background: rgba(255, 255, 255, 0.03);
}

.ox-demo-layout.has-chat .ox-demo-checklist-head [data-ox-demo-progress] {
  color: #86efac;
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.1);
}

.ox-demo-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ox-demo-steps li {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.35rem 0.4rem;
  margin-bottom: 0.35rem;
  font-size: 0.62rem;
  line-height: 1.35;
  color: #9a9aa8;
}

.ox-demo-steps li > span:nth-child(2) {
  min-width: 0;
}

.ox-demo-steps li.is-done { color: #c8c8d4; }

.ox-demo-check {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid #4a4a58;
}

.ox-demo-steps li.is-done .ox-demo-check {
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.2);
  box-shadow: inset 0 0 0 3px #0d0d14;
}

.ox-demo-step-btn {
  padding: 0.15rem 0.45rem;
  font-size: 0.58rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  color: #fff;
  background: var(--ox-violet);
}

.ox-demo-step-btn.is-ghost {
  color: #ccc;
  background: rgba(255, 255, 255, 0.08);
}

.ox-demo-open-folder {
  display: block;
  width: 100%;
  max-width: 200px;
  margin: 0 auto 0.75rem;
  padding: 0.55rem 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  background: linear-gradient(135deg, var(--ox-violet), var(--ox-purple));
}

.ox-demo-clone {
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.62rem;
  color: #9a9aa8;
}

.ox-demo-input {
  width: 100%;
  margin: 0.35rem 0;
  padding: 0.35rem 0.45rem;
  font-size: 0.62rem;
  border-radius: 6px;
  border: 1px solid var(--ox-line);
  background: #09090f;
  color: #ddd;
}

.ox-demo-clone-btn {
  font-size: 0.58rem;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  border: 1px solid var(--ox-line);
  background: rgba(255, 255, 255, 0.04);
  color: #ccc;
  cursor: pointer;
}

.ox-demo-ai {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  height: 100%;
  padding: 0.6rem 0.55rem 0.5rem;
  background: linear-gradient(180deg, #0c0c13 0%, #09090f 100%);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 1px 0 0 rgba(139, 123, 255, 0.06);
  overflow: hidden;
}

.ox-demo-ai-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 -0.15rem 0.5rem;
  padding: 0 0.15rem 0.45rem;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #ececf2;
  border-bottom: 1px solid var(--ox-line);
}

.ox-demo-ai-new {
  font-size: 0.58rem;
  padding: 0.1rem 0.35rem;
  border-radius: 6px;
  border: 1px solid var(--ox-line);
  background: transparent;
  color: #aaa;
  cursor: pointer;
}

.ox-demo-thread {
  margin: 0 0 0.5rem;
  padding: 0.32rem 0.5rem;
  font-size: 0.6rem;
  font-weight: 500;
  border-radius: 8px;
  border: 1px solid rgba(139, 123, 255, 0.22);
  background: rgba(139, 123, 255, 0.08);
  color: #d6d0ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ox-demo-chat-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  margin-bottom: 0.35rem;
  padding-right: 0.2rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(139, 123, 255, 0.45) #0a0a10;
}

.ox-demo-chat-scroll {
  background: transparent;
}

.ox-demo-chat-scroll::-webkit-scrollbar-track {
  background: #0a0a10;
}

.ox-demo-chat-scroll::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background: rgba(139, 123, 255, 0.4);
}

.ox-demo-chat-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(139, 123, 255, 0.55);
}

.ox-demo-window,
.ox-demo-layout,
.ox-demo-main,
.ox-demo-editor-panel,
.ox-demo-explorer {
  background-color: #0d0d14;
}

.ox-demo-welcome-panel::-webkit-scrollbar,
.ox-demo-explorer::-webkit-scrollbar,
.ox-demo-chat-scroll::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.ox-demo-welcome-panel::-webkit-scrollbar-track,
.ox-demo-explorer::-webkit-scrollbar-track {
  background: #0c0c12;
}

.ox-demo-welcome-panel::-webkit-scrollbar-thumb,
.ox-demo-explorer::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 4px;
}

.ox-demo-welcome-panel::-webkit-scrollbar-thumb:hover,
.ox-demo-explorer::-webkit-scrollbar-thumb:hover {
  background: rgba(139, 123, 255, 0.4);
}

.ox-demo-welcome-panel::-webkit-scrollbar-corner,
.ox-demo-explorer::-webkit-scrollbar-corner,
.ox-demo-chat-scroll::-webkit-scrollbar-corner {
  background: #0c0c12;
}

.ox-demo-explorer {
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.14) #0d0d14;
}

.ox-demo-layout {
  background: #0d0d14;
}

.ox-demo-ai-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.75rem 0.5rem;
  text-align: center;
  font-size: 0.58rem;
  line-height: 1.4;
  color: #7a7a88;
}

.ox-demo-ai-empty.is-hidden {
  display: none;
}

.ox-demo-messages {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.ox-demo-msg {
  max-width: 100%;
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  font-size: 0.63rem;
  line-height: 1.5;
  animation: ox-demo-fade-in 0.35s ease;
}

.ox-demo-msg-user {
  align-self: flex-end;
  color: #e8e8f0;
  background: rgba(139, 123, 255, 0.22);
  border: 1px solid rgba(139, 123, 255, 0.28);
}

.ox-demo-msg-assistant {
  align-self: flex-start;
  color: #d4d4de;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--ox-line);
}

.ox-demo-msg-assistant code {
  font-family: var(--ox-mono);
  font-size: 0.54rem;
  color: var(--ox-cyan);
}

.ox-demo-typing-bubble {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #8a8a98;
  font-size: 0.54rem;
}

.ox-demo-typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.ox-demo-typing-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ox-violet);
  animation: ox-demo-typing 1.2s ease-in-out infinite;
}

.ox-demo-typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.ox-demo-typing-dots span:nth-child(3) { animation-delay: 0.3s; }

.ox-demo-gen {
  margin-top: 0.25rem;
  padding: 0.45rem;
  border-radius: 8px;
  background: rgba(9, 9, 15, 0.65);
  border: 1px solid rgba(139, 123, 255, 0.2);
}

.ox-demo-gen-label {
  margin: 0 0 0.35rem;
  font-size: 0.52rem;
  color: var(--ox-cyan);
}

.ox-demo-gen-bar {
  height: 4px;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.ox-demo-gen-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--ox-violet), var(--ox-cyan));
  transition: width 1.4s ease;
}

.ox-demo-gen-bar.is-done span {
  width: 100%;
}

.ox-demo-gen-result {
  margin: 0.45rem 0 0;
  padding: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--ox-line);
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.ox-demo-gen-result.is-visible {
  opacity: 1;
  transform: none;
}

.ox-demo-gen-result img {
  display: block;
  width: 100%;
  max-height: 72px;
  object-fit: contain;
  object-position: left center;
  padding: 0.35rem;
  background: #0a0a10;
}

@keyframes ox-demo-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

@keyframes ox-demo-typing {
  0%, 80%, 100% { opacity: 0.35; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}

.ox-demo-compose {
  position: relative;
  margin-top: auto;
}

.ox-demo-chat-input {
  width: 100%;
  padding: 0.4rem 0.45rem 1.1rem;
  font-size: 0.58rem;
  line-height: 1.4;
  resize: vertical;
  min-height: 52px;
  border-radius: 10px;
  border: 1px solid var(--ox-line);
  background: #09090f;
  color: #ddd;
}

.ox-demo-compose-hint {
  position: absolute;
  left: 0.45rem;
  bottom: 0.35rem;
  margin: 0;
  font-size: 0.48rem;
  color: #5a5a68;
  pointer-events: none;
}

.ox-demo-stays {
  margin-left: 0.25rem;
  padding: 0.05rem 0.25rem;
  border-radius: 4px;
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
}

.ox-demo-send {
  position: absolute;
  right: 0.35rem;
  bottom: 0.35rem;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  color: #fff;
  background: var(--ox-violet);
}

.ox-demo-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.35rem 0.65rem;
  font-size: 0.58rem;
  color: #6a6a78;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #0c0c12;
}

.ox-demo-status span {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ox-demo-status-right {
  text-align: right;
  font-family: var(--ox-mono);
  font-size: 0.54rem;
  color: #b8b0ff;
}

.ox-demo-status a { color: var(--ox-cyan); }

.ox-demo-tabs {
  flex-shrink: 0;
}

.ox-demo-editor-body {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: #09090f;
}

.ox-demo-ln {
  margin: 0;
  padding: 0.75rem 0.35rem 0.75rem 0.45rem;
  text-align: right;
  font-family: var(--ox-mono);
  font-size: 0.62rem;
  line-height: 1.65;
  color: #484856;
  background: #0a0a10;
  border-right: 1px solid var(--ox-line);
  user-select: none;
  align-self: stretch;
  min-height: 100%;
}

.ox-demo-code {
  flex: 1 1 auto;
  margin: 0;
  padding: 0.75rem 0.85rem;
  min-height: 0;
  font-family: var(--ox-mono);
  font-size: 0.68rem;
  line-height: 1.65;
  color: #c8c8d4;
  background: #09090f;
  user-select: text;
  -webkit-user-select: text;
  cursor: text;
  overflow: auto;
  white-space: pre;
  tab-size: 2;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.16) #09090f;
}

.ox-demo-code::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.ox-demo-code::-webkit-scrollbar-track {
  background: #09090f;
}

.ox-demo-code::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 4px;
}

.ox-demo-code::-webkit-scrollbar-thumb:hover {
  background: rgba(139, 123, 255, 0.45);
}

.ox-demo-code::-webkit-scrollbar-corner {
  background: #09090f;
}

.ox-demo-code code {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.ox-demo-code .tok-kw { color: var(--ox-purple); }
.ox-demo-code .tok-fn { color: var(--ox-cyan); }
.ox-demo-code .tok-cm { color: #5a5a6a; }
.ox-demo-code .tok-jsx { color: #c4b5fd; }

.ox-demo-code ::selection,
.ox-demo-code code::selection {
  background: rgba(56, 139, 253, 0.45);
  color: #fff;
}

.ox-demo-code.is-selecting {
  box-shadow: inset 0 0 0 1px rgba(139, 123, 255, 0.35);
}

.ox-demo-code.is-typing code::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 1px;
  vertical-align: text-bottom;
  background: var(--ox-violet);
  animation: ox-blink 1s step-end infinite;
}

@keyframes ox-blink {
  50% { opacity: 0; }
}

.ox-demo-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Mobile / tablet — same desktop IDE chrome, scale-to-fit (no stacked mobile layout) */
@media (max-width: 900px) {
  .ox-hero-layout {
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
    width: 100%;
  }

  .ox-hero-layout > * {
    min-width: 0;
  }

  .page-home .ox-hero-stage {
    perspective: none;
    min-height: 200px;
    height: auto;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-inline: clamp(0.5rem, 2.5vw, 0.85rem);
    box-sizing: border-box;
    overflow: hidden;
    display: block;
  }

  .home-js .ox-hero-stage {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .ox-hero-copy {
    min-width: 0;
    max-width: 100%;
    overflow: visible;
  }

  .ox-hero-copy h1 {
    font-size: clamp(1.65rem, 7.6vw, 2.35rem);
    overflow-wrap: break-word;
    text-wrap: balance;
  }

  .ox-lead {
    max-width: 100%;
    font-size: clamp(0.94rem, 4vw, 1.05rem);
  }

  .ox-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ox-actions .ox-btn {
    width: 100%;
    justify-content: center;
  }

  .ox-meta {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    font-size: 0.78rem;
    gap: 0.45rem;
    padding-inline: 0;
  }

  .ox-kicker {
    max-width: 100%;
    font-size: clamp(0.68rem, 3.2vw, 0.78rem);
    line-height: 1.35;
  }

  .ox-stage.ox-stage-demo {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    min-height: 0;
    display: block;
    transform: none !important;
  }

  .ox-stage-demo {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .ox-stage-demo[data-ox-tilt] {
    transform: none !important;
  }

  .ox-demo-scale {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    overflow: hidden;
    position: relative;
  }

  .ox-stage-demo .ox-demo-window {
    width: 760px;
    max-width: none;
    min-width: 0;
    margin: 0;
    animation: none;
    transform-origin: top left;
    will-change: transform;
  }

  .ox-stage-demo .ox-orbit,
  .ox-stage-demo .ox-orb {
    display: none;
  }
}

/* ——— Legacy screenshot carousel (unused) ——— */
.ox-stage-showcase .ox-showcase-window {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: linear-gradient(180deg, #14141c 0%, #0c0c12 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(139, 123, 255, 0.08);
  animation: ox-float 7s ease-in-out infinite;
}

.ox-showcase-viewport {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 10;
  max-height: min(52vh, 420px);
  background: #09090f;
}

.ox-showcase-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.55s ease;
  pointer-events: none;
}

.ox-showcase-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.ox-showcase-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.ox-showcase-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 0.55rem 0.85rem;
  font-size: 0.68rem;
  line-height: 1.4;
  color: #d8d8e4;
  background: linear-gradient(180deg, transparent, rgba(9, 9, 15, 0.92));
}

.ox-showcase-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 0.85rem 0.75rem;
  border-top: 1px solid var(--ox-line);
  background: rgba(255, 255, 255, 0.02);
}

.ox-showcase-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  background: #3a3a48;
  transition: transform 0.2s ease, background 0.2s ease;
}

.ox-showcase-dot.is-active {
  background: var(--ox-violet);
  transform: scale(1.15);
}

.ox-showcase-dot:focus-visible {
  outline: 2px solid var(--ox-cyan);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .ox-window-body { grid-template-columns: 1fr; }
  .ox-side,
  .ox-agent { display: none; }
  .ox-float-cli { width: min(240px, 70%); bottom: -4%; right: 2%; }
  .ox-showcase-viewport {
    max-height: none;
    aspect-ratio: 4 / 3;
  }
  .ox-showcase-caption { font-size: 0.62rem; }
}

/* ——— Strip / sections ——— */
.ox-strip {
  border-top: 1px solid var(--ox-line);
  border-bottom: 1px solid var(--ox-line);
  background: rgba(255, 255, 255, 0.015);
  padding: 1.35rem 0;
}

.ox-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.5rem;
}

.ox-strip-inner > p {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b6b7a;
}

.ox-strip-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.25rem;
}

.ox-strip-items span {
  font-family: var(--ox-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: #8e8e9d;
  letter-spacing: -0.02em;
}

.ox-section {
  padding: clamp(3.5rem, 7vw, 5.25rem) 0;
  border-top: 1px solid var(--ox-line);
}

.ox-section-alt { background: var(--ox-bg-2); }

.ox-label {
  margin: 0 0 0.7rem;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ox-violet);
}

.ox-head { max-width: 36rem; margin-bottom: 2rem; }

.ox-head h2,
.ox-privacy h2,
.ox-cta h2 {
  margin: 0 0 0.7rem;
  font-family: var(--ox-display);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: #fff;
}

.ox-muted {
  margin: 0;
  color: var(--ox-muted);
  font-size: 1rem;
  line-height: 1.55;
}

.ox-privacy-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) {
  .ox-privacy-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: start;
  }
}

.ox-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.ox-checklist li {
  position: relative;
  padding: 0.9rem 1rem 0.9rem 2.35rem;
  border: 1px solid var(--ox-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--ox-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.ox-checklist li::before {
  content: "";
  position: absolute;
  left: 0.95rem;
  top: 1.15rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ox-grad);
}

.ox-rows {
  display: grid;
  border-top: 1px solid var(--ox-line);
}

.ox-rows article {
  display: grid;
  gap: 0.5rem;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--ox-line);
}

@media (min-width: 800px) {
  .ox-rows article {
    grid-template-columns: 0.9fr 1.4fr;
    gap: 2rem;
    align-items: baseline;
  }
}

.ox-rows h3,
.ox-steps h3,
.ox-caps h3 {
  margin: 0;
  font-family: var(--ox-display);
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: #fff;
}

.ox-rows p,
.ox-steps p,
.ox-caps p {
  margin: 0;
  color: var(--ox-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.ox-steps {
  display: grid;
  gap: 1.25rem;
  counter-reset: oxstep;
}
@media (min-width: 900px) {
  .ox-steps { grid-template-columns: repeat(4, 1fr); }
}

.ox-steps article {
  position: relative;
  padding-top: 1.35rem;
  border-top: 1px solid var(--ox-line);
  counter-increment: oxstep;
}

.ox-steps article::before {
  content: counter(oxstep, decimal-leading-zero);
  position: absolute;
  top: -0.7rem;
  left: 0;
  padding-right: 0.35rem;
  background: var(--ox-bg-2);
  font-family: var(--ox-mono);
  font-size: 0.68rem;
  color: var(--ox-violet);
}

.ox-section:not(.ox-section-alt) .ox-steps article::before { background: var(--ox-bg); }

.ox-caps {
  display: grid;
  gap: 1.4rem 1.6rem;
}
@media (min-width: 700px) { .ox-caps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .ox-caps { grid-template-columns: repeat(3, 1fr); } }

.ox-more { margin: 1.5rem 0 0; }
.ox-more a { color: var(--ox-violet); font-weight: 560; }
.ox-more a:hover { color: var(--ox-cyan); }

.ox-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.ox-chips span {
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--ox-line);
  border-radius: 999px;
  font-size: 0.875rem;
  color: #b8b8c6;
  background: rgba(255, 255, 255, 0.02);
}

.ox-cta {
  padding: clamp(3.5rem, 7vw, 5.25rem) 0;
  border-top: 1px solid var(--ox-line);
  background:
    radial-gradient(ellipse 60% 90% at 70% 120%, rgba(139, 123, 255, 0.18), transparent 55%),
    radial-gradient(ellipse 40% 60% at 10% 100%, rgba(77, 212, 255, 0.1), transparent 50%),
    var(--ox-bg-2);
}

.ox-cta-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.ox-cta-inner > div:first-child { max-width: 34rem; }

/* Spotlights */
.page-home .spotlight {
  padding: clamp(3.5rem, 7vw, 5.25rem) 0;
  border-bottom: 1px solid var(--ox-line);
  background: transparent;
}
.page-home .spotlight:nth-child(even) { background: var(--ox-bg-2); }

.page-home .spotlight-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 959px) {
  .page-home .spotlight-panel,
  .page-home .spotlight-reverse .spotlight-panel,
  .page-home .spotlight:hover .spotlight-panel {
    transform: none;
    width: 100%;
    max-width: min(100%, 420px);
    margin-inline: auto;
  }

  .page-home .spotlight-grid > * {
    min-width: 0;
  }
}

@media (min-width: 960px) {
  .page-home .spotlight-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.25rem;
  }
  .page-home .spotlight-reverse .spotlight-copy { order: 2; }
  .page-home .spotlight-reverse .spotlight-panel { order: 1; }
}

.page-home .home-wrap,
.page-home .container-home {
  width: min(100% - 2.5rem, var(--ox-max));
  margin-inline: auto;
}

.page-home .spotlight-copy .home-eyebrow,
.page-home .spotlight-copy .eyebrow {
  color: var(--ox-violet);
  letter-spacing: 0.08em;
  font-weight: 650;
}

.page-home .spotlight-copy h2 {
  font-family: var(--ox-display);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}

.page-home .spotlight-bullets li::before {
  background: var(--ox-grad);
  width: 10px;
  height: 2px;
  border-radius: 1px;
}

.page-home .workspace-mock,
.page-home .glow-frame {
  border: 1px solid var(--ox-line);
  border-radius: 14px;
  background: #0d0d14;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(139, 123, 255, 0.06);
}

.page-home .workspace-mock .accent { color: var(--ox-violet); }
.page-home .workspace-mock .ok { color: var(--ox-cyan); }

.page-home .spotlight-panel {
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.5s ease;
}
.page-home .spotlight-reverse .spotlight-panel {
  transform: perspective(1200px) rotateY(4deg) rotateX(2deg);
}
.page-home .spotlight:hover .spotlight-panel {
  transform: perspective(1200px) rotateY(0) rotateX(0) translateY(-6px);
}

/* Motion */
@keyframes ox-pulse {
  0% { box-shadow: 0 0 0 0 rgba(139, 123, 255, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(139, 123, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(139, 123, 255, 0); }
}
@keyframes ox-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes ox-float-alt {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-14px) rotate(0.5deg); }
}
@keyframes ox-orb {
  from { transform: translate(-50%, -50%) scale(1); opacity: 0.85; }
  to { transform: translate(-50%, -52%) scale(1.08); opacity: 1; }
}
@keyframes ox-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes ox-grid-drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 56px, 56px 0; }
}

.home-js .ox-hero-copy > * {
  animation: ox-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.home-js .ox-hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.home-js .ox-hero-copy > *:nth-child(2) { animation-delay: 0.12s; }
.home-js .ox-hero-copy > *:nth-child(3) { animation-delay: 0.18s; }
.home-js .ox-hero-copy > *:nth-child(4) { animation-delay: 0.24s; }
.home-js .ox-hero-copy > *:nth-child(5) { animation-delay: 0.3s; }
.home-js .ox-hero-stage {
  animation: ox-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

@keyframes ox-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.home-js [data-reveal]:not(.is-revealed) {
  opacity: 0;
  transform: translateY(18px);
}
.home-js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: reduce) {
  .ox-hero-grid,
  .ox-orb,
  .ox-orbit,
  .ox-window,
  .ox-stage-demo .ox-demo-window,
  .ox-stage-showcase .ox-showcase-window,
  .ox-showcase-slide,
  .ox-float-cli,
  .ox-kicker-dot,
  .ox-task i {
    animation: none !important;
  }
  .home-js .ox-hero-copy > *,
  .home-js .ox-hero-stage,
  .home-js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
  .ox-showcase-slide {
    transition: none !important;
  }
  .ox-demo-live-dot,
  .ox-demo-code.is-typing code::after,
  .ox-demo-typing-dots span,
  .ox-demo-msg {
    animation: none !important;
  }
}
