/*! UN-540P. Copyright (c) 2026 Sonomama. All rights reserved. Not open source. See /un540p/LICENSE.txt */
/* Layout: one instrument. A three-part console (file in, live 3D pixel monitor, readout) under a
   one-line headline, then hairline panels. Every colour is a token, so both modes share one sheet. */
@font-face { font-family: Manrope; src: url(fonts/Manrope-Medium.ttf) format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: Manrope; src: url(fonts/Manrope-SemiBold.ttf) format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: Manrope; src: url(fonts/Manrope-Bold.ttf) format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: JBMono; src: url(fonts/JetBrainsMono-Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: JBMono; src: url(fonts/JetBrainsMono-Bold.ttf) format("truetype"); font-weight: 700; font-display: swap; }
:root {
  --bg: #fafafa; --panel: #ffffff; --well: #f5f5f6; --ink: #121212; --soft: #5c5c62; --line: #dfdfe3; --grid: #ededf0; --grid-hot: #c4c4cb;
  --accent: #d6163f; --btn: #e01f49; --btn-hi: #c4123a; --on-accent: #ffffff; --tint: #fff0f3; --cyan: #19d6d0; --ok: #00827e; --on-ok: #ffffff; --warn: #8a5600; --stop: #a83f00; --on-stop: #ffffff; --caution: #fff5da;
  --track: #e3e3e7; --halo: rgb(0 0 0 / .035); --drop: -60px 40px 110px -84px rgb(37 244 238 / .95), 60px 40px 110px -84px rgb(254 44 85 / .75), 0 34px 60px -54px rgb(0 0 0 / .4); --bar: rgb(250 250 250 / .82);
  --w0: #e6e6ea; --w1: #b4b4bb; --w2: #66666c; --w3: #1b1b1d; --w4: #000000; --scan: #fe2c55; --side-a: #25f4ee; --side-b: #fe2c55;
  --glitch: -.022em -.012em 0 #25f4ee, .022em .014em 0 #fe2c55;
  --sans: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif; --mono: JBMono, ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --gut: clamp(16px, 4vw, 48px); color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #000000; --panel: #121212; --well: #1a1a1a; --ink: #f6f6f6; --soft: #a8a8a8; --line: #2e2e2e; --grid: #141414; --grid-hot: #4a4a4a;
  --accent: #ff4d70; --btn: #e01f49; --btn-hi: #c4123a; --on-accent: #ffffff; --tint: #232323; --cyan: #25f4ee; --ok: #25f4ee; --on-ok: #002423; --warn: #ffc35c; --stop: #ff8a5c; --on-stop: #220a00; --caution: #26200f;
  --track: #2c2c2c; --halo: rgb(255 255 255 / .06); --drop: -60px 40px 120px -80px rgb(37 244 238 / .5), 60px 40px 120px -80px rgb(254 44 85 / .6); --bar: rgb(0 0 0 / .8);
  --w0: #1f1f1f; --w1: #4d4d4d; --w2: #a3a3a3; --w3: #ffffff; --w4: #ffffff; --scan: #25f4ee; --side-a: #25f4ee; --side-b: #fe2c55;
  --glitch: -.022em -.012em 0 #25f4ee, .022em .014em 0 #fe2c55;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 500 1.0313rem/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; padding: 0; } ul, ol { list-style: none; }
h1, h2 { font-weight: 700; line-height: 1.06; letter-spacing: -.038em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.75vw, 6rem); letter-spacing: -.05em; line-height: 1; text-shadow: var(--glitch); }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.9rem); }
h3 { font-size: 1.22rem; font-weight: 700; line-height: 1.25; letter-spacing: -.02em; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 8px; }
.wrap { width: min(1360px, 100%); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; left: -9999px; z-index: 20; background: var(--panel); padding: 10px 16px; } .skip:focus { left: 12px; top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* ---- header ---- */
.bar { position: sticky; top: 0; z-index: 10; background: var(--bar); backdrop-filter: blur(16px) saturate(1.5); border-bottom: 1px solid var(--line); }
.bar-in { display: flex; align-items: center; gap: 32px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.12rem; letter-spacing: -.03em; text-decoration: none; }
.bar-in > .parent { margin-left: -20px; margin-right: auto; }
.parent { margin-left: 10px; padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px; font-size: .78rem; font-weight: 600; color: var(--soft); text-decoration: none; white-space: nowrap; }
.parent:hover { color: var(--ink); border-color: var(--ink); }
.who { display: inline-flex; align-items: center; justify-self: start; }
.mark { width: 15px; height: 27px; } .m1 { fill: var(--accent); } .m2 { fill: var(--cyan); }
.bar nav { display: flex; gap: 28px; font-weight: 600; font-size: .97rem; color: var(--soft); } .bar nav a { text-decoration: none; padding: 8px 0; transition: color .15s; } .bar nav a:hover { color: var(--ink); }
.theme { flex: none; width: 60px; height: 32px; padding: 3px; border-radius: 99px; border: 1px solid var(--line); background: var(--well); cursor: pointer; }
.theme .knob { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--btn); color: var(--on-accent); transition: translate .3s cubic-bezier(.3, 1.2, .4, 1); }
[data-theme="dark"] .theme .knob { translate: 28px 0; }
.theme svg { grid-area: 1 / 1; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; } .theme .moon { fill: currentColor; stroke: none; }
[data-theme="dark"] .sun, :root:not([data-theme="dark"]) .moon { display: none; }

