/* PyCharm authority site — violet aurora design system */
:root {
  --bg-main: #030305;
  --bg-secondary: #08070d;
  --bg-overview: #0c0912;
  --bg-graphite: #100b18;
  --bg-reviews: #0c0912;
  --bg-faq: #050407;
  --surface-1: #0d0b13;
  --surface-2: #12101a;
  --surface-purple: #171024;
  --surface-panel: rgba(20, 16, 31, 0.94);
  --text-main: #f7f5fa;
  --text-muted: #b3aebc;
  --text-dim: #77717e;
  --text-secondary: #b3aebc;
  --purple: #7c3cff;
  --violet: #962cff;
  --magenta: #d83cff;
  --pink: #f056d9;
  --blue: #397cff;
  --cyan: #35d9ff;
  --py-cyan: var(--cyan);
  --py-teal: var(--blue);
  --py-green: var(--violet);
  --py-lime: var(--magenta);
  --py-yellow: var(--pink);
  --border-soft: rgba(255, 255, 255, 0.10);
  --border-purple: rgba(166, 87, 255, 0.32);
  --border-active: rgba(177, 78, 255, 0.45);
  --nav-h: 72px;
  --font-sans: "Outfit", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --site-origin: https://pycharm.io;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--violet);
}

:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
}

.mono {
  font-family: var(--font-mono);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--magenta);
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(216, 60, 255, 0.35);
}

/* ——— Nav ——— */
.top-nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(4, 3, 7, 0.88);
  backdrop-filter: blur(14px);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease);
}

.top-nav-wrapper.is-scrolled {
  background: rgba(4, 3, 7, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.top-nav-bar {
  width: min(1240px, 100% - 2.75rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand-lockup img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
}

.primary-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.2s;
}

.primary-links a:hover,
.primary-links a[aria-current="page"] {
  color: var(--text-main);
}

.primary-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--pink));
  transition: width 0.25s var(--ease);
}

.primary-links a:hover::after,
.primary-links a[aria-current="page"]::after {
  width: 100%;
}

.utility-cluster {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ——— Language switcher dropdown ——— */
.locale-menu {
  position: relative;
}

.locale-menu__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.locale-menu__btn:hover,
.locale-menu.is-open .locale-menu__btn {
  border-color: rgba(32, 212, 213, 0.55);
  background: rgba(32, 212, 213, 0.1);
}

.locale-menu__chev {
  font-size: 0.7rem;
  opacity: 0.8;
}

.locale-menu__menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  min-width: 10.5rem;
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0d1111;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  z-index: 100;
}

.locale-menu__menu a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.locale-menu__menu a:hover,
.locale-menu__menu a[aria-current="true"] {
  color: #fff;
  background: rgba(32, 212, 213, 0.12);
}

.locale-menu-mobile {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.locale-menu-mobile a {
  padding: 0.4rem 0.75rem !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 0.85rem !important;
}

.locale-menu-mobile a[aria-current="true"] {
  border-color: var(--py-cyan);
  color: var(--py-cyan) !important;
}

/* Chinese: tighter nav letter-spacing */
body.lang-cn .primary-links a,
body.lang-cn .brand-lockup,
body.lang-cn .drawer-panel a {
  letter-spacing: 0.06em;
}

body.lang-cn .btn,
body.lang-cn .float-get {
  letter-spacing: 0.04em;
}

/* Russian: more button padding */
body.lang-ru .btn,
body.lang-ru .float-get,
body.lang-ru .ctl-primary,
body.lang-ru .ctl-nav,
body.lang-ru .ctl-light,
body.lang-ru .ctl-ghost {
  padding-inline: 1.35rem;
}

body.lang-ru .ctl-sm {
  padding-inline: 1.1rem;
}

/* Arabic RTL */
html[dir="rtl"] body,
body.lang-ar {
  direction: rtl;
  text-align: right;
}

/* Don't double-flip flex — direction:rtl already mirrors */
html[dir="rtl"] .top-nav-bar,
html[dir="rtl"] .utility-cluster {
  flex-direction: row;
}

html[dir="rtl"] .locale-menu__menu {
  right: auto;
  left: 0;
}

html[dir="rtl"] .float-get {
  right: auto;
  left: 1.25rem;
}

html[dir="rtl"] .float-get .arrow,
html[dir="rtl"] .btn .arrow {
  display: inline-block;
  transform: scaleX(-1);
}

/* Keep stage-banner art on the visual right; center copy in the middle */
html[dir="rtl"] .stage-layout {
  direction: ltr;
  grid-template-columns: 1fr;
  justify-items: center;
}

html[dir="rtl"] .stage-copy {
  direction: rtl;
  text-align: center;
  margin-inline: auto;
  max-width: 38rem;
  justify-self: center;
}

html[dir="rtl"] .stage-actions,
html[dir="rtl"] .hero-actions {
  display: flex;
  justify-content: center;
  flex-direction: row;
}

html[dir="rtl"] .stage-spacer {
  display: none;
}

html[dir="rtl"] .stage-meta,
html[dir="rtl"] .stage-lead,
html[dir="rtl"] .stage-kicker,
html[dir="rtl"] .stage-copy h1 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Section titles centered in Arabic */
html[dir="rtl"] .pane-intel-head {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
}

html[dir="rtl"] .pane-intel-head h2,
html[dir="rtl"] .band-title,
html[dir="rtl"] .pane-focus-title,
html[dir="rtl"] .pane-usecase h2,
html[dir="rtl"] .pane-voices h2,
html[dir="rtl"] .enterprise-shell h2,
html[dir="rtl"] .embark-copy h2,
html[dir="rtl"] .headline-glow,
html[dir="rtl"] .page-mast,
html[dir="rtl"] .page-mast.is-centered,
html[dir="rtl"] .cap-block-inner,
html[dir="rtl"] .cap-rail,
html[dir="rtl"] .faq-mast {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

html[dir="rtl"] .embark-shell {
  direction: ltr;
  grid-template-columns: 0.9fr 1.1fr;
}

html[dir="rtl"] .embark-copy {
  direction: rtl;
  text-align: center;
  align-items: center;
}

html[dir="rtl"] .embark-copy h2 {
  max-width: 18em;
  text-align: center;
  margin-inline: auto;
}

html[dir="rtl"] .embark-actions {
  justify-content: center;
  width: 100%;
}

html[dir="rtl"] .embark-meta {
  text-align: center;
  width: 100%;
}

html[dir="rtl"] .pane-focus .wrap > .pane-focus-title,
html[dir="rtl"] .pane-voices .wrap > h2 {
  text-align: center;
  width: 100%;
}

html[dir="rtl"] .cap-list button {
  text-align: center;
}

html[dir="rtl"] .breadcrumbs {
  justify-content: center;
}

html[dir="rtl"] .page-mast.is-centered,
html[dir="rtl"] .cap-block-inner {
  align-items: center;
}

.drawer-trigger {
  display: none;
  background: transparent;
  border: 1px solid var(--border-soft);
  color: var(--text-main);
  width: 42px;
  height: 42px;
  border-radius: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.drawer-trigger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  position: relative;
}

.drawer-trigger span::before,
.drawer-trigger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: currentColor;
}

.drawer-trigger span::before {
  top: -6px;
}

.drawer-trigger span::after {
  top: 6px;
}

.drawer-panel {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: rgba(5, 5, 5, 0.98);
  padding: 2rem;
  z-index: 99;
  flex-direction: column;
  gap: 1.25rem;
}

.drawer-panel.is-open {
  display: flex;
}

.drawer-panel a {
  font-size: 1.35rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border-soft);
  padding-bottom: 0.85rem;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.35rem;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s,
    color 0.2s;
}

