body { overflow-x: hidden; }

/* background atmosphere */
.page-aura { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.page-aura::before, .page-aura::after { content: ""; position: absolute; border-radius: 50%; filter: blur(120px); }
.page-aura::before { width: 720px; height: 720px; top: -320px; left: 6%; background: radial-gradient(circle, rgba(124,92,255,.18), transparent 70%); }
.page-aura::after { width: 600px; height: 600px; top: 360px; right: -120px; background: radial-gradient(circle, rgba(63,224,234,.06), transparent 70%); }
main, .site-header, .site-footer { position: relative; z-index: 1; }

/* ===== HEADER ===== */
.site-header { position: sticky; top: 0; z-index: 90; height: var(--header-h); display: flex; align-items: center; background: transparent; backdrop-filter: blur(0px) saturate(100%); box-shadow: none; transition: background .35s var(--ease), backdrop-filter .35s var(--ease), box-shadow .35s var(--ease); }
.site-header.scrolled { background: rgba(8,7,12,.75); backdrop-filter: blur(18px) saturate(160%); box-shadow: 0 1px 0 0 var(--line-soft); }
.header-inner { width: 100%; max-width: var(--container-wide); margin-inline: auto; padding-inline: var(--s6); display: flex; align-items: center; gap: var(--s7); }
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand img { width: 30px; height: 30px; }
.brand > span { display: flex; align-items: baseline; gap: 6px; }
.brand .wm { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: var(--text-hi); line-height: 1; }
.brand .tag { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.34em; color: var(--text-low); text-transform: uppercase; display: inline; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { font-size: 0.9rem; font-weight: 500; color: var(--text-mid); padding: 8px 13px; border-radius: var(--r-sm); position: relative; transition: color var(--t) var(--ease), background var(--t) var(--ease); }
.nav a:hover { color: var(--text-hi); background: rgba(255,255,255,.04); }
.nav a.active { color: var(--text-hi); }
.nav a.active::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--violet-500); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: var(--s2); }
.search-trigger { display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 10px 0 14px; border-radius: var(--r-sm); background: var(--surface-1); box-shadow: inset 0 0 0 1px var(--line); color: var(--text-low); font-size: 0.86rem; transition: box-shadow var(--t) var(--ease), background var(--t) var(--ease); }
.search-trigger:hover { box-shadow: inset 0 0 0 1px var(--line-strong); background: var(--surface-2); }
.search-shortcut { display: inline-flex; align-items: center; height: 22px; padding: 0 7px; border-radius: 5px; color: var(--text-mid); background: var(--surface-3); box-shadow: inset 0 0 0 1px var(--line); font-family: var(--font-mono); font-size: .58rem; white-space: nowrap; }
.cart-btn { position: relative; }
.cart-btn .count { position: absolute; top: -4px; right: -4px; min-width: 17px; height: 17px; padding: 0 4px; display: grid; place-items: center; border-radius: 999px; background: var(--violet-500); color: #fff; font-size: 0.64rem; font-weight: 700; font-family: var(--font-mono); box-shadow: 0 0 0 2px var(--bg-base); }
.discord-cta { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 15px; border-radius: var(--r-sm); font-size: 0.86rem; font-weight: 600; color: var(--text-hi); background: var(--surface-3); box-shadow: inset 0 0 0 1px var(--line); transition: background var(--t) var(--ease); }
.discord-cta:hover { background: var(--surface-4); }
.discord-cta .glyph { color: var(--lavender); }
.login-btn .glyph, .login-btn svg { color: currentColor; }
.auth-active .auth-label { display: inline-grid; align-items: center; }
.auth-active .auth-user,
.auth-active .auth-logout { grid-area: 1 / 1; display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); transition: opacity var(--t) var(--ease); }
.auth-active .auth-logout { opacity: 0; }
.auth-active:hover .auth-user,
.auth-active:focus-visible .auth-user { opacity: 0; }
.auth-active:hover .auth-logout,
.auth-active:focus-visible .auth-logout { opacity: 1; }
.hamburger { display: none; }

