/* ═══════════════════════════════════════════════════════════════
   5th Dimension — "Deep Space Studio" premium theme (CUNO)
   Dark cosmic · UV purple #a594ed · serif display · Uiverse-inspired
   Rewritten per DESIGN-SYSTEM.md. HTML structure & class names intact.
   ═══════════════════════════════════════════════════════════════ */

:root {
  color-scheme: dark;

  /* Deep Space Studio palette */
  --ink: #060608;              /* void black */
  --surface: #0d0d12;          /* elevated dark */
  --surface-2: #151520;        /* cards */
  --surface-3: #1c1a29;        /* hover / raised cards */
  --border: rgba(168, 145, 255, 0.12);
  --border-bright: rgba(168, 145, 255, 0.28);
  --paper: #f0edf5;            /* near-white text */
  --muted: #9d97ad;            /* text-dim */
  --muted-2: #6b6677;          /* text-mute */

  --uv: #a594ed;               /* primary accent */
  --uv-deep: #7d6bd8;
  --uv-light: #d8d1ff;         /* light accent / selection */
  --coral: #f27f70;            /* 5th Dimension accent */
  --violet: #b589ff;
  --blue: #56dceb;             /* tertiary interactive */
  --amber: #f6c653;            /* solar secondary */

  /* Typography */
  --font-display: "Iowan Old Style", Baskerville, "Times New Roman", "Georgia", serif;
  --font-sans: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "SFMono-Regular", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --content: min(1440px, calc(100vw - 88px));
  --radius: 14px;              /* cards per design system */
  --radius-sm: 8px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --reveal: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::selection,
body *::selection {
  background: var(--uv-light);
  color: var(--ink);
}

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

img,
video {
  height: auto;
  object-fit: contain;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

button {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--uv);
  outline-offset: 4px;
}

[id] {
  scroll-margin-top: 96px;
}

/* ─── Skip link ──────────────────────────────────────────────── */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: var(--uv-light);
  text-decoration: none;
  font-weight: 650;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ─── Header ─────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 82px;
  padding: 17px 44px;
  background: linear-gradient(180deg, rgba(6, 6, 8, 0.88), rgba(6, 6, 8, 0));
  transition: min-height 240ms var(--ease), background-color 240ms ease,
    backdrop-filter 240ms ease, border-color 240ms ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  min-height: 70px;
  background: rgba(6, 6, 8, 0.78);
  backdrop-filter: blur(20px) saturate(140%);
  border-bottom-color: var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 11px;
  color: var(--paper);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: #17131f;
  background: linear-gradient(180deg, var(--uv-light), var(--uv));
  box-shadow: 0 0 18px rgba(165, 148, 237, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.brand-copy {
  display: grid;
  gap: 0;
}

.brand-copy strong {
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  line-height: 1.1;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.69rem;
  line-height: 1.35;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 42px);
  color: #cfcad8;
  font-size: 0.83rem;
  letter-spacing: 0.02em;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--uv), var(--uv-light));
  box-shadow: 0 0 8px rgba(165, 148, 237, 0.6);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 14px;
  min-height: 46px;
  padding: 9px 11px 9px 16px;
  border: 1px solid var(--border-bright);
  border-radius: 12px;
  color: var(--uv-light);
  background: linear-gradient(180deg, rgba(165, 148, 237, 0.12), rgba(165, 148, 237, 0.04));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 4px 18px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  transition: transform 180ms var(--ease), border-color 180ms ease, box-shadow 180ms ease,
    background-color 180ms ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(216, 209, 255, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 8px 26px rgba(165, 148, 237, 0.28);
}

