/* ─── Variables ─────────────────────────────────────────────────── */
:root {
  --red: #E81416;
  --red-dark: #C81012;
  --red-bright: #FF3B3D;
  --red-glow: rgba(232, 20, 22, 0.35);
  --red-50: #FFF5F5;
  --red-100: #FFE4E4;
  --red-200: #FFB8B8;
  --zinc-950: #0a0a0a;
  --zinc-800: #1f1f1f;
  --zinc-700: #3a3a3a;
  --zinc-600: #525252;
  --zinc-500: #737373;
  --zinc-400: #a1a1aa;
  --zinc-200: #e4e4e7;
  --zinc-100: #f4f4f5;
  --white: #ffffff;
  --r: 1.25rem;
  --shadow: 0 8px 40px rgba(232, 20, 22, 0.08);
  --shadow-lg: 0 20px 60px rgba(232, 20, 22, 0.14);
  --max-read: 960px;
}

/* ─── Reset ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif; background: var(--white); color: var(--zinc-950); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ─── Reading Progress ───────────────────────────────────────────── */
#reading-progress { position: fixed; top: 0; left: 0; z-index: 999; width: 100%; height: 3px; background: var(--red-100); }
#reading-progress-bar { height: 100%; width: 0%; background: var(--red); transition: width .1s linear; }

/* ─── Navigation ────────────────────────────────────────────────── */
.nav { position: sticky; top: 3px; z-index: 50; background: rgba(255,255,255,.95); border-bottom: 1px solid var(--red-100); backdrop-filter: blur(8px); }
.nav-inner { max-width: 1280px; margin: 0 auto; padding: .9rem 1.5rem; display: flex; align-items: center; gap: 1rem; justify-content: space-between; }
.nav-logo { font-weight: 900; font-size: 1.1rem; color: var(--red); text-decoration: none; letter-spacing: -.01em; }
.nav-logo span { color: var(--zinc-950); }
.nav-links { display: flex; align-items: center; gap: 1.25rem; }
.nav-links a { font-size: .85rem; font-weight: 700; text-decoration: none; color: var(--zinc-600); transition: color .15s; }
.nav-links a:hover { color: var(--red); }
.nav-cta { background: var(--red); color: var(--white) !important; padding: .5rem 1.2rem; border-radius: 999px; font-size: .8rem !important; font-weight: 900 !important; transition: background .15s !important; }
.nav-cta:hover { background: var(--red-bright) !important; }
@media (max-width: 640px) { .nav-links { display: none; } }

/* ─── Eyebrow / Tag ──────────────────────────────────────────────── */
.eyebrow { font-size: .7rem; font-weight: 900; text-transform: uppercase; letter-spacing: .22em; color: var(--red); }
.tag { display: inline-block; border: 1px solid var(--red-200); background: var(--white); padding: .25rem .75rem; border-radius: 999px; font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .15em; color: var(--red); }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; }

