:root {
  color-scheme: dark;
  --bg: #02080f;
  --panel: rgba(3, 10, 17, 0.88);
  --panel-strong: rgba(4, 15, 25, 0.94);
  --text: #eefbff;
  --muted: #91adba;
  --line: rgba(0, 231, 255, 0.28);
  --accent: #00e7ff;
  --accent-strong: #4df8ff;
  --accent-soft: #b7fbff;
  --accent-rgb: 0, 231, 255;
  --brand-blue: #116dff;
  --brand-blue-rgb: 17, 109, 255;
  --brand-white: #f8fbff;
  --warm: #ffd17d;
  --ink: #02080f;
  --brand-symbol: url("./assets/brand/infinightcapture_ui_symbol_circle.png");
  --brand-symbol-outline: url("./assets/brand/infinightcapture_ui_symbol_outline_square.png");
  --brand-symbol-blue: url("./assets/brand/infinightcapture_ui_symbol_blue_square.png");
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@property --xy-control-x {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 58%;
}

@property --xy-control-y {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 42%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(var(--accent-rgb), 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--brand-blue-rgb), 0.035) 1px, transparent 1px),
    radial-gradient(circle at 14% 10%, rgba(var(--accent-rgb), 0.2), transparent 30rem),
    radial-gradient(circle at 88% 4%, rgba(var(--brand-blue-rgb), 0.18), transparent 28rem),
    linear-gradient(135deg, #02080f 0%, #06151e 48%, #090b13 100%);
  background-size: 32px 32px, 32px 32px, auto, auto, auto;
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(105deg, transparent 0 56%, rgba(var(--accent-rgb), 0.08) 56.1%, transparent 62%),
    var(--brand-symbol-outline);
  background-position: 0 0, 28px 30px;
  background-repeat: no-repeat, repeat;
  background-size: auto, 148px auto;
  opacity: 0.07;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.16);
  background: rgba(2, 8, 15, 0.78);
  backdrop-filter: blur(18px);
}

.brand-mark,
.site-nav {
  display: flex;
  align-items: center;
}

.brand-mark {
  min-width: 0;
  text-decoration: none;
}

.brand-mark img {
  display: block;
  width: clamp(150px, 18vw, 224px);
  height: auto;
}

.site-nav {
  gap: clamp(0.7rem, 2vw, 1.4rem);
  color: var(--muted);
  font-size: 0.86rem;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--accent-soft);
}

.hero-section {
  position: relative;
  min-height: 94vh;
  padding: 6.8rem clamp(1rem, 4vw, 3rem) 4rem;
  overflow: hidden;
}

.signal-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.72;
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(20rem, 1.12fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  width: min(1180px, 100%);
  min-height: calc(94vh - 11.2rem);
  margin: 0 auto;
}

.hero-copy {
  max-width: 44rem;
}

.hero-logo {
  display: block;
  width: min(360px, 82vw);
  height: auto;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(var(--accent-rgb), 0.26);
  border-radius: 8px;
  background: #000;
  box-shadow:
    0 0 28px rgba(var(--accent-rgb), 0.1),
    inset 0 0 22px rgba(var(--brand-blue-rgb), 0.1);
}

.eyebrow,
.summary-kicker,
.plan-label {
  display: block;
  margin: 0 0 0.8rem;
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1.15rem;
  color: var(--brand-white);
  font-size: clamp(2.9rem, 6.8vw, 6rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

.hero-lede {
  max-width: 38rem;
  color: #d7eef5;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.55;
}

.hero-actions,
.pricing-grid,
.download-grid {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  min-width: 9.4rem;
  padding: 0.78rem 1.05rem;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
  font-weight: 850;
  line-height: 1.1;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button:disabled {
  cursor: progress;
  opacity: 0.72;
}

.button:hover,
.download-row:hover {
  transform: translateY(-2px);
}

.button-primary {
  border-color: rgba(var(--accent-rgb), 0.52);
  background: linear-gradient(135deg, rgba(0, 137, 177, 0.92), rgba(var(--brand-blue-rgb), 0.72));
  color: var(--brand-white);
  box-shadow: 0 0 26px rgba(var(--accent-rgb), 0.12);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(5, 18, 27, 0.82);
  color: var(--text);
}

.purchase-helper {
  margin-top: 0.8rem;
  color: var(--accent-soft);
  font-size: 0.86rem;
  text-decoration: none;
}

.purchase-helper:hover {
  text-decoration: underline;
}

.product-stage {
  position: relative;
  justify-self: stretch;
  overflow: hidden;
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(var(--brand-blue-rgb), 0.1), transparent 210px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 38%),
    var(--panel);
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.34),
    0 0 42px rgba(var(--accent-rgb), 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.product-stage::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 12px;
  width: clamp(76px, 9vw, 128px);
  aspect-ratio: 1;
  background: var(--brand-symbol-outline) center / contain no-repeat;
  opacity: 0.055;
  pointer-events: none;
}

.stage-toolbar,
.preview-readout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.78rem 0.9rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.stage-toolbar span,
.preview-readout span {
  min-width: 0;
}

.stage-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
}

.stage-brand::before {
  content: "";
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--brand-symbol-blue) center / contain no-repeat;
  box-shadow: 0 0 18px rgba(var(--accent-rgb), 0.15);
}