.btn .arrow {
  transition: transform 0.2s var(--ease);
  display: inline-block;
}

.btn:hover .arrow {
  transform: translateX(4px);
}

.ctl-primary {
  background: linear-gradient(135deg, #7c3cff, #b63cff 55%, #ef4fd8);
  color: #fff;
  border: 0;
  border-radius: 12px;
}

.ctl-primary:hover {
  filter: brightness(1.08);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(146, 44, 255, 0.2);
}

.ctl-hero {
  background: linear-gradient(135deg, #7c3cff, #b63cff 55%, #ef4fd8);
  color: #fff;
  border: 0;
  border-radius: 12px;
  padding: 0.95rem 1.55rem;
  font-weight: 700;
}

.ctl-hero:hover {
  filter: brightness(1.08);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(146, 44, 255, 0.22);
}

.ctl-nav {
  background: rgba(124, 60, 255, 0.18);
  color: #fff;
  border: 1px solid rgba(177, 78, 255, 0.4);
  border-radius: 10px;
}

.ctl-nav:hover {
  background: rgba(124, 60, 255, 0.32);
  border-color: rgba(240, 86, 217, 0.45);
  color: #fff;
  transform: translateY(-1px);
}

.ctl-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  border-radius: 12px;
}

.ctl-ghost:hover {
  border-color: rgba(177, 78, 255, 0.55);
  color: #fff;
  background: rgba(124, 60, 255, 0.08);
  transform: translateY(-2px);
}

.ctl-light {
  background: #fff;
  color: #12081c;
  border-radius: 12px;
}

.ctl-light:hover {
  background: #f3eaff;
  color: #12081c;
  transform: translateY(-2px);
}

.ctl-secondary {
  background: transparent;
  border-color: var(--border-soft);
  color: var(--text-main);
  border-radius: 12px;
}

.ctl-secondary:hover {
  border-color: var(--border-active);
  color: var(--violet);
  transform: translateY(-2px);
}

.ctl-sm {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}

/* ——— Layout ——— */
.wrap {
  width: min(1240px, 100% - 2.5rem);
  margin-inline: auto;
}

.section {
  padding: 5.5rem 0;
}

.section-tight {
  padding: 4rem 0;
}

/* ——— Section splitters (short, centered — not full-bleed lines) ——— */
.band-divider,
.divider-fade,
.divider-notch,
.divider-syntax {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin: 0;
  padding: 1.15rem 0;
  border: 0;
  height: auto;
  width: 100%;
  background: none;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.band-divider::before,
.band-divider::after,
.divider-fade::before,
.divider-fade::after,
.divider-notch::before,
.divider-notch::after,
.divider-syntax::before,
.divider-syntax::after {
  content: "";
  width: min(5.5rem, 18vw);
  height: 1px;
  flex-shrink: 0;
  max-width: none;
  position: static;
  left: auto;
  right: auto;
  top: auto;
  border: 0;
  transform: none;
  background: rgba(255, 255, 255, 0.22);
}

.band-divider__mark {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border: 1px solid var(--violet);
  transform: rotate(45deg);
  background: #030305;
  box-shadow: 0 0 10px rgba(150, 44, 255, 0.35);
}

.band-divider::before,
.band-divider::after {
  background: linear-gradient(90deg, transparent, rgba(150, 44, 255, 0.45), rgba(240, 86, 217, 0.35), transparent);
}

.divider-syntax {
  gap: 1rem;
}

/* ——— Panels ——— */
.panel {
  background: var(--surface-panel);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: transparent;
  transition: background 0.25s;
}

.panel:hover {
  transform: translateY(-3px);
  border-color: rgba(32, 212, 213, 0.35);
}

.panel:hover::before {
  background: linear-gradient(180deg, var(--py-cyan), var(--py-green));
}

.chrome-frame {
  background: #0a0c0c;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.chrome-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.85rem;
  background: #0f1212;
  border-bottom: 1px solid var(--border-soft);
}

.chrome-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3a4242;
}

.chrome-bar i:nth-child(1) {
  background: #ff5f57;
}
.chrome-bar i:nth-child(2) {
  background: #febc2e;
}
.chrome-bar i:nth-child(3) {
  background: #28c840;
}

.chrome-bar .title {
  margin-left: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
}

.chrome-frame img {
  width: 100%;
  transition: transform 0.4s var(--ease);
  cursor: zoom-in;
}

.chrome-frame:hover img {
  transform: scale(1.015);
}

/* ——— Hero (home) — JetBrains-style left copy / full-bleed art ——— */
.stage-banner {
  position: relative;
  min-height: clamp(760px, 82vh, 850px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #030304;
  padding: 4rem 0 3.25rem;
}

.stage-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.stage-canvas {
  position: absolute;
  inset: 0;
  background-color: #030305;
  background-image: url("../media/stage-aurora.png?v=aurora2");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  animation: stageDrift 24s var(--ease) infinite alternate;
}

.stage-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    #030304 0%,
    rgba(3, 3, 4, 0.94) 20%,
    rgba(3, 3, 4, 0.55) 38%,
    rgba(3, 3, 4, 0.12) 52%,
    transparent 64%
  );
}