/* ─── Hero ──────────────────────────────────────────────────────── */
.hero { border-bottom: 1px solid var(--red-100); padding: 3.5rem 1.5rem 3rem; background: var(--white); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; right: 0; width: 70%; height: 100%; background: radial-gradient(ellipse 80% 80% at 100% 0, rgba(232,20,22,.12) 0, transparent 70%); pointer-events: none; }
.hero::after { content: ''; position: absolute; bottom: -120px; left: -80px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(232,20,22,.06) 0, transparent 70%); pointer-events: none; }
.hero-inner { max-width: 1280px; margin: 0 auto; display: grid; gap: 3rem; }
@media (min-width: 1024px) { .hero-inner { grid-template-columns: 1.1fr .9fr; align-items: center; } }
.hero-breadcrumb { display: flex; align-items: center; gap: .5rem; font-size: .8rem; margin-bottom: 1.25rem; }
.hero-breadcrumb a { color: var(--red); font-weight: 900; text-decoration: none; }
.hero-breadcrumb a:hover { text-decoration: underline; }
.hero-breadcrumb span { color: var(--zinc-400); }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900; line-height: 1.1; letter-spacing: -.02em; color: var(--zinc-950); margin-top: 1.25rem; }
.hero-desc { margin-top: 1.25rem; font-size: 1.15rem; line-height: 1.75; color: var(--zinc-600); max-width: 600px; }
.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-top: 2rem; }
@media (min-width: 480px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }
.stat-card { border: 1px solid var(--red-100); border-radius: 1rem; padding: 1rem; }
.stat-value { font-size: 1.6rem; font-weight: 900; color: var(--red); line-height: 1; }
.stat-label { font-size: .72rem; color: var(--zinc-500); margin-top: .25rem; font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.btn-primary { display: inline-flex; align-items: center; gap: .4rem; background: var(--red); color: var(--white); font-weight: 900; font-size: .9rem; padding: .9rem 1.75rem; border-radius: 1rem; text-decoration: none; transition: background .15s, transform .1s; box-shadow: 0 6px 20px rgba(232,20,22,.25); border: none; cursor: pointer; }
.btn-primary:hover { background: var(--red-bright); transform: translateY(-2px); box-shadow: 0 10px 28px var(--red-glow); }
.btn-outline { display: inline-flex; align-items: center; gap: .4rem; border: 2px solid var(--red); color: var(--red); font-weight: 900; font-size: .9rem; padding: .85rem 1.75rem; border-radius: 1rem; text-decoration: none; background: var(--white); transition: background .15s; cursor: pointer; }
.btn-outline:hover { background: var(--red-50); }
.hero-img-wrap { border-radius: 2rem; overflow: hidden; border: 1px solid var(--red-100); background: var(--red-50); box-shadow: var(--shadow-lg); }
.hero-img-wrap img { width: 100%; height: auto; object-fit: contain; background: var(--white); }

/* ─── Quick Answer / GEO ─────────────────────────────────────────── */
.geo-block { background: var(--red-50); border-bottom: 1px solid var(--red-100); padding: 2.5rem 1.5rem; }
.geo-inner { max-width: 900px; margin: 0 auto; }
.geo-answer { font-size: 1.35rem; font-weight: 900; line-height: 1.5; color: var(--zinc-950); margin-top: 1rem; }
.geo-cards { display: grid; gap: .75rem; margin-top: 1.5rem; }
@media (min-width: 640px) { .geo-cards { grid-template-columns: repeat(3, 1fr); } }
.geo-card { background: var(--white); border: 1px solid var(--red-200); border-radius: 1rem; padding: 1rem 1.25rem; }
.geo-card-title { font-weight: 900; color: var(--red); font-size: .95rem; }
.geo-card-desc { font-size: .85rem; color: var(--zinc-600); margin-top: .35rem; line-height: 1.55; }

/* ─── Article Layout ─────────────────────────────────────────────── */
.article-wrap { max-width: 1280px; margin: 0 auto; padding: 3.5rem 1.5rem; display: grid; gap: 3rem; }
@media (min-width: 1024px) { .article-wrap { grid-template-columns: 280px 1fr; align-items: start; } }

/* ─── TOC ────────────────────────────────────────────────────────── */
.toc { position: sticky; top: 4.5rem; background: var(--white); border: 1px solid var(--red-100); border-radius: var(--r); padding: 1.5rem; box-shadow: var(--shadow); display: none; }
@media (min-width: 1024px) { .toc { display: block; } }
.toc-title { font-size: .7rem; font-weight: 900; text-transform: uppercase; letter-spacing: .22em; color: var(--red); margin-bottom: 1rem; }
.toc ul { list-style: none; display: grid; gap: .25rem; }
.toc ul a { display: block; padding: .45rem .75rem; border-radius: .75rem; font-size: .85rem; font-weight: 600; color: var(--zinc-600); text-decoration: none; transition: background .12s, color .12s; }
.toc ul a:hover { background: var(--red-50); color: var(--red); }
.toc ul a.active { background: var(--red); color: var(--white); }
.toc-cta { display: block; margin-top: 1.25rem; background: var(--red); color: var(--white); text-align: center; font-weight: 900; font-size: .85rem; padding: .75rem 1rem; border-radius: 1rem; text-decoration: none; transition: background .15s; }
.toc-cta:hover { background: var(--red-bright); }

/* ─── Article Body ──────────────────────────────────────────────── */
.article-body { display: grid; gap: 5rem; max-width: var(--max-read); }
.section { scroll-margin-top: 5rem; }
.section-wide { max-width: none; width: calc(100% + min(0px, (100vw - var(--max-read)) / 2)); margin-left: 0; }
h2 { font-size: clamp(1.65rem, 2.8vw, 2.45rem); font-weight: 900; letter-spacing: -.02em; color: var(--zinc-950); margin-top: .75rem; line-height: 1.15; }
h3 { font-size: 1.35rem; font-weight: 900; color: var(--zinc-950); margin-top: .5rem; }
.prose { font-size: 1.12rem; line-height: 1.85; color: var(--zinc-700); }
.lead { font-size: 1.25rem; line-height: 1.75; color: var(--zinc-600); font-weight: 500; }
.prose p { margin-top: 1.1rem; }
.prose strong { color: var(--zinc-950); font-weight: 700; }

/* ─── Cards Grid ─────────────────────────────────────────────────── */
.cards { display: grid; gap: 1rem; margin-top: 1.75rem; }
@media (min-width: 640px) { .cards.cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .cards.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--white); border: 1px solid var(--red-100); border-radius: var(--r); padding: 1.5rem; box-shadow: var(--shadow); transition: transform .15s, border-color .15s; }
.card:hover { transform: translateY(-2px); border-color: var(--red); }
.card-icon { font-size: 2.2rem; margin-bottom: .75rem; }
.card-title { font-weight: 900; font-size: 1.05rem; color: var(--zinc-950); }
.card-desc { font-size: .9rem; color: var(--zinc-600); margin-top: .4rem; line-height: 1.6; }
.card.highlight { border-color: var(--red); background: var(--red-50); }
.card.dark { background: var(--zinc-950); border-color: var(--zinc-800); color: var(--white); }
.card.dark .card-title { color: var(--white); }
.card.dark .card-desc { color: var(--zinc-400); }
.card.red { background: var(--red); border-color: var(--red); color: var(--white); }
.card.red .card-title, .card.red .stat-value { color: var(--white); }
.card.red .card-desc, .card.red .stat-label { color: rgba(255,255,255,.8); }

