/* Xena Shader Forge — website */
:root {
  --bg: #0c0a17;
  --bg-2: #120f22;
  --panel: #17132b;
  --panel-2: #1e1938;
  --line: #2c2650;
  --line-2: #3b3468;
  --text: #eeeaff;
  --muted: #a9a2c8;
  --faint: #756e98;
  --pink: #ff8be0;
  --violet: #9b6cff;
  --cyan: #34f0d0;
  --blue: #4d8dff;
  --good: #4cd89a;
  --warn: #ffb547;
  --grad: linear-gradient(100deg, #ff8be0 0%, #b58cff 45%, #34f0d0 100%);
  --radius: 16px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  --maxw: 1180px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, .7);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(38px, 5.4vw, 68px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0 0 1em; }
code, pre, kbd { font-family: var(--mono); }
code { font-size: .88em; background: var(--panel-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; color: #ffd6f5; }
kbd { font-size: .8em; background: var(--panel-2); border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 6px; padding: 1px 6px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; }
section { padding: 96px 0; position: relative; }
.center { text-align: center; }
.lead { font-size: 19px; color: var(--muted); max-width: 680px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(12, 10, 23, .78); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(255,255,255,.06); }
.site-head .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand small { font-weight: 600; font-size: 11px; color: var(--faint); letter-spacing: .12em; display: block; margin-bottom: -4px; }
.nav { display: flex; gap: 4px; margin-right: auto; }
.nav a { color: var(--muted); font-weight: 600; font-size: 15px; padding: 8px 14px; border-radius: 10px; }
.nav a:hover { color: var(--text); background: rgba(255,255,255,.05); text-decoration: none; }
.nav a.on { color: var(--text); background: rgba(155, 108, 255, .16); }
.head-acts { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--text); font: 600 15px var(--font); padding: 11px 20px; border-radius: 12px; cursor: pointer; transition: transform .12s, background .15s, border-color .15s, box-shadow .15s; text-decoration: none; white-space: nowrap; }
.btn:hover { text-decoration: none; background: #262045; border-color: #4a4180; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: linear-gradient(100deg, #ff6fd6, #9b6cff 60%, #5b7cff); border-color: transparent; box-shadow: 0 10px 30px -10px rgba(185, 110, 255, .8); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; }
.btn.small { padding: 7px 13px; font-size: 14px; border-radius: 10px; }
.btn.big { padding: 15px 28px; font-size: 17px; border-radius: 14px; }
.btn svg { width: 18px; height: 18px; }
.btn[disabled] { opacity: .5; cursor: default; }
.icon-btn { position: relative; width: 42px; height: 42px; padding: 0; justify-content: center; }
.badge { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--pink); color: #200a1c; font-size: 12px; font-weight: 800; display: grid; place-items: center; padding: 0 5px; }
.badge[hidden] { display: none; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 40px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -30% -10% auto; height: 900px; background: radial-gradient(closest-side, rgba(155, 108, 255, .35), transparent 70%), radial-gradient(closest-side at 80% 40%, rgba(52, 240, 208, .16), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero .lead { font-size: 20px; margin-bottom: 30px; }
.hero-acts { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--faint); font-size: 14px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--good); }
.hero-visual { position: relative; aspect-ratio: 1; max-width: 520px; justify-self: center; width: 100%; }
.hero-visual video, .hero-visual .poster { width: 100%; height: 100%; object-fit: cover; border-radius: 28px; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 40px 120px -30px rgba(155, 108, 255, .7); }
.float-card { position: absolute; background: rgba(23, 19, 43, .88); backdrop-filter: blur(10px); border: 1px solid var(--line-2); border-radius: 14px; padding: 10px 14px; font-size: 13px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px; }
.float-card b { display: block; font-size: 14px; }
.float-card small { color: var(--muted); }
.float-card .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--good); box-shadow: 0 0 12px var(--good); }
.fc-1 { left: -34px; top: 14%; }
.fc-2 { right: -26px; bottom: 16%; }
.fc-3 { left: 8%; bottom: -18px; }
.swatches { display: flex; gap: 4px; }
.swatches i { width: 14px; height: 14px; border-radius: 4px; display: block; }

/* ---------- logos / strip ---------- */
.strip { border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); background: rgba(255,255,255,.015); padding: 26px 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; }
.stat b { display: block; font-size: 34px; font-weight: 800; letter-spacing: -.02em; }
.stat span { color: var(--muted); font-size: 14px; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-top: 44px; }
.g-item { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); aspect-ratio: 1; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.g-item:hover img { transform: scale(1.06); }
.g-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; background: linear-gradient(transparent, rgba(8, 6, 18, .88)); font-weight: 700; font-size: 14px; }
.g-item figcaption small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }

