/* TuneX coming-soon site. Dark "instrument cluster at night" look; the page accent (--acc) follows the hero knob's
   theme colour as it changes, so the whole page re-tints with the knob. Knob simulator styles: section "KNOB". */
@property --acc { syntax: "<color>"; inherits: true; initial-value: #1ae8ff; }
@property --acc2 { syntax: "<color>"; inherits: true; initial-value: #1a6cff; }
:root {
  --acc: #1ae8ff;
  --acc2: #1a6cff;
  --bg: #050507;
  --bg-2: #0b0c10;
  --panel: #0f1116;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #f1f1ee;
  --muted: #8d919b;
  --amber: #ffb020;
  --ok: #3ddc84;
  --head: "Exo 2", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ui: "Montserrat", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  transition: --acc 1.2s ease, --acc2 1.2s ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--acc); }
h1, h2, h3 { font-family: var(--head); line-height: 1.02; margin: 0 0 .5em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; font-style: italic; letter-spacing: -.015em; text-transform: uppercase; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.amber { color: var(--amber); font-weight: 700; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .9em 1.6em; border: 1px solid var(--acc); border-radius: 4px; cursor: pointer; overflow: hidden;
  background: var(--acc); color: #050507; font: 700 .95rem var(--head); letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s, background .3s, color .3s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 40px -10px var(--acc); }
.btn::after {               /* light sweep across the button */
  content: ""; position: absolute; inset: 0; transform: translateX(-120%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent);
}
.btn:hover::after { transform: translateX(120%) skewX(-20deg); transition: transform .6s var(--ease); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--acc); color: var(--acc); }
.btn-sm { padding: .55em 1.1em; font-size: .78rem; }
.btn:focus-visible, button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--acc); outline-offset: 3px;
}