.stage-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(3, 3, 4, 0.22) 0%, transparent 16%),
    linear-gradient(180deg, transparent 62%, rgba(3, 3, 4, 0.35) 82%, #030304 100%),
    linear-gradient(to left, rgba(3, 3, 4, 0.28) 0%, transparent 14%);
}

@keyframes heroBreath {
  from {
    transform: scale(1) translate(0, 0);
  }
  to {
    transform: scale(1.03) translate(-1%, 0.6%);
  }
}

@keyframes stageDrift {
  from {
    transform: scale(1) translate(0, 0);
  }
  to {
    transform: scale(1.025) translate(-0.8%, 0.4%);
  }
}

.stage-emblem-layer {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(56%, 780px);
  pointer-events: none;
}

.stage-emblem {
  position: absolute;
  top: 50%;
  left: 48%;
  transform: translate(-50%, -50%);
  width: clamp(86px, 6.5vw, 110px);
  height: clamp(86px, 6.5vw, 110px);
  filter: drop-shadow(0 12px 45px rgba(143, 56, 255, 0.18));
  box-shadow: 0 12px 45px rgba(143, 56, 255, 0.18);
  border-radius: 10px;
}

@media (min-width: 1700px) {
  .stage-emblem-layer {
    width: min(52%, 860px);
  }

  .stage-emblem {
    top: 48%;
    left: 50%;
  }
}

@media (max-width: 1200px) and (min-width: 961px) {
  .stage-emblem-layer {
    width: min(60%, 640px);
  }

  .stage-emblem {
    top: 46%;
    left: 52%;
  }
}

.stage-emblem svg {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 8px;
}

.stage-layout {
  position: relative;
  z-index: 1;
  width: min(1240px, 100% - 2.5rem);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(320px, 700px) 1fr;
  gap: 2rem;
  align-items: center;
}

