/* ==========================================================================
   Gains API product page (product 18339) — scoped to .gx
   Tokens: primitive → semantic → component. Dark is the default; the
   marketing site switches light on body.light-mode (CLAUDE.md §7.3), so every
   semantic token is redefined under body.light-mode .gx.
   Code surfaces stay dark in BOTH themes, with their own fixed ink.
   ========================================================================== */

.gx {
	/* ---- primitives ---- */
	--gx-ink-950: #05070d;
	--gx-ink-900: #090d17;
	--gx-ink-850: #0d1220;
	--gx-ink-800: #121a2c;
	--gx-ink-700: #1b2440;
	--gx-paper-0: #ffffff;
	--gx-paper-50: #f6f7fb;
	--gx-paper-100: #eceff6;
	--gx-orange-600: #e25d06;
	--gx-orange-500: #ff7a1a;
	--gx-amber-300: #ffbe5c;
	--gx-cyan-400: #22d3ee;
	--gx-cyan-700: #0e7490;
	--gx-green-400: #34d399;
	--gx-green-700: #047857;
	--gx-red-400: #f87171;
	--gx-red-700: #b91c1c;

	/* ---- semantic (dark) ---- */
	--gx-bg: var(--gx-ink-950);
	--gx-bg-alt: var(--gx-ink-900);
	--gx-surface: rgba(255, 255, 255, .035);
	--gx-surface-2: rgba(255, 255, 255, .06);
	--gx-surface-solid: var(--gx-ink-850);
	--gx-border: rgba(255, 255, 255, .085);
	--gx-border-strong: rgba(255, 255, 255, .16);
	--gx-text: #eef2f8;
	--gx-text-2: #b3bdcd;
	--gx-text-3: #8591a6;
	--gx-accent: var(--gx-orange-500);
	--gx-accent-ink: #1a0b01;
	--gx-power: var(--gx-orange-500);
	--gx-torque: var(--gx-cyan-400);
	--gx-ok: var(--gx-green-400);
	--gx-danger: var(--gx-red-400);
	--gx-grad: linear-gradient(100deg, #ff7a1a 0%, #ffb347 42%, #22d3ee 100%);
	--gx-glow-a: rgba(255, 122, 26, .22);
	--gx-glow-b: rgba(34, 211, 238, .16);
	--gx-shadow: 0 30px 80px -30px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .05);
	--gx-floor-line: rgba(255, 140, 60, .18);
	--gx-nav-bg: rgba(5, 7, 13, .72);

	/* ---- fixed code surface (both themes) ---- */
	--gx-code-bg: #070a12;
	--gx-code-border: rgba(255, 255, 255, .09);
	--gx-code-text: #dbe3ef;
	--gx-code-key: #7dd3fc;
	--gx-code-str: #fdba74;
	--gx-code-num: #86efac;
	--gx-code-null: #c4b5fd;
	--gx-code-dim: #7a869a;

	/* ---- scale ---- */
	--gx-r-sm: 10px;
	--gx-r: 16px;
	--gx-r-lg: 24px;
	--gx-max: 1200px;
	--gx-gutter: clamp(16px, 4vw, 32px);
	--gx-sec: clamp(56px, 7vw, 96px);
	--gx-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--gx-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
	--gx-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
	--gx-ease: cubic-bezier(.22, 1, .36, 1);

	/* ---- component ---- */
	--gx-btn-bg: var(--gx-accent);
	--gx-btn-ink: var(--gx-accent-ink);
	--gx-btn-ghost-bg: var(--gx-surface-2);
	--gx-card-bg: var(--gx-surface-solid);
	--gx-tile-bg: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));

	position: relative;
	background: var(--gx-bg);
	color: var(--gx-text);
	font-family: var(--gx-font);
	font-size: 16px;
	line-height: 1.6;
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}

