:root {
  --bg: #000;
  --fg: #f4f4f4;
  --mute: #8b8b8b;
  --dim: #5c5c5c;
  --line: rgba(255, 255, 255, .09);
  --line2: rgba(255, 255, 255, .17);
  --panel: rgba(9, 9, 9, .8);
  --glow: 0 0 6px rgba(255, 255, 255, .9), 0 0 18px rgba(255, 255, 255, .45);
  --display: "Unbounded", system-ui, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --r: 16px;
  /* 3D slab (the app's "3D cards"): light from above, a darker lower edge and a soft drop shadow */
  --slab-bg: linear-gradient(180deg, rgba(30, 30, 30, .92), rgba(10, 10, 10, .92) 60%);
  --slab-shadow: inset 0 1px 0 rgba(255, 255, 255, .13), inset 0 -2px 0 rgba(0, 0, 0, .6), 0 3px 0 rgba(0, 0, 0, .55), 0 18px 40px rgba(0, 0, 0, .55);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
kbd {
  font: 600 .8em var(--mono);
  border: 1px solid var(--line2);
  border-bottom-width: 2px;
  border-radius: 5px;
  padding: .05em .45em;
}
.mono, .m { font-family: var(--mono); }
.dim { color: var(--dim); }
.caps { font-family: var(--mono); text-transform: uppercase; letter-spacing: .18em; font-size: .66rem; }
.dimc { color: var(--dim); }

#bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; }

.dot, .sdot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%; flex: none;
  background: #fff; box-shadow: var(--glow); margin-right: .55em; vertical-align: middle;
}
.sdot { background: #555; box-shadow: none; }
.sdot.on, .on > .sdot, .app.running .sx-s .sdot { background: #fff; box-shadow: var(--glow); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .95em 1.6em; border-radius: 12px;
  font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  transition: transform .15s, box-shadow .2s, background .2s, opacity .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-solid { background: #fff; color: #000; box-shadow: 0 0 30px rgba(255, 255, 255, .22); }
.btn-solid:hover { box-shadow: 0 0 44px rgba(255, 255, 255, .42); }
.btn-solid .dot { background: #000; box-shadow: none; }
.btn-ghost { border: 1px solid var(--line2); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-sm { padding: .6em 1.1em; font-size: .85rem; }
/* Discord / download links before the admin has set them */
.soon { opacity: .45; cursor: default; pointer-events: none; }
.soon::after { content: attr(data-soon); margin-left: .5em; font: 600 .6rem var(--mono); letter-spacing: .14em; text-transform: uppercase; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  width: min(1180px, calc(100% - 32px)); z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 10px 12px 10px 18px;
  border: 1px solid var(--line); border-radius: 16px;
  background: #050505;  /* solid, no backdrop-filter: re-blurring the animated background every frame made the page lag */
}
.brand { display: flex; align-items: center; gap: 10px; font: 600 1.05rem var(--display); letter-spacing: .02em; }
.brand img { filter: drop-shadow(0 0 6px rgba(255, 255, 255, .6)); }
.nav-links { display: flex; gap: 24px; font-size: .88rem; color: var(--mute); }
.nav-links a:hover { color: var(--fg); }
.nav-right { display: flex; align-items: center; gap: 10px; }

/* ---------- segmented controls, toggles, sliders ---------- */
.seg { display: inline-flex; border: 1px solid var(--line2); border-radius: 10px; padding: 2px; gap: 2px; flex-wrap: wrap; background: rgba(0, 0, 0, .35); }
.seg button { padding: 6px 12px; border-radius: 8px; font-size: .8rem; color: var(--mute); transition: .2s; }
.seg button:hover { color: var(--fg); }
.seg button.on { background: #fff; color: #000; }
.lang button { font: 600 .72rem var(--mono); letter-spacing: .08em; padding: 6px 9px; }
.segs { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
/* Sound packs: two even rows of five, whatever the language */
.packs { align-items: stretch; }
.packs .seg { display: grid; grid-template-columns: repeat(5, 1fr); }
.packs .seg button { padding: 6px 2px; font-size: .74rem; white-space: nowrap; }

.tgl { position: relative; width: 40px; height: 22px; border-radius: 99px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .04); transition: .2s; flex: none; }
.tgl::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #666; transition: .2s; }
.tgl.on { background: #fff; border-color: #fff; }
.tgl.on::after { left: 21px; background: #000; }

input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 2px; margin: 10px 0; cursor: pointer; background: linear-gradient(90deg, #fff var(--p, 50%), var(--line2) var(--p, 50%)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: var(--glow); }
input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: #fff; box-shadow: var(--glow); }

.abtn { padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line2); font-size: .8rem; font-weight: 600; color: var(--fg); background: rgba(255, 255, 255, .03); transition: .2s; }
.abtn:hover { background: rgba(255, 255, 255, .09); }
.abtn.solid { background: #fff; color: #000; border-color: #fff; }

/* ---------- hero ---------- */
.hero { padding: 160px 20px 30px; text-align: center; }
.kicker { color: var(--mute); font-size: .9rem; font-weight: 600; margin: 0 0 18px; }
.hero-title { margin: 0; font-family: var(--display); font-weight: 800; line-height: 1; letter-spacing: -.03em; font-size: clamp(2.6rem, 8vw, 6.4rem); }
.hero-title span { display: block; }
.hero-title .dimline { color: #3d3d3d; }
.hero-title .glowline { color: #fff; text-shadow: 0 0 18px rgba(255, 255, 255, .55), 0 0 60px rgba(255, 255, 255, .25); }
.hero-sub { max-width: 620px; margin: 26px auto 0; color: #b5b5b5; font-size: 1.08rem; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.hint { margin: 18px 0 0; color: var(--mute); font-size: .85rem; }

/* ---------- tilt + glare (cards follow the pointer while hovered; the background never does) ---------- */
[data-tilt] { position: relative; transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .3s, border-color .3s; will-change: transform; }
[data-tilt].tilting { transition: transform .08s linear, box-shadow .3s, border-color .3s; }
[data-tilt]::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .11), transparent 55%);
}
[data-tilt].tilting::after { opacity: 1; }

/* ---------- small cards on the page (sections, rows, key/value lines) ---------- */
.sx { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: rgba(255, 255, 255, .02); min-width: 0; }
.sx-h { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.sx-t { font: 600 .64rem var(--mono); letter-spacing: .24em; text-transform: uppercase; }
.sx-s { margin-left: auto; display: inline-flex; align-items: center; font: .64rem var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.sx-s.on { color: var(--fg); }
.legend { gap: 12px; letter-spacing: .06em; text-transform: none; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 9px 2px; border-bottom: 1px solid var(--line); color: var(--mute); }
.kv b { color: var(--fg); font-weight: 600; font-family: var(--mono); font-size: .82rem; text-align: right; }
.rw { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 4px 2px; border-bottom: 1px solid var(--line); }
.rl { display: inline-flex; align-items: center; gap: 8px; }
.rw .sl-s { width: 46%; }
.note { color: var(--dim); font-size: .78rem; margin: 8px 0 0; }
.curve-cv { width: 100%; height: 300px; display: block; touch-action: none; }

/* ---------- app preview: the a3ths window, drawn as the app draws it ----------
   A 1080x700 copy of the window (app/main.cpp frame(), ui/theme.cpp widgets, app/pages/*.cpp), scaled as one piece to
   fit (--k, set by app.js). Coordinates are the app's logical px. ImGui sizes a font by its line height, CSS by its em:
   font-size = ImGui size x 0.7321 (Manrope), 0.7576 (JetBrains Mono), 0.8065 (Unbounded), line-height = the ImGui size.
   The app's fonts are bundled (assets/fonts) under their own names so the rest of the page keeps its Google Fonts.
   Greys: kFg #f4f4f4, kMute #b4b4b4, kDim #8c8c8c, inactive control text #8b8b8b. */
@font-face { font-family: "a3 Manrope"; src: url(assets/fonts/Manrope-700.ttf) format("truetype"); font-display: swap; }
@font-face { font-family: "a3 Manrope XB"; src: url(assets/fonts/Manrope-800.ttf) format("truetype"); font-display: swap; }
@font-face { font-family: "a3 Unbounded"; src: url(assets/fonts/Unbounded-SemiBold.ttf) format("truetype"); font-display: swap; }
@font-face { font-family: "a3 Mono"; src: url(assets/fonts/JetBrainsMono-Bold.ttf) format("truetype"); font-display: swap; }

.app {
  --k: 1; position: relative; width: min(1080px, 100%); height: calc(700px * var(--k)); margin: 64px auto 0; text-align: left;
  border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 100px rgba(0, 0, 0, .85);
}
.w-win {
  position: absolute; left: 0; top: 0; width: 1080px; height: 700px; transform: scale(var(--k)); transform-origin: 0 0;
  background: rgba(0, 0, 0, .4); color: #f4f4f4; font: 10.25px/14px "a3 Manrope"; letter-spacing: 0; font-synthesis: none;
  -webkit-font-smoothing: antialiased; contain: layout paint;
}
.w-win *, .w-win *::before, .w-win *::after { box-sizing: border-box; font-weight: 400; font-style: normal; }
:where(.w-win) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; text-align: left; cursor: pointer; }
:where(.w-win) input { font: inherit; color: inherit; margin: 0; outline: none; }
.w-cap { font: 7.95px/10.5px "a3 Mono"; letter-spacing: 1.26px; text-transform: uppercase; color: #8c8c8c; white-space: nowrap; }
.w-mute { color: #b4b4b4 !important; }
.w-win [hidden]:not(.w-rs) { display: none !important; }
#fxName { text-transform: none; }

/* title bar (title_bar, header_stats) */
.w-tb { position: absolute; left: 0; top: 0; width: 1080px; height: 46px; background: rgba(6, 6, 6, .843); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.w-logo { position: absolute; left: 18px; top: 15.5px; height: 15px; width: auto; }
.w-tb > .w-name { position: absolute; left: 42px; top: 15.75px; display: flex; align-items: flex-start; font: 11.69px/14.5px "a3 Unbounded"; }
.w-pill { margin: -1.25px 0 0 8px; height: 17.5px; padding: 3px 9px; border-radius: 8.75px; background: #fff; color: #000; font: 8.42px/11.5px "a3 Manrope XB"; }
.w-hdr { position: absolute; left: 222px; top: 16px; display: flex; align-items: flex-start; white-space: nowrap; }
.w-hdr .w-dot { margin: 4px 8px 0 0; }
.w-hdr .w-cap { margin: 1.5px 8.74px 0 0; }
.w-hdr b { font: 9.85px/13px "a3 Mono"; margin-right: 26px; }
.w-dot { display: block; flex: none; width: 6px; height: 6px; border-radius: 50%; background: #8c8c8c; }
.w-dot.on { background: #fff; box-shadow: 0 0 6px 3px rgba(255, 255, 255, .45); }
.w-ver { position: absolute; right: 106px; top: 17px; font: 8.71px/11.5px "a3 Mono"; color: #8c8c8c; }
.w-wb { position: absolute; top: 0; width: 46px; height: 46px; }
.w-min { right: 46px; }
.w-cls { right: 0; }
.w-wb::before, .w-wb::after { content: ""; position: absolute; left: 18px; top: 22.4px; width: 10px; height: 1.2px; background: #b4b4b4; }
.w-cls::before, .w-cls::after { left: 15.9px; width: 14.14px; transform: rotate(45deg); }
.w-cls::after { transform: rotate(-45deg); }
.w-min::after { display: none; }

/* sidebar (sidebar, nav_item) */
.w-side { position: absolute; left: 0; top: 46px; width: 206px; height: 624px; background: rgba(6, 6, 6, .745); box-shadow: inset -1px 0 rgba(255, 255, 255, .08); padding: 14px 12px; display: flex; flex-direction: column; gap: 4px; }
.w-ni { position: relative; display: flex; align-items: center; gap: 12px; height: 40px; flex: none; padding-left: 14px; border-radius: 10px; color: #8b8b8b; font: 10.62px/14.5px "a3 Manrope"; transition: color .15s, background-color .15s; }
.w-ni svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; overflow: visible; transition: transform .15s; }
.w-ni svg .dots { stroke-width: 1.4; stroke-linecap: square; }
.w-ni svg .fill { fill: currentColor; stroke: none; }
.w-ni span { transition: transform .15s; }
.w-ni:not(.on):hover { color: #c8c8c8; background: rgba(255, 255, 255, .035); }
.w-ni:not(.on):hover svg, .w-ni:not(.on):hover span { transform: translateX(3px); }
.w-ni.on { color: #f4f4f4; }
.w-ni.on::before { content: ""; position: absolute; left: 0; top: 10px; width: 2px; height: 20px; border-radius: 1px; background: #fff; box-shadow: 0 0 9px 3px rgba(255, 255, 255, .3); }
.w-foot { position: absolute; left: 10px; top: 556px; width: 184px; height: 58px; border-radius: 10px; }
.w-foot .w-cap { position: absolute; left: 8px; top: 12px; font-size: 7.58px; line-height: 10px; letter-spacing: 1.2px; }
.w-foot b { position: absolute; left: 8px; top: 30px; right: 26px; overflow: hidden; white-space: nowrap; font: 10.98px/15px "a3 Manrope XB"; }
.w-foot:hover { background-color: rgba(255, 255, 255, .04); }
.w-chev { position: absolute; right: 16px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border: solid rgba(255, 255, 255, .4); border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); transition: right .15s, border-color .15s; }
.w-foot:hover .w-chev { right: 14px; border-color: rgba(255, 255, 255, .9); }

/* status bar (status_bar) */
.w-sb { position: absolute; left: 0; top: 670px; width: 1080px; height: 30px; background: rgba(6, 6, 6, .843); border-top: 1px solid rgba(255, 255, 255, .08); }
.w-sb .w-cap { position: absolute; top: 7.75px; }
.w-sbl .w-dot { position: absolute; left: 15.5px; top: 11.5px; width: 5px; height: 5px; }
.w-sbl .w-cap { left: 28px; color: #f4f4f4; }
.w-sb .w-sbc { left: 0; right: 0; text-align: center; color: #b4b4b4; }
.app.running .w-sbc { color: #f4f4f4; }
.w-sb .w-sbr { right: 18px; margin-right: -1.26px; text-transform: none; }

/* pages: C0 = (220, 60), C1 = (1066, 656) */
.w-am { position: absolute; left: 220px; top: 60px; width: 846px; height: 596px; }
.w-am .pane { display: none; position: absolute; inset: 0; }
.w-am .pane.on { display: block; animation: w-in .28s cubic-bezier(.2, .8, .2, 1); }
@keyframes w-in { from { opacity: 0; transform: translateY(6px); } }

/* 3D slab (slab): thickness under it, a fill lighter at the top, a lit top rim and a faint sheen */
.w-sx, .w-ni.on, .w-foot {
  background: linear-gradient(rgba(255, 255, 255, .025), rgba(255, 255, 255, 0) 26px), linear-gradient(rgba(24, 24, 24, .784), rgba(8, 8, 8, .784));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), inset 0 2px 0 -1px rgba(255, 255, 255, .1), 0 2px 0 rgba(4, 4, 4, .9), 0 2.5px 0 rgba(255, 255, 255, .07);
}
.w-sx { position: absolute; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), inset 0 2px 0 -1px rgba(255, 255, 255, .1), 0 2px 0 rgba(4, 4, 4, .9), 0 3px 0 rgba(255, 255, 255, .07); }
body.flat .w-sx { background: rgba(11, 11, 11, .894); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); }
body.flat .w-ni.on { background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
body.flat .w-foot { background: none; box-shadow: 0 -2px 0 -1px rgba(255, 255, 255, .07); border-radius: 0; }
.w-sx::after { content: ""; position: absolute; left: 14px; right: 14px; top: 40px; height: 1px; background: rgba(255, 255, 255, .08); pointer-events: none; }

/* section header (begin_section): title, "?", status with its dot */
.w-h { position: absolute; left: 18px; right: 18px; top: 15px; height: 12px; display: flex; align-items: flex-start; }
.w-t { font: 8.71px/11.5px "a3 Mono"; letter-spacing: 1.38px; text-transform: uppercase; white-space: nowrap; color: #f4f4f4; margin-right: 6.62px; }
.w-h .w-q { margin-top: -1px; }
.w-s { margin: 1px -1.26px 0 auto; display: flex; align-items: center; font: 7.95px/10.5px "a3 Mono"; letter-spacing: 1.26px; text-transform: uppercase; color: #b4b4b4; white-space: nowrap; }
.w-s::before { content: ""; width: 5px; height: 5px; margin: 1.25px 7.5px 0 0; border-radius: 50%; background: #8c8c8c; }
.w-s.on { color: #f4f4f4; }
.w-s.on::before { background: #fff; box-shadow: 0 0 6px 2.5px rgba(255, 255, 255, .5); animation: w-breathe 1.8s ease-in-out infinite; }
@keyframes w-breathe { 50% { box-shadow: 0 0 9px 4px rgba(255, 255, 255, .35); } }
.w-legend { margin-left: auto; margin-top: -1px; font: 8.33px/11px "a3 Mono"; color: #8c8c8c; white-space: pre; }

/* "?" (help_mark) and its tip */
.w-q { position: relative; flex: none; width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); font-size: 0; cursor: help; }
.w-q::before { content: "?"; position: absolute; inset: 0; text-align: center; font: 7.58px/14px "a3 Mono"; color: #b4b4b4; }
.w-q:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7); }
.w-q:hover::before { color: #f4f4f4; }
.w-tip { position: absolute; z-index: 30; max-width: 282px; padding: 8px 11px; border-radius: 8px; background: rgba(12, 12, 12, .96); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); font: 9.15px/12.5px "a3 Manrope"; color: #f4f4f4; pointer-events: none; }
.w-tip[hidden] { display: none; }

/* content, rows (begin_row), key/value lines (kv), paragraphs (para) */
.w-c { position: absolute; left: 18px; right: 18px; top: 50px; bottom: 0; }
.w-kv { display: flex; justify-content: space-between; align-items: center; gap: 12px; height: 32px; padding: 0 2px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.w-kv > span { font: 9.88px/13.5px "a3 Manrope"; color: #b4b4b4; white-space: nowrap; }
.w-kv > b { font: 10.23px/13.5px "a3 Mono"; color: #f4f4f4; white-space: nowrap; }
.w-r { position: relative; display: flex; align-items: center; height: 44px; padding-left: 2px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.w-r > span:first-child { font: 10.25px/14px "a3 Manrope"; white-space: nowrap; }
.w-r > .w-q { margin-left: 8px; }
.w-r > :last-child:not(.w-rs):not(.w-sl):not(.w-q), .w-r > .w-nf, .w-r > .w-kps { margin-left: auto; }
.w-r.off, .w-r.ov.off { opacity: .35; pointer-events: none; }
.w-p { margin: 0 0 6px; font: 9.15px/12.5px "a3 Manrope XB"; color: #8c8c8c; }
.w-p.w-mt { color: #b4b4b4; }
.w-p .tlink { color: inherit; font: inherit; }
.w-badge { margin-left: 8px; height: 18px; padding: 0 5.86px 0 7px; border-radius: 9px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); font: 7.2px/18px "a3 Mono"; letter-spacing: 1.14px; color: #b4b4b4; }
.w-lbl { position: absolute; font: 10.25px/14px "a3 Manrope"; }
.w-lbl2 { position: absolute; left: 2px; top: 56px; font: 10.25px/14px "a3 Manrope"; color: #b4b4b4; }

/* segmented / chips */
.w-sg { display: inline-flex; flex: none; height: 32px; padding: 3px; border-radius: 10px; background: rgba(255, 255, 255, .02); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.w-sg button { height: 26px; padding: 0 14px; border-radius: 8px; color: #8b8b8b; font: 9.88px/26px "a3 Manrope"; text-align: center; white-space: nowrap; transition: color .12s, background-color .12s; }
.w-sg button:not(.on):hover { color: #f4f4f4; background: rgba(255, 255, 255, .06); }
.w-sg button.on { background: #fff; color: #000; }
.w-sg.w-full { display: flex; width: 100%; }
.w-sg.w-full button { flex: 1 1 auto; padding: 0; }
.w-sg.w-chips { gap: 4px; }
#hideAnims.off button, #hideAnims.off button.on { color: #8c8c8c; background: rgba(255, 255, 255, .12); }
#hideAnims.off button:not(.on) { background: none; }
.w-win #hideAnims.off { opacity: .6; }

/* toggle */
.w-tg { position: relative; flex: none; width: 40px; height: 22px; border-radius: 11px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); transition: background-color .15s, box-shadow .15s; }
.w-tg::after { content: ""; position: absolute; left: 5px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: #8b8b8b; transition: left .15s, top .15s, width .15s, height .15s, background-color .15s; }
.w-tg.on { background: #fff; box-shadow: none; }
.w-tg.on::after { left: 22px; top: 4px; width: 14px; height: 14px; background: #000; }
.w-tg:disabled { opacity: .35; cursor: default; }
.w-sx > .w-tg { position: absolute; }

/* slider (slider): 2 px track, the knob's centre runs from 7.5 px to width - 7.5 px */
.w-win input.w-sl {
  -webkit-appearance: none; appearance: none; flex: none; width: 150px; height: 26px; margin: 0; padding: 0; cursor: pointer; background: none;
  --fill: calc(7.5px + (100% - 15px) * var(--t, .5));
  background: linear-gradient(90deg, transparent 7.5px, rgba(255, 255, 255, .9) 7.5px, rgba(255, 255, 255, .9) var(--fill), rgba(255, 255, 255, .14) var(--fill), rgba(255, 255, 255, .14) calc(100% - 7.5px), transparent calc(100% - 7.5px)) center / 100% 2px no-repeat;
}
.w-win input.w-sl::-webkit-slider-thumb { -webkit-appearance: none; width: 15px; height: 15px; border-radius: 50%; background: #fff; box-shadow: 0 0 9px 5px rgba(255, 255, 255, .22); transition: transform .12s, box-shadow .12s; }
.w-win input.w-sl::-moz-range-thumb { width: 15px; height: 15px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 9px 5px rgba(255, 255, 255, .22); transition: transform .12s, box-shadow .12s; }
.w-win input.w-sl:hover::-webkit-slider-thumb, .w-win input.w-sl:active::-webkit-slider-thumb { transform: scale(1.12); box-shadow: 0 0 12px 7px rgba(255, 255, 255, .3); }
.w-win input.w-sl:hover::-moz-range-thumb, .w-win input.w-sl:active::-moz-range-thumb { transform: scale(1.12); box-shadow: 0 0 12px 7px rgba(255, 255, 255, .3); }
.w-n[data-sw="100"] .w-sl { width: 80px; }
.w-slrow { height: 26px; margin: 4px -7px 6px; }
.w-win .w-slrow .w-sl { width: 100%; }

/* fields (row_input), reset arrow (reset_button) */
.w-in, .w-nf { flex: none; border: 0; border-radius: 9px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); color: #f4f4f4; }
.w-in:focus, .w-nf:focus { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .07); }
.w-nf { width: 76px; height: 26px; padding: 0 8px; margin-right: 6px; font: 9.47px/26px "a3 Mono"; }
.w-kps { width: 110px; height: 32.5px; padding: 0 12px; font: 10.98px/32.5px "a3 Mono"; }
.w-in.w-name { width: 200px; height: 32px; padding: 0 12px; font: 10.25px/32px "a3 Manrope"; }
.w-rs { position: relative; flex: none; width: 20px; height: 20px; margin-right: 4px; border-radius: 50%; color: rgba(255, 255, 255, .55); transition: background-color .12s, color .12s; }
.w-rs[hidden] { display: block; visibility: hidden; }
.w-kps + .w-rs { margin: 0 2px 0 4px; }
.w-rs:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.w-rs::before {
  content: ""; position: absolute; inset: 0; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M14.455 12.27A5 5 0 1 1 13.536 6.464' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3Cpath d='M15.94 8.87 15.66 4.34 11.41 8.59Z'/%3E%3C/svg%3E") center / 20px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M14.455 12.27A5 5 0 1 1 13.536 6.464' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3Cpath d='M15.94 8.87 15.66 4.34 11.41 8.59Z'/%3E%3C/svg%3E") center / 20px no-repeat;
}

/* key box (key_box) and buttons (button) */
.w-kb { display: inline-flex; align-items: center; justify-content: center; flex: none; min-width: 46px; height: 36px; padding: 0 12px; border-radius: 9px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); font: 10.61px/36px "a3 Mono"; text-align: center; color: #f4f4f4; transition: background-color .12s, box-shadow .12s; }
button.w-kb:hover { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); }
.w-kb.listening { background: rgba(255, 255, 255, .08); animation: w-listen .9s ease-in-out infinite; }
@keyframes w-listen { 50% { box-shadow: inset 0 0 0 1px #fff, 0 0 10px rgba(255, 255, 255, .4); } 0%, 100% { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), 0 0 4px rgba(255, 255, 255, .15); } }
.w-kb.firing { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), 0 0 12px rgba(255, 255, 255, .25); }
.w-bt { position: relative; height: 36px; border-radius: 10px; background: rgba(255, 255, 255, .02); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); font: 10.62px/14.5px "a3 Manrope XB"; text-align: center !important; color: #f4f4f4; white-space: nowrap; transition: background-color .12s, box-shadow .12s, transform .08s; }
.w-bt:hover { background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .42); }
.w-bt.solid { background: #fff; color: #000; box-shadow: none; }
.w-bt.solid:hover { box-shadow: 0 0 0 1.6px rgba(255, 255, 255, .25), 0 0 0 4.8px rgba(255, 255, 255, .1), 0 0 0 8px rgba(255, 255, 255, .04); }
.w-bt:active { transform: scale(.985); }
.w-bt.solid:active { background: #d7d7d7; }
.w-btns { display: flex; gap: 10px; }
.w-btns .w-bt { flex: 1; }

/* Macro: ring (ring), cards, run bar (key_sentence) */
.w-ring { position: absolute; width: 226px; height: 226px; text-align: center; }
.w-ring svg { position: absolute; inset: 0; width: 226px; height: 226px; transform: rotate(-90deg); overflow: visible; }
.w-ring circle { fill: none; }
.w-ring .r-tr { stroke: rgba(255, 255, 255, .07); stroke-width: 11; }
.w-ring .r-arc { stroke: #fff; stroke-linecap: butt; stroke-dasharray: 615.75; stroke-dashoffset: 615.75; transition: stroke-dashoffset .12s linear; }
.w-ring .r-main { stroke-width: 4; opacity: 1; }
.w-ring .r-g1 { stroke-width: 10; opacity: .12; }
.w-ring .r-g2 { stroke-width: 16; opacity: .05; }
.app.running .w-ring .r-g1, .app.running .w-ring .r-g2 { animation: w-ringb 1.67s ease-in-out infinite; }
@keyframes w-ringb { 50% { opacity: .17; } }
.w-ring .r-halo { fill: rgba(255, 255, 255, .25); filter: blur(5px); opacity: 0; }
.w-ring .r-head { fill: #fff; opacity: 0; }
.app.running .w-ring .r-halo, .app.running .w-ring .r-head { opacity: 1; }
.w-ring b { position: absolute; left: 0; right: 0; top: 83px; font: 32.21px/44px "a3 Manrope XB"; color: #f4f4f4; }
.w-ring span { position: absolute; left: 0; right: 0; top: 127px; font: 9.52px/13px "a3 Manrope"; color: #b4b4b4; }
.w-card { position: absolute; top: 50px; width: 216.5px; height: 86px; border-radius: 10px; background: rgba(255, 255, 255, .015); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); transition: background-color .15s, box-shadow .15s; }
.w-card:hover { background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.w-card b { position: absolute; left: 14px; top: 14px; font: 10.25px/14px "a3 Manrope XB"; white-space: nowrap; }
.w-card .w-mono { position: absolute; left: 14px; top: 35px; font: 8.71px/11.5px "a3 Mono"; color: #b4b4b4; white-space: nowrap; }
.w-card .w-mono.lit { color: #f4f4f4; }
.w-card em { position: absolute; left: 14px; right: 28px; top: 56px; overflow: hidden; font: 8.79px/12px "a3 Manrope"; color: #8c8c8c; white-space: nowrap; }
.w-card .w-chev { right: 18px; width: 7px; height: 7px; margin-top: -3.5px; border-color: rgba(255, 255, 255, .5); }
.w-card:hover .w-chev { right: 15px; border-color: #fff; }
.w-run { position: absolute; left: 0; top: 542px; width: 846px; height: 54px; border-radius: 12px; background: rgba(10, 10, 10, .63); display: flex; align-items: center; justify-content: center; text-align: center !important; color: #f4f4f4; user-select: none; touch-action: none; }
.w-run svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.w-run rect { x: .5px; y: .5px; width: calc(100% - 1px); height: calc(100% - 1px); rx: 12px; fill: none; stroke: rgba(255, 255, 255, .35); stroke-width: 1; stroke-dasharray: 6 4; transition: stroke .2s; }
.w-run:hover rect, .app.running .w-run rect { stroke: rgba(255, 255, 255, .75); }
.app.running .w-run { animation: w-runbg 1.25s ease-in-out infinite; }
.app.running .w-run rect { animation: w-march .357s linear infinite; }
@keyframes w-runbg { 0%, 100% { background: rgba(28, 28, 28, .7); } 50% { background: rgba(38, 38, 38, .72); } }
@keyframes w-march { to { stroke-dashoffset: -10; } }
.w-run .rb { display: none; align-items: center; gap: 12px; font: 10.98px/15px "a3 Manrope"; }
.app:not(.running):not(.toggle) .w-run .rb-hold, .app.toggle:not(.running) .w-run .rb-press,
.app.running:not(.toggle) .w-run .rb-runh, .app.running.toggle .w-run .rb-runp { display: inline-flex; }
.w-run kbd { position: relative; top: -1px; min-width: 34px; height: 30px; padding: 0 11px 3px; border-radius: 7px; background: #181818; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35), 0 3px 0 #222; font: 10.61px/27px "a3 Mono"; color: #f4f4f4; text-align: center; transform: translateY(-1.5px); transition: transform .08s, box-shadow .08s, background-color .08s; }
.app.running .w-run kbd { background: rgba(255, 255, 255, .95); color: #000; box-shadow: inset 0 0 0 1px #fff, 0 1px 0 #464646, 0 0 24px 6px rgba(255, 255, 255, .2); transform: translateY(.5px); }

/* sub-page back button (subpage_back) */
.w-back { display: inline-flex; align-items: center; height: 28px; padding: 0 11px 0 25px; position: relative; vertical-align: top; border-radius: 8px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); font: 9.88px/13.5px "a3 Manrope"; transition: background-color .15s, box-shadow .15s; }
.w-back:hover { background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .37); }
.w-back i { position: absolute; left: 12.5px; top: 10px; width: 7px; height: 7px; border: solid #f4f4f4; border-width: 0 0 1.5px 1.5px; transform: rotate(45deg); }
.w-backt { display: inline-block; vertical-align: top; margin: 7.5px 0 0 12px; }

/* Curve */
.w-endc { position: absolute; right: 18px; top: 50px; display: flex; align-items: flex-start; gap: 10px; }
.w-endc > span { margin-top: 8px; font: 9.52px/13px "a3 Manrope XB"; color: #b4b4b4; }
.w-sx > .w-cv { position: absolute; left: 18px; top: 96px; width: 810px; height: 280px; }

/* Engine */
.w-big { display: flex; align-items: flex-start; height: 40px; }
.w-big b { font: 22.73px/30px "a3 Mono"; }
.w-big span { margin: 14px 0 0 10px; font: 9.15px/12.5px "a3 Manrope XB"; color: #b4b4b4; }
.w-btnrow { display: flex; align-items: flex-start; gap: 14px; margin-top: 8px; }
.w-btnrow > span { margin-top: 9px; font: 9.15px/12.5px "a3 Manrope XB"; color: #8c8c8c; }
.w-dm { position: absolute; top: 50px; width: 263.33px; height: 72px; border-radius: 10px; background: rgba(255, 255, 255, .015); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); color: #b4b4b4; transition: background-color .15s, box-shadow .15s; }
.w-dm:not(.on):hover { background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.w-dm.on { background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); color: #f4f4f4; }
.w-dm b { position: absolute; left: 14px; top: 12px; font: 10.62px/14.5px "a3 Manrope XB"; }
.w-dm span { position: absolute; left: 14px; right: 14px; top: 40px; font: 9.15px/12.5px "a3 Manrope"; color: #8c8c8c; }
.w-dm.on span { color: #b4b4b4; }
.w-tag { display: none; position: absolute; right: 14px; top: 12px; height: 18px; padding: 0 5.86px 0 7px; border-radius: 9px; background: #fff; color: #000; font: 7.2px/18px "a3 Mono"; letter-spacing: 1.14px; }
.w-dm.on .w-tag { display: block; }

/* Input Lab */
.w-ks { display: flex; align-items: center; gap: 8px; margin: 13px 0 0 2px; font: 9.15px/12.5px "a3 Manrope"; color: #b4b4b4; }
.w-ks kbd, .w-pk { min-width: 20px; height: 16px; padding: 0 5px 2px; border-radius: 5px; background: linear-gradient(#282828, #161616); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .32), 0 2px 0 #282828; font: 9.09px/14px "a3 Mono"; color: #f4f4f4; text-align: center; }
.w-sx > .w-graph { position: absolute; left: 18px; top: 52px; width: 810px; height: 122px; }

/* Look: preview frame (no card, the background shows through) */
.w-prev { position: absolute; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.w-prev::before { content: ""; position: absolute; left: 1px; right: 1px; top: 1px; height: 39px; border-radius: 11px 11px 0 0; background: rgba(8, 8, 8, .88); }
.w-prev::after { content: ""; position: absolute; left: 14px; right: 14px; top: 40px; height: 1px; background: rgba(255, 255, 255, .08); }
.w-prev .w-t { position: absolute; left: 18px; top: 15px; }
.w-phint { position: absolute; right: 16px; bottom: 14px; font: 8.79px/12px "a3 Manrope"; color: #8c8c8c; }
.w-fxend { position: relative; height: 44px; }
.w-fxend span { position: absolute; left: 2px; top: 18px; font: 9.15px/12.5px "a3 Manrope XB"; color: #8c8c8c; }
.w-fxend .w-bt { position: absolute; right: 0; top: 10px; width: 120px; height: 34px; }

/* Tools */
.w-pack { position: relative; height: 40px; }
.w-pack span { position: absolute; left: 2px; top: 12px; font: 10.25px/14px "a3 Manrope"; }
.w-pack em { position: absolute; left: 64px; top: 13px; font: 9.15px/12.5px "a3 Manrope XB"; color: #8c8c8c; }

/* Overlay: the "screen" with the bar; the bar's keys are raised caps like ovl_cap() */
.w-win .ovl-screen { position: absolute; left: 18px; right: 18px; top: 54px; height: 86px; margin: 0; padding-top: 12px; border-radius: 8px; border: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); background: linear-gradient(#242834, #0e0f12); }

/* Profiles */
.w-pl { position: relative; display: block; width: calc(100% - 4px); height: 56px; margin-bottom: 6px; border-radius: 10px; background: rgba(255, 255, 255, .02); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); transition: background-color .15s, box-shadow .15s; }
.w-pl:not(.on):hover { background: rgba(255, 255, 255, .05); }
.w-pl.on { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.w-pl b { position: absolute; left: 14px; top: 9px; font: 10.62px/14.5px "a3 Manrope"; }
.w-pl .w-mono { position: absolute; left: 14px; top: 32px; font: 8.71px/11.5px "a3 Mono"; color: #b4b4b4; white-space: nowrap; }
.w-act { display: none; position: absolute; right: 12.8px; top: 12px; font: 7.58px/10px "a3 Mono"; letter-spacing: 1.2px; color: #f4f4f4; }
.w-act::before { content: ""; position: absolute; left: -12.5px; top: 3.5px; width: 5px; height: 5px; border-radius: 50%; background: #fff; box-shadow: 0 0 6px 2.5px rgba(255, 255, 255, .45); }
.w-pl.on .w-act { display: block; }

/* Account */
.w-plan { height: 42px; font: 19.36px/24px "a3 Unbounded"; }
.w-copy { display: inline-block; vertical-align: 1px; margin-left: 10px; height: 22px; padding: 0 9px; border-radius: 6px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); font: 8.71px/22px "a3 Mono"; cursor: pointer; }
.w-copy:hover { background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .42); }
.w-cmp > div { display: grid; grid-template-columns: 230.36px 106.32px 1fr; align-items: center; height: 30px; border-bottom: 1px solid rgba(255, 255, 255, .06); font: 9.85px/13px "a3 Mono"; color: #f4f4f4; white-space: nowrap; }
.w-cmp > div > span:first-child { padding-left: 2px; font: 9.88px/13.5px "a3 Manrope"; color: #b4b4b4; }
.w-cmp > div > span:nth-child(2) { color: #8c8c8c; }
.w-cmp > .w-th { height: 22px; align-items: flex-start; border: 0; }
.w-cmp > .w-th > span:nth-child(n) { font: 7.58px/10px "a3 Mono"; letter-spacing: 1.2px; color: #8c8c8c; padding: 0; }

/* ---------- page sections ---------- */
.stats { width: min(1180px, calc(100% - 40px)); margin: 100px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stats .card { padding: 24px 26px; }
.stats b { display: block; font: 800 clamp(1.8rem, 3.4vw, 2.7rem) var(--display); letter-spacing: -.02em; }
.stats span { color: var(--mute); font-size: .92rem; }

.sec { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 130px 0 0; }
.sec h2, .cta h2 { font: 800 clamp(2rem, 5vw, 3.7rem)/1.04 var(--display); letter-spacing: -.03em; margin: 0; }
.lead { max-width: 620px; color: #a9a9a9; font-size: 1.06rem; margin: 22px 0 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.card { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); padding: 24px; }
.card p { margin: 0; color: #a3a3a3; }
.card .sx-h { margin-bottom: 14px; }

.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; }
.cards3 .card { display: flex; flex-direction: column; gap: 16px; }
.pulse { width: 100%; height: 70px; display: block; border-bottom: 1px solid var(--line); }

.calc input[type=range] { margin: 14px 0 22px; }
.calc .rw { border: 0; min-height: 0; }
.meter { display: grid; grid-template-columns: 90px 1fr 80px; align-items: center; gap: 14px; margin: 0 0 16px; font-size: .9rem; }
.meter b { text-align: right; }
.track { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.track i { display: block; height: 100%; background: rgba(255, 255, 255, .45); border-radius: 4px; transition: width .25s; }
.track i.full { width: 100%; background: #fff; box-shadow: var(--glow); }
.track i.over { width: 100%; background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .5) 0 6px, transparent 6px 12px); }

.labnums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.labnums span { display: block; font-size: .78rem; color: var(--mute); }
.labnums b { font-size: 1.9rem; font-weight: 600; }
#labChart { width: 100%; height: 120px; display: block; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.curvecard { margin-top: 40px; padding: 18px; }
.lookcard .segs { margin-bottom: 10px; }

.table { margin-top: 44px; padding: 8px 0; }
.tr { display: grid; grid-template-columns: 1.1fr 1fr 1.3fr; gap: 16px; padding: 14px 26px; border-top: 1px solid var(--line); font-size: .95rem; }
.tr:first-child { border-top: 0; }
.tr span:nth-child(2) { color: var(--mute); }
.tr.th { font: .7rem var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.tr.th span { color: var(--mute); }

.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 50px; }
.price { display: flex; flex-direction: column; gap: 4px; }
.price[hidden] { display: none; }
.amount { display: flex; align-items: baseline; gap: 10px; margin: 4px 0 0; }
.amount b { font: 800 2.6rem var(--display); letter-spacing: -.03em; }
.amount s { color: var(--dim); font-family: var(--mono); }
.amount s:empty { display: none; }
.price .note { min-height: 1.4em; margin: 0 0 22px; }
.price .btn { margin-top: auto; width: 100%; }
.price.best { border-color: rgba(255, 255, 255, .5); box-shadow: 0 0 50px rgba(255, 255, 255, .1); }
.badge { position: absolute; top: -11px; left: 24px; z-index: 1; background: #fff; color: #000; font: 700 .6rem var(--mono); letter-spacing: .16em; text-transform: uppercase; padding: 3px 9px; border-radius: 5px; }
.paynote { margin-top: 26px; font-size: .88rem; }

.faq { display: grid; gap: 12px; margin-top: 40px; }
.faq details { padding: 0; }
.faq summary { padding: 20px 26px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--mute); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 26px 22px; }
.tlink { text-decoration: underline; text-underline-offset: 3px; color: var(--fg); }

.cta { text-align: center; padding: 150px 20px 120px; }
.cta-logo { filter: drop-shadow(0 0 10px rgba(255, 255, 255, .8)) drop-shadow(0 0 40px rgba(255, 255, 255, .35)); margin-bottom: 34px; }
.foot {
  width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 28px 0 40px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line);
}
.foot .note { margin: 0; }
.foot .flinks { display: flex; gap: 20px; }

/* ---------- checkout window ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, .72); backdrop-filter: blur(6px); animation: fade .2s ease; }
.modal[hidden] { display: none; }
.modal-card { position: relative; width: min(500px, 100%); padding: 28px; }
.modal-card .kicker { margin-bottom: 8px; }
.modal-card h3 { font: 700 1.5rem var(--display); letter-spacing: -.02em; margin: 0 0 22px; }
.modal-x { position: absolute; top: 14px; right: 16px; width: 32px; height: 32px; border-radius: 9px; font-size: 1.3rem; color: var(--mute); }
.modal-x:hover { color: var(--fg); background: rgba(255, 255, 255, .06); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 22px; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; display: grid; gap: 4px; padding-left: 42px; }
.steps li::before { content: "0" counter(s); position: absolute; left: 0; top: 3px; font: .72rem var(--mono); color: var(--dim); }
.steps b { font-size: .95rem; }
.steps span { color: var(--mute); font-size: .86rem; }
.steps code { display: block; padding: 9px 12px; border-radius: 9px; border: 1px solid var(--line2); background: rgba(0, 0, 0, .5); font-size: .8rem; word-break: break-word; }
.steps .abtn { justify-self: start; }
.modal-card > .btn { width: 100%; }
.co-soon { display: none; text-align: center; margin-top: 12px; }
.modal.nodiscord .co-soon { display: block; }

/* ---------- overlay bar (the app's overlay: logo, name, items split by "/") ---------- */
.obar {
  --round: 1; --alpha: 1;
  display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 16px; white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, .11); border-radius: calc(2px + var(--round) * 16px);
  background: rgba(10, 10, 12, .925); color: var(--fg); font-size: 13.5px; line-height: 1; opacity: var(--alpha);
}
.obar img { width: 15px; height: 14px; }
.obar .ob-n { font: 600 14.5px var(--display); margin-left: -3px; }
.obar .ob-s { color: rgba(255, 255, 255, .22); font-style: normal; }
.obar .ob-m { color: var(--mute); }
.obar .ob-d { color: #5c5c5c; }
.obar .ob-k { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 7px 2.5px; border-radius: 6px; background: linear-gradient(#242424, #141414); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3), 0 2.5px 0 #2e2e2e; font: 600 12px/1 var(--mono); color: var(--fg); transform: translateY(-1.25px); }
/* inside the window preview the bar uses the app's fonts and sizes */
.w-win .obar { font: 9.88px/13.5px "a3 Manrope XB"; }
.w-win .obar .ob-n { font: 11.69px/14.5px "a3 Unbounded"; margin-left: -2px; }
.w-win .obar .ob-s { font-family: "a3 Manrope"; }
.w-win .obar .ob-k { font: 9.09px/12px "a3 Mono"; padding-top: 1px; }
.w-win .obar .ob-m { color: #b4b4b4; }
.w-win .obar .ob-d { color: #8c8c8c; }
.obar .ob-i { display: inline-flex; align-items: center; gap: 5px; }
.obar .ob-dot { width: 6px; height: 6px; border-radius: 50%; background: #5c5c5c; }
.obar .ob-dot.on { background: #fff; box-shadow: var(--glow); }
.ofix { --s: 1; position: fixed; top: 84px; left: 50%; transform: translateX(-50%) scale(var(--s)); transform-origin: 50% 0; z-index: 60; opacity: 0; pointer-events: none; cursor: pointer; }
.ofix.shown { pointer-events: auto; }
.emerge { position: fixed; left: 0; top: 0; z-index: 58; display: none; pointer-events: none; border: 1px solid transparent; background: rgba(10, 10, 12, 1); }
.app.anim { position: relative; z-index: 59; transition: none !important; transform-origin: 0 0; }
/* Hidden window: its slot keeps the space and says how to bring it back (click it or RShift) */
.app.hid { visibility: hidden; }
.app.hid::after {
  content: attr(data-tray); visibility: visible; opacity: 1; display: grid; place-items: center; padding: 24px; pointer-events: auto; cursor: pointer;
  background: none; border: 1px dashed var(--line2); border-radius: inherit; color: var(--mute); font-size: .9rem; text-align: center; text-shadow: 0 0 10px #000, 0 0 4px #000;
}

.pg-ovl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.pg-ovl .ovl-prev { grid-column: 1 / -1; }
.ovl-screen { position: relative; height: 112px; margin: 6px 0 4px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .08); overflow: hidden; display: flex; justify-content: center; align-items: flex-start; padding-top: 14px; background: linear-gradient(180deg, #242834, #0e0f12); }
.ovl-screen.off { filter: brightness(.45); }
.ovl-prev .rw-end { gap: 16px; }
.ovl-screen .obar, .feat-bar .obar { flex: none; transform-origin: 50% 0; }
.rw.ov.off { opacity: .35; pointer-events: none; }
.rw.rx2 .rl { flex: 1; }
#hideAnims { margin: 2px 0 2px; }
#hideAnims.off { opacity: .35; pointer-events: none; }

.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; }
.feats .card { display: flex; flex-direction: column; gap: 12px; min-width: 0; }  /* the wide bar must not widen the grid */
.feats .card .sx-h { margin-bottom: 4px; }
.feat-wide { grid-column: 1 / -1; }
/* Smart Ramp: speed over the first 2 s of a start (0.3 s = 90 of 600 units), dashed = the selected speed. */
.ramp-g { width: 100%; height: 84px; padding: 12px 0; box-sizing: border-box; border-radius: 12px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(36, 40, 52, .7), rgba(14, 15, 18, .7)); }
.ramp-g path { fill: none; vector-effect: non-scaling-stroke; }
.ramp-base { stroke: rgba(255, 255, 255, .28); stroke-width: 1; stroke-dasharray: 4 6; }
.ramp-line { stroke: #fff; stroke-width: 2; filter: drop-shadow(0 0 5px rgba(255, 255, 255, .55)); }
.ramp-l { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; margin-top: -4px; font: 500 11px var(--mono); color: var(--mute); }
.feat-bar { display: flex; justify-content: center; padding: 22px 0; border-radius: 12px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(36, 40, 52, .7), rgba(14, 15, 18, .7)); overflow: hidden; }

/* ---------- 3D cards: on by default; body.flat = flat cards with thin borders ---------- */
body:not(.flat) .vol { background: var(--slab-bg); border-color: rgba(255, 255, 255, .1); box-shadow: var(--slab-shadow); }
body:not(.flat) .price.best { box-shadow: var(--slab-shadow), 0 0 50px rgba(255, 255, 255, .1); }
body.flat [data-tilt] { transform: none; }
body.flat [data-tilt]::after { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
}
@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.rev > :first-child { order: 2; }
  .cards3 { grid-template-columns: 1fr; }
  .feats { grid-template-columns: 1fr 1fr; }
  .pg-ovl { grid-template-columns: 1fr; }
  .prices { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav .btn-sm { display: none; }
  .nav .btn-sm.nav-acc { display: inline-flex; }  /* the account link stays on phones */
  .prices { grid-template-columns: 1fr; }
  .feats { grid-template-columns: 1fr; }
  .pg-ovl .rw.ov { flex-wrap: wrap; row-gap: 8px; }
  .ofix { --s: .68; }
  .tr { grid-template-columns: 1fr 1fr; padding: 12px 18px; }
  .tr span:first-child { grid-column: 1 / -1; font-weight: 700; }
  .tr.th span:first-child { display: none; }
  .labnums b { font-size: 1.4rem; }
}
@media (pointer: coarse) { .hint { display: none; } }

/* ---------- phone menu (the section links are hidden below 1080 px) ---------- */
.nav-burger { display: none; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .03); flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-burger i { display: block; width: 16px; height: 1.5px; border-radius: 2px; background: #fff; transition: transform .2s; }
.nav.open .nav-burger i:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav.open .nav-burger i:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.nav-dc { display: none; }
@media (max-width: 1080px) {
  .nav-burger { display: flex; }
  .nav.open .nav-links {
    display: grid; position: absolute; top: calc(100% + 8px); left: 0; right: 0; gap: 2px; padding: 8px;
    border: 1px solid var(--line2); border-radius: 16px; background: #050505; box-shadow: 0 24px 60px rgba(0, 0, 0, .8); animation: w-in .18s ease;
  }
  .nav.open .nav-links a { padding: 12px 14px; border-radius: 11px; color: var(--fg); font-weight: 600; font-size: .95rem; }
  .nav.open .nav-links a:active { background: rgba(255, 255, 255, .07); }
}
@media (max-width: 640px) { .nav.open .nav-dc { display: flex; } }

/* ---------- phones: tighter rhythm, calmer background, swipeable prices ---------- */
@media (max-width: 640px) {
  .nav { top: 10px; width: calc(100% - 20px); padding: 8px 8px 8px 14px; gap: 10px; }
  .nav-right { gap: 8px; }
  .seg.lang button { padding: 6px 9px; }
  #bg { opacity: .55; }
  .card { padding: 18px; }
  .hero { padding: 112px 16px 10px; }
  .hero-title { font-size: clamp(2.3rem, 11.5vw, 3.2rem); }
  .hero-sub { font-size: 1rem; margin-top: 18px; }
  .hero-cta { margin-top: 24px; gap: 10px; }
  .hero-cta .btn { flex: 1 1 0; justify-content: center; min-width: 0; }
  .app { margin-top: 36px; border-radius: 8px; }
  .stats { width: calc(100% - 32px); margin-top: 28px; gap: 10px; }
  .stats .card { padding: 14px 16px; }
  .stats b { font-size: 1.55rem; }
  .stats span { font-size: .8rem; line-height: 1.35; display: block; margin-top: 2px; }
  .sec { width: calc(100% - 32px); padding-top: 72px; }
  .sec h2, .cta h2 { font-size: clamp(1.75rem, 8.6vw, 2.3rem); }
  .kicker { margin-bottom: 12px; font-size: .84rem; }
  .lead { font-size: .98rem; margin-top: 14px; line-height: 1.6; }
  .split { gap: 26px; }
  .cards3, .feats { margin-top: 28px; gap: 12px; }
  .card .seg { display: flex; width: 100%; }
  .card .seg button { flex: 1 1 auto; text-align: center; }
  .prices { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 28px -16px 0; padding: 14px 16px 6px; scrollbar-width: none; }
  .prices::-webkit-scrollbar { display: none; }
  .price { flex: 0 0 76%; scroll-snap-align: center; }
  .amount b { font-size: 2.2rem; }
  .paynote { margin-top: 14px; }
  .faq { margin-top: 26px; gap: 8px; }
  .faq summary { padding: 16px 18px; gap: 12px; font-size: .95rem; }
  .faq details p { padding: 0 18px 16px; font-size: .92rem; }
  .cta { padding: 90px 16px 72px; }
  .cta-logo { width: 68px; height: auto; margin-bottom: 24px; }
  .foot { width: calc(100% - 32px); flex-direction: column; text-align: center; gap: 12px; padding: 24px 0 32px; }
}
/* narrow phones (320–380 px): the header row and two-button rows must still fit */
@media (max-width: 380px) {
  .nav { padding-left: 12px; gap: 6px; }
  .brand { gap: 7px; font-size: .92rem; }
  .brand img { width: 22px; height: auto; }
  .nav-right { gap: 6px; }
  .seg.lang { flex-wrap: nowrap; }
  .seg.lang button { padding: 5px 7px; font-size: .72rem; }
  .nav .btn-sm.nav-acc { padding: 0 10px; font-size: .8rem; }
  .nav-burger { width: 34px; height: 34px; flex: none; }
  .hero-cta .btn, .cta .btn { padding-left: 10px; padding-right: 10px; font-size: .9rem; white-space: nowrap; }
}
/* ---------- motion: controls answer the finger, sections arrive, details open smoothly ---------- */
.btn:active { transform: translateY(0) scale(.975); transition-duration: .06s; }
.abtn { transition: background .2s, transform .12s, border-color .2s; }
.abtn:active { transform: scale(.97); }
.seg button:active { transform: scale(.96); }
.tgl::after { transition: left .26s cubic-bezier(.3, 1.35, .5, 1), width .16s, background .2s; }
.tgl:active::after { width: 18px; }
.tgl.on:active::after { left: 17px; }
input[type=range]::-webkit-slider-thumb { transition: transform .18s cubic-bezier(.3, 1.4, .5, 1), box-shadow .18s; }
input[type=range]::-moz-range-thumb { transition: transform .18s cubic-bezier(.3, 1.4, .5, 1), box-shadow .18s; }
input[type=range]:hover::-webkit-slider-thumb { transform: scale(1.15); }
input[type=range]:hover::-moz-range-thumb { transform: scale(1.15); }
input[type=range]:active::-webkit-slider-thumb { transform: scale(1.35); box-shadow: 0 0 0 6px rgba(255, 255, 255, .1), var(--glow); }
input[type=range]:active::-moz-range-thumb { transform: scale(1.35); box-shadow: 0 0 0 6px rgba(255, 255, 255, .1), var(--glow); }
input[type=range]:focus-visible { outline: none; }
input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px rgba(255, 255, 255, .18), var(--glow); }

/* sections slide in once (app.js adds .rv to what is below the fold, .rv-in when it shows, then removes both) */
.rv { opacity: 0; translate: 0 18px; transition: opacity .7s cubic-bezier(.2, .7, .2, 1), translate .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--rd, 0s); }
.rv.rv-in { opacity: 1; translate: 0 0; }

/* FAQ answers open and close by height where the browser can animate to auto */
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content { block-size: 0; overflow: hidden; opacity: 0;
    transition: block-size .32s cubic-bezier(.3, .7, .2, 1), opacity .25s, content-visibility .32s allow-discrete; }
  .faq details[open]::details-content { block-size: auto; opacity: 1; }
}
.faq summary { transition: color .2s; }
.faq details:not([open]) summary:hover { color: #fff; }
.faq summary::after { transition: transform .3s cubic-bezier(.3, 1.4, .5, 1); }

/* phone price carousel: the centred card is full size, its neighbours recede; dots under it */
.pdots { display: none; }
@media (max-width: 640px) {
  @supports (animation-timeline: view()) {
    .price { animation: p-focus linear both; animation-timeline: view(inline); }
    @keyframes p-focus { 0%, 100% { scale: .9; opacity: .45; } 35%, 65% { scale: 1; opacity: 1; } }
  }
  .pdots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
  .pdots button { width: 6px; height: 6px; padding: 0; border-radius: 3px; background: rgba(255, 255, 255, .22); transition: width .3s cubic-bezier(.3, 1.3, .5, 1), background .3s; }
  .pdots button.on { width: 20px; background: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; translate: none; }
  * { animation: none !important; transition: none !important; }
}

/* No text selection on the site (owner's request); fields and the checkout message stay selectable. */
body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
input, textarea, #coMsg { -webkit-user-select: text; user-select: text; }