.stage-copy {
  position: relative;
  z-index: 3;
  text-align: left;
  max-width: 680px;
  padding: 0.5rem 0 1rem;
  animation: heroIn 0.9s var(--ease) both;
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stage-kicker {
  font-size: 1.35rem;
  font-weight: 500;
  color: #fff;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.stage-banner h1 {
  font-size: clamp(4rem, 5.5vw, 6.6rem);
  line-height: 0.96;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: #f7f5fa;
  margin: 0 0 1.15rem;
  max-width: 11.5ch;
}

.stage-banner h1 .accent-word {
  background: linear-gradient(90deg, #a855f7, #d946ef, #f06adf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stage-lead {
  color: rgba(247, 245, 250, 0.72);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  max-width: 38ch;
  margin: 0 0 2rem;
  line-height: 1.45;
  font-weight: 400;
}

.stage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: flex-start;
  margin-bottom: 1rem;
}

.ctl-hero {
  border-radius: 12px;
  padding: 0.95rem 1.7rem;
  font-size: 1.02rem;
  font-weight: 700;
  background: linear-gradient(135deg, #7c3cff, #b63cff 55%, #ef4fd8);
  color: #fff;
  border: none;
}

.ctl-hero:hover {
  filter: brightness(1.08);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(146, 44, 255, 0.22);
}

.stage-meta {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

.stage-meta span {
  color: inherit;
}

.stage-spacer {
  min-height: 1px;
}

/* AI band — JetBrains-like */
.ai-band {
  background: #000;
  padding: 3.5rem 0 1rem;
}

.ai-band-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.ai-band-head h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -0.035em;
  margin: 0;
  font-weight: 700;
}

.ai-band-head h2 .grad {
  background: linear-gradient(90deg, var(--violet), var(--magenta), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ai-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.ai-card {
  background: #0a0c0c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.5rem 1.35rem;
  min-height: 160px;
}

.ai-card h3 {
  font-size: 1.15rem;
  margin: 0 0 0.65rem;
  letter-spacing: -0.02em;
}

.ai-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.jb-promise {
  background: #000;
  padding: 5rem 0 3rem;
  text-align: center;
}

.jb-promise h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 0;
  font-weight: 700;
}

.jb-promise h2 .line2 {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.tag-row a,
.tag-row span {
  font-size: 0.9rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
}

.tag-row a:hover {
  border-color: var(--border-active);
  color: var(--py-cyan);
}

/* ——— Editorial blocks ——— */
.split-editorial {
  display: grid;
  grid-template-columns: 0.9fr 1.15fr;
  gap: 3rem;
  align-items: center;
}

.split-editorial .copy h2 {
  font-size: clamp(2rem, 3.5vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0.5rem 0 1rem;
}

.split-editorial .shot {
  margin-right: -4vw;
}

.heading-left-right {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.5rem;
}

.heading-left-right h2 {
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0.4rem 0 0;
}

.heading-left-right p {
  color: var(--text-muted);
  margin: 0;
  max-width: 38ch;
}

/* ——— Feature mosaic ——— */
.mosaic {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}

.mosaic-large {
  grid-row: 1 / 3;
  padding: 1.5rem;
  min-height: 420px;
  display: flex;
  flex-direction: column;
}

.mosaic-large h3 {
  font-size: 1.65rem;
  letter-spacing: -0.02em;
  margin: 0.4rem 0 0.75rem;
}

.mosaic-side {
  padding: 1.25rem;
  min-height: 190px;
}

.mosaic-side h3 {
  font-size: 1.1rem;
  margin: 0.35rem 0 0.5rem;
}

.chrome-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.chrome-tabs span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  padding: 0.28rem 0.55rem;
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.35);
}

.chrome-tabs span.is-active {
  border-color: var(--border-active);
  color: var(--py-cyan);
}

.code-accent {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.code-accent .kw {
  color: #c9894a;
}

.code-accent .fn {
  color: var(--text-main);
}

.code-accent .paren {
  color: var(--py-cyan);
}

/* ——— Reviews ——— */
.reviews-track-wrap {
  overflow: hidden;
  margin-inline: calc(50% - 50vw);
  width: 100vw;
  padding-left: max(1.25rem, calc(50vw - 620px));
}

.reviews-track {
  display: flex;
  gap: 1.15rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
}

.reviews-track::-webkit-scrollbar {
  height: 4px;
}

.reviews-track::-webkit-scrollbar-thumb {
  background: rgba(32, 212, 213, 0.4);
  border-radius: 4px;
}

.review-card {
  flex: 0 0 auto;
  width: min(500px, 85vw);
  scroll-snap-align: start;
  padding: 1.75rem;
  background: var(--surface-1);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  position: relative;
}

.review-card:nth-child(3n) {
  width: min(440px, 85vw);
}

.review-card:nth-child(4n) {
  width: min(560px, 88vw);
}

.review-card::before {
  content: "";
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 8px;
  height: 8px;
  background: var(--py-lime);
  border-radius: 1px;
}

.review-card blockquote {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text-main);
}

.review-person {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.review-person img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.review-person strong {
  display: block;
  font-size: 0.95rem;
}

.review-person span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.review-detail {
  margin-top: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--py-teal);
}

/* ——— Comparison table ——— */
.spec-scroll {
  overflow-x: auto;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 0.92rem;
}

.spec-table th,
.spec-table td {
  padding: 0.95rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
}

.spec-table thead th {
  background: var(--bg-graphite);
  font-weight: 600;
  font-size: 0.85rem;
}

.spec-table thead th:nth-child(2) {
  color: var(--py-cyan);
}

.spec-table tbody th {
  position: sticky;
  left: 0;
  background: var(--bg-secondary);
  font-weight: 500;
  z-index: 1;
}

.spec-table tbody tr:hover td,
.spec-table tbody tr:hover th {
  background: rgba(32, 212, 213, 0.04);
}

.spec-table .yes {
  color: var(--py-green);
}

.spec-table .partial {
  color: var(--py-yellow);
}

.spec-table .no {
  color: var(--text-dim);
}

/* ——— Final CTA ——— */
.final-cta {
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
  background: var(--bg-main);
}

.final-cta::before,
.final-cta::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(32, 212, 213, 0.25);
  pointer-events: none;
}

.final-cta::before {
  width: 280px;
  height: 280px;
  border-radius: 28px;
  top: -40px;
  right: 8%;
  transform: rotate(18deg);
  border-color: rgba(86, 211, 100, 0.3);
}

.final-cta::after {
  width: 160px;
  height: 160px;
  border-radius: 18px;
  bottom: 10%;
  left: 6%;
  transform: rotate(-12deg);
  border-color: rgba(215, 247, 91, 0.28);
}

.final-cta .inner {
  position: relative;
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

.final-cta h2 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0.5rem 0 1rem;
}

/* ——— Footer ——— */
.site-foot {
  background: #000;
  padding: 4rem 0 2rem;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.foot-brand {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.foot-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}

.foot-col h4 {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 1rem;
}

.foot-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.foot-col li {
  margin-bottom: 0.55rem;
}

.foot-col a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.foot-col a:hover {
  color: var(--text-main);
}

.foot-base {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-soft);
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ——— Page intros ——— */
.page-mast {
  padding: 4.5rem 0 2.5rem;
}

.page-mast h1 {
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 0.5rem 0 1rem;
}

.page-mast.is-centered,
.faq-mast,
.page-404 {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-mast.is-centered .breadcrumbs,
.page-mast.is-centered .eyebrow,
.faq-mast .breadcrumbs,
.faq-mast .eyebrow {
  justify-content: center;
}

.page-mast.is-centered > p,
.faq-mast > p {
  margin-left: auto;
  margin-right: auto;
}

.page-mast.is-centered h1,
.page-mast.is-centered .headline-glow,
.trust-mast.is-centered h1,
.trust-mast .headline-glow,
.download-mast.is-centered h1,
.faq-mast .headline-glow {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.headline-glow {
  text-align: center;
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0.35rem auto 1rem;
  max-width: 22ch;
  background: linear-gradient(115deg, #ffffff 12%, var(--violet) 48%, var(--pink) 88%);
  background-size: 180% 180%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: titleShimmer 8s var(--ease) infinite alternate;
  filter: drop-shadow(0 0 18px rgba(150, 44, 255, 0.28));
}

.page-mast .headline-glow,
.faq-mast .headline-glow,
.download-mast .headline-glow,
.trust-mast .headline-glow {
  font-size: clamp(2.5rem, 5.2vw, 4.6rem);
  max-width: 16ch;
}

@keyframes titleShimmer {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.cap-block {
  padding: 3.25rem 0;
}

.cap-block-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.cap-block-inner .eyebrow {
  justify-content: center;
}

.cap-lead {
  color: var(--text-muted);
  max-width: 58ch;
  margin: 0 auto 0.5rem;
  font-size: 1.05rem;
}

.cap-block-inner ul {
  text-align: left;
  color: var(--text-muted);
  margin: 0 auto 0.75rem;
  max-width: 52ch;
  padding-left: 1.1rem;
}

.cap-shot {
  width: 100%;
  max-width: 920px;
  margin: 0.75rem auto 0;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #08070d;
  isolation: isolate;
  transform: translateZ(0);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.55),
    0 22px 52px rgba(0, 0, 0, 0.58),
    0 8px 18px rgba(0, 0, 0, 0.35),
    0 0 36px rgba(124, 60, 255, 0.07);
}

.cap-shot .chrome-bar {
  height: 36px;
}

.cap-shot img {
  width: 100%;
  height: calc(100% - 36px);
  object-fit: cover;
  display: block;
}

.cap-panel {
  width: 100%;
  max-width: 920px;
  margin: 0.75rem auto 0;
  padding: 1.35rem 1.5rem 1.5rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.15rem;
  box-sizing: border-box;
}

.caps-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  justify-items: center;
  text-align: center;
}

.caps-intro > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cap-rail {
  border-left: 0;
  padding-left: 0;
  position: static;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 1.1rem;
  max-width: 720px;
}

.cap-rail a {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.cap-rail a:hover {
  color: var(--py-cyan);
  border-color: rgba(32, 212, 213, 0.45);
  background: rgba(32, 212, 213, 0.08);
}

.feature-alt {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0;
}

.feature-alt.reverse {
  direction: rtl;
}

.feature-alt.reverse > * {
  direction: ltr;
}

.feature-band {
  background: #000;
  padding: 3rem 0;
}

.feature-band .chrome-frame {
  max-width: 1100px;
  margin-inline: auto;
}

.kb-article .headline-glow {
  text-align: left;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

.audit-row .headline-glow {
  text-align: left;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  max-width: none;
  margin: 0 0 0.35rem;
  filter: drop-shadow(0 0 10px rgba(32, 212, 213, 0.2));
}

@media (prefers-reduced-motion: reduce) {
  .headline-glow {
    animation: none;
    background-position: 50% 50%;
  }
}

/* ——— Download ——— */
.download-mast h1 {
  font-size: clamp(3rem, 7vw, 6.5rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.release-shell {
  width: 100%;
  max-width: 820px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: var(--surface-1);
  padding: 2rem;
  margin-top: 2.5rem;
  text-align: center;
}

.release-pulse {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--magenta);
  margin-bottom: 1.25rem;
}

.release-pulse::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 0 3px rgba(216, 60, 255, 0.18);
}

.release-head {
  margin-bottom: 0.25rem;
}

.release-name {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.release-version {
  margin: 0.35rem 0 0;
  color: var(--py-cyan);
  font-size: 1.15rem;
}

.release-platform {
  margin: 0.65rem 0 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.release-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 1.75rem 0 2rem;
  text-align: left;
}

.release-meta dt {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.35rem;
}

.release-meta dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: #fff;
}

.release-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.release-actions .btn {
  min-width: min(100%, 280px);
}

.release-actions a:not(.btn) {
  color: var(--py-cyan);
  font-size: 0.95rem;
}
  font-size: 0.95rem;
}

.changelog {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--border-soft);
}

.changelog li {
  padding: 0 0 1.75rem 1.5rem;
  position: relative;
}

.changelog li::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 0.35rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--py-cyan);
}

.changelog time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--py-teal);
  display: block;
  margin-bottom: 0.35rem;
}

/* ——— Guides ——— */
.kb-layout {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: 2rem 2.75rem;
  align-items: start;
}

.kb-rail {
  position: sticky;
  top: calc(var(--nav-h) + 1.25rem);
  padding: 1rem 1rem 1rem 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.kb-rail .eyebrow {
  margin-bottom: 0.85rem;
}

.kb-rail a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 0.45rem 0.75rem 0.45rem 0;
  border-left: 2px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.kb-rail a:hover {
  color: var(--py-cyan);
  border-left-color: rgba(32, 212, 213, 0.55);
}

.kb-article {
  margin-bottom: 3.5rem;
  text-align: left;
  max-width: 720px;
}

.kb-article h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.kb-article .cap-shot {
  max-width: 100%;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  text-align: left;
}

.steps li {
  counter-increment: step;
  padding: 1rem 0 1rem 3rem;
  position: relative;
  border-bottom: 1px solid var(--border-soft);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--py-cyan);
}

.note-box {
  border-left: 3px solid;
  padding: 1rem 1.15rem;
  margin: 1.5rem 0;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0 8px 8px 0;
}

.note-info {
  border-color: var(--py-teal);
}

.note-warn {
  border-color: #c4b24a;
}

.note-tip {
  border-color: var(--py-green);
}

.note-box strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

/* ——— FAQ ——— */
.faq-mast {
  text-align: center;
  padding: 4.5rem 0 2rem;
}

.faq-shell {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  align-items: start;
  padding-bottom: 5rem;
}

.faq-filters button {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-left: 2px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  padding: 0.55rem 0.75rem;
  cursor: pointer;
}

.faq-filters button.is-active,
.faq-filters button:hover {
  color: var(--text-main);
  border-left-color: var(--py-cyan);
}

.faq-item {
  border-bottom: 1px solid var(--border-soft);
  background: transparent;
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: transparent;
  border: 0;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 500;
  text-align: left;
  padding: 1.25rem 0.25rem;
  cursor: pointer;
  transition: color 0.2s;
}

.faq-trigger:hover {
  color: var(--py-cyan);
}

.faq-icon {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--text-muted);
  transition: transform 0.25s var(--ease), color 0.2s;
  line-height: 1;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  color: var(--py-cyan);
}