.motion-frame {
  position: relative;
  aspect-ratio: 1.45;
  min-height: 18rem;
  overflow: hidden;
  border-top: 1px solid rgba(var(--accent-rgb), 0.2);
}

#preview-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.preview-readout {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(3, 10, 17, 0.72);
}

.intro-band,
.pricing-band {
  padding: clamp(2.2rem, 6vw, 4.8rem) clamp(1rem, 4vw, 3rem);
  border-block: 1px solid rgba(var(--accent-rgb), 0.16);
  background: rgba(4, 15, 25, 0.94);
}

.summary-grid,
.feature-grid,
.pricing-grid,
.download-grid,
.output-grid {
  width: min(1100px, 100%);
  margin: 0 auto;
}

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

.summary-grid > div {
  min-width: 0;
  padding: 1.1rem 0;
}

.summary-grid strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: clamp(1.15rem, 2vw, 1.42rem);
}

.summary-grid p,
.feature-card p,
.price-card p,
.section-heading p {
  color: var(--muted);
  line-height: 1.55;
}

.content-section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 3rem);
}

.checkout-result .content-section {
  min-height: 78vh;
  padding-top: clamp(7.8rem, 16vw, 9rem);
}

.section-heading {
  width: min(1100px, 100%);
  margin: 0 auto 2rem;
}

.section-heading h2 {
  max-width: 13ch;
  margin-bottom: 0.8rem;
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  max-width: 42rem;
}

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

.feature-card,
.price-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(var(--brand-blue-rgb), 0.08), transparent 150px),
    var(--panel);
}

.feature-card {
  position: relative;
  overflow: hidden;
  padding: 1.3rem;
}

.feature-card::after,
.price-card::after,
.download-row::after {
  content: "";
  position: absolute;
  right: 0.8rem;
  bottom: 0.75rem;
  width: 3.2rem;
  aspect-ratio: 1;
  background: var(--brand-symbol-outline) center / contain no-repeat;
  opacity: 0.055;
  pointer-events: none;
}

.feature-card h3 {
  font-size: 1.15rem;
}

.pads-band {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 3rem);
  border-block: 1px solid rgba(var(--accent-rgb), 0.16);
  background:
    linear-gradient(120deg, rgba(21, 92, 69, 0.18), transparent 38%),
    linear-gradient(290deg, rgba(255, 209, 125, 0.08), transparent 42%),
    rgba(2, 8, 15, 0.94);
}

.pads-heading h2 {
  max-width: 13.5ch;
}

.pads-product-frame {
  width: min(1100px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(var(--brand-blue-rgb), 0.12), transparent 190px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 38%),
    rgba(3, 10, 17, 0.9);
  box-shadow:
    0 26px 80px rgba(0, 0, 0, 0.34),
    0 0 42px rgba(var(--accent-rgb), 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.pads-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.3rem;
  padding: 0.72rem 0.85rem;
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.18);
  background: rgba(2, 8, 15, 0.82);
}

