/* =========================================================
   LLMPods · shared design system (website + control plane)
   Void Black #050607 · Night #07090B · Carbon #0B0D10
   Graphite #12151A · Elevated #181C22 · Titanium #272C34
   Plasma Lime #C9FF45 · Compute Cyan #55DFFF · Signal Blue #4D77FF
   ========================================================= */
@property --m { syntax: '<number>'; inherits: true; initial-value: 0; }

:root {
  --void: #050607; --night: #07090B; --carbon: #0B0D10; --gr: #12151A; --el: #181C22; --ti: #272C34;
  --ln: rgba(255,255,255,.08); --ln2: rgba(255,255,255,.15);
  --tx: #F6F8FA; --tx2: #98A1AB; --tx3: #7B8693;
  --lime: #C9FF45; --cy: #55DFFF; --bl: #4D77FF;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, 'IBM Plex Sans Arabic', monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #050607; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
::selection { background: rgba(201,255,69,.28); color: #fff; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid #55DFFF; outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.m { font-family: var(--mono); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; font-weight: 500; line-height: 1.4; }
.t2 { color: var(--tx2); } .t3 { color: var(--tx3); } .lm { color: var(--lime); } .cy { color: var(--cy); }
.h2 { margin: 0; font-weight: 500; font-size: clamp(40px, 5.2vw, 76px); line-height: 1.02; letter-spacing: -.04em; }
.lede { margin: 0; font-size: 18px; line-height: 1.6; color: var(--tx2); max-width: 520px; }
.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 48px; }
.sec { position: relative; padding: 150px 0; }
.sid { display: flex; gap: 12px; align-items: center; }
.gridbg { background-image: radial-gradient(rgba(255,255,255,.1) 1px, transparent 1.2px); background-size: 26px 26px; }
.sq { display: inline-block; width: 5px; height: 5px; background: #55606B; }
.sw { display: inline-block; width: 8px; height: 8px; border-radius: 2px; }
.kv { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0 12px; padding: 3px 0; font: 500 10.5px var(--mono); letter-spacing: .06em; }
.kv span { color: var(--tx3); }
.kv b { font-weight: 500; color: #F6F8FA; text-align: right; }

/* ---------- status ---------- */
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(201,255,69,.14); animation: pulse 3.4s ease-in-out infinite; flex: none; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 3px rgba(201,255,69,.16); } 50% { box-shadow: 0 0 0 5px rgba(201,255,69,.04); } }
.cur { display: inline-block; width: 6px; height: 11px; background: #C9FF45; margin-left: 5px; vertical-align: -1px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- controls ---------- */
.btn { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 20px; border-radius: 8px; font: 500 15px 'Geist', system-ui, sans-serif; white-space: nowrap; border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s; }
.btn::after { content: ''; position: absolute; left: 18px; right: 18px; bottom: 5px; height: 1px; background: currentColor; opacity: 0; transform: scaleX(.3); transform-origin: left; transition: opacity .15s, transform .18s; }
.btn:hover::after { opacity: .45; transform: scaleX(1); }
.btn-p { background: var(--lime); color: #050607; }
.btn-p:hover { background: #D6FF6E; }
.btn-s { border-color: var(--ln2); color: var(--tx); }
.btn-s:hover { border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.04); }
.arr { display: inline-block; transition: transform .15s; }
.btn:hover .arr, a:hover > .arr, button:hover > .arr { transform: translateX(3px); }
.dlink { transition: color .15s; } .dlink:hover { color: #fff; }
.nl { display: flex; align-items: center; height: 36px; padding: 0 12px; border-radius: 8px; font-size: 14px; color: var(--tx2); white-space: nowrap; transition: color .15s, background .15s; }
.nl:hover { color: #fff; background: rgba(255,255,255,.05); }
.kbd { height: 36px; min-width: 44px; padding: 0 10px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--ln2); font: 500 12px var(--mono); color: var(--tx2); transition: color .15s, background .15s; }
.kbd:hover { color: #fff; background: rgba(255,255,255,.05); }
.cmd { display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px; font-size: 15px; color: #F6F8FA; transition: background .12s; }
.cmd:hover { background: rgba(255,255,255,.06); }
.cmdbox:focus-within { box-shadow: inset 0 -1px 0 #55DFFF; }
.seg { display: flex; padding: 3px; border-radius: 9px; background: rgba(7,9,11,.84); box-shadow: inset 0 0 0 1px var(--ln2); }
.sb { height: 32px; padding: 0 12px; border-radius: 6px; font: 500 10.5px var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--tx2); transition: background .15s, color .15s; }
.sb:hover { color: #fff; } .sb.on { background: rgba(255,255,255,.11); color: #fff; }

/* ---------- command bar compaction (scroll-driven where supported) ---------- */
@keyframes compact { to { height: 48px; max-width: 1140px; } }
@supports (animation-timeline: scroll()) {
  .bar { animation: compact linear both; animation-timeline: scroll(); animation-range: 0 180px; }
}

/* ---------- THE POD (hardware) ---------- */
.hpw { position: absolute; width: 0; height: 0;
  left: calc((var(--x0) * (1 - var(--m)) + var(--x1) * var(--m)) * 1px);
  top: calc((var(--y0) * (1 - var(--m)) + var(--y1) * var(--m)) * 1px); }
.hp { position: absolute; left: -80px; top: -100px; width: 160px; height: 200px;
  transform: scale(calc(var(--s0) * (1 - var(--m)) + var(--s1) * var(--m)));
  animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { from { translate: 0 0; } to { translate: 0 -5px; } }
.hw { position: absolute; inset: 0; border-radius: 13px; opacity: calc(1 - var(--m));
  background: linear-gradient(180deg, #20252c 0%, #12151a 34%, #0b0d10 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.17), inset 0 0 0 1px rgba(255,255,255,.07), inset 0 -24px 36px rgba(0,0,0,.55), 0 36px 60px -24px rgba(0,0,0,.95), 0 1px 0 #000; }
.hw::before { content: ''; position: absolute; inset: 1px; border-radius: 12px; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.075) 0%, transparent 30%, transparent 68%, rgba(255,255,255,.03) 100%); }
.strip { position: absolute; left: 18px; right: 18px; top: 16px; height: 3px; border-radius: 2px; background: var(--st); box-shadow: 0 0 12px -3px var(--st); }
.etch { position: absolute; font: 500 7px var(--mono); letter-spacing: .14em; color: rgba(255,255,255,.34); text-transform: uppercase; }
.oled { position: absolute; left: 14px; right: 14px; top: 50px; height: 84px; border-radius: 6px; background: #030405; overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), inset 0 2px 8px #000; padding: 9px 10px; display: flex; flex-direction: column; gap: 3px; }
.oled::after { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255,255,255,.06), transparent 40%); pointer-events: none; }
.o1 { font-size: 7.5px; color: var(--tx3); letter-spacing: .12em; }
.o2 { font: 600 11px var(--mono); letter-spacing: .02em; color: #F6F8FA; text-transform: uppercase; }
.o3 { font-size: 7.5px; color: var(--tx2); }
.obar { height: 2px; border-radius: 2px; background: rgba(255,255,255,.1); margin-top: auto; }
.obar i { display: block; height: 100%; border-radius: 2px; background: var(--st); }
.o4 { font-size: 8px; display: flex; align-items: center; gap: 6px; color: var(--stt); margin-top: 5px; }
.od { width: 5px; height: 5px; border-radius: 50%; background: var(--st); flex: none; }
.vent { position: absolute; left: 14px; right: 14px; bottom: 16px; height: 44px; border-radius: 5px;
  background: radial-gradient(circle at 50% 50%, #000 0 1.2px, transparent 1.7px) 0 0 / 8px 8px, linear-gradient(180deg, #0f1216, #15191e);
  box-shadow: inset 0 1px 3px #000, 0 1px 0 rgba(255,255,255,.06); }
.scr { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #4a525c, #14171b); box-shadow: inset 0 0 0 .5px #000; }
.stx { position: relative; display: inline-block; }
.stl-w { position: absolute; left: 0; top: 0; opacity: 0; color: #55DFFF; }
.cyc .stl { animation: sa 9s infinite; }
.cyc .stl-w { animation: sb 9s infinite; }
.cyc .strip { animation: stripc 9s infinite; }
.cyc .od { animation: odc 9s infinite; }
@keyframes sa { 0%,9% { opacity: 0; } 12%,91% { opacity: 1; } 94%,100% { opacity: 0; } }
@keyframes sb { 0%,9% { opacity: 1; } 12%,91% { opacity: 0; } 94%,100% { opacity: 1; } }
@keyframes stripc { 0%,9% { background: #55DFFF; box-shadow: 0 0 12px -3px #55DFFF; } 12%,91% { background: #C9FF45; box-shadow: 0 0 12px -3px #C9FF45; } 94%,100% { background: #55DFFF; box-shadow: 0 0 12px -3px #55DFFF; } }
@keyframes odc { 0%,9% { background: #55DFFF; } 12%,91% { background: #C9FF45; } 94%,100% { background: #55DFFF; } }
.sc { position: absolute; inset: 0; border-radius: 6px; opacity: var(--m); pointer-events: none; padding: 14px 14px 12px; display: flex; flex-direction: column;
  border: 1px solid color-mix(in srgb, var(--st) 60%, transparent); background: rgba(255,255,255,.02); }
.hpw:hover { z-index: 40 !important; }
.tip { position: absolute; left: 0; top: calc((var(--s0) * (1 - var(--m)) + var(--s1) * var(--m)) * -100px - 14px); width: 176px; transform: translate(-50%, -96%);
  background: rgba(7,9,11,.95); border-radius: 8px; padding: 12px 14px; box-shadow: inset 0 0 0 1px var(--ln2), 0 18px 40px -10px #000;
  opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; }
.hpw:hover .tip { opacity: 1; transform: translate(-50%, -100%); }

/* ---------- hero scene ---------- */
.scene { transition: --m .9s cubic-bezier(.2,.7,.2,1); }
@keyframes morph { from { --m: 0; } to { --m: 1; } }
@supports (animation-timeline: view()) {
  .scene.auto { animation: morph linear both; animation-timeline: view(); animation-range: exit 8% exit 70%; }
}
.floor { position: absolute; left: -6%; right: -6%; bottom: -30px; height: 320px; pointer-events: none; opacity: calc(.75 * (1 - var(--m)));
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 44px 44px; transform: perspective(520px) rotateX(64deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 8%, transparent 80%); mask-image: linear-gradient(to top, #000 8%, transparent 80%); }
.chip { position: absolute; transform: translate(-50%, -50%); padding: 7px 11px; border-radius: 6px; background: rgba(11,13,16,.92); box-shadow: inset 0 0 0 1px var(--ln2); white-space: nowrap; z-index: 20;
  left: calc((var(--x0) * (1 - var(--m)) + var(--x1) * var(--m)) * 1px);
  top: calc((var(--y0) * (1 - var(--m)) + var(--y1) * var(--m)) * 1px); }
.flow { stroke-dasharray: 3 9; animation: dash 1.1s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -24; } }
.tele { position: absolute; left: 0; bottom: 0; width: 252px; padding: 16px 16px 10px; border-radius: 10px; background: rgba(7,9,11,.84);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.09); z-index: 30; }
.trow { position: relative; display: grid; grid-template-columns: 7px 76px minmax(0,1fr); gap: 0 10px; align-items: center; padding: 5px 0; }
.trow .m { font-size: 9.5px; color: var(--tx3); }
.trow b { font: 500 10.5px var(--mono); letter-spacing: .04em; color: #F6F8FA; }
.trow i { width: 7px; height: 7px; border-radius: 2px; background: #3A424B; }
.trow:not(:last-child)::before { content: ''; position: absolute; left: 3px; top: 50%; width: 1px; height: 100%; background: rgba(255,255,255,.1); }
.tl { animation: tl 9s infinite; animation-delay: calc(var(--i) * .55s); }
.tl i { animation: tldot 9s infinite; animation-delay: calc(var(--i) * .55s); }
@keyframes tl { 0%,5% { opacity: .4; } 9%,78% { opacity: 1; } 92%,100% { opacity: .4; } }
@keyframes tldot { 0%,5% { background: #3A424B; } 9%,78% { background: #C9FF45; } 92%,100% { background: #3A424B; } }
.vpkt { position: absolute; left: -2px; top: 0; width: 5px; height: 5px; border-radius: 1px; background: #C9FF45; animation: vdrop 2.6s linear infinite; }
@keyframes vdrop { from { top: 0; opacity: 1; } to { top: 100%; opacity: 0; } }

/* ---------- 01 pipeline ---------- */
.pipe { position: relative; }
.rail { position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: rgba(255,255,255,.14); }
.pkt { position: absolute; left: 0; top: -3px; width: 7px; height: 7px; border-radius: 1px; background: #C9FF45; box-shadow: 0 0 10px rgba(201,255,69,.55); animation: travel 6.4s linear infinite; }
@keyframes travel { 0% { left: 0; } 84%,100% { left: calc(100% - 7px); } }
.pgrid { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); }
.pn { position: relative; padding: 36px 14px 0 0; }
.pm { position: absolute; left: 0; top: 2px; width: 9px; height: 9px; border-radius: 2px; background: #2A3038; box-shadow: 0 0 0 3px #07090B;
  animation: pnl 6.4s linear infinite; animation-delay: calc(var(--i) * .9s); }
@keyframes pnl { 0%,2% { background: #2A3038; } 4%,24% { background: #C9FF45; box-shadow: 0 0 0 3px #07090B, 0 0 12px rgba(201,255,69,.5); } 40%,100% { background: #2A3038; box-shadow: 0 0 0 3px #07090B; } }
@keyframes pnS { to { background: #C9FF45; box-shadow: 0 0 0 3px #07090B, 0 0 12px rgba(201,255,69,.5); } }
@supports (animation-timeline: view()) {
  .pkt { animation: travel linear both; animation-timeline: view(); animation-range: entry 25% cover 50%; }
  .pm { animation: pnS linear both; animation-timeline: view(); animation-range: cover calc(14% + var(--i) * 5.5%) cover calc(18% + var(--i) * 5.5%); }
}
.pt { font-size: 20px; letter-spacing: -.025em; font-weight: 500; margin: 8px 0 16px; line-height: 1.15; }
.brk { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); margin-top: 52px; }
.bk { position: relative; padding: 16px 14px 0 0; }
.bk i { position: absolute; left: 0; right: 14px; top: 0; height: 6px; border: 1px solid rgba(255,255,255,.22); border-bottom: 0; }
.bk-lime i { border-color: rgba(201,255,69,.6); }

/* ---------- 02 editor ---------- */
.editor { border-radius: 12px; background: #0B0D10; box-shadow: inset 0 0 0 1px var(--ln), 0 40px 80px -40px #000; overflow: hidden; }
.etabs { display: flex; align-items: center; border-bottom: 1px solid var(--ln); background: #090B0E; }
.et { position: relative; height: 48px; padding: 0 22px; font: 500 13px var(--mono); color: var(--tx3); transition: color .15s, background .15s; }
.et:hover { color: #fff; } .et.on { color: #F6F8FA; background: #0B0D10; }
.et.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: #C9FF45; }
.code { padding: 22px 0; font: 400 14.5px/1.8 var(--mono); color: #C8D0D9; overflow-x: auto; }
.ln { display: flex; gap: 22px; padding: 0 28px; white-space: pre; width: 100%; min-width: max-content; }
.no { color: #55606B; width: 20px; text-align: right; user-select: none; flex: none; }
.hl { background: rgba(201,255,69,.07); box-shadow: inset 0 0 0 1px rgba(201,255,69,.22); }
.anno { margin-left: auto; padding-left: 40px; font: 500 10.5px var(--mono); letter-spacing: .1em; color: #C9FF45; display: flex; align-items: center; }
.k { color: #55DFFF; } .s { color: #D5E6A6; } .f { color: #F6F8FA; } .c { color: #7B8693; }
.bu { color: #C9FF45; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(201,255,69,.5); text-underline-offset: 4px; }
.feat { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px,100%), 1fr)); border-top: 1px solid var(--ln); }
.feat li { padding: 22px 20px 0 0; display: flex; flex-direction: column; gap: 10px; font-size: 16px; letter-spacing: -.01em; }

/* ---------- 03 pod topologies ---------- */
.topo { margin-top: 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px,100%), 1fr)); border-top: 1px solid var(--ln); border-bottom: 1px solid var(--ln); }
.tcol { padding: 30px 28px 34px; border-left: 1px solid var(--ln); transition: background .2s; }
.tcol:first-child { border-left: 0; padding-left: 0; }
.tcol:hover { background: rgba(255,255,255,.012); }
.tname { margin: 0; font-size: 28px; font-weight: 500; letter-spacing: -.03em; }
.tsub { margin: 8px 0 24px; color: var(--tx2); font-size: 15px; line-height: 1.45; }
.tprops { list-style: none; margin: 0; padding: 0; }
.tprops li { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid var(--ln); font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--tx2); }
.tprops li::before { content: ''; width: 5px; height: 5px; background: #55606B; flex: none; }

/* ---------- 04 scale ---------- */
.lvls { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 6px; margin-top: 14px; }
.lvl { min-height: 64px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--ln); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 0 10px; gap: 2px; transition: box-shadow .15s, background .15s; }
.lvl b { font-weight: 500; font-size: 17px; letter-spacing: -.02em; }
.lvl:hover { box-shadow: inset 0 0 0 1px var(--ln2); }
.lvl.on { background: rgba(201,255,69,.08); box-shadow: inset 0 0 0 1px rgba(201,255,69,.55); }
.autob { margin-top: 10px; min-height: 44px; display: flex; align-items: center; gap: 12px; color: var(--tx2); }
.autob:hover { color: #fff; }
.mets { margin: 34px 0 0; border-top: 1px solid var(--ln); }
.mets > div { display: flex; justify-content: space-between; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--ln); }
.mets dt { margin: 0; } .mets dd { margin: 0; font-weight: 500; font-size: 34px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.mets small { font-size: 16px; color: var(--tx3); margin-left: 2px; }
.spanel { padding: 28px; border-radius: 12px; background: #0B0D10; box-shadow: inset 0 0 0 1px var(--ln); }
.p8 { display: grid; grid-template-columns: repeat(8, minmax(0,1fr)); gap: 0 10px; }
.pc { display: flex; flex-direction: column; margin-bottom: 8px; }
.stub { display: block; width: 1px; height: 20px; margin: 0 auto; transition: background .4s; }
.mp { position: relative; aspect-ratio: 4 / 5; border-radius: 7px; background: linear-gradient(180deg, #1b2026, #0c0e11); padding: 14px 7px 7px; display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 0 0 1px rgba(255,255,255,.06); transition: opacity .4s; }
.mstrip { position: absolute; left: 7px; right: 7px; top: 7px; height: 2px; border-radius: 1px; transition: background .4s; }

/* ---------- 05 models ---------- */
.tbar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 64px; }
.search { display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 16px; border-radius: 8px; background: #0B0D10; min-width: min(340px, 100%); box-shadow: inset 0 0 0 1px var(--ln2); }
.search:focus-within { box-shadow: inset 0 0 0 1px #55DFFF; }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: none; font-size: 15px; }
.fchips { display: flex; flex-wrap: wrap; gap: 6px; }
.fc { min-height: 36px; padding: 0 14px; border-radius: 7px; font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--tx2); box-shadow: inset 0 0 0 1px var(--ln); transition: color .12s, background .12s; }
.fc:hover { color: #fff; box-shadow: inset 0 0 0 1px var(--ln2); }
.fc.on { background: #F6F8FA; color: #050607; box-shadow: none; }
.mt { margin-top: 36px; border-top: 1px solid var(--ln); }
.mh, .mr { display: grid; grid-template-columns: minmax(190px,1.8fr) minmax(86px,.8fr) minmax(110px,1fr) 76px minmax(150px,1.5fr) 84px 120px 212px; align-items: center; column-gap: 16px; padding: 0 14px; }
.mh { height: 44px; border-bottom: 1px solid var(--ln); font: 500 10.5px var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.mr { min-height: 62px; border-bottom: 1px solid var(--ln); transition: background .12s; }
.mr:hover, .mr:focus-within, .mr.sel { background: rgba(255,255,255,.035); }
.mr.sel { box-shadow: inset 0 0 0 1px rgba(201,255,69,.3); }
.mc { font-size: 14px; min-width: 0; }
.mbtn { min-height: 44px; font-size: 16px; font-weight: 500; letter-spacing: -.01em; text-align: left; }
.macts { display: flex; justify-content: flex-end; gap: 2px; opacity: 0; transition: opacity .12s; }
.mr:hover .macts, .mr:focus-within .macts, .mr.sel .macts { opacity: 1; }
.act { min-height: 36px; padding: 0 9px; display: inline-flex; align-items: center; gap: 4px; border-radius: 6px; font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--tx2); white-space: nowrap; transition: color .12s, background .12s; }
.act:hover { color: #fff; background: rgba(255,255,255,.07); }
.av { display: inline-flex; align-items: center; gap: 8px; font: 500 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.av i { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.av.live { color: #C9FF45; } .av.live i { background: #C9FF45; }
.av.req { color: #55DFFF; } .av.req i { background: #55DFFF; }
.av.plan { color: #98A1AB; } .av.plan i { box-shadow: inset 0 0 0 1px #7B8693; }
@media (hover: none) { .macts { opacity: 1; } }
.insp { position: absolute; top: 160px; right: 24px; width: min(400px, calc(100% - 48px)); z-index: 30; padding: 26px; border-radius: 14px; background: #0E1115;
  box-shadow: inset 0 0 0 1px var(--ln2), 0 40px 90px -20px #000; transform: translateX(calc(100% + 60px)); visibility: hidden; transition: transform .3s cubic-bezier(.2,.7,.2,1), visibility 0s .3s; }
.insp.open { transform: none; visibility: visible; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.insp dl { margin: 22px 0 0; }
.insp dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--ln); }
.insp dt { margin: 0; } .insp dd { margin: 0; font-size: 14px; text-align: right; }

/* ---------- 06 metal ---------- */
.xwrap { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: 48px; align-items: center; margin-top: 72px; }
.xscene { position: relative; height: 660px; perspective: 1700px; perspective-origin: 50% 38%; display: flex; align-items: center; justify-content: center; border-radius: 14px; overflow: hidden;
  background: radial-gradient(ellipse 60% 50% at 50% 55%, rgba(255,255,255,.05), transparent 70%), #080A0C; box-shadow: inset 0 0 0 1px var(--ln); }
.xstack { position: relative; width: 340px; height: 220px; transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(-36deg) translateZ(-170px); }
.slab { position: absolute; left: 0; top: 0; width: 340px; height: 220px; border-radius: 12px; background: linear-gradient(135deg, #1c2127, #0d1013);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), inset 0 0 0 1px rgba(255,255,255,.09), 0 24px 40px rgba(0,0,0,.45); transition: transform .7s cubic-bezier(.2,.7,.2,1), box-shadow .2s; }
.slab.on { box-shadow: inset 0 0 0 1.5px #C9FF45, 0 24px 40px rgba(0,0,0,.45); }
.slab .sn { position: absolute; left: 14px; top: 12px; font: 500 11px var(--mono); letter-spacing: .1em; color: rgba(255,255,255,.55); }
.slab.on .sn { color: #C9FF45; }
.slab::before { content: ''; position: absolute; left: 18px; right: 18px; top: 44px; bottom: 18px; border-radius: 6px; }
.k-api::before { background: repeating-linear-gradient(0deg, rgba(255,255,255,.14) 0 2px, transparent 2px 10px); }
.k-eng::before { background: radial-gradient(circle, rgba(255,255,255,.26) 0 1.5px, transparent 2px) 0 0 / 14px 14px; }
.k-mod::before { background: linear-gradient(90deg, rgba(201,255,69,.4) 0 38%, transparent 38%) 0 0 / 100% 8px no-repeat, linear-gradient(90deg, rgba(255,255,255,.2) 0 64%, transparent 64%) 0 22px / 100% 8px no-repeat, linear-gradient(90deg, rgba(255,255,255,.2) 0 52%, transparent 52%) 0 44px / 100% 8px no-repeat, linear-gradient(90deg, rgba(255,255,255,.2) 0 72%, transparent 72%) 0 66px / 100% 8px no-repeat; }
.k-mem::before { background: repeating-linear-gradient(90deg, rgba(255,255,255,.15) 0 36px, transparent 36px 46px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.k-cmp::before { background: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px) 0 0 / 16px 16px, linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px) 0 0 / 16px 16px; }
.k-gpu::before { left: 112px; right: auto; top: 56px; bottom: auto; width: 116px; height: 116px; border: 1px solid rgba(201,255,69,.75); background: linear-gradient(135deg, rgba(201,255,69,.14), transparent); }
.k-gpu::after { content: ''; position: absolute; left: 54px; top: 66px; width: 232px; height: 96px; border-radius: 4px; border: 1px dashed rgba(255,255,255,.16); }
.k-net::before { top: auto; height: 44px; background: repeating-linear-gradient(90deg, rgba(85,223,255,.32) 0 24px, transparent 24px 36px); }
.k-pwr::before { background: repeating-linear-gradient(90deg, rgba(255,255,255,.09) 0 60px, transparent 60px 68px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.llist { border-bottom: 1px solid var(--ln); }
.lrow { display: grid; grid-template-columns: 44px minmax(0,1fr); align-items: start; width: 100%; padding: 16px 0; border-top: 1px solid var(--ln); text-align: left; min-height: 44px; }
.lrow b { display: block; font-size: 18px; font-weight: 500; letter-spacing: -.02em; color: var(--tx2); transition: color .12s; }
.lrow small { display: block; margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--tx3); }
.lrow:hover b, .lrow.on b { color: #fff; }
.lrow .lnum { padding-top: 3px; color: var(--tx3); } .lrow.on .lnum { color: #C9FF45; }
.gsheet { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px,100%), 1fr)); margin-top: 96px; border-top: 1px solid var(--ln); border-bottom: 1px solid var(--ln); }
.gs { padding: 30px 28px 32px; border-left: 1px solid var(--ln); }
.gs:first-child { border-left: 0; padding-left: 0; }
.gpumod { position: relative; height: 128px; border-radius: 8px; margin-bottom: 24px; background: linear-gradient(180deg, #181c22, #0b0d10); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 0 0 1px rgba(255,255,255,.06); }
.gpumod::before { content: ''; position: absolute; left: 16px; right: 46px; top: 16px; bottom: 16px; border-radius: 4px; background: repeating-linear-gradient(90deg, #090b0e 0 3px, #1d2228 3px 6px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
.gpumod::after { content: ''; position: absolute; right: 14px; top: 16px; bottom: 16px; width: 18px; border-radius: 3px; background: linear-gradient(180deg, #2a3038, #14181d); }
.gpumod .m { position: absolute; left: 26px; bottom: 24px; z-index: 2; color: rgba(255,255,255,.7); background: rgba(5,6,7,.72); padding: 3px 7px; border-radius: 3px; }
.gsn { font-size: 34px; font-weight: 500; letter-spacing: -.035em; margin-bottom: 4px; line-height: 1.1; }
.spec { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-top: 1px solid var(--ln); font-size: 14px; }
.spec b { font-weight: 500; text-align: right; }
.ph { font: 500 11px var(--mono) !important; letter-spacing: .06em; color: var(--tx3); border-bottom: 1px dashed #55606B; }

/* ---------- 07 regions ---------- */
.rgrid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: 56px; margin-top: 72px; align-items: start; }
.rth, .rtr { display: grid; grid-template-columns: minmax(120px,1.2fr) 108px minmax(110px,1.1fr) 76px minmax(80px,.9fr); gap: 12px; align-items: center; padding: 0 14px; text-align: left; width: 100%; }
.rth { height: 44px; border-bottom: 1px solid var(--ln); font: 500 10.5px var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.rtr { min-height: 72px; border-bottom: 1px solid var(--ln); transition: background .12s; }
.rtr:hover { background: rgba(255,255,255,.03); }
.rtr.on { background: rgba(255,255,255,.045); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.mapp { padding: 22px 22px 24px; border-radius: 14px; background: #0B0D10; box-shadow: inset 0 0 0 1px var(--ln); }

/* ---------- 08 control ---------- */
.ctl { display: grid; grid-template-columns: minmax(0,1fr) 520px minmax(0,1fr); gap: 40px; align-items: center; margin-top: 72px; }
.thm { display: flex; flex-direction: column; gap: 6px; padding: 22px 0; border-top: 1px solid var(--ln); }
.thms li:last-child { border-bottom: 1px solid var(--ln); }
.thm b { font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.thm span { font-size: 14px; color: var(--tx2); line-height: 1.5; }

/* ---------- trace ---------- */
.trg { display: grid; grid-template-columns: minmax(0,400px) minmax(0,1fr); gap: 72px; align-items: start; }
.trh, .trr { display: grid; grid-template-columns: 22px minmax(84px,.8fr) minmax(0,1.7fr) 96px 76px 88px; gap: 0 14px; align-items: center; }
.trh { height: 40px; border-bottom: 1px solid var(--ln); font: 500 10.5px var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.trr { min-height: 60px; border-bottom: 1px solid var(--ln); opacity: .55; transition: opacity .25s, background .25s; }
.trr.done { opacity: 1; } .trr.run { opacity: 1; background: rgba(201,255,69,.05); }
.trk { width: 8px; height: 8px; border-radius: 2px; background: #3A424B; }
.trr.done .trk { background: #F6F8FA; } .trr.run .trk { background: #C9FF45; box-shadow: 0 0 0 3px rgba(201,255,69,.18); }
.trn { font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.trd { font-size: 14px; }
.trs { color: var(--tx3); } .trr.done .trs { color: #F6F8FA; } .trr.run .trs { color: #C9FF45; }

/* ---------- 09 workloads ---------- */
.wl { display: grid; grid-template-columns: 260px minmax(0,1fr) 340px; gap: 48px; margin-top: 72px; align-items: start; }
.wlist { display: flex; flex-direction: column; border-top: 1px solid var(--ln); }
.wb { display: flex; align-items: center; gap: 16px; min-height: 56px; padding: 0 6px; border-bottom: 1px solid var(--ln); text-align: left; font-size: 17px; letter-spacing: -.01em; color: var(--tx2); transition: color .12s, background .12s; }
.wb:hover { color: #fff; } .wb.on { color: #fff; background: rgba(255,255,255,.045); }
.wb .wn { width: 22px; color: var(--tx3); } .wb.on .wn { color: #C9FF45; }
.arch { display: flex; flex-direction: column; align-items: center; min-height: 560px; }
.anw { display: flex; flex-direction: column; align-items: center; width: 100%; }
.an { position: relative; width: min(320px,100%); padding: 15px 18px; border-radius: 8px; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #0B0D10; box-shadow: inset 0 0 0 1px var(--ln2); }
.an b { font-size: 16px; font-weight: 500; letter-spacing: -.01em; }
.an.pod { box-shadow: inset 0 0 0 1px rgba(201,255,69,.45); }
.an.pod::before { content: ''; position: absolute; left: 14px; right: 14px; top: 0; height: 2px; background: #C9FF45; border-radius: 0 0 2px 2px; }
.an.api { box-shadow: inset 0 0 0 1px rgba(85,223,255,.4); }
.ac { display: block; width: 1px; height: 26px; background: rgba(255,255,255,.22); }
.winsp { padding: 28px; border-radius: 14px; background: #0B0D10; box-shadow: inset 0 0 0 1px var(--ln); }
.tag { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 6px; font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #F6F8FA; box-shadow: inset 0 0 0 1px var(--ln2); }

/* ---------- 10 observability ---------- */
.obs { display: grid; grid-template-columns: 300px minmax(0,1fr); gap: 56px; margin-top: 72px; align-items: start; }
.otl { padding: 26px; border-radius: 12px; background: #0B0D10; box-shadow: inset 0 0 0 1px var(--ln); }
.ot { position: relative; display: grid; grid-template-columns: 62px 14px 1fr; align-items: center; gap: 0 12px; min-height: 46px; }
.ot::after { content: ''; position: absolute; left: 81px; top: 50%; width: 1px; height: 100%; background: rgba(255,255,255,.12); }
.ot:last-child::after { display: none; }
.ot span { color: var(--tx3); }
.ot i { position: relative; z-index: 1; width: 7px; height: 7px; border-radius: 2px; background: #55606B; justify-self: center; }
.ot b { font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.ot-hi i { background: #C9FF45; } .ot-hi span { color: #C9FF45; }
.ot-gap { display: grid; grid-template-columns: 62px 14px 1fr; gap: 0 12px; align-items: center; min-height: 118px; }
.ot-gap::before { content: ''; grid-column: 2; grid-row: 1; width: 1px; height: 100%; justify-self: center; background: repeating-linear-gradient(180deg, #C9FF45 0 4px, transparent 4px 8px); }
.ot-gap > span { grid-column: 3; grid-row: 1; }
.ocharts { display: grid; gap: 28px; }
.ch { padding: 22px 24px 14px; border-radius: 12px; background: #0B0D10; box-shadow: inset 0 0 0 1px var(--ln); }
.tiles { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px,100%), 1fr)); border-top: 1px solid var(--ln); border-left: 1px solid var(--ln); }
.tile { padding: 22px 22px 16px; border-right: 1px solid var(--ln); border-bottom: 1px solid var(--ln); display: flex; flex-direction: column; gap: 10px; }
.tile b { font-size: 38px; font-weight: 500; letter-spacing: -.035em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.tile small { font-size: 16px; color: var(--tx3); margin-left: 3px; letter-spacing: 0; }

/* ---------- console (control plane) ---------- */
.cw { border-radius: 14px; background: #090B0E; box-shadow: inset 0 0 0 1px var(--ln2), 0 60px 120px -40px #000; overflow: hidden; }
.cbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 20px; min-height: 54px; border-bottom: 1px solid var(--ln); background: #0B0D10; }
.cbody { display: grid; grid-template-columns: 210px minmax(0,1fr); }
.cs { padding: 16px 10px; border-right: 1px solid var(--ln); display: flex; flex-direction: column; gap: 2px; }
.cn { display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 0 12px; border-radius: 7px; font-size: 14px; color: var(--tx2); white-space: nowrap; transition: color .12s, background .12s; }
.cn i { width: 8px; height: 8px; border-radius: 2px; box-shadow: inset 0 0 0 1px #55606B; flex: none; }
.cn:hover { color: #fff; background: rgba(255,255,255,.04); }
.cn.on { color: #fff; background: rgba(255,255,255,.06); } .cn.on i { background: #C9FF45; box-shadow: none; }
.cm { padding: 22px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px,100%), 1fr)); gap: 12px; }
.kpi { padding: 16px; border-radius: 10px; background: #0B0D10; box-shadow: inset 0 0 0 1px var(--ln); display: flex; flex-direction: column; gap: 8px; }
.kpi b { font-size: 28px; font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.kpi small { font-size: 14px; color: var(--tx3); margin-left: 2px; }
.cmeter { display: block; height: 3px; border-radius: 2px; background: rgba(255,255,255,.1); overflow: hidden; }
.cmeter i { display: block; height: 100%; border-radius: 2px; background: #C9FF45; }
.crow { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(0,1fr); gap: 12px; }
.cp { padding: 18px; border-radius: 10px; background: #0B0D10; box-shadow: inset 0 0 0 1px var(--ln); min-width: 0; }
.cr { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 42px; border-top: 1px solid var(--ln); }
.cth, .ctr { display: grid; grid-template-columns: 74px minmax(0,1fr) 82px 98px 64px; gap: 10px; align-items: center; }
.cth { min-height: 34px; border-bottom: 1px solid var(--ln); }
.ctr { min-height: 42px; border-bottom: 1px solid var(--ln); }

/* ---------- 11 economics ---------- */
.eco { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); gap: 72px; margin-top: 72px; align-items: start; }
.meter { padding: 28px; border-radius: 14px; background: #0B0D10; box-shadow: inset 0 0 0 1px var(--ln); }
.pbox { margin-top: 8px; padding: 14px 16px; border-radius: 8px; background: #07090B; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); font: 400 14px/1.7 var(--mono); color: #F6F8FA; }
.egrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px,100%), 1fr)); column-gap: 28px; }
.egrid .kv { border-top: 1px solid var(--ln); padding: 11px 0; }
.ticks { list-style: none; margin: 18px 0 0; padding: 0; }
.ticks li { display: flex; flex-direction: column; gap: 4px; padding: 22px 0; border-top: 1px solid var(--ln); }
.ticks li:last-child { border-bottom: 1px solid var(--ln); }
.ticks b { font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.ticks span { color: var(--tx2); font-size: 15px; }
@media (max-width: 1100px) {
  .wl { grid-template-columns: minmax(0,1fr); gap: 36px; }
  .wlist { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px,100%), 1fr)); column-gap: 24px; }
  .obs, .eco { grid-template-columns: minmax(0,1fr); gap: 40px; }
  .cbody { grid-template-columns: minmax(0,1fr); }
  .cs { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--ln); }
  .crow { grid-template-columns: minmax(0,1fr); }
}

/* ---------- 12 pricing ---------- */
.prows { margin-top: 72px; border-top: 1px solid var(--ln); }
.prow { display: grid; grid-template-columns: 40px minmax(0,1.5fr) minmax(0,1.3fr) minmax(0,1fr) 230px; gap: 32px; align-items: center; padding: 40px 0; border-bottom: 1px solid var(--ln); transition: background .15s; }
.prow:hover { background: rgba(255,255,255,.015); }
.pmain h3 { margin: 0; font-size: 34px; font-weight: 500; letter-spacing: -.035em; line-height: 1.1; }
.pmain p { margin: 8px 0 12px; color: var(--tx2); font-size: 16px; }
.pl { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; font-size: 15px; }
.pv { font-size: 18px; font-weight: 500; letter-spacing: -.01em; margin: 10px 0 6px; }
.prow .btn { justify-content: space-between; width: 100%; }

/* ---------- 13 comparison ---------- */
.cmp { margin-top: 72px; border-top: 1px solid var(--ln); overflow-x: auto; }
.cmh, .cmr { display: grid; grid-template-columns: minmax(190px,1.5fr) repeat(4, minmax(0,1fr)); align-items: center; column-gap: 16px; padding: 0 16px; min-width: 780px; }
.cmh { height: 56px; border-bottom: 1px solid var(--ln); }
.cmh-l b { font-weight: 600; color: #F6F8FA; border-bottom: 2px solid #C9FF45; padding-bottom: 6px; }
.cmr { min-height: 56px; border-bottom: 1px solid var(--ln); transition: background .12s; }
.cmr:hover { background: rgba(255,255,255,.025); }
.cmc { font-size: 16px; letter-spacing: -.01em; }
.st { display: inline-flex; align-items: center; gap: 9px; font: 500 10.5px var(--mono); letter-spacing: .09em; text-transform: uppercase; white-space: nowrap; }
.st i { width: 8px; height: 8px; flex: none; }
.sA { color: #F6F8FA; } .sA i { background: #F6F8FA; }
.sL { color: #B3BBC4; } .sL i { background: linear-gradient(90deg, #B3BBC4 50%, transparent 50%); box-shadow: inset 0 0 0 1px #B3BBC4; }
.sM { color: #8A95A1; } .sM i { box-shadow: inset 0 0 0 1px #8A95A1; }
.sC { color: #55DFFF; } .sC i { background: #55DFFF; transform: rotate(45deg) scale(.8); }
.cmlp { font-weight: 600; }

/* ---------- 14 enterprise ---------- */
.grow { margin-top: 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px,100%), 1fr)); border-top: 1px solid var(--ln); }
.gst { padding: 30px 24px 30px 0; border-right: 1px solid var(--ln); }
.gst:not(:first-child) { padding-left: 24px; } .gst:last-child { border-right: 0; }
.gst p { margin: 6px 0 0; font-size: 15px; color: var(--tx2); }
.caps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 48px; margin-top: 40px; padding-top: 8px; border-top: 1px solid var(--ln); }
.caps ul { list-style: none; margin: 0; padding: 0; }
.caps li { padding: 15px 0; border-bottom: 1px solid var(--ln); font-size: 18px; letter-spacing: -.015em; }

/* ---------- 15 terminal ---------- */
.term { margin-top: 72px; border-radius: 14px; background: #06080A; box-shadow: inset 0 0 0 1px var(--ln2), 0 60px 120px -50px #000; overflow: hidden; }
.term-h { display: flex; justify-content: space-between; align-items: center; padding: 0 20px; height: 48px; border-bottom: 1px solid var(--ln); background: #0A0C0F; }
.term-b { padding: 28px 28px 32px; font: 400 15px/1.75 var(--mono); color: #C8D0D9; overflow-x: auto; }
.tln { white-space: pre; animation: tln 26s infinite both; animation-delay: calc(var(--i) * .5s); }
.tln.o { color: #98A1AB; }
.tln .p, .tln .c { color: #7B8693; } .tln .g { color: #C9FF45; }
@keyframes tln { 0% { opacity: 0; transform: translateY(3px); } 1.2%, 86% { opacity: 1; transform: none; } 93%, 100% { opacity: 0; } }

/* ---------- 16 docs ---------- */
.endp { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 48px; }
.endp code { font: 500 clamp(16px, 2.2vw, 28px) var(--mono); letter-spacing: -.01em; color: #F6F8FA; overflow-wrap: anywhere; }
.dgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px,100%), 1fr)); gap: 16px; margin-top: 40px; }
.dcode { border-radius: 12px; background: #07090B; box-shadow: inset 0 0 0 1px var(--ln); overflow: hidden; min-width: 0; }
.dh { display: flex; justify-content: space-between; align-items: center; padding: 0 20px; height: 44px; border-bottom: 1px solid var(--ln); }
.dcode pre { margin: 0; padding: 20px; font: 400 14px/1.75 var(--mono); color: #C8D0D9; overflow-x: auto; }
.dcode .k, .dcode .n { color: #55DFFF; } .dcode .s { color: #D5E6A6; } .dcode .p, .dcode .c { color: #7B8693; } .dcode .g { color: #C9FF45; }

/* ---------- footer ---------- */
.fgrid { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0,1fr)); gap: 32px; }
.fh { margin-bottom: 14px; }
.fl { list-style: none; margin: 0; padding: 0; }
.fl a { display: flex; align-items: center; min-height: 36px; color: #98A1AB; font-size: 15px; transition: color .12s; }
.fl a:hover { color: #fff; }
.fstrip { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; margin-top: 64px; padding-top: 22px; border-top: 1px solid var(--ln); }
@media (max-width: 1100px) {
  .prow { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .pidx { display: none; }
  .caps { grid-template-columns: minmax(0,1fr); gap: 0; }
  .fgrid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* ---------- brand board ---------- */
.bs { padding: 100px 0; border-bottom: 1px solid var(--ln); }
.bh { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; margin-bottom: 52px; }
.bh .m:last-child { margin-left: auto; }
.bt { margin: 0; font-weight: 500; font-size: clamp(32px, 3.6vw, 48px); letter-spacing: -.04em; line-height: 1.05; }
.lay { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-top: 1px solid var(--ln); }
.ly { padding: 32px; border-left: 1px solid var(--ln); display: flex; flex-direction: column; gap: 14px; }
.ly:first-child { padding-left: 0; border-left: 0; }
.ly h3 { margin: 0; font-size: 26px; font-weight: 500; letter-spacing: -.03em; }
.ly p { margin: 0; color: var(--tx2); font-size: 15px; line-height: 1.6; }
.lgrid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: 48px; align-items: start; }
.lcon { position: relative; height: 440px; display: flex; align-items: center; justify-content: center; border-radius: 14px; background: #0B0D10; box-shadow: inset 0 0 0 1px var(--ln); overflow: hidden; }
.lk { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lkc { min-height: 200px; border-radius: 12px; background: #0B0D10; box-shadow: inset 0 0 0 1px var(--ln); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 20px; text-align: center; }
.uses { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px 12px; }
.use { display: flex; flex-direction: column; gap: 12px; }
.ub { height: 140px; border-radius: 12px; background: #0B0D10; box-shadow: inset 0 0 0 1px var(--ln); display: flex; align-items: center; justify-content: center; gap: 16px; overflow: hidden; }
.ldr { display: flex; flex-direction: column; gap: 5px; }
.ldr i { display: block; width: 30px; height: 8px; border-radius: 2px; background: #272C34; animation: ldr 1.8s infinite; }
.ldr i:nth-child(2) { animation-delay: .25s; } .ldr i:nth-child(3) { animation-delay: .5s; }
@keyframes ldr { 0%, 100% { background: #272C34; } 30% { background: #C9FF45; } }
.sws { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 28px 16px; }
.swc { display: flex; flex-direction: column; gap: 8px; }
.swc b { font-weight: 500; font-size: 14px; letter-spacing: -.01em; margin-top: 4px; }
.swb { height: 96px; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.dist { display: flex; height: 72px; border-radius: 10px; overflow: hidden; gap: 2px; }
.dist > div { display: flex; align-items: flex-end; padding: 10px 12px; overflow: hidden; white-space: nowrap; }
.tgrid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 72px; }
.tys { color: #F6F8FA; }
.tsr { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-top: 1px solid var(--ln); }
.pa { display: grid; grid-template-columns: 780px minmax(0,1fr); gap: 56px; align-items: start; }
.pas { position: relative; height: 620px; border-radius: 14px; background: #07090B; box-shadow: inset 0 0 0 1px var(--ln); overflow: hidden; }
.co { position: absolute; width: 136px; font: 500 11px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--tx2); }
.co b { display: block; color: #C9FF45; font-weight: 500; }
.ld-l { position: absolute; display: block; height: 1px; background: rgba(255,255,255,.3); }
.pst { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.psc { padding: 32px 22px; border-radius: 12px; background: #0B0D10; box-shadow: inset 0 0 0 1px var(--ln); display: flex; flex-direction: column; align-items: center; text-align: center; }
.vg { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 72px; }
.vrow { display: flex; flex-direction: column; gap: 4px; padding: 18px 0; border-top: 1px solid var(--ln); }
.vrow b { font-size: 18px; font-weight: 500; letter-spacing: -.02em; }
.vrow span { color: var(--tx2); font-size: 15px; }
.mdg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mdc { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 10px; background: #0B0D10; box-shadow: inset 0 0 0 1px var(--ln); min-height: 84px; }
.capm { display: inline-flex; gap: 3px; }
.capm i { display: block; width: 10px; height: 18px; border-radius: 2px; background: #272C34; }
.capm i.on { background: #C9FF45; }
.cg { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.cs2 { padding: 20px; border-radius: 12px; background: #0B0D10; box-shadow: inset 0 0 0 1px var(--ln); display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.cg .cth, .cg .ctr { grid-template-columns: 66px minmax(0,1fr) 38px 74px; }
.cg .cth > :nth-child(5), .cg .ctr > :nth-child(5) { display: none; }
.cg .an { width: 112px; }
.rbd { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); font: 500 11px var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.rbd i { display: block; width: 7px; height: 7px; border-radius: 50%; }
.smv { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 56px; }
.shp { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.mo { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--ln); }
.mo > span:first-child { width: 130px; flex: none; }
.mo i { display: block; flex: none; height: 4px; border-radius: 2px; background: #C9FF45; }
.vo ul { list-style: none; margin: 10px 0 0; padding: 0; }
.vo li { font-size: 22px; letter-spacing: -.02em; padding: 4px 0; }
.vo .av2 li { font-size: 16px; color: var(--tx3); text-decoration: line-through; text-decoration-color: rgba(255,255,255,.25); letter-spacing: -.01em; }

/* ---------- console views ---------- */
button.cn { width: 100%; text-align: left; }
.cn.dis { opacity: .4; cursor: default; }
.cn.dis:hover { background: none; color: var(--tx2); }
.cch { width: 100%; height: auto; display: block; }
.cthb { display: grid; grid-template-columns: minmax(0,1fr) 110px 70px 70px; gap: 10px; align-items: center; min-height: 40px; border-top: 1px solid var(--ln); }
.krow { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1.5fr) 110px 110px; gap: 14px; align-items: center; min-height: 64px; padding: 0 14px; border-radius: 8px; width: 100%; text-align: left; transition: background .12s; }
.krow:hover { background: rgba(255,255,255,.03); }
.krow.on { background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.kdet { display: flex; flex-direction: column; gap: 16px; }
.scp { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); font: 500 11px var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--tx3); transition: color .12s, box-shadow .12s; }
.scp i { width: 8px; height: 8px; border-radius: 2px; box-shadow: inset 0 0 0 1px #55606B; }
.scp[aria-pressed="true"] { color: #F6F8FA; box-shadow: inset 0 0 0 1px rgba(201,255,69,.5); }
.scp[aria-pressed="true"] i { background: #C9FF45; box-shadow: none; }
.kbtn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 16px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); font: 500 12px var(--mono); letter-spacing: .07em; text-transform: uppercase; color: #F6F8FA; transition: background .12s; }
.kbtn:hover { background: rgba(255,255,255,.06); }
.kbtn.danger { color: #FF8A7A; box-shadow: inset 0 0 0 1px rgba(255,138,122,.4); }
.kbtn.solid { background: #C9FF45; color: #050607; box-shadow: none; }
.kinput { width: 100%; min-height: 40px; padding: 0 12px; border-radius: 8px; background: #050607; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); font: 400 14px var(--mono); }
.kinput:focus { outline: 2px solid #55DFFF; outline-offset: 2px; }

/* ---------- mobile board (self-contained, no media queries) ---------- */
.mbx { width: 390px; background: #050607; color: #F6F8FA; font-family: 'Geist', system-ui, sans-serif; overflow: hidden; }
.mbp { padding: 0 20px; }
.mbh { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 60px; padding: 0 12px 0 20px; border-bottom: 1px solid var(--ln); background: rgba(7,9,11,.9); }
.mbb { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--ln2); font: 500 12px var(--mono); letter-spacing: .08em; color: var(--tx2); padding: 0 12px; }
.mbs { padding: 56px 0 0; }
.mbh2 { margin: 12px 0 0; font-weight: 500; font-size: 32px; letter-spacing: -.04em; line-height: 1.05; }
.mbcta { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px; padding: 0 18px; border-radius: 10px; font-size: 16px; font-weight: 500; letter-spacing: -.01em; }
.mbcta.p { background: #C9FF45; color: #050607; }
.mbcta.s { box-shadow: inset 0 0 0 1px var(--ln2); }
.mbsc { position: relative; height: 360px; margin: 32px 0 0; background: #07090B; border-top: 1px solid var(--ln); border-bottom: 1px solid var(--ln); overflow: hidden; }
.mbpipe { position: relative; margin: 28px 0 0; padding-left: 36px; }
.mbpipe::before { content: ''; position: absolute; left: 11px; top: 12px; bottom: 12px; width: 1px; background: rgba(255,255,255,.18); }
.mbpk { position: absolute; left: 8px; top: 12px; width: 7px; height: 7px; border-radius: 2px; background: #C9FF45; box-shadow: 0 0 10px #C9FF45; animation: mbdrop 5s linear infinite; }
@keyframes mbdrop { from { top: 12px; } to { top: calc(100% - 20px); } }
.mbn { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 14px 0 14px; min-height: 68px; }
.mbn::before { content: ''; position: absolute; left: -29px; top: 20px; width: 9px; height: 9px; border-radius: 2px; background: #07090B; box-shadow: inset 0 0 0 1.5px #55606B; }
.mbn.on::before { background: #C9FF45; box-shadow: none; }
.mbn b { font-size: 17px; font-weight: 500; letter-spacing: -.02em; }
.mbsnap { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 20px 16px; margin: 24px 0 0; -webkit-overflow-scrolling: touch; }
.mbcard { flex: none; width: 272px; scroll-snap-align: start; padding: 20px; border-radius: 12px; background: #0B0D10; box-shadow: inset 0 0 0 1px var(--ln); display: flex; flex-direction: column; gap: 14px; }
.mbcard svg { display: block; }
.mbrow { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; align-items: center; min-height: 58px; border-top: 1px solid var(--ln); }
.mbtile { padding: 18px; border-radius: 12px; background: #0B0D10; box-shadow: inset 0 0 0 1px var(--ln); display: flex; flex-direction: column; gap: 10px; }
.mbtile b { font-size: 32px; font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.mbcode { margin: 20px 0 0; padding: 16px; border-radius: 10px; background: #0B0D10; box-shadow: inset 0 0 0 1px var(--ln); font: 400 12.5px/1.8 var(--mono); color: #C8D0D9; overflow-x: auto; white-space: pre; }
@media (prefers-reduced-motion: reduce) { .ldr i, .mbpk { animation: none; } }

/*@@MORE@@*/

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0,1fr) !important; padding-top: 130px !important; min-height: 0 !important; }
  .scene-d { display: none !important; } .scene-m { display: block !important; }
  .scale-grid { grid-template-columns: minmax(0,1fr) !important; gap: 48px !important; }
  .pgrid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 32px 24px; }
  .rail, .brk, .pm { display: none; }
  .pn { padding-top: 18px; border-top: 1px solid var(--ln); }
  .nav-c, .signin, .status-h, .lang-h { display: none !important; }
}
@media (max-width: 1280px) {
  .ctl { grid-template-columns: minmax(0,1fr); gap: 36px; }
  .ctl .thms { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px,100%), 1fr)); column-gap: 32px; }
  .ctl .thms li:last-child { border-bottom: 0; }
}
@media (max-width: 1100px) {
  .xwrap, .rgrid, .trg { grid-template-columns: minmax(0,1fr); gap: 40px; }
  .mh { display: none; }
  .mr { grid-template-columns: minmax(0,1fr) auto; }
  .mr .opt { display: none; }
  .rth { display: none; }
  .rtr { grid-template-columns: minmax(0,1fr) auto; padding-top: 12px; padding-bottom: 12px; row-gap: 4px; }
  .rtr > :nth-child(n+3) { display: none; }
  .trh { display: none; }
  .trr { grid-template-columns: 22px minmax(0,1fr) 80px; padding: 10px 0; }
  .trr .trd, .trr > :nth-child(5) { display: none; }
}
@media (max-width: 700px) {
  .wrap { padding: 0 20px; }
  .sec { padding: 96px 0; }
  .p8 { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .ed-url { display: none; }
  .lvls { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .tcol { border-left: 0; padding-left: 0; padding-right: 0; border-top: 1px solid var(--ln); }
  .tcol:first-child { border-top: 0; }
}
@media (pointer: coarse) { .btn, .nl, .kbd, .sb, .et { min-height: 44px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .packet { display: none; }
}
.av.ded { color: #8FA8FF; } .av.ded i { background: #4D77FF; }
sc-if, sc-for { display: contents; }
@keyframes mbdrop2 { from { top: 44px; opacity: 1; } to { top: 104px; opacity: 0; } }

/* ---------- header v2: pill menu, language, theme switch ---------- */
.navp { display: flex; gap: 2px; padding: 4px; border-radius: 12px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.09); }
.navp .nl { height: 40px; padding: 0 16px; border-radius: 9px; font: 500 13.5px var(--mono); letter-spacing: 0; color: var(--tx2); }
.navp .nl:hover { color: #fff; background: rgba(255,255,255,.05); }
.navp .nl.on { background: #181C22; color: #F6F8FA; box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), 0 1px 2px rgba(0,0,0,.4); }
.lang-b { display: inline-flex; align-items: center; gap: 6px; height: 36px; min-width: 44px; padding: 0 10px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--ln2); font: 500 12px var(--mono); color: var(--tx2); transition: color .12s, background .12s; }
.lang-b:hover { color: #fff; background: rgba(255,255,255,.05); }
.langm { position: absolute; inset-inline-end: 0; top: 46px; width: 200px; padding: 6px; border-radius: 12px; background: #0B0D10; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 30px 60px -20px #000; z-index: 90; display: flex; flex-direction: column; }
.langm .cmd[aria-selected="true"] { background: rgba(255,255,255,.06); }
.langm .cmd[aria-selected="true"] span:first-child::after { content: ' ●'; color: var(--lime); font-size: 8px; vertical-align: 2px; }
.thsw { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; flex: none; }
.thsw > span { position: relative; display: inline-flex; align-items: center; width: 56px; height: 32px; padding: 3px; border-radius: 16px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); transition: background .15s; }
.thsw i { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: #F6F8FA; color: #0B0D10; transition: transform .2s ease; }
.thsw .sun { display: none; } .thsw.on .sun { display: block; } .thsw.on .moon { display: none; }
.thsw.on i { transform: translateX(24px); }
.thsw:hover > span { background: rgba(255,255,255,.09); }

/* ---------- services board ---------- */
.sfeat { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0 40px; margin-top: 56px; }
.sfeat > div { display: flex; gap: 12px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--ln); font-size: 15px; color: var(--tx2); line-height: 1.5; }
.sfeat i { display: block; width: 7px; height: 7px; margin-top: 7px; background: var(--lime); flex: none; }
.fam6 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0 40px; margin-top: 56px; }
.famc { padding: 28px 0 32px; border-top: 1px solid var(--ln); }
.famc h3 { margin: 0 0 14px; font-size: 24px; font-weight: 500; letter-spacing: -.03em; }
.famc ul { list-style: none; margin: 0; padding: 0; color: var(--tx2); font-size: 15px; line-height: 1.9; }
.famc li::before { content: ''; display: inline-block; width: 5px; height: 5px; margin-inline-end: 12px; background: #55606B; vertical-align: 2px; }
.plans { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 72px; margin-top: 56px; align-items: start; }
.planr { display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 20px; padding: 22px 0; border-top: 1px solid var(--ln); }
.planr:last-child { border-bottom: 1px solid var(--ln); }
.planr h3 { margin: 0; font-size: 22px; font-weight: 500; letter-spacing: -.025em; }
.planr ul { list-style: none; margin: 0; padding: 0; color: var(--tx2); font-size: 15px; line-height: 1.8; }
.rtab { border-radius: 12px; background: #0B0D10; box-shadow: inset 0 0 0 1px var(--ln); padding: 8px 22px 14px; }
.rtr { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr); gap: 12px; align-items: center; min-height: 54px; border-top: 1px solid var(--ln); font: 500 15px var(--mono); font-variant-numeric: tabular-nums; }
.rtr:first-child { border-top: 0; min-height: 44px; }
.rtr span:not(:first-child) { text-align: end; }
.ucase { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1.4fr) 140px; gap: 20px; align-items: baseline; padding: 22px 0; border-top: 1px solid var(--ln); }
.ucase:last-child { border-bottom: 1px solid var(--ln); }
.ucase h3 { margin: 0; font-size: 22px; font-weight: 500; letter-spacing: -.025em; }
.ucase b { font: 500 24px var(--mono); letter-spacing: -.02em; text-align: end; color: var(--lime); }
.bstat { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 40px; margin-top: 56px; }
.bstat > div { padding-top: 28px; border-top: 1px solid var(--ln2); display: flex; flex-direction: column; gap: 10px; }
.bstat b { font-weight: 500; font-size: clamp(56px, 6vw, 88px); letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.cov { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 40px; margin-top: 56px; }
.cov > div { padding-top: 24px; border-top: 1px solid var(--ln2); display: flex; flex-direction: column; gap: 12px; }
.cov h3 { margin: 0; font-size: 28px; font-weight: 500; letter-spacing: -.03em; }
.cov p { margin: 0; color: var(--tx2); font-size: 15px; line-height: 1.6; }
/* ---------- rtl / scripts ---------- */
[dir="rtl"] .code, [dir="rtl"] .editor, [dir="rtl"] .term, [dir="rtl"] .dcode, [dir="rtl"] pre, [dir="rtl"] .scene, [dir="rtl"] .xscene, [dir="rtl"] svg, [dir="rtl"] .pipe, [dir="rtl"] .autob { direction: ltr; }
[lang="ar"] * { letter-spacing: normal !important; text-transform: none !important; }