/* ===== HERO ===== */
.hero { padding-top: clamp(var(--s9), 6vw, var(--s11)); padding-bottom: clamp(var(--s10), 8vw, var(--s12)); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); gap: clamp(var(--s7), 5vw, var(--s10)); align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: var(--s6); }
.hero-eyebrow .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(63,208,138,.45);} 70%{ box-shadow: 0 0 0 7px rgba(63,208,138,0);} 100%{box-shadow:0 0 0 0 rgba(63,208,138,0);} }
.hero h1 { font-size: clamp(2.7rem, 5.2vw, 4.3rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.0; }
.hero h1 .grad { background: linear-gradient(100deg, var(--violet-300) 10%, var(--cyan-300) 92%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin-top: var(--s6); max-width: 36ch; font-size: clamp(1.02rem, 1.4vw, 1.16rem); color: var(--text); line-height: 1.6; }
.hero-cta { margin-top: var(--s8); display: flex; flex-wrap: wrap; gap: var(--s3); }
.hero-trust { margin-top: var(--s8); display: flex; flex-wrap: wrap; gap: var(--s5) var(--s7); }
.hero-trust .ht { display: flex; align-items: center; gap: 9px; }
.hero-trust .ht .ht-ic { color: var(--violet-400); display: inline-flex; }
.hero-trust .ht b { color: var(--text-hi); font-weight: 600; font-size: .9rem; display: block; line-height: 1.2; }
.hero-trust .ht span { display: block; font-size: .76rem; color: var(--text-low); }

.showcase { position: relative; perspective: 1700px; }
.showcase-glow { position: absolute; inset: -14% -8% -18% -8%; z-index: 0; background: radial-gradient(58% 58% at 62% 38%, rgba(124,92,255,.26), transparent 72%); filter: blur(26px); }
.showcase-glow.cy { background: radial-gradient(46% 46% at 20% 88%, rgba(63,224,234,.16), transparent 70%); }
.device-wrap { position: relative; z-index: 1; transform: rotateY(-13deg) rotateX(6deg); transform-style: preserve-3d; }
@media (prefers-reduced-motion: no-preference) { .device-wrap { animation: floatDev 9s ease-in-out infinite alternate; } }
@keyframes floatDev { from { transform: rotateY(-13deg) rotateX(6deg) translateY(0);} to { transform: rotateY(-10deg) rotateX(4deg) translateY(-12px);} }
.device { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); box-shadow: var(--sh-xl), inset 0 0 0 1px var(--line-strong); }
.device-bar { height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: var(--surface-1); box-shadow: 0 1px 0 var(--line-soft); }
.device-bar .dot { width: 9px; height: 9px; border-radius: 50%; }
.device-bar .dot:nth-child(1) { background: #ff5f57; }
.device-bar .dot:nth-child(2) { background: #febc2e; }
.device-bar .dot:nth-child(3) { background: #28c840; }
.device-bar .device-name { margin-left: 9px; font-family: var(--font-display); font-weight: 600; font-size: .82rem; color: var(--text-hi); }
.device-bar .device-tag { margin-left: auto; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-low); display: inline-flex; align-items: center; gap: 6px; }
.device-bar .device-tag .live { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.device-screen { background: var(--bg-deep); position: relative; }
.device-screen img { width: 100%; height: auto; display: block; }
.float-chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 9px; padding: 9px 13px; border-radius: var(--r-pill); background: rgba(16,14,24,.92); backdrop-filter: blur(8px); box-shadow: var(--sh-lg), inset 0 0 0 1px var(--line-violet); font-size: .78rem; color: var(--text); font-weight: 500; }
.float-chip .glyph, .float-chip svg { color: var(--violet-300); }
.float-chip .dv { width: 1px; height: 14px; background: var(--line); }
.float-chip.c1 { top: -18px; left: -10px; transform: translateZ(70px); }
.float-chip.c2 { bottom: -16px; right: 6%; transform: translateZ(90px); }
.float-chip .fwt { font-family: var(--font-mono); font-size: .72rem; color: var(--text-mid); letter-spacing: .04em; }

/* ===== TRUST STRIP ===== */
.trust-strip { border-block: 1px solid var(--line-soft); background: var(--bg-deep); }
.trust-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s5); padding-block: var(--s7); }
.trust-item { display: flex; align-items: center; gap: 11px; }
.trust-item .ti-ic { color: var(--violet-400); display: inline-flex; flex-shrink: 0; }
.trust-item .tx b { display: block; color: var(--text-hi); font-size: .86rem; font-weight: 600; line-height: 1.2; }
.trust-item .tx span { font-size: .74rem; color: var(--text-low); }

/* ===== SECTION HEADINGS ===== */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s6); margin-bottom: var(--s8); }
.sec-head .lead { max-width: 58ch; }
.sec-head h2 { margin-top: 12px; }
.sec-head p { color: var(--text-mid); margin-top: 12px; font-size: 1rem; }

/* ===== FEATURED ===== */
.featured-standards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); margin-top: var(--s5); }

/* ===== CATEGORIES ===== */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
.cat-card { position: relative; padding: var(--s6); border-radius: var(--r-md); background: var(--surface-1); box-shadow: inset 0 0 0 1px var(--line-soft); overflow: hidden; transition: background var(--t) var(--ease), box-shadow var(--t) var(--ease), transform var(--t) var(--ease); }
.cat-card:hover { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-violet); transform: translateY(-3px); }
.cat-card .ci { width: 40px; height: 40px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--violet-ink); box-shadow: inset 0 0 0 1px var(--line-violet); color: var(--violet-300); margin-bottom: var(--s6); }
.cat-card h4 { font-size: 1.02rem; }
.cat-card p { font-size: .8rem; color: var(--text-low); margin-top: 6px; }
.cat-card .arrow { position: absolute; top: var(--s6); right: var(--s6); color: var(--text-faint); transition: color var(--t) var(--ease), transform var(--t) var(--ease); display: inline-flex; }
.cat-card:hover .arrow { color: var(--violet-400); transform: translate(2px,-2px); }

/* ===== WHY NEXA ===== */
.why { background: var(--bg-deep); border-block: 1px solid var(--line-soft); }
.why-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(var(--s8), 5vw, var(--s11)); align-items: start; }
.why-pillar { position: sticky; top: 96px; }
.why-pillar .eyebrow { margin-bottom: var(--s5); display: block; }
.why-pillar h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.why-pillar p { color: var(--text-mid); margin-top: var(--s5); font-size: 1.05rem; max-width: 42ch; }
.why-facts { margin-top: var(--s8); display: flex; flex-wrap: wrap; gap: var(--s3); }
.why-facts .fact { display: inline-flex; align-items: center; gap: 9px; padding: 10px 14px; border-radius: var(--r-sm); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); font-size: .84rem; color: var(--text); }
.why-facts .fact .fic { color: var(--violet-300); display: inline-flex; }
.why-list { display: grid; gap: var(--s2); }
.why-item { display: grid; grid-template-columns: 44px 1fr; gap: var(--s4); padding: var(--s5); border-radius: var(--r-md); transition: background var(--t) var(--ease); }
.why-item:hover { background: var(--surface-1); }
.why-item .wi { width: 44px; height: 44px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); color: var(--violet-300); }
.why-item h4 { font-size: 1.04rem; }
.why-item p { color: var(--text-mid); font-size: .9rem; margin-top: 5px; line-height: 1.5; }

/* ===== PROCESS ===== */
.process-track { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s4); position: relative; }
.process-track::before { content: ""; position: absolute; top: 19px; left: 4%; right: 4%; height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong) 12%, var(--line-strong) 88%, transparent); }
.pstep { position: relative; }
.pstep .node { width: 38px; height: 38px; border-radius: 50%; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-violet); display: grid; place-items: center; font-family: var(--font-mono); font-size: .8rem; color: var(--violet-300); position: relative; z-index: 1; margin-bottom: var(--s5); }
.pstep h4 { font-size: 1rem; }
.pstep p { font-size: .82rem; color: var(--text-low); margin-top: 6px; line-height: 1.45; }

