/*
Theme Name: BFCY Deals
Theme URI: https://bfcy.cameraegg.org/
Author: CameraEgg
Description: Deal-tracker theme for Black Friday & Cyber Monday camera and PC hardware deals.
Version: 1.0.0
Requires PHP: 8.0
Text Domain: bfcy
*/

:root {
	--ink: #0b0c10;
	--ink-2: #15171e;
	--ink-3: #22252f;
	--text: #1a1d26;
	--muted: #5d6374;
	--line: #e3e5eb;
	--line-2: #eef0f4;
	--bg: #f4f5f8;
	--card: #fff;
	--accent: #ffc21a;
	--accent-2: #ffd75e;
	--accent-ink: #1d1500;
	--hot: #ff4b2b;
	--ok: #10a050;
	--blue: #2f6bff;
	--radius: 18px;
	--radius-sm: 12px;
	--shadow: 0 1px 2px rgba(16, 18, 27, .04), 0 8px 24px rgba(16, 18, 27, .06);
	--shadow-lg: 0 2px 4px rgba(16, 18, 27, .04), 0 24px 60px rgba(16, 18, 27, .12);
	--wrap: 1200px;
	--font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	font-feature-settings: "cv11", "ss01";
}
img, svg { max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--accent); color: var(--accent-ink); font-weight: 700; border-radius: 10px; text-decoration: none; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--accent); color: var(--accent-ink); font-size: 13.5px; font-weight: 600; }
.topbar__in { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 38px; text-align: center; flex-wrap: wrap; padding: 6px 0; }
.topbar a { color: inherit; text-decoration: none; border-bottom: 1.5px solid rgba(29, 21, 0, .35); }
.topbar a:hover { border-color: currentColor; }
.topbar__sep { opacity: .4; }
.topbar__count { font-variant-numeric: tabular-nums; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 12, 16, .92); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.header__in { display: flex; align-items: center; gap: 28px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; flex-shrink: 0; }
.brand__mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.brand__name span { color: var(--accent); }
.brand__tag { font-size: 11px; color: rgba(255, 255, 255, .55); font-weight: 500; letter-spacing: .02em; }

.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav a { display: block; padding: 8px 12px; border-radius: 10px; color: rgba(255, 255, 255, .78); text-decoration: none; font-size: 14.5px; font-weight: 500; transition: color .15s, background .15s; }
.nav a:hover, .nav .current-menu-item > a, .nav .current_page_item > a { color: #fff; background: rgba(255, 255, 255, .08); }
.header__cta { flex-shrink: 0; }
.nav-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .14); background: transparent; color: #fff; cursor: pointer; }
.nav-toggle svg { display: block; margin: auto; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 12px; border: 0; font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .12s ease, box-shadow .15s ease, background .15s ease, color .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 18px rgba(255, 194, 26, .28); }
.btn--accent:hover { background: var(--accent-2); }
.btn--ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .16); }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); }
.btn--sm { padding: 9px 14px; font-size: 14px; border-radius: 10px; }
.btn--buy { background: var(--ink); color: #fff; padding: 11px 16px; font-size: 14.5px; }
.btn--buy:hover { background: var(--accent); color: var(--accent-ink); }
.icon-arrow { flex-shrink: 0; }

/* ---------- Pills ---------- */
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: .01em; background: rgba(255, 75, 43, .1); color: #d6341a; }
.pill--dark { background: rgba(255, 255, 255, .1); color: #fff; }
.pill--accent { background: var(--accent); color: var(--accent-ink); }
.pill--muted { background: var(--line-2); color: var(--muted); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hot); box-shadow: 0 0 0 0 rgba(255, 75, 43, .55); animation: pulse 2s infinite; flex-shrink: 0; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 75, 43, .5); } 70% { box-shadow: 0 0 0 8px rgba(255, 75, 43, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 75, 43, 0); } }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: 72px 0 84px; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background:
	radial-gradient(900px 420px at 85% -10%, rgba(255, 194, 26, .28), transparent 60%),
	radial-gradient(700px 380px at -5% 110%, rgba(255, 75, 43, .22), transparent 60%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%); }