.nav-cta strong {
  display: grid;
  place-items: center;
  min-width: 40px;
  height: 29px;
  border-radius: 8px;
  color: var(--ink);
  background: linear-gradient(180deg, var(--uv-light), var(--uv));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

/* ─── Buttons (Uiverse-inspired) ─────────────────────────────── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 26px;
  border: 1px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 200ms var(--ease), box-shadow 200ms ease,
    background-color 200ms ease, border-color 200ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
}

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

.button-primary {
  color: #17131f;
  border-color: transparent;
  background: linear-gradient(180deg, #e3dcff 0%, var(--uv) 55%, var(--uv-deep) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 10px 28px rgba(165, 148, 237, 0.3);
}

.button-primary:hover,
.button-primary:focus-visible {
  border-color: var(--uv-light);
  background: linear-gradient(180deg, #ede8ff 0%, var(--uv-light) 55%, var(--uv) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 16px 44px rgba(165, 148, 237, 0.5);
}

.button-dark {
  color: var(--paper);
  border-color: var(--border-bright);
  background: linear-gradient(180deg, #2a2838, #14131d);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 26px rgba(0, 0, 0, 0.4);
}

.button-dark:hover,
.button-dark:focus-visible {
  border-color: rgba(216, 209, 255, 0.5);
  background: linear-gradient(180deg, #3a3750, #1d1a2a);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 16px 44px rgba(165, 148, 237, 0.32);
}

.button-full {
  width: 100%;
}

.button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #e2deea;
  font-size: 0.9rem;
  font-weight: 600;
  text-underline-offset: 5px;
  transition: color 180ms ease;
}

.text-link:hover {
  color: var(--uv-light);
}

/* ─── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(310px, 4fr) minmax(520px, 8fr);
  grid-template-rows: 1fr auto;
  gap: clamp(32px, 5vw, 86px);
  width: 100%;
  min-height: 100svh;
  padding: clamp(124px, 14vh, 172px) 44px 34px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 72% 36%, rgba(165, 148, 237, 0.16), transparent 42%),
    radial-gradient(ellipse at 18% 82%, rgba(246, 198, 83, 0.05), transparent 40%),
    linear-gradient(135deg, #060608 0%, #0c0b13 58%, #080810 100%);
}

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

.hero::before {
  position: absolute;
  top: 14%;
  right: -8%;
  z-index: -1;
  width: 42vw;
  height: 54vw;
  min-width: 520px;
  min-height: 620px;
  border-radius: 48% 52% 58% 42% / 38% 45% 55% 62%;
  background: radial-gradient(circle, rgba(216, 209, 255, 0.08), rgba(165, 148, 237, 0.02) 60%, transparent 75%);
  filter: blur(20px);
  content: "";
  transform: rotate(18deg);
}

/* faint star field */
.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    radial-gradient(1px 1px at 12% 22%, rgba(216, 209, 255, 0.5), transparent),
    radial-gradient(1px 1px at 68% 10%, rgba(216, 209, 255, 0.4), transparent),
    radial-gradient(1.5px 1.5px at 82% 58%, rgba(246, 198, 83, 0.3), transparent),
    radial-gradient(1px 1px at 34% 76%, rgba(216, 209, 255, 0.35), transparent),
    radial-gradient(1px 1px at 90% 84%, rgba(216, 209, 255, 0.3), transparent);
  opacity: 0.55;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 600px;
  padding-left: clamp(0px, 3vw, 46px);
}

.product-kicker {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 390px;
  margin-bottom: clamp(28px, 5vh, 58px);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.editorial-heading h2,
.field-heading h2,
.gesture-intro h2,
.preset-copy h2,
.release-heading h2,
.buy-copy h2,
.faq-heading h2,
.dialog-shell h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.95;
}

.hero h1 {
  max-width: 700px;
  font-size: clamp(5rem, 8.2vw, 7.8rem);
  font-weight: 400;
}

.hero h1 span {
  display: block;
  color: var(--uv);
  font-size: 0.34em;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-transform: lowercase;
}

.hero-statement {
  max-width: 500px;
  margin: 34px 0 0;
  color: #efeaf6;
  font-size: clamp(1.45rem, 2.2vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.13;
}

.hero-lead {
  max-width: 510px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.14rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 34px;
}

.hero-product {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(100%, 1120px);
  margin: 0 -8vw 0 auto;
  perspective: 1600px;
  transform: translate3d(0, 0, 0) rotateX(var(--rx)) rotateY(var(--ry));
  transform-origin: 54% 50%;
  transition: transform 500ms var(--ease);
}

.hero-product-material {
  position: absolute;
  inset: 10% 4% -6% 8%;
  z-index: -1;
  border-radius: 42% 58% 49% 51% / 51% 42% 58% 49%;
  background: radial-gradient(circle at 40% 50%, rgba(165, 148, 237, 0.4), rgba(165, 148, 237, 0.08) 60%, transparent 75%);
  filter: blur(70px);
  transform: rotate(-7deg);
}

.hero-product img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border-bright);
  box-shadow: 0 44px 110px rgba(0, 0, 0, 0.62), 0 14px 30px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(216, 209, 255, 0.06), 0 0 60px rgba(165, 148, 237, 0.14);
}