body.light-mode .gx {
	--gx-bg: var(--gx-paper-50);
	--gx-bg-alt: var(--gx-paper-0);
	--gx-surface: rgba(15, 23, 42, .03);
	--gx-surface-2: rgba(15, 23, 42, .055);
	--gx-surface-solid: var(--gx-paper-0);
	--gx-border: rgba(15, 23, 42, .1);
	--gx-border-strong: rgba(15, 23, 42, .18);
	--gx-text: #0b1220;
	--gx-text-2: #3b465a;
	--gx-text-3: #566175;
	--gx-accent: #c2410c;
	--gx-accent-ink: #ffffff;
	--gx-power: var(--gx-orange-600);
	--gx-torque: var(--gx-cyan-700);
	--gx-ok: var(--gx-green-700);
	--gx-danger: var(--gx-red-700);
	--gx-grad: linear-gradient(100deg, #c2410c 0%, #b45309 45%, #0e7490 100%);
	--gx-glow-a: rgba(255, 122, 26, .16);
	--gx-glow-b: rgba(14, 116, 144, .12);
	--gx-shadow: 0 30px 70px -34px rgba(15, 23, 42, .35), 0 0 0 1px rgba(15, 23, 42, .06);
	--gx-floor-line: rgba(194, 65, 12, .14);
	--gx-nav-bg: rgba(246, 247, 251, .8);
	--gx-tile-bg: linear-gradient(180deg, #ffffff, #fbfcfe);
}

body.gx-page { background: #05070d; margin: 0; }
body.gx-page > #tsx-bgcanvas { display: none !important; }
body.gx-page.light-mode { background: #f6f7fb; }

/* Resets sit at element specificity (0,0,1) via :where(.gx): they beat the
   site's Bootstrap reboot (same specificity, printed earlier) and lose to every
   component class below. `.gx p {margin:0}` (0,1,1) would outrank `.gx-lead`. */
:where(.gx) *, :where(.gx) *::before, :where(.gx) *::after { box-sizing: border-box; }
:where(.gx) a, :where(.gx) a:hover { color: inherit; text-decoration: none; }
:where(.gx) h1, :where(.gx) h2, :where(.gx) h3, :where(.gx) p, :where(.gx) ul, :where(.gx) ol, :where(.gx) figure, :where(.gx) pre { margin: 0; }
:where(.gx) ul, :where(.gx) ol { padding: 0; list-style: none; }
:where(.gx) img, :where(.gx) svg { display: block; max-width: 100%; }
:where(.gx) code { font-family: var(--gx-mono); font-size: .92em; color: inherit; }
:where(.gx) button { font-family: inherit; }
.gx :focus-visible { outline: 2px solid var(--gx-accent); outline-offset: 3px; border-radius: 6px; }
.gx .gx-ico { width: 18px; height: 18px; flex: 0 0 auto; }

.gx-wrap { width: 100%; max-width: var(--gx-max); margin: 0 auto; padding: 0 var(--gx-gutter); }
.gx-skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gx-accent); color: var(--gx-accent-ink); padding: 8px 14px; border-radius: 8px; }
.gx-skip:focus { left: 12px; }

/* ---------- type ---------- */
.gx-grad { background: var(--gx-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gx-kicker { font-family: var(--gx-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gx-accent); font-weight: 600; margin-bottom: 14px; display: inline-flex; align-items: center; gap: 10px; }
.gx-kicker::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .7; }
.gx h2 { font-family: var(--gx-display); font-size: clamp(28px, 4.2vw, 48px); line-height: 1.08; letter-spacing: -.02em; font-weight: 700; text-wrap: balance; }
.gx h3 { font-family: var(--gx-display); font-size: 19px; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; }
.gx-sub { color: var(--gx-text-2); font-size: clamp(16px, 1.6vw, 18px); max-width: 62ch; margin-top: 16px; }
.gx-head { text-align: center; margin: 0 auto clamp(40px, 6vw, 64px); max-width: 820px; }
.gx-head .gx-sub { margin-left: auto; margin-right: auto; }
.gx-head-left { text-align: left; margin-left: 0; }
.gx-head-left .gx-sub { margin-left: 0; }
.gx-section { padding: var(--gx-sec) 0; position: relative; }
.gx-link, .gx-link:hover { color: var(--gx-accent); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.gx-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.gx-link .gx-ico { width: 15px; height: 15px; }

/* ---------- buttons ---------- */
.gx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--gx-font); font-weight: 600; font-size: 15px; line-height: 1; padding: 13px 20px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: transform .25s var(--gx-ease), box-shadow .25s var(--gx-ease), background .2s, border-color .2s; }
.gx-btn-primary, .gx-btn-primary:hover, .gx-btn-primary:focus { background: var(--gx-btn-bg); color: var(--gx-btn-ink); box-shadow: 0 10px 30px -10px var(--gx-glow-a), inset 0 1px 0 rgba(255, 255, 255, .25); }
.gx-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(255, 122, 26, .55), inset 0 1px 0 rgba(255, 255, 255, .25); }
.gx-btn-ghost, .gx-btn-ghost:hover { background: var(--gx-btn-ghost-bg); color: var(--gx-text); border-color: var(--gx-border-strong); }
.gx-btn-ghost:hover { border-color: var(--gx-accent); transform: translateY(-2px); }
.gx-btn-lg { padding: 16px 26px; font-size: 16px; }
.gx-btn-sm { padding: 10px 16px; font-size: 14px; }
.gx-btn .gx-ico { width: 18px; height: 18px; }

/* ---------- nav ---------- */
.gx-nav { position: sticky; top: 0; z-index: 60; background: var(--gx-nav-bg); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--gx-border); }
.gx-nav-row { display: flex; align-items: center; gap: 20px; height: 66px; }
.gx-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--gx-display); font-weight: 700; letter-spacing: .02em; font-size: 15px; white-space: nowrap; }
.gx-brand-mark { width: 26px; height: 26px; border-radius: 8px; background: conic-gradient(from 210deg, #ff7a1a, #ffbe5c, #22d3ee, #ff7a1a); box-shadow: 0 0 0 1px rgba(255, 255, 255, .15) inset, 0 6px 18px -6px var(--gx-glow-a); }
.gx-brand-pill { font-family: var(--gx-mono); font-size: 11px; font-weight: 600; letter-spacing: .04em; padding: 4px 8px; border-radius: 999px; border: 1px solid var(--gx-border-strong); color: var(--gx-accent); }
.gx-nav-links { display: flex; gap: 4px; margin-left: auto; }
.gx-nav-links a { font-size: 14px; color: var(--gx-text-2); padding: 8px 12px; border-radius: 999px; transition: color .2s, background .2s; }
.gx-nav-links a:hover, .gx-nav-links a.is-on { color: var(--gx-text); background: var(--gx-surface-2); }
.gx-nav-actions { display: flex; align-items: center; gap: 10px; }
.gx-theme { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--gx-border-strong); background: transparent; color: var(--gx-text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.gx-theme .gx-ico { width: 18px; height: 18px; }
.gx-theme .d-none { display: none !important; }
.gx-burger { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--gx-border-strong); background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.gx-burger span { display: block; width: 18px; height: 2px; background: var(--gx-text); border-radius: 2px; transition: transform .25s, opacity .2s; }

/* ---------- hero ---------- */
.gx-hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); overflow: hidden; isolation: isolate; }
.gx-hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.gx-floor { position: absolute; left: -20%; right: -20%; bottom: -12%; height: 70%; background-image: linear-gradient(var(--gx-floor-line) 1px, transparent 1px), linear-gradient(90deg, var(--gx-floor-line) 1px, transparent 1px); background-size: 56px 56px; transform: perspective(700px) rotateX(64deg); transform-origin: 50% 100%; -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .55) 40%, transparent 85%); mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .55) 40%, transparent 85%); animation: gx-floor 9s linear infinite; }
@keyframes gx-floor { to { background-position: 0 56px, 0 0; } }
.gx-orb { position: absolute; border-radius: 50%; }
.gx-orb-a { width: 620px; height: 620px; left: -180px; top: -220px; background: radial-gradient(circle, var(--gx-glow-a), transparent 65%); }
.gx-orb-b { width: 560px; height: 560px; right: -160px; top: 4%; background: radial-gradient(circle, var(--gx-glow-b), transparent 65%); }
.gx-orb-c { width: 420px; height: 420px; left: 38%; bottom: -220px; background: radial-gradient(circle, rgba(255, 190, 92, .12), transparent 65%); }