/* ===== LATEST / CHANGELOG ===== */
.releases { display: grid; gap: 1px; background: var(--line-soft); border-radius: var(--r-lg); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line-soft); }
.rel-row { display: grid; grid-template-columns: 52px 1.5fr 1.1fr auto; align-items: center; gap: var(--s5); padding: var(--s5) var(--s6); background: var(--surface-1); transition: background var(--t) var(--ease); }
.rel-row:hover { background: var(--surface-2); }
.rel-row .ric { width: 52px; height: 52px; border-radius: var(--r-sm); overflow: hidden; background: var(--bg-deep); box-shadow: inset 0 0 0 1px var(--line); }
.rel-row .ric img { width: 100%; height: 100%; object-fit: cover; }
.rel-name { display: flex; flex-direction: column; gap: 4px; }
.rel-name b { color: var(--text-hi); font-weight: 600; font-size: .96rem; }
.rel-name .v { font-family: var(--font-mono); font-size: .68rem; color: var(--cyan-300); letter-spacing: .06em; }
.rel-change { font-size: .86rem; color: var(--text-mid); }
.rel-change .d { font-family: var(--font-mono); font-size: .68rem; color: var(--text-low); display: block; margin-bottom: 3px; }
.rel-meta { display: flex; align-items: center; gap: var(--s4); justify-self: end; }

/* ===== CTA BAND ===== */
.cta-band { position: relative; border-radius: var(--r-xl); overflow: hidden; background: radial-gradient(120% 140% at 0% 0%, rgba(124,92,255,.22), transparent 55%), radial-gradient(120% 140% at 100% 100%, rgba(63,224,234,.10), transparent 55%), var(--surface-1); box-shadow: inset 0 0 0 1px var(--line); padding: clamp(var(--s9), 6vw, var(--s12)); }
.cta-band .inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--s9); align-items: center; }
.cta-band h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.cta-band p { color: var(--text); margin-top: var(--s5); font-size: 1.05rem; max-width: 46ch; }
.cta-actions { margin-top: var(--s7); display: flex; flex-wrap: wrap; gap: var(--s3); }
.cta-list { display: grid; gap: var(--s3); }
.cta-list li { display: flex; align-items: flex-start; gap: 12px; padding: var(--s4) var(--s5); border-radius: var(--r-md); background: rgba(16,14,24,.5); box-shadow: inset 0 0 0 1px var(--line-soft); }
.cta-list li .cl-ic { color: var(--violet-300); flex-shrink: 0; margin-top: 1px; display: inline-flex; }
.cta-list li b { color: var(--text-hi); font-size: .92rem; display: block; }
.cta-list li span { font-size: .82rem; color: var(--text-mid); }

/* ===== FOOTER ===== */
.site-footer { border-top: 1px solid var(--line-soft); background: var(--bg-deep); padding-top: var(--s11); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--s8); padding-bottom: var(--s10); }
.foot-brand .brand { margin-bottom: var(--s5); }
.foot-brand p { color: var(--text-mid); font-size: .9rem; max-width: 34ch; line-height: 1.6; }
.foot-social { display: flex; gap: 8px; margin-top: var(--s6); }
.foot-col h5 { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-low); margin-bottom: var(--s5); font-weight: 500; }
.foot-col a { display: block; font-size: .9rem; color: var(--text-mid); padding: 6px 0; transition: color var(--t) var(--ease); }
.foot-col a:hover { color: var(--text-hi); }
.foot-bottom { border-top: 1px solid var(--line-soft); padding-block: var(--s6); display: flex; align-items: center; justify-content: space-between; gap: var(--s5); flex-wrap: wrap; }
.foot-bottom .left { display: flex; align-items: center; gap: var(--s5); flex-wrap: wrap; font-size: .8rem; color: var(--text-low); }
.status-ind { display: inline-flex; align-items: center; gap: 7px; }
.status-ind .d { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.foot-bottom .right { display: flex; align-items: center; gap: var(--s5); }
.lang-select { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; color: var(--text-mid); padding: 7px 11px; border-radius: var(--r-sm); background: var(--surface-1); box-shadow: inset 0 0 0 1px var(--line); }
.pay-trust .tebex { font-family: var(--font-mono); font-size: .72rem; color: var(--text-mid); }
.pay-trust .tebex b { color: var(--text-hi); }

/* ===== SEARCH OVERLAY ===== */
.search-overlay { position: fixed; inset: 0; z-index: 200; display: none; }
.search-overlay.open { display: block; }
.search-overlay .scrim { position: absolute; inset: 0; background: rgba(5,4,9,.7); backdrop-filter: blur(6px); animation: fade .18s var(--ease); }
.search-modal { position: relative; max-width: 620px; margin: 11vh auto 0; background: var(--surface-2); border-radius: var(--r-lg); box-shadow: var(--sh-xl), inset 0 0 0 1px var(--line-strong); overflow: hidden; animation: pop .2s var(--ease-out); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(-8px) scale(.985); } }
.search-modal .field { display: flex; align-items: center; gap: 12px; padding: var(--s5) var(--s6); border-bottom: 1px solid var(--line-soft); }
.search-modal .field .s-ic { color: var(--text-low); display: inline-flex; }
.search-modal .field input { flex: 1; background: none; border: none; outline: none; color: var(--text-hi); font-size: 1.05rem; }
.search-modal .field input::placeholder { color: var(--text-low); }
.search-modal .field .esc { font-family: var(--font-mono); font-size: 0.66rem; color: var(--text-low); background: var(--surface-3); padding: 4px 7px; border-radius: 5px; box-shadow: inset 0 0 0 1px var(--line); }
.search-body { padding: var(--s4); max-height: 56vh; overflow-y: auto; }
.search-sec { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-low); padding: var(--s3) var(--s3) var(--s2); }
.search-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-sm); cursor: pointer; }
.search-item:hover, .search-item.sel { background: var(--surface-3); }
.search-item .si { width: 46px; height: 30px; border-radius: 6px; overflow: hidden; background: var(--bg-deep); flex-shrink: 0; box-shadow: inset 0 0 0 1px var(--line); }
.search-item .si img { width: 100%; height: 100%; object-fit: cover; }
.search-item .st b { color: var(--text-hi); font-size: .9rem; font-weight: 600; }
.search-item .st span { font-size: .76rem; color: var(--text-low); }
.search-item .stype { margin-left: auto; }
.search-recent { display: flex; flex-wrap: wrap; gap: 8px; padding: var(--s2) var(--s3) var(--s4); }
.search-recent .r { font-size: .82rem; color: var(--text-mid); padding: 6px 11px; border-radius: var(--r-pill); background: var(--surface-1); box-shadow: inset 0 0 0 1px var(--line-soft); cursor: pointer; }
.search-recent .r:hover { color: var(--text-hi); box-shadow: inset 0 0 0 1px var(--line); }