.faq-panel {
  display: none;
  padding: 0 0.25rem 1.35rem;
  color: var(--text-muted);
  max-width: 65ch;
}

.faq-item.is-open .faq-panel {
  display: block;
}

/* ——— Trust ——— */
.trust-mast h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  max-width: 16ch;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.trust-mast.is-centered .eyebrow {
  display: inline-flex;
}

.audit-row {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--border-soft);
  align-items: start;
}

.audit-row svg {
  margin-top: 0.2rem;
  color: var(--py-green);
}

.audit-row h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.audit-row p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.meta-line {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 0.5rem;
}

/* ——— Breadcrumbs ——— */
.breadcrumbs {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}

.breadcrumbs a {
  color: var(--text-muted);
}

.breadcrumbs span {
  margin: 0 0.4rem;
  color: var(--text-dim);
}

/* ——— Corner download (all pages) ——— */
.float-get {
  position: fixed;
  z-index: 90;
  right: 1.25rem;
  bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.05rem;
  border-radius: 10px;
  background: rgba(22, 14, 36, 0.92);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  border: 1px solid rgba(177, 78, 255, 0.55);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.float-get:hover {
  background: rgba(124, 60, 255, 0.55);
  border-color: rgba(240, 86, 217, 0.55);
  color: #fff;
  transform: translateY(-2px);
  filter: none;
  box-shadow: 0 12px 30px rgba(124, 60, 255, 0.2);
}

.float-get .arrow {
  font-size: 1.05em;
  line-height: 1;
}

@media (max-width: 640px) {
  .float-get {
    right: 1rem;
    bottom: 1rem;
    padding: 0.8rem 1.15rem;
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .float-get {
    transition: none;
  }
}

/* ——— Lightbox ——— */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 1.5rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 88vh;
  border-radius: 8px;
  border: 1px solid var(--border-soft);
}

.lightbox-x {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: 1px solid var(--border-soft);
  color: var(--text-main);
  width: 42px;
  height: 42px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.25rem;
}

/* ——— 404 ——— */
.page-404 {
  min-height: 70vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 4rem 1.25rem;
}

.page-404 h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.03em;
}