.pads-window-bar > span {
  color: var(--accent-soft);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pads-window-bar div {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.pads-window-bar span,
.pads-window-bar strong {
  letter-spacing: 0;
  white-space: nowrap;
}

.pads-window-bar div span,
.pads-window-bar div strong {
  min-height: 1.72rem;
  padding: 0.42rem 0.62rem;
  border: 1px solid rgba(var(--accent-rgb), 0.16);
  border-radius: 7px;
  color: var(--muted);
  background: rgba(4, 15, 22, 0.58);
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pads-window-bar div strong {
  border-color: rgba(var(--accent-rgb), 0.58);
  color: var(--text);
  background: linear-gradient(135deg, rgba(0, 121, 154, 0.38), rgba(var(--brand-blue-rgb), 0.24));
  box-shadow: inset 0 0 18px rgba(var(--accent-rgb), 0.1);
}

.visual-control-workspace {
  display: grid;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.18);
  background:
    linear-gradient(135deg, rgba(22, 91, 70, 0.18), transparent 42%),
    rgba(4, 14, 21, 0.78);
}

.visual-control-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.visual-control-header h3 {
  margin: 2px 0 0;
  overflow: hidden;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.visual-control-live {
  display: grid;
  gap: 2px;
  min-width: 96px;
  text-align: right;
}

.visual-control-live span,
.visual-control-live strong,
.xy-performance-header span,
.xy-readout-grid span,
.visual-pad-set-tabs span,
.visual-pad-strike span,
.visual-pad-selected-header span,
.visual-pad-route-control span,
.visual-pad-range-control span {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.visual-control-live strong,
.xy-performance-header strong,
.xy-readout-grid strong,
.visual-pad-set-tabs strong,
.visual-pad-strike strong,
.visual-pad-selected-header strong,
.visual-pad-range-control strong {
  min-width: 0;
  overflow: hidden;
  color: var(--accent-soft);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.visual-control-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.94fr) minmax(360px, 1.06fr);
  gap: 12px;
  align-items: start;
}

.xy-performance-panel,
.visual-pad-bank,
.visual-drum-pad-editor {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(var(--accent-rgb), 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(var(--brand-blue-rgb), 0.08), transparent),
    rgba(4, 16, 24, 0.62);
}

.xy-performance-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}

.xy-performance-header div,
.xy-readout-grid div {
  display: grid;
  gap: 3px;
  min-width: 0;
  min-height: 46px;
  padding: 8px 9px;
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  border-radius: 8px;
  background: rgba(3, 13, 18, 0.68);
}

.xy-performance-pad {
  --xy-control-x: 58%;
  --xy-control-y: 42%;
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border: 1px solid rgba(var(--accent-rgb), 0.44);
  border-radius: 8px;
  background:
    linear-gradient(rgba(127, 242, 203, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 242, 203, 0.08) 1px, transparent 1px),
    radial-gradient(circle at var(--xy-control-x) var(--xy-control-y), rgba(255, 210, 120, 0.28), transparent 20%),
    linear-gradient(135deg, rgba(31, 93, 82, 0.7), rgba(8, 24, 35, 0.86));
  background-size: 36px 36px, 36px 36px, auto, auto;
}

.xy-performance-cursor {
  position: absolute;
  left: var(--xy-control-x);
  top: var(--xy-control-y);
  width: 34px;
  height: 34px;
  border: 2px solid rgba(255, 224, 162, 0.92);
  border-radius: 999px;
  background: rgba(255, 183, 78, 0.22);
  box-shadow:
    0 0 0 8px rgba(255, 183, 78, 0.08),
    0 0 28px rgba(255, 183, 78, 0.34);
  transform: translate(-50%, -50%);
}

.xy-performance-cursor::before,
.xy-performance-cursor::after {
  content: "";
  position: absolute;
  background: rgba(255, 235, 187, 0.9);
}

.xy-performance-cursor::before {
  left: 50%;
  top: -10px;
  width: 2px;
  height: 50px;
  transform: translateX(-50%);
}

.xy-performance-cursor::after {
  left: -10px;
  top: 50%;
  width: 50px;
  height: 2px;
  transform: translateY(-50%);
}

.xy-performance-axis {
  position: absolute;
  pointer-events: none;
}

.xy-performance-axis.x {
  left: 0;
  top: var(--xy-control-y);
  width: 100%;
  height: 1px;
  background: rgba(255, 224, 162, 0.28);
}

.xy-performance-axis.y {
  left: var(--xy-control-x);
  top: 0;
  width: 1px;
  height: 100%;
  background: rgba(255, 224, 162, 0.28);
}

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

.visual-pad-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: stretch;
}

.visual-pad-set-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
  gap: 6px;
}