/* ===== CART DRAWER ===== */
.drawer-scrim { position: fixed; inset: 0; z-index: 150; background: rgba(5,4,9,.6); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity var(--t) var(--ease); }
.drawer-scrim.open { opacity: 1; pointer-events: auto; }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(424px, 92vw); z-index: 160; background: var(--surface-1); box-shadow: var(--sh-xl); transform: translateX(100%); transition: transform var(--t-slow) var(--ease-out); display: flex; flex-direction: column; }
.cart-drawer.open { transform: none; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: var(--s5) var(--s6); border-bottom: 1px solid var(--line-soft); }
.cart-head h3 { font-size: 1.1rem; }
.cart-items { flex: 1; overflow-y: auto; padding: var(--s4); display: flex; flex-direction: column; gap: var(--s3); }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: var(--s4); padding: var(--s3); border-radius: var(--r-md); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-soft); }
.cart-item .ci-img { width: 72px; height: 48px; border-radius: 7px; overflow: hidden; background: var(--bg-deep); }
.cart-item .ci-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item .ci-info b { font-size: .88rem; color: var(--text-hi); display: block; }
.cart-item .ci-info span { font-size: .7rem; color: var(--text-low); font-family: var(--font-mono); letter-spacing: .04em; }
.cart-item .ci-right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.cart-item .ci-right .p { font-family: var(--font-display); font-weight: 600; color: var(--text-hi); }
.cart-item .ci-right .rm { font-size: .72rem; color: var(--text-low); display: inline-flex; align-items: center; gap: 4px; }
.cart-item .ci-right .rm:hover { color: var(--err); }
.cart-foot { padding: var(--s5) var(--s6); border-top: 1px solid var(--line-soft); }
.cart-login { display: flex; align-items: center; gap: 10px; padding: var(--s4); border-radius: var(--r-md); background: var(--violet-ink); box-shadow: inset 0 0 0 1px var(--line-violet); margin-bottom: var(--s4); font-size: .82rem; color: var(--text); }
.cart-login .cl-ic { color: var(--violet-300); flex-shrink: 0; display: inline-flex; }
.cart-sub { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: var(--s4); }
.cart-sub span { color: var(--text-mid); font-size: .9rem; }
.cart-sub b { font-family: var(--font-display); font-size: 1.5rem; color: var(--text-hi); }
.drawer-close { width: 36px; height: 36px; border-radius: var(--r-sm); display: grid; place-items: center; color: var(--text-mid); }
.drawer-close:hover { background: var(--surface-3); color: var(--text-hi); }

/* ===== REVEAL ===== */
.reveal { opacity: 1; transform: none; }

/* ===== MOBILE MENU ===== */
.mobile-menu { position: fixed; inset: 0; z-index: 180; background: var(--bg-base); display: none; flex-direction: column; padding: var(--s6); }
.mobile-menu.open { display: flex; animation: fade .2s var(--ease); }
.mm-head { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); margin-bottom: var(--s5); }
.mm-search { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border-radius: var(--r-md); background: var(--surface-1); box-shadow: inset 0 0 0 1px var(--line); color: var(--text-low); margin-bottom: var(--s5); }
.mm-nav a { display: flex; align-items: center; justify-content: space-between; padding: var(--s5) 0; border-bottom: 1px solid var(--line-soft); font-family: var(--font-display); font-size: 1.45rem; color: var(--text-hi); }
.mm-nav a .mm-ic { color: var(--text-low); display: inline-flex; }
.mm-foot { margin-top: auto; display: grid; gap: var(--s3); }

/* ===== PRODUCT CARD ===== */
.product-card-wrap { min-width: 0; height: 100%; }
.product-card { display: flex; flex-direction: column; height: 100%; background: var(--surface-1); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line-soft); overflow: hidden; transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease); }
.product-card:hover { box-shadow: inset 0 0 0 1px var(--line-violet); transform: translateY(-4px); }
.product-card .pc-img { position: relative; aspect-ratio: 16/9; background: var(--bg-deep); overflow: hidden; }
.product-card .pc-img-link { display: block; width: 100%; height: 100%; }
.product-card .pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product-card:hover .pc-img img { transform: scale(1.04); }
.product-card .pc-badges { position: absolute; top: var(--s4); left: var(--s4); display: flex; gap: 6px; flex-wrap: wrap; }
.product-card .pc-body { padding: var(--s5); flex: 1; display: flex; flex-direction: column; }
.product-card .pc-cat { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-low); margin-bottom: var(--s3); }
.product-card .pc-name { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--text-hi); margin-bottom: var(--s3); }
.product-card .pc-name a { color: inherit; text-decoration: none; transition: color var(--t) var(--ease); }
.product-card .pc-name a:hover,
.product-card .pc-name a:focus-visible { color: var(--violet-300); }
.product-card .pc-desc { font-size: .84rem; color: var(--text-mid); line-height: 1.55; flex: 1; }
.product-card .pc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--s4); }
.product-card .pc-tags .t { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .1em; color: var(--text-low); padding: 4px 8px; border-radius: var(--r-pill); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-soft); }
.product-card .pc-foot { padding: var(--s4) var(--s5); border-top: 1px solid var(--line-soft); display: flex; align-items: center; justify-content: space-between; gap: var(--s4); }
.product-card .pc-price { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--text-hi); }
.product-card .pc-actions { display: flex; gap: var(--s2); }