/* ─── Steps (How it works) ─────────────────────────────────────── */
.steps { display: grid; gap: 1.25rem; margin-top: 1.75rem; }
.step { display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .steps.interactive { grid-template-columns: .9fr 1.1fr; gap: 1.5rem; } }
.step-buttons { display: grid; gap: .6rem; }
.step-btn { display: flex; align-items: center; gap: 1rem; border: 1px solid var(--red-100); border-radius: 1rem; padding: 1rem 1.25rem; cursor: pointer; background: var(--white); text-align: left; transition: background .15s, border-color .15s; width: 100%; }
.step-btn:hover { border-color: var(--red); background: var(--red-50); }
.step-btn.active { background: var(--red); border-color: var(--red); color: var(--white); }
.step-btn .step-num { font-size: 1.75rem; font-weight: 900; color: var(--red); flex-shrink: 0; }
.step-btn.active .step-num { color: rgba(255,255,255,.5); }
.step-btn .step-title { font-weight: 900; font-size: .95rem; }
.step-detail { background: var(--red-50); border-radius: var(--r); padding: 2rem; min-height: 200px; }
.step-detail-icon { font-size: 3rem; margin-bottom: 1rem; }
.step-detail-title { font-size: 1.5rem; font-weight: 900; color: var(--zinc-950); }
.step-detail-desc { font-size: 1rem; color: var(--zinc-700); line-height: 1.75; margin-top: .75rem; }
.step-dots { display: flex; gap: .4rem; margin-top: 1.25rem; }
.step-dot { width: .5rem; height: .5rem; border-radius: 999px; background: var(--red-200); border: none; cursor: pointer; transition: all .15s; padding: 0; }
.step-dot.active { width: 2rem; background: var(--red); }

