/* ==========================================================================
   JKB Asia — main stylesheet
   Mobile-first. Dark gaming theme. No framework.
   Sections: 1 Fonts · 2 Tokens · 3 Base · 4 Layout · 5 Header/Nav · 6 Search
             7 Hero · 8 Cards · 9 Content · 10 Notices · 11 Tables · 12 FAQ
             13 Article · 14 Footer · 15 Utilities · 16 Breakpoints
   ========================================================================== */

/* 1. Fonts (self-hosted, variable, Latin subset) ------------------------- */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-latin-var.woff2") format("woff2");
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}

/* 2. Design tokens ------------------------------------------------------- */
:root {
  --bg: #070a14;
  --bg-2: #0b1024;
  --surface: rgba(20, 26, 54, 0.72);
  --surface-solid: #121833;
  --surface-2: #1a2147;
  --border: rgba(148, 163, 255, 0.14);
  --border-strong: rgba(148, 163, 255, 0.28);
  --text: #e8ecfb;
  --text-muted: #a9b2d4;
  --text-dim: #8590b8;
  --purple: #8b5cf6;
  --purple-deep: #5b21b6;
  --blue: #3b82f6;
  --cyan: #22d3ee;
  --gold: #f5c542;
  --gold-deep: #d4a017;
  --emerald: #10b981;
  --red: #f87171;
  --grad-brand: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 55%, #22d3ee 100%);
  --grad-gold: linear-gradient(135deg, #fde68a 0%, #f5c542 45%, #d4a017 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --glow: 0 0 0 1px rgba(139, 92, 246, 0.35), 0 8px 30px rgba(59, 130, 246, 0.18);
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Sora", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1200px;
  --gutter: 16px;
  --header-h: 64px;
  color-scheme: dark;
}

/* 3. Base ---------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 85% -10%, rgba(91, 33, 182, 0.35), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(37, 99, 235, 0.22), transparent 60%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--cyan); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: #67e8f9; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
  color: #fff;
}
h1 { font-size: clamp(1.85rem, 5.5vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 3.4vw, 2rem); font-weight: 700; margin-top: 1.6em; }
h3 { font-size: clamp(1.1rem, 2.4vw, 1.3rem); font-weight: 600; margin-top: 1.4em; }

p, ul, ol { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: 0.4em; }
strong { color: #fff; font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--gold);
  color: #111;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* 4. Layout -------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.narrow { max-width: 820px; }
.section { padding: 48px 0; }
.section--tight { padding: 32px 0; }
.section-head { max-width: 760px; margin-bottom: 28px; }
.section-head h2 { margin-top: 0; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.lead { font-size: 1.12rem; color: var(--text-muted); }

/* 5. Header & navigation ------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 10, 20, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  margin-right: auto;
}
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand span b { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}
.icon-btn:hover { border-color: var(--purple); }
.icon-btn svg { width: 22px; height: 22px; }

.primary-nav { display: none; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.primary-nav a {
  display: block;
  padding: 10px 12px;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 10px;
}
.primary-nav a:hover,
.primary-nav a[aria-current="page"] { color: #fff; background: rgba(139, 92, 246, 0.16); }

.header-cta { display: none; gap: 8px; }

.subnav { display: none; border-top: 1px solid var(--border); }
.subnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; min-height: 42px; flex-wrap: wrap; }
.subnav li { margin: 0; }
.subnav .label { color: var(--text-dim); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; margin-right: 8px; }
.subnav a { color: var(--text-muted); text-decoration: none; font-size: 0.88rem; padding: 6px 10px; border-radius: 8px; }
.subnav a:hover, .subnav a[aria-current="page"] { color: #fff; background: rgba(34, 211, 238, 0.1); }

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--bg);
  overflow-y: auto;
  padding: 16px var(--gutter) 40px;
  z-index: 99;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav h2 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin: 20px 0 8px;
}
.mobile-nav ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mobile-nav li { margin: 0; }
.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}
.mobile-nav a[aria-current="page"] { border-color: var(--purple); background: rgba(139, 92, 246, 0.18); }
body.nav-open { overflow: hidden; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 20px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--grad-gold); color: #1a1205; box-shadow: 0 6px 22px rgba(245, 197, 66, 0.28); }
.btn--gold:hover { color: #1a1205; box-shadow: 0 8px 28px rgba(245, 197, 66, 0.4); }
.btn--ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--border-strong); color: #fff; }
.btn--ghost:hover { color: #fff; border-color: var(--cyan); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 0.88rem; }

/* 6. Site search --------------------------------------------------------- */
.search-dialog {
  width: min(680px, calc(100% - 24px));
  max-height: min(80vh, 640px);
  margin: 10vh auto auto;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--surface-solid);
  color: var(--text);
  box-shadow: var(--shadow);
}
.search-dialog::backdrop { background: rgba(3, 5, 12, 0.7); backdrop-filter: blur(4px); }
.search-head { display: flex; gap: 8px; padding: 14px; border-bottom: 1px solid var(--border); }
.search-head label { flex: 1; }
.search-head input {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  font: inherit;
  font-size: 1rem;
  color: #fff;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
}
.search-head input:focus { outline: 2px solid var(--purple); outline-offset: 1px; }
.search-results { list-style: none; margin: 0; padding: 8px; overflow-y: auto; max-height: calc(min(80vh, 640px) - 80px); }
.search-results li { margin: 0; }
.search-results a { display: block; padding: 12px 14px; border-radius: 12px; text-decoration: none; color: var(--text); }
.search-results a:hover, .search-results a:focus-visible { background: rgba(139, 92, 246, 0.16); }
.search-results .r-type { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); }
.search-results .r-title { display: block; font-weight: 600; color: #fff; }
.search-results .r-desc { display: block; font-size: 0.9rem; color: var(--text-muted); }
.search-empty { padding: 18px; color: var(--text-muted); }

/* 7. Breadcrumbs & hero -------------------------------------------------- */
.breadcrumbs { padding-top: 16px; font-size: 0.88rem; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; color: var(--text-dim); line-height: 1.6; }
.breadcrumbs li { margin: 0; display: inline; }
.breadcrumbs li + li::before { content: "\203A"; color: var(--text-dim); margin: 0 8px 0 6px; }
.breadcrumbs a { color: var(--text-muted); text-decoration: none; padding: 4px 0; }
.breadcrumbs a:hover { color: var(--cyan); text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--text); overflow-wrap: anywhere; }

