/* DP4 Remote Editor — landing */

@font-face { font-family: "Michroma"; src: url("fonts/Michroma-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Saira"; src: url("fonts/Saira-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Saira"; src: url("fonts/Saira-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Saira"; src: url("fonts/Saira-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }

:root {
  --bg: #0b0c0d;
  --bg2: #121315;
  --panel: #17181b;
  --line: #26282c;
  --text: #e6e3dc;
  --muted: #8d8f93;
  --gold: #c8a96a;
  --gold-hi: #f0d59a;
  --amber: #ffb63a;
  --lcd: #8dff6a;
  --lcd-bg: #0c1a0b;
  --red: #ff3b2f;
  --radius: 14px;
  --max: 1200px;
  --display: "Michroma", "Saira", system-ui, sans-serif;
  --body: "Saira", -apple-system, "Helvetica Neue", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 18px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
code { font: 500 .9em ui-monospace, Menlo, monospace; color: var(--gold-hi); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -.01em; margin: 0; }
h2 { font-size: clamp(28px, 4vw, 48px); line-height: 1.15; }
h3 { font-size: 17px; line-height: 1.35; letter-spacing: .01em; }

/* film grain for depth */
.grain {
  position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(4) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 14px 26px; border-radius: 999px; text-decoration: none; cursor: pointer;
  font: 600 15px/1 var(--body); letter-spacing: .04em; border: 1px solid transparent;
  transition: transform .2s, box-shadow .3s, background .3s, border-color .3s;
}
.btn:active { transform: scale(.97); }
.btn-gold {
  color: #17130b; background: linear-gradient(180deg, var(--gold-hi), var(--gold));
  box-shadow: 0 0 0 1px #ffe6b0 inset, 0 10px 30px -10px rgba(200, 169, 106, .7);
  position: relative; overflow: hidden;
}
.btn-gold::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  animation: sheen 4.5s ease-in-out infinite;
}
@keyframes sheen { 0%, 65% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.btn-gold:hover { box-shadow: 0 0 0 1px #ffe6b0 inset, 0 14px 40px -8px rgba(240, 213, 154, .85); transform: translateY(-2px); }
.btn-ghost { color: var(--text); border-color: #3a3c40; background: rgba(255, 255, 255, .02); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-hi); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-lg { padding: 18px 34px; font-size: 16px; width: 100%; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 32px;
  padding: 14px clamp(16px, 4vw, 40px);
  transition: background .3s, border-color .3s, padding .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(11, 12, 13, .78); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-color: var(--line); padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 400 15px var(--display); letter-spacing: .02em; }
.brand img { border-radius: 8px; }
.brand em { font-style: normal; color: var(--muted); }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--text); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; gap: 48px;
  padding: 120px clamp(20px, 4vw, 40px) 60px;
}
.hero-glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 400px at var(--mx, 70%) var(--my, 45%), rgba(200, 169, 106, .16), transparent 70%),
    radial-gradient(500px 300px at 80% 60%, rgba(141, 255, 106, .06), transparent 70%);
  transition: background .2s;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font: 500 13px var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
}
.hero h1 { font-size: clamp(26px, 3.4vw, 50px); line-height: 1.12; overflow-wrap: break-word; hyphens: manual; }
.shine {
  background: linear-gradient(100deg, var(--gold) 20%, #fff3d2 40%, var(--gold) 60%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 6s linear infinite;
}
@keyframes shine { from { background-position: 150% 0; } to { background-position: -100% 0; } }
.lead { font-size: 20px; color: #bdbab3; max-width: 34em; margin: 26px 0 34px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.formats { margin-top: 22px; color: var(--muted); font-size: 14px; letter-spacing: .04em; }

.led { width: 9px; height: 9px; border-radius: 50%; background: #4a3a1a; box-shadow: inset 0 0 0 1px #000; display: inline-block; }
.led-on { background: var(--amber); box-shadow: 0 0 10px var(--amber), 0 0 2px #fff inset; animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }

/* rack + LCD */
.rack {
  position: relative; padding: 26px 44px 22px;
  background: linear-gradient(180deg, #2a2c30, #1b1c1f 60%, #151618);
  border-radius: 10px; border: 1px solid #34363a;
  box-shadow: 0 1px 0 #44474c inset, 0 40px 80px -30px #000, 0 0 0 1px #000;
  transform: perspective(1200px) rotateY(-8deg) rotateX(4deg);
  transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}
.rack::before { /* brushed metal */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px);
}
.rack:hover { transform: perspective(1200px) rotateY(-2deg) rotateX(1deg); }
.rack-ear { position: absolute; top: 18px; bottom: 18px; width: 14px; border-radius: 8px; background: linear-gradient(90deg, #0f1011, #2f3135, #0f1011); }
.rack-ear.l { left: 12px; } .rack-ear.r { right: 12px; }
.rack-top { display: flex; align-items: baseline; gap: 14px; margin-bottom: 12px; }
.rack-logo { font: 400 28px var(--display); color: #f2f0ea; }
.rack-sub { font: 400 14px var(--display); color: #cfccc5; letter-spacing: .04em; }
.lcd {
  display: flex; gap: 14px; padding: 14px; border-radius: 6px;
  background: #050605; border: 1px solid #000; box-shadow: 0 0 0 2px #2b2d30, inset 0 2px 12px #000;
}
.seg { display: flex; gap: 6px; padding: 8px 10px; background: #160404; border-radius: 3px; }
.seg svg { width: 34px; height: 58px; }
.seg .s { fill: #3a0b08; transition: fill .15s; }
.seg .s.on { fill: var(--red); filter: drop-shadow(0 0 4px rgba(255, 59, 47, .9)); }
.matrix {
  flex: 1; position: relative; padding: 8px 12px; border-radius: 3px; overflow: hidden;
  background: var(--lcd-bg);
  font: 500 clamp(15px, 1.7vw, 22px)/1.35 "SF Mono", ui-monospace, Menlo, monospace; letter-spacing: .06em;
  color: var(--lcd); text-shadow: 0 0 6px rgba(141, 255, 106, .65);
}
.matrix::after { /* dot grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(0, 0, 0, .45) 35%, transparent 36%);
  background-size: 3px 3px;
}
.matrix::before { /* glass reflection */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 255, 255, .06), transparent 40%);
}
.row { display: flex; justify-content: space-between; gap: 1.4em; white-space: pre; min-height: 1.35em; }
.row span:first-child { overflow: hidden; text-overflow: clip; }
.row .right { text-align: right; }
.caret::after { content: "▌"; animation: blink 1s steps(1) infinite; margin-left: 1px; }

.rack-keys { display: flex; justify-content: space-between; margin-top: 18px; gap: 16px; }
.key-group, .units { display: flex; gap: 6px; padding: 4px; background: #0e0f10; border-radius: 6px; }
.key, .unit {
  width: 46px; height: 34px; border-radius: 4px; border: 1px solid #000; cursor: pointer;
  background: linear-gradient(180deg, #2c2e32, #17181a); color: #d9d6cf; font: 500 14px var(--display);
  box-shadow: 0 1px 0 #3f4247 inset; transition: transform .08s, color .2s;
}
.key:active, .unit:active { transform: translateY(1px); }
.unit.on { color: var(--amber); text-shadow: 0 0 8px rgba(255, 182, 58, .8); }
.rack-hint { margin: 12px 0 0; text-align: right; font-size: 12px; color: #6d6f73; letter-spacing: .08em; }

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line); background: #0d0e0f; padding: 18px 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; gap: 44px; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font: 400 15px var(--display); color: #6f7175; white-space: nowrap; letter-spacing: .06em; transition: color .3s; }
.marquee-track span:hover { color: var(--gold-hi); }
.marquee-track span.plus::after { content: "+"; color: var(--gold); margin-left: 4px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- hero shot ---------- */
.shot-wrap { max-width: 1320px; margin: 90px auto 0; padding: 0 clamp(16px, 3vw, 40px); perspective: 1600px; }
.shot {
  position: relative; margin: 0; border-radius: 16px; overflow: hidden;
  border: 1px solid #2f3135;
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .9), 0 0 120px -40px rgba(200, 169, 106, .35);
  transform: rotateX(var(--rx, 10deg)) rotateY(var(--ry, 0deg)) scale(var(--sc, .94));
  transition: transform .25s ease-out;
  will-change: transform;
}
.shot-shine {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(800px 400px at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .09), transparent 60%);
}

/* ---------- stats ---------- */
.stats {
  max-width: var(--max); margin: 90px auto 0; padding: 0 clamp(20px, 4vw, 40px);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stats div + div { border-left: 1px solid var(--line); }
.stats div { padding: 34px 22px; text-align: center; border-block: 1px solid var(--line); }
.stats b { display: block; font: 400 clamp(36px, 4.4vw, 56px)/1 var(--display); color: var(--gold-hi); }
.stats span { display: block; margin-top: 12px; color: var(--muted); font-size: 15px; }

/* ---------- sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: 140px clamp(20px, 4vw, 40px) 0; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.sub { color: #a9a6a0; font-size: 19px; margin: 20px 0 0; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  position: relative; padding: 28px 24px; border-radius: var(--radius);
  background: linear-gradient(180deg, #18191c, #121315); border: 1px solid var(--line);
  transition: transform .35s, border-color .35s, box-shadow .35s; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .35s; pointer-events: none;
  background: radial-gradient(300px 200px at var(--cx, 50%) var(--cy, 0%), rgba(200, 169, 106, .14), transparent 70%);
}
.card:hover { transform: translateY(-6px); border-color: #4a4232; box-shadow: 0 30px 60px -30px #000; }
.card:hover::before { opacity: 1; }
.card-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #221f18; border: 1px solid #3b3426; margin-bottom: 20px; }
.card-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--gold-hi); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card p { color: #9c9a95; font-size: 15.5px; margin: 10px 0 0; line-height: 1.55; }

/* turn it */
.turn { display: grid; grid-template-columns: .7fr 1.3fr; gap: 60px; align-items: center; }
.readout { list-style: none; padding: 0; margin: 34px 0 0; border-top: 1px solid var(--line); }
.readout li { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.readout b { font: 400 16px var(--display); color: var(--lcd); text-shadow: 0 0 8px rgba(141, 255, 106, .5); }
.turn-stage {
  position: relative; border-radius: 20px; padding: 34px; overflow: hidden;
  background: radial-gradient(500px 300px at 20% 30%, #1d1e21, #111214); border: 1px solid var(--line);
  display: grid; grid-template-columns: 200px 1fr; gap: 26px; align-items: center;
}
.knob-wrap { display: grid; justify-items: center; gap: 10px; }
.knob { width: 190px; height: 190px; cursor: ns-resize; touch-action: none; outline: none; filter: drop-shadow(0 18px 20px rgba(0, 0, 0, .6)); }
.knob:focus-visible { filter: drop-shadow(0 0 10px rgba(200, 169, 106, .7)); }
.knob-label { font: 400 14px var(--display); letter-spacing: .14em; color: #cfccc5; }
#echo { width: 100%; height: auto; border-radius: 10px; background: #070807; border: 1px solid #1d1f1c; }

/* daw timeline */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; top: 22px; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.timeline li { padding: 0 26px 0 0; position: relative; }
.tl-n {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--gold); color: var(--gold-hi); font: 400 14px var(--display);
  box-shadow: 0 0 0 6px var(--bg); margin-bottom: 24px;
}
.timeline p { color: #9c9a95; font-size: 15.5px; margin: 10px 0 0; }

/* routing */
.cfg-tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: #121315; border: 1px solid var(--line); margin-bottom: 28px; }
.cfg { border: 0; background: transparent; color: var(--muted); font: 500 14px var(--body); letter-spacing: .06em; padding: 10px 20px; border-radius: 999px; cursor: pointer; transition: background .25s, color .25s; }
.cfg.on { background: #2a251a; color: var(--gold-hi); box-shadow: 0 0 0 1px #4d4230 inset; }
.flow { border-radius: 20px; padding: 26px; background: linear-gradient(180deg, #17181b, #121315); border: 1px solid var(--line); }
#flow { width: 100%; height: auto; display: block; }
#flow .wire { fill: none; stroke: #6b5b3a; stroke-width: 2; }
#flow .pulse { fill: none; stroke: var(--gold-hi); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 6 60; animation: flow 1.6s linear infinite; filter: drop-shadow(0 0 4px rgba(240, 213, 154, .9)); }
@keyframes flow { to { stroke-dashoffset: -66; } }
#flow .jack rect { fill: #0f1011; stroke: var(--gold); stroke-width: 1.5; }
#flow .unitbox rect { fill: #24262a; stroke: var(--gold); stroke-width: 1.5; }
#flow text { font-family: var(--display); fill: #e6e3dc; }
#flow .algo { font-family: var(--body); fill: #9c9a95; font-size: 15px; }
#flow g { transition: opacity .4s; }
.flow-cap { margin: 18px 4px 0; color: var(--muted); font-size: 15px; min-height: 1.6em; }

/* tour */
.tour-tabs { position: relative; display: inline-flex; gap: 26px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.tt { border: 0; background: none; color: var(--muted); font: 500 16px var(--body); padding: 0 0 14px; cursor: pointer; letter-spacing: .04em; transition: color .2s; }
.tt.on { color: var(--text); }
.tt-bar { position: absolute; bottom: -1px; height: 2px; background: var(--gold); transition: left .4s cubic-bezier(.2, .8, .2, 1), width .4s; }
.tt-bar::after { content: ""; position: absolute; inset: 0; background: var(--gold-hi); transform-origin: left; transform: scaleX(var(--p, 0)); }
.tour-stage { position: relative; display: grid; }
.tour-shot { grid-area: 1 / 1; margin: 0; opacity: 0; transform: translateY(16px) scale(.985); transition: opacity .6s, transform .6s; pointer-events: none; }
.tour-shot.on { opacity: 1; transform: none; pointer-events: auto; }
.tour-shot img { border-radius: 14px; border: 1px solid #2f3135; box-shadow: 0 40px 90px -40px #000; }
.tour-shot figcaption { margin-top: 20px; color: #a9a6a0; max-width: 820px; }
.tour-shot figcaption b { color: var(--text); font-weight: 600; }

/* specs */
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 60px; }
.spec-grid dl { margin: 0; }
.spec-grid dt { color: var(--gold); font: 500 13px var(--body); letter-spacing: .18em; text-transform: uppercase; padding-top: 22px; border-top: 1px solid var(--line); }
.spec-grid dd { margin: 6px 0 22px; font-size: 18px; }

/* buy */
.buy-card {
  position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: center;
  padding: 54px; border-radius: 24px; overflow: hidden;
  background: radial-gradient(700px 400px at 0% 0%, #2a2417, #141416 60%); border: 1px solid #3d3527;
  box-shadow: 0 60px 120px -50px rgba(200, 169, 106, .35);
}
.buy-card::before {
  content: ""; position: absolute; inset: -2px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--ang, 0deg), transparent 0 70%, var(--gold-hi) 80%, transparent 90%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 6s linear infinite;
}
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --ang: 360deg; } }
.buy-left { display: flex; gap: 30px; align-items: flex-start; }
.buy-left img { border-radius: 22px; box-shadow: 0 20px 40px -10px #000; flex: none; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.checks li { padding-left: 26px; position: relative; color: #c5c2bb; font-size: 16px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.buy-right { display: grid; gap: 14px; }
.price { margin: 0 0 6px; display: flex; align-items: baseline; justify-content: space-between; }
.price span { color: var(--muted); letter-spacing: .14em; text-transform: uppercase; font-size: 13px; }
.price b { font: 400 34px var(--display); color: var(--gold-hi); }
.fine { margin: 6px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; }

/* faq */
.faq-list { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font: 500 19px var(--body); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 18px; font: 300 28px var(--body); color: var(--gold); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 24px; color: #a9a6a0; max-width: 46em; }

/* footer */
.foot { max-width: var(--max); margin: 160px auto 0; padding: 40px clamp(20px, 4vw, 40px) 50px; border-top: 1px solid var(--line); }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 24px; }
.foot nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.foot nav a:hover { color: var(--text); }
.legal { color: #5f6165; font-size: 12.5px; margin: 30px 0 0; max-width: 70em; }

/* modal */
.modal { border: 1px solid #3d3527; border-radius: 20px; padding: 40px 44px; background: #151517; color: var(--text); text-align: center; max-width: 420px; box-shadow: 0 40px 100px -20px #000; }
.modal::backdrop { background: rgba(5, 5, 6, .7); backdrop-filter: blur(6px); }
.modal[open] { animation: pop .35s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes pop { from { opacity: 0; transform: scale(.92) translateY(10px); } }
.modal img { margin: 0 auto 18px; border-radius: 14px; }
.modal p { color: #a9a6a0; margin: 12px 0 26px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.rack.reveal.in { transform: perspective(1200px) rotateY(-8deg) rotateX(4deg); }
.rack.reveal.in:hover { transform: perspective(1200px) rotateY(-2deg) rotateX(1deg); }
.shot.reveal.in { transform: rotateX(var(--rx, 10deg)) rotateY(var(--ry, 0deg)) scale(var(--sc, .94)); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 110px; min-height: auto; }
  .rack, .rack.reveal.in, .rack.reveal.in:hover { transform: none; }
  .turn, .turn-stage { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .timeline::before { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .buy-card { grid-template-columns: 1fr; padding: 34px; }
  .spec-grid { grid-template-columns: 1fr; }
  .section { padding-top: 100px; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .cards, .timeline, .checks { grid-template-columns: 1fr; }
  .rack { padding: 20px 28px 18px; }
  .seg svg { width: 22px; height: 38px; }
  .rack-keys { flex-direction: column; }
  .buy-left { flex-direction: column; }
  .cfg-tabs { display: flex; width: 100%; }
  .cfg { flex: 1; padding: 10px 6px; font-size: 13px; letter-spacing: .02em; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* remote, not emulation */
.remote strong, .lead strong { color: var(--text); font-weight: 600; }
.chain {
  display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: 0;
  padding: 40px 34px; border-radius: 20px; background: linear-gradient(180deg, #17181b, #121315); border: 1px solid var(--line);
}
.node { position: relative; display: grid; gap: 6px; padding: 20px 24px; border-radius: 14px; background: #1f2023; border: 1px solid #3a3c40; min-width: 170px; }
.node.hw { border-color: var(--gold); box-shadow: 0 0 40px -12px rgba(200, 169, 106, .55); background: linear-gradient(180deg, #2a2c30, #1b1c1f); }
.node-k { font: 500 12px var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.node-v { font: 400 15px var(--display); color: var(--text); }
.node-led { position: absolute; top: 14px; right: 14px; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); animation: blink 1.6s ease-in-out infinite; }
.link { display: grid; gap: 8px; justify-items: center; padding: 0 14px; }
.link-label { font: 500 12px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); }
.link-label.dim { color: var(--muted); letter-spacing: .04em; text-transform: none; font-size: 13px; }
.link-line { position: relative; width: 100%; height: 2px; background: #3b3426; overflow: hidden; }
.link-line i { position: absolute; top: -2px; width: 22px; height: 6px; border-radius: 3px; background: var(--gold-hi); box-shadow: 0 0 10px var(--gold-hi); animation: travel 2.2s linear infinite; }
.link-line i:nth-child(2) { animation-delay: -.73s; } .link-line i:nth-child(3) { animation-delay: -1.46s; }
.link-line.audio { background: #1f3a1a; }
.link-line.audio i { background: var(--lcd); box-shadow: 0 0 10px var(--lcd); height: 6px; }
@keyframes travel { from { left: -10%; } to { left: 105%; } }
.remote-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 44px; }
.remote-points p { color: #9c9a95; font-size: 15.5px; margin: 10px 0 0; }
@media (max-width: 1080px) {
  .chain { grid-template-columns: 1fr; gap: 14px; justify-items: stretch; }
  .link { padding: 6px 0; }
  .link-line { height: 40px; width: 2px; justify-self: center; }
  .link-line i { left: -2px !important; width: 6px; height: 16px; animation-name: travel-y; }
  .remote-points { grid-template-columns: 1fr; }
}
@keyframes travel-y { from { top: -20%; } to { top: 105%; } }