.gx-hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.gx-hero-copy, .gx-hero-visual { min-width: 0; }
.gx-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--gx-mono); font-size: 12.5px; letter-spacing: .06em; color: var(--gx-text-2); padding: 7px 14px 7px 10px; border-radius: 999px; border: 1px solid var(--gx-border-strong); background: var(--gx-surface); margin-bottom: 22px; }
.gx-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--gx-ok); box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: gx-pulse 2.2s infinite; }
@keyframes gx-pulse { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } }
.gx-h1 { font-family: var(--gx-display); font-weight: 700; letter-spacing: -.03em; line-height: 1.02; font-size: clamp(36px, 4.6vw, 60px); display: flex; flex-direction: column; text-wrap: balance; }
.gx-h1-kicker { font-size: clamp(15px, 1.4vw, 17px); letter-spacing: .02em; font-weight: 600; color: var(--gx-accent); margin-bottom: 14px; font-family: var(--gx-mono); text-transform: uppercase; }
.gx-lead { margin-top: 22px; color: var(--gx-text-2); font-size: clamp(16px, 1.55vw, 19px); max-width: 58ch; }
.gx-lead strong { color: var(--gx-text); }
.gx-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.gx-hero-price { margin-top: 16px; font-size: 14.5px; color: var(--gx-text-3); }
.gx-hero-price strong { color: var(--gx-text); }
.gx-hero-facts { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--gx-border); }
.gx-hero-facts li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--gx-text-2); white-space: nowrap; }
.gx-hero-facts .gx-ico { color: var(--gx-accent); width: 17px; height: 17px; }
.gx-hero-facts b { color: var(--gx-text); font-weight: 600; }