.visual-pad-set-tabs button,
.visual-pad-reset,
.visual-pad-strike {
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  border-radius: 8px;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(var(--brand-blue-rgb), 0.07), transparent),
    rgba(4, 15, 22, 0.8);
  font: inherit;
}

.visual-pad-set-tabs button {
  display: grid;
  gap: 2px;
  min-width: 0;
  min-height: 48px;
  padding: 7px 8px;
  text-align: left;
}

.visual-pad-set-tabs button.active,
.visual-pad-strike.selected {
  border-color: rgba(255, 209, 125, 0.76);
  background: linear-gradient(135deg, rgba(92, 66, 24, 0.78), rgba(19, 67, 72, 0.58));
  box-shadow: inset 0 0 18px rgba(255, 209, 125, 0.1);
}

.visual-pad-reset {
  min-width: 72px;
  min-height: 48px;
  padding: 0 12px;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.visual-pad-strike-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.visual-pad-strike {
  display: grid;
  gap: 4px;
  min-width: 0;
  min-height: 82px;
  padding: 11px;
  text-align: left;
}

.visual-pad-selected-editor {
  display: grid;
  gap: 9px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(var(--accent-rgb), 0.24);
  border-radius: 8px;
  background: rgba(3, 13, 18, 0.68);
}

.visual-pad-selected-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.visual-pad-selected-header label,
.visual-drum-pad-card-header label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.visual-pad-selected-header input,
.visual-drum-pad-card-header input {
  width: 17px;
  height: 17px;
  accent-color: var(--accent);
}

.visual-pad-route-control,
.visual-pad-range-control,
.visual-drum-pad-target,
.visual-drum-pad-range {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.visual-pad-route-pair,
.visual-drum-pad-xy-targets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.visual-pad-route-control select,
.visual-drum-pad-target select {
  width: 100%;
  min-width: 0;
  height: 34px;
  padding: 0 8px;
  border: 1px solid rgba(var(--accent-rgb), 0.24);
  border-radius: 8px;
  color: var(--text);
  background: #041018;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
}

.visual-pad-range-control {
  grid-template-columns: 44px minmax(0, 1fr) 42px;
  align-items: center;
}

.visual-pad-range-control input,
.visual-drum-pad-range input {
  width: 100%;
  accent-color: var(--accent);
}

.visual-drum-pad-editor {
  margin: 12px;
}

.visual-drum-pad-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
}

.visual-drum-pad-toolbar h3 {
  margin: 0;
  overflow: hidden;
  color: var(--text);
  font-size: 1rem;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.visual-drum-pad-toolbar button {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(var(--accent-rgb), 0.32);
  border-radius: 8px;
  color: var(--text);
  background: rgba(6, 18, 23, 0.72);
  font: inherit;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.visual-drum-pad-set-selector {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 6px;
  min-width: 0;
}

.visual-drum-pad-set-selector button {
  display: grid;
  gap: 3px;
  min-width: 0;
  min-height: 52px;
  padding: 7px 8px;
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(3, 13, 18, 0.72);
  font: inherit;
  text-align: left;
}

.visual-drum-pad-set-selector button.active {
  border-color: rgba(var(--accent-rgb), 0.72);
  color: var(--text);
  background: linear-gradient(135deg, rgba(0, 121, 154, 0.42), rgba(var(--brand-blue-rgb), 0.28));
  box-shadow: inset 0 0 18px rgba(var(--accent-rgb), 0.12);
}

.visual-drum-pad-set-selector span,
.visual-drum-pad-set-selector strong {
  min-width: 0;
  overflow: hidden;
  letter-spacing: 0;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.visual-drum-pad-set-selector span {
  font-size: 0.64rem;
  font-weight: 900;
}

.visual-drum-pad-set-selector strong {
  color: inherit;
  font-size: 0.72rem;
  font-weight: 900;
}

.visual-drum-pad-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.visual-drum-pad-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 9px;
  border: 1px solid rgba(var(--accent-rgb), 0.24);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(4, 23, 31, 0.86), rgba(7, 18, 34, 0.74));
}

.visual-drum-pad-card-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.visual-drum-pad-card-header span,
.visual-drum-pad-card-header strong,
.visual-drum-pad-target span,
.visual-drum-pad-range span {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.visual-drum-pad-card-header strong,
.visual-drum-pad-range strong {
  color: var(--accent-soft);
  font-size: 0.68rem;
  text-align: right;
}

.visual-drum-pad-range {
  grid-template-columns: 34px minmax(0, 1fr) 42px;
  align-items: center;
}

@media (prefers-reduced-motion: no-preference) {
  .xy-performance-pad {
    animation: xy-pad-drift 6.4s ease-in-out infinite;
  }

  .xy-performance-cursor {
    animation: xy-cursor-pulse 1.9s ease-in-out infinite;
  }

  .visual-pad-strike.selected {
    animation: pad-hit-glow 2.8s ease-in-out infinite;
  }
}

@keyframes xy-pad-drift {
  0%,
  100% {
    --xy-control-x: 58%;
    --xy-control-y: 42%;
  }

  33% {
    --xy-control-x: 36%;
    --xy-control-y: 62%;
  }

  66% {
    --xy-control-x: 70%;
    --xy-control-y: 56%;
  }
}

@keyframes xy-cursor-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 8px rgba(255, 183, 78, 0.08),
      0 0 28px rgba(255, 183, 78, 0.34);
  }

  50% {
    box-shadow:
      0 0 0 13px rgba(255, 183, 78, 0.05),
      0 0 38px rgba(255, 183, 78, 0.48);
  }
}

@keyframes pad-hit-glow {
  0%,
  100% {
    box-shadow: inset 0 0 18px rgba(255, 209, 125, 0.1);
  }

  44% {
    box-shadow:
      inset 0 0 24px rgba(255, 209, 125, 0.22),
      0 0 22px rgba(255, 209, 125, 0.1);
  }
}

.output-band {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 3rem);
  border-block: 1px solid rgba(var(--accent-rgb), 0.16);
  background:
    linear-gradient(120deg, rgba(var(--accent-rgb), 0.1), transparent 38%),
    linear-gradient(280deg, rgba(var(--brand-blue-rgb), 0.12), transparent 44%),
    rgba(3, 10, 17, 0.94);
}