/* ---- hero ---- */
.hero { --mx: 72%; --my: 46%; position: relative; isolation: isolate; overflow: clip; }
.hero::before, .hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(var(--grid) 1px, transparent 1px) 0 -1px / 48px 48px, linear-gradient(90deg, var(--grid) 1px, transparent 1px) 50% 0 / 48px 48px; mask: linear-gradient(#000 55%, transparent); }
.hero::after { background-image: linear-gradient(var(--grid-hot) 1px, transparent 1px), linear-gradient(90deg, var(--grid-hot) 1px, transparent 1px); mask: radial-gradient(260px circle at var(--mx) var(--my), #000, transparent); opacity: .75; }
.hero-in { display: grid; gap: clamp(22px, 2vw, 28px); padding-block: clamp(28px, 2.6vw, 40px) clamp(48px, 5vw, 80px); }
.hero-copy { display: grid; gap: clamp(16px, 1.3vw, 20px); }
.hero-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 48px; }
.lead { font-size: clamp(1.08rem, 1.35vw, 1.22rem); line-height: 1.5; color: var(--soft); max-width: 42rem; text-wrap: pretty; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 36px; } .facts li { display: flex; align-items: baseline; gap: 9px; font-weight: 600; } .facts b { font: 700 1.5rem/1 var(--mono); color: var(--accent); }

/* ---- console ---- */
.console { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, 1.02fr) minmax(0, 1fr); min-height: 540px; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--drop); scroll-margin: 84px; }
.pane { position: relative; min-width: 0; padding: clamp(18px, 1.9vw, 28px); } .pane.mon { border-inline: 1px solid var(--line); background: radial-gradient(60% 50% at 50% 50%, var(--halo), transparent); }
.pane.in, .pane.out { display: grid; align-content: stretch; }
#wall { position: absolute; z-index: 2; left: -64px; top: -70px; width: calc(100% + 128px); height: calc(100% + 140px); pointer-events: none; }
.ratio { position: absolute; left: 18px; bottom: 14px; font: 400 .82rem/1 var(--mono); color: var(--soft); }
.wire { position: absolute; top: 50%; height: 2px; width: 50%; background: linear-gradient(90deg, transparent, var(--accent), transparent) 0 0 / 70px 2px no-repeat var(--line); animation: wire 2.6s linear infinite; } .wire.a { left: 0; } .wire.b { right: 0; animation-delay: 1.3s; }
.wire::before { content: ""; position: absolute; top: -4px; width: 9px; height: 9px; border: 2px solid var(--accent); background: var(--panel); } .wire.a::before { left: -5px; } .wire.b::before { right: -5px; }
[data-state="busy"] .wire { animation-duration: .8s; } [data-state="done"] .wire { background: var(--ok); animation: none; } [data-state="done"] .wire::before { border-color: var(--ok); background: var(--ok); }
@keyframes wire { from { background-position: -70px 0; } to { background-position: calc(100% + 70px) 0; } }