/* ─── Tabs ───────────────────────────────────────────────────────── */
.tabs-wrap { margin-top: 1.75rem; }
.tab-buttons { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.tab-btn { border: 1px solid var(--red-100); border-radius: 999px; padding: .5rem 1.25rem; font-size: .85rem; font-weight: 900; cursor: pointer; background: var(--white); color: var(--red); transition: all .15s; }
.tab-btn:hover { background: var(--red-50); }
.tab-btn.active { background: var(--red); border-color: var(--red); color: var(--white); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-content { border: 1px solid var(--red-100); border-radius: var(--r); padding: 2rem; box-shadow: var(--shadow); background: var(--white); }
.tab-tag { display: inline-block; background: var(--red-50); border: 1px solid var(--red-200); border-radius: 999px; padding: .25rem .85rem; font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .18em; color: var(--red); margin-bottom: .75rem; }
.tab-grid { display: grid; gap: 1rem; margin-top: 1.25rem; }
@media (min-width: 768px) { .tab-grid { grid-template-columns: 1fr 1fr; } }
.tab-feature-list { list-style: none; display: grid; gap: .5rem; }
.tab-feature-list li { display: flex; align-items: center; gap: .6rem; font-size: .9rem; font-weight: 600; color: var(--zinc-800); background: var(--red-50); border: 1px solid var(--red-100); border-radius: .75rem; padding: .65rem 1rem; }
.tab-feature-list li::before { content: ''; width: .5rem; height: .5rem; border-radius: 999px; background: var(--red); flex-shrink: 0; }

/* ─── Table ──────────────────────────────────────────────────────── */
.comparison-table { margin-top: 1.75rem; overflow-x: auto; border-radius: var(--r); border: 1px solid var(--red-100); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; min-width: 500px; }
th { background: var(--zinc-950); color: var(--white); padding: 1rem 1.25rem; text-align: left; font-size: .85rem; font-weight: 900; }
th.highlight { background: var(--red); }
td { padding: .9rem 1.25rem; border-bottom: 1px solid var(--red-100); font-size: .9rem; color: var(--zinc-700); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--red-50); }
td.highlight { color: var(--red); font-weight: 700; }
.check { color: #16a34a; font-weight: 900; }
.cross { color: var(--zinc-400); }

/* ─── ROI Calculator ─────────────────────────────────────────────── */
.calculator { border: 1px solid var(--red-100); border-radius: var(--r); padding: 2.5rem; box-shadow: var(--shadow); background: var(--white); margin-top: 1.75rem; }
.calc-grid { display: grid; gap: 2rem; margin-top: 2rem; }
@media (min-width: 768px) { .calc-grid { grid-template-columns: 1fr .8fr; } }
.calc-controls { display: grid; gap: 1.25rem; }
.calc-label { display: block; border: 1px solid var(--red-100); border-radius: 1rem; padding: 1rem 1.25rem; cursor: pointer; }
.calc-label-top { display: flex; justify-content: space-between; align-items: center; font-size: .9rem; font-weight: 700; color: var(--zinc-900); }
.calc-value { font-weight: 900; color: var(--red); font-variant-numeric: tabular-nums; }
input[type=range] { -webkit-appearance: none; width: 100%; height: .4rem; background: var(--red-100); border-radius: 999px; margin-top: .75rem; accent-color: var(--red); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 1.1rem; height: 1.1rem; background: var(--red); border-radius: 999px; cursor: pointer; }
.calc-result { background: var(--red); border-radius: var(--r); padding: 2rem; color: var(--white); display: flex; flex-direction: column; gap: 1.25rem; }
.calc-result-label { font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .18em; color: rgba(255,255,255,.6); }
.calc-result-value { font-size: 3.5rem; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.calc-result-sub { font-size: .9rem; color: rgba(255,255,255,.75); margin-top: -.5rem; }
.calc-result-box { background: rgba(255,255,255,.12); border-radius: 1rem; padding: 1.25rem; }
.calc-cta { display: block; background: var(--white); color: var(--red); text-align: center; font-weight: 900; font-size: .9rem; padding: .85rem; border-radius: 1rem; text-decoration: none; transition: background .15s; margin-top: .5rem; }
.calc-cta:hover { background: var(--red-50); }

/* ─── Checklist ─────────────────────────────────────────────────── */
.checklist { margin-top: 1.75rem; display: grid; gap: .75rem; }
.checklist-progress-wrap { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.checklist-bar { flex: 1; height: .6rem; background: var(--red-100); border-radius: 999px; overflow: hidden; }
.checklist-bar-fill { height: 100%; background: var(--red); border-radius: 999px; transition: width .3s; }
.checklist-pct { font-size: .85rem; font-weight: 900; color: var(--red); min-width: 2.5rem; }
.check-item { display: flex; align-items: flex-start; gap: .85rem; border: 1px solid var(--red-100); border-radius: 1rem; padding: 1rem 1.25rem; cursor: pointer; transition: background .15s, border-color .15s; }
.check-item:hover { background: var(--red-50); }
.check-item.done { border-color: var(--red); background: var(--red-50); }
.check-item input[type=checkbox] { margin-top: .2rem; width: 1.1rem; height: 1.1rem; accent-color: var(--red); cursor: pointer; flex-shrink: 0; }
.check-item-content { font-size: .9rem; }
.check-item-title { font-weight: 900; color: var(--zinc-950); }
.check-item-desc { color: var(--zinc-600); margin-top: .25rem; line-height: 1.55; }

/* ─── Security block (dark) ─────────────────────────────────────── */
.security-section { background: var(--zinc-950); border-radius: var(--r); padding: 2.5rem; color: var(--white); margin-top: 1.75rem; }
.security-section .eyebrow { color: #f87171; }
.security-section h2 { color: var(--white); }
.security-grid { display: grid; gap: .6rem; margin-top: 1.5rem; }
@media (min-width: 640px) { .security-grid { grid-template-columns: repeat(2, 1fr); } }
.sec-item { display: flex; align-items: flex-start; gap: .75rem; border: 1px solid rgba(255,255,255,.1); border-radius: .75rem; padding: .85rem 1rem; cursor: pointer; transition: border-color .15s; }
.sec-item:hover { border-color: var(--red-bright); }
.sec-item.done { border-color: var(--red); }
.sec-item input[type=checkbox] { margin-top: .1rem; width: 1rem; height: 1rem; accent-color: var(--red-bright); cursor: pointer; flex-shrink: 0; }
.sec-item-text { font-size: .85rem; font-weight: 600; color: var(--zinc-200); line-height: 1.4; }
.security-score { margin-top: 1.25rem; font-size: .9rem; font-weight: 700; color: #f87171; }

/* ─── Pricing ────────────────────────────────────────────────────── */
.pricing-grid { display: grid; gap: 1rem; margin-top: 1.75rem; }
@media (min-width: 640px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.plan { border: 1px solid var(--red-100); border-radius: var(--r); padding: 1.75rem; }
.plan.featured { background: var(--red); border-color: var(--red); color: var(--white); }
.plan-name { font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .18em; color: var(--red); }
.plan.featured .plan-name { color: rgba(255,255,255,.6); }
.plan-price { font-size: 2.25rem; font-weight: 900; margin-top: .5rem; line-height: 1; }
.plan-note { font-size: .85rem; color: var(--zinc-500); }
.plan.featured .plan-note { color: rgba(255,255,255,.6); }
.plan-features { list-style: none; margin-top: 1.25rem; display: grid; gap: .45rem; }
.plan-features li { display: flex; align-items: center; gap: .5rem; font-size: .88rem; color: var(--zinc-700); }
.plan-features li::before { content: '■'; font-size: .5rem; color: var(--red); }
.plan.featured .plan-features li { color: rgba(255,255,255,.9); }
.plan.featured .plan-features li::before { color: rgba(255,255,255,.5); }
.plan-btn { display: block; text-align: center; font-weight: 900; font-size: .85rem; padding: .75rem; border-radius: 1rem; text-decoration: none; margin-top: 1.5rem; transition: all .15s; }
.plan .plan-btn { background: var(--red); color: var(--white); }
.plan .plan-btn:hover { background: var(--red-bright); }
.plan.featured .plan-btn { background: var(--white); color: var(--red); }
.plan.featured .plan-btn:hover { background: var(--red-50); }

/* ─── FAQ ────────────────────────────────────────────────────────── */
.faq-list { margin-top: 1.75rem; display: grid; gap: .6rem; }
.faq-item { border: 1px solid var(--red-100); border-radius: 1rem; background: var(--white); overflow: hidden; }
.faq-question { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 1.5rem; cursor: pointer; font-weight: 900; color: var(--zinc-950); font-size: 1rem; transition: background .12s; width: 100%; border: none; background: none; text-align: left; }
.faq-question:hover { background: var(--red-50); }
.faq-icon { flex-shrink: 0; font-size: 1.4rem; font-weight: 900; color: var(--red); transition: transform .2s; line-height: 1; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 1.5rem 1.25rem; color: var(--zinc-700); line-height: 1.75; font-size: .95rem; }
.faq-item.open .faq-answer { display: block; }

/* ─── Related Articles ──────────────────────────────────────────── */
.related-grid { display: grid; gap: 1rem; margin-top: 1.75rem; }
@media (min-width: 640px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
.related-card { border: 1px solid var(--red-100); border-radius: var(--r); padding: 1.5rem; text-decoration: none; color: inherit; display: block; transition: transform .15s, border-color .15s; box-shadow: var(--shadow); }
.related-card:hover { transform: translateY(-2px); border-color: var(--red); }
.related-card .eyebrow { margin-bottom: .6rem; }
.related-card h3 { font-size: 1.1rem; font-weight: 900; color: var(--zinc-950); line-height: 1.35; }
.related-card:hover h3 { color: var(--red); }
.related-card .read-link { display: inline-flex; align-items: center; gap: .3rem; font-size: .85rem; font-weight: 900; color: var(--red); margin-top: .75rem; }

/* ─── CTA Banner ────────────────────────────────────────────────── */
.cta-banner { background: var(--red); padding: 5rem 1.5rem; text-align: center; }
.cta-banner .eyebrow { color: rgba(255,255,255,.6); }
.cta-banner h2 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); margin-top: 1rem; font-weight: 900; }
.cta-banner p { color: rgba(255,255,255,.8); font-size: 1.15rem; line-height: 1.75; margin: 1.25rem auto 0; max-width: 620px; }
.cta-banner-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2.5rem; }
.cta-banner .btn-white { background: var(--white); color: var(--red); font-weight: 900; font-size: .95rem; padding: .9rem 2rem; border-radius: 1rem; text-decoration: none; box-shadow: 0 4px 20px rgba(0,0,0,.15); transition: background .15s; }
.cta-banner .btn-white:hover { background: var(--red-50); }
.cta-banner .btn-ghost { border: 2px solid rgba(255,255,255,.4); color: var(--white); font-weight: 900; font-size: .95rem; padding: .85rem 2rem; border-radius: 1rem; text-decoration: none; transition: border-color .15s; }
.cta-banner .btn-ghost:hover { border-color: var(--white); }

/* ─── Footer ────────────────────────────────────────────────────── */
footer { background: var(--zinc-950); color: var(--zinc-400); padding: 2.5rem 1.5rem; }
.footer-inner { max-width: 1280px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; font-size: .85rem; }
.footer-logo { font-weight: 900; color: var(--red); font-size: 1rem; text-decoration: none; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { text-decoration: none; transition: color .12s; }
.footer-links a:hover { color: var(--white); }

/* ─── Blog Index ────────────────────────────────────────────────── */
.blog-hero { background: var(--white); border-bottom: 1px solid var(--red-100); padding: 4rem 1.5rem 3rem; }
.blog-hero-inner { max-width: 1280px; margin: 0 auto; }
.blog-hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 900; letter-spacing: -.02em; line-height: 1.1; margin-top: 1rem; }
.blog-hero p { font-size: 1.1rem; color: var(--zinc-600); line-height: 1.75; margin-top: 1.25rem; max-width: 720px; }
.category-tags { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.75rem; }
.article-grid { max-width: 1280px; margin: 3rem auto; padding: 0 1.5rem; display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .article-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .article-grid { grid-template-columns: repeat(3, 1fr); } }
.article-card { border: 1px solid var(--red-100); border-radius: var(--r); overflow: hidden; text-decoration: none; color: inherit; display: block; box-shadow: var(--shadow); transition: transform .15s, border-color .15s, box-shadow .15s; }
.article-card:hover { transform: translateY(-3px); border-color: var(--red); box-shadow: var(--shadow-lg); }
.article-card-img { aspect-ratio: 3/2; overflow: hidden; background: var(--red-50); }
.article-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.article-card:hover .article-card-img img { transform: scale(1.03); }
.article-card-body { padding: 1.5rem; }
.article-card-meta { display: flex; gap: .5rem; align-items: center; }
.article-card-meta .eyebrow { font-size: .65rem; }
.article-card-meta span { color: var(--zinc-400); font-size: .75rem; }
.article-card h2 { font-size: 1.15rem; font-weight: 900; line-height: 1.35; color: var(--zinc-950); margin-top: .75rem; }
.article-card:hover h2 { color: var(--red); }
.article-card p { font-size: .88rem; color: var(--zinc-600); margin-top: .5rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.article-card-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--red-100); margin-top: 1rem; padding-top: 1rem; }
.article-card-kw { font-size: .78rem; font-weight: 700; color: var(--zinc-500); }
.read-badge { background: var(--red); color: var(--white); font-size: .72rem; font-weight: 900; padding: .35rem .85rem; border-radius: 999px; }

/* ─── Blog Grid (index page) ────────────────────────────────────── */
.blog-grid { max-width: 1280px; margin: 0 auto 2rem; padding: 0 1.5rem; display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
.article-card { border: 1px solid var(--red-100); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transition: transform .15s, border-color .15s, box-shadow .15s; background: var(--white); }
.article-card:hover { transform: translateY(-3px); border-color: var(--red); box-shadow: var(--shadow-lg); }
.article-card.featured { display: grid; }
@media (min-width: 768px) { .article-card.featured { grid-template-columns: 1.2fr 1fr; } }
.article-card-img-link { display: block; overflow: hidden; background: var(--red-50); }
.article-card.featured .article-card-img-link { aspect-ratio: 4/3; }
.article-card-img-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; display: block; }
.article-card:hover .article-card-img-link img { transform: scale(1.03); }
.article-card-body { padding: 2rem; display: flex; flex-direction: column; gap: .75rem; }
.article-card h2 { font-size: 1.35rem; font-weight: 900; line-height: 1.3; color: var(--zinc-950); }
.article-card h2 a { text-decoration: none; color: inherit; transition: color .15s; }
.article-card h2 a:hover { color: var(--red); }
.article-card p { font-size: .92rem; color: var(--zinc-600); line-height: 1.7; }
.article-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: .75rem; border-top: 1px solid var(--red-100); }
.article-date { font-size: .8rem; color: var(--zinc-400); font-weight: 600; }
.featured-tag { background: var(--red); border-color: var(--red); color: var(--white) !important; }

/* ─── Infographic & tables ───────────────────────────────────────── */
.infographic-figure { margin: 1.5rem 0; border: 1px solid var(--red-100); border-radius: var(--r); overflow: hidden; background: var(--white); }
.infographic-figure img { width: 100%; height: auto; }
.infographic-figure figcaption { font-size: .78rem; color: var(--zinc-500); padding: .75rem 1rem; border-top: 1px solid var(--red-100); }
.compare-table { width: 100%; border-collapse: collapse; font-size: .9rem; margin-top: 1rem; }
.compare-table th, .compare-table td { border: 1px solid var(--red-100); padding: .65rem .85rem; text-align: left; }
.compare-table th { background: var(--red-50); font-weight: 800; color: var(--red); }
.steps-grid { display: grid; gap: 1rem; margin-top: 1.25rem; }
@media (min-width: 640px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }
.step-card { border: 1px solid var(--red-100); border-radius: 1rem; padding: 1.25rem; background: var(--white); }
.step-num { display: inline-block; font-size: .7rem; font-weight: 900; color: var(--red); letter-spacing: .1em; margin-bottom: .5rem; }
.step-card h3 { font-size: 1rem; font-weight: 900; margin-bottom: .35rem; }
.step-card p { font-size: .85rem; color: var(--zinc-600); line-height: 1.55; }
.checklist { list-style: none; margin-top: 1rem; }
.checklist li { margin-bottom: .5rem; }
.checklist label { display: flex; align-items: flex-start; gap: .6rem; font-size: .95rem; cursor: pointer; padding: .65rem .85rem; border: 1px solid var(--red-100); border-radius: .75rem; transition: background .15s; }
.checklist label.done { background: var(--red-50); text-decoration: line-through; color: var(--zinc-500); }
.related { padding: 3rem 1.5rem; border-top: 1px solid var(--red-100); background: var(--red-50); }
.related-inner { max-width: 1280px; margin: 0 auto; }
@media (min-width: 1024px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }

/* ─── Compare toggle ─────────────────────────────────────────────── */
.compare-toggle { display: flex; gap: .5rem; margin: 1.5rem 0; flex-wrap: wrap; }
.compare-toggle button { border: 2px solid var(--red-200); background: var(--white); color: var(--zinc-700); font-weight: 800; font-size: .9rem; padding: .65rem 1.25rem; border-radius: 999px; cursor: pointer; transition: all .2s; }
.compare-toggle button.active { background: var(--red); border-color: var(--red); color: var(--white); box-shadow: 0 4px 16px var(--red-glow); }
.compare-panel { display: none; animation: fadeUp .35s ease; }
.compare-panel.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ─── Scenario picker ────────────────────────────────────────────── */
.scenario-layout { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
@media (min-width: 768px) { .scenario-layout { grid-template-columns: 1fr 1.2fr; } }
.scenario-list { display: grid; gap: .5rem; }
.scenario-card { display: flex; align-items: center; gap: 1rem; border: 2px solid var(--red-100); border-radius: 1rem; padding: 1rem 1.15rem; cursor: pointer; background: var(--white); transition: all .2s; text-align: left; width: 100%; }
.scenario-card:hover { border-color: var(--red); background: var(--red-50); }
.scenario-card.active { border-color: var(--red); background: var(--red); color: var(--white); box-shadow: 0 8px 24px var(--red-glow); }
.scenario-card .sc-icon { font-size: 1.75rem; flex-shrink: 0; }
.scenario-card .sc-title { font-weight: 900; font-size: .95rem; display: block; }
.scenario-card .sc-metric { font-size: .75rem; opacity: .85; margin-top: .15rem; display: block; }
.scenario-detail { background: linear-gradient(145deg, var(--red) 0%, var(--red-dark) 100%); border-radius: var(--r); padding: 2rem; color: var(--white); min-height: 220px; display: flex; flex-direction: column; justify-content: center; }
.scenario-detail [data-sc-icon] { font-size: 2.5rem; }
.scenario-detail [data-sc-title] { font-size: 1.5rem; font-weight: 900; margin-top: .75rem; }
.scenario-detail [data-sc-desc] { font-size: 1rem; line-height: 1.7; margin-top: .75rem; opacity: .92; }
.scenario-detail [data-sc-metric] { margin-top: 1.25rem; font-weight: 900; font-size: 1.1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.25); }

/* ─── Quote / callout ────────────────────────────────────────────── */
.callout { border-left: 4px solid var(--red); background: var(--red-50); border-radius: 0 var(--r) var(--r) 0; padding: 1.5rem 1.75rem; margin: 2rem 0; }
.callout p { font-size: 1.15rem; font-weight: 700; line-height: 1.65; color: var(--zinc-950); margin: 0; }
.callout cite { display: block; margin-top: .75rem; font-size: .85rem; color: var(--red); font-style: normal; font-weight: 800; }

/* ─── Accordion deep-dive ────────────────────────────────────────── */
.accordion { display: grid; gap: .5rem; margin-top: 1.5rem; }
.acc-item { border: 1px solid var(--red-100); border-radius: 1rem; overflow: hidden; background: var(--white); }
.acc-trigger { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 1.35rem; border: none; background: none; font-weight: 900; font-size: 1rem; text-align: left; cursor: pointer; color: var(--zinc-950); }
.acc-trigger:hover { background: var(--red-50); }
.acc-icon { color: var(--red); font-size: 1.25rem; transition: transform .2s; }
.acc-item.open .acc-icon { transform: rotate(45deg); }
.acc-body { display: none; padding: 0 1.35rem 1.25rem; font-size: 1rem; line-height: 1.75; color: var(--zinc-700); }
.acc-item.open .acc-body { display: block; }

/* ─── Pill tags interactive ──────────────────────────────────────── */
.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.25rem 0; }
.pill { border: 1px solid var(--red-200); background: var(--white); color: var(--red); font-size: .8rem; font-weight: 800; padding: .45rem 1rem; border-radius: 999px; transition: all .15s; }
.pill:hover { background: var(--red); color: var(--white); transform: translateY(-1px); }

/* ─── Stat strip ─────────────────────────────────────────────────── */
.stat-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 2rem 0; }
@media (min-width: 640px) { .stat-strip { grid-template-columns: repeat(4, 1fr); } }
.stat-strip .stat-card { text-align: center; padding: 1.35rem 1rem; transition: transform .2s, box-shadow .2s; }
.stat-strip .stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--red); }

