/* ==========================================================================
   HustleOS — "The Side Hustle Command Center"
   main.css: tokens, base, header, ticker, homepage, cards, widgets, footer
   ========================================================================== */

/* ---------- 1. Tokens (dark = default) ---------- */
:root {
	--bg: #0A0B10;
	--raised: #12141C;
	--subtle: #1A1D28;
	--text: #F1F5F9;
	--muted: #94A3B8;
	--primary: #A3E635;
	--secondary: #FBBF24;
	--accent: #22D3EE;
	--danger: #F43F5E;
	--border: #252938;
	--border-strong: #343a4f;
	--on-primary: #0A0B10;
	--on-danger: #0A0B10;
	--link: #BEF264;
	--focus: #22D3EE;
	--grid: rgba(148, 163, 184, .055);
	--glass: rgba(10, 11, 16, .72);
	--overlay: rgba(3, 4, 8, .72);
	--glow: 0 0 0 1px rgba(163, 230, 53, .55), 0 0 28px rgba(163, 230, 53, .18);
	--shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 10px 30px rgba(0, 0, 0, .35);
	--shadow-lg: 0 24px 60px rgba(0, 0, 0, .55);
	--term-bg: #07080C;
	--term-text: #D9F99D;
	--term-muted: #7C8799;
	--success: #A3E635;

	--s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
	--r: 10px; --r-sm: 6px; --r-pill: 999px;
	--f-head: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
	--f-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-mono: ui-monospace, "SFMono-Regular", "Cascadia Code", Consolas, monospace;
	--ease-out: cubic-bezier(0, 0, .2, 1);
	--ease-spring: cubic-bezier(.34, 1.56, .64, 1);
	--dur: 220ms;
	--container: 1240px;
	--header-h: 68px;
	--gutter: clamp(16px, 4vw, 32px);
	color-scheme: dark;
}
[data-theme="light"] {
	--bg: #FAFAF7;
	--raised: #FFFFFF;
	--subtle: #F1F2EE;
	--text: #0F172A;
	--muted: #475569;
	--primary: #4D7C0F;
	--secondary: #B45309;
	--accent: #0E7490;
	--danger: #E11D48;
	--border: #E5E7EB;
	--border-strong: #CBD5E1;
	--on-primary: #FFFFFF;
	--on-danger: #FFFFFF;
	--link: #3F6212;
	--focus: #0E7490;
	--grid: rgba(15, 23, 42, .045);
	--glass: rgba(250, 250, 247, .8);
	--overlay: rgba(15, 23, 42, .5);
	--glow: 0 0 0 1px rgba(77, 124, 15, .6), 0 8px 24px rgba(77, 124, 15, .14);
	--shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 24px rgba(15, 23, 42, .06);
	--shadow-lg: 0 24px 60px rgba(15, 23, 42, .16);
	--success: #4D7C0F;
	color-scheme: light;
}
@media (prefers-color-scheme: light) {
	:root:not([data-theme]) {
		--bg: #FAFAF7; --raised: #FFFFFF; --subtle: #F1F2EE; --text: #0F172A; --muted: #475569; --primary: #4D7C0F; --secondary: #B45309;
		--accent: #0E7490; --danger: #E11D48; --border: #E5E7EB; --border-strong: #CBD5E1; --on-primary: #FFFFFF; --on-danger: #FFFFFF;
		--link: #3F6212; --focus: #0E7490; --grid: rgba(15, 23, 42, .045); --glass: rgba(250, 250, 247, .8); color-scheme: light;
	}
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 60px); }
html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after {
	transition: background-color 250ms ease, color 250ms ease, border-color 250ms ease, fill 250ms ease !important;
}
body {
	margin: 0; color: var(--text); font-family: var(--f-body); font-size: clamp(1rem, .96rem + .2vw, 1.0625rem); line-height: 1.7;
	background-color: var(--bg);
	background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
	background-size: 48px 48px;
	-webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: .07em; }
a:hover { text-decoration-thickness: .13em; }
h1, h2, h3, h4, h5, h6 { font-family: var(--f-head); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 var(--s4); color: var(--text); text-wrap: balance; }
p { margin: 0 0 var(--s4); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--primary); color: var(--on-primary); }
.num, .tabular, table, .stat-val, time { font-variant-numeric: tabular-nums; }
.screen-reader-text, .sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link:focus { clip: auto; width: auto; height: auto; margin: 0; z-index: 1000; top: 12px; left: 12px; padding: 12px 20px; background: var(--raised); color: var(--text); border: 1px solid var(--primary); border-radius: var(--r); }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.i { width: 1.2em; height: 1.2em; flex: none; }
.i-sm { width: 1em; height: 1em; }
.mono { font-family: var(--f-mono); }

