/* ==========================================================================
   RobbDMX — Dark/Amber Console Theme
   ========================================================================== */

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/space-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/space-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('fonts/jetbrains-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('fonts/jetbrains-mono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg:      #0d0e12;
  --bg2:     #131418;
  --card:    #1b1d24;
  --card2:   #22242e;
  --line:    #2a2d38;
  --line2:   #383c4a;
  --fg:      #d8dae2;
  --dim:     #8a8f9e;
  --faint:   #828898;
  --acc:     #ffaf10;
  --acc-hi:  #ffc84d;
  --acc2:    #40c8ff;
  --ok:      #58d858;
  --err:     #ff5858;
  --sel:     #2a4a7a;
  --glow:    0 0 24px rgba(255, 175, 16, .18);
  --font-head: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'Consolas', 'Cascadia Mono', monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* subtle atmosphere: vignette + faint top glow, like console light in a dark room */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(1200px 500px at 50% -10%, rgba(255, 175, 16, .05), transparent 60%),
    radial-gradient(900px 600px at 90% 110%, rgba(64, 200, 255, .03), transparent 60%);
}

::selection { background: rgba(255, 175, 16, .3); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p  { margin: 0 0 1em; }
a  { color: var(--acc); text-decoration: none; }
a:hover { color: var(--acc-hi); }
code, kbd, .mono { font-family: var(--font-mono); }

:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 2px;
  border-radius: 2px;
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   Header / Nav — styled like the console topbar
   -------------------------------------------------------------------------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 24px;
  height: 60px;
  background: rgba(19, 20, 24, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: .02em;
  color: var(--fg);
  white-space: nowrap;
}
.brand b { color: var(--acc); font-weight: 700; }
.brand .brand-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 8px var(--acc);
  margin-right: 8px;
  vertical-align: 2px;
}

.nav { display: flex; gap: 6px; flex: 1; }

.nav a {
  font-size: .88rem;
  color: var(--dim);
  padding: 6px 16px;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: color .15s, border-color .15s, background .15s;
}
.nav a:hover { color: var(--fg); background: var(--card); }
.nav a.active {
  color: var(--acc);
  border-color: var(--acc);
  background: var(--card);
}
.nav a.active:hover { color: var(--acc-hi); }

/* CTA inside nav: mobile-only (desktop uses the standalone topbar button) */
.nav .btn { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
  padding: 11px 22px;
  border-radius: 5px;
  border: 1px solid var(--line2);
  background: var(--card);
  color: var(--fg);
  cursor: pointer;
  transition: transform .15s, border-color .15s, background .15s, box-shadow .15s;
}
.btn:hover { border-color: var(--acc); color: var(--fg); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-acc {
  background: var(--acc);
  border-color: var(--acc);
  color: #14100a;
}
.btn-acc:hover {
  background: var(--acc-hi);
  border-color: var(--acc-hi);
  color: #14100a;
  box-shadow: var(--glow);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line2);
  color: var(--dim);
}
.btn-ghost:hover { color: var(--fg); border-color: var(--acc); }

/* disabled/placeholder buttons (e.g. download placeholder) */
.btn[aria-disabled="true"] { cursor: not-allowed; }
.btn[aria-disabled="true"]:hover {
  transform: none;
  box-shadow: none;
}

.topbar .btn { padding: 8px 16px; font-size: .85rem; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  padding: 9px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 5px;
  cursor: pointer;
}
.burger span {
  display: block; height: 2px;
  background: var(--fg);
  border-radius: 1px;
  transition: transform .2s, opacity .2s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

section { padding: 84px 0; position: relative; z-index: 1; }
section + section { border-top: 1px solid var(--line); }

.sec-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--acc);
  border: 1px solid rgba(255, 175, 16, .35);
  border-radius: 3px;
  padding: 3px 10px;
  margin-bottom: 16px;
  background: rgba(255, 175, 16, .06);
}
.sec-sub { color: var(--dim); max-width: 640px; font-size: 1.05rem; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  padding: 96px 0 72px;
  border-top: none;
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}

.hero h1 { margin-bottom: 20px; }
.hero h1 .amber { color: var(--acc); text-shadow: 0 0 30px rgba(255,175,16,.35); }
.hero .lead { font-size: 1.15rem; color: var(--dim); max-width: 520px; margin-bottom: 28px; }
.hero .lead b { color: var(--fg); font-weight: 600; }

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }

.hero-facts {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0; padding: 0;
}
.hero-facts li { font-size: .82rem; color: var(--dim); }
.hero-facts .n {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--acc);
}

/* --------------------------------------------------------------------------
   Console mockup (hero + showcase)
   -------------------------------------------------------------------------- */

.mock-console {
  background: var(--bg2);
  border: 1px solid var(--line2);
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, .55),
    0 0 60px rgba(255, 175, 16, .06);
  font-size: 12px;
  transform: perspective(1400px) rotateX(2deg);
}
.mock-console.flat { transform: none; }

.mc-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  background: var(--card2);
  border-bottom: 1px solid var(--line);
}
.mc-dots { display: flex; gap: 5px; }
.mc-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line2); }
.mc-dots i:first-child { background: var(--acc); }

.mc-tabs { display: flex; gap: 4px; flex: 1; }
.mc-tab {
  font-size: .68rem;
  color: var(--dim);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 2px 10px;
}
.mc-tab.on { color: var(--acc); border-color: var(--acc); background: var(--card2); }
.mc-clock { font-family: var(--font-mono); font-size: .68rem; color: var(--faint); }

/* pixel-strip canvas inside mock */
.mc-strip {
  display: block;
  width: 100%;
  height: 34px;
  background: #0a0b0e;
  border-bottom: 1px solid var(--line);
}

.mc-body { display: flex; min-height: 190px; }

/* pool of fixture tiles */
.mc-pool {
  width: 132px;
  flex-shrink: 0;
  background: var(--card);
  border-right: 1px solid var(--line);
  padding: 8px;
}
.mc-pool h5, .mc-side h5 {
  margin: 0 0 6px;
  font-size: .6rem;
  font-weight: 600;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: .12em;
}
.tiles { display: flex; flex-wrap: wrap; gap: 3px; }
.tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 26px;
  font-family: var(--font-mono);
  font-size: .62rem;
  background: var(--card2);
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--dim);
}
.tile.sel {
  color: var(--acc);
  border-color: var(--acc);
  box-shadow: 0 0 0 1px var(--acc) inset;
}
.tile.rig { border-style: dashed; }
.tile.grp { color: var(--acc2); }

/* sheet */
.mc-sheet { flex: 1; overflow: hidden; padding: 8px 10px; }
table.sheet {
  border-collapse: collapse;
  width: 100%;
  font-family: var(--font-mono);
  font-size: .62rem;
}
.sheet th, .sheet td {
  border: 1px solid var(--line);
  padding: 3px 4px;
  text-align: center;
  color: var(--dim);
}
.sheet th { background: var(--card2); color: var(--faint); font-weight: 500; }
.sheet td.fix { background: var(--card2); color: var(--fg); font-weight: 600; }
.sheet td.fix.sel { color: var(--acc); border-color: var(--acc); }
.sheet td.v { color: var(--fg); }
.sheet td.p { color: var(--acc); font-weight: 600; }
.sheet td.z { color: var(--line2); }