/* 3D scene — no backdrop-filter anywhere inside a perspective box (renders black on some GPUs) */
.gx-scene { perspective: 1400px; perspective-origin: 50% 40%; }
.gx-stage3d { position: relative; transform-style: preserve-3d; transform: rotateX(var(--gx-rx, 8deg)) rotateY(var(--gx-ry, -14deg)); transition: transform .6s var(--gx-ease); min-height: 470px; }
.gx-card { position: relative; background: var(--gx-card-bg); border: 1px solid var(--gx-border-strong); border-radius: var(--gx-r-lg); box-shadow: var(--gx-shadow); overflow: hidden; }
.gx-card-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--gx-border); font-size: 12.5px; color: var(--gx-text-2); }
.gx-card-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--gx-mono); font-size: 12px; }
.gx-dots { display: inline-flex; gap: 6px; flex: 0 0 auto; }
.gx-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--gx-border-strong); }
.gx-dots i:first-child { background: #ff5f57; } .gx-dots i:nth-child(2) { background: #febc2e; } .gx-dots i:nth-child(3) { background: #28c840; }
.gx-dyno-card { width: 90%; margin-top: 54px; transform: translateZ(0); }
.gx-dyno { width: 100%; height: auto; aspect-ratio: 420 / 220; padding: 12px 14px 4px; overflow: visible; }
.gx-dyno-grid line { stroke: var(--gx-border); stroke-width: 1; }
.gx-dyno-grid text { fill: var(--gx-text-3); font-family: var(--gx-mono); font-size: 10px; }
.gx-dyno-grid .gx-ax-nm { fill: var(--gx-torque); opacity: .8; }
.gx-dyno-grid .gx-ax-u { font-weight: 600; }
.gx-curve { fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.gx-curve-stock { stroke: var(--gx-text-3); stroke-dasharray: 5 6; stroke-width: 2; }
.gx-curve-nm-stock { stroke: var(--gx-torque); stroke-dasharray: 5 6; stroke-width: 1.6; opacity: .55; }
.gx-curve-s1 { stroke: var(--gx-amber-300); opacity: .9; }
.gx-curve-s2 { stroke: var(--gx-power); filter: drop-shadow(0 4px 10px rgba(255, 122, 26, .35)); }
.gx-curve-nm { stroke: var(--gx-torque); }
.gx-dyno-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 12px 16px 2px; font-size: 12.5px; color: var(--gx-text-2); }
.gx-lg { display: inline-flex; align-items: center; gap: 7px; }
.gx-lg::before { content: ""; width: 16px; height: 3px; border-radius: 3px; }
.gx-lg-stock::before { background: repeating-linear-gradient(90deg, var(--gx-text-3) 0 4px, transparent 4px 7px); }
.gx-lg-s1::before { background: var(--gx-amber-300); }
.gx-lg-s2::before { background: var(--gx-power); }
.gx-lg-nm::before { background: var(--gx-torque); }
.gx-lg b { color: var(--gx-text); font-weight: 600; }
.gx-dyno-note { padding: 2px 16px 0; font-size: 11px; color: var(--gx-text-3); font-family: var(--gx-mono); }

.gx-json-card { position: absolute; right: -4%; bottom: -2%; width: 62%; transform: translateZ(90px); background: var(--gx-code-bg); border-color: var(--gx-code-border); }
.gx-card-head-code { color: var(--gx-code-dim); border-color: var(--gx-code-border); font-family: var(--gx-mono); }
.gx-method { font-family: var(--gx-mono); font-size: 11px; font-weight: 600; color: #052e1c; background: #34d399; padding: 3px 7px; border-radius: 6px; }
.gx-path { font-family: var(--gx-mono); font-size: 12px; color: var(--gx-code-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.gx-ok { margin-left: auto; font-family: var(--gx-mono); font-size: 11px; color: #86efac; border: 1px solid rgba(134, 239, 172, .35); padding: 2px 7px; border-radius: 6px; }
.gx-code { margin: 0; padding: 16px 18px; background: var(--gx-code-bg); color: var(--gx-code-text); font-family: var(--gx-mono); font-size: 12.5px; line-height: 1.65; overflow: auto; white-space: pre; tab-size: 2; scrollbar-width: thin; }
/* the site styles every <code> as an inline chip (.ts-mono, code {...}); inside a block it boxes each line */
.gx-code code { background: none; color: inherit; padding: 0; border: 0; border-radius: 0; font: inherit; }
.gx-code-hero { height: 230px; overflow: hidden; font-size: 11.5px; padding: 12px 16px; }
.gx-code .k { color: var(--gx-code-key); } .gx-code .s { color: var(--gx-code-str); } .gx-code .n { color: var(--gx-code-num); } .gx-code .z { color: var(--gx-code-null); } .gx-code .c { color: var(--gx-code-dim); font-style: italic; }
.gx-caret { display: inline-block; width: 7px; height: 14px; background: #ff9a4d; vertical-align: -2px; animation: gx-blink 1s steps(1) infinite; }
@keyframes gx-blink { 50% { opacity: 0; } }

.gx-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; background: var(--gx-card-bg); border: 1px solid var(--gx-border-strong); box-shadow: var(--gx-shadow); font-size: 13px; white-space: nowrap; color: var(--gx-text); }
.gx-chip-gain { left: -6%; bottom: 1%; transform: translateZ(140px); flex-direction: column; align-items: flex-start; gap: 2px; }
.gx-chip-k { font-family: var(--gx-mono); font-size: 11px; color: var(--gx-text-3); text-transform: uppercase; letter-spacing: .08em; }
.gx-chip-v { font-family: var(--gx-display); font-weight: 700; font-size: 18px; background: var(--gx-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gx-chip-lock { right: 2%; top: -5%; transform: translateZ(120px); }
.gx-chip-lock .gx-ico { color: var(--gx-ok); width: 16px; height: 16px; }

.gx-scroll { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); width: 26px; height: 42px; border-radius: 14px; border: 1.5px solid var(--gx-border-strong); display: flex; justify-content: center; padding-top: 8px; }
.gx-scroll span { width: 3px; height: 8px; border-radius: 2px; background: var(--gx-text-2); animation: gx-scroll 1.8s var(--gx-ease) infinite; }
@keyframes gx-scroll { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- tiles ---------- */
.gx-grid { display: grid; gap: 20px; }
.gx-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gx-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gx-tile { position: relative; padding: 28px; border-radius: var(--gx-r-lg); background: var(--gx-tile-bg); border: 1px solid var(--gx-border); transition: border-color .3s, transform .5s var(--gx-ease); transform-style: preserve-3d; }
.gx-tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(420px circle at var(--gx-mx, 50%) var(--gx-my, 0%), var(--gx-glow-a), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.gx-tile:hover { border-color: var(--gx-border-strong); }
.gx-tile:hover::after { opacity: 1; }
.gx-tile h3 { margin: 18px 0 10px; }
.gx-tile p { color: var(--gx-text-2); font-size: 15.5px; }
.gx-tile-ico { width: 46px; height: 46px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(140deg, rgba(255, 122, 26, .22), rgba(34, 211, 238, .14)); color: var(--gx-accent); border: 1px solid var(--gx-border-strong); }
.gx-tile-ico .gx-ico { width: 22px; height: 22px; }

/* ---------- how ---------- */
.gx-how { background: var(--gx-bg-alt); border-top: 1px solid var(--gx-border); border-bottom: 1px solid var(--gx-border); }
.gx-steps-wrap { position: relative; }
.gx-steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.gx-steps-line { position: absolute; left: 0; right: 0; top: 22px; width: 100%; height: 40px; pointer-events: none; }
.gx-steps-line path { fill: none; stroke: var(--gx-accent); stroke-width: 2; stroke-dasharray: 6 8; opacity: .55; vector-effect: non-scaling-stroke; }
.gx-step { position: relative; padding: 0 6px; }
.gx-step-n { position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--gx-display); font-weight: 700; font-size: 20px; color: var(--gx-accent-ink); background: var(--gx-accent); box-shadow: 0 10px 30px -10px var(--gx-glow-a), 0 0 0 6px var(--gx-bg-alt); }
.gx-step h3 { margin: 22px 0 8px; }
.gx-step p { color: var(--gx-text-2); font-size: 15.5px; }
.gx-step-code { display: inline-block; margin-top: 14px; padding: 6px 10px; border-radius: 8px; background: var(--gx-code-bg); color: var(--gx-code-str); font-size: 12.5px; border: 1px solid var(--gx-code-border); }

/* ---------- demo ---------- */
.gx-demo-shell { display: grid; grid-template-columns: 300px minmax(0, 1fr); border-radius: var(--gx-r-lg); border: 1px solid var(--gx-border-strong); background: var(--gx-surface-solid); box-shadow: var(--gx-shadow); overflow: hidden; }
.gx-demo-side { padding: 24px; border-right: 1px solid var(--gx-border); background: var(--gx-surface); display: flex; flex-direction: column; gap: 14px; }
.gx-field label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gx-text-3); margin-bottom: 6px; }
.gx-select { width: 100%; height: 44px; padding: 0 38px 0 12px; border-radius: 12px; border: 1px solid var(--gx-border-strong); background: var(--gx-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7a1a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; color: var(--gx-text); font: 500 15px var(--gx-font); appearance: none; -webkit-appearance: none; cursor: pointer; color-scheme: dark; }
body.light-mode .gx .gx-select { color-scheme: light; }
.gx-select option { background: #ffffff; color: #0f172a; }
.gx-demo-picks-l { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gx-text-3); margin-top: 6px; }
.gx-demo-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.gx-pick { font: 500 13px var(--gx-font); color: var(--gx-text-2); padding: 7px 11px; border-radius: 999px; border: 1px solid var(--gx-border-strong); background: transparent; cursor: pointer; transition: all .2s; }
.gx-pick:hover { color: var(--gx-text); border-color: var(--gx-accent); }
.gx-pick.is-on { background: var(--gx-accent); border-color: var(--gx-accent); color: var(--gx-accent-ink); }
.gx-demo-main { padding: 22px 24px 24px; min-width: 0; }
.gx-demo-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--gx-surface-2); margin-bottom: 20px; }
.gx-dtab, .gx-ctab { font: 600 13.5px var(--gx-font); color: var(--gx-text-2); background: transparent; border: 0; padding: 8px 14px; border-radius: 9px; cursor: pointer; transition: all .2s; }
.gx-dtab.is-on { background: var(--gx-surface-solid); color: var(--gx-text); box-shadow: 0 1px 0 var(--gx-border-strong), 0 6px 16px -10px rgba(0, 0, 0, .5); }
.gx-pane[hidden], .gx-cpane[hidden] { display: none !important; }
.gx-res-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.gx-res-title { font-family: var(--gx-display); font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.gx-res-meta { color: var(--gx-text-3); font-size: 13.5px; margin-top: 4px; font-family: var(--gx-mono); }
.gx-stagepick { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; border: 1px solid var(--gx-border-strong); }
.gx-sbtn { font: 600 13px var(--gx-font); padding: 8px 12px; border-radius: 9px; border: 0; background: transparent; color: var(--gx-text-2); cursor: pointer; transition: all .2s; }
.gx-sbtn.is-on { background: var(--gx-accent); color: var(--gx-accent-ink); }
.gx-sbtn:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.gx-res-nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 22px 0 18px; }
.gx-num { padding: 16px 18px; border-radius: var(--gx-r); background: var(--gx-surface); border: 1px solid var(--gx-border); }
.gx-num-l { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--gx-text-3); font-weight: 600; }
.gx-num-v { display: block; font-family: var(--gx-display); font-weight: 700; font-size: clamp(34px, 4.4vw, 48px); line-height: 1.05; letter-spacing: -.02em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.gx-num-v small { font-size: .42em; margin-left: 6px; color: var(--gx-text-3); font-weight: 600; }
.gx-num-d { display: inline-block; margin-top: 6px; font: 600 13px var(--gx-mono); color: var(--gx-ok); min-height: 1.4em; }
.gx-bars { display: grid; gap: 10px; margin-bottom: 18px; }
.gx-bar { display: grid; grid-template-columns: 72px minmax(0, 1fr) 84px; align-items: center; gap: 12px; font-size: 13px; color: var(--gx-text-2); }
.gx-bar-track { position: relative; height: 10px; border-radius: 999px; background: var(--gx-surface-2); overflow: hidden; }
.gx-bar-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: inherit; background: var(--gx-text-3); }
.gx-bar.is-tuned .gx-bar-fill { background: linear-gradient(90deg, var(--gx-power), var(--gx-amber-300)); }
.gx-bar.is-nm .gx-bar-fill { background: linear-gradient(90deg, var(--gx-torque), #67e8f9); }
.gx-bar-v { text-align: right; font: 600 13px var(--gx-mono); color: var(--gx-text); }
.gx-demo-dyno { border-radius: var(--gx-r); border: 1px solid var(--gx-border); background: var(--gx-surface); overflow: hidden; }
.gx-demo-dyno .gx-dyno { aspect-ratio: 520 / 210; }
.gx-codebar { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--gx-code-bg); border: 1px solid var(--gx-code-border); border-bottom: 0; border-radius: var(--gx-r) var(--gx-r) 0 0; }
.gx-pane .gx-code { border: 1px solid var(--gx-code-border); border-radius: 0 0 var(--gx-r) var(--gx-r); max-height: 460px; }
.gx-copy { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font: 600 12px var(--gx-font); color: #dbe3ef; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); padding: 6px 10px; border-radius: 8px; cursor: pointer; }
.gx-copy .gx-ico { width: 14px; height: 14px; }
.gx-copy.is-done { color: #86efac; border-color: rgba(134, 239, 172, .4); }
.gx-code-note { font-size: 12.5px; color: var(--gx-text-3); margin-top: 10px; }

/* ---------- data ---------- */
.gx-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.gx-stat { position: relative; padding: 28px 22px; border-radius: var(--gx-r-lg); background: var(--gx-tile-bg); border: 1px solid var(--gx-border); text-align: center; min-height: 196px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.gx-stat-v { font-family: var(--gx-display); font-weight: 700; font-size: clamp(34px, 4vw, 46px); letter-spacing: -.02em; line-height: 1; background: var(--gx-grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.gx-stat-l { margin-top: 10px; color: var(--gx-text-2); font-size: 14.5px; }
.gx-ring-box { position: relative; width: 116px; height: 116px; display: flex; align-items: center; justify-content: center; }
.gx-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.gx-ring circle { fill: none; stroke-width: 7; }
.gx-ring-bg { stroke: var(--gx-surface-2); }
.gx-ring-fg { stroke: var(--gx-power); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; }
.gx-ring-2 { stroke: var(--gx-torque); }
.gx-stat-in { position: relative; font-size: clamp(26px, 3vw, 32px); }
.gx-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.gx-fields-col { min-width: 0; padding: 28px; border-radius: var(--gx-r-lg); border: 1px solid var(--gx-border); background: var(--gx-surface); }
.gx-fields-col h3 { margin-bottom: 16px; }
.gx-checks { display: grid; gap: 12px; }
.gx-checks li { display: flex; align-items: flex-start; gap: 10px; color: var(--gx-text-2); font-size: 15px; }
.gx-checks li > span, .gx-plan-list li > span { min-width: 0; overflow-wrap: anywhere; }
.gx-checks .gx-ico { color: var(--gx-ok); margin-top: 3px; }
.gx-checks-alt .gx-ico { color: var(--gx-torque); }
.gx-checks code, .gx-sub code { color: var(--gx-text); background: var(--gx-surface-2); padding: 1px 6px; border-radius: 6px; border: 1px solid var(--gx-border); }

/* ---------- integrate ---------- */
.gx-int { background: var(--gx-bg-alt); border-top: 1px solid var(--gx-border); border-bottom: 1px solid var(--gx-border); }
.gx-int-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.gx-int-grid .gx-head { margin-bottom: 0; }
.gx-int-list { display: grid; gap: 12px; margin-top: 26px; }
.gx-int-list li { display: flex; align-items: center; gap: 12px; color: var(--gx-text-2); font-size: 15px; }
.gx-badge { flex: 0 0 auto; font: 600 11px var(--gx-mono); text-transform: uppercase; letter-spacing: .06em; padding: 4px 8px; border-radius: 6px; color: var(--gx-accent); border: 1px solid var(--gx-border-strong); min-width: 96px; text-align: center; }
.gx-int-docs { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; }
.gx-codebox { border-radius: var(--gx-r-lg); background: var(--gx-code-bg); border: 1px solid var(--gx-code-border); box-shadow: var(--gx-shadow); overflow: hidden; padding-bottom: 14px; }
.gx-codetabs { display: flex; gap: 2px; padding: 8px; border-bottom: 1px solid var(--gx-code-border); overflow-x: auto; scrollbar-width: none; }
.gx-codetabs::-webkit-scrollbar { display: none; }
.gx-ctab { color: #93a0b5; white-space: nowrap; }
.gx-ctab:hover { color: #e6edf7; }
.gx-ctab.is-on { background: rgba(255, 255, 255, .08); color: #ffffff; }
.gx-cpane { position: relative; }
.gx-cpane .gx-copy { display: flex; margin: 12px 14px 0 auto; width: max-content; }
.gx-cpane .gx-code { min-height: 170px; padding-top: 10px; white-space: pre-wrap; overflow-wrap: anywhere; }
.gx-codebox .gx-code-note { padding: 0 18px; color: #8591a6; }
.gx-codebox .gx-code-note code { color: #fdba74; }
/* the real widget, screenshotted on live data — one image per theme */
.gx-shot { margin-top: clamp(36px, 5vw, 56px); }
.gx-shot-frame { max-width: 920px; margin: 0 auto; border-radius: var(--gx-r); border: 1px solid var(--gx-border-strong); background: var(--gx-surface-solid); box-shadow: var(--gx-shadow); overflow: hidden; }
.gx-shot-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--gx-border); font: 500 12px var(--gx-mono); color: var(--gx-text-3); }
.gx-shot-img { display: block; width: 100%; height: auto; }
.gx-shot-light { display: none; }
body.light-mode .gx .gx-shot-dark { display: none; }
body.light-mode .gx .gx-shot-light { display: block; }
.gx-shot figcaption { max-width: 920px; margin: 12px auto 0; text-align: center; font-size: 13.5px; color: var(--gx-text-3); }

/* ---------- control ---------- */
.gx-ctl-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.gx-ctl-grid .gx-head { margin-bottom: 28px; }
.gx-dash { border-radius: var(--gx-r-lg); background: var(--gx-surface-solid); border: 1px solid var(--gx-border-strong); box-shadow: var(--gx-shadow); overflow: hidden; transform: perspective(1200px) rotateY(10deg) rotateX(4deg); transition: transform .6s var(--gx-ease); }
.gx-dash:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.gx-dash-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--gx-border); font-size: 12.5px; color: var(--gx-text-3); }
.gx-dash-body { padding: 20px; display: grid; gap: 18px; }
.gx-dash-key { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px; border-radius: 14px; background: var(--gx-surface); border: 1px solid var(--gx-border); }
.gx-dash-l { display: block; font-size: 11.5px; color: var(--gx-text-3); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; margin-bottom: 6px; }
.gx-dash-key .gx-dash-l { margin: 0; }
.gx-dash-mono { font-family: var(--gx-mono); font-size: 13px; color: var(--gx-text); }
.gx-mask { letter-spacing: .1em; color: var(--gx-text-3); }
.gx-pill { margin-left: auto; font: 600 11px var(--gx-mono); padding: 3px 8px; border-radius: 999px; }
.gx-pill-ok { color: var(--gx-ok); border: 1px solid currentColor; }
.gx-dash-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--gx-text-2); }
.gx-dash-small { font-size: 11.5px; color: var(--gx-text-3); margin-top: 8px; }
.gx-meter { position: relative; height: 10px; border-radius: 999px; background: var(--gx-surface-2); margin-top: 8px; overflow: hidden; }
.gx-meter-fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--gx-power), var(--gx-amber-300)); }
.gx-meter i { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--gx-border-strong); }
.gx-dash-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.gx-dash-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gx-text-2); padding: 8px 10px; border-radius: 10px; border: 1px dashed var(--gx-border-strong); margin-top: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gx-dash-item .gx-ico { width: 15px; height: 15px; color: var(--gx-ok); }
.gx-dash-actions { display: flex; gap: 10px; }
.gx-fakebtn { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--gx-border-strong); color: var(--gx-text-2); }
.gx-fakebtn .gx-ico { width: 15px; height: 15px; }
.gx-fakebtn-danger { color: var(--gx-danger); border-color: rgba(248, 113, 113, .35); }
.gx-ctl-feats { gap: 14px; }
.gx-feat { display: flex; gap: 14px; padding: 18px; border-radius: var(--gx-r); border: 1px solid var(--gx-border); background: var(--gx-surface); }
.gx-feat > .gx-ico { width: 22px; height: 22px; color: var(--gx-accent); margin-top: 2px; }
.gx-feat h3 { font-size: 16px; margin-bottom: 4px; }
.gx-feat p { font-size: 14px; color: var(--gx-text-2); }

/* ---------- buy ---------- */
.gx-buy-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px; align-items: stretch; }
.gx-plan { position: relative; padding: clamp(24px, 3.4vw, 40px); border-radius: var(--gx-r-lg); background: var(--gx-surface-solid); border: 1px solid transparent; background-clip: padding-box; box-shadow: var(--gx-shadow); isolation: isolate; }
.gx-plan::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: var(--gx-grad); }
.gx-plan::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--gx-surface-solid); }
.gx-plan-glow { position: absolute; inset: -30% -10% auto auto; width: 70%; height: 80%; background: radial-gradient(circle, var(--gx-glow-a), transparent 60%); pointer-events: none; z-index: -1; }
.gx-plan-name { font: 600 13px var(--gx-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gx-accent); }
.gx-plan-price { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: end; margin: 18px 0 20px; }
.gx-wc-form { padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--gx-border); }
.gx-plan-l { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--gx-text-3); font-weight: 600; margin-bottom: 4px; }
.gx-plan-mv { font-family: var(--gx-display); font-weight: 700; font-size: 34px; letter-spacing: -.02em; }
.gx-plan-mv small { font-size: 15px; color: var(--gx-text-3); margin-left: 4px; font-weight: 600; }
.gx-plan-month { text-align: right; }
.gx-plan-list { display: grid; gap: 12px; }
.gx-plan-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--gx-text-2); }
.gx-plan-list .gx-ico { color: var(--gx-ok); margin-top: 3px; }
.gx-plan-math { margin-top: 22px; padding: 12px 14px; border-radius: 12px; background: var(--gx-surface-2); font-size: 14px; color: var(--gx-text-2); }
.gx-plan-math b { color: var(--gx-text); }
.gx-plan-seller { margin-top: 14px; font-size: 12.5px; color: var(--gx-text-3); }
.gx-plan-seller a { text-decoration: underline; text-underline-offset: 3px; }

