/* ============================================================================
   NeonDAW — site design system
   An electric, sci-fi console palette lifted straight from the app's Theme.swift.
   ========================================================================== */

:root {
  /* Neon accents (from Neon.swift, converted to sRGB hex) */
  --cyan: #33f2ff;
  --magenta: #ff2ec7;
  --purple: #9961ff;
  --lime: #8fff6b;
  --amber: #ffb838;
  --yellow: #ffeb59;
  --red: #ff425c;
  --blue: #528fff;
  --pink: #ff80cc;
  --ice: #b8e0ff;

  /* Surfaces */
  --bg0: #0d0f22;
  --bg1: #0a0d1c;
  --panel: #111324;
  --panel-hi: #1a1f33;
  --stroke: rgba(255, 255, 255, 0.08);
  --stroke-2: rgba(255, 255, 255, 0.05);

  /* Text */
  --text: #eef1ff;
  --text-2: rgba(238, 241, 255, 0.72);
  --dim: rgba(238, 241, 255, 0.45);
  --faint: rgba(238, 241, 255, 0.28);

  /* Type */
  --mono: ui-monospace, "SF Mono", "SFMono-Regular", "JetBrains Mono", "Menlo", monospace;
  --round: ui-rounded, "SF Pro Rounded", -apple-system, system-ui, "Segoe UI", sans-serif;
  --sans: -apple-system, system-ui, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --maxw: 1200px;
  --radius: 18px;
  --radius-sm: 12px;
}

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

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Layered starfield + aurora glow behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  /* background:
    radial-gradient(900px 620px at 12% -8%, rgba(51, 242, 255, 0.14), transparent 60%),
    radial-gradient(900px 680px at 92% 4%, rgba(255, 46, 199, 0.13), transparent 62%),
    radial-gradient(1100px 800px at 50% 118%, rgba(153, 97, 255, 0.14), transparent 60%),
    var(--bg0); */
}

body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 78%);
}

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

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

/* ---------------------------------------------------------------- layout -- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: clamp(64px, 9vw, 130px);
  position: relative;
}

/* anchor targets clear the sticky nav (~66px) instead of hiding under it */
.section[id],
main[id] {
  scroll-margin-top: 82px;
}

.section--tight {
  padding-block: clamp(40px, 6vw, 72px);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}

h1,
h2,
h3 {
  /* font-family: var(--round); */
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.h-xl {
  font-size: clamp(2.6rem, 6.2vw, 4.7rem);
}

.h-lg {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
}

.h-md {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  color: var(--text-2);
  max-width: 62ch;
}

.muted {
  color: var(--dim);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 60px);
}

.section-head .eyebrow {
  margin-bottom: 18px;
}

.section-head p {
  margin-top: 16px;
  color: var(--text-2);
  font-size: 1.08rem;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

/* full-bleed head: span the whole container instead of the 720px reading cap */
.section-head--wide {
  max-width: none;
}

/* gradient text */
.grad {
  background: linear-gradient(100deg, var(--cyan), var(--magenta) 58%, var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------------------------------------------------------------- panel --- */
.panel {
  position: relative;
  background:
    linear-gradient(180deg, rgba(26, 31, 51, 0.55), rgba(17, 19, 36, 0.72));
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  overflow: hidden;
  isolation: isolate;
}

/* neon-tinted top edge, like GlassPanel's gradient stroke */
.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, var(--tint, var(--cyan)), transparent 42%, transparent 62%, color-mix(in srgb, var(--tint, var(--cyan)) 40%, transparent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.55;
  pointer-events: none;
}

/* ---------------------------------------------------------------- buttons - */
.btn {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 48px;
  padding-inline: 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  color: #fff;
  background: var(--magenta);
  /* background: linear-gradient(120deg, var(--magenta), #ff6fd8 40%, var(--magenta)); */
}

.btn--primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--stroke);
}

.btn--ghost:hover {
  border-color: rgba(51, 242, 255, 0.5);
  color: #fff;
  box-shadow: 0 0 24px rgba(51, 242, 255, 0.15);
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* ---------------------------------------------------------------- navbar -- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: linear-gradient(180deg, rgba(4, 5, 11, 0.86), rgba(4, 5, 11, 0.5));
  border-bottom: 1px solid var(--stroke-2);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 66px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand__logo {
  height: 26px;
  width: auto;
  display: block;
}

.brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 25%, rgba(51, 242, 255, 0.28), rgba(4, 5, 11, 0.9));
  border: 1px solid rgba(51, 242, 255, 0.35);
  box-shadow: 0 0 18px rgba(51, 242, 255, 0.35), inset 0 0 12px rgba(51, 242, 255, 0.14);
}