/* executor bar */
.mc-execs {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 10px 14px 8px;
  background: var(--card);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.exec { display: flex; flex-direction: column; align-items: center; width: 46px; flex-shrink: 0; }
.exec .ename {
  font-size: .55rem;
  color: var(--faint);
  height: 18px;
  text-align: center;
  overflow: hidden;
  width: 100%;
  line-height: 1.1;
}
.exec .fader {
  width: 20px; height: 62px;
  background: var(--card2);
  border: 1px solid var(--line);
  border-radius: 3px;
  position: relative;
}
.exec .fader .pos {
  position: absolute;
  left: 2px; right: 2px;
  height: 9px;
  background: var(--acc);
  border-radius: 2px;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 6px rgba(255,175,16,.5);
}
[data-fader-idle] .pos { transform: none; }
.exec.live .fader { border-color: var(--acc2); }
.exec .btns { display: flex; gap: 2px; margin-top: 4px; }
.exec .btns i {
  width: 12px; height: 8px;
  background: var(--card2);
  border: 1px solid var(--line);
  border-radius: 2px;
}
.exec .btns i.on { background: var(--acc); border-color: var(--acc); }
.exec .chips { display: flex; gap: 2px; margin-top: 4px; min-height: 10px; flex-wrap: wrap; justify-content: center; }
.chip {
  font-family: var(--font-mono);
  font-size: .5rem;
  color: var(--dim);
  background: var(--card2);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0 3px;
  line-height: 9px;
}
.chip.on { color: #14100a; background: var(--acc); border-color: var(--acc); }

/* commandline */
.mc-cmd {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card2);
  border-top: 1px solid var(--line);
  padding: 8px 12px;
}
.mc-cmd .prompt { color: var(--faint); font-family: var(--font-mono); font-size: .72rem; }
.mc-cmd .cmd {
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--acc);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
}
.mc-cmd .cmd::after {
  content: '▌';
  color: var(--acc);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.mc-cmd .ok { font-family: var(--font-mono); font-size: .62rem; color: var(--ok); }

/* standalone commandline block (features page) */
.cmdline-box {
  background: var(--card2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: .85rem;
}
.cmdline-box .hist { color: var(--faint); font-size: .72rem; margin-bottom: 6px; }
.cmdline-box .hist b { color: var(--ok); font-weight: 400; }
.cmdline-box .in { color: var(--acc); }
.cmdline-box .in::before { content: '> '; color: var(--faint); }
.cmdline-box .in::after { content: '▌'; animation: blink 1s steps(1) infinite; }

/* --------------------------------------------------------------------------
   Feature grid
   -------------------------------------------------------------------------- */

.fgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
  margin-top: 40px;
}
.fcard {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  position: relative;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.fcard:hover {
  border-color: var(--line2);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}
.fcard .fico {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card2);
  border: 1px solid var(--line2);
  border-radius: 6px;
  margin-bottom: 16px;
  color: var(--acc);
}
.fcard .fico svg { width: 22px; height: 22px; }
.fcard h3 { font-size: 1.05rem; margin-bottom: 8px; }
.fcard p { font-size: .9rem; color: var(--dim); margin: 0; }
.fcard .ftag {
  position: absolute;
  top: 20px; right: 20px;
  font-family: var(--font-mono);
  font-size: .6rem;
  color: var(--faint);
  letter-spacing: .08em;
}

/* --------------------------------------------------------------------------
   Steps — "So läuft's"
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 40px;
  counter-reset: step;
}
.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px 24px 22px;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--line2);
  position: absolute;
  top: 14px; right: 20px;
}
.step h3 { color: var(--acc); font-size: 1rem; margin-bottom: 8px; }
.step p { font-size: .9rem; color: var(--dim); margin: 0; }
.step .mono { color: var(--fg); font-size: .85em; background: var(--bg); padding: 1px 6px; border-radius: 3px; border: 1px solid var(--line); }

/* --------------------------------------------------------------------------
   Showcase (index)
   -------------------------------------------------------------------------- */

.showcase-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 18px;
  margin-top: 40px;
}
.showcase-grid .mock-console { transform: none; }
.sc-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}
.sc-label h3 { font-size: .95rem; margin: 0; }
.sc-label .mono { font-size: .68rem; color: var(--faint); }

/* deck widgets mock */
.mc-deck {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px;
  background: var(--bg);
  min-height: 200px;
}
.widget {
  background: var(--card2);
  border: 1px solid var(--line);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  min-height: 84px;
}
.widget .wl { position: absolute; top: 5px; left: 7px; font-size: .58rem; color: var(--faint); }
.widget .wv { position: absolute; bottom: 5px; right: 7px; font-family: var(--font-mono); font-size: .7rem; font-weight: 600; color: var(--acc2); }
.widget.faderw .track { position: absolute; left: 50%; top: 16px; bottom: 20px; width: 4px; margin-left: -2px; background: var(--line); border-radius: 2px; }
.widget.faderw .cap { position: absolute; left: 22%; right: 22%; height: 11px; background: var(--acc); border-radius: 3px; box-shadow: 0 0 8px rgba(255,175,16,.4); }
.widget.knobw .dial {
  position: absolute; inset: 20px 30%;
  border-radius: 50%;
  border: 2px solid var(--line2);
}
.widget.knobw .needle {
  position: absolute; left: 50%; top: 50%;
  width: 2px; height: 38%;
  background: var(--acc);
  transform-origin: top center;
}
.widget.btnw { display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 600; font-size: .72rem; color: var(--dim); }
.widget.btnw.on { background: var(--acc); color: #14100a; border-color: var(--acc); }
.widget.xyw .dot {
  position: absolute; width: 10px; height: 10px;
  margin: -5px; border-radius: 50%;
  background: var(--acc2);
  box-shadow: 0 0 10px var(--acc2);
}
.widget.xyw::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 33.3%,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 33.3% 100%;
  opacity: .4;
}