.output-heading h2 {
  max-width: 14ch;
}

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

.output-mode {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(3, 10, 17, 0.72);
  overflow: hidden;
}

.mode-preview {
  position: relative;
  aspect-ratio: 1280 / 860;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #02080f;
}

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

.mode-infographic {
  position: relative;
  isolation: isolate;
  min-height: 13.4rem;
  overflow: hidden;
  background:
    linear-gradient(rgba(var(--accent-rgb), 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--brand-blue-rgb), 0.06) 1px, transparent 1px),
    radial-gradient(circle at 28% 28%, rgba(var(--accent-rgb), 0.18), transparent 38%),
    radial-gradient(circle at 86% 18%, rgba(var(--brand-blue-rgb), 0.22), transparent 34%),
    #02080f;
  background-size: 18px 18px, 18px 18px, auto, auto, auto;
}

.mode-infographic-addon {
  aspect-ratio: 1.45;
  min-height: 11.2rem;
  margin: 0 1rem 1.1rem;
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  border-radius: 8px;
}

.mode-infographic::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(var(--accent-rgb), 0.11) 0 1px,
      transparent 1px 7px
    );
  opacity: 0.5;
}

.mode-infographic::after {
  content: "";
  position: absolute;
  right: 0.8rem;
  bottom: 0.7rem;
  width: 4.5rem;
  aspect-ratio: 1;
  background: var(--brand-symbol-outline) center / contain no-repeat;
  opacity: 0.06;
  pointer-events: none;
}

.infographic-stage {
  position: absolute;
  inset: 0.7rem;
  overflow: hidden;
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 42%),
    rgba(3, 10, 17, 0.34);
}

.mode-node,
.uniform-card,
.mode-output-bus,
.gesture-tags,
.composite-layers {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(var(--accent-rgb), 0.24);
  border-radius: 7px;
  background: rgba(3, 10, 17, 0.78);
  box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.06);
}

