:root {
  --bg: #070708;
  --bg-soft: #0d0d0f;
  --panel: #111114;
  --panel-2: #17171b;
  --panel-3: #1d1d21;
  --line: #29292f;
  --line-soft: #202024;
  --text: #f4f4ef;
  --muted: #98989f;
  --muted-2: #6f6f77;
  --acid: #ddff37;
  --acid-strong: #cbed1f;
  --red: #ff3b30;
  --paper: #f6f3ea;
  --paper-2: #ebe8df;
  --paper-3: #dfdcd4;
  --ink: #111113;
  --ink-soft: #66666d;
  --radius: 18px;
  --shell: 1180px;
  --shadow: 0 30px 90px rgba(0,0,0,.38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); font-family: Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; z-index: -2; background: radial-gradient(circle at 72% 8%, rgba(221,255,55,.07), transparent 28%), radial-gradient(circle at 8% 32%, rgba(255,255,255,.035), transparent 22%), var(--bg); }
body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, #000 0, transparent 58%); }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 10px 14px; background: var(--acid); color: #000; transform: translateY(-150%); border-radius: 8px; font-weight: 800; }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 60; border-bottom: 1px solid rgba(255,255,255,.07); background: rgba(7,7,8,.82); backdrop-filter: blur(18px); }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; }
.brand-glyph { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #34343a; border-radius: 11px; background: linear-gradient(145deg, #202024, #0d0d0f); color: var(--acid); font: 800 .78rem/1 JetBrains Mono, monospace; box-shadow: inset 0 1px rgba(255,255,255,.06); }
.brand-copy { display: flex; flex-direction: column; gap: 1px; }
.brand-copy strong { font-size: .98rem; letter-spacing: -.02em; }
.brand-copy small { color: var(--muted-2); font-size: .66rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 26px; color: #aaaab0; font-size: .82rem; font-weight: 700; }
.nav a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.language-switch, .mini-cta { min-height: 38px; border-radius: 9px; border: 1px solid var(--line); font-size: .75rem; font-weight: 800; }
.language-switch { padding: 0 11px; background: var(--panel); cursor: pointer; }
.language-separator { margin: 0 5px; color: #4b4b52; }
#languageNext { color: #64646b; }
.mini-cta { display: inline-flex; align-items: center; padding: 0 14px; background: var(--acid); border-color: var(--acid); color: #0a0a0b; }

.hero { min-height: 650px; padding: 96px 0 76px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr); align-items: center; gap: 76px; }
.hero-copy { max-width: 650px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 9px; color: #b9b9bd; font-size: .72rem; letter-spacing: .11em; text-transform: uppercase; }
.hero-kicker span { width: 7px; height: 7px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 14px rgba(221,255,55,.75); }
h1 { margin: 20px 0 22px; max-width: 720px; font-size: clamp(3.2rem, 6.3vw, 6.25rem); line-height: .93; letter-spacing: -.07em; font-weight: 900; }
.hero-lead { max-width: 640px; margin: 0; color: #aaaab0; font-size: 1.08rem; line-height: 1.72; }
.hero-actions { display: flex; gap: 11px; margin-top: 34px; }
.primary-cta, .secondary-cta { min-height: 50px; padding: 0 20px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; font-weight: 850; font-size: .88rem; border: 1px solid var(--line); }
.primary-cta { background: var(--acid); color: #09090a; border-color: var(--acid); }
.primary-cta:hover { background: #e7ff65; }
.secondary-cta { background: #101012; color: #d3d3d6; }
.secondary-cta:hover { background: #17171a; }
.hero-facts { display: flex; gap: 0; margin-top: 44px; border-top: 1px solid var(--line-soft); width: fit-content; }
.hero-facts div { min-width: 126px; padding: 17px 28px 0 0; margin-right: 28px; border-right: 1px solid var(--line-soft); }
.hero-facts div:last-child { border: 0; margin-right: 0; }
.hero-facts strong { display: block; color: #eeeef0; font: 800 1.03rem/1 JetBrains Mono, monospace; }
.hero-facts span { display: block; margin-top: 5px; color: var(--muted-2); font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }

.hero-visual { position: relative; overflow: hidden; border: 1px solid #2a2a30; border-radius: 20px; background: linear-gradient(155deg, #141417, #0b0b0d 70%); box-shadow: 0 36px 100px rgba(0,0,0,.48), inset 0 1px rgba(255,255,255,.045); }
.hero-visual::before { content: ""; position: absolute; width: 240px; height: 240px; right: -80px; top: -100px; border-radius: 50%; background: rgba(221,255,55,.09); filter: blur(55px); }
.visual-head, .visual-foot { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 17px 20px; font: 700 .63rem/1 JetBrains Mono, monospace; letter-spacing: .12em; color: #66666d; }
.visual-head { border-bottom: 1px solid var(--line-soft); }
.signal-live { color: var(--acid); }
.scope { padding: 24px 20px 16px; }
.scope svg { display: block; width: 100%; height: 220px; background: #08090a; border: 1px solid #24262a; border-radius: 12px; box-shadow: inset 0 0 40px rgba(0,0,0,.9); }
.scope-grid { fill: none; stroke: #22252a; stroke-width: 1; vector-effect: non-scaling-stroke; }
.scope-wave { fill: none; stroke: url(#fade); stroke-width: 3.2; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 8px rgba(221,255,55,.5)); }
.hero-steps { display: grid; grid-template-columns: repeat(16,1fr); gap: 5px; padding: 0 20px 22px; }
.hero-steps span { height: 24px; border-radius: 4px; border: 1px solid #2c2c31; background: #141417; }
.hero-steps span.on { border-color: rgba(221,255,55,.55); background: rgba(221,255,55,.18); box-shadow: inset 0 -3px rgba(221,255,55,.1); }
.visual-foot { border-top: 1px solid var(--line-soft); justify-content: flex-start; gap: 25px; }

.product-band { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: rgba(13,13,15,.72); }
.product-band-inner { display: grid; grid-template-columns: repeat(3,1fr); }
.product-band article { min-height: 132px; padding: 28px 34px; display: grid; grid-template-columns: 28px 1fr; gap: 16px; border-right: 1px solid var(--line-soft); }
.product-band article:first-child { padding-left: 0; }
.product-band article:last-child { border-right: 0; }
.product-band article > span { color: var(--acid); font: 700 .62rem/1 JetBrains Mono, monospace; }
.product-band strong { display: block; margin-bottom: 8px; font-size: .9rem; }
.product-band p { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.55; }

.sequencer-section { padding: 96px 0 105px; }
.section-intro { display: grid; grid-template-columns: 1.08fr .92fr; align-items: end; gap: 80px; margin-bottom: 48px; }
.compact-intro { margin-bottom: 30px; }
.eyebrow { margin: 0 0 12px; color: var(--acid); font: 800 .65rem/1 JetBrains Mono, monospace; letter-spacing: .14em; text-transform: uppercase; }
.section-intro h2, .reference-copy h2 { margin: 0; max-width: 760px; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.04; letter-spacing: -.045em; }
.section-intro > p, .reference-copy > p:last-child { margin: 0; max-width: 560px; color: var(--muted); line-height: 1.75; font-size: .95rem; }

.workspace-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.toolbar-group { display: flex; flex-wrap: wrap; gap: 8px; }
.tool-button { min-height: 42px; padding: 0 14px; border: 1px solid #2d2d32; border-radius: 10px; background: #121215; display: inline-flex; align-items: center; gap: 8px; color: #d8d8db; cursor: pointer; font-size: .77rem; font-weight: 800; }
.tool-button:hover { background: #19191d; }
.tool-button svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tool-button-acid { background: var(--acid); border-color: var(--acid); color: #09090a; }
.tool-button-acid:hover { background: #e8ff6a; }
.tool-button-play { min-width: 105px; background: linear-gradient(#2a2a2f,#1a1a1e); border-color: #3a3a40; box-shadow: inset 0 -3px #0a0a0c; font: 800 .75rem/1 JetBrains Mono, monospace; letter-spacing: .09em; }
.tool-button-clear { color: #ff6961; border-color: rgba(255,59,48,.25); background: rgba(255,59,48,.04); }
.status-led { width: 8px; height: 8px; border-radius: 50%; background: #4d1210; border: 1px solid #210807; box-shadow: inset 0 0 2px #000; }
.status-led.on { background: #ff4238; box-shadow: 0 0 10px rgba(255,59,48,.8); }
.sheet-scroll { overflow-x: auto; padding: 0 0 20px; scrollbar-color: #3a3a40 transparent; }

.pattern-sheet { width: 1080px; min-width: 1080px; margin: 0 auto; overflow: hidden; border: 1px solid #313139; border-radius: 15px; background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
.sheet-header { min-height: 90px; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 22px; background: #0c0c0e; color: #fff; border-bottom: 5px solid var(--acid); }
.sheet-title-wrap { display: flex; align-items: center; gap: 14px; }
.triangle-logo { width: 43px; height: 43px; fill: none; stroke: #f7f7f3; stroke-width: 7; stroke-linejoin: round; }
.triangle-logo .fill { fill: #f7f7f3; stroke: none; }
.sheet-kicker { margin: 0 0 3px; color: #77777e; font: 700 .56rem/1 JetBrains Mono, monospace; letter-spacing: .16em; }
.sheet-header h2 { margin: 0; font-size: 1.55rem; letter-spacing: .115em; }
.sheet-model { color: var(--acid); font: 800 .62rem/1 JetBrains Mono, monospace; letter-spacing: .14em; }
.sheet-meta { display: grid; grid-template-columns: 1fr 276px; border-bottom: 1px solid #cbc8c0; }
.meta-fields label { min-height: 57px; padding: 0 18px; display: grid; grid-template-columns: 88px 1fr; align-items: center; border-bottom: 1px solid #d4d1c8; }
.meta-fields label:last-child { border-bottom: 0; background: #f0ede5; }
.meta-fields span { color: #6b6b70; font-size: .62rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.meta-fields input { width: 100%; border: 0; outline: 0; background: transparent; color: #151517; font-size: 1rem; font-weight: 800; }
.memory-panel { border-left: 1px solid #cbc8c0; background: #e8e5dd; }
.memory-row { min-height: 57px; display: flex; }
.memory-row:first-child { border-bottom: 1px solid #cbc8c0; }
.segment-button { flex: 1; border: 0; border-right: 1px solid #c9c6be; background: transparent; color: #717176; cursor: pointer; font: 900 .78rem/1 JetBrains Mono, monospace; }
.segment-button:last-child { border-right: 0; }
.segment-button.selected { background: var(--acid); color: #0a0a0b; box-shadow: inset 0 -3px rgba(0,0,0,.08); }

.sequence-table { width: 100%; table-layout: fixed; border-collapse: collapse; }
.sequence-table th, .sequence-table td { height: 51px; border-right: 1px solid #d0cdc5; border-bottom: 1px solid #d0cdc5; text-align: center; vertical-align: middle; }
.sequence-table tr > *:last-child { border-right: 0; }
.sequence-table thead th { height: 40px; background: #242427; color: #c7c7cb; font: 800 .65rem/1 JetBrains Mono, monospace; }
.sequence-table thead th.downbeat { background: #333338; color: var(--acid); }
.sequence-table .row-label { width: 132px; padding: 0 14px; text-align: left; color: #6d6d72; font: 900 .61rem/1.2 Inter, sans-serif; letter-spacing: .09em; text-transform: uppercase; }
.sequence-table tbody tr:nth-child(even) .row-label { background: #efede6; }
.sequence-table td.step-cell.shaded { background: #ebe8df; }
.sequence-table .cell-control { width: 100%; height: 100%; border: 0; outline: 0; background: transparent; color: #101012; text-align: center; font: 800 .95rem/1 JetBrains Mono, monospace; cursor: pointer; }
.sequence-table input.cell-control { cursor: text; text-transform: uppercase; }
.sequence-table .cell-control:hover, .sequence-table input.cell-control:focus { background: rgba(221,255,55,.34); }
.sequence-table button.accentSlide-cell { color: #d72e27; }
.sequence-table button.gate-cell { font-size: 1.15rem; }
.sequence-table [data-playing="true"] { background: var(--acid) !important; color: #050506 !important; box-shadow: inset 0 0 0 2px rgba(0,0,0,.08); }

.hardware-strip { display: grid; grid-template-columns: 128px 152px minmax(0,1fr); min-height: 176px; border-bottom: 1px solid #c9c6be; background: #e9e6de; }
.hardware-module { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 11px; border-right: 1px solid #c7c4bc; }
.control-label { color: #636368; font-size: .57rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.wave-selector { display: flex; flex-direction: column; gap: 7px; }
.wave-button { width: 82px; height: 50px; padding: 0 9px; border-radius: 8px; border: 1px solid #c2bfb7; background: #f5f2ea; display: flex; align-items: center; justify-content: space-between; color: #6f6f74; cursor: pointer; box-shadow: inset 0 -2px #d9d6ce; }
.wave-button svg { width: 29px; fill: none; stroke: currentColor; stroke-width: 2; }
.wave-button small { font: 800 .55rem/1 JetBrains Mono, monospace; }
.wave-button.selected { background: #111113; border-color: #111113; color: var(--acid); box-shadow: inset 0 -3px #000; }
.tempo-module { gap: 9px; }
.seven-display { width: 104px; min-height: 49px; padding: 7px 8px 5px; border: 2px solid #242428; border-radius: 7px; background: #090909; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px; cursor: pointer; box-shadow: inset 0 0 16px #000, 0 1px #fff; }
.seven-display small { writing-mode: vertical-rl; color: #5d5d61; font: 700 .45rem/1 JetBrains Mono, monospace; letter-spacing: .09em; }
.seven-digits { display: flex; gap: 3px; }
.seven-digit { position: relative; width: 21px; height: 36px; }
.seg { position: absolute; background: #360806; opacity: .8; border-radius: 2px; transition: background .08s, box-shadow .08s, opacity .08s; }
.seg.on { background: #ff382e; opacity: 1; box-shadow: 0 0 7px rgba(255,56,46,.75); }
.seg-a,.seg-d,.seg-g { left: 4px; width: 13px; height: 4px; clip-path: polygon(12% 0,88% 0,100% 50%,88% 100%,12% 100%,0 50%); }
.seg-a { top: 0; }.seg-g { top: 16px; }.seg-d { bottom: 0; }
.seg-b,.seg-c,.seg-e,.seg-f { width: 4px; height: 14px; clip-path: polygon(50% 0,100% 12%,100% 88%,50% 100%,0 88%,0 12%); }
.seg-b { right: 0; top: 3px; }.seg-c { right: 0; bottom: 3px; }.seg-f { left: 0; top: 3px; }.seg-e { left: 0; bottom: 3px; }
.synth-controls { padding: 0 16px; display: grid; grid-template-columns: repeat(5,1fr); align-items: stretch; }
.knob { min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; position: relative; }
.knob + .knob::before { content: ""; position: absolute; left: 0; top: 27px; bottom: 27px; width: 1px; background: #d1cec6; }
.knob-title { min-height: 14px; color: #58585d; font-size: .52rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.knob-control { width: 72px; height: 72px; padding: 0; border: 0; background: transparent; cursor: ns-resize; touch-action: none; border-radius: 50%; }
.tempo-module .knob-control { width: 70px; height: 70px; }
.knob-control:focus-visible { outline: 2px solid #9eb919; outline-offset: 2px; }
.knob-control svg { display: block; width: 100%; height: 100%; overflow: visible; }
.knob-value { color: #77777c; font: 700 .5rem/1 JetBrains Mono, monospace; }
.dial-tick { stroke: #8d8d91; stroke-width: 2.2; stroke-linecap: round; }
.dial-tick.major { stroke: #5e5e63; stroke-width: 2.8; }
.dial-bezel { fill: #d2cfc7; stroke: #a9a69f; stroke-width: 1.3; }
.dial-body { fill: url(#knobFace); stroke: #151517; stroke-width: 2; }
.dial-center { fill: #141416; }
.dial-pointer { stroke: var(--acid); stroke-width: 4.2; stroke-linecap: round; }

.notes-panel { min-height: 125px; padding: 17px 21px 19px; background: #f1eee6; }
.notes-panel label { display: block; margin-bottom: 8px; }
.notes-panel textarea { width: 100%; min-height: 75px; resize: vertical; border: 0; outline: 0; background: transparent; color: #202023; font: 600 .76rem/1.58 JetBrains Mono, monospace; }

.content-section { padding: 110px 0; }
.workflow-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.workflow-grid article { min-height: 260px; padding: 28px; border: 1px solid var(--line); border-radius: 15px; background: linear-gradient(145deg,#121215,#0d0d0f); }
.workflow-grid article > span { color: var(--acid); font: 700 .63rem/1 JetBrains Mono, monospace; }
.workflow-grid h3 { margin: 65px 0 13px; font-size: 1.08rem; }
.workflow-grid p { margin: 0; color: var(--muted); font-size: .83rem; line-height: 1.7; }
.reference-section { padding: 105px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: #0b0b0d; }
.reference-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.reference-copy > p:last-child { margin-top: 24px; }
.reference-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.reference-grid article { min-height: 130px; padding: 22px; display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.reference-grid b { color: var(--acid); font: 800 1rem/1 JetBrains Mono, monospace; }
.reference-grid strong { font-size: .86rem; }
.reference-grid p { margin: 6px 0 0; color: var(--muted-2); font-size: .75rem; line-height: 1.5; }
.faq-section { padding-bottom: 130px; }
.faq-grid { border-top: 1px solid var(--line); }
.faq-grid details { border-bottom: 1px solid var(--line); }
.faq-grid summary { padding: 23px 0; cursor: pointer; list-style: none; font-weight: 750; }
.faq-grid summary::-webkit-details-marker { display: none; }
.faq-grid summary::after { content: "+"; float: right; color: var(--acid); font: 500 1.2rem/1 JetBrains Mono, monospace; }
.faq-grid details[open] summary::after { content: "–"; }
.faq-grid details p { max-width: 800px; margin: -4px 0 24px; color: var(--muted); line-height: 1.7; font-size: .86rem; }
.site-footer { border-top: 1px solid var(--line-soft); background: #080809; }
.footer-inner { min-height: 150px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.footer-inner strong { font-size: 1rem; }
.footer-inner p { margin: 7px 0 0; color: var(--muted-2); font-size: .78rem; }
.z3z-credit { display:flex; flex-direction:column; gap:7px; color:var(--muted-2); font-size:.74rem; }
.z3z-credit a { width:max-content; color:var(--text); font-weight:850; }
.z3z-credit a:hover { color:var(--acid); }
.footer-links { display: flex; gap: 22px; color: #8f8f95; font-size: .76rem; font-weight: 700; }
.footer-links a:hover { color: var(--text); }
.footer-links a[aria-current="page"] { color: var(--acid); }
.site-version { width:max-content; margin-top:3px; padding:5px 8px; border:1px solid #464d28; border-radius:999px; background:#171a10; color:var(--acid); font:800 .58rem/1 JetBrains Mono,ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; letter-spacing:.06em; }

.tempo-dialog { width: min(360px, calc(100% - 30px)); padding: 0; border: 1px solid #303036; border-radius: 16px; background: #111114; color: var(--text); box-shadow: 0 35px 120px #000; }
.tempo-dialog::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(7px); }
.dialog-card { padding: 26px; }
.dialog-card h2 { margin: 0 0 20px; font-size: 1.4rem; }
.dialog-card input { width: 100%; height: 60px; padding: 0 12px; border: 1px solid #333339; border-radius: 10px; outline: 0; background: #080809; color: var(--acid); text-align: center; font: 800 1.8rem/1 JetBrains Mono, monospace; }
.dialog-card input:focus { border-color: #68751e; }
.dialog-actions { display: flex; gap: 9px; margin-top: 16px; }
.dialog-actions button { flex: 1; height: 43px; border-radius: 9px; border: 1px solid #323238; font-weight: 800; cursor: pointer; }
.dialog-secondary { background: #17171b; }.dialog-primary { background: var(--acid); color: #09090a; border-color: var(--acid) !important; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 26px; padding: 11px 15px; border: 1px solid #34343a; border-radius: 10px; background: #141417; color: #e9e9eb; box-shadow: 0 15px 50px rgba(0,0,0,.45); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; font-size: .76rem; font-weight: 700; transition: .2s ease; }
.toast.show { transform: translate(-50%,0); opacity: 1; }

@media (max-width: 980px) {
  .nav { display: none; }
  .hero { min-height: auto; padding: 70px 0; grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { max-width: 680px; }
  .product-band-inner { grid-template-columns: 1fr; }
  .product-band article { min-height: auto; padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .product-band article:last-child { border-bottom: 0; }
  .section-intro, .reference-layout { grid-template-columns: 1fr; gap: 26px; }
  .workflow-grid { grid-template-columns: 1fr; }
  .workflow-grid article { min-height: 210px; }
  .workflow-grid h3 { margin-top: 45px; }
}
@media (max-width: 640px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .header-inner { min-height: 64px; }
  .brand-copy small, .mini-cta { display: none; }
  .hero { padding: 56px 0 58px; }
  h1 { font-size: clamp(3rem, 16vw, 4.8rem); }
  .hero-lead { font-size: .94rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-facts { width: 100%; }
  .hero-facts div { min-width: 0; flex: 1; padding-right: 12px; margin-right: 12px; }
  .scope svg { height: 160px; }
  .visual-foot { gap: 12px; flex-wrap: wrap; }
  .sequencer-section, .content-section, .reference-section { padding-top: 76px; padding-bottom: 76px; }
  .workspace-toolbar { align-items: stretch; flex-direction: column; }
  .toolbar-group { display: grid; grid-template-columns: 1fr 1fr; }
  .tool-button { width: 100%; }
  .tool-button-acid { grid-column: 1/-1; }
  .reference-grid { grid-template-columns: 1fr; }
  .footer-inner { padding: 34px 0; min-height: 0; align-items: flex-start; flex-direction: column; }
  .footer-links { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *,*::before,*::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