/* pixelmap canvas mock */
.pxmock { position: relative; background: #0a0b0e; min-height: 240px; }
.pxmock canvas { display: block; width: 100%; height: 240px; }

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */

.pgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
  margin-top: 40px;
  align-items: stretch;
}
.pcard {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.pcard.hot {
  border-color: var(--acc);
  box-shadow: var(--glow);
}
.pcard .pbadge {
  position: absolute;
  top: -11px; left: 24px;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--acc);
  color: #14100a;
  padding: 2px 10px;
  border-radius: 3px;
  font-weight: 600;
}
.pcard h3 { font-size: 1.1rem; margin-bottom: 2px; }
.pcard .ptarget { font-size: .8rem; color: var(--faint); margin-bottom: 18px; }
.pcard .price { font-family: var(--font-head); font-size: 2.3rem; font-weight: 700; margin-bottom: 4px; }
.pcard .price small { font-size: .85rem; color: var(--dim); font-weight: 400; font-family: var(--font-body); }
.pcard ul { list-style: none; margin: 18px 0 26px; padding: 0; flex: 1; }
.pcard li { font-size: .88rem; color: var(--dim); padding: 5px 0 5px 24px; position: relative; }
.pcard li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--acc);
  font-weight: 700;
}
.pnote { font-size: .78rem; color: var(--faint); margin-top: 22px; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  text-align: center;
  padding: 80px 0;
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: var(--dim); margin-bottom: 28px; }

/* --------------------------------------------------------------------------
   Features page — detail sections
   -------------------------------------------------------------------------- */

.feat-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
  padding: 56px 0;
}
.feat-row + .feat-row { border-top: 1px solid var(--line); }
.feat-row.flip > .ftext { order: 2; }
.feat-row h2 { font-size: 1.5rem; }
.feat-row .ftext p { color: var(--dim); font-size: .95rem; }
.feat-row .fpoints { list-style: none; margin: 18px 0 0; padding: 0; }
.feat-row .fpoints li {
  font-size: .88rem;
  color: var(--dim);
  padding: 4px 0 4px 22px;
  position: relative;
}
.feat-row .fpoints li::before {
  content: '▸';
  position: absolute; left: 0;
  color: var(--acc);
}
.feat-row .fpoints li b, .feat-row .fpoints .mono { color: var(--fg); }
.feat-row .mono { font-size: .85em; background: var(--card); border: 1px solid var(--line); border-radius: 3px; padding: 1px 5px; }

.illu {
  background: var(--bg2);
  border: 1px solid var(--line2);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}