.view { display: grid; gap: 18px; align-content: center; } .view h2 { font-size: 1.62rem; } .pane.out h2 { font-size: 1.1rem; letter-spacing: -.02em; line-height: 1.3; }
.drop { position: relative; align-content: stretch; } .drop input { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.dropbox { position: relative; display: grid; align-content: center; justify-items: center; gap: 20px; text-align: center; cursor: pointer; border-radius: 12px; min-height: 400px; background: var(--well); transition: background .2s; }
.dropbox:hover, .dragging .dropbox { background: var(--tint); }
.drop-ico { width: 74px; height: 74px; fill: none; stroke: var(--soft); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; } .drop-ico .ar { stroke: var(--accent); stroke-width: 3.5; animation: nudge 1.8s ease-in-out infinite; } .drop-ico .fr { fill: var(--panel); }
@keyframes nudge { 50% { translate: 0 5px; } }
.drop-title { font-weight: 700; font-size: 1.85rem; line-height: 1.1; letter-spacing: -.04em; } .drop-note { color: var(--soft); line-height: 1.45; }
.cnr { position: absolute; width: 26px; height: 26px; border: 0 solid var(--accent); transition: translate .28s cubic-bezier(.2, 1.3, .4, 1); pointer-events: none; }
.cnr:nth-of-type(1) { left: 0; top: 0; border-width: 3px 0 0 3px; border-top-left-radius: 12px; } .cnr:nth-of-type(2) { right: 0; top: 0; border-width: 3px 3px 0 0; border-top-right-radius: 12px; }
.cnr:nth-of-type(3) { left: 0; bottom: 0; border-width: 0 0 3px 3px; border-bottom-left-radius: 12px; } .cnr:nth-of-type(4) { right: 0; bottom: 0; border-width: 0 3px 3px 0; border-bottom-right-radius: 12px; }
.dropbox:hover .cnr:nth-of-type(1), .dragging .cnr:nth-of-type(1) { translate: 12px 12px; } .dropbox:hover .cnr:nth-of-type(2), .dragging .cnr:nth-of-type(2) { translate: -12px 12px; }
.dropbox:hover .cnr:nth-of-type(3), .dragging .cnr:nth-of-type(3) { translate: 12px -12px; } .dropbox:hover .cnr:nth-of-type(4), .dragging .cnr:nth-of-type(4) { translate: -12px -12px; }
.drop:has(input:focus-visible) .dropbox { outline: 2px solid var(--accent); outline-offset: 4px; }

.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 13px 26px; border: 0; border-radius: 12px; background: var(--btn); color: var(--on-accent); font: 700 1.03rem/1.2 var(--sans); letter-spacing: -.01em; text-decoration: none; text-align: center; cursor: pointer; transition: background .16s, translate .16s; }
.btn:hover, .dropbox:hover .btn { background: var(--btn-hi); } .btn:active { translate: 0 1px; }
.btn[disabled], .btn[aria-disabled] { background: var(--track); color: var(--soft); cursor: not-allowed; translate: none; }
.btn.plain { background: var(--tint); color: var(--ink); } .btn.plain:hover { background: var(--track); } .wide { width: 100%; }
.link { justify-self: center; background: none; border: 0; padding: 6px; color: var(--accent); font: 600 1rem var(--sans); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; cursor: pointer; }
.small:empty, .msg:empty { display: none; }
#pass-form { display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 16px; } #pass-form label { font-weight: 600; line-height: 1.4; } #pass-form input { width: 100%; min-height: 50px; padding: 10px 14px; border: 1px solid var(--soft); border-radius: 12px; background: var(--well); color: var(--ink); font: 400 .92rem var(--mono); }
.msg { font-weight: 600; line-height: 1.4; text-align: center; }
.small { color: var(--soft); font-size: .94rem; text-align: center; }
.view-head { display: grid; gap: 7px; } .file-name { color: var(--soft); overflow-wrap: anywhere; font: 400 .88rem/1.45 var(--mono); }
progress { appearance: none; width: 100%; height: 8px; border: 0; border-radius: 99px; background: var(--track); overflow: hidden; }
progress::-webkit-progress-bar { background: var(--track); } progress::-webkit-progress-value { background: var(--accent); } progress::-moz-progress-bar { background: var(--accent); }
#act { display: grid; gap: 14px; }
.caution { background: var(--caution); border-radius: 12px; padding: 16px; font-size: .94rem; line-height: 1.5; display: grid; gap: 12px; }
.agree { display: flex; gap: 12px; align-items: center; font-weight: 700; font-size: 1rem; cursor: pointer; } .agree input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--accent); }
.tick { flex: none; width: 22px; height: 22px; border-radius: 6px; background: var(--ok); display: grid; place-items: center; }
.tick::after { content: ""; width: 6px; height: 10px; border: solid var(--on-ok); border-width: 0 2.5px 2.5px 0; transform: translateY(-1px) rotate(45deg); }
.proof { display: grid; gap: 14px; } .proof li { display: flex; gap: 12px; line-height: 1.45; } .proof .tick { margin-top: 1px; }