/* ---------- 3. Buttons, chips, badges ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 48px; padding: 10px 22px;
	border-radius: var(--r); border: 1px solid transparent; font-weight: 650; font-size: .9875rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
	transition: transform 150ms var(--ease-out), background-color var(--dur), border-color var(--dur), box-shadow var(--dur);
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { box-shadow: var(--glow); }
.btn-secondary { background: var(--raised); color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--text); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: .9375rem; }
.btn[aria-busy="true"] .i, .load-more.is-loading .i { animation: ho-spin 1s linear infinite; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r); border: 1px solid transparent; background: transparent; color: var(--text); transition: background-color 150ms, border-color 150ms; }
.icon-btn:hover { background: var(--subtle); border-color: var(--border); }

.pill {
	display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: var(--r-pill); font-size: .78rem; font-weight: 650;
	letter-spacing: .01em; line-height: 1.5; text-decoration: none; color: var(--text); background: var(--subtle); border: 1px solid var(--border);
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cat, var(--primary)); }
a.pill:hover { border-color: var(--cat, var(--primary)); text-decoration: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: var(--r-sm); background: var(--subtle); border: 1px solid var(--border); font-size: .78rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.chip b { color: var(--text); font-weight: 650; font-variant-numeric: tabular-nums; }
.dots { display: inline-flex; gap: 3px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--border-strong); }
.dots i.on { background: var(--secondary); }
.meter { display: inline-grid; grid-auto-flow: column; gap: 3px; width: 44px; }
.meter i { height: 6px; border-radius: 2px; background: var(--border-strong); transform-origin: left; }
.meter i.on { background: var(--primary); }
.verdict { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--r-sm); font-size: .78rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.verdict .i { width: 15px; height: 15px; }
.verdict--legit { background: var(--primary); color: var(--on-primary); }
.verdict--mixed { background: var(--secondary); color: var(--on-primary); }
[data-theme="dark"] .verdict--mixed, :root:not([data-theme]) .verdict--mixed { color: #0A0B10; }
.verdict--avoid { background: var(--danger); color: var(--on-danger); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: var(--s3); font-family: var(--f-mono); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.eyebrow .i { width: 16px; height: 16px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 0 rgba(163, 230, 53, .5); animation: ho-pulse 2s infinite; }

/* ---------- 4. Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; }
.site-header .bar { position: relative; height: var(--header-h); }
.site-header .bar::before {
	content: ""; position: absolute; inset: 0; background: var(--glass); -webkit-backdrop-filter: saturate(1.3) blur(14px); backdrop-filter: saturate(1.3) blur(14px);
	border-bottom: 1px solid var(--border); transform-origin: top; transition: transform var(--dur) var(--ease-out);
}
.site-header.is-scrolled .bar::before { transform: scaleY(.84); }
.header-inner { position: relative; display: flex; align-items: center; gap: var(--s4); height: 100%; transition: transform var(--dur) var(--ease-out); }
.site-header.is-scrolled .header-inner { transform: translateY(-5px); }
.site-header.is-scrolled .ticker { transform: translateY(-11px); }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; color: var(--text); text-decoration: none; transform-origin: left; transition: transform var(--dur) var(--ease-out); }
.site-header.is-scrolled .brand { transform: scale(.94); }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: var(--primary); color: var(--on-primary); }
.brand-mark .i { width: 22px; height: 22px; }
.brand-name { font-family: var(--f-head); font-weight: 800; font-size: 1.375rem; letter-spacing: -.03em; }
.brand-name span { color: var(--primary); }
.custom-logo-link img { max-height: 42px; width: auto; }

.primary-nav { margin-inline: auto; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.primary-nav > ul { display: flex; align-items: center; gap: 2px; }
.primary-nav li { position: relative; }
.primary-nav a { position: relative; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 8px 11px; color: var(--muted); font-size: .9375rem; font-weight: 550; text-decoration: none; border-radius: var(--r-sm); transition: color 150ms; }
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current-menu-ancestor > a, .primary-nav .current-category-ancestor > a { color: var(--text); }
.primary-nav > ul > li > a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 6px; height: 2px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease-out); }
.primary-nav > ul > li > a:hover::after, .primary-nav > ul > li.current-menu-item > a::after, .primary-nav > ul > li.current-menu-ancestor > a::after { transform: scaleX(1); }
.primary-nav a .i { width: 15px; height: 15px; transition: transform var(--dur); }
.primary-nav .sub-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px; padding: 6px; background: var(--raised); border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 160ms, transform 160ms var(--ease-out), visibility 160ms; }
.primary-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav li:hover > a .i, .primary-nav li:focus-within > a .i { transform: rotate(180deg); }
.primary-nav .sub-menu a { display: flex; width: 100%; color: var(--text); }
.primary-nav .sub-menu a:hover { background: var(--subtle); }
.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.primary-nav + .header-actions { margin-left: 0; }

.theme-toggle { position: relative; width: 60px; height: 32px; margin-inline: 6px; padding: 0; border: 1px solid var(--border-strong); border-radius: var(--r-pill); background: var(--subtle); }
.theme-toggle::after { content: ""; position: absolute; inset: -7px -2px; }
.theme-toggle .tt-ico { position: absolute; top: 50%; width: 14px; height: 14px; margin-top: -7px; color: var(--muted); }
.theme-toggle .tt-sun { left: 8px; } .theme-toggle .tt-moon { right: 8px; }
.theme-toggle .tt-knob { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--primary); display: grid; place-items: center; color: var(--on-primary); transform: translateX(28px); transition: transform 300ms var(--ease-spring); }
.theme-toggle .tt-knob .i { width: 14px; height: 14px; }
[data-theme="light"] .theme-toggle .tt-knob { transform: translateX(0); }
.theme-toggle .tt-knob .k-sun { display: none; }
[data-theme="light"] .theme-toggle .tt-knob .k-sun { display: block; }
[data-theme="light"] .theme-toggle .tt-knob .k-moon { display: none; }

.menu-toggle { display: none; }
.menu-toggle .bars { position: relative; width: 20px; height: 14px; }
.menu-toggle .bars span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform var(--dur) var(--ease-out), opacity var(--dur); }
.menu-toggle .bars span:nth-child(1) { top: 0; } .menu-toggle .bars span:nth-child(2) { top: 6px; } .menu-toggle .bars span:nth-child(3) { top: 12px; }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1100px) { .primary-nav, .header-cta { display: none; } .menu-toggle { display: inline-grid; } .header-actions { margin-left: auto; } }
@media (max-width: 400px) { .brand-name { font-size: 1.15rem; } .theme-toggle { margin-inline: 2px; } .header-inner { gap: 8px; } }

/* Opportunity ticker */
.ticker { position: relative; background: var(--raised); border-bottom: 1px solid var(--border); overflow: hidden; transition: transform var(--dur) var(--ease-out); }
.ticker-inner { display: flex; align-items: center; height: 40px; }
.ticker-label { position: relative; z-index: 2; flex: none; display: inline-flex; align-items: center; gap: 8px; height: 100%; padding: 0 14px 0 var(--gutter); background: var(--raised); font-family: var(--f-mono); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); border-right: 1px solid var(--border); }
.ticker-viewport { position: relative; flex: 1; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); mask: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
.ticker-track { display: flex; width: max-content; animation: ho-ticker var(--ticker-dur, 60s) linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track, .ticker.is-paused .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 10px; padding: 0 22px; height: 40px; white-space: nowrap; font-size: .8125rem; color: var(--muted); text-decoration: none; border-right: 1px solid var(--border); }
.ticker-item strong { color: var(--text); font-weight: 650; }
.ticker-item .up { color: var(--primary); display: inline-flex; }
.ticker-item .up .i { width: 14px; height: 14px; }
.ticker-item:hover strong { color: var(--primary); }
.ticker-item .sep { opacity: .5; }
.ticker-note { flex: none; padding: 0 var(--gutter) 0 12px; font-size: .7rem; color: var(--muted); }
@media (max-width: 700px) { .ticker-note { display: none; } }