/* ——— Responsive ——— */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.grid-2-start {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: start;
}

.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;
}

@media (max-width: 960px) {
  .primary-links {
    display: none;
  }

  .drawer-trigger {
    display: inline-flex;
  }

  .split-editorial,
  .heading-left-right,
  .mosaic,
  .caps-intro,
  .feature-alt,
  .feature-alt.reverse,
  .kb-layout,
  .faq-shell,
  .foot-grid,
  .release-meta,
  .grid-2,
  .grid-2-start {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .mosaic-large {
    grid-row: auto;
    min-height: 280px;
  }

  .split-editorial .shot {
    margin-right: 0;
  }

  .cap-rail,
  .kb-rail {
    position: static;
    border-left: 0;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
  }

  .stage-visual {
    opacity: 1;
  }

  .stage-canvas {
    inset: -8% -8% -10% -4%;
    animation: none;
    background-size: auto 95%;
    background-position: 88% 8%;
  }

  .stage-emblem-layer {
    top: 0;
    right: 0;
    left: 0;
    bottom: auto;
    width: 100%;
    height: 46%;
  }

  .stage-emblem {
    top: 50%;
    left: 58%;
    width: clamp(72px, 14vw, 92px);
    height: clamp(72px, 14vw, 92px);
  }

  .stage-visual::before {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(0, 0, 0, 0.72) 62%,
      #000 100%
    );
  }

  .stage-visual::after {
    background: linear-gradient(180deg, transparent 40%, #000 100%);
  }

  .stage-layout {
    grid-template-columns: 1fr;
  }

  .stage-copy {
    max-width: 100%;
  }

  .ai-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .stage-banner {
    min-height: auto;
    padding: 3rem 0 3.5rem;
  }

  .stage-banner h1 {
    font-size: clamp(2.6rem, 11vw, 3.4rem);
    max-width: 11ch;
    line-height: 0.98;
  }

  .stage-actions {
    flex-direction: column;
  }

  .stage-actions .btn,
  .stage-actions .ctl-hero {
    width: 100%;
  }

  .utility-cluster .ctl-primary,
  .utility-cluster .ctl-nav {
    display: none;
  }
}

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

  .stage-canvas,
  .stage-copy,
  .panel,
  .btn,
  .chrome-frame img,
  .faq-icon,
  .float-get {
    animation: none !important;
    transition: none !important;
  }
}

/* ——— Official-style homepage bands ——— */
.ctl-ghost,
.ctl-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.55rem 1.15rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.ctl-ghost {
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  color: #fff;
}

.ctl-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transform: translateY(-1px);
}

.ctl-light {
  border: 0;
  background: #fff;
  color: #0a0a0a;
}

.ctl-light:hover {
  background: #e8e8e8;
  color: #0a0a0a;
  transform: translateY(-1px);
}

.pane-intel {
  padding: 7rem 0 5.5rem;
  background: #08060d;
}

.pane-focus {
  padding: 5.5rem 0 6rem;
  background: #0b0711;
}

.pane-usecase {
  padding: 5.5rem 0;
  background: #050407;
}

.pane-capabilities {
  padding: 6.5rem 0;
  background: #030304;
}

.pane-voices {
  padding: 6.5rem 0 5rem;
  background: #0c0912;
}

.pane-enterprise {
  padding: 7rem 0 5.5rem;
  background:
    radial-gradient(700px circle at 50% 28%, rgba(128, 50, 210, 0.09), transparent 65%),
    #07060b;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.pane-embark {
  padding: 5rem 0 6rem;
  background: linear-gradient(180deg, #0e0915, #050407);
}

.pane-intel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.pane-intel-head h2,
.band-title,
.pane-focus-title,
.pane-usecase h2,
.pane-voices h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4.5vw, 3.75rem);
  letter-spacing: -0.038em;
  font-weight: 700;
  line-height: 1.05;
  max-width: 18ch;
}

.pane-intel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.pane-intel-grid--asymm {
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: auto auto;
}

.pane-intel-grid--asymm .surface-card--lg {
  grid-row: span 2;
  min-height: 100%;
}

.pane-intel-grid--asymm .surface-card--wide {
  grid-column: 1 / -1;
}

.surface-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(20, 16, 31, 0.94), rgba(9, 8, 14, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.5rem 1.6rem;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.surface-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(177, 80, 255, 0.06),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.surface-card[data-glow]:hover::before,
.surface-card[data-glow].is-lit::before,
.workflow-board[data-glow]:hover::before,
.workflow-board[data-glow].is-lit::before {
  opacity: 1;
}

.surface-card:hover {
  border-color: rgba(177, 78, 255, 0.4);
  transform: translateY(-3px);
}

.surface-card--lift {
  background:
    radial-gradient(700px circle at 100% 0%, rgba(157, 78, 221, 0.08), transparent 42%),
    linear-gradient(145deg, rgba(28, 20, 44, 0.96), rgba(12, 10, 20, 0.98));
  border-color: rgba(166, 87, 255, 0.22);
  padding: 1.85rem 1.75rem;
  border-radius: 18px;
}

.surface-card--dim {
  background: linear-gradient(160deg, rgba(14, 12, 22, 0.96), rgba(8, 7, 14, 0.98));
  border-radius: 14px;
}

.surface-card--strip {
  background: rgba(12, 10, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
}

.surface-card--strip:hover {
  transform: none;
  border-color: rgba(177, 78, 255, 0.28);
}

.surface-card h3 {
  margin: 0 0 0.85rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

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

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

.chip img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.pane-focus-title .accent {
  color: var(--pink);
}

.surface-tools {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.5rem;
  align-items: center;
  margin: 2.25rem 0 1rem;
  padding: 1.75rem;
}

.workflow-board {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 47% 53%;
  gap: 0;
  align-items: stretch;
  margin: 2.5rem 0 1.35rem;
  padding: 0;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(700px circle at 100% 0%, rgba(157, 78, 221, 0.07), transparent 42%),
    #0d0a14;
}

.workflow-board::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(
    420px circle at var(--mouse-x, 80%) var(--mouse-y, 20%),
    rgba(177, 80, 255, 0.06),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.workflow-board > * {
  position: relative;
  z-index: 2;
}

.workflow-board .surface-copy {
  padding: 2rem 2rem 2rem 2.1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.workflow-board .surface-copy h3 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  letter-spacing: -0.025em;
}

.workflow-board .surface-copy p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 42ch;
}

.workflow-board .tool-mosaic {
  padding: 1.5rem 1.5rem 1.5rem 1.65rem;
  align-content: center;
}

.tool-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.tool-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 0.5rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease, background 0.25s ease;
}

.tool-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 60, 255, 0.45);
  background: rgba(28, 18, 48, 0.55);
  color: var(--text-main);
}