/* ─── Mobile TOC bar ─────────────────────────────────────────────── */
.toc-mobile { display: block; position: sticky; top: 3.5rem; z-index: 40; background: var(--white); border-bottom: 1px solid var(--red-100); padding: .75rem 1rem; margin: 0 -1.5rem 1.5rem; overflow-x: auto; white-space: nowrap; }
.toc-mobile a { display: inline-block; margin-right: .5rem; padding: .4rem .85rem; border-radius: 999px; font-size: .78rem; font-weight: 800; text-decoration: none; color: var(--zinc-600); border: 1px solid var(--red-100); }
.toc-mobile a:hover, .toc-mobile a.active { background: var(--red); color: var(--white); border-color: var(--red); }
@media (min-width: 1024px) { .toc-mobile { display: none; } }

/* ─── Game demos (playable embeds) ───────────────────────────────── */
.article-wrap.games-layout { max-width: 1400px; }
.article-wrap.games-layout .article-body { max-width: none; }
.article-wrap.games-layout .section#play { scroll-margin-top: 4rem; }

.game-showcase {
  margin-top: 1.75rem;
  background: linear-gradient(180deg, var(--red-50) 0%, var(--white) 120px);
  border: 1px solid var(--red-100);
  border-radius: 1.5rem;
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 768px) { .game-showcase { padding: 1.75rem; } }