/* Off-canvas */
.drawer-overlay { position: fixed; inset: 0; z-index: 80; background: var(--overlay); opacity: 0; visibility: hidden; transition: opacity var(--dur), visibility var(--dur); }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(360px, 88vw); overflow-y: auto; padding: 18px; background: var(--raised); border-left: 1px solid var(--border); transform: translateX(105%); visibility: hidden; transition: transform 280ms var(--ease-out), visibility 280ms; }
.drawer-open .drawer { transform: none; visibility: visible; }
.drawer-open .drawer-overlay { opacity: 1; visibility: visible; }
.drawer-open { overflow: hidden; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer li { position: relative; border-bottom: 1px solid var(--border); }
.drawer a { display: flex; align-items: center; min-height: 48px; padding: 8px 48px 8px 4px; color: var(--text); font-weight: 600; text-decoration: none; }
.drawer a .i { display: none; }
.drawer .sub-menu { display: none; padding: 0 0 8px 14px; }
.drawer .sub-menu li { border: 0; }
.drawer .sub-menu a { font-weight: 500; color: var(--muted); min-height: 44px; }
.drawer li.is-open > .sub-menu { display: block; }
.drawer .sub-toggle { position: absolute; right: 0; top: 2px; }
.drawer .sub-toggle .i { transition: transform var(--dur); }
.drawer li.is-open > .sub-toggle .i { transform: rotate(180deg); }
.drawer .btn { width: 100%; margin-top: 18px; }

/* Search overlay */
.search-overlay { position: fixed; inset: 0; z-index: 100; display: flex; justify-content: center; align-items: flex-start; padding: clamp(56px, 12vh, 130px) var(--gutter) 24px; background: var(--overlay); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity var(--dur), visibility var(--dur); }
.search-overlay.is-open { opacity: 1; visibility: visible; }
.search-panel { position: relative; width: min(720px, 100%); max-height: 100%; overflow-y: auto; padding: 24px; background: var(--raised); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg); transform: translateY(-12px) scale(.98); transition: transform 260ms var(--ease-out); }
.search-overlay.is-open .search-panel { transform: none; }
.search-close { position: absolute; top: 12px; right: 12px; }
.search-results { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; }
.search-results a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: var(--r); color: var(--text); text-decoration: none; border: 1px solid var(--border); background: var(--bg); }
.search-results a:hover, .search-results a:focus-visible { border-color: var(--primary); }
.search-results img { width: 52px; height: 52px; object-fit: cover; border-radius: var(--r-sm); flex: none; }
.search-results strong { display: block; font-weight: 650; line-height: 1.35; }
.search-results small { color: var(--muted); }
.search-hint { color: var(--muted); font-size: .875rem; margin: 12px 2px 0; }
.search-form { position: relative; display: flex; align-items: center; }
.search-form > .i { position: absolute; left: 16px; color: var(--muted); pointer-events: none; }
.search-form input[type="search"] { width: 100%; min-height: 54px; padding: 12px 110px 12px 46px; border: 1px solid var(--border-strong); border-radius: var(--r); background: var(--bg); color: var(--text); font-size: 1rem; -webkit-appearance: none; appearance: none; transition: border-color 150ms, box-shadow 150ms; }
.search-form input[type="search"]::placeholder { color: var(--muted); opacity: 1; }
.search-form input[type="search"]:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 25%, transparent); }
.search-form button[type="submit"] { position: absolute; right: 5px; min-height: 44px; padding: 8px 16px; }

/* ---------- 5. Sections ---------- */
.section { position: relative; padding-block: clamp(48px, 7vw, 88px); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: clamp(22px, 3.5vw, 36px); }
.section-title { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.625rem); margin: 0; }
.section-sub { color: var(--muted); max-width: 60ch; margin: 8px 0 0; }
.section-alt { background: var(--raised); border-block: 1px solid var(--border); }
.panel { position: relative; background: var(--raised); border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow); }

/* ---------- 6. Hero ---------- */
.hero { position: relative; padding-block: clamp(28px, 5vw, 64px) clamp(40px, 6vw, 72px); overflow: hidden; }
.hero::before { content: ""; position: absolute; left: 50%; top: -30%; width: 1100px; height: 700px; margin-left: -200px; background: radial-gradient(closest-side, color-mix(in srgb, var(--primary) 12%, transparent), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero h1 { font-size: clamp(2.25rem, 1.5rem + 3.4vw, 4rem); line-height: 1.02; letter-spacing: -.035em; margin-bottom: 18px; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero-sub { font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); color: var(--muted); max-width: 50ch; margin-bottom: 22px; }
.hero-search-wrap { position: relative; max-width: 560px; }
.hero-search-results { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; margin: 0; padding: 6px; background: var(--raised); border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow-lg); }
.hero-search-results:empty { display: none; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .875rem; font-weight: 550; }
.trust-row li { display: inline-flex; align-items: center; gap: 7px; }
.trust-row .i { width: 16px; height: 16px; color: var(--primary); }
.hero-stage { position: relative; }
.scene-card { position: relative; border-radius: 14px; border: 1px solid var(--border); background: linear-gradient(180deg, var(--raised), var(--bg)); overflow: hidden; box-shadow: var(--shadow-lg); }
.scene-top { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--border); font-family: var(--f-mono); font-size: .72rem; color: var(--muted); }
.scene-top .tl { display: inline-flex; gap: 6px; margin-right: 6px; }
.scene-top .tl i { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }
.scene-top .tl i:first-child { background: var(--danger); } .scene-top .tl i:nth-child(2) { background: var(--secondary); } .scene-top .tl i:nth-child(3) { background: var(--primary); }
.scene-top .right { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; }
.hero-scene { position: relative; aspect-ratio: 1 / .86; }
.hero-scene .scene-poster, .hero-scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-scene canvas { opacity: 0; transition: opacity 600ms var(--ease-out); }
.hero-scene.is-3d canvas { opacity: 1; }
.hero-scene.is-3d .scene-poster { opacity: 0; transition: opacity 600ms; }
.scene-legend { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px; border-top: 1px solid var(--border); }
.scene-legend a { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: var(--r-sm); border: 1px solid var(--border); font-size: .75rem; font-weight: 600; color: var(--muted); text-decoration: none; transition: color 150ms, border-color 150ms, background-color 150ms; }
.scene-legend a .i { width: 14px; height: 14px; color: var(--cat); }
.scene-legend a:hover, .scene-legend a.is-hot { color: var(--text); border-color: var(--cat); background: color-mix(in srgb, var(--cat) 14%, transparent); }
.scene-tip { position: absolute; z-index: 3; left: 0; top: 0; padding: 5px 10px; border-radius: var(--r-sm); background: var(--text); color: var(--bg); font-size: .75rem; font-weight: 700; pointer-events: none; opacity: 0; transform: translate(-50%, -140%); transition: opacity 150ms; white-space: nowrap; }
.scene-tip.is-on { opacity: 1; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } .hero-stage { max-width: 560px; margin-inline: auto; width: 100%; } }