/* ===== EDITORIAL CARD (featured hero) ===== */
.editorial-card { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface-1); border-radius: var(--r-xl); box-shadow: inset 0 0 0 1px var(--line-soft), var(--sh-lg); overflow: hidden; transition: box-shadow var(--t) var(--ease); }
.editorial-card:hover { box-shadow: inset 0 0 0 1px var(--line-violet), var(--sh-xl); }
.editorial-card .ec-media { position: relative; min-height: 280px; background: var(--bg-deep); overflow: hidden; }
.editorial-card .ec-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.editorial-card:hover .ec-media img { transform: scale(1.04); }
.editorial-card .ec-media .ec-badges { position: absolute; top: var(--s5); left: var(--s5); display: flex; gap: 8px; flex-wrap: wrap; }
.editorial-card .ec-body { padding: clamp(var(--s6), 4vw, var(--s8)); display: flex; flex-direction: column; justify-content: space-between; }
.editorial-card .ec-cat { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--violet-300); margin-bottom: var(--s4); }
.editorial-card .ec-name { font-family: var(--font-display); font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 600; color: var(--text-hi); line-height: 1.2; }
.editorial-card .ec-desc { color: var(--text-mid); font-size: .9rem; line-height: 1.6; margin-top: var(--s4); }
.editorial-card .ec-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--s5); }
.editorial-card .ec-tags .t { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .1em; color: var(--text-low); padding: 4px 8px; border-radius: var(--r-pill); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-soft); }
.editorial-card .ec-foot { margin-top: var(--s7); display: flex; align-items: center; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; }
.editorial-card .ec-price { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--text-hi); }
.editorial-card .ec-actions { display: flex; gap: var(--s3); }

/* ===== BADGE ===== */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: var(--r-pill); font-family: var(--font-mono); font-size: .63rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; }
.badge .dot { width: 5px; height: 5px; border-radius: 50%; }
.badge-new { background: rgba(63,208,138,.1); color: var(--ok); box-shadow: inset 0 0 0 1px rgba(63,208,138,.25); }
.badge-new .dot { background: var(--ok); }
.badge-updated { background: rgba(63,174,234,.1); color: var(--cyan-300); box-shadow: inset 0 0 0 1px rgba(63,174,234,.25); }
.badge-updated .dot { background: var(--cyan-300); }
.badge-featured { background: rgba(124,92,255,.12); color: var(--violet-300); box-shadow: inset 0 0 0 1px var(--line-violet); }
.badge-featured .dot { background: var(--violet-400); }
.badge-escrow { background: var(--surface-3); color: var(--text-low); box-shadow: inset 0 0 0 1px var(--line-soft); }
.badge-escrow .dot { background: var(--text-faint); }
.badge-open { background: rgba(63,208,138,.08); color: var(--ok); box-shadow: inset 0 0 0 1px rgba(63,208,138,.2); }
.badge-open .dot { background: var(--ok); }

/* ===== SHOP PAGE ===== */
.shop-header { padding-block: clamp(var(--s8), 5vw, var(--s10)); }
.shop-toolbar { display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap; margin-bottom: var(--s8); }
.shop-search { flex: 1; min-width: 200px; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-radius: var(--r-sm); background: var(--surface-1); box-shadow: inset 0 0 0 1px var(--line); color: var(--text-low); }
.shop-search input { flex: 1; background: none; border: none; outline: none; color: var(--text-hi); font-size: .9rem; }
.shop-search input::placeholder { color: var(--text-low); }
.filter-group { display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; }
.filter-btn { height: 36px; padding: 0 14px; border-radius: var(--r-pill); font-size: .82rem; font-weight: 500; color: var(--text-mid); background: var(--surface-1); box-shadow: inset 0 0 0 1px var(--line-soft); cursor: pointer; transition: all var(--t) var(--ease); white-space: nowrap; border: none; font-family: inherit; }
.filter-btn:hover { color: var(--text-hi); box-shadow: inset 0 0 0 1px var(--line); }
.filter-btn.active { color: var(--violet-300); background: var(--violet-ink); box-shadow: inset 0 0 0 1px var(--line-violet); }
.sort-select { height: 36px; padding: 0 12px; border-radius: var(--r-sm); font-size: .82rem; color: var(--text-mid); background: var(--surface-1); box-shadow: inset 0 0 0 1px var(--line-soft); border: none; outline: none; font-family: inherit; cursor: pointer; }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: var(--s5); }
.products-count { font-size: .84rem; color: var(--text-low); margin-bottom: var(--s5); }
.empty-state { text-align: center; padding: var(--s12) var(--s6); color: var(--text-low); }
.empty-state svg { margin: 0 auto var(--s5); color: var(--text-faint); }
.empty-state h3 { color: var(--text-mid); font-size: 1.1rem; margin-bottom: var(--s3); }