.game-picker {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .6rem;
  margin-bottom: 1.25rem;
}
@media (min-width: 480px) { .game-picker { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .game-picker { grid-template-columns: repeat(6, 1fr); } }

.game-card {
  border: 2px solid var(--red-100);
  border-radius: 1rem;
  padding: 1rem .75rem;
  cursor: pointer;
  background: var(--white);
  text-align: center;
  transition: all .2s;
  min-height: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.game-card:hover { border-color: var(--red); background: var(--red-50); transform: translateY(-2px); box-shadow: var(--shadow); }
.game-card.active { border-color: var(--red); background: var(--red); color: var(--white); box-shadow: 0 10px 32px var(--red-glow); transform: translateY(-1px); }
.game-card .gc-icon { font-size: 2rem; display: block; line-height: 1; }
.game-card .gc-name { font-size: .8rem; font-weight: 900; margin-top: .5rem; display: block; line-height: 1.2; }
.game-card.active .gc-name { color: rgba(255,255,255,.95); }

.game-player-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .75rem;
}
.game-player-toolbar .game-live-badge {
  font-size: .7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.game-live-badge::before {
  content: '';
  width: .5rem;
  height: .5rem;
  border-radius: 999px;
  background: var(--red);
  animation: game-pulse 1.2s ease infinite;
}
@keyframes game-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.btn-game-fs {
  border: 2px solid var(--red);
  background: var(--white);
  color: var(--red);
  font-weight: 900;
  font-size: .8rem;
  padding: .5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all .15s;
}
.btn-game-fs:hover { background: var(--red); color: var(--white); }

.game-frame-wrap {
  border: 3px solid var(--red);
  border-radius: 1.25rem;
  overflow: hidden;
  background: #0a0a0a;
  box-shadow: 0 24px 80px rgba(232, 20, 22, .15), 0 8px 32px rgba(0, 0, 0, .2);
  position: relative;
  width: 100%;
  min-height: min(680px, 82vh);
  height: min(680px, 82vh);
}
.game-frame-wrap:fullscreen {
  min-height: 100vh;
  height: 100vh;
  border-radius: 0;
  border-width: 0;
}
.game-frame-wrap:fullscreen iframe { height: 100%; min-height: 100%; }
.game-frame-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: min(680px, 82vh);
  border: 0;
  display: block;
}

.game-info-panel {
  margin-top: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--red-100);
  border-radius: 1rem;
}
.game-info-panel h3 { font-size: 1.35rem; font-weight: 900; color: var(--zinc-950); }
.game-info-panel .game-desc { font-size: 1rem; line-height: 1.7; color: var(--zinc-600); margin-top: .5rem; }