/* WooCommerce's own price + form inside the plan */
.gx-wc-price .price, .gx-wc-price p.price { font-family: var(--gx-display); font-weight: 700; font-size: clamp(40px, 5vw, 54px); letter-spacing: -.03em; line-height: 1; color: var(--gx-text); margin: 0; }
.gx-wc-price .price del { font-size: .5em; color: var(--gx-text-3); margin-right: 8px; }
.gx-wc-price .price ins { text-decoration: none; }
.gx-wc-price form.cart { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.gx-wc-price .quantity { display: none !important; }
.gx-wc-price .single_add_to_cart_button, .gx-wc-price .buy_now_button { display: inline-flex !important; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px !important; border-radius: 999px !important; font: 600 16px var(--gx-font) !important; cursor: pointer; transition: transform .25s var(--gx-ease), box-shadow .25s; text-decoration: none !important; float: none !important; }
.gx-wc-price .single_add_to_cart_button { background: var(--gx-btn-bg) !important; color: var(--gx-btn-ink) !important; border: 0 !important; box-shadow: 0 12px 34px -12px rgba(255, 122, 26, .6); }
.gx-wc-price .buy_now_button { background: transparent !important; color: var(--gx-text) !important; border: 1px solid var(--gx-border-strong) !important; }
.gx-wc-price .single_add_to_cart_button:hover, .gx-wc-price .buy_now_button:hover { transform: translateY(-2px); }
.gx-wc-price .woocommerce-message, .gx-wc-price .woocommerce-error, .gx-wc-price .woocommerce-info { list-style: none; margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--gx-border-strong); background: var(--gx-surface-2); color: var(--gx-text); font-size: 14px; }
.gx-wc-price .woocommerce-message a.button { margin-left: 8px; color: var(--gx-accent); font-weight: 600; }
.gx-wc-price #wc-stripe-express-checkout-element { margin-top: 12px !important; }