/* ---------- 7. Opportunity cards ---------- */
.opp-card { position: relative; display: flex; flex-direction: column; background: var(--raised); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; transition: transform 250ms var(--ease-out), border-color 250ms, box-shadow 250ms; }
.opp-card:hover, .opp-card:focus-within { transform: translateY(-4px); border-color: color-mix(in srgb, var(--primary) 70%, transparent); box-shadow: var(--glow); }
.opp-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--subtle); }
.opp-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.opp-card:hover .opp-media img { transform: scale(1.05); }
.opp-media .fallback { position: absolute; inset: 0; display: grid; place-items: center; color: var(--cat, var(--muted)); background: linear-gradient(135deg, color-mix(in srgb, var(--cat, var(--primary)) 16%, var(--subtle)), var(--subtle)); }
.opp-media .fallback .i { width: 44px; height: 44px; opacity: .8; }
.opp-media .verdict { position: absolute; top: 10px; left: 10px; z-index: 2; }
.opp-body { display: flex; flex-direction: column; gap: 9px; padding: 16px 16px 14px; flex: 1; }
.opp-title { font-size: 1.1875rem; line-height: 1.25; margin: 0; letter-spacing: -.015em; }
.opp-title a { color: var(--text); text-decoration: none; }
.opp-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.opp-title a:focus-visible { outline: none; }
.opp-title a:focus-visible::after { outline: 2px solid var(--focus); outline-offset: -2px; border-radius: var(--r); }
.opp-excerpt { margin: 0; color: var(--muted); font-size: .9375rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.opp-card .pill { position: relative; z-index: 2; align-self: flex-start; }
.stat-row { display: flex; flex-wrap: wrap; gap: 6px; }
.opp-card .meter i { transform: scaleX(1); transition: transform 400ms var(--ease-out); }
.opp-card:hover .meter i.on { animation: ho-fill 600ms var(--ease-out) both; }
.opp-card:hover .meter i.on:nth-child(2) { animation-delay: 80ms; }
.opp-card:hover .meter i.on:nth-child(3) { animation-delay: 160ms; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--border); color: var(--muted); font-size: .8125rem; }
.meta span { display: inline-flex; align-items: center; gap: 5px; }
.meta .i { width: 14px; height: 14px; }
.meta .upd { color: var(--primary); font-weight: 600; }
.opp-card--feature { grid-column: span 2; }
.opp-card--feature .opp-title { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.875rem); }
.opp-card--feature .opp-excerpt { -webkit-line-clamp: 3; font-size: 1rem; }
@media (min-width: 900px) {
	.opp-card--feature { display: grid; grid-template-columns: 1.15fr 1fr; }
	.opp-card--feature .opp-media { aspect-ratio: auto; min-height: 100%; }
}
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cards-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 20px; }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .opp-card--feature { grid-column: auto; } }
.skeleton .opp-media, .skeleton .sk { background: linear-gradient(90deg, var(--subtle), var(--border), var(--subtle)); background-size: 200% 100%; animation: ho-shimmer 1.2s linear infinite; }
.sk { height: 12px; border-radius: 6px; } .sk.w60 { width: 60%; } .sk.w80 { width: 80%; }
.load-more-wrap { display: flex; justify-content: center; margin-top: 36px; }