/* ===== PRODUCT PAGE ===== */
.product-breadcrumb { padding-block: var(--s5); font-size: .84rem; color: var(--text-low); display: flex; align-items: center; gap: 8px; }
.product-breadcrumb a { color: var(--text-low); }
.product-breadcrumb a:hover { color: var(--text-hi); }
.product-layout { display: grid; grid-template-columns: 1fr 380px; gap: clamp(var(--s8), 5vw, var(--s11)); align-items: start; padding-bottom: var(--s12); }
.product-media { position: relative; }
.product-main-img { border-radius: var(--r-lg); overflow: hidden; background: var(--bg-deep); box-shadow: inset 0 0 0 1px var(--line-soft); aspect-ratio: 16/9; }
.product-main-img img { width: 100%; height: 100%; object-fit: cover; }
.product-sidebar { position: sticky; top: calc(var(--header-h) + var(--s5)); }
.product-buy-box { background: var(--surface-2); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line-soft); padding: var(--s6); }
.product-buy-box .price { margin-bottom: var(--s6); }
.product-buy-box .price .now { font-size: 2rem; }
.buy-actions { display: grid; gap: var(--s3); }
.product-meta-list { display: grid; gap: var(--s3); margin-top: var(--s6); padding-top: var(--s6); border-top: 1px solid var(--line-soft); }
.product-meta-list .pm { display: flex; align-items: center; gap: 10px; font-size: .84rem; }
.product-meta-list .pm .pmi { color: var(--violet-400); display: inline-flex; }
.product-meta-list .pm span { color: var(--text-low); }
.product-meta-list .pm b { color: var(--text-hi); }
.product-tabs { display: flex; gap: 2px; margin-bottom: var(--s7); border-bottom: 1px solid var(--line-soft); }
.product-tab { padding: var(--s3) var(--s5); font-size: .9rem; font-weight: 500; color: var(--text-low); cursor: pointer; border: none; background: none; font-family: inherit; position: relative; transition: color var(--t) var(--ease); }
.product-tab:hover { color: var(--text-hi); }
.product-tab.active { color: var(--text-hi); }
.product-tab.active::after { content: ""; position: absolute; left: var(--s5); right: var(--s5); bottom: -1px; height: 2px; background: var(--violet-500); border-radius: 2px; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-panel p { color: var(--text-mid); line-height: 1.7; margin-bottom: var(--s5); }
.feature-list { display: grid; gap: var(--s3); }
.feature-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; color: var(--text); }
.feature-list li .fli { color: var(--violet-400); flex-shrink: 0; margin-top: 2px; display: inline-flex; }
.req-list { display: grid; gap: var(--s2); }
.req-list li { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--text-mid); padding: var(--s3) var(--s4); background: var(--surface-1); border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px var(--line-soft); }
.req-list li svg, .req-list li i { color: var(--text-low); flex-shrink: 0; }

/* ===== CART PAGE ===== */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: var(--s9); align-items: start; padding-block: var(--s10); }
.cart-table { display: grid; gap: 1px; background: var(--line-soft); border-radius: var(--r-lg); overflow: hidden; }
.cart-table-head { display: grid; grid-template-columns: 1fr auto auto; gap: var(--s6); padding: var(--s4) var(--s6); background: var(--surface-1); font-size: .76rem; font-family: var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-low); }
.cart-row { display: grid; grid-template-columns: 80px 1fr auto auto; gap: var(--s4); align-items: center; padding: var(--s4) var(--s6); background: var(--surface-1); }
.cart-row:hover { background: var(--surface-2); }
.cart-row .cr-img { width: 80px; height: 52px; border-radius: var(--r-sm); overflow: hidden; background: var(--bg-deep); }
.cart-row .cr-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-row .cr-name b { color: var(--text-hi); font-size: .9rem; display: block; }
.cart-row .cr-name span { font-size: .74rem; color: var(--text-low); font-family: var(--font-mono); letter-spacing: .04em; }
.cart-row .cr-price { font-family: var(--font-display); font-weight: 600; color: var(--text-hi); text-align: right; white-space: nowrap; }
.cart-row .cr-remove { color: var(--text-low); cursor: pointer; display: inline-flex; }
.cart-row .cr-remove:hover { color: var(--err); }
.order-summary { background: var(--surface-2); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line-soft); padding: var(--s6); position: sticky; top: calc(var(--header-h) + var(--s5)); }
.order-summary h3 { margin-bottom: var(--s6); font-size: 1.05rem; }
.summary-line { display: flex; justify-content: space-between; font-size: .9rem; color: var(--text-mid); margin-bottom: var(--s3); }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: var(--s5); margin-top: var(--s5); border-top: 1px solid var(--line-soft); }
.summary-total span { font-size: .9rem; color: var(--text-mid); }
.summary-total b { font-family: var(--font-display); font-size: 1.6rem; color: var(--text-hi); }

/* ===== ABOUT PAGE ===== */
.about-hero { padding-block: clamp(var(--s10), 7vw, var(--s13)); text-align: center; }
.about-hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.about-hero p { max-width: 52ch; margin: var(--s6) auto 0; color: var(--text-mid); font-size: 1.1rem; line-height: 1.6; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); margin-top: var(--s8); }
.team-card { background: var(--surface-2); border-radius: var(--r-lg); padding: var(--s6); box-shadow: inset 0 0 0 1px var(--line-soft); text-align: center; }
.team-card .avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--violet-ink); box-shadow: inset 0 0 0 1px var(--line-violet); margin: 0 auto var(--s4); display: grid; place-items: center; color: var(--violet-300); }
.team-card h4 { font-size: 1rem; }
.team-card span { font-size: .82rem; color: var(--text-low); }

/* ===== SUPPORT PAGE ===== */
.support-hero { padding-block: clamp(var(--s9), 6vw, var(--s11)); text-align: center; }
.support-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s5); }
.support-card { background: var(--surface-1); border-radius: var(--r-lg); padding: clamp(var(--s6), 4vw, var(--s8)); box-shadow: inset 0 0 0 1px var(--line-soft); transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease); }
.support-card:hover { box-shadow: inset 0 0 0 1px var(--line-violet); transform: translateY(-3px); }
.support-card .sc-ic { width: 48px; height: 48px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--violet-ink); box-shadow: inset 0 0 0 1px var(--line-violet); color: var(--violet-300); margin-bottom: var(--s5); }
.support-card h3 { font-size: 1.2rem; margin-bottom: var(--s3); }
.support-card p { color: var(--text-mid); font-size: .9rem; line-height: 1.6; margin-bottom: var(--s6); }

/* ===== TERMS PAGE ===== */
.terms-layout { max-width: 780px; margin: 0 auto; padding-block: var(--s11); }
.terms-layout h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: var(--s5); }
.terms-layout .lead { font-size: 1rem; color: var(--text-mid); margin-bottom: var(--s10); padding-bottom: var(--s6); border-bottom: 1px solid var(--line-soft); }
.terms-layout h2 { font-size: 1.2rem; margin-top: var(--s9); margin-bottom: var(--s4); }
.terms-layout p { color: var(--text-mid); line-height: 1.7; margin-bottom: var(--s4); }
.terms-layout ul { list-style: disc; padding-left: var(--s6); color: var(--text-mid); font-size: .95rem; line-height: 1.7; }
.terms-layout ul li { margin-bottom: var(--s2); }