.brand__mark svg {
  width: 22px;
  height: 22px;
}

.brand__word {
  font-family: var(--round);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  line-height: 1;
}

.brand__word b {
  color: #fff;
  font-weight: 800;
}

.brand__word span {
  color: var(--magenta);
  font-weight: 800;
  text-shadow: 0 0 14px rgba(255, 46, 199, 0.6);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
}

.nav__links a {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
  padding: 8px 12px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav__links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.nav__spacer {
  flex: 1;
}

.nav__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(143, 255, 107, 0.28);
  background: rgba(143, 255, 107, 0.06);
}

.nav__status .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.35;
  }
}

.nav__cta {
  height: 40px;
  padding-inline: 18px;
}

.nav__burger {
  display: none;
  background: none;
  border: 0;
  color: var(--text);
  cursor: pointer;
  padding: 8px;
}

.nav__burger svg {
  width: 26px;
  height: 26px;
}

/* ------------------------------------------------------------------ hero -- */
.hero {
  position: relative;
  padding-top: clamp(48px, 7vw, 96px);
  padding-bottom: clamp(56px, 8vw, 110px);
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.9;
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

/* grid/flex children must be allowed to shrink below their content size,
   or the app mock forces a horizontal overflow on narrow screens */
.hero__grid>*,
.feature>* {
  min-width: 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-2);
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 26px;
}

.hero__badge b {
  color: var(--cyan);
  font-weight: 700;
}

.hero h1 {
  margin-bottom: 22px;
}

.hero .lede {
  margin-bottom: 34px;
}

.hero__meta {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 22px 30px;
}

.hero__meta div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero__meta .n {
  font-family: var(--round);
  font-weight: 800;
  font-size: 1.7rem;
  line-height: 1;
}

.hero__meta .l {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}

/* -------------------------------------------- screenshot / video frames -- */
/* Real product screenshots (webp) and the hero video drop into these framed,
   neon-tinted placeholders. Before the media exists the data-label shows; once
   it loads, the media paints over it. Screenshots keep their natural height so
   nothing is cropped; the hero uses a fixed 1:1 box so it reads on mobile too. */
.shot {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  min-height: 200px;
  border: 1px solid color-mix(in srgb, var(--tint, var(--cyan)) 22%, var(--stroke));
  background: linear-gradient(160deg, rgba(26, 31, 51, 0.5), rgba(10, 13, 28, 0.65));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5),
    0 0 60px color-mix(in srgb, var(--tint, var(--cyan)) 10%, transparent);
}

.shot::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}

.shot img,
.shot video,
.shot__media {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
}

/* hero: a perfect square, filled edge to edge */
.shot--square {
  min-height: 0;
  aspect-ratio: 1 / 1;
}

.shot--square .shot__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------------------------------------------------------------- pills --- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.chip {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-2);
  padding: 5px 10px;
  border-radius: 7px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.025);
}

.chip--accent {
  color: var(--tint, var(--cyan));
  border-color: color-mix(in srgb, var(--tint, var(--cyan)) 35%, transparent);
  background: color-mix(in srgb, var(--tint, var(--cyan)) 8%, transparent);
}

.chip--more {
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.chip--more:hover {
  background: color-mix(in srgb, var(--tint, var(--cyan)) 18%, transparent);
  border-color: color-mix(in srgb, var(--tint, var(--cyan)) 55%, transparent);
}

/* ---------------------------------------------------- marquee stats band -- */
.band {
  border-block: 1px solid var(--stroke-2);
  background: rgba(8, 10, 20, 0.5);
}

.band__row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 44px;
  align-items: center;
  justify-content: center;
  padding-block: 26px;
}

.band__item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
}