.mode-node {
  top: 0.72rem;
  left: 0.72rem;
  padding: 0.48rem 0.58rem;
  color: var(--accent-strong);
  font-size: 0.62rem;
  font-weight: 850;
  text-transform: uppercase;
}

.shader-vortex {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 51%;
  width: min(13.5rem, 62%);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
}

.shader-vortex span {
  position: absolute;
  inset: calc(var(--ring, 0) * 9%);
  border: 1px solid rgba(var(--accent-rgb), 0.7);
  border-radius: 42% 58% 45% 55%;
  box-shadow: 0 0 18px rgba(var(--accent-rgb), 0.14);
  transform: rotate(calc(var(--ring, 0) * 21deg));
}

.shader-vortex span:nth-child(1) {
  --ring: 0;
}

.shader-vortex span:nth-child(2) {
  --ring: 1;
  border-color: rgba(var(--brand-blue-rgb), 0.75);
}

.shader-vortex span:nth-child(3) {
  --ring: 2;
}

.shader-vortex span:nth-child(4) {
  --ring: 3;
  border-color: rgba(255, 209, 125, 0.78);
}

.shader-vortex::before,
.shader-vortex::after {
  content: "";
  position: absolute;
  inset: 36%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-strong), rgba(var(--accent-rgb), 0));
  box-shadow: 0 0 26px rgba(var(--accent-rgb), 0.55);
}

.shader-vortex::after {
  inset: 46%;
  background: var(--warm);
  box-shadow: 0 0 20px rgba(255, 209, 125, 0.6);
}

.shader-vortex.compact {
  width: min(12rem, 58%);
  opacity: 0.85;
}

.uniform-card {
  right: 0.7rem;
  top: 0.7rem;
  display: grid;
  grid-template-columns: minmax(3.6rem, 1fr) 3.8rem;
  gap: 0.38rem 0.5rem;
  width: min(10.5rem, 44%);
  padding: 0.62rem;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 800;
}

.uniform-card i {
  position: relative;
  height: 0.48rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.12);
}

.uniform-card i::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--level);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--brand-blue));
}

.uniform-card i:nth-of-type(2)::before {
  background: linear-gradient(90deg, var(--warm), var(--accent));
}

.mode-output-bus {
  right: 0.8rem;
  bottom: 0.82rem;
  display: grid;
  gap: 0.35rem;
  min-width: 6.8rem;
  padding: 0.52rem;
}

.mode-output-bus span,
.gesture-tags span,
.composite-layers span {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  color: var(--text);
  font-size: 0.62rem;
  font-weight: 850;
}

.mode-output-bus span::before,
.gesture-tags span::before {
  content: "";
  width: 0.42rem;
  aspect-ratio: 1;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.52);
}

.mode-output-bus span:nth-child(2)::before,
.gesture-tags span:nth-child(2)::before {
  background: var(--brand-blue);
  box-shadow: 0 0 12px rgba(var(--brand-blue-rgb), 0.52);
}

.mode-output-bus span:nth-child(3)::before,
.gesture-tags span:nth-child(3)::before {
  background: var(--warm);
  box-shadow: 0 0 12px rgba(255, 209, 125, 0.52);
}

.wire-rig {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 9.4rem;
  height: 9.2rem;
  transform: translate(-50%, -42%);
}

.wire-rig.small {
  left: 43%;
  top: 52%;
  width: 8rem;
  height: 8rem;
  opacity: 0.92;
}

.joint {
  position: absolute;
  z-index: 2;
  width: 0.52rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(var(--accent-rgb), 0.64);
}

.joint.head {
  left: 50%;
  top: 0.42rem;
  width: 3.1rem;
  transform: translateX(-50%);
  border: 1px solid rgba(var(--accent-rgb), 0.74);
  background:
    radial-gradient(circle at 36% 42%, var(--accent) 0 0.12rem, transparent 0.14rem),
    radial-gradient(circle at 64% 42%, var(--accent) 0 0.12rem, transparent 0.14rem),
    radial-gradient(ellipse at 50% 64%, var(--warm) 0 0.17rem, transparent 0.19rem),
    rgba(2, 8, 15, 0.78);
}

.joint.neck {
  left: 50%;
  top: 4rem;
  transform: translate(-50%, -50%);
}