/* ---- readout ---- */
.pane.out { grid-template-rows: auto 1fr; gap: 8px; }
.rows { display: grid; align-content: stretch; } .row { display: grid; align-items: center; grid-template-columns: 7.2em 1fr; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
dt { color: var(--soft); font-size: .95rem; } dd { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 10px; }
.val { font: 700 .93rem/1.55 var(--mono); letter-spacing: -.02em; } .row.none .val { font-weight: 400; }
.tag { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; font: 700 .78rem/1 var(--sans); color: var(--on-ok); background: var(--ok); }
.row.none .tag, .row.info .tag { visibility: hidden; } .row.warn .tag { background: var(--warn); color: var(--bg); } .row.block .tag { background: var(--stop); color: var(--on-stop); }
.note { grid-column: 1 / -1; font-size: .87rem; line-height: 1.4; color: var(--soft); } .row.block .note { color: var(--stop); font-weight: 600; }

/* ---- sections ---- */
.sec { padding-block: clamp(56px, 6.4vw, 100px); display: grid; gap: clamp(28px, 3vw, 44px); scroll-margin-top: 20px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--panel); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.steps li { display: grid; } .steps li + li { border-left: 1px solid var(--line); }
.steps svg { width: 100%; padding: 30px 10px 18px; background: var(--well); border-bottom: 1px solid var(--line); overflow: hidden; font: 400 11px var(--mono); }
.steps text { fill: var(--soft); } .ln { fill: none; stroke: var(--soft); stroke-width: 1.4; opacity: .7; } .px rect { fill: var(--accent); opacity: .2; } .px rect:nth-child(3n) { opacity: .42; } .px rect:nth-child(5n) { opacity: .75; } .px rect:nth-child(11n + 2) { fill: var(--cyan); opacity: .8; }
.beam { fill: var(--scan); animation: beam 3.2s cubic-bezier(.5, 0, .5, 1) infinite alternate; } @keyframes beam { to { transform: translateY(168px); } }
.cells rect { fill: var(--track); } .cells.hit rect { fill: var(--accent); } .sweep { animation: sweep 3.6s cubic-bezier(.4, 0, .3, 1) infinite; transform-origin: 0 34px; } @keyframes sweep { from { transform: scaleY(0); } 70%, to { transform: scaleY(1); } }
.eq { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; } .solid { fill: var(--accent); } .play { fill: var(--on-accent); }
.dash { stroke-dasharray: 3 6; } .flow { stroke: var(--cyan); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 10 66; fill: none; animation: flow 1.5s linear infinite; } @keyframes flow { from { stroke-dashoffset: 76; } to { stroke-dashoffset: 0; } }
.ring { fill: none; stroke: var(--accent); stroke-width: 4; stroke-dasharray: 100; transform: rotate(-90deg); transform-origin: 262px 100.5px; animation: ring 3.2s ease-in-out infinite; } @keyframes ring { from { stroke-dashoffset: 100; } 70%, to { stroke-dashoffset: 0; } }
.txt { padding: 26px 28px 32px; display: grid; gap: 8px; align-content: start; } .txt p { color: var(--soft); } .txt h3 span { font: 700 1rem var(--mono); color: var(--accent); margin-right: 12px; }

/* ---- compare ---- */
.cmp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.32fr); background: var(--panel); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.cmp-copy { padding: clamp(24px, 3vw, 48px); display: grid; gap: 20px; align-content: center; } .cmp-copy > p { color: var(--soft); max-width: 27rem; }
.count { display: grid; gap: 44px; } .count dd { display: block; color: var(--soft); } .count b { font: 700 clamp(2.1rem, 3.7vw, 3.3rem)/1.15 var(--mono); letter-spacing: -.06em; color: var(--ink); margin-right: 6px; } .count div:last-child b { color: var(--accent); }
.sec-head { display: grid; gap: 16px; max-width: 47rem; } .sec-head p { color: var(--soft); font-size: 1.1rem; }
.cap { grid-column: 1 / -1; font-size: .9rem; color: var(--soft); line-height: 1.45; }
.track { display: block; margin-top: 12px; height: 10px; border-radius: 4px; background: var(--track); overflow: hidden; } .track i { display: block; height: 100%; border-radius: 4px; } .track .full { background: var(--ink); } .track .part { width: 28.44%; background: var(--accent); }
.pair { --x: 50%; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: clamp(18px, 1.9vw, 28px); background: var(--well); border-left: 1px solid var(--line); align-content: center; }
.view2 { position: relative; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; background: #b9c4b4 url(img/frame-1080.jpg) 50% 50% / 100% auto no-repeat; }
.view2 .low { position: absolute; inset: 0; background: url(img/frame-576.jpg) 50% 50% / 100% auto no-repeat; clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.view2.zoom, .view2.zoom .low { background-size: 285% auto; background-position: 90% 35%; }
.line { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: var(--scan); pointer-events: none; }
.grip { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px; border-radius: 12px; background: var(--panel); display: grid; grid-auto-flow: column; place-content: center; gap: 11px; box-shadow: 0 8px 24px rgb(0 0 0 / .35); } .grip::before, .grip::after { content: ""; width: 9px; height: 9px; border: solid var(--ink); border-width: 0 0 2.5px 2.5px; transform: rotate(45deg); } .grip::after { transform: rotate(225deg); }
.view2 input { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; } .view2:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: -4px; }
.chip { position: absolute; z-index: 1; top: 16px; background: var(--panel); color: var(--ink); border-radius: 8px; padding: 8px 12px; font: 700 .86rem/1.2 var(--mono); pointer-events: none; } .chip.l { left: 16px; } .chip.r { right: 16px; }

/* ---- price ---- */
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.plans { display: grid; grid-template-columns: 1fr 1.25fr; gap: 18px; }
.plan { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: clamp(26px, 3vw, 44px); display: grid; grid-template-columns: 1fr; gap: 30px; align-content: start; }
.plan.main { border: 2px solid transparent; background: linear-gradient(var(--panel), var(--panel)) padding-box, conic-gradient(from var(--spin), var(--accent), var(--cyan) 12%, var(--line) 30%, var(--line) 70%, var(--accent)) border-box; animation: spin 6s linear infinite; } @keyframes spin { to { --spin: 360deg; } }
.plan-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 20px; } .plan h3 { font: 700 1.1rem var(--mono); letter-spacing: -.02em; color: var(--soft); } .amount { font-weight: 700; font-size: clamp(2.3rem, 4vw, 3.6rem); line-height: 1; letter-spacing: -.055em; } .main .amount { color: var(--accent); }
.plan .btn { justify-self: start; } .plan ul { display: grid; gap: 13px; } .plan li { display: flex; gap: 12px; line-height: 1.4; }

