:root {
  --ink: #16262f;
  --slate: #213943;
  --slate-deep: #172b33;
  --page: #e8edf1;
  --paper: #fff;
  --cream: #edeae5;
  --orange: #ba6941;
  --orange-light: #e8a363;
  --line: #9eafb5;
}
* { box-sizing: border-box; }
html { font-family: Arial, Helvetica, sans-serif; }
body { margin: 0; min-height: 100vh; background: var(--page); color: var(--ink); }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--orange-light); outline-offset: 4px; }
.site-header { height: 96px; padding: 0 clamp(20px, 3.5vw, 60px); display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--slate); color: var(--cream); border-bottom: 1px solid #80909955; }
.brand { display: flex; align-items: center; width: clamp(185px, 20vw, 260px); text-decoration: none; }
.brand img { width: 100%; height: auto; display: block; }
.header-note, .eyebrow, .section-top, .fine { font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; }
.header-note { display: grid; gap: 3px; color: #c6d3d6; font-weight: 800; text-align: right; }
.header-note span:first-child { text-transform: none; }
.eyebrow { color: var(--orange-light); font-weight: 800; }
h1 { font-size: clamp(4.5rem, 8vw, 8.8rem); line-height: .86; letter-spacing: -.085em; text-transform: uppercase; margin: 23px 0 28px; }
h1 em { color: var(--orange-light); font-style: normal; }
h2 { font-size: clamp(2.4rem, 3.8vw, 4.3rem); line-height: .95; letter-spacing: -.07em; margin: 13px 0 24px; }
.gate-layout { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(390px, .78fr); min-height: calc(100vh - 96px); max-width: 1750px; margin: auto; }
.gate-intro { position: relative; min-height: 790px; overflow: hidden; isolation: isolate; background: radial-gradient(circle at 80% 55%, #465157 0, var(--slate) 50%, var(--slate-deep) 100%); color: var(--cream); }
.gate-intro::after { content: ''; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, #172b33e6 0%, #172b3399 48%, #172b3312 100%); pointer-events: none; }
.plugin-backdrop { position: absolute; z-index: 0; width: min(110%, 990px); right: -19%; bottom: 2%; transform: perspective(1100px) rotateY(-9deg) rotateX(4deg) rotateZ(-2deg); opacity: .9; filter: drop-shadow(0 35px 55px #0009); }
.plugin-backdrop img { display: block; width: 100%; height: auto; border: 1px solid #a7a29e; }
.gate-copy { position: relative; z-index: 2; min-height: 790px; padding: clamp(52px, 6vw, 105px) clamp(30px, 5vw, 78px) 40px; display: flex; flex-direction: column; align-items: flex-start; }
.gate-copy h1 { max-width: 830px; text-shadow: 0 4px 26px #14252a8c; }
.lede { max-width: 490px; color: #edf2f1; font-size: clamp(1.15rem, 1.6vw, 1.5rem); line-height: 1.37; text-shadow: 0 2px 8px #132730; }
.track-preview { display: flex; gap: 9px; flex-wrap: wrap; margin-top: auto; margin-bottom: 20px; }
.track-preview span { border: 1px solid #b2c0c3; background: #172b33bf; padding: 11px 14px; color: var(--orange-light); font-size: .68rem; letter-spacing: .12em; font-weight: 800; }
.fine { line-height: 1.55; letter-spacing: .04em; text-transform: none; color: #b9c8cb; }
.gate-intro .fine { max-width: 490px; margin: 0; background: #172b33bf; padding: 7px 10px; }
.gate-card { align-self: center; background: var(--paper); margin: clamp(28px, 5vw, 78px); padding: clamp(30px, 3.5vw, 58px); border-top: 6px solid var(--orange); box-shadow: 18px 21px 0 #c9d1d5; }
.gate-card .eyebrow { color: #995332; }
.gate-explanation { font-size: 1.08rem; line-height: 1.45; color: #465b64; }
.gate-card label { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; margin: 23px 0; }
.gate-card input:not([type=checkbox]) { display: block; width: 100%; height: 52px; padding: 12px; margin-top: 9px; background: #f8fafb; color: var(--ink); border: 1px solid #95a8af; border-radius: 0; }
.gate-card .check { display: flex; gap: 12px; align-items: start; font-size: .74rem; line-height: 1.45; letter-spacing: 0; text-transform: none; font-weight: 500; }
.check input { margin: 3px 0 0; accent-color: var(--orange); }
.primary { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 54px; padding: 0 18px; border: 0; background: var(--orange); color: #fff; text-transform: uppercase; text-align: left; font-size: .78rem; letter-spacing: .1em; font-weight: 900; }
.primary:hover { background: #9d502d; }
.primary:disabled { opacity: .65; cursor: wait; }
#message { min-height: 24px; font-size: .85rem; color: #914023; }
.gate-card .fine { color: #62757c; margin-top: 29px; }
.room { max-width: 1480px; padding: 42px clamp(18px, 4vw, 62px) 80px; margin: auto; }
.console-intro { display: grid; grid-template-columns: 1fr 310px; align-items: end; gap: 30px; padding: 24px 0 34px; border-top: 5px solid var(--slate); }
.console-intro .eyebrow { color: #985331; }
.console-intro h1 { color: var(--ink); font-size: clamp(3.7rem, 6.4vw, 6.7rem); margin: 18px 0 0; }
.console-intro h1 em { color: var(--orange); }
.console-intro > p { margin: 0 0 4px; color: #465b64; font-size: 1.06rem; line-height: 1.5; }
.plugin-shell { --plugin-amber: #e8a363; --plugin-ink: #171616; position: relative; overflow: hidden; max-width: 1340px; margin: auto; padding: clamp(14px, 2.2vw, 28px); background: linear-gradient(150deg, #35312e, #222120 65%, #171717); color: #e8e5df; border: 2px solid #7b746c; border-radius: 13px; box-shadow: inset 0 0 0 2px #272523, inset 0 0 0 5px #534d46, 0 28px 70px #13263046; }
.plugin-shell::before { content: ''; position: absolute; inset: 6px; border: 1px solid #77706744; border-radius: 8px; pointer-events: none; }
.plugin-topbar { display: flex; align-items: end; justify-content: space-between; gap: 26px; padding: 4px 4px 19px; border-bottom: 2px solid #66615b; }
.plugin-identity { display: grid; gap: 6px; }
.plugin-identity strong { font-size: clamp(1.65rem, 3vw, 2.4rem); line-height: 1; letter-spacing: .08em; }
.plugin-identity span { color: #afa9a1; font-size: .65rem; letter-spacing: .18em; font-weight: 800; }
.plugin-top-controls { display: flex; align-items: end; gap: 15px; }
.preset-select { position: relative; display: grid; gap: 6px; color: #b8b1aa; font-size: .64rem; letter-spacing: .12em; font-weight: 800; }
.preset-select::after { content: ''; position: absolute; right: 17px; bottom: 16px; width: 7px; height: 7px; border-right: 2px solid var(--plugin-amber); border-bottom: 2px solid var(--plugin-amber); transform: rotate(45deg); pointer-events: none; }
.preset-select select { appearance: none; -webkit-appearance: none; width: clamp(170px, 18vw, 230px); min-height: 38px; padding: 8px 43px 8px 11px; border: 1px solid #80776d; border-radius: 2px; background: #1b1a19; color: #eee9e0; font-size: .8rem; letter-spacing: 0; cursor: pointer; }
.effect-toggle { display: flex; align-items: center; gap: 9px; min-height: 38px; padding: 8px 10px; border: 1px solid #746d64; background: #262421; color: #e9e1d7; font-size: .66rem; letter-spacing: .08em; font-weight: 900; white-space: nowrap; }
.effect-toggle:hover { border-color: var(--plugin-amber); }
.status-light { width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--plugin-amber); box-shadow: 0 0 11px #e8a363bb; }
.effect-toggle.is-off .status-light { background: #77736e; box-shadow: none; }
.preset-story { display: flex; align-items: baseline; gap: 15px; margin: 0 4px; padding: 13px 0 0; color: #d8d1c8; font-size: .8rem; line-height: 1.45; }
.preset-story strong { flex: none; color: var(--plugin-amber); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.meter-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin: 18px 0 22px; }
.vu-meter { position: relative; overflow: hidden; height: clamp(145px, 15vw, 198px); padding: 13px 17px; border: 5px solid #161514; border-radius: 5px; background: linear-gradient(140deg, #f0b87d 0%, #d7935f 45%, #9d5832 100%); box-shadow: inset 0 0 0 2px #a76944, inset 0 14px 28px #fff3, 0 0 0 1px #89827a; color: #653e2a; }
.vu-top, .vu-scale { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 1; }
.vu-top { font-size: .65rem; font-weight: 900; letter-spacing: .07em; }
.vu-scale { max-width: 77%; margin: 33px auto 0; font-size: .65rem; font-weight: 800; }
.vu-face { position: absolute; left: 15%; right: 15%; bottom: -30%; height: 94%; border-top: 1px dotted #835331; }
.vu-needle { position: absolute; left: 50%; bottom: 0; width: 2px; height: 113%; background: #3b251e; transform-origin: bottom center; transform: translateX(-50%) rotate(-58deg); transition: transform .09s ease-out; box-shadow: 0 0 2px #341f1a; }
.vu-needle::after { content: ''; position: absolute; bottom: -2px; left: 50%; width: 13px; height: 13px; border-radius: 50%; background: #3b251e; transform: translateX(-50%); }
.module-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 2px 0; border-top: 1px solid #615c57; color: #d1cbc4; font-size: .7rem; font-weight: 900; letter-spacing: .1em; }
.module-heading span:last-child { color: #b6aca0; font-weight: 700; }
.knob-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 23px 0 28px; }
.knob-control { display: flex; flex-direction: column; align-items: center; min-width: 0; padding: 0 12px; text-align: center; border-right: 1px solid #5f5a54; }
.knob-control:last-child { border: 0; }
.knob-name { color: #e7e2dc; font-size: .71rem; letter-spacing: .1em; font-weight: 900; }
.knob-help { min-height: 28px; color: #afa8a1; font-size: .67rem; margin: 5px 0 13px; }
.knob-dial { --angle: 91deg; --rotation: -39deg; position: relative; display: block; width: 112px; height: 112px; border-radius: 50%; background: conic-gradient(from 230deg, transparent 0 260deg, #242220 260deg), repeating-conic-gradient(from 230deg, #77716b 0deg .7deg, transparent .7deg 12deg); }
.knob-dial::before { content: ''; position: absolute; inset: 9px; border-radius: 50%; background: conic-gradient(from 230deg, var(--plugin-amber) 0 var(--angle), #605d59 var(--angle) 260deg, transparent 260deg); -webkit-mask: radial-gradient(circle, transparent 0 42px, #000 43px); mask: radial-gradient(circle, transparent 0 42px, #000 43px); pointer-events: none; }
.knob-dial::after { content: ''; position: absolute; inset: 16px; border-radius: 50%; background: radial-gradient(circle at 35% 25%, #3b3937, #161616 70%); border: 2px solid #99938d; box-shadow: inset 0 0 0 4px #171615, inset 0 0 0 6px #514d49, inset 0 4px 10px #0008, 0 4px 7px #0009; pointer-events: none; }
.knob-dial:focus-within { outline: 2px solid var(--plugin-amber); outline-offset: 5px; }
.knob-needle { position: absolute; z-index: 1; left: calc(50% - 1px); top: 31px; width: 2px; height: 25px; background: #e7dfd2; border-radius: 2px; transform-origin: 1px 25px; transform: rotate(var(--rotation)); pointer-events: none; }
.knob-dial input { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.knob-control output { display: block; margin-top: 11px; color: var(--plugin-amber); font-size: .8rem; font-weight: 800; }
.playback-module { padding: 0 2px 18px; border-bottom: 1px solid #615c57; }
.playback-main { display: flex; align-items: center; gap: 18px; padding: 18px 0 12px; }
.console-play { width: 58px; height: 58px; flex: none; border: 1px solid #eab278; border-radius: 3px; background: #a45d36; color: #fff0df; font-size: 1.35rem; }
.console-play:hover { background: #c77743; }
.playback-copy { display: grid; gap: 3px; min-width: 0; }
.playback-copy strong { font-size: 1.1rem; }
.playback-copy span { color: #bcb5ad; font-size: .73rem; }
#playback-status { color: var(--plugin-amber); }
.time-readout { margin-left: auto; flex: none; color: var(--plugin-amber); font-size: .85rem; font-variant-numeric: tabular-nums; font-weight: 800; }
.progress-track { height: 6px; overflow: hidden; background: #67615b; border-radius: 4px; }
.progress-track span { display: block; width: 0; height: 100%; background: var(--plugin-amber); transition: width .15s linear; }
.compare-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 18px; padding: 15px 0 0; border-top: 1px solid #615c57; }
.compare-bar > div:first-child { display: grid; gap: 4px; }
.compare-bar strong { color: var(--plugin-amber); font-size: .72rem; letter-spacing: .1em; }
.compare-bar span { color: #bcb5ac; font-size: .73rem; }
.compare-actions { display: flex; gap: 4px; }
.compare-actions button { min-width: 122px; min-height: 40px; padding: 8px 13px; border: 1px solid #93887c; background: #302c28; color: #e8e4dc; font-size: .69rem; font-weight: 900; letter-spacing: .08em; }
.compare-actions button[aria-pressed="true"] { border-color: var(--plugin-amber); background: var(--plugin-amber); color: #2c211a; }
.compare-actions button:hover { border-color: var(--plugin-amber); }
.plugin-foot { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 18px 2px 2px; }
.plugin-foot p { max-width: 720px; margin: 0; color: #bcb5ac; font-size: .73rem; line-height: 1.5; }
.plugin-foot strong { color: var(--plugin-amber); letter-spacing: .08em; }
.console-reset { flex: none; min-height: 36px; padding: 7px 13px; background: #3a3530; color: #e8e4dc; border: 1px solid #93887c; font-size: .68rem; font-weight: 900; letter-spacing: .08em; }
.console-reset:hover { border-color: var(--plugin-amber); }
.after-console { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1340px; margin: 0 auto; padding: 28px 0; border-bottom: 1px solid #9eafb5; }
.after-console p { max-width: 680px; margin: 0; color: #455b64; font-size: 1rem; line-height: 1.45; }
.explore-link { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 17px; flex: none; background: var(--orange); color: #fff; text-decoration: none; font-size: .75rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.explore-link:hover { background: #9d502d; }
.demo-disclosure { max-width: 1340px; margin: 17px auto 0; color: #62757c; font-size: .75rem; line-height: 1.5; }
.text-button { background: transparent; border: 1px solid #9db0b6; color: inherit; padding: 12px 17px; text-transform: uppercase; font-weight: 800; letter-spacing: .1em; font-size: .72rem; }
.text-button:hover { background: #ffffff20; }
@media (max-width: 1050px) { .gate-layout { grid-template-columns: 1fr; } .gate-intro, .gate-copy { min-height: 680px; } .plugin-backdrop { width: 85%; right: -12%; bottom: -4%; } .gate-card { width: min(650px, calc(100% - 52px)); margin: 45px auto 65px; } }
@media (max-width: 850px) { .console-intro { grid-template-columns: 1fr; gap: 13px; } .console-intro > p { max-width: 600px; } .plugin-topbar { align-items: start; flex-direction: column; } .plugin-top-controls { width: 100%; justify-content: space-between; } .vu-meter { height: 150px; } .vu-scale { margin-top: 24px; } }
@media (max-width: 600px) { .preset-story { align-items: start; flex-direction: column; gap: 3px; } }
@media (max-width: 600px) { .compare-bar { align-items: stretch; flex-direction: column; } .compare-actions button { flex: 1; min-width: 0; } }
@media (max-width: 600px) { .site-header { height: 72px; padding: 0 18px; } .brand { width: 172px; } .header-note { font-size: .54rem; max-width: 115px; } .gate-intro, .gate-copy { min-height: 670px; } .gate-copy { padding: 44px 24px 24px; } .gate-copy h1 { font-size: clamp(3.5rem, 15vw, 6rem); } .lede { font-size: 1.12rem; } .plugin-backdrop { width: 138%; right: -53%; bottom: 12%; opacity: .7; } .gate-intro::after { background: linear-gradient(90deg, #172b33f0, #172b3377); } .track-preview { gap: 6px; } .track-preview span { font-size: .57rem; padding: 8px; } .gate-card { width: calc(100% - 32px); margin: 28px auto 48px; box-shadow: none; } .room { padding-top: 20px; } .console-intro h1 { font-size: clamp(3rem, 11vw, 4.8rem); } .plugin-identity strong { font-size: 1.42rem; } .plugin-identity span { font-size: .5rem; } .plugin-top-controls { gap: 7px; } .preset-select select { width: 162px; } .effect-toggle { padding: 7px; font-size: .55rem; } .vu-meter { height: 103px; padding: 9px 8px; border-width: 3px; } .vu-top { font-size: .52rem; } .vu-scale { max-width: 88%; margin-top: 14px; font-size: .45rem; } .vu-face { bottom: -50%; } .module-heading { font-size: .56rem; } .knob-grid { grid-template-columns: repeat(2, 1fr); row-gap: 27px; } .knob-control:nth-child(2) { border: 0; } .knob-control { padding: 0 5px; } .playback-main { gap: 10px; } .console-play { width: 48px; height: 48px; } .playback-copy strong { font-size: .93rem; } .playback-copy span { font-size: .62rem; } .time-readout { font-size: .63rem; } .plugin-foot, .after-console { align-items: stretch; flex-direction: column; } .plugin-foot { gap: 12px; } .after-console { gap: 15px; } .explore-link { align-self: start; } .text-button { padding: 10px; font-size: .62rem; } }
@media (prefers-reduced-motion: reduce) { .vu-needle, .progress-track span { transition: none; } }

@media (max-width: 600px) {
  html, body { max-width: 100%; overflow-x: hidden; }
  .site-header { gap: 8px; }
  .brand { width: 128px; flex: 0 1 128px; }
  .site-header .text-button { max-width: calc(100% - 144px); padding: 7px 8px; font-size: .55rem; letter-spacing: .02em; line-height: 1.2; white-space: normal; overflow-wrap: anywhere; }
  .room { width: 100%; padding-left: 16px; padding-right: 16px; }
  .console-intro { grid-template-columns: minmax(0, 1fr); }
  .console-intro > div, .console-intro > p { min-width: 0; }
  .console-intro .eyebrow { font-size: .55rem; letter-spacing: .07em; overflow-wrap: anywhere; }
  .console-intro h1 { font-size: clamp(2.15rem, 9vw, 3rem); line-height: .96; letter-spacing: -.065em; }
  .plugin-shell { width: 100%; min-width: 0; }
  .plugin-top-controls, .playback-main { flex-wrap: wrap; }
  .time-readout { margin-left: 0; }
}