.band__item b {
  font-family: var(--round);
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
}

.band__item .d {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  box-shadow: 0 0 9px currentColor;
}

/* ------------------------------------------------------- instrument grid -- */
.inst-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.inst {
  --tint: var(--cyan);
  padding: 22px 22px 20px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.inst:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.inst:hover::before {
  opacity: 0.9;
}

.inst__top {
  display: flex;
  align-items: center;
  gap: 13px;
}

.inst__icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  flex: none;
  display: grid;
  place-items: center;
  color: var(--tint);
  background: color-mix(in srgb, var(--tint) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--tint) 32%, transparent);
  box-shadow: inset 0 0 16px color-mix(in srgb, var(--tint) 18%, transparent);
}

.inst__icon svg {
  width: 24px;
  height: 24px;
}

.inst__name {
  font-family: var(--round);
  font-weight: 800;
  font-size: 1.16rem;
  color: #fff;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.inst__kind {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tint);
}

.inst p {
  font-size: 0.93rem;
  color: var(--text-2);
  line-height: 1.55;
}

/* "Highlights" label sits just above the preset tags; margin-top:auto anchors
   the label + tags group to the bottom so cards line up regardless of copy length */
.inst__hl {
  margin-top: auto;
  margin-bottom: -5px;
  font-family: var(--mono);
  font-size: 9px !important;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
}

/* -------------------------------------------------------- feature blocks -- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}

.feature+.feature {
  margin-top: clamp(56px, 8vw, 110px);
}

.feature--rev .feature__visual {
  order: -1;
}

.feature__body .eyebrow {
  margin-bottom: 16px;
}

.feature__body h3 {
  margin-bottom: 16px;
}

.feature__body p {
  color: var(--text-2);
  font-size: 1.05rem;
}

.feature__list {
  list-style: none;
  padding: 0;
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.98rem;
  color: var(--text-2);
}

.feature__list svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 3px;
  color: var(--cyan);
}

.feature__visual {
  position: relative;
}

/* ------------------------------- alternating feature list (instruments / fx) */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

/* the list spaces itself with flex gap; drop the adjacency margin so it isn't doubled */
.feature-list .feature+.feature {
  margin-top: 0;
}

/* the Highlights label + tags sit under the copy inside a feature body */
.feature__body .inst__hl {
  margin: 22px 0 10px;
  font-size: 9px;
  color: var(--dim);
}

/* collapsible tail — MOTHBALLED: currently every instrument / effect is shown
   (bigger impact). To bring back "show 3 + expand", restore `.expandable { display:none }`
   and set `.expand-row { display:flex }` below. */
.expandable {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.expandable.is-open {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

/* floating product-box render (images are transparent PNGs) with a colored aura */
.inst-shot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  /* cap the wrapper to the image so the container ~= image at every width; the glow
     below then reliably spills PAST the box (a positive inset hides it behind the
     image once the image fills the column on mobile) */
  max-width: 440px;
  margin-inline: auto;
}

.inst-shot::before {
  content: "";
  position: absolute;
  inset: -14%;
  background: radial-gradient(circle at 50% 46%, color-mix(in srgb, var(--glow, var(--tint, var(--cyan))) 42%, transparent), transparent 66%);
  filter: blur(40px);
  opacity: 0.7;
  z-index: 0;
  pointer-events: none;
}

.inst-shot img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  height: auto;
  /* box renders are square (1024×1024) — reserve the space so lazy-loading
     doesn't shift layout (which otherwise breaks anchor scrolling to lower sections) */
  aspect-ratio: 1 / 1;
  filter: drop-shadow(0 26px 46px rgba(0, 0, 0, 0.55));
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.inst-shot:hover img {
  transform: translateY(-8px);
}

/* hero product shot — the NeonDAW box (3:2), floating on a colored glow, no frame */
.hero-shot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-shot::before {
  content: "";
  position: absolute;
  /* larger than the box so the glow spills out past its edges (a positive inset
     would tuck it behind the opaque box and stay invisible) */
  inset: -32%;
  background: radial-gradient(50% 50% at 50% 50%,
    color-mix(in srgb, var(--tint, var(--cyan)) 55%, transparent) 0%,
    color-mix(in srgb, var(--tint, var(--cyan)) 22%, transparent) 45%,
    transparent 75%);
  filter: blur(70px);
  z-index: 0;
  pointer-events: none;
}

.hero-shot img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3 / 2;
  /* box-daw.webp is 1536×1024 — reserve space, no layout shift */
  filter: drop-shadow(0 30px 56px rgba(0, 0, 0, 0.55));
}