.hero-product figcaption,
.instrument-shot figcaption,
.preset-reel figcaption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-specs {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-self: end;
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.hero-specs div {
  display: grid;
  gap: 3px;
  padding-right: 30px;
}

.hero-specs dt {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-specs dd {
  margin: 0;
  color: #ded9e7;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

/* ─── Shared layout ──────────────────────────────────────────── */
.section-shell {
  width: var(--content);
  margin-inline: auto;
}

.instrument,
.preset-section,
.faq-section,
.social-proof {
  padding-block: clamp(96px, 12vw, 176px);
}

.section-index {
  margin: 4px 0 0;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-index span {
  margin-left: 11px;
  color: var(--muted);
}

.editorial-heading,
.field-heading,
.release-heading {
  display: grid;
  grid-template-columns: 1.2fr 4.4fr 2.4fr;
  gap: clamp(24px, 4vw, 72px);
  align-items: start;
}

.editorial-heading h2,
.field-heading h2,
.release-heading h2,
.preset-copy h2,
.faq-heading h2 {
  font-size: clamp(3rem, 5vw, 5.2rem);
}

.editorial-heading > p:last-child,
.field-heading > p:last-child,
.release-heading > p:last-child,
.preset-copy > p,
.gesture-intro > p:last-child,
.buy-copy > p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
}

/* ─── Instrument ─────────────────────────────────────────────── */
.instrument-reveal {
  display: grid;
  grid-template-columns: minmax(0, 3.1fr) minmax(260px, 1fr);
  gap: clamp(30px, 5vw, 84px);
  align-items: end;
  margin-top: clamp(64px, 9vw, 126px);
}

.instrument-shot {
  margin: 0;
}

.instrument-shot img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 44px 96px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(216, 209, 255, 0.04);
}

.instrument-notes {
  display: grid;
  padding-bottom: 26px;
}

.instrument-note {
  position: relative;
  display: grid;
  grid-template-columns: 10px 1fr;
  column-gap: 17px;
  padding: 22px 0 24px;
}

.instrument-note + .instrument-note {
  border-top: 1px solid var(--border);
}

.note-color {
  grid-row: 1 / 3;
  display: block;
  width: 4px;
  height: 100%;
  min-height: 55px;
  border-radius: 4px;
  box-shadow: 0 0 10px currentColor;
}

.note-uv { background: var(--uv); color: var(--uv); }
.note-coral { background: var(--coral); color: var(--coral); }
.note-blue { background: var(--blue); color: var(--blue); }
.note-amber { background: var(--amber); color: var(--amber); }

.instrument-note h3 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.instrument-note p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

/* ─── Dimension Field ────────────────────────────────────────── */
.field-section {
  padding-block: clamp(96px, 12vw, 170px);
  background: linear-gradient(180deg, #0b0b11, #100f1a);
}

.field-lab {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(330px, 0.82fr);
  gap: clamp(36px, 5vw, 82px);
  align-items: stretch;
  margin-top: clamp(62px, 8vw, 112px);
}

.field-canvas-wrap {
  position: relative;
  min-height: clamp(500px, 53vw, 690px);
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #09090b;
  cursor: crosshair;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.5), 0 30px 80px rgba(0, 0, 0, 0.4);
}

.dimension-field-canvas {
  width: 100%;
  height: 100%;
}

.field-readout {
  position: absolute;
  right: 24px;
  bottom: 20px;
  left: 24px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  pointer-events: none;
}

.field-readout strong {
  color: var(--uv-light);
  font-weight: 560;
}

.axis-list {
  display: grid;
  align-content: stretch;
  margin: 0;
  padding: 0;
  list-style: none;
}

.axis-list li {
  --axis: var(--uv);
  display: flex;
}

.axis-list li:nth-child(2) { --axis: var(--coral); }
.axis-list li:nth-child(3) { --axis: var(--amber); }
.axis-list li:nth-child(4) { --axis: var(--blue); }
.axis-list li:nth-child(5) { --axis: var(--violet); }

.axis-list li + li {
  border-top: 1px solid var(--border);
}

.axis-control {
  position: relative;
  display: grid;
  grid-template-columns: 44px 112px minmax(0, 1fr);
  align-items: start;
  width: 100%;
  padding: 22px 15px 22px 0;
  border: 0;
  border-radius: 12px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: color 180ms ease, padding-left 240ms var(--ease),
    background-color 180ms ease, transform 180ms ease;
}

.axis-control::before {
  position: absolute;
  inset: 17px auto 17px 0;
  width: 4px;
  border-radius: 4px;
  background: var(--axis);
  box-shadow: 0 0 12px var(--axis);
  content: "";
  opacity: 0;
  transform: scaleY(0.25);
  transition: opacity 180ms ease, transform 240ms var(--ease);
}

.axis-control:hover,
.axis-control:focus-visible,
.axis-control.is-active {
  padding-left: 17px;
  color: var(--paper);
  background: linear-gradient(90deg, rgba(165, 148, 237, 0.08), rgba(165, 148, 237, 0.01));
}

.axis-control:hover::before,
.axis-control:focus-visible::before,
.axis-control.is-active::before {
  opacity: 1;
  transform: scaleY(1);
}

.axis-number {
  color: var(--axis);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.axis-name {
  color: currentColor;
  font-size: 1rem;
  font-weight: 650;
}

.axis-copy {
  color: var(--muted-2);
  font-size: 0.82rem;
  line-height: 1.45;
}

.axis-control.is-active .axis-copy,
.axis-control:hover .axis-copy,
.axis-control:focus-visible .axis-copy {
  color: var(--muted);
}

/* ─── Gesture / Performance ──────────────────────────────────── */
.gesture-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(520px, 1.18fr);
  gap: clamp(54px, 8vw, 130px);
  padding: clamp(90px, 11vw, 154px) max(44px, calc((100vw - 1440px) / 2));
  color: var(--paper);
  background:
    radial-gradient(ellipse at 20% 0%, rgba(216, 209, 255, 0.16), transparent 55%),
    linear-gradient(135deg, #1a1530 0%, #120e22 55%, #0c0918 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.gesture-intro {
  position: sticky;
  top: 130px;
  align-self: start;
}

.gesture-intro .section-index {
  margin-bottom: 34px;
  color: var(--uv-light);
}

.gesture-intro .section-index span {
  color: var(--muted);
}

.gesture-intro h2 {
  max-width: 620px;
  font-size: clamp(3.4rem, 5.4vw, 5.8rem);
}

.gesture-intro > p:last-child {
  max-width: 440px;
  color: var(--muted);
}

.gesture-sequence {
  display: grid;
}

.gesture {
  --gesture: #a594ed;
  position: relative;
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 8px 22px;
  min-height: 160px;
  padding: 30px 8px 34px 0;
  border-bottom: 1px solid var(--border);
  transition: transform 240ms var(--ease);
}

.gesture:hover {
  transform: translateX(6px);
}

.gesture::before {
  position: absolute;
  top: 30px;
  right: 0;
  bottom: 34px;
  width: 7px;
  border-radius: 6px;
  background: linear-gradient(180deg, var(--gesture), rgba(165, 148, 237, 0.25));
  box-shadow: 0 0 14px var(--gesture);
  content: "";
}

.gesture-energy { --gesture: #a594ed; }
.gesture-dimension { --gesture: #f27f70; }
.gesture-movement { --gesture: #56dceb; }
.gesture-space { --gesture: #f6c653; }

.gesture > span {
  grid-row: 1 / 3;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

.gesture h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 0.95;
}

.gesture p {
  margin: 4px 50px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* ─── Presets ────────────────────────────────────────────────── */
.preset-section {
  display: grid;
  grid-template-columns: minmax(290px, 0.78fr) minmax(520px, 1.52fr);
  gap: clamp(56px, 8vw, 128px);
  align-items: center;
}

.preset-copy .section-index {
  margin-bottom: 36px;
}

.preset-copy h2 {
  max-width: 690px;
}

.preset-copy > p {
  max-width: 560px;
  margin-top: 30px;
}

.preset-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 35px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.preset-categories span:not(:last-child)::after {
  margin-left: 10px;
  color: var(--muted-2);
  content: "/";
}

.try-before-buy {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
}

.preset-reel {
  margin: 0;
}

.preset-reel video {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #030304;
  box-shadow: 0 40px 92px rgba(0, 0, 0, 0.52), 0 0 60px rgba(165, 148, 237, 0.08);
}

/* ─── Release ────────────────────────────────────────────────── */
.release-section {
  padding-block: clamp(96px, 12vw, 166px);
  background: linear-gradient(180deg, #0d0d12, #0a0a10);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.release-ledger {
  display: grid;
  margin-top: clamp(62px, 8vw, 110px);
}

.release-row {
  display: grid;
  grid-template-columns: 120px minmax(180px, 0.8fr) minmax(280px, 1.45fr) minmax(220px, 0.9fr);
  gap: clamp(20px, 3vw, 50px);
  align-items: start;
  padding: 29px 0 31px;
  border-bottom: 1px solid var(--border);
  transition: background-color 200ms ease;
}

.release-row:hover {
  background: rgba(165, 148, 237, 0.03);
}

.release-row:first-child {
  border-top: 1px solid var(--border);
}

.release-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.release-status::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted-2);
  content: "";
}

.release-status.is-ready::before {
  background: var(--uv);
  box-shadow: 0 0 16px rgba(216, 209, 255, 0.7);
}

.release-row h3,
.release-row p,
.release-row strong {
  margin: 0;
}

.release-row h3 {
  font-size: 1.35rem;
  font-weight: 620;
  letter-spacing: -0.01em;
}

.release-row p {
  color: var(--muted);
  font-size: 0.91rem;
}

.release-row strong {
  color: #d4d0dd;
  font-size: 0.86rem;
  font-weight: 570;
}

.release-row a {
  color: var(--uv-light);
  font-size: 0.88rem;
  font-weight: 600;
  text-underline-offset: 5px;
}

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

.host-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 13px 24px;
  margin-top: 72px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ─── Buy ────────────────────────────────────────────────────── */
.buy-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(520px, 1.15fr);
  gap: clamp(56px, 9vw, 150px);
  padding: clamp(94px, 11vw, 158px) max(44px, calc((100vw - 1440px) / 2));
  color: var(--paper);
  background:
    radial-gradient(ellipse at 80% 20%, rgba(216, 209, 255, 0.18), transparent 50%),
    linear-gradient(135deg, #181331 0%, #120e24 55%, #0c0a18 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.buy-copy {
  align-self: start;
  padding-top: 18px;
}

.buy-copy .section-index {
  margin-bottom: 36px;
  color: var(--uv-light);
}

.buy-copy h2 {
  font-size: clamp(3.8rem, 6.2vw, 6.8rem);
}

.buy-copy > p:last-child {
  max-width: 470px;
  color: var(--muted);
}

.buy-offer {
  padding: clamp(28px, 4vw, 52px);
  border-radius: var(--radius);
  border: 1px solid var(--border-bright);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    rgba(13, 13, 18, 0.6);
  backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 40px 110px rgba(0, 0, 0, 0.55),
    0 0 70px rgba(165, 148, 237, 0.1);
}

.price-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.price-row span {
  padding-top: 16px;
  color: var(--muted);
  font-size: 0.91rem;
}

.price-row strong {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 7vw, 7.4rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.82;
  background: linear-gradient(180deg, var(--uv-light), var(--uv));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.buy-offer ul {
  display: grid;
  gap: 13px;
  margin: 43px 0;
  padding: 0;
  list-style: none;
}

.buy-offer li {
  position: relative;
  padding-left: 23px;
  color: #d9d4e2;
  font-size: 0.93rem;
}

.buy-offer li::before {
  position: absolute;
  top: 0.63em;
  left: 0;
  width: 11px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--uv), var(--uv-light));
  content: "";
}

.buy-offer .button {
  width: 100%;
}

.buy-recovery {
  display: block;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.84rem;
  text-align: center;
  text-underline-offset: 4px;
}

.buy-recovery:hover {
  color: var(--uv-light);
}

.checkout-legal {
  margin: 18px auto 0;
  max-width: 580px;
  color: var(--muted-2);
  font-size: 0.72rem;
  text-align: center;
}

.payment-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1rem;
}

.payment-trust svg rect {
  fill: var(--surface-3);
  stroke: var(--border-bright);
  stroke-width: 1;
}

.payment-trust span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ─── FAQ ────────────────────────────────────────────────────── */
.faq-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(520px, 1.28fr);
  gap: clamp(54px, 9vw, 150px);
  align-items: start;
}

.faq-heading {
  position: sticky;
  top: 130px;
}

.faq-heading .section-index {
  margin-bottom: 32px;
}

.faq-list {
  display: grid;
}

.faq-list details {
  border-bottom: 1px solid var(--border);
}

.faq-list details:first-child {
  border-top: 1px solid var(--border);
}

.faq-list summary {
  position: relative;
  padding: 27px 50px 27px 0;
  cursor: pointer;
  font-size: clamp(1.05rem, 1.5vw, 1.32rem);
  font-weight: 560;
  letter-spacing: -0.01em;
  list-style: none;
  transition: color 180ms ease;
}

.faq-list summary:hover {
  color: var(--uv-light);
}

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

.faq-list summary::before,
.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--uv);
  content: "";
  transition: transform 220ms var(--ease);
}

.faq-list summary::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary::after {
  transform: rotate(0);
}

.faq-list details p {
  max-width: 670px;
  margin: -4px 0 28px;
  color: var(--muted);
  font-size: 0.95rem;
}

.faq-group {
  margin-bottom: 2.25rem;
}

.faq-topic {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--uv-light);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

/* ─── Social proof ───────────────────────────────────────────── */
.social-proof {
  border-top: 1px solid var(--border);
}

.proof-heading {
  margin-bottom: 2.75rem;
}

.proof-heading .section-index {
  margin-bottom: 32px;
}

.proof-heading h2 {
  font-size: clamp(3rem, 5vw, 5.2rem);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.proof-quote {
  margin: 0;
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface-2), rgba(21, 21, 32, 0.6));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color 200ms ease, transform 200ms var(--ease), box-shadow 200ms ease;
}

.proof-quote:hover {
  border-color: var(--border-bright);
  transform: translateY(-4px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 20px 50px rgba(0, 0, 0, 0.4);
}

.proof-quote p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--paper);
  margin-bottom: 0.85rem;
}