/* param card mock */
.parammock { padding: 14px; background: var(--bg); }
.paramcard {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  margin-bottom: 8px;
}
.paramcard .prow { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
.paramcard .pname { font-family: var(--font-mono); font-size: .78rem; color: var(--acc); font-weight: 600; }
.paramcard .ptype {
  font-size: .55rem;
  color: #14100a;
  background: var(--dim);
  border-radius: 2px;
  padding: 1px 5px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.paramcard .ptype.lfo { background: var(--acc2); }
.paramcard .ptype.expr { background: var(--acc); }
.paramcard .pmod { font-size: .62rem; color: var(--acc2); font-family: var(--font-mono); margin-left: auto; }
.paramcard .pdesc { font-size: .72rem; color: var(--dim); }
.paramcard .track { height: 6px; background: var(--bg); border: 1px solid var(--line); border-radius: 3px; position: relative; margin-top: 8px; }
.paramcard .track i {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: linear-gradient(90deg, var(--acc), var(--acc-hi));
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(255,175,16,.4);
}

/* LFO wave */
.lfowave { display: block; width: 100%; height: 90px; background: #0a0b0e; border-top: 1px solid var(--line); }

/* aiming mock */
.aimmock { position: relative; background: #0a0b0e; min-height: 260px; overflow: hidden; }
.aimmock .stage {
  position: absolute;
  left: 8%; right: 8%; bottom: 14%;
  border: 1px dashed var(--line2);
  border-radius: 4px;
  height: 34%;
}
.aimmock .target {
  position: absolute;
  width: 14px; height: 14px;
  border: 2px solid var(--acc);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(255,175,16,.5);
  margin: -7px;
}
.aimmock .target::after {
  content: '';
  position: absolute; inset: 3px;
  background: var(--acc);
  border-radius: 50%;
}
.aimmock .head {
  position: absolute;
  width: 18px; height: 12px;
  background: var(--card2);
  border: 1px solid var(--line2);
  border-radius: 3px;
  margin: -9px -6px;
}
.aimmock .beam {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, rgba(64,200,255,.9), rgba(64,200,255,.05));
  transform-origin: left center;
}
.aimmock .grid-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 40px 40px;
  opacity: .25;
}
.aimmock .expr-label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: .6rem;
  color: var(--acc2);
  background: rgba(19,20,24,.85);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 1px 6px;
}

/* DMX monitor mock */
.dmxmock { padding: 12px; background: var(--bg); }
.dmxgrid {
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  gap: 2px;
  font-family: var(--font-mono);
  font-size: .55rem;
}
.dmxcell {
  background: var(--card);
  border-radius: 2px;
  text-align: center;
  padding: 3px 0;
  color: var(--faint);
}
.dmxcell.on { color: #14100a; font-weight: 600; }

/* license key mock */
.licmock { padding: 26px 20px; background: var(--bg); text-align: center; }
.licmock .key {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .95rem;
  letter-spacing: .1em;
  color: var(--acc);
  background: var(--card);
  border: 1px dashed var(--acc);
  border-radius: 6px;
  padding: 12px 22px;
  margin-bottom: 14px;
}
.licmock .sig {
  font-family: var(--font-mono);
  font-size: .66rem;
  color: var(--ok);
}
.licmock .sig::before { content: '✓ '; }
.licmock p { font-size: .75rem; color: var(--faint); margin: 10px 0 0; }

/* --------------------------------------------------------------------------
   Spec table
   -------------------------------------------------------------------------- */

.spectable { width: 100%; border-collapse: collapse; margin-top: 36px; font-size: .9rem; }
.spectable th, .spectable td {
  border: 1px solid var(--line);
  padding: 12px 16px;
  text-align: left;
}
.spectable th {
  background: var(--card);
  color: var(--dim);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.spectable td { color: var(--fg); }
.spectable td:first-child { color: var(--dim); white-space: nowrap; }
.spectable .mono { color: var(--acc2); font-size: .85em; }

/* --------------------------------------------------------------------------
   FAQ accordion
   -------------------------------------------------------------------------- */

.acc { max-width: 820px; margin: 40px auto 0; }
.acc-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
}
.acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  color: var(--fg);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  padding: 18px 22px;
  cursor: pointer;
  transition: color .15s;
}
.acc-btn:hover { color: var(--acc); }
.acc-btn .ico {
  flex-shrink: 0;
  width: 22px; height: 22px;
  position: relative;
}
.acc-btn .ico::before, .acc-btn .ico::after {
  content: '';
  position: absolute;
  background: var(--acc);
  border-radius: 1px;
  left: 50%; top: 50%;
  transition: transform .2s;
}
.acc-btn .ico::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.acc-btn .ico::after { width: 2px; height: 14px; transform: translate(-50%, -50%); }
.acc-btn[aria-expanded="true"] { color: var(--acc); }
.acc-btn[aria-expanded="true"] .ico::after { transform: translate(-50%, -50%) scaleY(0); }
/* without JS, panels stay open (progressive enhancement) */
html.js .acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.acc-panel .inner {
  padding: 0 22px 20px;
  color: var(--dim);
  font-size: .92rem;
}
.acc-panel .mono { color: var(--acc2); font-size: .85em; }

/* --------------------------------------------------------------------------
   Download page
   -------------------------------------------------------------------------- */

.dl-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  margin-top: 40px;
}
.dl-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 30px;
}
.dl-card h3 { margin-bottom: 6px; }
.dl-file {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
  margin: 18px 0;
}
.dl-file .fico {
  width: 46px; height: 46px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card2);
  border: 1px solid var(--line2);
  border-radius: 8px;
  color: var(--acc);
}
.dl-file .fname { font-family: var(--font-mono); font-weight: 600; font-size: .95rem; }
.dl-file .fmeta { font-size: .75rem; color: var(--faint); }
.dl-hint {
  font-size: .8rem;
  color: var(--faint);
  display: block;
  margin-top: 14px;
}
.dl-hint::before { content: 'ℹ '; color: var(--acc2); }