.joint.hand-left {
  left: 0.2rem;
  top: 4.7rem;
  background: var(--warm);
}

.joint.hand-right {
  right: 0.2rem;
  top: 3.9rem;
  background: var(--warm);
}

.joint.hip-left {
  left: 33%;
  bottom: 0.5rem;
}

.joint.hip-right {
  right: 33%;
  bottom: 0.5rem;
}

.bone {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 1px;
  background: rgba(183, 251, 255, 0.76);
  box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.3);
  transform-origin: left center;
}

.bone.spine {
  width: 3.7rem;
  transform: translate(-1px, -0.35rem) rotate(90deg);
}

.bone.shoulder {
  width: 5.4rem;
  transform: translate(-50%, -1.7rem);
}

.bone.arm-left {
  width: 4.2rem;
  transform: translate(-2.6rem, -1.7rem) rotate(145deg);
}

.bone.arm-right {
  width: 4.3rem;
  transform: translate(2.45rem, -1.7rem) rotate(28deg);
}

.bone.leg-left {
  width: 3.6rem;
  transform: translate(-0.08rem, 1.95rem) rotate(125deg);
}

.bone.leg-right {
  width: 3.6rem;
  transform: translate(0.08rem, 1.95rem) rotate(55deg);
}

.gesture-tags {
  left: 0.72rem;
  bottom: 0.82rem;
  display: flex;
  gap: 0.36rem;
  flex-wrap: wrap;
  max-width: 11rem;
  padding: 0.48rem;
}

.gesture-tags span {
  min-height: 1.25rem;
  padding: 0 0.44rem;
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.08);
  font-size: 0.56rem;
}

.camera-silhouette {
  position: absolute;
  z-index: 1;
  left: 11%;
  top: 16%;
  width: 54%;
  height: 73%;
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 28%, rgba(var(--accent-rgb), 0.16) 0 17%, transparent 18%),
    radial-gradient(ellipse at 50% 88%, rgba(var(--brand-blue-rgb), 0.18) 0 42%, transparent 43%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 45%),
    rgba(0, 0, 0, 0.22);
}

.camera-silhouette span {
  position: absolute;
  left: 50%;
  top: 22%;
  width: 26%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 36% 42%, var(--accent) 0 0.12rem, transparent 0.14rem),
    radial-gradient(circle at 64% 42%, var(--accent) 0 0.12rem, transparent 0.14rem),
    rgba(2, 8, 15, 0.88);
  border: 1px solid rgba(var(--accent-rgb), 0.42);
}

.composite-layers {
  right: 0.82rem;
  top: 0.72rem;
  display: grid;
  gap: 0.42rem;
  width: 8.3rem;
  padding: 0.58rem;
}

.composite-layers span {
  justify-content: space-between;
  min-height: 1.38rem;
  padding: 0 0.5rem;
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.08);
}

.composite-layers span:nth-child(2) {
  background: rgba(var(--brand-blue-rgb), 0.16);
}

.composite-layers span:nth-child(3) {
  background: rgba(255, 209, 125, 0.14);
}

.mode-output-bus.full {
  right: 0.82rem;
  bottom: 0.82rem;
}

.mode-kicker {
  display: block;
  padding: 1rem 1rem 0;
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.output-mode h3 {
  margin: 0.4rem 1rem 0.45rem;
  font-size: 1.18rem;
}

.output-mode p {
  margin: 0 1rem 1.15rem;
  color: var(--muted);
  line-height: 1.55;
}

.pricing-band {
  background:
    linear-gradient(90deg, rgba(var(--brand-blue-rgb), 0.12), transparent 42%),
    rgba(4, 15, 25, 0.94);
}

.pricing-grid {
  align-items: stretch;
}

.price-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex: 1 1 18rem;
  min-height: 17rem;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.35rem;
}

.price-card strong {
  margin-bottom: 0.85rem;
  color: var(--text);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.9;
}

.price-card p {
  flex: 1 1 auto;
}

.featured-price {
  border-color: rgba(var(--accent-rgb), 0.62);
  background: linear-gradient(135deg, rgba(0, 137, 177, 0.24), rgba(var(--brand-blue-rgb), 0.18));
}

.download-section {
  background:
    linear-gradient(180deg, transparent, rgba(var(--accent-rgb), 0.08)),
    var(--bg);
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  gap: 1rem;
  align-items: stretch;
}