.proof-quote p::before {
  content: "“";
  color: var(--uv);
  font-family: var(--font-display);
  font-size: 2.2em;
  line-height: 0;
  vertical-align: -0.35em;
  margin-right: 0.08em;
}

.proof-quote cite {
  font-size: 0.875rem;
  color: var(--muted);
  font-style: normal;
  letter-spacing: 0.04em;
}

/* ─── Footer ─────────────────────────────────────────────────── */
.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: end;
  gap: 30px;
  padding: 46px 44px;
  color: var(--muted-2);
  background: #040406;
  border-top: 1px solid var(--border);
  font-size: 0.76rem;
}

.footer-brand {
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.site-footer p {
  margin: 0;
  text-align: center;
}

.site-footer > div {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.2s;
  text-underline-offset: 4px;
}

.footer-links a:hover {
  color: var(--paper);
}

/* ─── Checkout dialog ────────────────────────────────────────── */
.checkout-dialog {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100svh - 32px);
  padding: 0;
  overflow: auto;
  border: 1px solid var(--border-bright);
  border-radius: var(--radius);
  color: var(--paper);
  background: linear-gradient(180deg, #14131d, #0d0d12);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.8), 0 0 60px rgba(165, 148, 237, 0.08);
}

.checkout-dialog::backdrop {
  background: rgba(4, 4, 6, 0.8);
  backdrop-filter: blur(14px);
}

.dialog-shell {
  position: relative;
  padding: clamp(28px, 6vw, 54px);
}

.dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.dialog-close:hover {
  color: var(--paper);
  border-color: var(--border-bright);
  background: rgba(255, 255, 255, 0.08);
}

.dialog-kicker {
  margin: 0 0 26px;
  color: var(--uv-light);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.dialog-shell h2 {
  font-size: clamp(2.3rem, 7vw, 4rem);
}

.dialog-copy {
  margin: 16px 0 28px;
  color: var(--muted);
}

.purchase-summary {
  display: grid;
  gap: 11px;
  margin-bottom: 28px;
  padding: 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(13, 13, 18, 0.6);
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 0.79rem;
}

.summary-line strong {
  color: var(--uv-light);
  font-weight: 600;
  text-align: right;
}

.checkout-form {
  display: grid;
  gap: 10px;
}

.checkout-form > label:not(.terms-check) {
  margin-top: 8px;
  color: #cfcad6;
  font-size: 0.76rem;
  font-weight: 600;
}

.checkout-form input,
.checkout-form select {
  width: 100%;
  min-height: 50px;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--paper);
  background: rgba(6, 6, 8, 0.6);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.checkout-form input:focus,
.checkout-form select:focus {
  outline: none;
  border-color: var(--uv);
  box-shadow: 0 0 0 3px rgba(165, 148, 237, 0.18);
}

.checkout-form input[aria-invalid="true"],
.checkout-form select[aria-invalid="true"] {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(242, 127, 112, 0.15);
}

.terms-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 11px;
  align-items: start;
  margin: 16px 0 20px;
  color: var(--muted);
  font-size: 0.78rem;
}

.terms-check input {
  width: 18px;
  min-height: 18px;
  margin: 1px 0 0;
  accent-color: var(--uv);
}

.secure-note {
  min-height: 1.4em;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.secure-note.error {
  color: #ff998e;
}

.secure-note.success {
  color: var(--uv-light);
}

/* ─── Reveal animations (driven by app.js initScrollReveal) ──── */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 800ms var(--reveal), transform 800ms var(--reveal);
  will-change: opacity, transform;
}

.js [data-reveal="2"] { transition-delay: 120ms; }
.js [data-reveal="3"] { transition-delay: 240ms; }
.js [data-reveal="4"] { transition-delay: 360ms; }

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1180px) {
  :root {
    --content: min(100% - 56px, 1180px);
  }

  .site-header,
  .hero {
    padding-inline: 28px;
  }

  .hero {
    grid-template-columns: minmax(300px, 0.85fr) minmax(460px, 1.15fr);
    gap: 34px;
  }

  .hero-product {
    margin-right: -12vw;
  }

  .editorial-heading,
  .field-heading,
  .release-heading {
    grid-template-columns: 0.65fr 2.6fr 1.3fr;
  }

  .field-lab {
    grid-template-columns: minmax(0, 1.35fr) minmax(310px, 0.85fr);
  }

  .axis-control {
    grid-template-columns: 38px 90px minmax(0, 1fr);
    padding-block: 17px;
  }

  .release-row {
    grid-template-columns: 100px minmax(160px, 0.75fr) minmax(240px, 1.3fr) minmax(180px, 0.85fr);
  }

  .gesture-section,
  .buy-section {
    padding-inline: 28px;
  }

  .site-footer {
    padding-inline: 28px;
  }
}