.tool-tile img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.duo-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.glyph {
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.75rem;
  display: grid;
  place-items: center;
  color: #fff;
}

.glyph-rocket,
.glyph-check {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
  border: 2px solid #fff;
  border-radius: 2px;
}

.glyph-check {
  border-radius: 50%;
  position: relative;
}

.glyph-check::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 1px;
  width: 4px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

.glyph-rocket {
  clip-path: polygon(50% 0, 100% 70%, 70% 70%, 70% 100%, 30% 100%, 30% 70%, 0 70%);
  background: #fff;
  border: 0;
}

.seg-control {
  display: inline-flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.seg-control button {
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: #fff;
  padding: 0.55rem 1.15rem;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}

.seg-control button.is-active,
.seg-control button[aria-selected="true"] {
  border-color: rgba(255, 255, 255, 0.75);
}

.seg-control--lg {
  margin-bottom: 1.75rem;
}

.usecase-panel[hidden] {
  display: none !important;
}

.usecase-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 1.25rem;
  align-items: stretch;
  margin-top: 1.5rem;
}

.cap-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(420px, 1.55fr);
  gap: 1.5rem;
  align-items: start;
  margin-top: 1.5rem;
}

.media-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #08070d;
  min-height: 280px;
  isolation: isolate;
  transform: translateZ(0);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.55),
    0 22px 52px rgba(0, 0, 0, 0.58),
    0 8px 18px rgba(0, 0, 0, 0.35),
    0 0 36px rgba(124, 60, 255, 0.07);
}

.usecase-grid .media-frame {
  width: 100%;
  min-height: 440px;
  aspect-ratio: 16 / 10;
  align-self: stretch;
}

.media-frame video,
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 280px;
  border: 0;
  border-radius: 0;
  background: #08070d;
}

.usecase-grid .media-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  background: #08070d;
}

.cap-media {
  width: 100%;
  min-height: 440px;
  aspect-ratio: 16 / 10;
  align-self: stretch;
}

.cap-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  background: #08070d;
}

.usecase-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 100%;
  height: 100%;
}

.mini-mark {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.cap-blurb {
  margin: 0 0 0.85rem;
  background: rgba(28, 18, 48, 0.55);
  border-color: rgba(166, 87, 255, 0.22);
}

.cap-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cap-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cap-list li.is-active {
  padding-bottom: 0.35rem;
}

.cap-list button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--text-muted);
  font: inherit;
  font-weight: 600;
  padding: 0.95rem 0.2rem;
  cursor: pointer;
}

.cap-list li.is-active button {
  color: #fff;
  padding-bottom: 0.55rem;
}

.pane-voices .wrap {
  margin-bottom: 1.75rem;
}

.voice-rail {
  overflow: hidden;
}

.voice-track {
  display: flex;
  gap: 1rem;
  padding: 0 max(1.25rem, calc((100vw - 1240px) / 2));
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
}

.voice-track::-webkit-scrollbar {
  display: none;
}

.voice-card {
  flex: 0 0 min(480px, 82vw);
  scroll-snap-align: center;
  border-radius: 16px;
  padding: 1.55rem 1.55rem 1.65rem;
  background: var(--card-tint, #0d0b14);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease;
}

.voice-card:hover {
  transform: scale(1.01);
  border-color: rgba(177, 78, 255, 0.28);
}

.voice-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.4rem;
  right: 1.4rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--violet), transparent);
  opacity: 0.7;
}

.voice-card--b::before {
  background: linear-gradient(90deg, var(--pink), transparent);
}

.voice-card--c::before {
  background: linear-gradient(90deg, var(--blue), transparent);
}

.voice-person {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1rem;
}

.voice-person img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.voice-person strong {
  display: block;
  font-size: 0.98rem;
}

.voice-person span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.voice-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
}

.jb-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.jb-carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(12, 10, 18, 0.85);
  color: #fff;
  font-size: 1.35rem;
  cursor: pointer;
  line-height: 1;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.jb-carousel-btn:hover {
  border-color: rgba(177, 78, 255, 0.65);
  background: rgba(124, 60, 255, 0.22);
  transform: translateY(-1px);
}