.download-copy,
.paid-download-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 18, 27, 0.9);
}

.download-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 19rem;
  padding: clamp(1.25rem, 4vw, 2.25rem);
}

.download-copy h2 {
  max-width: 12ch;
}

.download-copy p {
  max-width: 42rem;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1rem;
}

.paid-download-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.25rem;
}

.paid-download-card strong {
  margin-top: 1.3rem;
  color: var(--text);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.08;
}

.paid-download-card p {
  flex: 1 1 auto;
}

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

.download-row {
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: 7.5rem;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 18, 27, 0.9);
  text-decoration: none;
  transition: transform 160ms ease;
}

.download-row span {
  color: var(--muted);
  font-size: 0.86rem;
}

.download-row strong {
  font-size: 1.35rem;
}

.download-row[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.58;
}

.recovery-form {
  display: grid;
  gap: 1rem;
  width: min(38rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(var(--brand-blue-rgb), 0.08), transparent 150px),
    rgba(5, 18, 27, 0.9);
}

.form-field {
  display: grid;
  gap: 0.5rem;
}

.form-field span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.form-field input {
  width: 100%;
  min-height: 3rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(var(--accent-rgb), 0.32);
  border-radius: 6px;
  background: rgba(2, 8, 15, 0.82);
  color: var(--text);
  font: inherit;
}

.form-field input:focus {
  border-color: rgba(var(--accent-rgb), 0.72);
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.12);
}

.status-note {
  min-height: 1.4rem;
  margin: 0;
  color: var(--accent-soft);
  line-height: 1.45;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem clamp(1rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer a {
  text-decoration: none;
}

.toast {
  position: fixed;
  z-index: 30;
  right: 1rem;
  bottom: 1rem;
  max-width: min(24rem, calc(100vw - 2rem));
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--brand-white);
  color: #06151e;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateY(0.7rem);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  pointer-events: none;
}

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

@media (max-width: 880px) {
  .site-header {
    position: absolute;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-shell,
  .summary-grid,
  .feature-grid,
  .download-panel,
  .download-grid,
  .visual-control-layout,
  .visual-drum-pad-grid,
  .output-grid {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    min-height: 0;
  }

  .product-stage {
    max-width: 42rem;
  }

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

  .output-grid {
    grid-template-columns: repeat(3, minmax(16rem, 1fr));
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scroll-snap-type: x proximity;
  }

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

  .visual-drum-pad-grid {
    grid-template-columns: 1fr;
  }

  .pads-window-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .pads-window-bar div {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .output-mode {
    scroll-snap-align: start;
  }
}

@media (max-width: 580px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 0.5rem;
  }

  .hero-section {
    padding-top: 8.4rem;
  }

  .hero-logo {
    width: min(260px, 74vw);
    margin-bottom: 1rem;
  }

  .hero-actions,
  .download-actions,
  .button,
  .pricing-grid {
    width: 100%;
  }

  .button {
    min-width: 0;
  }

  .stage-toolbar,
  .preview-readout {
    align-items: flex-start;
    flex-direction: column;
  }

  .motion-frame {
    aspect-ratio: auto;
  }

  #preview-canvas {
    height: 240px;
  }

  .preview-readout {
    position: static;
    border-top: 1px solid rgba(var(--accent-rgb), 0.18);
  }

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

  .output-grid {
    grid-template-columns: 1fr;
    overflow-x: visible;
  }

  .xy-performance-header,
  .xy-readout-grid,
  .visual-pad-toolbar,
  .visual-pad-set-tabs,
  .visual-pad-strike-grid,
  .visual-pad-route-pair,
  .visual-drum-pad-set-selector,
  .visual-drum-pad-xy-targets {
    grid-template-columns: 1fr;
  }

  .visual-control-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .visual-control-live {
    width: 100%;
    text-align: left;
  }

  .xy-performance-pad {
    min-height: 260px;
  }

  .visual-pad-reset {
    width: 100%;
  }

  .pads-window-bar div {
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .pads-window-bar div span,
  .pads-window-bar div strong {
    flex: 1 1 5.6rem;
    text-align: center;
  }

  .motion-frame {
    min-height: 15rem;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

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