@media (max-width: 880px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    align-content: center;
    padding-top: 122px;
  }

  .hero-copy {
    max-width: 680px;
    padding-left: 0;
  }

  .product-kicker {
    margin-bottom: 32px;
  }

  .hero h1 {
    max-width: 760px;
    font-size: clamp(5.3rem, 14vw, 7.6rem);
  }

  .hero-product {
    width: min(96%, 850px);
    margin: 12px -16% 0 auto;
  }

  .hero-specs {
    grid-template-columns: repeat(2, 1fr);
    gap: 17px 20px;
  }

  .editorial-heading,
  .field-heading,
  .release-heading {
    grid-template-columns: 1fr 3fr;
  }

  .editorial-heading > p:last-child,
  .field-heading > p:last-child,
  .release-heading > p:last-child {
    grid-column: 2;
  }

  .instrument-reveal,
  .field-lab,
  .preset-section,
  .faq-section {
    grid-template-columns: 1fr;
  }

  .instrument-notes {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 32px;
  }

  .instrument-note:nth-child(2) {
    border-top: 0;
  }

  .field-canvas-wrap {
    min-height: min(72vw, 620px);
  }

  .axis-control {
    grid-template-columns: 50px 140px minmax(0, 1fr);
    padding-block: 20px;
  }

  .gesture-section,
  .buy-section {
    grid-template-columns: 1fr;
  }

  .gesture-intro,
  .faq-heading {
    position: static;
  }

  .gesture-intro > p:last-child {
    max-width: 620px;
  }

  .release-row {
    grid-template-columns: 100px 1fr;
  }

  .release-row p,
  .release-row > strong,
  .release-row > a {
    grid-column: 2;
  }

  .preset-copy {
    max-width: 760px;
  }

  .faq-heading {
    max-width: 550px;
  }
}