.game-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.game-meta span {
  font-size: .78rem;
  font-weight: 800;
  padding: .4rem .85rem;
  border-radius: 999px;
  border: 1px solid var(--red-200);
  color: var(--red);
  background: var(--red-50);
}

/* Catalog cards — open in main player, no tiny iframes */
.game-catalog {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
@media (min-width: 640px) { .game-catalog { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .game-catalog { grid-template-columns: repeat(3, 1fr); } }
.game-catalog-card {
  border: 1px solid var(--red-100);
  border-radius: var(--r);
  padding: 1.35rem;
  background: var(--white);
  cursor: pointer;
  transition: all .2s;
  text-align: left;
}
.game-catalog-card:hover { border-color: var(--red); box-shadow: var(--shadow); transform: translateY(-2px); }
.game-catalog-card .gcc-icon { font-size: 2.25rem; }
.game-catalog-card h4 { font-size: 1.05rem; font-weight: 900; margin-top: .5rem; }
.game-catalog-card p { font-size: .88rem; color: var(--zinc-600); margin-top: .35rem; line-height: 1.5; }
.game-catalog-card .gcc-play { font-size: .8rem; font-weight: 900; color: var(--red); margin-top: .75rem; display: inline-flex; align-items: center; gap: .25rem; }

/* ─── Utilities ─────────────────────────────────────────────────── */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.text-red { color: var(--red); }
.grid-2 { display: grid; gap: 1rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.img-section { border-radius: var(--r); overflow: hidden; border: 1px solid var(--red-100); box-shadow: var(--shadow); }
.img-section img { width: 100%; }
.with-image { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .with-image { grid-template-columns: 1.1fr .9fr; align-items: center; } }