/* "See all …" toggle — MOTHBALLED (hidden while all items are shown) */
.expand-row {
  display: none;
  justify-content: center;
  margin-top: clamp(40px, 6vw, 72px);
}

.expand-btn {
  gap: 10px;
}

.expand__chev {
  transition: transform 0.3s ease;
}

.expand-btn[aria-expanded="true"] .expand__chev {
  transform: rotate(180deg);
}

/* ------------------------------------------------- assistant link (MCP) -- */
.assistant-note {
  margin-top: 18px;
  color: var(--dim);
  font-size: 0.95rem;
}

.assistant-note b {
  color: var(--text);
  font-family: var(--mono);
}

.assistant-console {
  padding: 0;
}

.assistant-console__bar {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--stroke);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}

.ac-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
  flex: none;
}

.assistant-console__status {
  margin-left: auto;
  color: var(--lime);
  font-size: 9px;
  letter-spacing: 0.14em;
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid color-mix(in srgb, var(--lime) 30%, transparent);
  background: color-mix(in srgb, var(--lime) 8%, transparent);
}

.assistant-console__log {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ac-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.ac-q {
  flex: 1;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-2);
}

.ac-ok {
  flex: none;
  color: var(--lime);
  font-weight: 700;
}

.ac-play {
  flex: none;
  color: var(--cyan);
}

.clients {
  margin: 0 0 clamp(56px, 8vw, 96px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.clients__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
}

.clients__row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.client-chip {
  font-family: var(--round);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text);
  padding: 10px 18px;
  border-radius: 11px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.client-chip:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--purple) 45%, transparent);
}

.client-chip--any {
  color: var(--purple);
  border-color: color-mix(in srgb, var(--purple) 35%, transparent);
  background: color-mix(in srgb, var(--purple) 9%, transparent);
}

/* --------------------------------------------------------------- FX rack -- */
.rack {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.fx {
  --tint: var(--cyan);
  padding: 20px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 200px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fx:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.fx__led {
  width: 100%;
  height: 4px;
  border-radius: 3px;
  background: color-mix(in srgb, var(--tint) 85%, transparent);
  box-shadow: 0 0 14px var(--tint);
}

.fx__name {
  font-family: var(--round);
  font-weight: 800;
  font-size: 1.08rem;
  color: #fff;
  letter-spacing: 0.01em;
}

.fx__tag {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tint);
}

.fx p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.5;
  margin-top: auto;
}

.fx--wide {
  grid-column: span 2;
  flex-direction: row;
  align-items: stretch;
  gap: 20px;
}

.fx--wide .fx__eq {
  flex: 1;
  border-radius: 10px;
  border: 1px solid var(--stroke);
  background: #06080f;
  padding: 10px;
  min-width: 0;
}

.fx--wide .fx__eq svg {
  width: 100%;
  height: 100%;
  display: block;
}

.fx--wide .fx__col {
  flex: 0 0 44%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ------------------------------------------------------------ host / grid- */
.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.mini {
  padding: 22px;
  border-radius: 15px;
}

.mini__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--tint, var(--cyan));
  background: color-mix(in srgb, var(--tint, var(--cyan)) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--tint, var(--cyan)) 30%, transparent);
  margin-bottom: 14px;
}

.mini__icon svg {
  width: 22px;
  height: 22px;
}

.mini h4 {
  font-family: var(--round);
  font-weight: 800;
  font-size: 1.08rem;
  color: #fff;
  margin-bottom: 8px;
}

.mini p {
  font-size: 0.92rem;
  color: var(--text-2);
}

/* -------------------------------------------------------------- CTA band -- */
.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  border-radius: 24px;
  padding: clamp(44px, 7vw, 84px) 24px;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 30% 0%, rgba(51, 242, 255, 0.16), transparent 60%),
    radial-gradient(600px 340px at 74% 100%, rgba(255, 46, 199, 0.16), transparent 60%);
  z-index: -1;
}