/* ---------- 8. Layout + sidebar ---------- */
.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(28px, 4vw, 48px); align-items: start; }
.sidebar { position: sticky; top: var(--sticky-top, calc(var(--header-h) + 60px)); display: grid; gap: 20px; }
@media (max-width: 1024px) { .with-sidebar { grid-template-columns: 1fr; } .sidebar { position: static; } }
.widget { background: var(--raised); border: 1px solid var(--border); border-radius: var(--r); padding: 18px; }
.widget-title { display: flex; align-items: center; gap: 8px; margin: -18px -18px 14px; padding: 12px 18px; border-bottom: 1px solid var(--border); font-family: var(--f-mono); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.widget-title .i { width: 15px; height: 15px; color: var(--primary); }
.widget ul, .widget ol { list-style: none; margin: 0; padding: 0; }
.w-trend li { display: grid; grid-template-columns: 26px 56px 1fr; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--border); }
.w-trend li:last-child { border: 0; padding-bottom: 0; }
.w-trend .rank { font-family: var(--f-mono); font-weight: 700; color: var(--primary); font-size: .875rem; }
.w-trend img, .w-trend .thumb-fallback { width: 56px; height: 56px; border-radius: var(--r-sm); object-fit: cover; background: var(--subtle); display: block; }
.w-trend a { color: var(--text); text-decoration: none; font-weight: 600; font-size: .9rem; line-height: 1.35; }
.w-trend a:hover { color: var(--primary); }
.w-cats a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 4px 6px; margin: 0 -6px; border-radius: var(--r-sm); color: var(--text); font-weight: 550; font-size: .9375rem; text-decoration: none; }
.w-cats a:hover { background: var(--subtle); }
.w-cats .ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 7px; background: color-mix(in srgb, var(--cat) 16%, transparent); color: var(--cat); flex: none; }
.w-cats .ic .i { width: 16px; height: 16px; }
.w-cats .count { margin-left: auto; font-family: var(--f-mono); font-size: .78rem; color: var(--muted); }
.w-scam li { padding: 9px 0; border-bottom: 1px solid var(--border); }
.w-scam li:last-child { border: 0; }
.w-scam a { display: block; margin-top: 4px; color: var(--text); font-weight: 600; font-size: .9rem; text-decoration: none; line-height: 1.35; }
.w-cta { background: linear-gradient(160deg, color-mix(in srgb, var(--primary) 18%, var(--raised)), var(--raised) 70%); }
.w-cta p { color: var(--muted); font-size: .9375rem; }
.w-cta .btn { width: 100%; }
.w-news p { color: var(--muted); font-size: .9375rem; }
.tag-pills, .widget_tag_cloud .tagcloud, .wp-block-tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-pills a, .widget_tag_cloud a, .wp-block-tag-cloud a { display: inline-flex; align-items: center; min-height: 32px; padding: 3px 11px; border-radius: var(--r-pill); border: 1px solid var(--border); background: var(--bg); color: var(--muted); font-size: .8125rem !important; font-weight: 550; text-decoration: none; }
.tag-pills a:hover, .widget_tag_cloud a:hover, .wp-block-tag-cloud a:hover { color: var(--text); border-color: var(--primary); }
.widget .wp-block-search__label, .widget .wp-block-heading { display: block; font-family: var(--f-mono); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.widget .wp-block-search__inside-wrapper { display: flex; gap: 6px; }
.widget .wp-block-search__input { flex: 1; min-width: 0; min-height: 44px; padding: 8px 12px; border: 1px solid var(--border-strong); border-radius: var(--r); background: var(--bg); color: var(--text); }
.widget .wp-block-search__button { min-height: 44px; margin: 0; padding: 8px 14px; border: 0; border-radius: var(--r); background: var(--primary); color: var(--on-primary); font-weight: 650; }
.widget .wp-block-latest-posts li, .widget .wp-block-categories li, .widget .wp-block-archives li, .widget_recent_entries li, .widget_categories li, .widget_archive li, .widget_pages li, .widget_nav_menu li, .widget_recent_comments li { padding: 8px 0; border-bottom: 1px solid var(--border); line-height: 1.45; }
.widget .wp-block-latest-posts a, .widget .wp-block-categories a, .widget .wp-block-archives a, .widget_recent_entries a, .widget_categories a, .widget_archive a, .widget_pages a, .widget_nav_menu a { color: var(--text); text-decoration: none; font-weight: 550; }
.widget li:last-child { border-bottom: 0; }
.widget select { width: 100%; min-height: 44px; }

/* ---------- 9. Forms ---------- */
.field { display: grid; gap: 6px; margin-bottom: 14px; min-width: 0; }
.field label, .field .label { font-weight: 600; font-size: .875rem; }
.field input, .field select, .field textarea, .input { width: 100%; min-height: 46px; padding: 9px 12px; border: 1px solid var(--border-strong); border-radius: var(--r); background: var(--bg); color: var(--text); font-size: 1rem; font-variant-numeric: tabular-nums; transition: border-color 150ms, box-shadow 150ms; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 25%, transparent); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .8125rem; font-weight: 600; min-height: 1em; }
fieldset.field { border: 0; margin: 0 0 14px; padding: 0; }
fieldset.field legend { padding: 0; margin-bottom: 6px; }
.form-status { margin: 12px 0 0; padding: 10px 14px; border-radius: var(--r); font-weight: 600; font-size: .9375rem; }
.form-status:empty { display: none; }
.form-status.is-ok { background: color-mix(in srgb, var(--primary) 14%, transparent); color: var(--primary); }
.form-status.is-err { background: color-mix(in srgb, var(--danger) 14%, transparent); color: var(--danger); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.inline-form { display: flex; flex-wrap: wrap; gap: 8px; }
.inline-form .input { flex: 1 1 220px; }
.input-affix { position: relative; }
.input-affix span { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; pointer-events: none; }
.input-affix input { padding-left: 28px; }

/* ---------- 10. Trending market board ---------- */
.board { --per: 3; position: relative; border: 1px solid var(--border); border-radius: 14px; background: var(--raised); overflow: hidden; }
.board-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 12px 16px; border-bottom: 1px solid var(--border); font-family: var(--f-mono); font-size: .75rem; color: var(--muted); }
.board-head .title { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.board-controls { margin-left: auto; display: flex; gap: 6px; }
.board-viewport { overflow: hidden; touch-action: pan-y; }
.board-track { display: flex; transition: transform 500ms var(--ease-out); will-change: transform; }
.board-track.is-dragging { transition: none; }
.board-cell { flex: 0 0 calc(100% / var(--per, 3)); padding: 16px; border-right: 1px solid var(--border); min-width: 0; }
.bcard { position: relative; display: flex; flex-direction: column; gap: 10px; height: 100%; }
.bcard .top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bcard .rank { font-family: var(--f-mono); font-size: .78rem; color: var(--muted); }
.bcard .media { position: relative; aspect-ratio: 16 / 8.5; border-radius: var(--r-sm); overflow: hidden; background: var(--subtle); }
.bcard .media img { width: 100%; height: 100%; object-fit: cover; }
.bcard .media .fallback { position: absolute; inset: 0; display: grid; place-items: center; color: var(--cat); background: linear-gradient(135deg, color-mix(in srgb, var(--cat) 18%, var(--subtle)), var(--subtle)); }
.bcard h3 { font-size: 1.125rem; line-height: 1.28; margin: 0; }
.bcard h3 a { color: var(--text); text-decoration: none; }
.bcard h3 a::after { content: ""; position: absolute; inset: 0; }
.bcard h3 a:hover { color: var(--primary); }
.bcard .pill { position: relative; z-index: 2; }
.spark { width: 100%; height: 38px; color: var(--primary); }
.spark path.area { fill: color-mix(in srgb, var(--primary) 14%, transparent); stroke: none; }
.spark path.line { fill: none; stroke: currentColor; stroke-width: 2; vector-effect: non-scaling-stroke; }
.board-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--border); }
.board-dots { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.board-dots button { width: 28px; height: 28px; padding: 0; border: 0; background: none; display: grid; place-items: center; }
.board-dots button::before { content: ""; width: 18px; height: 4px; border-radius: 2px; background: var(--border-strong); transition: background-color 150ms, transform 200ms; }
.board-dots button[aria-current="true"]::before { background: var(--primary); transform: scaleX(1.4); }
.board-note { font-size: .75rem; color: var(--muted); }
@media (max-width: 1024px) { .board { --per: 2; } }
@media (max-width: 640px) { .board { --per: 1; } }

/* ---------- 11. Pick your path ---------- */
.paths { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.path-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 18px; background: var(--raised); border: 1px solid var(--border); border-radius: var(--r); color: var(--text); text-decoration: none; transition: transform 220ms var(--ease-out), border-color 220ms; }
.path-card:hover { transform: translateY(-3px); border-color: var(--cat); text-decoration: none; }
.path-card .head { display: flex; align-items: center; gap: 10px; }
.path-card .ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 9px; background: color-mix(in srgb, var(--cat) 16%, transparent); color: var(--cat); }
.path-card h3 { font-size: 1.0625rem; margin: 0; line-height: 1.25; }
.path-card .bars { display: flex; align-items: flex-end; gap: 5px; height: 56px; padding-top: 4px; }
.path-card .bars i { flex: 1; height: 100%; border-radius: 3px 3px 0 0; background: color-mix(in srgb, var(--cat) 70%, transparent); transform-origin: bottom; transform: scaleY(var(--h, .1)); transition: transform 700ms var(--ease-out); }
.js .reveal .bars i, .js .path-card:not(.is-in) .bars i { transform: scaleY(.04); }
.js .path-card.is-in .bars i { transform: scaleY(var(--h, .1)); }
.path-card .bars i:nth-child(2) { transition-delay: 60ms; } .path-card .bars i:nth-child(3) { transition-delay: 120ms; } .path-card .bars i:nth-child(4) { transition-delay: 180ms; } .path-card .bars i:nth-child(5) { transition-delay: 240ms; } .path-card .bars i:nth-child(6) { transition-delay: 300ms; }
.path-card .bars-label { font-size: .7rem; color: var(--muted); font-family: var(--f-mono); margin-top: -6px; }
.path-card .stats { display: flex; justify-content: space-between; gap: 8px; padding-top: 10px; border-top: 1px solid var(--border); font-size: .8125rem; color: var(--muted); }
.path-card .stats b { display: block; font-family: var(--f-head); font-size: 1.125rem; color: var(--text); font-variant-numeric: tabular-nums; }
.path-card .go { position: absolute; top: 18px; right: 16px; color: var(--muted); transition: transform 200ms, color 200ms; }
.path-card:hover .go { color: var(--cat); transform: translate(2px, -2px); }