.jb-carousel-status {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.enterprise-shell {
  position: relative;
  border: 1px solid var(--border-purple);
  border-radius: 18px;
  padding: 3rem 1.75rem 1.75rem;
  text-align: center;
  background: linear-gradient(160deg, rgba(23, 16, 36, 0.9), rgba(3, 3, 5, 0.95));
}

.enterprise-editorial {
  text-align: center;
  max-width: 980px;
  margin-inline: auto;
  position: relative;
}

.enterprise-editorial::before {
  content: "";
  position: absolute;
  inset: -10% 8% auto;
  height: 220px;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 40%, rgba(177, 80, 255, 0.06), transparent 70%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.enterprise-editorial .eyebrow--center {
  margin-bottom: 1.1rem;
}

.enterprise-editorial h2 {
  margin: 0 auto 2.75rem;
  max-width: 16ch;
  font-size: clamp(2.2rem, 4.2vw, 3.5rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  font-weight: 700;
}

.enterprise-editorial h2 em {
  background: linear-gradient(90deg, #a855f7, #f06adf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}

.enterprise-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #7c3cff, #f056d9);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
}

.enterprise-shell h2 {
  margin: 0 auto 1.75rem;
  max-width: 28ch;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  letter-spacing: -0.03em;
}

.enterprise-shell h2 em {
  color: var(--pink);
  font-style: normal;
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.4rem 4.5rem;
  margin-bottom: 2.75rem;
}

.logo-strip img {
  width: auto;
  object-fit: contain;
  opacity: 0.78;
  filter: none;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.logo-strip img:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.logo-strip .logo-g {
  height: 32px;
  max-width: 128px;
}

.logo-strip .logo-nasa,
.logo-strip .logo-bmw {
  height: 44px;
  max-width: 48px;
}

.logo-strip .logo-samsung {
  height: 28px;
  max-width: 150px;
}

.logo-strip .logo-booking {
  height: 28px;
  max-width: 160px;
}

.logo-strip .logo-tesla {
  height: 38px;
  max-width: 44px;
}

.compliance-row {
  display: flex;
  gap: 1.25rem;
  text-align: left;
  align-items: center;
  background: rgba(17, 12, 26, 0.82);
  border: 1px solid rgba(172, 83, 255, 0.16);
  border-radius: 14px;
  padding: 1.25rem 1.35rem;
  position: relative;
  max-width: 760px;
  margin-inline: auto;
}

.compliance-dot {
  position: absolute;
  top: 1.35rem;
  right: 1.35rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 0 3px rgba(150, 44, 255, 0.18);
}

.compliance-row h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.compliance-row p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.compliance-row a {
  color: #c4a0ff;
}

.compliance-row a:hover {
  color: #fff;
}

.embark-shell {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 320px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0a0712;
}

.embark-copy {
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.1rem;
}

.embark-copy h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em;
  max-width: 16ch;
}

.embark-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.embark-meta {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.embark-art {
  background:
    radial-gradient(ellipse at 30% 40%, rgba(124, 60, 255, 0.22), transparent 55%),
    radial-gradient(ellipse at 70% 60%, rgba(240, 86, 217, 0.14), transparent 50%),
    linear-gradient(145deg, #100b18, #030305);
  min-height: 240px;
}

@media (max-width: 960px) {
  .pane-intel-grid,
  .surface-tools,
  .duo-panels,
  .usecase-grid,
  .cap-grid,
  .embark-shell {
    grid-template-columns: 1fr;
  }

  .cap-media {
    min-height: 280px;
    aspect-ratio: 16 / 10;
  }

  .cap-media video {
    min-height: 0;
  }

  .usecase-grid .media-frame {
    min-height: 280px;
    aspect-ratio: 16 / 10;
  }

  .tool-mosaic {
    grid-template-columns: repeat(4, 1fr);
  }

  .compliance-row {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .tool-mosaic {
    grid-template-columns: repeat(2, 1fr);
  }

  .pane-intel,
  .pane-focus,
  .pane-usecase,
  .pane-capabilities,
  .pane-voices,
  .pane-enterprise,
  .pane-embark {
    padding: 3.25rem 0;
  }
}

/* ——— Polish pass utilities ——— */
.eyebrow {
  margin: 0 0 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(196, 160, 255, 0.85);
}

.eyebrow--sm {
  margin-bottom: 0.75rem;
  font-size: 0.68rem;
}

.eyebrow--center {
  text-align: center;
}

.title-stack {
  margin-bottom: 2rem;
}

.title-stack--compact {
  margin-bottom: 1.35rem;
}

.title-split {
  display: grid;
  grid-template-columns: minmax(240px, 1.1fr) minmax(200px, 0.85fr) auto;
  align-items: end;
  gap: 1.25rem 1.75rem;
}

.title-split__aside {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.5;
  max-width: 36ch;
  padding-bottom: 0.35rem;
}

.edge-rule {
  height: 1px;
  width: min(1240px, 100% - 2.5rem);
  margin: 0 auto;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(150, 44, 255, 0.28),
    rgba(240, 86, 217, 0.22),
    transparent
  );
  opacity: 0.7;
}

.pane-enterprise[data-glow] {
  position: relative;
  overflow: hidden;
}

.pane-enterprise[data-glow]::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    520px circle at var(--mouse-x, 50%) var(--mouse-y, 30%),
    rgba(177, 80, 255, 0.06),
    transparent 42%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
}

.pane-enterprise[data-glow].is-lit::after {
  opacity: 1;
}

.locale-menu__btn {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  border-radius: 8px;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.locale-menu__btn:hover {
  border-color: rgba(177, 78, 255, 0.4);
  color: #fff;
}

.site-foot {
  border-top: 1px solid rgba(166, 87, 255, 0.18);
  background: #040307;
}

.duo-panels .surface-card {
  background: linear-gradient(160deg, rgba(16, 13, 26, 0.9), rgba(8, 7, 14, 0.96));
}

.pane-focus-title .accent {
  color: #e879f9;
}

.stage-lead {
  max-width: 42ch;
}

@media (max-width: 1100px) {
  .title-split {
    grid-template-columns: 1fr auto;
  }

  .title-split__aside {
    grid-column: 1 / -1;
    max-width: 52ch;
  }

  .workflow-board {
    grid-template-columns: 1fr;
  }

  .workflow-board .surface-copy {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 960px) {
  .workflow-board,
  .surface-tools {
    grid-template-columns: 1fr;
  }

  .stage-banner {
    min-height: auto;
    padding: 3.25rem 0 2.75rem;
  }

  .stage-banner h1 {
    font-size: clamp(2.8rem, 11vw, 4.2rem);
    max-width: 10ch;
    line-height: 0.98;
  }

  .logo-strip {
    gap: 1.75rem 2.5rem;
  }

  .voice-card {
    flex-basis: min(420px, 88vw);
  }
}

@media (max-width: 640px) {
  .title-split {
    grid-template-columns: 1fr;
  }

  .enterprise-editorial h2 {
    max-width: 14ch;
  }

  .compliance-dot {
    top: 1rem;
    right: 1rem;
  }
}