/* ===== SEARCH PAGE ===== */
.search-results-layout { padding-block: var(--s10); }
.search-query-bar { display: flex; align-items: center; gap: 12px; height: 54px; padding: 0 var(--s5); border-radius: var(--r-md); background: var(--surface-1); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: var(--s8); }
.search-query-bar input { flex: 1; background: none; border: none; outline: none; color: var(--text-hi); font-size: 1.05rem; }
.search-query-bar input::placeholder { color: var(--text-low); }
.search-results-count { font-size: .9rem; color: var(--text-low); margin-bottom: var(--s6); }

/* ===== 404 PAGE ===== */
.not-found { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: var(--s12) var(--s6); }
.not-found .err-code { font-family: var(--font-mono); font-size: 5rem; font-weight: 700; color: var(--violet-500); opacity: .3; line-height: 1; margin-bottom: var(--s5); }
.not-found h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: var(--s4); }
.not-found p { color: var(--text-mid); max-width: 40ch; margin-bottom: var(--s8); }

/* ===== SUCCESS / RETURN PAGES ===== */
.checkout-hero { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: var(--s12) var(--s6); }
.checkout-icon { width: 72px; height: 72px; border-radius: 50%; background: rgba(63,208,138,.12); box-shadow: inset 0 0 0 1px rgba(63,208,138,.3); display: grid; place-items: center; margin: 0 auto var(--s6); color: var(--ok); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1140px) {
  .trust-row { grid-template-columns: repeat(3, 1fr); gap: var(--s6); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .featured-standards { grid-template-columns: repeat(2, 1fr); }
  .process-track { grid-template-columns: repeat(3, 1fr); row-gap: var(--s7); }
  .process-track::before { display: none; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .product-layout { grid-template-columns: 1fr 340px; }
  .editorial-card { grid-template-columns: 1fr; }
  .editorial-card .ec-media { min-height: 220px; }
}
@media (max-width: 940px) {
  .nav, .search-trigger, .discord-cta { display: none; }
  .hamburger { display: grid; }
  .hero-grid { grid-template-columns: 1fr; }
  .showcase { order: -1; margin-bottom: var(--s5); max-width: 560px; }
  .why-grid { grid-template-columns: 1fr; gap: var(--s9); }
  .why-pillar { position: static; }
  .cta-band .inner { grid-template-columns: 1fr; gap: var(--s7); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: var(--s7); }
  .foot-brand { grid-column: 1 / -1; }
  .product-layout { grid-template-columns: 1fr; }
  .product-sidebar { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
  .support-cards { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .container { padding-inline: var(--s5); }
  .trust-row { grid-template-columns: 1fr 1fr; gap: var(--s5); }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .featured-standards { grid-template-columns: 1fr; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .rel-row { grid-template-columns: 44px 1fr; row-gap: 10px; padding: var(--s4) var(--s5); }
  .rel-row .rel-change { grid-column: 1 / -1; }
  .rel-row .rel-meta { grid-column: 1 / -1; justify-self: start; }
  .process-track { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .hero h1 { font-size: clamp(2.4rem, 11vw, 3rem); }
  .device-wrap { transform: none; animation: none; }
  .float-chip.c1 { left: 0; }
  .products-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .cart-table-head { display: none; }
  .cart-row { grid-template-columns: 60px 1fr auto; }
  .shop-toolbar { flex-direction: column; align-items: stretch; }
  .filter-axis { flex-direction: column; align-items: flex-start; }
  .guides-grid { grid-template-columns: 1fr; }
  .guide-card { grid-template-columns: 1fr; }
  .guide-card .gc-media { min-height: 180px; aspect-ratio: 16/7; }
}

/* ===== THEME PILLS ===== */
.theme-pill {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-mono); font-size: .6rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 8px; border-radius: var(--r-pill); white-space: nowrap;
}
.pi-vanilla    { background: rgba(255,255,255,.05); color: var(--text-low); box-shadow: inset 0 0 0 1px var(--line-soft); }
.pi-pvp        { background: rgba(242,85,85,.08);   color: #FF9B9B;         box-shadow: inset 0 0 0 1px rgba(242,85,85,.2); }
.pi-apocalypse { background: rgba(242,178,62,.08);  color: var(--warn);     box-shadow: inset 0 0 0 1px rgba(242,178,62,.22); }

/* ===== SHOP FILTER AXES ===== */
.shop-filters { margin-bottom: var(--s7); display: flex; flex-direction: column; gap: var(--s4); }
.filter-axis { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.filter-axis-label {
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text-faint); white-space: nowrap;
  min-width: 62px;
}
.filter-divider { height: 1px; background: var(--line-soft); margin-block: var(--s1); }

/* theme-specific active states */
.filter-btn[data-group="theme"].active[data-value="vanilla"]    { color: var(--text-mid);   background: var(--surface-3);           box-shadow: inset 0 0 0 1px var(--line); }
.filter-btn[data-group="theme"].active[data-value="pvp"]        { color: #FF9B9B;           background: rgba(242,85,85,.10);        box-shadow: inset 0 0 0 1px rgba(242,85,85,.28); }
.filter-btn[data-group="theme"].active[data-value="apocalypse"] { color: var(--warn);       background: rgba(242,178,62,.10);       box-shadow: inset 0 0 0 1px rgba(242,178,62,.28); }
.filter-btn[data-group="license"].active[data-value="escrow"]      { color: var(--violet-300); background: var(--violet-ink);       box-shadow: inset 0 0 0 1px var(--line-violet); }
.filter-btn[data-group="license"].active[data-value="open-source"] { color: var(--ok);         background: rgba(63,208,138,.08);    box-shadow: inset 0 0 0 1px rgba(63,208,138,.22); }
.filter-btn[data-group="license"].active[data-value="standalone"]  { color: var(--cyan-300);   background: rgba(63,174,234,.08);    box-shadow: inset 0 0 0 1px rgba(63,174,234,.22); }

/* shop product count + sort row */
.shop-meta { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); margin-bottom: var(--s6); flex-wrap: wrap; }
.shop-count { font-size: .84rem; color: var(--text-low); }

/* theme pills row on product card */
.pc-themes { display: flex; flex-wrap: wrap; gap: 5px; margin-top: var(--s3); }

/* ===== GUIDES PAGE ===== */
.guides-hero { padding-block: clamp(var(--s9), 5vw, var(--s11)); }
.guides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.guide-card {
  display: grid; grid-template-columns: 200px 1fr;
  background: var(--surface-1); border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--line-soft); overflow: hidden;
  transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}
.guide-card:hover { box-shadow: inset 0 0 0 1px var(--line-violet); transform: translateY(-3px); }
.guide-card .gc-media { position: relative; background: var(--bg-deep); }
.guide-card .gc-media .gc-icon {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 2.2rem; color: var(--violet-400);
  background: linear-gradient(135deg, var(--violet-ink), var(--bg-deep));
}
.guide-card .gc-body { padding: var(--s5); display: flex; flex-direction: column; }
.guide-card .gc-cat { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--violet-400); margin-bottom: var(--s3); }
.guide-card .gc-title { font-family: var(--font-display); font-size: .98rem; font-weight: 600; color: var(--text-hi); line-height: 1.3; }
.guide-card .gc-desc { font-size: .82rem; color: var(--text-mid); line-height: 1.55; margin-top: var(--s3); flex: 1; }
.guide-card .gc-foot { margin-top: var(--s4); display: flex; align-items: center; justify-content: space-between; }
.guide-card .gc-meta { font-family: var(--font-mono); font-size: .64rem; color: var(--text-low); display: flex; align-items: center; gap: 6px; }
.guide-card .gc-diff { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: var(--r-pill); }
.gc-diff-beginner  { background: rgba(63,208,138,.08); color: var(--ok); box-shadow: inset 0 0 0 1px rgba(63,208,138,.2); }
.gc-diff-advanced  { background: rgba(242,178,62,.08);  color: var(--warn); box-shadow: inset 0 0 0 1px rgba(242,178,62,.2); }
.gc-diff-expert    { background: rgba(242,85,85,.08);   color: #FF9B9B; box-shadow: inset 0 0 0 1px rgba(242,85,85,.2); }

/* guides layout — full-width cards with horizontal layout */
.guides-grid-full { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s5); }
.guide-card-full {
  background: var(--surface-1); border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  padding: var(--s6); display: flex; flex-direction: column; gap: var(--s4);
  transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}
.guide-card-full:hover { box-shadow: inset 0 0 0 1px var(--line-violet); transform: translateY(-3px); }
.guide-card-full .gcf-icon { width: 44px; height: 44px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--violet-ink); box-shadow: inset 0 0 0 1px var(--line-violet); color: var(--violet-300); font-size: 1rem; flex-shrink: 0; }
.guide-card-full .gcf-top { display: flex; align-items: flex-start; gap: var(--s4); }
.guide-card-full .gcf-cat { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--violet-400); margin-bottom: 6px; }
.guide-card-full .gcf-title { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--text-hi); line-height: 1.3; }
.guide-card-full .gcf-desc { font-size: .86rem; color: var(--text-mid); line-height: 1.6; }
.guide-card-full .gcf-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: var(--s4); border-top: 1px solid var(--line-soft); }
.guide-card-full .gcf-meta { font-family: var(--font-mono); font-size: .64rem; color: var(--text-low); display: flex; align-items: center; gap: 6px; }