/* ---------- 12. Quiz ---------- */
.quiz { max-width: 860px; margin-inline: auto; }
.quiz-card { position: relative; padding: clamp(20px, 4vw, 36px); background: var(--raised); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); }
.quiz-progress { height: 4px; border-radius: 2px; background: var(--border); overflow: hidden; margin-bottom: 18px; }
.quiz-progress span { display: block; height: 100%; background: var(--primary); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform 400ms var(--ease-out); }
.quiz-step { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0; }
.quiz-q { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); margin: 6px 0 18px; }
.quiz-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.quiz-options button { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 12px 14px; text-align: left; border-radius: var(--r); border: 1px solid var(--border-strong); background: var(--bg); color: var(--text); font-weight: 600; transition: border-color 150ms, transform 150ms; }
.quiz-options button:hover { border-color: var(--primary); transform: translateY(-1px); }
.quiz-options button[aria-pressed="true"] { border-color: var(--primary); box-shadow: var(--glow); }
.quiz-options .i { color: var(--primary); }
.quiz-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 20px; }
.quiz-panel { animation: ho-in 300ms var(--ease-out); }
.match-list { display: grid; gap: 12px; margin: 16px 0; }
.match { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--border); border-radius: var(--r); background: var(--bg); animation: ho-in 400ms var(--ease-out) both; }
.match:first-child { border-color: var(--primary); box-shadow: var(--glow); }
.match .pos { font-family: var(--f-mono); font-weight: 700; font-size: 1.25rem; color: var(--primary); text-align: center; }
.match h4 { margin: 0 0 6px; font-size: 1.125rem; }
.match .pct { font-family: var(--f-head); font-size: 1.5rem; font-weight: 800; color: var(--primary); font-variant-numeric: tabular-nums; text-align: right; }
.match .pct small { display: block; font-family: var(--f-body); font-size: .7rem; font-weight: 600; color: var(--muted); }
.match a { font-weight: 600; font-size: .875rem; }
@media (max-width: 560px) { .match { grid-template-columns: 1fr auto; } .match .pos { display: none; } }

/* ---------- 13. Roadmap timeline ---------- */
.roadmap { position: relative; max-width: 900px; margin-inline: auto; padding-left: 36px; }
.roadmap::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.roadmap-line { position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: var(--primary); transform-origin: top; transform: scaleY(var(--draw, 1)); box-shadow: 0 0 12px color-mix(in srgb, var(--primary) 50%, transparent); }
.rm-step { position: relative; padding: 0 0 28px; }
.rm-step:last-child { padding-bottom: 0; }
.rm-step .node { position: absolute; left: -36px; top: 2px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); border: 2px solid var(--border-strong); font-family: var(--f-mono); font-size: .7rem; font-weight: 700; color: var(--muted); transition: border-color 300ms, color 300ms, background-color 300ms; }
.rm-step.is-lit .node { border-color: var(--primary); color: var(--on-primary); background: var(--primary); }
.rm-step .card { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-items: center; padding: 16px 18px; background: var(--raised); border: 1px solid var(--border); border-radius: var(--r); }
.rm-step .card h3 { font-size: 1.125rem; margin: 0 0 4px; }
.rm-step .card h3 a { color: var(--text); text-decoration: none; }
.rm-step .card h3 a:hover { color: var(--primary); }
.rm-step .card p { margin: 0; color: var(--muted); font-size: .9375rem; }
.rm-step .when { font-family: var(--f-mono); font-size: .75rem; color: var(--primary); white-space: nowrap; }
@media (max-width: 560px) { .rm-step .card { grid-template-columns: 1fr; } }