.gx-flow { padding: clamp(24px, 3.4vw, 36px); border-radius: var(--gx-r-lg); border: 1px solid var(--gx-border); background: var(--gx-surface); }
.gx-flow h3 { margin-bottom: 22px; }
.gx-flow-list { display: grid; gap: 20px; counter-reset: none; }
.gx-flow-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; }
.gx-flow-list li > span { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font: 700 19px var(--gx-display); color: var(--gx-accent); border: 1px solid var(--gx-border-strong); background: var(--gx-surface-2); }
.gx-flow-list b { font-family: var(--gx-display); font-size: 16px; }
.gx-flow-list p { color: var(--gx-text-2); font-size: 14.5px; margin-top: 2px; }

.gx-compare { margin-top: 28px; padding: clamp(22px, 3vw, 32px); border-radius: var(--gx-r-lg); border: 1px solid var(--gx-border); background: var(--gx-surface); }
.gx-compare-sub { color: var(--gx-text-3); font-size: 13.5px; margin: 6px 0 18px; }
.gx-table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--gx-border); }
.gx-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 720px; }
.gx-table th, .gx-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--gx-border); vertical-align: top; color: var(--gx-text-2); }
.gx-table thead th { font: 600 12px var(--gx-font); text-transform: uppercase; letter-spacing: .07em; color: var(--gx-text-3); background: var(--gx-surface-2); }
.gx-table tbody th { color: var(--gx-text); font-weight: 600; }
.gx-table tbody tr:last-child th, .gx-table tbody tr:last-child td { border-bottom: 0; }
.gx-table tr.is-ours th, .gx-table tr.is-ours td { background: rgba(255, 122, 26, .08); color: var(--gx-text); }
.gx-table tr.is-ours th { box-shadow: inset 3px 0 0 var(--gx-accent); }
.gx-src { display: block; margin-top: 4px; font: 500 11.5px var(--gx-mono); color: var(--gx-text-3); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- faq ---------- */
.gx-faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.gx-faq-grid .gx-head { position: sticky; top: 96px; margin-bottom: 0; }
.gx-faq-list { display: grid; gap: 10px; }
.gx-qa { border-radius: var(--gx-r); border: 1px solid var(--gx-border); background: var(--gx-surface); transition: border-color .2s, background .2s; }
.gx-qa[open] { border-color: var(--gx-border-strong); background: var(--gx-surface-2); }
.gx-qa summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; position: relative; font-family: var(--gx-display); font-weight: 600; font-size: 16.5px; }
.gx-qa summary::-webkit-details-marker { display: none; }
.gx-qa-ico { position: absolute; right: 18px; top: 50%; width: 22px; height: 22px; transform: translateY(-50%); border-radius: 50%; border: 1px solid var(--gx-border-strong); }
.gx-qa-ico::before, .gx-qa-ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.6px; background: var(--gx-accent); transform: translate(-50%, -50%); transition: transform .3s var(--gx-ease); }
.gx-qa-ico::after { transform: translate(-50%, -50%) rotate(90deg); }
.gx-qa[open] .gx-qa-ico::after { transform: translate(-50%, -50%) rotate(0); }
.gx-qa-a { padding: 0 20px 20px; color: var(--gx-text-2); font-size: 15.5px; }