.cta h2 {
  margin-bottom: 18px;
}

.cta p {
  color: var(--text-2);
  max-width: 54ch;
  margin: 0 auto 32px;
  font-size: 1.1rem;
}

.cta .btn-row {
  justify-content: center;
}

.cta__note {
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--dim);
  text-transform: uppercase;
}

/* --------------------------------------------- the suite / everything -- */
.suite-shot {
  position: relative;
  margin: clamp(36px, 5vw, 64px) auto clamp(32px, 4vw, 52px);
}

.suite-shot::before {
  content: "";
  position: absolute;
  inset: 6% 0 12%;
  background: radial-gradient(58% 60% at 50% 46%,
      color-mix(in srgb, var(--purple) 30%, transparent),
      color-mix(in srgb, var(--magenta) 16%, transparent) 46%, transparent 72%);
  filter: blur(64px);
  z-index: 0;
  pointer-events: none;
}

.suite-shot img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 34px 70px rgba(0, 0, 0, 0.6));
}

/* mobile swaps in the tall portrait suite image (box-everything-mobile.webp,
   904×2937) — reserve its aspect ratio to match the <picture> source, no shift */
@media (max-width: 640px) {
  .suite-shot img { aspect-ratio: 904 / 2937; }
}

.suite-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.suite-cta__note {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ---------------------------------------------------------------- specs --- */
.specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--stroke-2);
  border: 1px solid var(--stroke-2);
  border-radius: 16px;
  overflow: hidden;
}

.specs>div {
  background: var(--bg0);
  padding: 24px 22px;
}

.specs dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 10px;
}

.specs dd {
  font-family: var(--round);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text);
  line-height: 1.35;
}

/* -------------------------------------------------------------- footer ---- */
.footer {
  border-top: 1px solid var(--stroke-2);
  padding-block: 52px 40px;
  margin-top: 40px;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  align-items: flex-start;
}

.footer__brand {
  max-width: 320px;
}

.footer__brand p {
  color: var(--dim);
  font-size: 0.9rem;
  margin-top: 14px;
}

.footer__cols {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}

.footer__col h5 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 14px;
}

.footer__col a {
  display: block;
  color: var(--text-2);
  font-size: 0.92rem;
  padding: 5px 0;
  transition: color 0.2s;
}

.footer__col a:hover {
  color: var(--cyan);
}

.footer__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--stroke-2);
}

.footer__bar small {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--faint);
}

/* --------------------------------------------------------------- reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal[data-d="1"] {
  transition-delay: 0.08s;
}

.reveal[data-d="2"] {
  transition-delay: 0.16s;
}

.reveal[data-d="3"] {
  transition-delay: 0.24s;
}

/* --------------------------------------------------------------- legal ---- */
.legal {
  max-width: 820px;
  margin-inline: auto;
}

.legal__head {
  margin-bottom: 42px;
}

.legal__head h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin: 18px 0 12px;
}

.legal__head .updated {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}

.legal__body h2 {
  font-size: 1.4rem;
  margin: 40px 0 14px;
  color: #fff;
}

.legal__body h3 {
  font-size: 1.08rem;
  margin: 26px 0 10px;
  color: var(--text);
}

.legal__body p,
.legal__body li {
  color: var(--text-2);
  font-size: 1rem;
  line-height: 1.75;
}

.legal__body p {
  margin-bottom: 16px;
}

.legal__body ul {
  margin: 0 0 18px;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal__body li::marker {
  color: var(--cyan);
}

.legal__body strong {
  color: var(--text);
}

.legal__body a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(51, 242, 255, 0.3);
}

.legal__toc {
  padding: 22px 24px;
  border-radius: 14px;
  margin-bottom: 40px;
}

.legal__toc h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 12px;
}

.legal__toc ol {
  margin: 0;
  padding-left: 20px;
  columns: 2;
  column-gap: 30px;
}

.legal__toc li {
  padding: 4px 0;
}

.legal__toc a {
  color: var(--text-2);
  font-size: 0.92rem;
  border: 0;
}