@media (max-width: 640px) {
  :root {
    --content: calc(100% - 36px);
  }

  body {
    font-size: 15px;
  }

  .site-header {
    min-height: 68px;
    padding: 12px 18px;
    background: rgba(6, 6, 8, 0.82);
    backdrop-filter: blur(16px);
  }

  .brand-copy small,
  .nav-cta span {
    display: none;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .nav-cta {
    min-height: 40px;
    padding: 6px;
  }

  .nav-cta strong {
    min-width: 42px;
    height: 29px;
  }

  .hero {
    min-height: auto;
    padding: 110px 18px 26px;
    gap: 34px;
  }

  .hero::before {
    top: 37%;
    right: -70%;
  }

  .product-kicker {
    max-width: none;
    margin-bottom: 25px;
    font-size: 0.65rem;
  }

  .hero h1 {
    font-size: clamp(4rem, 18.8vw, 5rem);
    line-height: 0.88;
  }

  .hero-statement {
    margin-top: 27px;
    font-size: 1.45rem;
  }

  .hero-lead {
    font-size: 0.96rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
    margin-top: 29px;
  }

  .hero-product {
    width: 126%;
    margin: 0 -35% 0 0;
  }

  .hero-product figcaption {
    width: 78%;
    font-size: 0.6rem;
  }

  .hero-product figcaption span:last-child {
    display: none;
  }

  .hero-specs {
    gap: 18px 12px;
    padding-top: 18px;
  }

  .hero-specs div {
    padding-right: 6px;
  }

  .hero-specs dt,
  .hero-specs dd {
    font-size: 0.66rem;
  }

  .instrument,
  .preset-section,
  .faq-section,
  .social-proof {
    padding-block: 86px;
  }

  .field-section,
  .release-section {
    padding-block: 86px;
  }

  .editorial-heading,
  .field-heading,
  .release-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .editorial-heading > p:last-child,
  .field-heading > p:last-child,
  .release-heading > p:last-child {
    grid-column: auto;
  }

  .editorial-heading h2,
  .field-heading h2,
  .release-heading h2,
  .preset-copy h2,
  .faq-heading h2,
  .proof-heading h2 {
    font-size: clamp(2.75rem, 13vw, 4rem);
  }

  .instrument-reveal,
  .field-lab {
    margin-top: 54px;
  }

  .instrument-shot {
    width: calc(100% + 36px);
    margin-left: -18px;
  }

  .instrument-shot figcaption {
    width: 78%;
    margin-left: 11%;
    font-size: 0.58rem;
  }

  .instrument-shot figcaption span:last-child {
    display: none;
  }

  .instrument-notes {
    grid-template-columns: 1fr;
  }

  .instrument-note:nth-child(2) {
    border-top: 1px solid var(--border);
  }

  .field-canvas-wrap {
    min-height: 390px;
  }

  .field-readout {
    right: 15px;
    bottom: 14px;
    left: 15px;
    font-size: 0.6rem;
  }

  .axis-control {
    grid-template-columns: 38px 1fr;
    gap: 5px 8px;
    padding: 18px 4px 18px 0;
  }

  .axis-copy {
    grid-column: 2;
  }

  .gesture-section,
  .buy-section {
    gap: 60px;
    padding: 84px 18px;
  }

  .gesture-intro h2,
  .buy-copy h2 {
    font-size: clamp(3.3rem, 15vw, 4.8rem);
  }

  .gesture {
    grid-template-columns: 42px 1fr;
    min-height: 135px;
    padding-block: 25px 28px;
  }

  .gesture h3 {
    font-size: 2.8rem;
  }

  .preset-section {
    gap: 52px;
  }

  .preset-reel {
    width: calc(100% + 36px);
    margin-left: -18px;
  }

  .preset-reel figcaption {
    width: 78%;
    margin-left: 11%;
    font-size: 0.58rem;
  }

  .preset-reel figcaption span:last-child {
    display: none;
  }

  .release-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-block: 25px;
  }

  .release-row p,
  .release-row > strong,
  .release-row > a {
    grid-column: auto;
  }

  .release-status {
    margin-bottom: 6px;
  }

  .host-line {
    justify-content: flex-start;
    margin-top: 54px;
  }

  .buy-offer {
    padding: 27px 20px;
  }

  .price-row {
    align-items: flex-end;
  }

  .price-row strong {
    font-size: 5rem;
  }

  .price-row span {
    max-width: 120px;
    padding-bottom: 5px;
  }

  .faq-section {
    gap: 50px;
  }

  .faq-list summary {
    padding-block: 22px;
    font-size: 1.02rem;
  }

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

  .site-footer {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 40px 18px;
  }

  .site-footer p {
    text-align: left;
  }

  .site-footer > div {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .dialog-shell {
    padding: 30px 20px 24px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .hero-product {
    transform: none !important;
  }
}