.hero__grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 56px; align-items: center; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; margin: 0 0 20px; }
.hero h1 em { font-style: normal; background: linear-gradient(92deg, var(--accent) 10%, #ff8a3d 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: 19px; line-height: 1.55; color: rgba(255, 255, 255, .72); max-width: 560px; margin: 0 0 30px; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__ctas .btn { padding: 14px 22px; font-size: 16px; }

.countdown-card { background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .12); border-radius: 24px; padding: 26px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); backdrop-filter: blur(10px); }
.countdown-card__label { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255, 255, 255, .6); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.countdown__cell { background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .08); border-radius: 16px; padding: 14px 6px 12px; text-align: center; }
.countdown__num { display: block; font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown__unit { display: block; margin-top: 6px; font-size: 11.5px; color: rgba(255, 255, 255, .55); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.keydates { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 2px; }
.keydates li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 2px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14.5px; }
.keydates li span:first-child { color: rgba(255, 255, 255, .62); }
.keydates li strong { font-weight: 700; }
.keydates li.is-next strong { color: var(--accent); }

/* ---------- Retailer strip ---------- */
.stores { background: var(--ink-2); border-top: 1px solid rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .6); }
.stores__in { display: flex; align-items: center; gap: 28px; min-height: 76px; flex-wrap: wrap; padding: 14px 0; }
.stores__label { font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.stores__list { display: flex; gap: 10px; flex-wrap: wrap; }
.store-chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); color: #fff; font-weight: 600; font-size: 14.5px; text-decoration: none; transition: background .15s; }
.store-chip:hover { background: rgba(255, 255, 255, .1); }