.legal__toc a:hover {
  color: var(--cyan);
}

/* --------------------------------------------------------- responsive ----- */
@media (max-width: 940px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    order: -1;
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
  }

  .inst-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rack {
    grid-template-columns: repeat(2, 1fr);
  }

  .fx--wide {
    grid-column: span 2;
  }

  .feature,
  .feature--rev {
    grid-template-columns: 1fr;
  }

  /* on mobile every feature shows its image ABOVE the copy — otherwise
     alternating rev/non-rev rows put two images back-to-back (confusing) */
  .feature--rev .feature__visual,
  .feature__visual {
    order: -1;
  }

  .mini-grid {
    grid-template-columns: 1fr;
  }

  .specs {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav__links {
    display: none;
  }

  .nav__status {
    display: none;
  }

  .nav__burger {
    display: inline-flex;
  }
}

@media (max-width: 560px) {
  .wrap {
    padding-inline: 18px;
  }

  .inst-grid {
    grid-template-columns: 1fr;
  }

  .rack {
    grid-template-columns: 1fr;
  }

  .fx--wide {
    grid-column: span 1;
    flex-direction: column;
  }

  .fx--wide .fx__col {
    flex: none;
  }

  .specs {
    grid-template-columns: 1fr;
  }

  .legal__toc ol {
    columns: 1;
  }

  .hero__meta {
    gap: 18px 24px;
  }

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

  /* the CTA lives in the burger menu on phones — drop it from the bar so
     brand + burger fit without overflowing */
  .nav__cta {
    display: none;
  }

  .nav__inner {
    gap: 14px;
  }
}

/* mobile menu (JS-toggled) */
.mobile-menu {
  position: fixed;
  inset: 66px 0 auto 0;
  z-index: 99;
  background: rgba(4, 5, 11, 0.97);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--stroke);
  padding: 14px 24px 22px;
  display: none;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-2);
  padding: 12px 4px;
  border-bottom: 1px solid var(--stroke-2);
}

.mobile-menu a:last-child {
  border-bottom: 0;
}

/* --------------------------------------------------------- video lightbox - */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 44px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 5, 11, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: scale(0.97);
  transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.lightbox.open .lightbox__dialog {
  transform: none;
}

.lightbox__close {
  align-self: flex-end;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--text);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--stroke);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.lightbox__close:hover {
  border-color: rgba(51, 242, 255, 0.5);
  color: #fff;
  transform: scale(1.06);
}

.lightbox__close svg {
  width: 18px;
  height: 18px;
}

.lightbox__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #06080f;
  border: 1px solid color-mix(in srgb, var(--cyan) 22%, var(--stroke));
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7), 0 0 60px rgba(51, 242, 255, 0.12);
}

.lightbox__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.lightbox__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}

/* image mode — fit the picture instead of forcing a 16:9 video frame */
.lightbox--img .lightbox__dialog { width: auto; max-width: min(1120px, 100%); }
.lightbox--img .lightbox__frame {
  aspect-ratio: auto; width: auto;
  background: transparent; border: 0; box-shadow: none; border-radius: 0; overflow: visible;
}
.lightbox--img .lightbox__frame img {
  display: block; width: auto; height: auto;
  max-width: min(1120px, 92vw); max-height: 82vh;
  border-radius: 14px; border: 1px solid var(--stroke);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(51, 242, 255, 0.08);
}

/* clickable workflow screenshots */
.shot--zoom { cursor: zoom-in; }
.shot--zoom img { transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
.shot--zoom:hover img, .shot--zoom:focus-visible img { transform: scale(1.03); }
.shot--zoom:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* ---------------------------------------------------------- back to top -- */
.to-top {
  display: none; /* enabled on mobile/tablet below */
  position: fixed; z-index: 95;
  right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  width: 46px; height: 46px; border-radius: 50%;
  place-items: center; cursor: pointer;
  color: var(--text);
  background: rgba(17, 19, 36, 0.9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--stroke);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, border-color 0.2s ease, color 0.2s ease;
}
.to-top svg { width: 20px; height: 20px; }
.to-top:hover { border-color: rgba(255, 46, 199, 0.55); color: #fff; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 940px) { .to-top { display: grid; } }