/* ---------- final ---------- */
.gx-final { padding: 0 0 var(--gx-sec); }
.gx-final-card { position: relative; overflow: hidden; text-align: center; padding: clamp(40px, 7vw, 88px) clamp(20px, 5vw, 56px); border-radius: 32px; border: 1px solid var(--gx-border-strong); background: radial-gradient(800px 360px at 50% -10%, var(--gx-glow-a), transparent 60%), radial-gradient(600px 300px at 90% 120%, var(--gx-glow-b), transparent 60%), var(--gx-surface-solid); }
.gx-final-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--gx-border) 1px, transparent 1px), linear-gradient(90deg, var(--gx-border) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 70%); mask-image: radial-gradient(ellipse at center, #000, transparent 70%); pointer-events: none; }
.gx-final-card h2 { position: relative; max-width: 760px; margin: 0 auto; }
.gx-final-card p { position: relative; color: var(--gx-text-2); margin-top: 16px; font-size: 17px; }
.gx-final-card .gx-hero-cta { position: relative; justify-content: center; }

/* ---------- sticky buy ---------- */
.gx-sticky { position: fixed; left: 50%; bottom: 16px; z-index: 70; display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 18px; border-radius: 999px; background: var(--gx-nav-bg); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); border: 1px solid var(--gx-border-strong); box-shadow: var(--gx-shadow); transform: translate(-50%, 140%); transition: transform .5s var(--gx-ease); max-width: calc(100% - 24px); }
.gx-sticky.is-on { transform: translate(-50%, 0); }
.gx-sticky-t { font-size: 14px; color: var(--gx-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gx-sticky-t b { color: var(--gx-text); }

/* ---------- reveal (hidden only once JS has armed it; failsafe in JS) ---------- */
body.gx-armed .gx-reveal { opacity: 0; transform: translateY(26px); }
body.gx-armed .gx-reveal.is-in { opacity: 1; transform: none; transition: opacity .8s var(--gx-ease), transform .8s var(--gx-ease); }
body.gx-armed .gx-in { opacity: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
	.gx-hero-grid { grid-template-columns: minmax(0, 1fr); }
	.gx-hero-visual { max-width: 620px; margin: 8px auto 0; width: 100%; }
	.gx-nav-links { display: none; }
	.gx-burger { display: inline-flex; }
	.gx-nav-row { justify-content: space-between; }
	.gx-nav.is-open .gx-nav-links { display: flex; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; padding: 12px var(--gx-gutter) 18px; background: var(--gx-bg); border-bottom: 1px solid var(--gx-border); }
	.gx-nav.is-open .gx-nav-links a { padding: 12px 14px; font-size: 16px; }
	.gx-nav.is-open .gx-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
	.gx-nav.is-open .gx-burger span:nth-child(2) { opacity: 0; }
	.gx-nav.is-open .gx-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
	.gx-int-grid, .gx-ctl-grid, .gx-faq-grid, .gx-buy-grid { grid-template-columns: minmax(0, 1fr); }
	.gx-faq-grid .gx-head { position: static; }
	.gx-dash { transform: none; }
	.gx-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	.gx-grid-3, .gx-steps { grid-template-columns: minmax(0, 1fr); }
	.gx-steps-line { display: none; }
	.gx-demo-shell { grid-template-columns: minmax(0, 1fr); }
	.gx-demo-side { border-right: 0; border-bottom: 1px solid var(--gx-border); }
	.gx-fields, .gx-grid-2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
	.gx-brand-name { display: none; }
	.gx-nav-actions .gx-btn { display: none; }
	.gx-hero-facts { flex-direction: column; gap: 10px; }
	.gx-hero-cta .gx-btn { width: 100%; }
	.gx-stage3d { min-height: 0; transform: none !important; }
	.gx-dyno-card { width: 100%; }
	.gx-json-card { position: relative; right: auto; width: 100%; margin-top: 14px; transform: none; }
	.gx-chip-gain, .gx-chip-lock { display: none; }
	.gx-res-nums { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
	.gx-num { padding: 14px; }
	.gx-bar { grid-template-columns: 58px minmax(0, 1fr) 70px; gap: 8px; }
	.gx-stats { grid-template-columns: minmax(0, 1fr); }
	.gx-plan-price { grid-template-columns: minmax(0, 1fr); }
	.gx-plan-month { text-align: left; }
	.gx-wc-price form.cart > * { flex: 1 1 100%; }
	.gx-dash-lists { grid-template-columns: minmax(0, 1fr); }
	.gx-badge { min-width: 0; }
	.gx-table { min-width: 0; }
	.gx-table thead { display: none; }
	.gx-table, .gx-table tbody, .gx-table tr, .gx-table th, .gx-table td { display: block; width: 100%; }
	.gx-table tr { border-bottom: 1px solid var(--gx-border); padding: 6px 0; }
	.gx-table th, .gx-table td { border: 0; padding: 6px 14px; }
	.gx-table td::before { content: attr(data-l) " · "; color: var(--gx-text-3); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
	.gx-sticky-t { font-size: 13px; }
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
	.gx *, .gx *::before, .gx *::after { animation: none !important; transition: none !important; }
	body.gx-armed .gx-reveal, body.gx-armed .gx-in { opacity: 1 !important; transform: none !important; }
	.gx-stage3d { transform: rotateX(6deg) rotateY(-10deg) !important; }
}