/* ---------- 14. Tools ---------- */
.tools-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; padding: 5px; background: var(--raised); border: 1px solid var(--border); border-radius: var(--r); width: fit-content; max-width: 100%; }
.tools-tabs [role="tab"] { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border-radius: var(--r-sm); border: 0; background: transparent; color: var(--muted); font-weight: 600; font-size: .9375rem; }
.tools-tabs [role="tab"][aria-selected="true"] { background: var(--subtle); color: var(--text); box-shadow: inset 0 -2px 0 var(--primary); }
.tool-card { padding: clamp(18px, 3vw, 28px); background: var(--raised); border: 1px solid var(--border); border-radius: var(--r); }
.tool-card h3 { font-size: 1.375rem; margin-bottom: 4px; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 0 16px; }
.tool-result { margin-top: 12px; padding: 16px 18px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--border); }
.tool-result:empty { display: none; }
.tool-result .range { display: block; font-family: var(--f-head); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 800; color: var(--primary); font-variant-numeric: tabular-nums; line-height: 1.2; }
.tool-result .rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 10px; }
.tool-result .rows div { padding: 8px 10px; border-radius: var(--r-sm); background: var(--raised); border: 1px solid var(--border); font-size: .8125rem; color: var(--muted); }
.tool-result .rows b { display: block; font-size: 1rem; color: var(--text); font-variant-numeric: tabular-nums; }
.tool-disclaimer { display: flex; gap: 6px; align-items: flex-start; margin: 12px 0 0; font-size: .78rem; color: var(--muted); line-height: 1.5; }
.tool-disclaimer .i { width: 14px; height: 14px; margin-top: 2px; }

/* ---------- 15. Scam alerts ---------- */
.scam-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.scam-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 16px; background: var(--raised); border: 1px solid color-mix(in srgb, var(--danger) 45%, var(--border)); border-left: 3px solid var(--danger); border-radius: var(--r); }
.scam-card h3 { font-size: 1.0625rem; margin: 0; line-height: 1.3; }
.scam-card h3 a { color: var(--text); text-decoration: none; }
.scam-card h3 a::after { content: ""; position: absolute; inset: 0; }
.scam-card h3 a:hover { color: var(--danger); }
.scam-card .score { font-family: var(--f-mono); font-size: .8125rem; color: var(--muted); }
.scam-card .score b { color: var(--danger); }

/* ---------- 16. Newsletter ---------- */
.newsletter-band { position: relative; padding-block: clamp(40px, 6vw, 72px); border-top: 1px solid var(--border); overflow: hidden; background: radial-gradient(900px 300px at 85% 0%, color-mix(in srgb, var(--primary) 12%, transparent), transparent 70%), var(--raised); }
.newsletter-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; }
.newsletter-band h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); margin-bottom: 8px; }
.newsletter-band p { color: var(--muted); max-width: 52ch; }
.newsletter-band small { display: block; margin-top: 10px; color: var(--muted); }
@media (max-width: 800px) { .newsletter-inner { grid-template-columns: 1fr; } }