/* ================================================================ LOADER (the knob's boot screen) */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  transition: opacity .7s var(--ease) .15s, visibility 0s .9s;
}
.loader-disc { position: relative; width: min(300px, 62vw); aspect-ratio: 1; border-radius: 50%; transition: transform .9s var(--ease); }
.loader-disc img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; animation: bootIn 1.2s var(--ease) .15s both; }
.loader-ring {
  position: absolute; inset: -14px; border-radius: 50%;
  background: conic-gradient(from 200deg, transparent 0, #1a6cff 60deg, #1ae8ff 160deg, transparent 161deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation: spin 1.4s linear infinite; filter: drop-shadow(0 0 8px #1ae8ff);
}
.loader-bar { width: 160px; height: 2px; background: var(--line); overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 100%; background: #1ae8ff; transform-origin: left; animation: load 1.8s var(--ease) both; }
.loader-txt { font: 600 .7rem var(--ui); letter-spacing: .4em; text-transform: uppercase; color: var(--muted); margin: 0; }
body.loaded .loader { opacity: 0; visibility: hidden; pointer-events: none; }
body.loaded .loader-disc { transform: scale(2.4); }
@keyframes bootIn { from { opacity: 0; transform: scale(.82) rotate(-25deg); filter: blur(6px); } }
@keyframes load { from { transform: scaleX(0); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ================================================================ TICKER + TOP BAR */
.ticker {
  position: relative; z-index: 21; height: 34px; overflow: hidden; background: #000; display: flex; align-items: center; justify-content: center; gap: 1.2em;
  border-bottom: 1px solid var(--line); font: 600 .72rem/34px var(--ui); letter-spacing: .24em; text-transform: uppercase; color: #c9cbd1; white-space: nowrap;
}
.ticker b { color: #050507; background: var(--acc); padding: 0 .9em; letter-spacing: .3em; }
.ticker em { font-style: normal; }

.topbar { position: sticky; top: 0; z-index: 20; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.topbar.solid { background: rgba(5, 5, 7, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.topbar-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand img { width: 120px; }
.top-btns { display: flex; gap: 8px; flex: none; }
.dl-ico { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { position: relative; color: var(--muted); text-decoration: none; font: 600 .78rem var(--ui); letter-spacing: .16em; text-transform: uppercase; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--acc); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover { color: var(--text); }
.nav a:hover::after { transform: scaleX(1); }

/* ================================================================ HERO */
.hero {
  position: relative; min-height: calc(100svh - 34px); margin-top: -64px; padding: 96px 24px 64px;
  display: grid; grid-template-rows: 1fr auto; justify-items: center; align-items: center; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-glow {
  position: absolute; left: 50%; top: 42%; width: min(1100px, 140vw); aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--acc) 26%, transparent), color-mix(in srgb, var(--acc2) 10%, transparent) 55%, transparent 72%);
  animation: breathe 6s ease-in-out infinite;
}
.hero-grid {
  position: absolute; left: -50%; right: -50%; bottom: -6%; height: 52%;
  background-image: linear-gradient(color-mix(in srgb, var(--acc) 30%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--acc) 22%, transparent) 1px, transparent 1px);
  background-size: 64px 64px; transform: perspective(420px) rotateX(64deg); transform-origin: bottom;
  -webkit-mask: linear-gradient(transparent, #000 70%); mask: linear-gradient(transparent, #000 70%);
  animation: road 2.4s linear infinite; opacity: .55;
}
@keyframes road { to { background-position: 0 64px; } }
@keyframes breathe { 50% { opacity: .65; transform: translate(-50%, -50%) scale(1.06); } }

.hero-title {
  position: absolute; z-index: 0; left: 50%; top: calc(var(--hk) / 2); width: min(1440px, 100vw); margin: 0; padding: 0 40px;
  transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: space-between; pointer-events: none;
  font: italic 900 clamp(2.6rem, 5.6vw, 6rem)/.9 var(--head); letter-spacing: -.03em; text-transform: uppercase;
}
.ht-l, .ht-r { display: flex; flex-direction: column; }
.ht-l { align-items: flex-start; }
/* Solid accent + glow, not an outline: -webkit-text-stroke on this italic font draws every glyph's overlapping
   inner contours, so the letters looked broken / joined (user 2026-11-16). */
.ht-r { align-items: flex-end; color: var(--acc); filter: drop-shadow(0 0 16px color-mix(in srgb, var(--acc) 45%, transparent)); }
/* glow on the column (filter), not text-shadow: each word clips its own overflow for the intro animation */
.hero-title .w { display: block; overflow: hidden; padding: 0 .1em .06em 0; }
.hero-title .ch { display: inline-block; transform: translateY(105%) skewY(8deg); }
body.loaded .hero-title .ch { animation: chIn .9s var(--ease) forwards; animation-delay: calc(var(--i) * 34ms + .35s); }
body.no-intro .hero-title .ch { animation-delay: calc(var(--i) * 20ms); }
@keyframes chIn { to { transform: none; } }

.hero-stage { --hk: min(460px, 40vw, 56svh); position: relative; z-index: 2; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 22px; perspective: 1200px; }
.hero-tilt { position: relative; z-index: 1; }
.hero-tilt { transform-style: preserve-3d; will-change: transform; }
.kb.knob-hero { --k: var(--hk); }
body.loaded .knob-hero { animation: knobIn 1.3s var(--ease) both .1s; }
@keyframes knobIn { from { opacity: 0; transform: scale(.55) rotate(-70deg); } }
.hero-now {
  display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 7px 16px; border: 1px solid var(--line-2); border-radius: 999px;
  background: rgba(0, 0, 0, .5); backdrop-filter: blur(6px); font: 600 .74rem var(--ui); letter-spacing: .2em; text-transform: uppercase; color: #d9dbe0;
  min-width: 16em; justify-content: center; overflow: hidden;
}
.hero-now .led { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 10px var(--acc); animation: blink 1.6s infinite; }
#heroNowTxt { display: inline-block; }
#heroNowTxt.in { animation: capIn .45s var(--ease); }
@keyframes capIn { from { transform: translateY(100%); opacity: 0; } }
@keyframes blink { 50% { opacity: .3; } }
.hero-foot { position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; width: 100%; max-width: 1200px; padding-top: 28px; }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 33em; margin: 0; }
.hand-line { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; font: 600 .74rem var(--ui); letter-spacing: .16em; text-transform: uppercase; color: var(--text); }
.hand-line .led { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--acc); box-shadow: 0 0 10px var(--acc); }
.built-note { margin: 40px 0 0; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
body.loaded .hero-foot > * { animation: fadeUp .9s var(--ease) both 1s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } }
.scroll-cue { position: absolute; left: 50%; bottom: 14px; z-index: 2; width: 22px; height: 34px; margin-left: -11px; border: 1px solid var(--line-2); border-radius: 12px; }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 2px; height: 7px; margin-left: -1px; background: var(--acc); border-radius: 2px; animation: cue 1.8s infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ================================================================ KNOB (sim.js renders inside) */
.kb { --k: 420px; position: relative; width: var(--k); height: var(--k); flex: none; user-select: none; -webkit-user-select: none; }
.kb-leds { position: absolute; inset: -12%; pointer-events: none; mix-blend-mode: screen; }
.kb-leds::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; box-shadow: 0 0 calc(var(--k) * .16) calc(var(--k) * .03) var(--glow, transparent); }
.kb-leds i { position: absolute; width: 48%; height: 48%; transform: translate(-50%, -50%); border-radius: 50%; filter: blur(calc(var(--k) * .03)); }
.kb-leds i:nth-child(1) { left: 50%;   top: 82%; }
.kb-leds i:nth-child(2) { left: 19.6%; top: 59.9%; }
.kb-leds i:nth-child(3) { left: 31.2%; top: 24.1%; }
.kb-leds i:nth-child(4) { left: 68.8%; top: 24.1%; }
.kb-leds i:nth-child(5) { left: 80.4%; top: 59.9%; }
.kb-body { position: absolute; inset: 0; border-radius: 50%; transition: transform .12s; }
.kb.pressed .kb-body { transform: scale(.982); }
.kb-grip {
  position: absolute; inset: 0; border-radius: 50%; touch-action: none; transition: transform .14s var(--ease);
  background:
    radial-gradient(closest-side, transparent 88%, rgba(0, 0, 0, .55) 97%, transparent),
    repeating-conic-gradient(from 0deg, #30343b 0 1.6deg, #121418 1.6deg 3.2deg);
  box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .95), inset 0 0 0 1px rgba(255, 255, 255, .07);
}
[data-knob="try"] .kb-grip { cursor: grab; }
[data-knob="try"] .kb-grip:active { cursor: grabbing; }
.kb-body::after {           /* metal sheen over the knurling (doesn't turn) */
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: linear-gradient(140deg, rgba(255, 255, 255, .22), transparent 32%, transparent 64%, rgba(255, 255, 255, .08));
}
.kb-bezel {
  position: absolute; inset: 8.5%; z-index: 1; border-radius: 50%; background: #000; overflow: hidden;
  box-shadow: 0 0 0 calc(var(--k) * .006) #050506, 0 0 0 calc(var(--k) * .016) #2a2d33, 0 0 0 calc(var(--k) * .02) #0a0b0d;
}
.kb-bezel::after {          /* glass reflection */
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; z-index: 5;
  background: linear-gradient(155deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .02) 34%, transparent 48%);
}
.kb-scaler { position: absolute; left: 0; top: 0; width: 240px; height: 240px; transform-origin: 0 0; }
.kb-screen {
  position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: #000; isolation: isolate;
  font-family: var(--ui); font-weight: 500; color: #fff; transition: filter .3s;
}
.kb-scr, .kb-ov, .kb-top { position: absolute; inset: 0; }
.kb-ov { opacity: 0; pointer-events: none; transition: opacity .25s; }
.kb-ov.show, .kb-ov.cut { transition: none; }
.kb-ov.show { opacity: 1; }
.kb-top { pointer-events: none; opacity: 0; transition: opacity .25s; }
.kb-top.show { opacity: 1; }
.kb-touch { position: absolute; inset: 0; border-radius: 50%; cursor: pointer; touch-action: none; z-index: 6; }
.kb-finger {
  position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; pointer-events: none;
  background: rgba(255, 255, 255, .22); box-shadow: 0 0 0 2px rgba(255, 255, 255, .5); opacity: 0; transition: opacity .15s;
}
.kb-finger.show { opacity: 1; }

/* screen elements: positioned like LVGL (centre offset), 240 x 240 px */
.s-el { position: absolute; transform: translate(-50%, -50%); white-space: nowrap; line-height: 1.18; }
.s-t { text-align: center; }
.s-w { overflow: hidden; }
.s-dot1 { text-overflow: ellipsis; }
.s-scroll .mq { display: inline-block; }
.s-scroll.run { text-align: left; }
.s-scroll.run .mq { animation: mq 10s linear infinite 1s; }
.s-scroll .gap { display: inline-block; width: 40px; }
@keyframes mq { to { transform: translateX(calc(-1 * var(--d))); } }
.bk { background: rgba(0, 0, 0, .69); border-radius: 12px; padding: 3px 8px; }
.s-bg, .s-bgimg { position: absolute; inset: 0; width: 240px; height: 240px; }
.s-arc { position: absolute; left: 0; top: 0; width: 240px; height: 240px; overflow: visible; pointer-events: none; }
.s-arc .ind { transform-origin: 120px 120px; transition: stroke-dasharray .16s ease-out, transform .16s ease-out, opacity .16s, stroke .25s; }
.s-orbits svg { position: absolute; inset: 0; width: 240px; height: 240px; }
.s-orbits .o1 { opacity: .43; animation: spin 14s linear infinite; }
.s-orbits .o2 { opacity: .27; animation: spin 22s linear infinite reverse; }
.s-row { display: flex; align-items: center; gap: 10px; }
.sy { display: block; }
.s-row .sy, .s-num .sy, .s-t .sy, .s-pill .sy { display: inline-block; vertical-align: -2px; }
.s-ledic { width: 24px; height: 24px; }
.s-prog { width: 104px; height: 4px; border-radius: 2px; background: #404040; overflow: hidden; }
.s-prog i { display: block; height: 100%; border-radius: 2px; transition: width 1s linear; }
.s-title { animation: titleIn .35s ease-out; }
@keyframes titleIn { from { margin-top: 20px; opacity: 0; } }
.s-app { border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.s-app img { width: 40px; height: 40px; }
.s-app .badge { position: absolute; left: 50%; top: 50%; transform: translate(4px, 4px); }
.s-num { display: flex; align-items: flex-end; gap: 3px; line-height: 1; }
.s-num .u { color: #b0b0b0; }
.s-pill { display: flex; align-items: center; justify-content: center; width: 176px; height: 50px; border: 2px solid; border-radius: 25px; transition: background .2s, color .2s; }
.s-divl { width: 100px; height: 1px; background: #464646; }
.s-c { border-radius: 50%; transition: left .12s, top .12s, background .2s, width .2s, height .2s; }
.s-hue {
  position: absolute; inset: 0; background: conic-gradient(#f00, #ff0, #0f0, #0ff, #00f, #f0f, #f00);
  -webkit-mask: radial-gradient(circle, transparent 100.5px, #000 101.5px, #000 116.5px, transparent 117.5px);
  mask: radial-gradient(circle, transparent 100.5px, #000 101.5px, #000 116.5px, transparent 117.5px);
}
.s-swatch { display: flex; align-items: center; justify-content: center; width: 112px; height: 112px; border-radius: 50%; transition: background .2s, opacity .2s; }
.s-lines { width: 168px; height: 58px; border-top: 1px solid #4a4a4a; border-bottom: 1px solid #4a4a4a; }
.s-hdr { background: #000; border-radius: 12px; padding: 4px 12px; }
[data-s="menu"] .s-t { transition: left .16s ease-out, top .16s ease-out, opacity .16s, font-size .16s; }
@keyframes pop { 0% { transform: translate(-50%, -50%) scale(.7); } 70% { transform: translate(-50%, -50%) scale(1.08); } }
.s-qr { background: #fff; padding: 4px; line-height: 0; }
.s-qr svg { fill: #000; }
.s-pulse { position: absolute; inset: 0; border-radius: 50%; animation: ringPulse 1.4s ease-out infinite; }
@keyframes ringPulse { 0% { box-shadow: inset 0 0 0 0 rgba(32, 255, 64, .45); } 100% { box-shadow: inset 0 0 0 46px rgba(32, 255, 64, 0); } }
.s-ring-ic { animation: wiggle 1.4s ease-in-out infinite; }
@keyframes wiggle { 0%, 60%, 100% { transform: translate(-50%, -50%) rotate(0); } 10%, 30%, 50% { transform: translate(-50%, -50%) rotate(-12deg); } 20%, 40% { transform: translate(-50%, -50%) rotate(12deg); } }
.s-ovbg { position: absolute; inset: 0; background: #000; border-radius: 50%; }
.s-slide { animation: slideIn .28s ease-out; }
@keyframes slideIn { from { transform: translate(calc(-50% + var(--from)), -50%); } }
.s-bump { animation: bump .22s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes bump { from { transform: translate(-50%, -80%); } }
.s-boot { position: absolute; inset: 0; }
.s-boot img { width: 240px; height: 240px; animation: bootIn 1.1s var(--ease) both; }
.s-toast {
  position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); max-width: 190px; padding: 6px 12px;
  background: #202020; border-radius: 12px; font-size: 14px; text-align: center; white-space: nowrap;
}
.kb-press {
  position: absolute; left: 50%; top: 26px; z-index: 4; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 6px 12px; border-radius: 14px; background: rgba(16, 16, 16, .88); font-size: 14px; opacity: 0; transition: opacity .18s; pointer-events: none; white-space: nowrap;
}
.kb-press.show { opacity: 1; transition: none; }
.kb-press .pd { display: flex; gap: 7px; }
.kb-press .pd i { width: 11px; height: 11px; border-radius: 50%; border: 2px solid #808080; }
.kb-press b { font-weight: 500; }
.kb-press small { font-size: 12px; color: #9a9a9a; }

/* ================================================================ STORY */
.story { position: relative; padding: 40px 0 80px; }
.story-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
.story-stick { position: sticky; top: calc(50svh - min(210px, 19vw, 31svh) + 30px); align-self: start; display: flex; align-items: center; gap: 28px; justify-content: center; }
.kb.knob-story { --k: min(420px, 38vw, 62svh); }
.story-rail { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font: 600 .72rem var(--ui); letter-spacing: .16em; color: #4a4d55; }
.story-rail li { position: relative; padding-left: 18px; cursor: pointer; transition: color .3s; }
.story-rail li::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 2px; background: currentColor; transition: width .3s var(--ease); }
.story-rail li.on { color: var(--acc); }
.story-rail li.on::before { width: 14px; }
.chapter { min-height: 82svh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; opacity: .28; transition: opacity .5s; }
.chapter.active { opacity: 1; }
.chapter > * { transform: translateX(70px); opacity: 0; transition: transform 1s var(--ease), opacity 1s var(--ease); }
.chapter.in > * { transform: none; opacity: 1; }
.chapter.in > *:nth-child(2) { transition-delay: .08s; }
.chapter.in > *:nth-child(3) { transition-delay: .16s; }
.chapter.in > *:nth-child(n+4) { transition-delay: .24s; }
.ch-num { font: 600 .75rem var(--ui); letter-spacing: .3em; text-transform: uppercase; color: var(--acc); margin-bottom: 18px; }
.chapter h2 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); }
.chapter p { color: var(--muted); font-size: 1.08rem; max-width: 30em; }
.ch-list { list-style: none; padding: 0; margin: 4px 0 16px; display: grid; gap: 8px; }
.ch-list li { position: relative; padding-left: 22px; color: #cfd1d6; }
.ch-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 2px; background: var(--acc); }
.fn { font-size: .88rem !important; color: var(--muted); }
.theme-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.theme-chips button {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border: 1px solid var(--line-2); border-radius: 999px;
  background: transparent; color: #cfd1d6; font: 500 .8rem var(--body); cursor: pointer; transition: border-color .2s, transform .2s;
}
.theme-chips button::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, var(--a), var(--b)); box-shadow: 0 0 10px var(--a); }
.theme-chips button:hover, .theme-chips button[aria-pressed="true"] { border-color: var(--a); transform: translateY(-1px); }

/* ================================================================ SECTIONS */
.section { position: relative; padding: 110px 0; }
.sec-head { max-width: 760px; margin-bottom: 48px; }
.sec-head p { color: var(--muted); font-size: 1.08rem; }
.kicker { display: inline-block; font: 600 .75rem var(--ui); letter-spacing: .3em; text-transform: uppercase; color: var(--acc); margin-bottom: 14px; }
.kicker::before { content: ""; display: inline-block; width: 26px; height: 2px; margin-right: 12px; vertical-align: middle; background: var(--acc); }

/* TRY IT */
.try { background: linear-gradient(180deg, transparent, #08090d 12%, #08090d 88%, transparent); }
.try-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.try-stage { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.kb.knob-try { --k: min(460px, 80vw); margin: 5% 0; }
.turn-row { display: flex; align-items: center; gap: 10px; width: min(460px, 100%); }
.turn-step {
  flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--panel); color: var(--text); cursor: pointer;
  display: grid; place-items: center; transition: border-color .2s, transform .1s;
}
.turn-step svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.turn-step:hover { border-color: var(--acc); }
.turn-step:active { transform: scale(.94); }
.turn-bar { position: relative; flex: 1; height: 46px; border-radius: 23px; background: var(--panel); border: 1px solid var(--line-2); cursor: ew-resize; touch-action: none; overflow: hidden; }
.turn-bar::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 9px, rgba(255, 255, 255, .06) 9px 10px); }
.turn-lbl { position: absolute; inset: 0 18px; display: flex; align-items: center; justify-content: space-between; font: 600 .66rem var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); pointer-events: none; }
.turn-thumb { position: absolute; left: 50%; top: 4px; width: 38px; height: 36px; margin-left: -19px; border-radius: 18px; background: var(--acc); box-shadow: 0 0 18px var(--acc); transition: transform .35s cubic-bezier(.3, 1.5, .5, 1); }
.press-btn {
  display: flex; flex-direction: column; align-items: center; gap: 2px; width: min(460px, 100%); padding: 14px; border-radius: 6px; cursor: pointer;
  border: 1px solid var(--acc); background: color-mix(in srgb, var(--acc) 12%, transparent); color: var(--text); transition: transform .08s, background .15s;
  touch-action: manipulation; user-select: none; -webkit-user-select: none;
}
.press-btn span { font: 800 1rem var(--head); letter-spacing: .14em; text-transform: uppercase; }
.press-btn small { color: var(--muted); font-size: .76rem; }
.press-btn.down { transform: scale(.98); background: color-mix(in srgb, var(--acc) 30%, transparent); }
.try-panel { padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: rgba(15, 17, 22, .7); }
.try-panel h3 { font: 600 .72rem var(--ui); letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.try-panel h3:not(:first-child) { margin-top: 26px; }
.hints { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.hints li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; background: #0c0d11; font-size: .9rem; animation: fadeUp .35s var(--ease) both; }
.hints li:nth-child(2) { animation-delay: .03s; } .hints li:nth-child(3) { animation-delay: .06s; } .hints li:nth-child(4) { animation-delay: .09s; }
.hints li:nth-child(n+5) { animation-delay: .12s; }
.hints b { color: var(--acc); font-weight: 600; }
.hints span { color: #cfd1d6; text-align: right; }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line-2); border-radius: 6px; overflow: hidden; }
.seg button { padding: 10px 6px; border: 0; border-right: 1px solid var(--line-2); background: transparent; color: #cfd1d6; font: 500 .82rem var(--body); cursor: pointer; transition: background .2s, color .2s; }
.seg button:last-child { border-right: 0; }
.seg button[aria-pressed="true"] { background: var(--acc); color: #050507; font-weight: 600; }
.switch { position: relative; display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: .9rem; color: #cfd1d6; cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch span { position: relative; flex: none; width: 38px; height: 22px; border-radius: 11px; background: #23262d; transition: background .2s; }
.switch span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); }
.switch input:checked + span { background: var(--acc); }
.switch input:checked + span::after { transform: translateX(16px); }
.switch input:focus-visible + span { outline: 2px solid var(--acc); outline-offset: 2px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; }
.jump button { padding: 7px 13px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: #cfd1d6; font: 500 .82rem var(--body); cursor: pointer; transition: border-color .2s, color .2s; }
.jump button:hover { border-color: var(--acc); color: var(--text); }
.note { color: var(--muted); font-size: .88rem; margin-top: 22px; }

/* COMPATIBILITY */
.tabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line-2); border-radius: 6px; margin-bottom: 28px; }
.tabs button { padding: 10px 20px; border: 0; border-radius: 4px; background: transparent; color: var(--muted); font: 600 .78rem var(--ui); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: background .25s, color .25s; }
.tabs button[aria-selected="true"] { background: var(--acc); color: #050507; }
.panel.swap .row { animation: rowIn .6s var(--ease) both; }
.panel.swap .row:nth-child(2) { animation-delay: .06s; } .panel.swap .row:nth-child(3) { animation-delay: .12s; }
.panel.swap .row:nth-child(4) { animation-delay: .18s; } .panel.swap .row:nth-child(5) { animation-delay: .24s; }
@keyframes rowIn { from { opacity: 0; transform: translateX(40px); } }
.spec { border-top: 1px solid var(--line-2); }
.row {
  position: relative; display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr); grid-template-areas: "h chips" "port note" ". tested" ". fn";
  gap: 6px 36px; padding: 26px 0 26px 20px; border-bottom: 1px solid var(--line);
}
.row::before { content: ""; position: absolute; left: 0; top: 26px; bottom: 26px; width: 2px; background: var(--acc); transform: scaleY(.25); transform-origin: top; transition: transform .4s var(--ease); }
.row:hover::before { transform: scaleY(1); }
.row-h { grid-area: h; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.row-h h3 { font-size: 1.3rem; margin: 0; }
.row .port { grid-area: port; color: var(--muted); font-size: .9rem; margin: 0; }
.row .chips { grid-area: chips; }
.row .note { grid-area: note; margin: 6px 0 0; }
.row .fn { grid-area: fn; margin: 0; }
.row .tested { grid-area: tested; margin: 2px 0 0; font-size: .88rem; color: #cfd2d8; }
.row .tested b { color: var(--ok); font-weight: 600; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; align-content: flex-start; }
.chips li { padding: 5px 11px; border: 1px solid var(--line-2); border-radius: 4px; font-size: .85rem; color: #d8dade; }
.chips sup { color: var(--amber); font-weight: 700; }
.tag { padding: 3px 9px; border-radius: 3px; font: 600 .66rem var(--ui); letter-spacing: .16em; text-transform: uppercase; }
.tag.ok { background: rgba(61, 220, 132, .14); color: var(--ok); }
.tag.beta, .tag.soon { background: rgba(255, 176, 32, .14); color: var(--amber); }
.row-soon h3 { color: var(--muted); }
.notice { padding: 14px 18px; border-left: 3px solid var(--amber); background: rgba(255, 176, 32, .07); color: #e6d4b0; margin-bottom: 18px; }

/* HOW */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); }
.steps li { position: relative; padding: 34px 32px 10px 0; }
.steps li::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--acc); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease) calc(var(--d, 0ms) + .3s); }
.steps li.in::before { transform: scaleX(1); }
.num { display: block; font: italic 900 4.4rem/1 var(--head); color: var(--acc); opacity: .85; margin-bottom: 18px; }
.steps p { color: var(--muted); }

/* MOUNT FILES */
.mount-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mount-card { display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line-2); border-radius: 8px; color: var(--text); text-decoration: none; background: linear-gradient(160deg, color-mix(in srgb, var(--acc) 8%, transparent), transparent 55%), var(--bg-2); transition: border-color .25s, transform .25s var(--ease); }
.mount-card:hover, .mount-card:focus-visible { border-color: var(--acc); transform: translateY(-3px); }
.mount-ext { font: italic 900 2.6rem/1 var(--head); color: var(--acc); margin-bottom: 14px; }
.mount-card h3 { margin: 0 0 8px; }
.mount-card p { color: var(--muted); font-size: .93rem; margin: 0 0 18px; flex: 1; }
.mount-dl { display: inline-flex; align-items: center; gap: 8px; font: 600 .75rem var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--acc); }
.mount-note { margin: 22px 0 0; }
.guide-grid { grid-template-columns: repeat(2, 1fr); max-width: 860px; }
.guide-card img { width: 140px; height: 140px; border-radius: 18px; margin-bottom: 16px; }

/* UPDATES */
.upd-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: start; }
.upd-card { padding: 28px; border: 1px solid var(--line-2); border-radius: 8px; background: linear-gradient(160deg, color-mix(in srgb, var(--acc) 10%, transparent), transparent 60%), var(--bg-2); }
.upd-card .kicker { margin-bottom: 10px; }
.upd-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.upd-id { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.upd-ver { font: italic 800 1.25rem var(--head); }
.upd-card .upd-ver { font-size: clamp(1.7rem, 4vw, 2.3rem); }
.upd-date { color: var(--muted); font-size: .85rem; }
.upd-notes { margin: 16px 0 0; padding-left: 18px; color: #cfd1d6; font-size: .93rem; }
.upd-notes li { margin: 4px 0; }
.upd-h { margin: 34px 0 8px; font: 600 .78rem var(--ui); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.upd-row { padding: 18px 0; border-bottom: 1px solid var(--line); }
.upd-row .upd-notes { margin-top: 8px; font-size: .88rem; color: var(--muted); }
.upd-how { padding: 26px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg-2); }
.upd-how h3 { margin-top: 0; }
.upd-how ol { margin: 0; padding-left: 20px; color: #cfd1d6; font-size: .93rem; }
.upd-how li { margin: 0 0 12px; padding-left: 4px; }
.upd-how li::marker { color: var(--acc); font-weight: 700; }
.mono { font-family: ui-monospace, Consolas, monospace; color: var(--acc); }

/* CONTACT FORM */
.cform { margin-top: 36px; padding: 28px; border: 1px solid var(--line-2); border-radius: 8px; background: rgba(11, 12, 16, .85); text-align: left; }
.cf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cf-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; font-size: .85rem; color: #cfd1d6; }
.cf-grid .cf-field { margin-bottom: 0; }
.cf-field i, .cf-uses i { color: var(--muted); font-style: normal; }
.cf-field input, .cf-field select, .cf-field textarea { width: 100%; padding: .85em 1em; border: 1px solid var(--line-2); border-radius: 4px; background: #0c0d11; color: var(--text); font: 1rem var(--body); }
.cf-field textarea { resize: vertical; min-height: 120px; }
.cf-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--acc) 50%), linear-gradient(135deg, var(--acc) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.6em; }
.cf-field input:focus, .cf-field select:focus, .cf-field textarea:focus { border-color: var(--acc); outline: none; }
.cf-uses { border: 0; margin: 22px 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cf-uses legend { padding: 0; margin-bottom: 10px; font-size: .85rem; color: #cfd1d6; }
.cf-chip { position: relative; cursor: pointer; }
.cf-chip input { position: absolute; opacity: 0; }
.cf-chip span { display: inline-block; padding: .6em 1.1em; border: 1px solid var(--line-2); border-radius: 999px; font-size: .9rem; color: #cfd1d6; transition: background .2s, color .2s, border-color .2s; }
.cf-chip input:checked + span { background: var(--acc); border-color: var(--acc); color: #050507; font-weight: 600; }
.cf-chip input:focus-visible + span { outline: 2px solid var(--acc); outline-offset: 2px; }
.cf-more { padding: 14px 16px 2px; margin-bottom: 16px; border-left: 2px solid var(--acc); background: color-mix(in srgb, var(--acc) 5%, transparent); animation: fadeUp .4s var(--ease); }
.cf-more[hidden], .cf-field[hidden] { display: none; }
.cf-hint { color: var(--muted); font-size: .8rem; }
.cform .switch { margin: 4px 0 22px; }
.cf-send { width: 100%; justify-content: center; }
.cf-send:disabled { opacity: .6; cursor: wait; }

/* FAQ */
details { border-bottom: 1px solid var(--line); }
summary { position: relative; padding: 22px 40px 22px 0; cursor: pointer; list-style: none; font: 700 1.15rem var(--head); }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--acc); border-bottom: 2px solid var(--acc); transform: rotate(45deg); transition: transform .3s var(--ease); }
details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
details p { color: var(--muted); padding-right: 40px; animation: fadeUp .4s var(--ease); }

/* NOTIFY */
.notify { overflow: hidden; }
.notify-glow { position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, color-mix(in srgb, var(--acc) 18%, transparent), transparent); pointer-events: none; }
.notify .wrap { position: relative; }
.notify-mark { margin: 0 auto 26px; width: 96px; }
.notify-mark.in { animation: float 5s ease-in-out infinite 1s; }
@keyframes float { 50% { transform: translateY(-10px); } }
.notify h2 { font-size: clamp(2.6rem, 7vw, 5rem); }
.notify p { color: var(--muted); }
.notify-form { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }
.notify-form input { flex: 1 1 220px; min-width: 0; padding: .95em 1.1em; border: 1px solid var(--line-2); border-radius: 4px; background: #0c0d11; color: var(--text); font: 1rem var(--body); }
.notify-form input:focus { border-color: var(--acc); outline: none; }
.form-msg { min-height: 1.6em; margin-top: 14px; }

.footer { border-top: 1px solid var(--line); padding: 30px 0; }
.footer-in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: space-between; }
.footer p { margin: 0; color: var(--muted); font-size: .85rem; }
.footer .legal { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .74rem; line-height: 1.6; color: #6c707a; }

/* ================================================================ REVEAL (slide in from the side) */
[data-reveal] { opacity: 0; transition: opacity 1s var(--ease) var(--d, 0ms), transform 1s var(--ease) var(--d, 0ms); }
[data-reveal="left"] { transform: translateX(-80px); }
[data-reveal="right"] { transform: translateX(80px); }
[data-reveal="up"] { transform: translateY(50px); }
[data-reveal].in { opacity: 1; transform: none; }

/* ================================================================ RESPONSIVE */
@media (max-width: 960px) {
  .nav { display: none; }
  .top-btns { margin-left: auto; }
  .hero { padding-top: 84px; }
  .hero-stage { --hk: min(74vw, 46svh); }
  .hero-title { position: relative; left: auto; top: auto; transform: none; width: 100%; padding: 0 4px; margin: 0 0 6px; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 0 .3em; font-size: clamp(2.2rem, 10vw, 4.4rem); text-align: center; }
  .ht-l, .ht-r { flex-direction: row; gap: .25em; }
  .hero-foot { flex-direction: column; align-items: flex-start; }
  .story-in { grid-template-columns: 1fr; gap: 0; }
  .story-stick { top: 64px; z-index: 3; padding: 14px 0 18px; background: linear-gradient(var(--bg) 84%, transparent); }
  .kb.knob-story { --k: min(56vw, 32svh); }
  .story-rail { display: none; }
  .chapter { min-height: 64svh; }
  .try-layout { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; grid-template-areas: "h" "port" "chips" "note" "tested" "fn"; padding-left: 16px; }
  .steps { grid-template-columns: 1fr; }
  .upd-layout { grid-template-columns: 1fr; }
  .mount-grid, .guide-grid { grid-template-columns: 1fr; }
  .steps li { padding-right: 0; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .section { padding: 80px 0; }
  .topbar-in { gap: 12px; }
  .brand img { width: 92px; }
  .top-btns { gap: 6px; }
  .top-btns .btn { padding: .55em .8em; font-size: .7rem; }
  .try-panel { padding: 20px 16px; }
  .seg { grid-template-columns: repeat(2, 1fr); }
  .seg button:nth-child(2) { border-right: 0; }
  .seg button:nth-child(-n+2) { border-bottom: 1px solid var(--line-2); }
  .tabs { display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; }
  .ticker { font-size: .6rem; letter-spacing: .12em; gap: .8em; }
  .ticker b { letter-spacing: .16em; padding: 0 .6em; }
  .ticker em { display: none; }
  .hand-line { letter-spacing: .08em; font-size: .68rem; }
  .tabs button { padding: 10px 4px; letter-spacing: .06em; font-size: .7rem; }
  .hero-cta { width: 100%; }
  .cf-grid { grid-template-columns: 1fr; }
  .cform, .upd-card, .upd-how, .mount-card { padding: 20px 16px; }
  .hero-cta .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .s-title, .hints li { animation: none !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal], .chapter > * { opacity: 1; transform: none; }
  .hero-title .ch { transform: none; }
  body.loaded .knob-hero, body.loaded .hero-foot > *, .loader-disc img { animation: none !important; }
}

/* radio = beta flag (chapter 04) + known-good light controller line */
.beta-flag { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; margin: 0 0 14px; padding: 6px 14px 6px 6px;
  border: 1px solid var(--amber); border-radius: 999px; background: rgba(255, 176, 32, .1); color: #ffd58a !important;
  font: 700 .82rem var(--ui) !important; letter-spacing: .12em; text-transform: uppercase; }
.beta-flag b { padding: 3px 10px; border-radius: 999px; background: var(--amber); color: #050507; }
.known-good { margin: 18px 0 0; color: #cfd1d6; }
.known-good .tag { margin-right: 6px; }

/* DSP cable price list (compat section) */
.cables { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line-2); }
.cables h3 { font-size: 1.3rem; margin: 0 0 6px; }
.cable-list { margin: 18px 0 12px; }
.cable { display: grid; grid-template-columns: 130px 1fr auto; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cable .pn { font: 600 .8rem var(--ui); letter-spacing: .08em; color: var(--acc); }
.cable-d { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.cable-d b { font-weight: 600; color: var(--text); }
.cable-d span { font-size: .88rem; color: var(--muted); }
.cable .price { font: 700 1.25rem var(--head); color: var(--text); }
@media (max-width: 640px) {
  .cable { grid-template-columns: 1fr auto; gap: 6px 14px; }
  .cable .pn { grid-column: 1 / -1; }
}
