/*
Theme Name: ThemeHarvest Console
Theme URI: https://themeharvest.co.in/
Author: ThemeHarvest
Author URI: https://themeharvest.co.in/
Description: A dark "package manager" storefront theme for selling WHMCS modules and themes. Live search and category filter, version and changelog for every product, WHMCS-linked Buy buttons, quote form, reviews and FAQ. Products are managed under "WHMCS Products" in the admin; text and links under Appearance → Customize → ThemeHarvest settings.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: themeharvest
Tags: e-commerce, dark, custom-menu, custom-logo, featured-images
*/

/* ---------- Tokens ---------- */
:root {
	--bg: #0A110E;
	--bg-2: #0D1512;
	--bg-3: #0F1814;
	--bg-4: #131E19;
	--bg-5: #17241E;
	--line: #1C2A24;
	--line-2: #22302A;
	--line-3: #2B3B33;
	--text: #E7EEEA;
	--white: #FFFFFF;
	--muted: #A9B8B0;
	--muted-2: #95A69D;
	--muted-3: #6F8178;
	--gold: #F2B33D;
	--gold-2: #F5C55E;
	--gold-bg: #2A2310;
	--green: #3DDC97;
	--green-bg: #142A1F;
	--t-green: #5EEAD4; --t-green-bg: #0F2622;
	--t-gold: #F5C55E; --t-gold-bg: #2A2310;
	--t-blue: #93C5FD; --t-blue-bg: #15203A;
	--t-coral: #FDA58F; --t-coral-bg: #2E1A14;
	--t-purple: #C4B5FD; --t-purple-bg: #241A33;
	--t-pink: #F9A8D4; --t-pink-bg: #2E1626;
	--sans: Geist, system-ui, -apple-system, "Segoe UI", sans-serif;
	--mono: "Geist Mono", ui-monospace, Menlo, monospace;
	--wrap: 1280px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); }
