/* Aemon website. AGPL-3.0-or-later.
   Layout: a studio desk seen from above. Wide dark surfaces, the plugins as lit hardware on them, one
   working console you can play, ember only on things you can touch. Single dark look by choice. */
@font-face { font-family: "Unbounded"; src: url("assets/fonts/Unbounded-SemiBold.ttf"); font-weight: 600; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("assets/fonts/IBMPlexSans-Regular.ttf"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("assets/fonts/IBMPlexSans-Medium.ttf"); font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Sans Condensed"; src: url("assets/fonts/IBMPlexSansCondensed-SemiBold.ttf"); font-weight: 600; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("assets/fonts/IBMPlexMono-Medium.ttf"); font-weight: 500; font-display: swap; }

:root {
  --b0: #0d0e12; --b1: #14151a; --b2: #1b1d23; --b3: #24272f; --b4: #30343e;
  --line: #2d313b; --line-soft: #22252d;
  --bone: #ede7dc; --bone-2: #b4afa5; --bone-3: #8b8e9b;
  --ember: #f0a35b; --ember-hi: #ffc58e; --ember-lo: #9a6433;
  --phos: #86e0cb; --lilac: #b8a6ff; --ok: #62cf98; --hot: #e6c15a; --clip: #ff5c50;
  --disp: "Unbounded", "Arial Black", system-ui, sans-serif;
  --text: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --label: "IBM Plex Sans Condensed", "Arial Narrow", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --s1: 13px; --s2: 16px; --s3: 19px; --s4: clamp(21px, 2vw, 26px); --s5: clamp(28px, 3.6vw, 48px); --s6: clamp(40px, 6.6vw, 98px);
  --gap: clamp(88px, 12vw, 176px);
  --plate: linear-gradient(180deg, #2a2d36, #21242b);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; background: var(--b1); }
body { margin: 0; background: var(--b1); color: var(--bone); font: 400 var(--s2)/1.6 var(--text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 40; background: var(--b1); }
.w { max-width: 1280px; margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
h1, h2, h3, p, figure, ul, ol, dl, dd { margin: 0; }
h1, h2 { font-family: var(--disp); font-weight: 600; text-wrap: balance; letter-spacing: -.015em; }
h2 { font-size: var(--s5); line-height: 1.1; }
h3 { font: 500 var(--s3)/1.35 var(--text); }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 4px; }
.lede { font-size: var(--s3); line-height: 1.55; color: var(--bone-2); max-width: 58ch; text-wrap: pretty; }
.lb { font: 600 12px/1 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--bone-3); }
.num { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 60; background: var(--b0); padding: 10px 14px; }
section { padding-top: var(--gap); }

/* buttons */
.cta { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 26px; border: 0; border-radius: 10px; text-decoration: none; cursor: pointer; white-space: nowrap;
  font: 600 17px/1 var(--text); color: #20130a; background: linear-gradient(180deg, #ffc98f, #f0a35b 58%, #dd8d43);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 -2px 0 rgba(80,40,10,.35), 0 10px 40px -8px rgba(240,163,91,.5); transition: transform .18s, box-shadow .18s, filter .18s; }
.cta:hover { transform: translateY(-1px); filter: brightness(1.05); }
.cta:active { transform: translateY(1px); }
.cta svg { width: 18px; height: 18px; }
.cta.sm { min-height: 40px; padding: 0 18px; font-size: 15px; border-radius: 8px; box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 -2px 0 rgba(80,40,10,.3); }
.ghost { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 22px; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; font-weight: 500; font-size: 17px; background: rgba(255,255,255,.02); transition: border-color .18s, background .18s; cursor: pointer; white-space: nowrap; }
.ghost:hover { border-color: var(--bone-3); background: rgba(255,255,255,.05); }
.ghost svg { width: 14px; height: 14px; fill: var(--ember); }

/* nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: rgba(20,21,26,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-soft); }
.nav .w { display: flex; align-items: center; gap: 32px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font: 600 17px/1 var(--disp); letter-spacing: .08em; }
.logo svg { width: 27px; height: 27px; }
.nav nav { display: flex; gap: 28px; margin-left: auto; }
.nav nav a { text-decoration: none; color: var(--bone-2); font-size: 15px; transition: color .15s; }
.nav nav a:hover { color: var(--bone); }
@media (max-width: 860px) { .nav nav { display: none; } .nav .cta { margin-left: auto; } }

/* hero */
.hero { position: relative; padding-top: clamp(56px, 7.5vw, 112px); overflow: clip; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(58% 42% at 62% 78%, rgba(240,163,91,.17), transparent 70%), radial-gradient(40% 36% at 12% 70%, rgba(134,224,203,.07), transparent 70%); }
.hero h1 { font-size: var(--s6); line-height: .98; letter-spacing: -.03em; max-width: 12ch; }
.hero .top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 28px clamp(32px, 6vw, 96px); align-items: end; }
.hero .side { display: grid; gap: 26px; padding-bottom: 8px; }
.hero .acts { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { font: 500 13px/1.5 var(--mono); color: var(--bone-3); }
@media (max-width: 900px) { .hero .top { grid-template-columns: minmax(0, 1fr); } }

.stage { position: relative; margin-top: clamp(44px, 6vw, 84px); perspective: 2200px; }
.win { border-radius: 12px; overflow: hidden; background: var(--b2); border: 1px solid #08090b; box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 50px 110px -20px rgba(0,0,0,.85), 0 18px 40px rgba(0,0,0,.5); }
.win img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.stage .mid { position: relative; z-index: 2; width: min(100%, 72%); margin-inline: auto; }
.stage .l, .stage .r { position: absolute; z-index: 1; width: 52%; top: 9%; filter: brightness(.74); }
.stage .l { left: -9%; transform: rotateY(13deg); transform-origin: left center; }
.stage .r { right: -9%; transform: rotateY(-13deg); transform-origin: right center; }
@media (max-width: 760px) { .stage .mid { width: 100%; } .stage .l, .stage .r { display: none; } }

.chain { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.chain a { position: relative; text-decoration: none; padding: 26px 24px 28px; display: grid; gap: 8px; align-content: start; border-left: 1px solid var(--line-soft); transition: background .2s; }
.chain a:nth-child(n+4) { border-top: 1px solid var(--line-soft); }
.chain a:nth-child(3n+1) { border-left: 0; padding-left: 0; }
.chain a:has(i) { grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; }
.chain i { font: 600 12px/22px var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--ember); }
.chain span { grid-column: 1 / -1; }
.chain a:hover { background: rgba(255,255,255,.025); }
.chain b { font: 600 18px/1.2 var(--disp); letter-spacing: 0; }
.chain span { color: var(--bone-2); font-size: 15px; line-height: 1.5; }
@media (max-width: 860px) { .chain { grid-template-columns: repeat(2, minmax(0, 1fr)); } .chain a, .chain a:nth-child(3n+1) { padding: 20px 16px; border-left: 1px solid var(--line-soft); } .chain a:nth-child(odd), .chain a:nth-child(6n+1) { border-left: 0; padding-left: 0; } .chain a:nth-child(n+3) { border-top: 1px solid var(--line-soft); } }
@media (max-width: 480px) { .chain b { font-size: 16px; } }

/* head of a section */
.sh { display: grid; gap: 18px; max-width: 820px; margin-bottom: clamp(36px, 4.5vw, 64px); }

/* console (listening) */
.console { border-radius: 16px; background: var(--b2); border: 1px solid #08090b; box-shadow: 0 0 0 1px rgba(255,255,255,.05), 0 50px 100px -30px #000; overflow: hidden; }
.tabs { display: flex; gap: 4px; padding: 12px; background: var(--b1); border-bottom: 1px solid #08090b; overflow-x: auto; scrollbar-width: none; }
.tabs button { flex: 1 0 auto; min-height: 44px; padding: 0 18px; border: 0; border-radius: 8px; background: transparent; color: var(--bone-2); font-weight: 500; font-size: 15px; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s; }
.tabs button:hover { color: var(--bone); }
.tabs button[aria-selected="true"] { background: var(--b3); color: var(--bone); box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 1px 3px rgba(0,0,0,.5); }
.screen { position: relative; margin: 18px 18px 0; border-radius: 10px; background: var(--b0); box-shadow: inset 0 2px 14px #000, inset 0 0 0 1px #050608; }
.screen canvas { display: block; width: 100%; height: clamp(220px, 30vw, 360px); cursor: pointer; border-radius: 10px; }
.screen .cap { position: absolute; left: 18px; top: 16px; right: 18px; display: flex; justify-content: space-between; gap: 16px; pointer-events: none; }
.deck { display: grid; grid-template-columns: auto minmax(300px, 1fr) auto; gap: 18px 34px; align-items: center; margin: 18px; padding: 22px 26px; border-radius: 10px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.012) 0 1px, transparent 1px 3px), var(--plate); box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 2px 6px rgba(0,0,0,.4); }
.play { width: 72px; height: 72px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: radial-gradient(circle at 50% 30%, #454a56, #1c1e24 72%); box-shadow: 0 0 0 3px #0b0c0f, 0 0 0 4px rgba(255,255,255,.07), 0 10px 22px rgba(0,0,0,.6), inset 0 1px 1px rgba(255,255,255,.22); transition: filter .15s; }
.play:hover { filter: brightness(1.15); }
.play svg { width: 24px; height: 24px; fill: var(--ember); filter: drop-shadow(0 0 8px rgba(240,163,91,.6)); }
.ab { display: grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 12px; background: var(--b0); box-shadow: inset 0 2px 8px #000; max-width: 480px; }
.ab button { min-height: 58px; border: 0; background: transparent; border-radius: 8px; color: var(--bone-2); font: 600 17px/1 var(--text); cursor: pointer; transition: color .12s; }
.ab button[aria-pressed="true"] { color: #20130a; background: linear-gradient(180deg, #ffc98f, #f0a35b 60%, #dd8d43); box-shadow: inset 0 1px 0 rgba(255,255,255,.5); }
.ab button[aria-pressed="true"].bf { color: #0c1a17; background: linear-gradient(180deg, #b4f1e3, #86e0cb 60%, #62bfa9); }
.sw { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-size: 15px; color: var(--bone-2); user-select: none; }
.sw input { position: absolute; opacity: 0; }
.sw i { flex: none; width: 44px; height: 24px; border-radius: 99px; background: var(--b0); box-shadow: inset 0 1px 4px #000; position: relative; }
.sw i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--bone-3); transition: transform .16s, background .16s; }
.sw input:checked + i::after { transform: translateX(20px); background: var(--ember); box-shadow: 0 0 10px rgba(240,163,91,.6); }
.sw input:focus-visible + i { outline: 2px solid var(--ember); outline-offset: 3px; }
.notes { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 22px 48px; padding: 6px 28px 30px; }
.notes p { color: var(--bone-2); max-width: 62ch; }
.notes p b { color: var(--bone); font-weight: 500; }
.notes dl { display: grid; grid-template-columns: 1fr auto auto; gap: 8px 26px; align-content: start; font-size: 15px; }
.notes dt { color: var(--bone-3); }
.notes dd { text-align: right; }
.notes .h { font: 600 12px/1.4 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--bone-3); }
.under { margin-top: 18px; color: var(--bone-3); font-size: 14px; max-width: 80ch; }
@media (max-width: 860px) { .deck { grid-template-columns: auto minmax(0, 1fr); padding: 18px; gap: 18px; } .deck .sw { grid-column: 1 / -1; } .notes { grid-template-columns: minmax(0, 1fr); } .screen, .deck { margin-inline: 12px; } }
@media (max-width: 480px) { .deck { grid-template-columns: minmax(0, 1fr); justify-items: center; } .ab { width: 100%; } .tabs button { padding: 0 14px; } .screen .cap .lb:last-child { display: none; } }

/* plugin showcases */
.plug { padding-top: clamp(96px, 12vw, 184px); }
.plug .ph { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; margin-bottom: 36px; }
.plug .name { display: flex; align-items: center; gap: 14px; font: 600 15px/1 var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--ember); margin-bottom: 18px; }
.plug h2 { max-width: 17ch; }
.plug .lede { margin-top: 18px; }
.seg { display: inline-grid; grid-auto-flow: column; padding: 4px; border-radius: 10px; background: var(--b0); box-shadow: inset 0 1px 6px #000; }
.seg button { min-height: 42px; padding: 0 22px; border: 0; border-radius: 7px; background: transparent; color: var(--bone-2); font-weight: 500; font-size: 15px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--b3); color: var(--bone); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 1px 3px rgba(0,0,0,.6); }
.shot { position: relative; }
.shot img + img { position: absolute; inset: 0; opacity: 0; transition: opacity .35s; }
.shot[data-mode="pro"] img + img { opacity: 1; }
.feat, .spec, .flag, .two, .under { position: relative; z-index: 1; }
.feat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px clamp(28px, 4vw, 64px); margin-top: 48px; }
.feat h3 { margin-bottom: 8px; }
.feat p { color: var(--bone-2); }
.spec { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }
.spec div { display: grid; gap: 6px; }
.spec .num { font-size: 17px; }
.flag { display: inline-flex; align-items: center; gap: 9px; margin-top: 16px; font-size: 14px; color: var(--bone-3); }
.flag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--hot); }
@media (max-width: 860px) { .plug .ph { grid-template-columns: minmax(0, 1fr); } .feat { grid-template-columns: minmax(0, 1fr); gap: 28px; } .seg { justify-self: start; } }

/* simple / pro wipe */
.wipe { position: relative; }
.wipe .win { position: relative; }
.wipe .top-img { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--x, 52%)) 0 0); }
.wipe .bar { position: absolute; top: 0; bottom: 0; left: var(--x, 52%); width: 2px; background: var(--ember); box-shadow: 0 0 18px rgba(240,163,91,.8); pointer-events: none; transform: translateX(-1px); }
.wipe .bar::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: radial-gradient(circle at 50% 30%, #454a56, #1c1e24 72%); box-shadow: 0 0 0 2px var(--ember), 0 8px 20px #000; color: var(--ember-hi); font: 500 18px/1 var(--mono); letter-spacing: -.1em; }
.wipe input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.wipe input:focus-visible ~ .bar::after { outline: 2px solid var(--bone); outline-offset: 4px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 64px; margin-top: 32px; }
.two p { color: var(--bone-2); max-width: 48ch; }
@media (max-width: 680px) { .two { grid-template-columns: minmax(0, 1fr); } }

/* measured */
.band { margin-top: var(--gap); padding-block: clamp(80px, 10vw, 150px); background: var(--b0); border-block: 1px solid #08090b; }
.charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(48px, 6vw, 88px); }
.charts h3 { font-size: var(--s4); margin-bottom: 8px; text-wrap: balance; }
.charts p { color: var(--bone-2); margin-bottom: 26px; max-width: 54ch; }
.charts svg { width: 100%; height: auto; display: block; overflow: visible; }
.charts text { font-family: var(--mono); font-weight: 500; font-size: 13px; fill: var(--bone-3); }
.charts text { paint-order: stroke; stroke: var(--b0); stroke-width: 4px; }
.charts .d { font-family: var(--text); font-size: 14px; }
.charts .leg { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 18px; font-size: 14px; color: var(--bone-2); }
.leg i { display: inline-block; width: 22px; height: 0; border-top: 3px solid; margin-right: 9px; vertical-align: middle; }
.tbl { margin-top: clamp(56px, 7vw, 96px); overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { text-align: left; padding: 17px 20px 17px 0; border-bottom: 1px solid var(--line-soft); vertical-align: baseline; }
th { font: 600 12px/1 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--bone-3); }
td:first-child { color: var(--bone); font-weight: 500; white-space: nowrap; }
td { color: var(--bone-2); }
td:last-child { font-family: var(--mono); font-weight: 500; color: var(--bone); white-space: nowrap; padding-right: 0; text-align: right; }
th:last-child { text-align: right; padding-right: 0; }
@media (max-width: 860px) { .charts { grid-template-columns: minmax(0, 1fr); } }

/* presets */
.pre { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px clamp(40px, 6vw, 110px); align-items: start; }
.plist { border-radius: 12px; background: var(--b2); box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 40px 80px -30px #000; overflow: hidden; }
.plist button { display: grid; gap: 4px; width: 100%; text-align: left; padding: 18px 24px; border: 0; border-bottom: 1px solid var(--line-soft); background: transparent; cursor: pointer; }
.plist li:last-child button { border-bottom: 0; }
.plist button:hover, .plist button[aria-expanded="true"] { background: var(--b3); }
.plist .pn { display: flex; justify-content: space-between; gap: 20px; font-weight: 500; font-size: 17px; line-height: 1.4; }
.plist .pn i { font: 600 12px/1.8 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--bone-3); white-space: nowrap; }
.plist .pd { color: var(--bone-2); font-size: 15px; }
.plist button[aria-expanded="false"] .pd { display: none; }
.plist button[aria-expanded="true"] .pn span { color: var(--ember-hi); }
@media (max-width: 860px) { .pre { grid-template-columns: minmax(0, 1fr); } .plist button { padding: 16px 18px; } }

/* every plugin */
.every { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px clamp(24px, 3vw, 48px); }
.every svg { width: 34px; height: 34px; stroke: var(--bone-2); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.every svg .e { stroke: var(--ember); }
.every p { color: var(--bone-2); font-size: 15px; margin-top: 6px; }
@media (max-width: 960px) { .every { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .every { gap: 34px 20px; } }

/* letter */
.letter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 36px clamp(40px, 7vw, 120px); align-items: start; }
.letter .body { display: grid; gap: 20px; font-size: var(--s3); line-height: 1.65; color: var(--bone-2); max-width: 56ch; }
.letter .body strong { color: var(--bone); font-weight: 500; }
.reach { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.reach .ghost { min-height: 50px; font-size: 16px; }
.reach svg { width: 18px; height: 18px; fill: none; stroke: var(--ember); stroke-width: 1.7; }
@media (max-width: 860px) { .letter { grid-template-columns: minmax(0, 1fr); } }

/* download */
.dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px clamp(40px, 6vw, 104px); align-items: center; }
.dl .acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.dl .fine { margin-top: 18px; }
.steps { display: grid; gap: 20px; margin-top: 44px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 4px 14px; color: var(--bone-2); }
.steps li::before { content: counter(s); grid-row: 1 / 3; font: 500 19px/1.35 var(--mono); color: var(--ember); }
.steps b { color: var(--bone); font-weight: 500; }
.setup { border-radius: 12px; background: var(--b2); overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 50px 110px -20px #000; }
.setup .t { display: flex; align-items: center; gap: 10px; padding: 13px 18px; background: var(--b1); border-bottom: 1px solid #08090b; font-size: 14px; color: var(--bone-2); }
.setup .t svg { width: 18px; height: 18px; }
.setup .b { padding: 28px 28px 8px; }
.setup .b > p { color: var(--bone-2); margin: 6px 0 20px; }
.setup label { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line-soft); cursor: pointer; }
.setup label input { appearance: none; width: 22px; height: 22px; margin: 0; border-radius: 5px; background: var(--b0); box-shadow: inset 0 1px 4px #000, 0 0 0 1px var(--line); cursor: pointer; display: grid; place-items: center; }
.setup label input:checked { background: var(--ember); box-shadow: none; }
.setup label input:checked::after { content: ""; width: 6px; height: 11px; border: solid #20130a; border-width: 0 2.5px 2.5px 0; transform: translateY(-1px) rotate(45deg); }
.setup label b { font-weight: 500; }
.setup label span { color: var(--bone-3); font-size: 14px; }
.setup .f { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 28px; background: var(--b1); font-size: 14px; color: var(--bone-3); }
.setup .f b { padding: 11px 22px; border-radius: 7px; background: linear-gradient(180deg, #ffc98f, #f0a35b 60%, #dd8d43); color: #20130a; font-weight: 600; }
@media (max-width: 900px) { .dl { grid-template-columns: minmax(0, 1fr); } }

/* install warnings */
.warns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px clamp(32px, 5vw, 80px); }
.warns figure { display: grid; gap: 26px; align-content: start; }
.warns figcaption h3 { margin-bottom: 8px; }
.warns figcaption p, .facts p { color: var(--bone-2); max-width: 58ch; }
.warns b, .facts b { color: var(--bone); font-weight: 500; }
.dlg { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-height: 282px; padding: 26px 28px; border-radius: 8px; background: var(--b3); color: var(--bone); font-size: 15px; line-height: 1.5; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 80px -30px #000; }
.dlg.blue { background: #123a63; }
.dlg p { color: inherit; }
.dlg .dt { font-size: 20px; line-height: 1.3; font-weight: 500; }
.dlg .dk { font-size: 13px; color: var(--bone-2); }
.dlg .dm { font: 500 13px/1.6 var(--mono); color: #d6d2c9; overflow-wrap: anywhere; }
.dlg .db { display: flex; gap: 12px; margin-top: auto; align-self: flex-end; padding-top: 10px; }
.dlg .db span { padding: 11px 20px; border-radius: 4px; background: rgba(255,255,255,.12); }
.dlg mark { color: #20130a; background: var(--ember); font-weight: 500; border-radius: 4px; padding: 3px 8px; box-shadow: 0 0 0 4px rgba(240,163,91,.3); }
.dlg .db mark { padding: 11px 20px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px clamp(28px, 4vw, 64px); margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--line); }
.facts h3 { margin-bottom: 8px; }
.steps a, .faq details a, .facts a { color: var(--ember-hi); }
@media (max-width: 860px) { .warns, .facts { grid-template-columns: minmax(0, 1fr); } .dlg { min-height: 0; } }

/* faq */
.faq { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 36px clamp(40px, 6vw, 104px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font-weight: 500; font-size: var(--s3); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ember); font: 500 22px/1.2 var(--mono); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 44px 24px 0; color: var(--bone-2); max-width: 66ch; }
@media (max-width: 860px) { .faq { grid-template-columns: minmax(0, 1fr); } }

/* end */
.end { margin-top: var(--gap); padding-block: clamp(90px, 11vw, 170px); text-align: center; background: radial-gradient(60% 90% at 50% 100%, rgba(240,163,91,.2), transparent 70%), var(--b0); border-top: 1px solid #08090b; }
.end h2 { font-size: clamp(34px, 5.4vw, 76px); max-width: 15ch; margin: 0 auto 34px; letter-spacing: -.025em; }
.end .fine { margin-top: 20px; }
footer { background: var(--b0); border-top: 1px solid var(--line-soft); padding-block: 48px calc(48px + env(safe-area-inset-bottom, 0px)); color: var(--bone-3); font-size: 14px; }
footer .row { display: flex; flex-wrap: wrap; gap: 24px 64px; justify-content: space-between; }
footer ul { display: grid; gap: 10px; }
footer li a { text-decoration: none; color: var(--bone-2); }
footer li a:hover { color: var(--bone); }
footer .lb { display: block; margin-bottom: 16px; }
footer .legal { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line-soft); max-width: none; line-height: 1.7; }
.toast { position: fixed; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); z-index: 50; padding: 14px 22px; border-radius: 10px; background: var(--b4); box-shadow: 0 20px 50px #000; opacity: 0; pointer-events: none; transition: .25s; max-width: calc(100vw - 40px); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 680px) {
  .charts text, .charts .d { font-size: 18px; }
  .charts svg { margin-inline: -2px; }
  table { min-width: 0; }
  thead { display: none; }
  tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 20px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
  td { border: 0; padding: 0; }
  td:first-child { white-space: normal; }
  td:nth-child(2) { grid-row: 2; grid-column: 1 / -1; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* text pages: guide, mixing guide, changelog, signing */
.flow { counter-reset: f; display: grid; gap: 0 !important; margin-top: 18px; padding: 0 !important; list-style: none !important; border-top: 1px solid var(--line); }
.flow li { counter-increment: f; display: grid; grid-template-columns: 44px 130px minmax(0, 1fr); align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--line-soft); }
.flow li::before { content: counter(f); font: 500 16px/1 var(--mono); color: var(--phos); }
.flow b { font: 600 16px/1.3 var(--disp); }
.vmap { position: relative; height: 168px; margin: 24px 0 8px; border-radius: 10px; background: var(--b0); box-shadow: inset 0 2px 8px #000, 0 1px 0 rgba(255,255,255,.07); overflow: hidden; }
.vmap div { position: absolute; left: calc(var(--a) * 1%); width: calc((var(--b) - var(--a)) * 1%); top: 22px; bottom: 22px; display: grid; align-content: end; justify-items: center; gap: 4px; padding-bottom: 12px; text-align: center; border-radius: 6px; background: linear-gradient(180deg, rgba(134,224,203,.05), rgba(134,224,203,.2)); border-top: 2px solid var(--phos); }
.vmap .k { background: linear-gradient(180deg, rgba(240,163,91,.08), rgba(240,163,91,.28)); border-color: var(--ember); }
.vmap i { font: 600 14px/1.1 var(--label); letter-spacing: .06em; color: var(--bone); }
.vmap span { font: 500 11px/1.2 var(--mono); color: var(--bone-2); }
article .tbl { margin: 20px 0 22px; }
article td:last-child { font-family: var(--text); white-space: normal; min-width: 150px; }
.free { margin: 0 0 8px; padding: 24px 28px; border-radius: 12px; background: var(--plate); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 20px 50px -20px #000; border-left: 3px solid var(--ember); }
article p + .free { margin-top: 28px; }
.free .ft { font: 600 19px/1.3 var(--disp); color: var(--bone); margin-bottom: 8px; }
.free p { color: var(--bone-2); }
.free .cta { color: #20130a; margin-top: 8px; }
.ticks { display: grid; gap: 4px; margin-bottom: 28px; list-style: none; padding: 0; }
.ticks label { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; align-items: start; padding: 11px 0; cursor: pointer; }
.ticks input { appearance: none; width: 22px; height: 22px; margin: 1px 0 0; border-radius: 5px; background: var(--b0); box-shadow: inset 0 1px 4px #000, 0 0 0 1px var(--line); cursor: pointer; display: grid; place-items: center; }
.ticks input:checked { background: var(--ember); box-shadow: none; }
.ticks input:checked::after { content: ""; width: 6px; height: 11px; border: solid #20130a; border-width: 0 2.5px 2.5px 0; transform: translateY(-1px) rotate(45deg); }
.ticks input:checked + span { color: var(--bone-3); text-decoration: line-through; }
@media (max-width: 680px) {
  .flow li { grid-template-columns: 34px minmax(0, 1fr); } .flow li span { grid-column: 2; }
  .vmap { height: auto; display: grid; gap: 6px; padding: 12px; }
  .vmap div { position: static; width: auto; display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-top: 0; border-left: 3px solid var(--phos); }
  .vmap .k { border-color: var(--ember); } .vmap span { font-size: 13px; }
}
.doc { padding-block: clamp(48px, 6vw, 88px) clamp(80px, 10vw, 140px); }
.dochead { display: grid; gap: 18px; margin-bottom: clamp(40px, 5vw, 72px); }
.dochead h1 { font-size: clamp(36px, 5.4vw, 72px); line-height: 1; letter-spacing: -.025em; }
.docgrid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px clamp(40px, 6vw, 96px); align-items: start; }
.toc { position: sticky; top: calc(96px + env(safe-area-inset-top, 0px)); }
.toc ul { display: grid; gap: 12px; }
.toc a { text-decoration: none; color: var(--bone-2); }
.toc a:hover { color: var(--bone); }
article { max-width: 780px; min-width: 0; }
article h2 { font-size: clamp(24px, 2.6vw, 34px); margin: 84px 0 22px; scroll-margin-top: 96px; }
article h2:first-child { margin-top: 0; }
article h3 { margin: 34px 0 8px; }
article p, article li, article dd { color: var(--bone-2); }
article p + p { margin-top: 14px; }
article b { color: var(--bone); font-weight: 500; }
article a { color: var(--ember-hi); }
article ol { display: grid; gap: 10px; margin-bottom: 18px; padding-left: 22px; list-style: decimal; }
article .dots { display: grid; gap: 10px; padding-left: 20px; list-style: disc; }
article img { border-radius: 10px; margin: 0 0 24px; box-shadow: 0 0 0 1px rgba(255,255,255,.07), 0 30px 60px -20px #000; }
article code, kbd { font: 500 .9em/1.4 var(--mono); background: var(--b0); border-radius: 4px; padding: 2px 6px; color: var(--bone); overflow-wrap: anywhere; }
kbd { box-shadow: 0 0 0 1px var(--line); }
pre { overflow-x: auto; background: var(--b0); border-radius: 8px; padding: 16px 18px; margin: 18px 0; }
pre code { background: none; padding: 0; }
.opts { display: grid; grid-template-columns: minmax(140px, 200px) minmax(0, 1fr); margin-top: 12px; }
.opts dt, .opts dd { padding: 13px 0; border-top: 1px solid var(--line-soft); }
.opts dt { font-weight: 500; padding-right: 20px; }
footer .legal a { color: var(--bone-2); }
.fine a { color: var(--bone-2); }
@media (max-width: 860px) { .docgrid { grid-template-columns: minmax(0, 1fr); } .toc { position: static; } .toc ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .opts { grid-template-columns: minmax(0, 1fr); } .opts dd { border-top: 0; padding-top: 0; } }