.lic-steps { list-style: none; margin: 22px 0 0; padding: 0; counter-reset: ls; }
.lic-steps li {
  position: relative;
  padding: 0 0 22px 40px;
  color: var(--dim);
  font-size: .92rem;
  counter-increment: ls;
}
.lic-steps li::before {
  content: counter(ls);
  position: absolute;
  left: 0; top: 0;
  width: 26px; height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card2);
  border: 1px solid var(--acc);
  border-radius: 50%;
  color: var(--acc);
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 600;
}
.lic-steps li::after {
  content: '';
  position: absolute;
  left: 13px; top: 30px; bottom: 4px;
  width: 1px;
  background: var(--line2);
}
.lic-steps li:last-child::after { display: none; }
.lic-steps b { color: var(--fg); }
.lic-steps .mono { color: var(--acc2); font-size: .85em; }

.keyformat {
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--acc);
  background: var(--bg);
  border: 1px dashed var(--line2);
  border-radius: 5px;
  padding: 10px 14px;
  display: inline-block;
  margin-top: 12px;
}

/* --------------------------------------------------------------------------
   Legal pages
   -------------------------------------------------------------------------- */

.legal { max-width: 760px; margin: 0 auto; }
.legal h1 { font-size: 2rem; }
.legal h2 { font-size: 1.15rem; margin-top: 36px; color: var(--acc); }
.legal p, .legal li { color: var(--dim); font-size: .94rem; }
.legal address { font-style: normal; color: var(--fg); line-height: 1.8; margin: 12px 0; }
.legal .updated { font-size: .78rem; color: var(--faint); margin-bottom: 30px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

footer {
  border-top: 1px solid var(--line);
  background: var(--bg2);
  position: relative;
  z-index: 1;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding: 52px 0 36px;
}
.foot-grid h4 {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--faint);
  margin-bottom: 14px;
}
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 8px; }
.foot-grid a { color: var(--dim); font-size: .88rem; }
.foot-grid a:hover { color: var(--acc); }
.foot-brand p { font-size: .85rem; color: var(--dim); max-width: 300px; margin-top: 10px; }
.foot-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: .68rem;
  color: var(--ok);
  margin-top: 14px;
}
.foot-status::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 6px var(--ok);
}
.foot-bottom {
  border-top: 1px solid var(--line);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .78rem;
  color: var(--faint);
}
.foot-bottom .mono { font-size: .72rem; }

/* --------------------------------------------------------------------------
   Reveal animation
   -------------------------------------------------------------------------- */

/* reveal only hides when JS is available — otherwise content stays visible */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .mc-cmd .cmd::after, .cmdline-box .in::after { animation: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
  .showcase-grid { grid-template-columns: 1fr; }
  .feat-row, .feat-row.flip { grid-template-columns: 1fr; gap: 28px; }
  .feat-row.flip > .ftext { order: 0; }
  .dl-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  section { padding: 60px 0; }
  .topbar { gap: 12px; }
  .burger { display: flex; }
  .nav {
    position: absolute;
    top: 60px; left: 0; right: 0;
    flex-direction: column;
    gap: 4px;
    background: var(--bg2);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 16px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 10px 14px; }
  .topbar .btn { display: none; }
  .nav .btn { display: inline-flex; margin-top: 8px; align-self: flex-start; }
  .nav a.btn-acc { color: #14100a; }
  .nav a.btn-acc:hover { color: #14100a; }
  .mc-pool { display: none; }
  .hero { padding: 60px 0 48px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
}
