/* NeonCore web — tokens and design system components. */
:root {
  --bg: #0b0c0f;
  --win: rgba(16, 17, 21, .97);
  --card: #15171c;
  --card-hi: #1a1c22;
  --field: #1f2128;
  --field-hi: #24262d;
  --hover: #282a33;
  --popup: #1b1d23;
  --tip: #202229;
  --line: rgba(255, 255, 255, .06);
  --line-2: rgba(255, 255, 255, .11);
  --line-3: rgba(255, 255, 255, .18);
  --text: #ece8e0;
  --text-hi: #f6f3ec;
  --text-2: #b8b2a7;
  --muted: #7f796f;
  --faint: #5d5951;
  --ok: #5fd08e;
  --bad: #ef6b6b;
  --warn: #e7b24c;
  --track: #2a2c33;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --r-win: 14px;
  --r-card: 12px;
  --r-ctl: 8px;
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-d: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: Consolas, "Cascadia Mono", ui-monospace, monospace;
  color-scheme: dark;
}
[data-accent="violet"] { --acc: #9a86ff; --acc-hi: #b7a8ff; --acc-ink: #140f2e; --acc-soft: rgba(154,134,255,.14); --acc-line: rgba(154,134,255,.42); --acc-glow: rgba(154,134,255,.32); --br-1: #b7a8ff; --br-2: #9a86ff; --br-3: #dfd8ff; }
[data-accent="gold"]   { --acc: #d6ad5c; --acc-hi: #ecc778; --acc-ink: #1a1307; --acc-soft: rgba(214,173,92,.13);  --acc-line: rgba(214,173,92,.38);  --acc-glow: rgba(214,173,92,.30);  --br-1: #ecc778; --br-2: #d6ad5c; --br-3: #f8ecd0; }
[data-accent="teal"]   { --acc: #3fc6b4; --acc-hi: #67dccb; --acc-ink: #04201c; --acc-soft: rgba(63,198,180,.13);  --acc-line: rgba(63,198,180,.40);  --acc-glow: rgba(63,198,180,.30);  --br-1: #67dccb; --br-2: #3fc6b4; --br-3: #cdf3ed; }
[data-accent="ruby"]   { --acc: #e0617a; --acc-hi: #f08398; --acc-ink: #2a0911; --acc-soft: rgba(224,97,122,.14);  --acc-line: rgba(224,97,122,.42);  --acc-glow: rgba(224,97,122,.30);  --br-1: #f08398; --br-2: #e0617a; --br-3: #fbd6dd; }
[data-accent="hc"]     { --acc: #f2d66e; --acc-hi: #ffe896; --acc-ink: #1e1604; --acc-soft: rgba(242,214,110,.14); --acc-line: rgba(242,214,110,.45); --acc-glow: rgba(242,214,110,.30); --br-1: #ffe896; --br-2: #f2d66e; --br-3: #fff5d1; }

@property --flow { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
@property --shine { syntax: "<percentage>"; inherits: false; initial-value: 150%; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.55 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
button { font: inherit; }
::selection { background: var(--acc-soft); color: var(--text-hi); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
section { position: relative; }

/* ---------- primitives ---------- */
.mark {
  width: 32px; height: 32px; border-radius: 9px; flex: none; display: grid; place-items: center; color: var(--acc-ink);
  background: linear-gradient(145deg, var(--acc-hi), var(--acc));
  box-shadow: 0 6px 18px var(--acc-glow), inset 0 1px 0 rgba(255,255,255,.35);
  animation: markPulse 3.6s var(--ease) infinite;
}
.mark svg { width: 18px; height: 18px; }
@keyframes markPulse {
  0%, 100% { box-shadow: 0 6px 18px var(--acc-glow), inset 0 1px 0 rgba(255,255,255,.35); }
  6% { box-shadow: 0 6px 26px var(--acc-glow), 0 0 0 1px var(--acc-line), inset 0 1px 0 rgba(255,255,255,.45); }
}
.name {
  font-weight: 800; letter-spacing: .4px; white-space: nowrap;
  background-image:
    linear-gradient(100deg, transparent 0 42%, rgba(255,255,255,.7) 50%, transparent 58% 100%),
    linear-gradient(90deg, var(--br-1), var(--br-2), var(--br-3), var(--br-1));
  background-size: 250% 100%, 200% 100%;
  background-repeat: no-repeat, repeat;
  background-position: var(--shine) 0, var(--flow) 50%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: flow 6s linear infinite, shine 3.6s var(--ease) infinite;
}
@keyframes flow { to { --flow: 200%; } }
@keyframes shine { 0% { --shine: 150%; } 34%, 100% { --shine: -50%; } }
.grad {
  background: linear-gradient(90deg, var(--br-1), var(--br-2), var(--br-3), var(--br-1));
  background-size: 200% 100%; background-position: var(--flow) 50%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: flow 8s linear infinite;
}

.bar { width: 3px; height: 14px; border-radius: 2px; flex: none; display: inline-block; }
.bar.ok { background: var(--ok); box-shadow: 0 0 8px rgba(95,208,142,.6); }
.bar.bad { background: var(--bad); box-shadow: 0 0 8px rgba(239,107,107,.55); }
.bar.warn { background: var(--warn); box-shadow: 0 0 8px rgba(231,178,76,.55); }
.bar.acc { background: var(--acc-hi); box-shadow: 0 0 8px var(--acc-glow); }
.bar.mute { background: var(--faint); }

.kbd {
  display: inline-flex; align-items: center; font: 600 12px/1 var(--font); color: var(--text-2);
  padding: 4px 7px 3px; border-radius: 6px; border: 1px solid var(--line-2); border-bottom-width: 2px;
  background: linear-gradient(180deg, var(--field-hi), #1b1d23); white-space: nowrap; vertical-align: .08em;
}
.tag {
  display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600; white-space: nowrap;
  color: var(--acc-hi); background: var(--acc-soft); border: 1px solid var(--acc-line);
}
.tag .bar { height: 10px; }
.tag.ok { color: #84e2aa; background: rgba(95,208,142,.10); border-color: rgba(95,208,142,.36); }
.tag.warn { color: #f0c776; background: rgba(231,178,76,.10); border-color: rgba(231,178,76,.36); }
.tag.mute { color: var(--text-2); background: rgba(255,255,255,.03); border-color: var(--line-2); }

.btn {
  height: 40px; padding: 0 18px; border-radius: 9px; border: 1px solid var(--line-2);
  background: linear-gradient(180deg, var(--field-hi), var(--field)); color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  font: 600 14px/1 var(--font); cursor: pointer; white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform .14s var(--ease), border-color .18s, box-shadow .18s, background .18s;
}
.btn:hover { transform: translateY(-1px); border-color: var(--acc-line); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--acc-soft), 0 0 0 1px var(--acc-line); }
.btn.pri { background: linear-gradient(180deg, var(--acc-hi), var(--acc)); border-color: transparent; color: var(--acc-ink); box-shadow: 0 6px 18px var(--acc-glow), inset 0 1px 0 rgba(255,255,255,.35); }
.btn.pri:hover { box-shadow: 0 10px 26px var(--acc-glow), inset 0 1px 0 rgba(255,255,255,.45); }
.btn.lg { height: 46px; padding: 0 22px; font-size: 15px; border-radius: 10px; }
.btn.sm { height: 30px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.btn.xs { height: 26px; padding: 0 10px; font-size: 12px; border-radius: 7px; }
.btn svg { width: 16px; height: 16px; }

.tg { position: relative; width: 38px; height: 22px; flex: none; cursor: pointer; display: inline-block; }
.tg input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.tg .tr { position: absolute; inset: 0; border-radius: 999px; background: var(--track); border: 1px solid var(--line-2); transition: background .22s var(--ease), border-color .22s, box-shadow .22s; }
.tg .kn { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #c9c4ba; box-shadow: 0 2px 5px rgba(0,0,0,.45); transition: transform .26s var(--ease), background .22s; }
.tg input:checked + .tr, .tg.on .tr { background: linear-gradient(90deg, var(--acc), var(--acc-hi)); border-color: transparent; box-shadow: 0 0 14px var(--acc-glow); }
.tg input:checked + .tr + .kn, .tg.on .kn { transform: translateX(16px); background: #fffaf0; }
.tg input:focus-visible + .tr { box-shadow: 0 0 0 3px var(--acc-soft); }

.sl { display: flex; align-items: center; gap: 10px; width: clamp(130px, 46%, 240px); flex: none; }
.sl input[type=range] { -webkit-appearance: none; appearance: none; flex: 1; min-width: 0; height: 22px; background: transparent; cursor: pointer; margin: 0; --p: 50%; }
.sl input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 4px; background: linear-gradient(90deg, var(--acc) 0, var(--acc-hi) var(--p), var(--track) var(--p) 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); }
.sl input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 6px; height: 18px; border-radius: 3px; margin-top: -6px; background: #fffaf0; border: 0; box-shadow: 0 0 0 2px var(--acc-hi), 0 2px 8px rgba(0,0,0,.45); transition: transform .18s var(--ease), box-shadow .18s; }
.sl input[type=range]:hover::-webkit-slider-thumb { transform: scaleY(1.15); box-shadow: 0 0 0 2px var(--acc-hi), 0 0 0 7px var(--acc-soft), 0 2px 8px rgba(0,0,0,.45); }
.sl input[type=range]::-moz-range-track { height: 6px; border-radius: 4px; background: var(--track); }
.sl input[type=range]::-moz-range-progress { height: 6px; border-radius: 4px; background: linear-gradient(90deg, var(--acc), var(--acc-hi)); }
.sl input[type=range]::-moz-range-thumb { width: 6px; height: 18px; border-radius: 3px; background: #fffaf0; border: 0; box-shadow: 0 0 0 2px var(--acc-hi); }
.val { min-width: 56px; text-align: center; font-variant-numeric: tabular-nums; font-size: 12.5px; padding: 4px 8px; border-radius: 7px; background: var(--field); border: 1px solid var(--line); color: var(--text); transition: border-color .18s, color .18s; white-space: nowrap; }
.sl:hover .val { border-color: var(--acc-line); color: var(--acc-hi); }
.track-demo { height: 6px; border-radius: 4px; background: linear-gradient(90deg, var(--acc) 0, var(--acc-hi) var(--p, 60%), var(--track) var(--p, 60%)); position: relative; }
.track-demo::after { content: ""; position: absolute; left: var(--p, 60%); top: 50%; width: 6px; height: 18px; border-radius: 3px; background: #fffaf0; transform: translate(-50%, -50%); box-shadow: 0 0 0 2px var(--acc-hi); }

.stepper { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text); font-variant-numeric: tabular-nums; }
.stepper b { width: 24px; height: 24px; border-radius: 6px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--text-2); font-weight: 600; cursor: pointer; transition: background .14s, color .14s; }
.stepper b:hover { background: rgba(255,255,255,.08); color: var(--text); }
.stepper span { min-width: 42px; text-align: center; }
.dots { display: inline-flex; gap: 6px; }
.dots button { width: 18px; height: 18px; border-radius: 5px; border: 2px solid transparent; cursor: pointer; padding: 0; transition: transform .15s var(--ease), border-color .15s; }
.dots button:hover { transform: scale(1.12); }
.dots button[aria-pressed="true"] { border-color: #fff; }

.card { background: linear-gradient(180deg, var(--card-hi), var(--card)); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); min-width: 0; }
.card:hover { border-color: var(--line-2); box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 8px 26px rgba(0,0,0,.25); }
.card-h { display: flex; align-items: center; gap: 10px; padding: 14px 16px 12px; border-bottom: 1px solid var(--line); min-width: 0; }
.ico { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc-hi); border: 1px solid var(--acc-line); flex: none; }
.ico svg { width: 16px; height: 16px; }
.ico.lg { width: 44px; height: 44px; border-radius: 11px; }
.ico.lg svg { width: 22px; height: 22px; }
.card-h .tt { min-width: 0; }
.card-h .t { font-weight: 600; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-h .d { font-size: 12px; color: var(--muted); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-h .right { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: none; }
.card-b { padding: 4px 16px 8px; }
.card-f { display: flex; justify-content: flex-end; gap: 8px; padding: 8px 16px 14px; }
.card-f .btn { flex: 1; }
.row { display: flex; align-items: center; gap: 14px; min-height: 44px; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.035); }
.row:last-child { border-bottom: 0; }
.row .l { flex: 1; min-width: 0; }
.row .n { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13.5px; }
.row .h { font-size: 12px; color: var(--muted); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row.child { padding-left: 14px; position: relative; }
.row.child::before { content: ""; position: absolute; left: 3px; top: 0; bottom: 0; width: 1px; background: var(--line-2); }
.skel { height: 10px; border-radius: 6px; background: linear-gradient(90deg, #1d1f25 0%, #262830 50%, #1d1f25 100%); background-size: 200% 100%; animation: sh 1.6s linear infinite; }
@keyframes sh { to { background-position: -200% 0; } }

.eyebrow { font-size: 11.5px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--acc-hi); display: inline-flex; align-items: center; gap: 8px; }
.eyebrow .bar { height: 12px; }
h1, h2, h3 { font-family: var(--font-d); margin: 0; color: var(--text-hi); }
h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; font-weight: 700; letter-spacing: -.2px; margin-top: 10px; }
.sec { padding: 120px 0 0; }
.sec-lead { color: var(--text-2); font-size: 16px; max-width: 640px; margin: 12px 0 0; }

/* ---------- top bar ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(11,12,15,.72); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); }
.top .wrap { height: 64px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand .name { font-size: 17px; }
.links { display: flex; align-items: center; gap: 2px; }
.links > a, .drop > summary { color: var(--text-2); font-size: 14px; padding: 7px 11px; border-radius: 8px; transition: color .18s, background .18s; cursor: pointer; }
.top .end { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lang-pills { display: inline-flex; align-items: center; gap: 2px; padding: 2px; border-radius: 7px; background: rgba(255,255,255,.04); border: 1px solid var(--line); font-size: 11px; font-weight: 600; margin-right: 4px; }
.lang-pill { padding: 3px 6px; border-radius: 5px; color: var(--muted); transition: color .14s, background .14s; }
.lang-pill:hover { color: var(--text); background: rgba(255,255,255,.05); }
.lang-pill.is-active, .lang-pill[aria-current="true"] { color: var(--acc-hi); background: var(--acc-soft); }

.drop { position: relative; }
.drop > summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.drop > summary::-webkit-details-marker { display: none; }
.drop > summary svg { width: 14px; height: 14px; opacity: .6; transition: transform .25s var(--ease); }
.drop[open] > summary svg { transform: rotate(180deg); }
.drop-menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 300px; padding: 6px; background: var(--popup); border: 1px solid var(--line-2); border-radius: 10px; box-shadow: 0 18px 40px rgba(0,0,0,.5); animation: popIn .16s var(--ease) both; z-index: 60; }
@keyframes popIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.mi { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 6px 10px; border-radius: 7px; color: var(--text-2); white-space: nowrap; font-size: 13.5px; transition: background .14s, color .14s; }
a.mi:hover { background: rgba(255,255,255,.06); color: var(--text); }
.mi .tt { min-width: 0; flex: 1; }
.mi .t { color: var(--text); font-weight: 600; }
.mi .d { font-size: 12px; color: var(--muted); }
.mi.off { opacity: .6; }
.msep { height: 1px; background: var(--line); margin: 5px 4px; }

.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.crumbs svg { width: 13px; height: 13px; transform: rotate(-90deg); opacity: .6; }
.crumbs b { color: var(--text-2); font-weight: 600; }

/* ---------- hero ---------- */
.hero { padding: 84px 0 0; text-align: center; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -120px 0 auto; height: 760px; pointer-events: none; z-index: -1;
  background:
    radial-gradient(700px 360px at 50% 0, color-mix(in srgb, var(--acc) 24%, transparent), transparent 70%),
    radial-gradient(rgba(255,255,255,.05) 1px, transparent 1.2px) 0 0 / 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 92%); mask-image: linear-gradient(180deg, #000 30%, transparent 92%);
}
.hero .crumbs { justify-content: center; margin-bottom: 18px; }
.pillrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px 6px 8px; border-radius: 999px; background: rgba(21,23,28,.7); border: 1px solid var(--line-2); font-size: 13px; color: var(--text-2); }
.pillrow .mini { display: inline-flex; gap: 2px; padding: 3px 5px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
.pillrow .mini .bar { height: 10px; }
.hero h1 { font-size: clamp(38px, 6.4vw, 68px); line-height: 1.04; font-weight: 750; letter-spacing: -1px; margin: 22px auto 0; max-width: 900px; }
.hero .lead { color: var(--text-2); font-size: clamp(16px, 1.8vw, 18.5px); max-width: 680px; margin: 20px auto 0; }
.hero .lead b { color: var(--text); font-weight: 600; }
.cta { display: flex; justify-content: center; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.hint { margin-top: 18px; font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }

.stage {
  position: relative; margin: 56px auto 0; max-width: 1148px; padding: 34px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line);
  background:
    radial-gradient(520px 300px at 14% 18%, rgba(236,176,86,.15), transparent 62%),
    radial-gradient(420px 300px at 6% 84%, rgba(88,140,70,.18), transparent 64%),
    radial-gradient(700px 480px at 92% 92%, rgba(60,110,170,.16), transparent 60%),
    repeating-linear-gradient(115deg, rgba(255,255,255,.018) 0 2px, transparent 2px 22px),
    linear-gradient(135deg, #1c1610, #0f141b);
}
.stage::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: -40px; height: 120px; background: var(--acc-glow); filter: blur(60px); opacity: .55; pointer-events: none; }
.stage-cap { margin-top: 14px; text-align: center; font-size: 13px; color: var(--muted); }

/* ---------- menu replica ---------- */
.win { position: relative; z-index: 1; text-align: left; font-size: 14px; display: grid; grid-template-columns: var(--side-w, 220px) minmax(0, 1fr); height: 600px; border: 1px solid var(--line-2); border-radius: var(--r-win); overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.side { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: linear-gradient(180deg, rgba(12,13,17,.92), rgba(12,13,17,.86)); border-right: 1px solid rgba(255,255,255,.08); text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.side .brand { padding: 18px 14px 12px 16px; min-width: 0; }
.side .brand .name { font-size: 15.5px; text-shadow: none; filter: drop-shadow(0 1px 2px rgba(0,0,0,.55)); }
.side .ver { display: block; font-size: 11px; color: var(--muted); margin-top: 1px; }
.search { margin: 2px 12px 6px; height: 34px; border-radius: var(--r-ctl); background: rgba(31,33,40,.55); border: 1px solid var(--line); display: flex; align-items: center; gap: 8px; padding: 0 8px 0 10px; color: var(--muted); font-size: 13px; }
.search svg { width: 15px; height: 15px; flex: none; }
.search .q { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; }
.search .kbd, .side-foot .kbd { font-size: 10.5px; padding: 2px 5px; border-bottom-width: 1px; }
.r-nav { position: relative; flex: 1; overflow: hidden; padding: 2px 10px 10px; }
.grp { font-size: 10.5px; font-weight: 600; letter-spacing: 1.1px; text-transform: uppercase; color: var(--faint); padding: 12px 10px 5px; white-space: nowrap; }
.it { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; height: 32px; padding: 0 10px; border-radius: var(--r-ctl); color: var(--text-2); cursor: pointer; user-select: none; white-space: nowrap; transition: color .18s, background-color .18s; }
.it svg { width: 17px; height: 17px; flex: none; opacity: .8; transition: opacity .18s, color .18s; }
.it .lbl { overflow: hidden; text-overflow: ellipsis; }
.it:hover { background: rgba(255,255,255,.05); color: var(--text); }
.it.on { color: var(--text); }
.it.on:hover { background: transparent; }
.it.on svg { color: var(--acc-hi); opacity: 1; }
.it .bar { margin-left: auto; }
.it .chev { margin-left: auto; width: 14px; height: 14px; opacity: .55; }
.sub { margin-left: 18px; padding-left: 8px; border-left: 1px solid rgba(255,255,255,.08); }
.sub .it { height: 29px; font-size: 13.5px; }
.ind { position: absolute; z-index: 0; border-radius: var(--r-ctl); background: linear-gradient(90deg, var(--acc-soft), rgba(255,255,255,.03)); border: 1px solid var(--acc-line); transition: top .3s var(--ease), height .3s var(--ease), left .3s var(--ease), width .3s var(--ease); pointer-events: none; }
.ind::before { content: ""; position: absolute; left: -1px; top: 7px; bottom: 7px; width: 3px; border-radius: 3px; background: var(--acc-hi); box-shadow: 0 0 10px var(--acc-glow); }
.side-foot { border-top: 1px solid rgba(255,255,255,.07); padding: 10px 12px 12px; display: grid; gap: 8px; }
.conn { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.conn div { background: rgba(21,23,28,.6); border: 1px solid var(--line); border-radius: 8px; padding: 6px 9px; font-size: 12px; color: var(--text-2); display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; }
.conn .bar { height: 12px; }
.side-foot .r2 { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; }
.side-foot .r2 svg { margin-left: auto; width: 15px; height: 15px; }
.main { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; min-width: 0; min-height: 0; background: var(--win); }
.head { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 18px; min-width: 0; background: radial-gradient(320px 90px at 0 0, var(--acc-soft), transparent 70%), linear-gradient(180deg, rgba(255,255,255,.025), transparent); }
.head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, var(--acc-line), var(--line) 50%, var(--line)); }
.head .plate { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc-hi); border: 1px solid var(--acc-line); flex: none; }
.head .plate svg { width: 17px; height: 17px; }
.head .grow { flex: 1; min-width: 0; }
.crumb { font-size: 11px; color: var(--muted); white-space: nowrap; }
.ttl { display: flex; align-items: baseline; gap: 8px; min-width: 0; white-space: nowrap; }
.ttl b { font-size: 19px; font-weight: 650; letter-spacing: .2px; color: var(--text-hi); }
.ttl i { font-style: normal; font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; padding-left: 8px; border-left: 1px solid var(--line-2); }
.status { display: flex; align-items: center; gap: 8px; padding: 5px 10px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); flex: none; font-size: 12px; color: var(--text-2); white-space: nowrap; }
.status .bars { display: flex; gap: 3px; }
.status .bar { height: 12px; }
.iconbtn { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: var(--muted); border: 1px solid transparent; flex: none; transition: background .18s, color .18s, border-color .18s; }
.iconbtn:hover { background: rgba(255,255,255,.05); color: var(--text); border-color: var(--line); }
.iconbtn svg { width: 17px; height: 17px; }
.body { position: relative; overflow: hidden; padding: 16px 16px 0 18px; min-height: 0; -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent); mask-image: linear-gradient(180deg, #000 82%, transparent); }
.page { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-start; }
.page.enter { animation: pageIn .32s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.col { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.foot { display: flex; align-items: center; gap: 10px; padding: 9px 16px 9px 18px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); background: rgba(0,0,0,.14); min-width: 0; white-space: nowrap; }
.foot .dirty { display: flex; align-items: center; gap: 8px; color: var(--text-2); }
.foot .dirty .bar { height: 12px; }
.foot .grow { flex: 1; }
.chip { font-family: var(--mono); font-size: 11px; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; }

/* ---------- products ---------- */
.prods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.prod { position: relative; display: flex; flex-direction: column; overflow: hidden; }
.prod.live { grid-column: span 2; flex-direction: row; border-color: var(--acc-line); }
.prod.live::before { content: ""; position: absolute; left: -1px; top: 18px; bottom: 18px; width: 3px; border-radius: 3px; background: var(--acc-hi); box-shadow: 0 0 12px var(--acc-glow); z-index: 2; }
.prod.live:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 12px 34px rgba(0,0,0,.35), 0 0 0 3px var(--acc-soft); }
.prod-b { padding: 24px 24px 22px; display: flex; flex-direction: column; gap: 14px; flex: 1 1 52%; min-width: 0; }
.prod-h { display: flex; align-items: center; gap: 12px; }
.prod-h .t { font-family: var(--font-d); font-size: 20px; font-weight: 700; color: var(--text-hi); }
.prod-h .d { font-size: 12.5px; color: var(--muted); }
.prod-h .tag { margin-left: auto; }
.prod p { margin: 0; color: var(--text-2); font-size: 14.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip2 { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; color: var(--text-2); background: var(--field); border: 1px solid var(--line-2); }
.chip2 svg { width: 13px; height: 13px; color: var(--acc-hi); }
.prod .go { margin-top: auto; display: flex; align-items: center; gap: 10px; }
.prod-vis { position: relative; flex: 1 1 48%; min-width: 0; padding: 22px; display: grid; gap: 12px; align-content: center; border-left: 1px solid var(--line);
  background:
    radial-gradient(360px 220px at 20% 15%, rgba(236,176,86,.14), transparent 62%),
    radial-gradient(300px 220px at 10% 90%, rgba(88,140,70,.16), transparent 64%),
    radial-gradient(420px 300px at 95% 95%, rgba(60,110,170,.15), transparent 60%),
    repeating-linear-gradient(115deg, rgba(255,255,255,.018) 0 2px, transparent 2px 22px),
    linear-gradient(135deg, #1c1610, #0f141b);
}
.prod-vis .card { background: linear-gradient(180deg, rgba(26,28,34,.96), rgba(21,23,28,.96)); box-shadow: 0 14px 30px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.05); }
.prod-vis .card:nth-child(2) { margin-left: 26px; }
.prod.soon { border-style: dashed; border-color: var(--line-2); background: linear-gradient(180deg, rgba(26,28,34,.5), rgba(21,23,28,.5)); }
.empty { flex: 1; display: grid; place-items: center; text-align: center; gap: 12px; padding: 34px 24px; }
.ring { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); border: 1px solid var(--line-2); background: radial-gradient(circle, rgba(255,255,255,.04), transparent 70%); margin: 0 auto; }
.ring svg { width: 22px; height: 22px; }
.empty .t { font-family: var(--font-d); font-size: 18px; font-weight: 700; color: var(--text-hi); }
.empty p { margin: 0; color: var(--muted); font-size: 13.5px; max-width: 260px; }

/* ---------- feature grids ---------- */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.grid3 .card:hover { transform: translateY(-2px); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.stat { padding: 18px 18px 16px; }
.stat .v { font-family: var(--font-d); font-size: 28px; font-weight: 700; color: var(--text-hi); letter-spacing: -.3px; display: flex; align-items: center; gap: 8px; min-height: 40px; }
.stat .v .kbd { font-size: 15px; padding: 6px 9px 5px; }
.stat .k { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ---------- themes ---------- */
.swatches { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 36px; }
.sw { position: relative; text-align: left; cursor: pointer; padding: 16px; display: grid; gap: 14px; color: inherit; }
.sw .top-r { display: flex; align-items: center; gap: 9px; min-width: 0; }
.sw .top-r .name { font-size: 14.5px; }
.sw .lbl2 { font-size: 12px; color: var(--muted); display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 22px; }
.sw .demo { display: flex; align-items: center; gap: 12px; }
.sw .demo .track-demo { flex: 1; --p: 62%; }
.sw .sel { display: none; }
.sw[aria-pressed="true"] { border-color: var(--acc-line); box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 0 0 3px var(--acc-soft); }
.sw[aria-pressed="true"] .sel { display: inline-flex; }
.sw:focus-visible { outline: none; border-color: var(--acc-line); box-shadow: 0 0 0 3px var(--acc-soft); }

/* ---------- community ---------- */
.comm .card { display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden; }
.comm .l { padding: 36px; }
.comm .l .cta { justify-content: flex-start; margin-top: 26px; }
.comm .r { border-left: 1px solid var(--line); background: radial-gradient(400px 260px at 100% 0, var(--acc-soft), transparent 70%), rgba(0,0,0,.12); padding: 22px; display: grid; gap: 8px; align-content: center; }
.node { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: rgba(21,23,28,.7); transition: border-color .18s, background .18s, transform .18s var(--ease); }
.node:hover { border-color: var(--acc-line); background: rgba(26,28,34,.9); transform: translateX(2px); }
.node .tt { min-width: 0; flex: 1; }
.node .t { display: block; font-weight: 600; font-size: 14px; }
.node .d { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.node > svg { width: 16px; height: 16px; color: var(--muted); flex: none; transform: rotate(-90deg); }

/* ---------- footer ---------- */
.foot-site { margin-top: 120px; border-top: 1px solid var(--line); padding: 34px 0 40px; color: var(--muted); font-size: 13px; }
.foot-site .wrap { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: start; }
.foot-site .brand .name { font-size: 15px; }
.foot-site p { margin: 0; max-width: 540px; line-height: 1.6; }
.foot-site nav { display: flex; gap: 16px; flex-wrap: wrap; }
.foot-site nav a { color: var(--text-2); }
.foot-site nav a:hover { color: var(--text); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .links { display: none; }
  .win { --side-w: 64px; }
  .side .brand { justify-content: center; padding: 18px 0 12px; }
  .side .brand .txt, .search .q, .search .kbd, .it .lbl, .it .chev, .it .bar, .conn .lbl, .side-foot .r2 span { display: none; }
  .search { justify-content: center; padding: 0; }
  .grp { font-size: 0; height: 1px; padding: 0; margin: 10px 8px; background: rgba(255,255,255,.08); }
  .it { justify-content: center; padding: 0; }
  .sub { margin-left: 0; padding-left: 0; border-left-color: transparent; }
  .conn { grid-template-columns: 1fr; }
  .conn div { justify-content: center; padding: 7px 0; }
  .side-foot .r2 svg { margin: 0 auto; }
  .prod.live { flex-direction: column; }
  .prod-vis { border-left: 0; border-top: 1px solid var(--line); order: -1; }
  .comm .card { grid-template-columns: 1fr; }
  .comm .r { border-left: 0; border-top: 1px solid var(--line); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-site .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero { padding-top: 56px; }
  .stage { padding: 12px; border-radius: 16px; margin-top: 40px; }
  .win { height: 520px; }
  .status .lbl, .ttl i, .head .iconbtn.more, .foot .chip, .foot .open { display: none; }
  .grid3, .swatches, .prods { grid-template-columns: 1fr; }
  .prod.live { grid-column: auto; }
  .prod-vis .card:nth-child(2) { margin-left: 14px; }
  .comm .l { padding: 24px 20px; }
  .top .end .btn:not(.pri) { display: none; }
  .sec { padding-top: 88px; }
  .sl { width: clamp(110px, 44%, 200px); }
  .val { min-width: 48px; }
  .prod-b { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