/* ---------- feature rows ---------- */
.feature { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; margin: 0 0 110px; }
.feature:last-child { margin-bottom: 0; }
.feature.flip { grid-template-columns: 1.25fr 1fr; }
.feature.flip .f-text { order: 2; }
.f-text ul { list-style: none; padding: 0; margin: 18px 0 0; }
.f-text li { position: relative; padding-left: 28px; margin: 10px 0; color: var(--muted); }
.f-text li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 5px; background: var(--grad); opacity: .9; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.f-text li b { color: var(--text); }
.shot { border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow); background: var(--panel); position: relative; }
.shot::before { content: ""; display: block; height: 26px; background: #1b1731; border-bottom: 1px solid var(--line); }
.shot::after { content: ""; position: absolute; top: 9px; left: 12px; width: 8px; height: 8px; border-radius: 50%; background: #ff5f57; box-shadow: 14px 0 #febc2e, 28px 0 #28c840; }
.shot img { width: 100%; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: rgba(155, 108, 255, .16); color: #d8c6ff; border: 1px solid rgba(155, 108, 255, .35); }
.tag.new { background: rgba(52, 240, 208, .12); color: var(--cyan); border-color: rgba(52, 240, 208, .35); }

/* ---------- steps / cards ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.card { background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step-n { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; background: var(--grad); color: #1a0d2e; margin-bottom: 16px; }
.card p { color: var(--muted); margin: 0; }
.cta { text-align: center; background: radial-gradient(ellipse at center, rgba(155, 108, 255, .25), transparent 60%); border-top: 1px solid rgba(255,255,255,.06); }
.cta .hero-acts { justify-content: center; }
.dl-meta { color: var(--faint); font-size: 14px; }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid rgba(255,255,255,.06); padding: 40px 0; color: var(--faint); font-size: 14px; }
.site-foot .wrap { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.site-foot nav { display: flex; gap: 18px; margin-left: auto; }
.site-foot a { color: var(--muted); }

/* ---------- store ---------- */
.notice { background: rgba(255, 181, 71, .08); border: 1px solid rgba(255, 181, 71, .35); color: #ffd79a; border-radius: 12px; padding: 10px 16px; font-size: 14px; display: flex; gap: 10px; align-items: center; }
.notice svg { width: 18px; height: 18px; flex: none; }
.store-head { padding-top: 56px; padding-bottom: 26px; }
.store-tools { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 22px 0 26px; }
.search { flex: 1; min-width: 240px; display: flex; align-items: center; gap: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; }
.search svg { width: 18px; height: 18px; color: var(--faint); }
.search input { flex: 1; background: none; border: 0; outline: none; color: var(--text); font: 15px var(--font); padding: 12px 0; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { background: var(--panel); border: 1px solid var(--line); color: var(--muted); font: 600 14px var(--font); padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.chip:hover { color: var(--text); }
.chip.on { background: rgba(155, 108, 255, .2); border-color: var(--violet); color: var(--text); }
.chip .n { color: var(--faint); font-weight: 500; margin-left: 4px; }
select.sel { background: var(--panel); border: 1px solid var(--line); color: var(--text); font: 600 14px var(--font); padding: 10px 12px; border-radius: 12px; }
.bundle { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; background: linear-gradient(110deg, rgba(255, 139, 224, .16), rgba(155, 108, 255, .14) 40%, rgba(52, 240, 208, .12)); border: 1px solid rgba(181, 140, 255, .45); border-radius: 20px; padding: 22px 26px; margin-bottom: 26px; }
.bundle-art { display: grid; grid-template-columns: repeat(4, 34px); gap: 6px; }
.bundle-art span { width: 34px; height: 34px; border-radius: 10px; background: rgba(12,10,23,.6); display: grid; place-items: center; font-size: 18px; border: 1px solid rgba(255,255,255,.08); }
.bundle h3 { margin-bottom: 4px; }
.bundle p { color: var(--muted); margin: 0; }
.price { font-weight: 800; font-size: 20px; }
.price s { color: var(--faint); font-weight: 500; font-size: 15px; margin-right: 6px; }
.price.free { color: var(--good); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.pcard { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, border-color .15s, box-shadow .15s; cursor: pointer; }
.pcard:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: var(--shadow); }
.pthumb { aspect-ratio: 16 / 10; position: relative; overflow: hidden; background: #0e0b1c; }
.pthumb img { width: 100%; height: 100%; object-fit: cover; }
.pthumb .kind { position: absolute; top: 10px; left: 10px; }
.pthumb .emoji { position: absolute; right: 10px; bottom: 10px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: rgba(12,10,23,.75); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(6px); }
.pbody { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pbody h3 { margin: 0; font-size: 17px; }
.pbody .by { color: var(--faint); font-size: 13px; }
.pbody p { color: var(--muted); font-size: 14px; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pmeta { display: flex; gap: 6px; flex-wrap: wrap; }
.pmeta span { font-size: 12px; color: var(--muted); background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 2px 8px; }
.pfoot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; }
.in-cart { color: var(--good) !important; border-color: rgba(76, 216, 154, .5) !important; }
.empty-state { text-align: center; color: var(--muted); padding: 60px 0; }
/* theme preview thumbnail (mini app) */
.mini-app { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.mini { display: grid; grid-template-rows: 14px 1fr; border-right: 1px solid rgba(0,0,0,.25); }
.mini .bar { display: flex; align-items: center; gap: 3px; padding: 0 6px; }
.mini .bar i { width: 14px; height: 5px; border-radius: 3px; display: block; }
.mini .body { display: grid; grid-template-columns: 38% 1fr; gap: 5px; padding: 6px; }
.mini .side { border-radius: 4px; padding: 5px; display: flex; flex-direction: column; gap: 4px; }
.mini .side i { height: 4px; border-radius: 2px; display: block; }
.mini .view { border-radius: 4px; display: grid; place-items: center; }
.mini .ball { width: 46%; aspect-ratio: 1; border-radius: 50%; }
.mini-name { position: absolute; left: 0; right: 0; bottom: 0; display: flex; }
.mini-name span { flex: 1; text-align: center; font-size: 10px; font-weight: 700; padding: 3px 0; background: rgba(0,0,0,.45); color: #fff; }
/* tool thumbnail */
.tool-art { position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(255,139,224,.35), transparent 55%), radial-gradient(circle at 80% 80%, rgba(52,240,208,.28), transparent 55%), #120e24; padding: 16px; font-family: var(--mono); font-size: 12px; }
.tool-art .cmd { background: rgba(12,10,23,.75); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; padding: 5px 9px; margin-bottom: 6px; color: #e8ddff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 80%; }
.tool-art .cmd:first-child { border-color: var(--violet); }

/* modal & drawer */
.overlay { position: fixed; inset: 0; background: rgba(5, 3, 12, .7); backdrop-filter: blur(4px); z-index: 80; display: grid; place-items: center; padding: 24px; }
.overlay[hidden] { display: none; }
.modal { background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 22px; width: min(900px, 100%); max-height: calc(100vh - 48px); overflow: auto; box-shadow: 0 40px 120px rgba(0,0,0,.7); position: relative; }
.modal.small { width: min(480px, 100%); }
.modal .x { position: absolute; top: 14px; right: 14px; z-index: 2; }
.detail { display: grid; grid-template-columns: 1fr 1fr; }
.detail .pthumb { aspect-ratio: auto; min-height: 320px; border-radius: 22px 0 0 0; }
.detail-info { padding: 28px; }
.detail-info h2 { font-size: 28px; margin-bottom: 6px; }
.detail-sec { padding: 0 28px 28px; }
.detail-sec h4 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin: 22px 0 10px; }
.list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.list div { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.list b { display: block; font-size: 14px; }
.list small { color: var(--muted); font-size: 13px; }
.theme-sw { display: flex; align-items: center; gap: 10px; }
.theme-sw i { width: 28px; height: 28px; border-radius: 8px; border: 2px solid; display: block; flex: none; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--bg-2); border-left: 1px solid var(--line-2); z-index: 90; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .25s ease; box-shadow: -30px 0 80px rgba(0,0,0,.5); }
.drawer.open { transform: none; }
.drawer header { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer header h3 { margin: 0; }
.cart-items { flex: 1; overflow: auto; padding: 12px 22px; }
.ci { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ci .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--panel-2); display: grid; place-items: center; font-size: 22px; overflow: hidden; }
.ci .ico img { width: 100%; height: 100%; object-fit: cover; }
.ci b { display: block; font-size: 15px; }
.ci small { color: var(--muted); }
.ci button { background: none; border: 0; color: var(--faint); cursor: pointer; font-size: 13px; padding: 0; }
.ci button:hover { color: var(--pink); }
.drawer footer { padding: 20px 22px; border-top: 1px solid var(--line); }
.sum { display: flex; justify-content: space-between; margin-bottom: 6px; color: var(--muted); }
.sum.total { color: var(--text); font-weight: 800; font-size: 18px; margin: 10px 0 16px; }
.drawer footer .btn { width: 100%; justify-content: center; }
.scrim { position: fixed; inset: 0; background: rgba(5,3,12,.5); z-index: 85; }
.scrim[hidden] { display: none; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: var(--panel-2); border: 1px solid var(--line-2); padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow); z-index: 100; font-weight: 600; font-size: 14px; }
.toast[hidden] { display: none; }

/* ---------- tutorial ---------- */
.doc { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; padding: 48px 0 100px; }
.toc { position: sticky; top: 92px; align-self: start; max-height: calc(100vh - 110px); overflow: auto; }
.toc h4 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin: 0 0 10px; }
.toc a { display: block; color: var(--muted); font-size: 14px; padding: 6px 12px; border-left: 2px solid var(--line); }
.toc a:hover { color: var(--text); text-decoration: none; }
.toc a.on { color: var(--text); border-left-color: var(--pink); background: linear-gradient(90deg, rgba(255,139,224,.08), transparent); }
.toc .dl { margin-top: 18px; }
.doc-body { max-width: 780px; }
.doc-body h1 { font-size: clamp(34px, 4vw, 50px); }
.doc-body h2 { font-size: 28px; margin-top: 72px; padding-top: 8px; display: flex; align-items: center; gap: 12px; }
.doc-body h2 .num { font-size: 14px; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--grad); color: #1a0d2e; flex: none; }
.doc-body h3 { margin-top: 32px; }
.doc-body p, .doc-body li { color: #cfc8ea; }
.doc-body li { margin: 6px 0; }
.doc-body ol, .doc-body ul { padding-left: 22px; }
.code { position: relative; margin: 18px 0 24px; border-radius: 14px; border: 1px solid var(--line-2); background: #0a0814; overflow: hidden; }
.code .code-h { display: flex; align-items: center; justify-content: space-between; padding: 8px 14px; font-size: 12px; color: var(--faint); background: #120f22; border-bottom: 1px solid var(--line); font-family: var(--mono); }
.code pre { margin: 0; padding: 16px 18px; overflow: auto; font-size: 13.5px; line-height: 1.65; color: #e6e1ff; tab-size: 2; }
.copy { background: none; border: 1px solid var(--line-2); color: var(--muted); border-radius: 8px; font: 600 12px var(--font); padding: 3px 10px; cursor: pointer; }
.copy:hover { color: var(--text); }
.tk-k { color: #c792ea; } .tk-s { color: #c3e88d; } .tk-n { color: #f78c6c; } .tk-c { color: #6c6893; font-style: italic; } .tk-p { color: #82aaff; } .tk-f { color: #7fdbca; } .tk-t { color: #ffcb6b; }
.callout { display: flex; gap: 14px; border-radius: 14px; padding: 14px 18px; margin: 20px 0; background: rgba(52, 240, 208, .07); border: 1px solid rgba(52, 240, 208, .3); }
.callout.warn { background: rgba(255, 181, 71, .07); border-color: rgba(255, 181, 71, .35); }
.callout.pink { background: rgba(255, 139, 224, .07); border-color: rgba(255, 139, 224, .35); }
.callout svg { width: 22px; height: 22px; flex: none; color: var(--cyan); margin-top: 2px; }
.callout.warn svg { color: var(--warn); }
.callout.pink svg { color: var(--pink); }
.callout p:last-child { margin-bottom: 0; }
table.t { width: 100%; border-collapse: separate; border-spacing: 0; margin: 18px 0 26px; font-size: 14.5px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
table.t th { text-align: left; background: var(--panel-2); color: var(--muted); font-weight: 700; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; }
table.t th, table.t td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.t tr:last-child td { border-bottom: 0; }
table.t td { color: #d8d2f0; }
table.t td:first-child { white-space: nowrap; }
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 22px 0; }
.flow div { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 10px; text-align: center; font-size: 13px; position: relative; }
.flow div b { display: block; font-family: var(--mono); color: var(--pink); font-size: 13px; }
.flow div small { color: var(--muted); }
.builder { display: grid; grid-template-columns: 1fr 1.1fr; gap: 20px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 18px; padding: 22px; margin: 24px 0; }
.builder label { display: block; font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 12px; }
.builder input, .builder select, .builder textarea { width: 100%; margin-top: 5px; background: var(--bg); border: 1px solid var(--line-2); color: var(--text); border-radius: 10px; padding: 9px 11px; font: 14px var(--font); }
.builder textarea { font-family: var(--mono); font-size: 12.5px; min-height: 96px; resize: vertical; }
.builder input[type=color] { padding: 2px; height: 40px; }
.builder .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.builder pre { margin: 0; background: #0a0814; border: 1px solid var(--line); border-radius: 12px; padding: 14px; font-size: 12px; max-height: 420px; overflow: auto; color: #e6e1ff; }
.builder .acts { display: flex; gap: 8px; margin-top: 12px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero .wrap, .feature, .feature.flip, .detail, .builder { grid-template-columns: 1fr; }
  .feature.flip .f-text { order: 0; }
  .fc-1 { left: 4px; } .fc-2 { right: 4px; }
  .doc { grid-template-columns: 1fr; }
  .toc { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .detail .pthumb { border-radius: 22px 22px 0 0; min-height: 240px; }
  .list { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .bundle { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--bg-2); flex-direction: column; padding: 10px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .menu-btn { display: inline-flex; margin-left: auto; }
  .head-acts .btn.hide-sm { display: none; }
  section { padding: 64px 0; }
  .site-foot nav { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.teaser { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 34px; background: linear-gradient(110deg, rgba(255,139,224,.12), rgba(155,108,255,.1) 45%, rgba(52,240,208,.08)); }
@media (max-width: 720px) { .teaser { grid-template-columns: 1fr; } .teaser .btn { justify-self: start; } .btn.big { white-space: normal; } }
.gallery { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 720px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.cta .lead { margin-left: auto; margin-right: auto; }
.builder { grid-template-columns: minmax(0, 1fr); }
.builder > div { min-width: 0; }
.builder .form { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 12px; }
.builder .form .full { grid-column: 1 / -1; }
.pthumb .kind { background: rgba(12, 10, 23, .82); backdrop-filter: blur(6px); }
@media (max-width: 720px) { .builder .form { grid-template-columns: 1fr; } }