/* ===== GUIDES PAGE — guide-card-full anatomy ===== */
.guides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.guide-card-full { background: var(--surface-1); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line-soft); padding: var(--s6); display: flex; flex-direction: column; gap: var(--s4); transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease); }
.guide-card-full:hover { box-shadow: inset 0 0 0 1px var(--line-violet); transform: translateY(-3px); }
.gc-top { display: flex; flex-direction: column; }
.gc-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--text-hi); line-height: 1.3; margin-bottom: var(--s3); }
.gc-desc { font-size: .86rem; color: var(--text-mid); line-height: 1.6; flex: 1; }
.gc-icon { width: 40px; height: 40px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--violet-ink); box-shadow: inset 0 0 0 1px var(--line-violet); color: var(--ic, var(--violet-300)); font-size: .95rem; flex-shrink: 0; }
.guide-pill { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-mono); font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: var(--r-pill); }
.gc-time { background: var(--surface-3); color: var(--text-low); box-shadow: inset 0 0 0 1px var(--line); }
.gc-steps { background: var(--bg-deep); border-radius: var(--r-md); padding: var(--s4); }
.gc-step-list { list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: var(--s3); padding: 0; margin: 0; }
.gc-step-list li { counter-increment: step; display: flex; gap: var(--s3); align-items: flex-start; font-size: .84rem; color: var(--text-mid); line-height: 1.5; }
.gc-step-list li::before { content: counter(step); font-family: var(--font-mono); font-size: .66rem; font-weight: 700; color: var(--violet-400); background: var(--violet-ink); box-shadow: inset 0 0 0 1px var(--line-violet); border-radius: 50%; width: 22px; height: 22px; display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; }
.gc-step-list li code { background: var(--surface-2); border-radius: 4px; padding: 1px 5px; font-family: var(--font-mono); font-size: .8em; color: var(--cyan-300); box-shadow: inset 0 0 0 1px var(--line); }
.gc-foot { display: flex; align-items: center; gap: var(--s3); margin-top: auto; padding-top: var(--s4); border-top: 1px solid var(--line-soft); flex-wrap: wrap; }

@media (max-width: 1140px) {
  .guides-grid { grid-template-columns: repeat(2, 1fr); }
  .guides-grid-full { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .guides-grid { grid-template-columns: 1fr; }
  .guide-card { grid-template-columns: 1fr; }
}