/* ---------- 17. Q&A terminal ---------- */
.terminal { max-width: 900px; margin-inline: auto; border-radius: 12px; overflow: hidden; border: 1px solid #252938; background: var(--term-bg); color: var(--term-text); font-family: var(--f-mono); box-shadow: var(--shadow-lg); }
.terminal-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #10121A; border-bottom: 1px solid #252938; font-size: .75rem; color: var(--term-muted); }
.terminal-bar .tl { display: inline-flex; gap: 6px; } .terminal-bar .tl i { width: 10px; height: 10px; border-radius: 50%; background: #3a3f52; }
.terminal-bar .tl i:first-child { background: #F43F5E; } .terminal-bar .tl i:nth-child(2) { background: #FBBF24; } .terminal-bar .tl i:nth-child(3) { background: #A3E635; }
.terminal-body { padding: 14px clamp(12px, 3vw, 22px) 18px; }
.term-item + .term-item { border-top: 1px dashed #252938; }
.term-h { margin: 0; font: inherit; }
.term-q { display: flex; align-items: flex-start; gap: 10px; width: 100%; min-height: 48px; padding: 12px 4px; background: none; border: 0; color: #F1F5F9; text-align: left; font: inherit; font-size: .9375rem; line-height: 1.5; }
.term-q .ps { color: #A3E635; flex: none; }
.term-q .cmd { color: #22D3EE; flex: none; }
.term-q .txt { flex: 1; }
.term-q .caret { flex: none; color: var(--term-muted); transition: transform var(--dur); }
.term-q[aria-expanded="true"] .caret { transform: rotate(90deg); color: #A3E635; }
.term-q:focus-visible { outline: 2px solid #22D3EE; outline-offset: 0; }
.term-a { padding: 0 4px 14px 26px; font-size: .875rem; line-height: 1.75; color: #D8DEE9; }
.term-a[hidden] { display: none; }
.term-a .line { display: block; }
.term-a .line::before { content: "> "; color: var(--term-muted); }
.js .term-a.is-typing .line { opacity: 0; transform: translateY(4px); animation: ho-line 300ms var(--ease-out) forwards; animation-delay: var(--ld, 0ms); }
.term-cursor { display: inline-block; width: 8px; height: 1em; margin-left: 4px; vertical-align: -2px; background: #A3E635; animation: ho-blink 1s steps(1) infinite; }
.faq-note { text-align: center; color: var(--muted); font-size: .875rem; margin-top: 18px; display: flex; justify-content: center; gap: 6px; align-items: center; }

/* ---------- 18. Footer ---------- */
.site-footer { position: relative; margin-top: 64px; background: var(--raised); border-top: 1px solid var(--border); }
.newsletter-band + .site-footer { margin-top: 0; }
.footer-chart { position: absolute; left: 0; right: 0; bottom: 100%; height: 56px; overflow: hidden; pointer-events: none; color: var(--primary); }
.footer-chart svg { position: absolute; bottom: -1px; left: 0; width: 200%; max-width: none; height: 56px; animation: ho-wave 26s linear infinite; }
.footer-chart .area { fill: var(--raised); }
.footer-chart .line { fill: none; stroke: currentColor; stroke-width: 2; vector-effect: non-scaling-stroke; opacity: .9; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-block: 44px 34px; }
.footer-main h2 { font-family: var(--f-mono); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer-main ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer-main li a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; color: var(--text); font-size: .9375rem; text-decoration: none; }
.footer-main li a:hover { color: var(--primary); }
.footer-main li a .i { width: 15px; height: 15px; color: var(--cat, var(--muted)); }
.footer-about p { color: var(--muted); font-size: .9375rem; margin-top: 12px; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r); border: 1px solid var(--border); color: var(--text); transition: border-color 150ms, color 150ms; }
.socials a:hover { border-color: var(--primary); color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); padding-block: 18px 24px; font-size: .875rem; color: var(--muted); }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; }
.footer-bottom p { margin: 0; }
@media (max-width: 960px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-main { grid-template-columns: 1fr; } }

.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 55; width: 52px; height: 52px; padding: 0; border: 1px solid var(--border); border-radius: 50%; background: var(--raised); color: var(--text); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity var(--dur), transform var(--dur) var(--ease-out), visibility var(--dur); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top .ring { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); transform: rotate(-90deg); }
.to-top .ring circle { fill: none; stroke-width: 3; }
.to-top .ring .track { stroke: transparent; }
.to-top .ring .bar { stroke: var(--primary); stroke-linecap: round; stroke-dasharray: 151; stroke-dashoffset: calc(151 - 151 * var(--p, 0)); }
.to-top > .i { position: absolute; inset: 0; margin: auto; width: 20px; height: 20px; }

/* ---------- 19. Pages ---------- */
.page-hero { position: relative; padding-block: clamp(28px, 5vw, 56px) 18px; }
.page-hero h1 { font-size: clamp(2rem, 1.5rem + 2.4vw, 3.25rem); letter-spacing: -.03em; }
.archive-desc { color: var(--muted); max-width: 66ch; }
.archive-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 12px; background: color-mix(in srgb, var(--cat, var(--primary)) 16%, transparent); color: var(--cat, var(--primary)); margin-bottom: 16px; }
.archive-icon .i { width: 28px; height: 28px; }
.pagination, .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 40px; }
.page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--r); border: 1px solid var(--border); background: var(--raised); color: var(--text); font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; }
.page-numbers.current { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.page-numbers.dots { border: 0; background: none; }
.breadcrumbs { font-size: .875rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumbs li + li::before { content: "/"; opacity: .5; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs [aria-current] { color: var(--text); }
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.625rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 6px; }
.page-layout { padding-bottom: 40px; }
.card-panel { padding: clamp(18px, 3.5vw, 36px); background: var(--raised); border: 1px solid var(--border); border-radius: var(--r); }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.steps-intro { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; margin: 20px 0 40px; }
.steps-intro .card-panel { padding: 18px; }
.steps-intro .n { font-family: var(--f-mono); color: var(--primary); font-size: .8125rem; font-weight: 700; }
.steps-intro h3 { font-size: 1.125rem; margin: 6px 0; }
.steps-intro p { color: var(--muted); font-size: .9375rem; margin: 0; }

/* Empty / 404 */
.empty-state { text-align: center; padding-block: 20px 44px; }
.empty-state h1, .empty-state h2 { font-size: clamp(1.875rem, 1.4rem + 2vw, 3rem); }
.empty-state p { color: var(--muted); max-width: 52ch; margin-inline: auto; }
.empty-state .search-form { max-width: 520px; margin: 22px auto 0; }
.crash { position: relative; width: min(520px, 100%); margin: 0 auto 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--raised); padding: 14px; }
.crash svg { width: 100%; height: auto; overflow: visible; }
.crash .grid line { stroke: var(--border); stroke-width: 1; }
.crash .fall { fill: none; stroke: var(--danger); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.crash .fall-wrap { transform-origin: 0 0; animation: ho-crash 2.4s var(--ease-out) both; }
.crash .code { font-family: var(--f-mono); font-size: 2.75rem; font-weight: 800; fill: var(--danger); }
.crash .tick { font-family: var(--f-mono); font-size: 11px; fill: var(--muted); }

/* Ads */
.ad-slot { display: grid; place-items: center; margin: 28px auto; width: 100%; max-width: 728px; min-height: 280px; overflow: hidden; }
.ad-slot--sidebar { min-height: 600px; max-width: 300px; }
.ad-slot--below { min-height: 250px; }
.ad-slot::before { content: attr(data-label); display: block; width: 100%; font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: center; }
@media (max-width: 760px) { .ad-slot { min-height: 300px; } .ad-slot--sidebar { min-height: 280px; } }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .opp-card.reveal.is-in:hover, .js .opp-card.reveal.is-in:focus-within { transform: translateY(-4px); transition-delay: 0ms; }
.js .path-card.reveal.is-in:hover { transform: translateY(-3px); transition-delay: 0ms; }

/* ---------- 20. Keyframes ---------- */
@keyframes ho-ticker { to { transform: translateX(-50%); } }
@keyframes ho-pulse { 0% { box-shadow: 0 0 0 0 rgba(163, 230, 53, .45); } 70% { box-shadow: 0 0 0 8px rgba(163, 230, 53, 0); } 100% { box-shadow: 0 0 0 0 rgba(163, 230, 53, 0); } }
@keyframes ho-spin { to { transform: rotate(360deg); } }
@keyframes ho-shimmer { to { background-position: -200% 0; } }
@keyframes ho-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ho-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes ho-line { to { opacity: 1; transform: none; } }
@keyframes ho-blink { 50% { opacity: 0; } }
@keyframes ho-wave { to { transform: translateX(-50%); } }
@keyframes ho-crash { 0% { transform: rotate(-8deg) translateY(-40px); opacity: 0; } 30% { opacity: 1; } 100% { transform: none; opacity: 1; } }

/* ---------- 21. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
	.ticker-track { animation: none !important; }
	.ticker-viewport { overflow-x: auto; -webkit-mask: none; mask: none; }
	.footer-chart svg, .live-dot, .term-cursor { animation: none !important; }
	.js .term-a.is-typing .line { opacity: 1; transform: none; animation: none; }
	.js .path-card .bars i { transform: scaleY(var(--h, .1)) !important; }
}

/* ---------- 22. WordPress core ---------- */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, figcaption { font-size: .8125rem; color: var(--muted); text-align: center; margin-top: 8px; }
.sticky .opp-card { border-color: var(--secondary); }
.bypostauthor, .gallery-caption { }
.roadmap ol { list-style: none; margin: 0; padding: 0; }