.store-badge { display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 6px; border-radius: 9px; font-weight: 800; font-size: 13px; letter-spacing: -.02em; flex-shrink: 0; }
.store-badge--amazon { background: #131921; color: #ff9900; font-size: 20px; font-family: Georgia, serif; }
.store-badge--bh { background: #111; color: #fff; font-size: 11.5px; box-shadow: inset 0 -3px 0 #e4002b; }
.store-badge--newegg { background: #f7941d; color: #fff; font-size: 17px; }
.store-badge--adorama { background: #222; color: #fff; font-size: 17px; box-shadow: inset 0 -3px 0 #e31e24; }
.store-badge--bestbuy { background: #0046be; color: #fff200; font-size: 11px; }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section--white { background: var(--card); }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; flex-wrap: wrap; }
.section__kicker { display: block; font-size: 13px; font-weight: 700; color: #c2410c; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.section__title { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.12; letter-spacing: -.03em; font-weight: 800; margin: 0; }
.section__sub { color: var(--muted); max-width: 560px; margin: 10px 0 0; font-size: 16.5px; }

/* ---------- Deal cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.dcard { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.dcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #d6d9e1; }
.dcard__art { position: relative; height: 168px; display: grid; place-items: center; overflow: hidden; color: #fff; background: linear-gradient(135deg, #20232d, #0b0c10); isolation: isolate; }
.dcard__art::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(260px 160px at 80% 0%, var(--glow, rgba(255, 194, 26, .35)), transparent 70%); }
.dcard__art svg { width: 76px; height: 76px; opacity: .95; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .35)); transition: transform .3s ease; }
.dcard:hover .dcard__art svg { transform: scale(1.06) rotate(-2deg); }
.dcard__ghost { position: absolute; left: 16px; bottom: -14px; font-size: 64px; font-weight: 900; letter-spacing: -.05em; line-height: 1; color: rgba(255, 255, 255, .07); white-space: nowrap; pointer-events: none; }
.dcard__brand { position: absolute; top: 14px; left: 16px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: rgba(255, 255, 255, .7); }
.dcard__art--sony { background: linear-gradient(135deg, #1f2430, #07080b); --glow: rgba(255, 194, 26, .4); }
.dcard__art--canon { background: linear-gradient(135deg, #3a0d10, #0e0708); --glow: rgba(255, 70, 70, .45); }
.dcard__art--amd { background: linear-gradient(135deg, #2c1606, #0c0705); --glow: rgba(255, 120, 30, .5); }
.dcard__art--gpu { background: linear-gradient(135deg, #0b2a22, #050b0a); --glow: rgba(60, 220, 140, .4); }
.dcard__body { padding: 20px 20px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.dcard__title { font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; margin: 0; }
.dcard__text { color: var(--muted); font-size: 15px; line-height: 1.5; margin: 0; flex: 1; }
.dcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line-2); font-size: 14px; }
.dcard__meta { color: var(--muted); font-size: 13px; line-height: 1.4; min-width: 0; }
.dcard__go { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; flex-shrink: 0; }
.dcard:hover .dcard__go { color: #c2410c; }

/* ---------- Feature grid ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.section--white .feature { background: var(--bg); border-color: transparent; }
.feature__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--ink); color: var(--accent); margin-bottom: 16px; }
.feature h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -.01em; }
.feature p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- Retailer table ---------- */
.rtable { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); font-size: 15px; }
.rtable th, .rtable td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-2); }
.rtable thead th { background: var(--ink); color: rgba(255, 255, 255, .8); font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.rtable tbody tr:last-child td, .rtable tbody tr:last-child th { border-bottom: 0; }
.rtable__store { display: flex; align-items: center; gap: 12px; font-weight: 700; white-space: nowrap; }
.rtable td:last-child { white-space: nowrap; }

/* ---------- Deal page hero ---------- */
.dhero { background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); padding: 34px 0 54px; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); margin-bottom: 26px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }
.crumbs span[aria-hidden] { opacity: .5; }
.dhero__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(330px, .9fr); gap: 48px; align-items: start; }
.dhero__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.dhero__updated { font-size: 13.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.dhero__kicker { display: block; font-size: 13px; font-weight: 700; color: #c2410c; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; }
.dhero h1 { font-size: clamp(32px, 4.2vw, 50px); line-height: 1.05; letter-spacing: -.035em; font-weight: 800; margin: 0 0 18px; }
.dhero__dek { font-size: 18.5px; line-height: 1.55; color: #3d4252; margin: 0 0 26px; max-width: 640px; }
.verdict { position: relative; display: flex; gap: 16px; padding: 20px 22px; background: var(--ink); color: #fff; border-radius: var(--radius); margin-bottom: 24px; overflow: hidden; }
.verdict::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(255, 194, 26, .3), transparent 65%); pointer-events: none; }
.verdict__icon { flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); }
.verdict__label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--accent); margin-bottom: 4px; }
.verdict p { margin: 0; font-size: 16px; line-height: 1.55; color: rgba(255, 255, 255, .88); }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.facts li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; }
.facts span { display: block; font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 3px; }
.facts strong { font-size: 15.5px; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; display: block; }
.disclosure { margin: 18px 0 0; font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.disclosure svg { flex-shrink: 0; margin-top: 2px; }
.disclosure a { color: inherit; }

/* ---------- Buy box ---------- */
.buybox { background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 22px; }
.dhero .buybox { position: sticky; top: 90px; }
.buybox__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: #d6341a; text-transform: uppercase; letter-spacing: .08em; }
.buybox__title { font-size: 21px; letter-spacing: -.02em; line-height: 1.25; margin: 8px 0 6px; }
.buybox__sub { margin: 0 0 16px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.offers { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.offer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; transition: border-color .15s, background .15s; }
.offer:hover { border-color: #cfd3dc; background: #fafbfc; }
.offer__store { display: flex; align-items: center; gap: 12px; min-width: 0; }
.offer__text { display: flex; flex-direction: column; min-width: 0; }
.offer__text strong { font-size: 15.5px; line-height: 1.2; }
.offer__text small { font-size: 12.5px; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.buybox__fine { margin: 14px 0 0; font-size: 12px; color: var(--muted); text-align: center; }
.prose .buybox { margin: 30px 0; }

/* ---------- Inline buy row ---------- */
.buyrow { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; margin: 14px 0 0; }
.buyrow__label { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.buyrow__links { display: flex; gap: 8px; flex-wrap: wrap; }
.chip-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 10px; background: var(--ink); color: #fff !important; text-decoration: none !important; font-size: 14px; font-weight: 700; transition: background .15s, color .15s, transform .12s; }
.chip-btn:hover { background: var(--accent); color: var(--accent-ink) !important; }
.chip-btn--amazon { background: #131921; }
.chip-btn--bestbuy { background: #0046be; }
.chip-btn--newegg { background: #e07b00; }

/* ---------- Deal layout ---------- */
.dlayout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; padding: 56px 0 80px; align-items: start; }
.dside { position: sticky; top: 90px; display: grid; gap: 18px; }
.toc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 12px; }
.toc__title { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 7px 8px; border-radius: 8px; font-size: 14px; line-height: 1.35; text-decoration: none; color: #3d4252; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-variant-numeric: tabular-nums; font-size: 12px; font-weight: 700; color: #a0a5b3; padding-top: 1px; }
.toc a:hover { background: var(--bg); color: var(--text); }
.toc a.is-active { background: var(--ink); color: #fff; }
.toc a.is-active::before { color: var(--accent); }
.side-cta { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 20px; }
.side-cta h3 { margin: 0 0 6px; font-size: 17px; letter-spacing: -.01em; }
.side-cta p { margin: 0 0 14px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.side-cta .btn { width: 100%; }

/* ---------- Prose ---------- */
.prose { font-size: 17px; line-height: 1.72; color: #262a35; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: 29px; line-height: 1.2; letter-spacing: -.025em; font-weight: 800; margin: 56px 0 16px; color: var(--text); }
.prose h3 { font-size: 21px; line-height: 1.3; letter-spacing: -.015em; font-weight: 750; margin: 34px 0 10px; color: var(--text); }
.prose p { margin: 0 0 18px; }
.prose a:not(.btn):not(.chip-btn) { color: #b4380c; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose a:not(.btn):not(.chip-btn):hover { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 20px; }
.prose li { margin: 6px 0; }
.prose strong { color: var(--text); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 44px 0; }

.spec-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15.5px; margin: 18px 0 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.spec-table th, .spec-table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-2); line-height: 1.5; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 36%; color: var(--muted); font-weight: 600; background: #fafbfc; }
.spec-table thead th { background: var(--ink); color: rgba(255, 255, 255, .85); width: auto; font-size: 12.5px; text-transform: uppercase; letter-spacing: .07em; }
.table-scroll { overflow-x: auto; margin: 18px 0 26px; -webkit-overflow-scrolling: touch; }
.table-scroll .spec-table { margin: 0; min-width: 640px; }
.table-scroll .spec-table th:not(thead th) { width: auto; }

.callout { position: relative; border-radius: var(--radius); padding: 20px 22px 20px 58px; margin: 26px 0; background: var(--card); border: 1px solid var(--line); font-size: 16px; line-height: 1.6; }
.callout::before { content: ""; position: absolute; left: 20px; top: 22px; width: 24px; height: 24px; border-radius: 8px; background: var(--ink) center / 14px no-repeat; }
.callout > :last-child { margin-bottom: 0; }
.callout__title { display: block; font-weight: 800; color: var(--text); margin-bottom: 4px; font-size: 16.5px; }
.callout--deal { background: #fff9e6; border-color: #ffe39a; }
.callout--deal::before { background-color: var(--accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1500' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.callout--warn { background: #fff3f0; border-color: #ffd2c8; }
.callout--warn::before { background-color: var(--hot); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 7v6M12 17h.01'/%3E%3C/svg%3E"); }
.callout--tip { background: #f0f5ff; border-color: #d3e0ff; }
.callout--tip::before { background-color: var(--blue); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 11v6M12 7h.01'/%3E%3C/svg%3E"); }

.price-ladder { list-style: none; padding: 0 !important; margin: 20px 0 26px !important; display: grid; gap: 10px; }
.price-ladder li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: center; margin: 0 !important; padding: 14px 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.price-ladder b { font-size: 20px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.price-ladder span { font-size: 15.5px; color: #3d4252; line-height: 1.5; }
.price-ladder .is-great { background: #ecfbf2; border-color: #b6ecca; }
.price-ladder .is-great b { color: var(--ok); }
.price-ladder .is-good { background: #fff9e6; border-color: #ffe39a; }
.price-ladder .is-meh b { color: var(--muted); }

.fit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 20px 0 26px; }
.fit__col { border-radius: var(--radius); padding: 20px 22px; border: 1px solid var(--line); background: var(--card); }
.fit__col h3 { margin: 0 0 10px !important; font-size: 17px !important; display: flex; align-items: center; gap: 10px; }
.fit__col h3::before { content: ""; width: 22px; height: 22px; border-radius: 7px; background: var(--ok) center / 13px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.fit__col--skip h3::before { background-color: #8a90a0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E"); }
.fit__col ul { margin: 0 !important; padding-left: 1.1em !important; font-size: 15.5px; }
.fit__col li { margin: 7px 0 !important; }

.alt-list { display: grid; gap: 14px; margin: 20px 0 26px; }
.alt { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.alt__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.alt h3 { margin: 0 !important; font-size: 19px !important; }
.alt__tag { font-size: 12.5px; font-weight: 700; color: #c2410c; text-transform: uppercase; letter-spacing: .06em; }
.alt p { margin: 8px 0 0 !important; font-size: 15.5px; color: #3d4252; }

.gpu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 20px 0 30px; }
.gpu { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.gpu__head { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.gpu h3 { margin: 0 !important; font-size: 19px !important; }
.gpu__msrp { font-size: 13px; font-weight: 700; padding: 4px 9px; border-radius: 8px; background: var(--line-2); color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.gpu__specs { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0 0; padding: 0 !important; list-style: none; }
.gpu__specs li { margin: 0 !important; font-size: 12.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); color: #3d4252; }
.gpu p { margin: 12px 0 0 !important; font-size: 15px; color: #3d4252; line-height: 1.55; flex: 1; }
.gpu .buyrow { margin-top: 14px; }
.gpu--nvidia { border-top: 3px solid #76b900; }
.gpu--amd { border-top: 3px solid #ed1c24; }
.gpu--intel { border-top: 3px solid #0071c5; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; margin: 18px 0 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; transition: box-shadow .15s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 17px 34px 17px 0; position: relative; font-weight: 700; font-size: 16.5px; line-height: 1.4; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 10px; height: 10px; border-right: 2.2px solid currentColor; border-bottom: 2.2px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .2s; opacity: .5; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 0 18px; font-size: 16px; color: #3d4252; line-height: 1.65; }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- Alert box ---------- */
.alert-box { display: flex; gap: 22px; align-items: flex-start; background: var(--ink); color: #fff; border-radius: 24px; padding: 32px; margin: 48px 0 0; position: relative; overflow: hidden; isolation: isolate; }
.alert-box::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(500px 260px at 100% 0%, rgba(255, 194, 26, .22), transparent 60%); }
.alert-box__icon { flex-shrink: 0; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--accent); color: var(--accent-ink); }
.alert-box__body { flex: 1; min-width: 0; }
.alert-box__title { margin: 0 0 6px !important; font-size: 24px !important; letter-spacing: -.02em; color: #fff !important; }
.alert-box__text { margin: 0 0 18px !important; color: rgba(255, 255, 255, .72); font-size: 16px; }
.alert-form { display: flex; gap: 10px; flex-wrap: wrap; }
.alert-form__input { flex: 1 1 240px; min-width: 0; padding: 13px 16px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); color: #fff; font-size: 16px; }
.alert-form__input::placeholder { color: rgba(255, 255, 255, .45); }
.alert-form__input:focus { outline: none; border-color: var(--accent); background: rgba(255, 255, 255, .1); }
.alert-form .btn { padding: 13px 22px; }
.alert-form .btn[disabled] { opacity: .6; cursor: wait; }
.alert-form__msg { flex-basis: 100%; margin: 4px 0 0 !important; font-size: 14.5px; min-height: 1px; }
.alert-form__msg.is-ok { color: #7ee2a8; }
.alert-form__msg.is-err { color: #ff9c8a; }
.alert-box__fine { margin: 14px 0 0 !important; font-size: 12.5px; color: rgba(255, 255, 255, .5); }
.alert-box__fine a { color: inherit !important; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.section .alert-box { margin: 0; }

/* ---------- Generic page ---------- */
.page-head { background: var(--card); border-bottom: 1px solid var(--line); padding: 48px 0 36px; }
.page-head h1 { margin: 0; font-size: clamp(30px, 4vw, 44px); letter-spacing: -.03em; line-height: 1.1; }
.page-body { padding: 44px 0 80px; }
.page-body .prose { max-width: 760px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .64); padding: 60px 0 30px; font-size: 14.5px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer__about p { margin: 16px 0 0; max-width: 380px; line-height: 1.6; }
.site-footer h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin: 6px 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer__legal { padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: rgba(255, 255, 255, .45); }
.footer__legal p { margin: 0; max-width: 760px; }

/* ---------- Mobile sticky CTA ---------- */
.mcta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: none; gap: 10px; padding: 10px; background: rgba(11, 12, 16, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 18px; box-shadow: 0 16px 40px rgba(0, 0, 0, .35); transform: translateY(140%); opacity: 0; visibility: hidden; transition: transform .3s ease, opacity .3s ease, visibility 0s linear .3s; }
.mcta.is-visible { transform: none; opacity: 1; visibility: visible; transition: transform .3s ease, opacity .3s ease; }
.mcta .btn { flex: 1; padding: 13px 14px; }
.mcta .btn--ghost { flex: 0 0 auto; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 120px 0; }
.notfound h1 { font-size: 64px; margin: 0; letter-spacing: -.04em; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.dlayout { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.dside { display: none; }
}
@media (max-width: 960px) {
	.hero__grid, .dhero__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
	.dhero .buybox { position: static; }
	.features { grid-template-columns: 1fr; }
	.footer__grid { grid-template-columns: 1fr 1fr; }
	.footer__about { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
	.nav-toggle { display: block; }
	.header__cta { display: none; }
	.nav { position: absolute; left: 0; right: 0; top: 100%; margin: 0; background: var(--ink); border-bottom: 1px solid rgba(255, 255, 255, .08); padding: 10px 20px 18px; display: none; }
	.nav.is-open { display: block; }
	.nav ul { flex-direction: column; align-items: stretch; }
	.nav a { padding: 12px; font-size: 16px; }
	.mcta { display: flex; }
	body.has-mcta .site-footer { padding-bottom: 100px; }
}
@media (max-width: 640px) {
	.wrap { width: calc(100% - 32px); }
	.hero { padding: 48px 0 56px; }
	.hero__lead { font-size: 17px; }
	.countdown__num { font-size: 30px; }
	.countdown-card { padding: 20px; }
	.section { padding: 56px 0; }
	.dhero { padding: 22px 0 36px; }
	.dhero__dek { font-size: 17px; }
	.dlayout { padding: 36px 0 60px; }
	.prose { font-size: 16.5px; }
	.prose h2 { font-size: 25px; margin-top: 44px; }
	.fit, .gpu-grid { grid-template-columns: minmax(0, 1fr); }
	.price-ladder li { grid-template-columns: 1fr; gap: 4px; }
	.alert-box { flex-direction: column; padding: 24px; gap: 16px; }
	.alert-box__icon { width: 46px; height: 46px; }
	.rtable thead { display: none; }
	.rtable, .rtable tbody, .rtable tr, .rtable td, .rtable th { display: block; width: 100%; }
	.rtable tr { padding: 14px 16px; border-bottom: 1px solid var(--line-2); }
	.rtable td, .rtable th { padding: 4px 0; border: 0; white-space: normal !important; }
	.footer__grid { grid-template-columns: 1fr; }
	.spec-table th { width: 42%; }
	.offer { padding: 10px; }
	.btn--buy { padding: 10px 12px; font-size: 14px; }
	.topbar__extra { display: none; }
	.topbar { font-size: 12.5px; }
	.topbar__in { flex-wrap: nowrap; gap: 8px; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