a:hover { color: #FFD98A; }
h1, h2, h3, h4 { margin: 0; color: var(--white); }
p { margin: 0; }
button, input, select, textarea { font: inherit; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.screen-reader-text:focus { clip: auto; width: auto; height: auto; padding: 10px 16px; background: var(--gold); color: var(--bg); z-index: 100; top: 8px; left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.mono { font-family: var(--mono); }
.path { font-family: var(--mono); font-size: 12px; color: var(--gold-2); margin-bottom: 10px; }
.h-section { font-size: clamp(32px, 3.6vw, 44px); letter-spacing: -0.035em; font-weight: 800; line-height: 1.05; }
.section { padding-top: 110px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 32px; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 14px; padding: 9px 16px; border-radius: 9px; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s; min-height: 40px; }
.btn--gold { background: var(--gold); color: var(--bg); font-weight: 700; }
.btn--gold:hover { background: var(--gold-2); color: var(--bg); }
.btn--ghost { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn--ghost:hover { background: #15211C; border-color: #34463D; color: var(--white); }
.btn--lg { padding: 15px 24px; font-size: 16px; border-radius: 11px; }
.btn--sm { padding: 8px 12px; font-size: 13px; border-radius: 8px; min-height: 36px; }

/* ---------- Release bar + header ---------- */
.release { border-bottom: 1px solid var(--line); font-size: 13px; }
.release .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; align-items: center; color: var(--muted); padding-top: 9px; padding-bottom: 9px; }
.release__tag { font-family: var(--mono); background: var(--gold-bg); color: var(--gold-2); padding: 2px 8px; border-radius: 5px; font-size: 11px; }
.release a { font-weight: 600; text-decoration: none; }

.site-header { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: rgba(10,17,14,0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); z-index: 30; }
.admin-bar .site-header { top: 32px; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.brand:hover { color: var(--white); }
.brand svg, .brand img { width: 32px; height: 32px; }
.brand span { font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.main-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; font-size: 14px; font-weight: 500; flex: 1 1 auto; }
.main-nav a { color: var(--muted); text-decoration: none; padding: 6px 0; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--white); }
.header-actions { display: flex; gap: 8px; align-items: center; }
.kbd { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); border-radius: 9px; padding: 8px 10px; text-decoration: none; color: var(--muted-2); font-size: 13px; }
.kbd span { font-family: var(--mono); font-size: 11px; }
.nav-toggle { display: none; background: transparent; border: 1px solid var(--line-2); border-radius: 9px; width: 42px; height: 42px; align-items: center; justify-content: center; cursor: pointer; color: var(--text); }

/* ---------- Hero ---------- */
.hero { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 80px; padding-bottom: 72px; }
.hero__copy { flex: 1 1 500px; min-width: 0; }
.pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 12px; font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 26px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); display: inline-block; }
.hero h1 { font-size: clamp(44px, 5.6vw, 68px); line-height: 1.0; letter-spacing: -0.045em; font-weight: 800; margin-bottom: 22px; }
.hero h1 span { color: var(--gold); }
.hero__text { color: var(--muted); font-size: 19px; margin-bottom: 34px; max-width: 540px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; color: var(--muted); }
.stars { color: var(--gold); }
.hero__art { flex: 1 1 500px; min-width: 0; position: relative; padding-bottom: 44px; }

.window { background: var(--bg-3); border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,0.5); }
.window__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); background: #0C1411; }
.window__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-3); }
.window__bar span { margin-left: 10px; font-family: var(--mono); font-size: 11px; color: var(--muted-2); }
.window__body { padding: 22px; }
.window__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.window__head b { display: block; font-size: 17px; color: var(--white); }
.window__head small { font-size: 13px; color: var(--muted-2); }
.badge-green { font-family: var(--mono); font-size: 12px; background: var(--green-bg); color: var(--green); padding: 5px 10px; border-radius: 6px; white-space: nowrap; }
.pkg-list { display: flex; flex-direction: column; gap: 8px; }
.pkg { display: flex; align-items: center; gap: 12px; background: var(--bg-4); border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px; }
.pkg__name { flex: 1 1 auto; min-width: 0; }
.pkg__name b { display: block; font-weight: 600; font-size: 14px; }
.pkg__name small { font-family: var(--mono); font-size: 11px; color: var(--muted-2); }
.pkg__ok { color: var(--green); font-size: 12px; font-weight: 600; }
.pkg__update { background: var(--gold); color: var(--bg); font-weight: 700; font-size: 12px; padding: 6px 10px; border-radius: 7px; }
.toast { position: absolute; left: -22px; bottom: 0; background: #FFFFFF; color: var(--bg); border-radius: 12px; padding: 12px 16px; display: flex; gap: 10px; align-items: center; box-shadow: 0 20px 40px rgba(0,0,0,0.45); }
.toast__icon { width: 30px; height: 30px; border-radius: 50%; background: #D5F6E6; display: flex; align-items: center; justify-content: center; }
.toast b { display: block; font-size: 13px; }
.toast small { font-size: 12px; color: #4E5F57; }

/* Product icon tile */
.ico { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 12px; font-weight: 500; }
.ico--sm { width: 34px; height: 34px; border-radius: 8px; font-size: 11px; }
.ico--lg { width: 64px; height: 64px; border-radius: 14px; font-size: 16px; }
.tone-green { background: var(--t-green-bg); color: var(--t-green); }
.tone-gold { background: var(--t-gold-bg); color: var(--t-gold); }
.tone-blue { background: var(--t-blue-bg); color: var(--t-blue); }
.tone-coral { background: var(--t-coral-bg); color: var(--t-coral); }
.tone-purple { background: var(--t-purple-bg); color: var(--t-purple); }
.tone-pink { background: var(--t-pink-bg); color: var(--t-pink); }
.dot-green { background: var(--t-green); } .dot-gold { background: var(--t-gold); } .dot-blue { background: var(--t-blue); }
.dot-coral { background: var(--t-coral); } .dot-purple { background: var(--t-purple); } .dot-pink { background: var(--t-pink); } .dot-all { background: var(--text); }

/* ---------- Works-with strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 36px; padding-top: 22px; padding-bottom: 22px; font-family: var(--mono); font-size: 13px; color: var(--muted-3); text-transform: uppercase; }
.strip .wrap span:first-child { color: var(--muted); }

/* ---------- Catalog ---------- */
.catalog { scroll-margin-top: 90px; }
.search { flex: 0 1 380px; display: flex; align-items: center; gap: 10px; background: var(--bg-3); border: 1px solid var(--line-2); border-radius: 11px; padding: 0 14px; }
.search:focus-within { border-color: var(--gold); }
.search input { flex: 1 1 auto; min-width: 0; background: transparent; border: 0; outline: none; color: var(--text); padding: 12px 0; }
.search input::-webkit-search-cancel-button { filter: invert(1); }
.catalog__body { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.cat-side { flex: 1 1 230px; max-width: 100%; display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
.cat-btn { display: flex; justify-content: space-between; align-items: center; width: 100%; text-align: left; border: 0; background: transparent; color: #C3D0C9; font-size: 14px; font-weight: 500; padding: 10px 12px; border-radius: 9px; cursor: pointer; min-height: 44px; text-decoration: none; }
.cat-btn:hover { background: #15211C; color: var(--white); }
.cat-btn.is-active { background: var(--bg-5); color: var(--white); }
.cat-btn > span { display: flex; gap: 10px; align-items: center; }
.cat-btn i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.cat-btn small { font-family: var(--mono); font-size: 12px; color: var(--muted-2); }
.cat-side__cta { margin: 10px 4px 4px; border-top: 1px solid var(--line); padding: 14px 8px 4px; }
.cat-side__cta b { display: block; font-size: 14px; margin-bottom: 4px; }
.cat-side__cta a { font-size: 14px; font-weight: 600; text-decoration: none; }
.catalog__main { flex: 999 1 640px; min-width: 0; }
.catalog__meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 14px; color: var(--muted-2); }
.catalog__meta strong { color: var(--text); }
.table-box { position: relative; border: 1px solid var(--line); border-radius: 14px; overflow-x: auto; }
.table { min-width: 820px; }
.trow { display: grid; grid-template-columns: 2.8fr 0.8fr 1fr 0.8fr 1.4fr; gap: 16px; padding: 18px 20px; align-items: center; border-bottom: 1px solid var(--line); }
.trow:last-child { border-bottom: 0; }
.trow:hover { background: #101A16; }
.trow--head { padding: 12px 20px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--muted-2); background: #0E1613; text-transform: uppercase; }
.trow--head:hover { background: #0E1613; }
.trow[hidden] { display: none; }
.trow__pkg { display: flex; gap: 14px; align-items: center; min-width: 0; }
.trow__name { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.trow__name a { font-weight: 600; color: var(--white); text-decoration: none; }
.trow__name a:hover { color: var(--gold-2); }
.trow__desc { font-size: 13px; color: var(--muted-2); }
.tag-new { font-family: var(--mono); font-size: 10px; background: var(--gold-bg); color: var(--gold-2); padding: 2px 6px; border-radius: 4px; text-transform: uppercase; }
.trow__ver { font-family: var(--mono); font-size: 13px; }
.trow__ver small, .trow__price small { display: block; font-size: 11px; color: var(--muted-3); font-weight: 400; }
.trow__price { font-weight: 700; color: var(--white); }
.trow__price s { color: var(--muted-3); font-weight: 400; font-size: 12px; margin-left: 4px; }
.trow__rate { font-size: 13px; }
.trow__actions { display: flex; gap: 8px; justify-content: flex-end; }
.empty { padding: 48px 20px; text-align: center; }
.empty b { display: block; color: var(--white); margin-bottom: 6px; }
.empty p { color: var(--muted-2); font-size: 14px; margin-bottom: 16px; }

/* ---------- Feature (theme spotlight) ---------- */
.spot { border: 1px solid var(--line-2); border-radius: 20px; overflow: hidden; display: flex; flex-wrap: wrap; background: var(--bg-3); }
.spot__copy { flex: 1 1 400px; min-width: 0; padding: 52px 48px; }
.spot__copy h2 { margin-bottom: 16px; }
.spot__copy > p { color: var(--muted); font-size: 17px; margin-bottom: 26px; }
.ticks { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; color: #D3DED8; font-size: 14px; }
.ticks li::before { content: "✓ "; color: var(--gold); }
.spot__ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.spot__ctas a.link { font-weight: 600; text-decoration: none; }
.spot__shot { flex: 1 1 500px; min-width: 0; padding: 40px 0 0 40px; display: flex; align-items: flex-end; background: var(--bg-4); }
.spot__shot img { border-radius: 12px 0 0 0; width: 100%; }
.lmock { background: #F6F8F7; color: #10201A; border-radius: 12px 0 0 0; width: 100%; overflow: hidden; }
.lmock__top { background: #FFFFFF; border-bottom: 1px solid #E1E7E4; padding: 12px 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; }
.lmock__top b { font-size: 15px; }
.lmock__top span { color: #5A6B63; }
.lmock__top i { width: 28px; height: 28px; border-radius: 50%; background: #10201A; flex: 0 0 auto; }
.lmock__body { padding: 20px; }
.lmock__hello { font-weight: 700; font-size: 20px; margin-bottom: 14px; }
.lmock__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.lmock__stats div { background: #FFFFFF; border: 1px solid #E1E7E4; border-radius: 10px; padding: 12px; font-size: 11px; color: #5A6B63; }
.lmock__stats div.due { background: #FFF6E0; border-color: #F1DFAE; }
.lmock__stats b { display: block; font-size: 20px; color: #10201A; }
.lmock__rows { background: #FFFFFF; border: 1px solid #E1E7E4; border-radius: 10px; font-size: 13px; }
.lmock__rows div { display: flex; justify-content: space-between; padding: 11px 14px; border-bottom: 1px solid #E1E7E4; }
.lmock__rows div:last-child { border-bottom: 0; }
.ok { color: #0E7A4C; font-weight: 600; }
.warn { color: #9A6A00; font-weight: 600; }

/* ---------- Why tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; }
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.tile { border: 1px solid var(--line); border-radius: 16px; padding: 26px; background: var(--bg-2); transition: border-color .15s; }
.tile:hover { border-color: #34463D; }
.tile h3 { margin: 16px 0 6px; font-size: 18px; }
.tile p { color: var(--muted); font-size: 14px; }

/* ---------- Build + form ---------- */
.build { display: flex; flex-wrap: wrap; gap: 20px; scroll-margin-top: 90px; }
.build__copy { flex: 1 1 420px; min-width: 0; }
.build__copy > p { color: var(--muted); font-size: 17px; margin: 16px 0 32px; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line-3); }
.timeline li { padding: 0 0 22px 22px; position: relative; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 5px; width: 11px; height: 11px; border-radius: 50%; background: var(--line-3); }
.timeline li:first-child::before { background: var(--gold); }
.timeline li:last-child::before { background: var(--green); }
.timeline b { color: var(--white); }
.timeline p { color: var(--muted-2); font-size: 14px; }
.th-form { flex: 1 1 420px; min-width: 0; border: 1px solid #4A3B16; border-radius: 18px; padding: 30px; background: #12110B; display: flex; flex-direction: column; gap: 16px; }
.build__form { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; }
.build__form .th-form { flex: 1 1 auto; }
.build__form-head { margin-bottom: 12px; }
.build__form-head b { display: block; font-weight: 700; font-size: 20px; color: var(--white); }
.build__form-head small { font-size: 14px; color: #B8AE93; }
.th-form__row { display: flex; flex-wrap: wrap; gap: 12px; }
.th-form__row .th-form__field { flex: 1 1 180px; }
.th-form__field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.th-form__field input, .th-form__field select, .th-form__field textarea { background: var(--bg); color: var(--text); border: 1px solid #3A3220; border-radius: 9px; padding: 12px; font-weight: 400; }
.th-form__field input:focus, .th-form__field select:focus, .th-form__field textarea:focus { border-color: var(--gold); outline: none; }
.th-form__field textarea { resize: vertical; }
.th-form__submit { background: var(--gold); color: var(--bg); border: 0; border-radius: 11px; padding: 14px; font-weight: 700; font-size: 16px; cursor: pointer; }
.th-form__submit:hover { background: var(--gold-2); }
.th-form__hp { position: absolute; left: -9999px; }
.th-form__notice { background: var(--green-bg); color: var(--green); border-radius: 8px; padding: 12px 14px; font-size: 14px; }
.th-form__notice--error { background: #2E1614; color: #FDA58F; }

/* ---------- Reviews ---------- */
.score { display: flex; align-items: center; gap: 14px; }
.score b { font-size: 48px; font-weight: 800; letter-spacing: -0.04em; color: var(--white); }
.score small { display: block; font-size: 13px; color: var(--muted-2); }
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.review { margin: 0; border: 1px solid var(--line); border-radius: 16px; padding: 24px; background: var(--bg-2); display: flex; flex-direction: column; gap: 16px; }
.review__top { display: flex; justify-content: space-between; gap: 10px; font-family: var(--mono); font-size: 12px; }
.review__top span:last-child { color: var(--muted-2); }
.review blockquote { margin: 0; color: #D3DED8; flex: 1 1 auto; }
.review figcaption { display: flex; gap: 10px; align-items: center; }
.review figcaption i { width: 36px; height: 36px; border-radius: 50%; background: var(--line); display: flex; align-items: center; justify-content: center; font-style: normal; font-weight: 700; font-size: 13px; }
.review figcaption b { display: block; font-weight: 600; font-size: 14px; color: var(--white); }
.review figcaption small { font-size: 12px; color: var(--muted-2); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-wrap: wrap; gap: 48px; }
.faq__intro { flex: 1 1 300px; }
.faq__intro a { display: inline-block; margin-top: 14px; font-weight: 600; text-decoration: none; }
.faq__list { flex: 2 1 600px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-weight: 600; font-size: 17px; color: var(--white); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin-top: 10px; }

/* ---------- CTA + footer ---------- */
.cta { margin-top: 110px; margin-bottom: 96px; background: var(--gold); color: var(--bg); border-radius: 24px; padding: 60px 52px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; }
.cta__copy { flex: 1 1 520px; }
.cta__copy .mono { font-size: 13px; margin-bottom: 12px; }
.cta h2 { color: var(--bg); font-size: clamp(36px, 4.4vw, 52px); letter-spacing: -0.04em; font-weight: 800; line-height: 1; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta__actions a { text-decoration: none; font-weight: 700; padding: 16px 24px; border-radius: 11px; }
.cta__dark { background: var(--bg); color: var(--white); }
.cta__dark:hover { color: var(--gold-2); }
.cta__light { background: var(--white); color: var(--bg); }
.cta__light:hover { color: var(--bg); background: #F4F1E6; }

.site-footer { border-top: 1px solid var(--line); background: #080D0B; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 60px; }
.footer-about { flex: 1 1 300px; }
.footer-about .brand { margin-bottom: 12px; }
.footer-about p { color: var(--muted-2); font-size: 14px; margin-bottom: 16px; max-width: 300px; }
.status { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 12px; color: var(--muted); margin-bottom: 18px; }
.footer-col { flex: 1 1 140px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-col h3 { font-family: var(--mono); font-size: 11px; color: var(--muted-3); font-weight: 400; text-transform: uppercase; }
.footer-col a, .footer-legal a { color: var(--muted-2); text-decoration: none; }
.footer-col a:hover, .footer-legal a:hover { color: var(--white); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding: 20px 0 30px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted-3); }
.footer-legal nav { display: flex; gap: 18px; }
.th-subscribe { display: flex; flex-wrap: wrap; gap: 8px; max-width: 360px; }
.th-subscribe input { flex: 1 1 180px; min-width: 0; background: var(--bg-3); border: 1px solid var(--line-2); color: var(--text); border-radius: 9px; padding: 11px 13px; font-size: 14px; }
.th-subscribe button { background: var(--gold); color: var(--bg); border: 0; border-radius: 9px; padding: 11px 16px; font-weight: 700; font-size: 14px; cursor: pointer; }
.th-subscribe__ok { width: 100%; font-size: 13px; color: var(--green); }

/* ---------- Product page ---------- */
.crumbs { font-family: var(--mono); font-size: 12px; padding-top: 32px; color: var(--muted-3); }
.crumbs a { color: var(--muted-2); text-decoration: none; }
.crumbs a:hover { color: var(--white); }
.p-hero { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-top: 28px; padding-bottom: 64px; }
.p-hero__main { flex: 1 1 620px; min-width: 0; }
.p-title { display: flex; gap: 18px; align-items: center; margin-bottom: 18px; }
.p-title h1 { font-size: clamp(36px, 4.6vw, 56px); letter-spacing: -0.04em; font-weight: 800; line-height: 1.02; }
.p-lede { color: var(--muted); font-size: 18px; max-width: 680px; margin-bottom: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip { border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 11px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.shot { border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; background: var(--bg-3); }
.shot__ph { aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 56px; }
.buy { flex: 0 1 360px; position: sticky; top: 100px; border: 1px solid var(--line-2); border-radius: 18px; background: var(--bg-3); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.buy__price { font-size: 48px; font-weight: 800; letter-spacing: -0.04em; color: var(--white); line-height: 1; }
.buy__price s { font-size: 20px; color: var(--muted-3); font-weight: 500; margin-left: 8px; }
.buy__period { font-family: var(--mono); font-size: 12px; color: var(--muted-2); margin-bottom: 8px; }
.buy .btn { width: 100%; }
.specs { border-top: 1px solid var(--line); margin-top: 8px; }
.specs div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.specs span { color: var(--muted-2); }
.specs b { color: var(--white); font-weight: 600; text-align: right; }
.buy__note { font-size: 12px; color: var(--muted-2); text-align: center; }
.feat-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.feat-grid li { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; background: var(--bg-2); display: flex; gap: 10px; }
.feat-grid li::before { content: "✓"; color: var(--gold); font-weight: 700; }
.p-body { display: flex; flex-wrap: wrap; gap: 40px; padding-top: 64px; }
.p-body__content { flex: 2 1 600px; min-width: 0; }
.p-body__side { flex: 1 1 320px; }
.side-box { border: 1px solid var(--line); border-radius: 16px; padding: 22px; background: var(--bg-2); margin-bottom: 16px; }
.side-box h3 { font-size: 18px; margin-bottom: 12px; }
.log div { padding: 12px 0; border-top: 1px solid var(--line); }
.log b { font-family: var(--mono); font-size: 13px; color: var(--white); }
.log small { font-family: var(--mono); font-size: 11px; color: var(--muted-3); margin-left: 8px; }
.log p { color: var(--muted); font-size: 14px; margin-top: 2px; }
.entry { font-size: 16px; line-height: 1.75; color: #D3DED8; }
.entry > * + * { margin-top: 1.1em; }
.entry h2 { font-size: 28px; letter-spacing: -0.02em; margin-top: 1.6em; }
.entry h3 { font-size: 21px; margin-top: 1.3em; }
.entry img { border-radius: 12px; border: 1px solid var(--line-2); }
.entry blockquote { margin-left: 0; padding-left: 18px; border-left: 3px solid var(--gold); color: var(--white); }
.entry code { font-family: var(--mono); font-size: 13px; background: var(--bg-4); padding: 2px 6px; border-radius: 5px; }
.entry pre { font-family: var(--mono); font-size: 13px; background: #060A08; border: 1px solid var(--line); border-radius: 10px; padding: 16px; overflow-x: auto; }
.entry pre code { background: none; padding: 0; }
.entry table { width: 100%; border-collapse: collapse; }
.entry th, .entry td { border-bottom: 1px solid var(--line); padding: 10px; text-align: left; }

/* ---------- Archive / blog ---------- */
.page-head { padding-top: 64px; padding-bottom: 36px; }
.page-head h1 { font-size: clamp(40px, 5vw, 60px); letter-spacing: -0.04em; font-weight: 800; line-height: 1.02; }
.page-head p { color: var(--muted); margin-top: 12px; font-size: 17px; max-width: 640px; }
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.post-card { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--bg-2); text-decoration: none; color: var(--text); display: flex; flex-direction: column; transition: border-color .15s; }
.post-card:hover { border-color: #34463D; color: var(--text); }
.post-card__img { aspect-ratio: 16 / 9; background: var(--bg-4); overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 20px; }
.post-card small { font-family: var(--mono); font-size: 11px; color: var(--muted-2); text-transform: uppercase; }
.post-card h2 { font-size: 20px; letter-spacing: -0.02em; margin: 6px 0 8px; line-height: 1.25; }
.post-card p { color: var(--muted); font-size: 14px; }
.pagination { display: flex; gap: 8px; margin-top: 36px; }
.pagination .page-numbers { padding: 7px 13px; border: 1px solid var(--line-2); border-radius: 8px; text-decoration: none; color: var(--text); }
.pagination .current { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.single-wrap { max-width: 760px; margin: 0 auto; padding: 64px 28px 0; }
.single-wrap h1 { font-size: clamp(36px, 5vw, 54px); letter-spacing: -0.04em; font-weight: 800; line-height: 1.05; margin: 10px 0 26px; }
.single-wrap .featured { margin-bottom: 30px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); }
.search-form { display: flex; gap: 8px; justify-content: center; }
.search-form input[type="search"] { background: var(--bg-3); border: 1px solid var(--line-2); color: var(--text); border-radius: 9px; padding: 10px 12px; }
.search-form input[type="submit"] { background: var(--gold); border: 0; border-radius: 9px; padding: 10px 16px; font-weight: 700; cursor: pointer; }
.comment-respond input, .comment-respond textarea { background: var(--bg-3); border: 1px solid var(--line-2); color: var(--text); border-radius: 9px; padding: 10px; width: 100%; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
	.nav-toggle { display: inline-flex; }
	.main-nav { display: none; order: 3; flex-basis: 100%; flex-direction: column; gap: 0; border-top: 1px solid var(--line); padding-top: 6px; }
	.main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
	.site-header.is-open .main-nav { display: flex; }
	.site-header .wrap { justify-content: space-between; }
	.kbd, .header-actions .btn--ghost { display: none; }
	.buy { position: static; flex-basis: 100%; }
	.toast { left: 12px; }
}
@media (max-width: 640px) {
	.wrap { padding: 0 16px; }
	.section { padding-top: 80px; }
	.hero { padding-top: 48px; }
	.header-actions .btn--gold { display: none; }
	.spot__copy { padding: 36px 22px; }
	.spot__shot { padding: 24px 0 0 20px; }
	.lmock__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lmock__top span { display: none; }
	.th-form { padding: 22px; }
	.cta { padding: 40px 24px; }
	.admin-bar .site-header { top: 0; }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}