.hero { padding: 36px 0 24px; position: relative; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.hero h1 .accent { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 18px; }
.hero-art {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--glow);
  aspect-ratio: 1 / 1;
  background: var(--surface-solid);
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li {
  margin: 0;
  font-size: 0.82rem;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
}

.page-hero { padding-top: 20px; padding-bottom: 8px; }
.page-hero .lead { max-width: 760px; }
.page-meta { color: var(--text-dim); font-size: 0.88rem; margin-top: -4px; }

/* 8. Cards --------------------------------------------------------------- */
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.card--link:hover { border-color: rgba(139, 92, 246, 0.6); box-shadow: var(--glow); transform: translateY(-2px); }
.card--link a.stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card a.stretched { color: #fff; text-decoration: none; }
.card a.stretched:hover { color: var(--cyan); }
.card .more { margin-top: auto; padding-top: 12px; color: var(--cyan); font-weight: 600; font-size: 0.92rem; }
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.35), rgba(34, 211, 238, 0.2));
  border: 1px solid var(--border-strong);
}
.card-icon svg { width: 26px; height: 26px; color: var(--gold); }
.card-icon--emerald { background: linear-gradient(135deg, rgba(16, 185, 129, 0.35), rgba(34, 211, 238, 0.15)); }
.card-icon--emerald svg { color: #6ee7b7; }
.card-icon--blue svg { color: var(--cyan); }

.post-card { padding: 0; overflow: hidden; }
.post-card .thumb { aspect-ratio: 1200 / 630; background: var(--surface-solid); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 1.1rem; margin: 6px 0 8px; }
.post-card p { color: var(--text-muted); font-size: 0.95rem; }
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.meta-line { font-size: 0.84rem; color: var(--text-dim); margin-top: auto; }

.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 12px; }
.steps > li {
  counter-increment: step;
  position: relative;
  padding: 16px 18px 16px 64px;
  margin: 0;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 14px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  color: #1a1205;
  background: var(--grad-gold);
}
.steps strong { display: block; margin-bottom: 2px; }