/* ---- questions ---- */
.faq { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 88px); padding-bottom: clamp(72px, 8vw, 128px); } .faq h2 { position: sticky; top: 100px; align-self: start; }
.faq-list { display: grid; gap: 8px; align-content: start; }
details { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s; } details:hover, details[open] { border-color: var(--accent); }
summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 22px; font-weight: 600; font-size: 1.08rem; line-height: 1.35; letter-spacing: -.015em; cursor: pointer; border-radius: 14px; } summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 16px; height: 16px; background: linear-gradient(var(--accent) 0 0) center / 16px 2px no-repeat, linear-gradient(var(--accent) 0 0) center / 2px 16px no-repeat; transition: rotate .25s; } details[open] summary::after { rotate: 45deg; }
details p { padding: 0 60px 22px 22px; max-width: 46rem; color: var(--soft); }

/* ---- tip panel, footer, legal ---- */
dialog { border: 1px solid var(--line); border-radius: 22px; padding: 14px; width: min(470px, 100% - 32px); color: var(--ink); background: var(--panel); box-shadow: var(--drop); } dialog::backdrop { background: rgb(0 0 0 / .6); backdrop-filter: blur(6px); }
.dlg { position: relative; padding: 28px 26px 18px; display: grid; gap: 15px; } .dlg h2 { font-size: 1.7rem; }
.foot { border-top: 1px solid var(--line); background: var(--panel); color: var(--soft); } .foot-in { padding-block: 36px; display: grid; grid-template-columns: 1fr auto; gap: 16px 40px; align-items: center; } .foot .brand { color: var(--ink); justify-self: start; } .foot nav { display: flex; flex-wrap: wrap; gap: 8px 26px; font-weight: 600; } .foot p { grid-column: 1 / -1; font-size: .94rem; }
.legal { max-width: 860px; display: grid; gap: 14px; padding-block: 56px 100px; } .legal h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 6px; } .legal h2 { font-size: 1.3rem; letter-spacing: -.02em; margin-top: 18px; } .draft { justify-self: start; background: var(--caution); font-weight: 600; padding: 6px 14px; border-radius: 8px; }

@media (max-width: 1080px) {
  .console { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .pane.mon { border-right: 0; min-height: 520px; } .pane.out { grid-column: 1 / -1; border-top: 1px solid var(--line); } .wire.b { display: none; }
  .steps, .cmp, .faq { grid-template-columns: 1fr; } .pair { border-left: 0; border-top: 1px solid var(--line); } .steps li + li { border-left: 0; border-top: 1px solid var(--line); } .steps svg { max-height: 260px; } .faq h2 { position: static; } .bar nav { gap: 20px; }
}
@media (max-width: 720px) {
  .bar nav { display: none; } .console { grid-template-columns: 1fr; } .pane.mon { border: 0; border-block: 1px solid var(--line); min-height: 470px; } .pane.out { border-top: 0; } .wire { display: none; } .pane.in { min-height: 0; } .dropbox { min-height: 340px; }
  #wall { left: 0; width: 100%; } .plans { grid-template-columns: 1fr; } .foot-in { grid-template-columns: 1fr; } .pair { border-left: 0; border-top: 1px solid var(--line); gap: 10px; } details p { padding-right: 22px; } .facts { gap: 10px 22px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