.pros-cons { display: grid; gap: 16px; }
.pros-cons .card h3 { display: flex; align-items: center; gap: 8px; }
.pros-cons ul { margin-bottom: 0; }
.pros { border-color: rgba(16, 185, 129, 0.4); }
.cons { border-color: rgba(248, 113, 113, 0.35); }

/* 9. Long-form content --------------------------------------------------- */
.prose { max-width: 780px; }
.prose > h2:first-child { margin-top: 0; }
.prose ul li::marker { color: var(--purple); }
.prose blockquote {
  margin: 1.5em 0;
  padding: 12px 20px;
  border-left: 3px solid var(--purple);
  background: rgba(139, 92, 246, 0.08);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-muted);
}
.layout-2col { display: grid; gap: 32px; }
.toc {
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.93rem;
}
.toc h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-dim); margin: 0 0 8px; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc a { color: var(--text-muted); text-decoration: none; }
.toc a:hover { color: var(--cyan); }

/* 10. Notices / information labels -------------------------------------- */
.notice {
  margin: 1.5em 0;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: rgba(59, 130, 246, 0.08);
}
.notice p:last-child, .notice ul:last-child { margin-bottom: 0; }
.notice-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
  background: rgba(59, 130, 246, 0.2);
  color: #bfdbfe;
}
.notice--verify { border-color: rgba(245, 197, 66, 0.45); background: rgba(245, 197, 66, 0.07); }
.notice--verify .notice-label { background: rgba(245, 197, 66, 0.18); color: var(--gold); }
.notice--rg { border-color: rgba(16, 185, 129, 0.45); background: rgba(16, 185, 129, 0.07); }
.notice--rg .notice-label { background: rgba(16, 185, 129, 0.18); color: #6ee7b7; }
.notice--editorial { border-color: rgba(139, 92, 246, 0.45); background: rgba(139, 92, 246, 0.08); }
.notice--editorial .notice-label { background: rgba(139, 92, 246, 0.22); color: #ddd6fe; }
.notice--warn { border-color: rgba(248, 113, 113, 0.45); background: rgba(248, 113, 113, 0.07); }
.notice--warn .notice-label { background: rgba(248, 113, 113, 0.18); color: #fecaca; }

.takeaways {
  margin: 1.5em 0 2em;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.14), rgba(34, 211, 238, 0.06));
  border: 1px solid rgba(139, 92, 246, 0.4);
}
.takeaways h2 { font-size: 1.1rem; margin: 0 0 10px; }
.takeaways ul { margin: 0; }

.legend { display: grid; gap: 10px; grid-template-columns: 1fr; margin: 1.2em 0; }
.legend .notice { margin: 0; }

/* 11. Tables ------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  margin: 1.5em 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}
.table-wrap:focus-visible { outline: 3px solid var(--gold); }
table { width: 100%; border-collapse: collapse; font-size: 0.94rem; min-width: 480px; }
caption { text-align: left; padding: 14px 16px 4px; color: var(--text-dim); font-size: 0.85rem; }
th, td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
th { font-family: var(--font-head); font-weight: 600; color: #fff; background: rgba(139, 92, 246, 0.1); }
tr:last-child td { border-bottom: 0; }

/* 12. FAQ ---------------------------------------------------------------- */
.faq-list { display: grid; gap: 10px; }
.faq-item {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.faq-item[open] { border-color: rgba(139, 92, 246, 0.5); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 52px 16px 18px;
  position: relative;
  min-height: 48px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { display: inline; font-size: 1.02rem; margin: 0; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--gold);
  font-family: var(--font-head);
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-answer { padding: 0 18px 16px; color: var(--text-muted); }
.faq-answer p:last-child { margin-bottom: 0; }

/* 13. Article ------------------------------------------------------------ */
.article-header { padding-top: 16px; padding-bottom: 8px; }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-bottom: 18px;
}
.article-meta a { color: var(--text-muted); }
.featured {
  margin: 0 0 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  aspect-ratio: 1200 / 630;
  background: var(--surface-solid);
}
.featured img { width: 100%; height: 100%; object-fit: cover; }
.author-box {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 2.5em 0 1em;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.avatar {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  color: #fff;
  background: var(--grad-brand);
}
.avatar--lg { width: 96px; height: 96px; flex-basis: 96px; font-size: 2rem; }
.author-box h2 { font-size: 1.05rem; margin: 0 0 4px; }
.author-box p { margin: 0; font-size: 0.94rem; color: var(--text-muted); }

/* 14. Footer ------------------------------------------------------------- */
.site-footer {
  margin-top: 56px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(11, 16, 36, 0.6), #05070f);
  font-size: 0.93rem;
}
.rg-banner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.age-badge {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid var(--red);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
}
.rg-banner p { margin: 0; color: var(--text-muted); }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; padding: 32px 0; }
.footer-grid h2 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin: 0 0 12px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin: 0 0 4px; }
.footer-grid a { color: var(--text-muted); text-decoration: none; display: inline-block; padding: 4px 0; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-about { grid-column: 1 / -1; }
.footer-about p { color: var(--text-muted); max-width: 460px; }
.footer-bottom {
  padding: 18px 0 28px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.85rem;
}
.footer-bottom p { margin: 0 0 6px; }

/* 15. Utilities ---------------------------------------------------------- */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.muted { color: var(--text-muted); }
.cta-band {
  margin: 40px 0 0;
  padding: 28px 22px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(400px 200px at 90% 0%, rgba(245, 197, 66, 0.18), transparent 70%),
    linear-gradient(135deg, rgba(91, 33, 182, 0.55), rgba(30, 64, 175, 0.45));
  border: 1px solid var(--border-strong);
}
.cta-band h2 { margin-top: 0; }
.cta-band p { color: var(--text-muted); }
.link-list { list-style: none; padding: 0; display: grid; gap: 8px; }
.link-list li { margin: 0; }
.link-list a {
  display: block;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
}
.link-list a:hover { border-color: var(--cyan); }
.link-list span { display: block; color: var(--text-muted); font-size: 0.9rem; }

/* 16. Breakpoints -------------------------------------------------------- */
@media (min-width: 480px) {
  .legend { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 640px) {
  :root { --gutter: 24px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .pros-cons { grid-template-columns: 1fr 1fr; }
  .rg-banner { flex-direction: row; align-items: center; gap: 18px; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .mobile-nav ul { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 32px; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 48px; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .layout-2col { grid-template-columns: minmax(0, 1fr) 280px; align-items: start; }
  .layout-2col .sidebar { position: sticky; top: calc(var(--header-h) + 60px); }
  .footer-grid { grid-template-columns: 1.6fr repeat(3, 1fr); }
  .footer-about { grid-column: auto; }
}
@media (min-width: 1100px) {
  .primary-nav { display: block; }
  .header-cta { display: flex; }
  .subnav { display: block; }
  .menu-toggle { display: none; }
  .mobile-nav { display: none !important; }
}
