/* gamezoneportal.ph — Design DNA Stylesheet (prefix: kjh4)
   Layout: comparison-table-first | Hero: stat-strip-led | Nav: floating-pill-nav
   Cards: sharp-outline (2px, no shadow) | CTA: pill-button | Footer: accordion-footer | Motion: static */

:root {
  --kjh4-bg: #1E240F;
  --kjh4-surface: #38431D;
  --kjh4-surface-alt: #2A3315;
  --kjh4-ink: #F8F9F5;
  --kjh4-ink-muted: #D3DBC4;
  --kjh4-accent: #CF4FF3;
  --kjh4-accent2: #B129D6;
  --kjh4-on-accent: #111111;
  --kjh4-border: #596932;
  --kjh4-border-strong: #8AA150;
  --kjh4-warn-bg: #312B14;
  --kjh4-warn-border: #E5B94C;
  --kjh4-font-head: "Familjen Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --kjh4-font-body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --kjh4-fs-sm: 0.9rem;
  --kjh4-fs-base: 1.125rem;
  --kjh4-fs-h4: 1.406rem;
  --kjh4-fs-h3: 1.758rem;
  --kjh4-fs-h2: 2.197rem;
  --kjh4-fs-h1: 2.747rem;
  --kjh4-maxw: 1200px;
  --kjh4-prose: 820px;
  --kjh4-gap: 1.5rem;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  background: var(--kjh4-bg);
  color: var(--kjh4-ink);
  font-family: var(--kjh4-font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  padding: 0;
  background: var(--kjh4-bg);
  color: var(--kjh4-ink);
  font-size: var(--kjh4-fs-base);
  overflow-x: clip;
}

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

a {
  color: var(--kjh4-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--kjh4-ink);
}

:focus-visible {
  outline: 3px solid var(--kjh4-accent);
  outline-offset: 3px;
}

/* Skip link */
.kjh4-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--kjh4-accent);
  color: var(--kjh4-on-accent);
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  z-index: 1000;
}
.kjh4-skip:focus {
  left: 1rem;
  top: 1rem;
}

/* Non-blocking 21+ compliance strip */
.kjh4-age-strip {
  background: var(--kjh4-surface-alt);
  border-bottom: 2px solid var(--kjh4-border);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--kjh4-ink-muted);
  text-align: center;
}
.kjh4-age-strip strong {
  color: var(--kjh4-ink);
}

/* Container */
.kjh4-wrap {
  width: 100%;
  max-width: var(--kjh4-maxw);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Floating Pill Navigation */
.kjh4-nav-shell {
  padding: 1rem 1rem 0;
  position: sticky;
  top: 0;
  z-index: 90;
  background: linear-gradient(180deg, rgba(30, 36, 15, 0.96) 72%, rgba(30, 36, 15, 0) 100%);
}

.kjh4-pill-nav {
  max-width: var(--kjh4-maxw);
  margin: 0 auto;
  background: var(--kjh4-surface);
  border: 2px solid var(--kjh4-border-strong);
  border-radius: 999px;
  padding: 0.5rem 1rem 0.5rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.kjh4-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--kjh4-ink);
  font-family: var(--kjh4-font-head);
  font-weight: 700;
  font-size: 1.15rem;
  min-width: 0;
  flex-shrink: 1;
}

.kjh4-brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kjh4-brand-logo {
  height: 40px;
  width: auto;
  max-width: 72px;
  object-fit: contain;
  border-radius: 6px;
  background: transparent;
  padding: 0;
  flex-shrink: 0;
}

.kjh4-nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.kjh4-nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.45rem 0.85rem;
  color: var(--kjh4-ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 999px;
}

.kjh4-nav-links a:hover,
.kjh4-nav-links a[aria-current="page"] {
  background: var(--kjh4-bg);
  color: var(--kjh4-accent);
}

.kjh4-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Pill Buttons (DNA CTA) */
.kjh4-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.65rem 1.45rem;
  border-radius: 999px;
  font-family: var(--kjh4-font-head);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid var(--kjh4-accent);
  background: var(--kjh4-accent);
  color: var(--kjh4-on-accent);
  white-space: nowrap;
}

.kjh4-pill-btn:hover {
  background: var(--kjh4-accent2);
  border-color: var(--kjh4-accent2);
  color: var(--kjh4-ink);
}

.kjh4-pill-btn-outline {
  background: transparent;
  color: var(--kjh4-ink);
  border: 2px solid var(--kjh4-accent);
}

.kjh4-pill-btn-outline:hover {
  background: var(--kjh4-accent);
  color: var(--kjh4-on-accent);
}

.kjh4-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border-radius: 999px;
  border: 2px solid var(--kjh4-border-strong);
  background: var(--kjh4-bg);
  color: var(--kjh4-ink);
  cursor: pointer;
  padding: 0 0.75rem;
  font-family: var(--kjh4-font-head);
  font-weight: 600;
  font-size: 0.9rem;
}

.kjh4-mobile-drawer {
  display: none;
  max-width: var(--kjh4-maxw);
  margin: 0.6rem auto 0;
  background: var(--kjh4-surface);
  border: 2px solid var(--kjh4-border-strong);
  border-radius: 2px;
  padding: 1rem;
}

.kjh4-mobile-drawer.kjh4-open {
  display: block;
}

.kjh4-mobile-drawer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.kjh4-mobile-drawer a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  border: 2px solid var(--kjh4-border);
  border-radius: 2px;
  color: var(--kjh4-ink);
  text-decoration: none;
  font-size: 0.95rem;
}

/* Headings — Sentence case, Familjen Grotesk */
h1, h2, h3, h4 {
  font-family: var(--kjh4-font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--kjh4-ink);
  margin: 0 0 0.85rem;
  text-transform: none;
}

h1 { font-size: var(--kjh4-fs-h1); letter-spacing: -0.02em; }
h2 { font-size: var(--kjh4-fs-h2); letter-spacing: -0.015em; margin-top: 2.5rem; }
h3 { font-size: var(--kjh4-fs-h3); margin-top: 1.75rem; }
h4 { font-size: var(--kjh4-fs-h4); margin-top: 1.25rem; }

p {
  margin: 0 0 1.15rem;
  color: var(--kjh4-ink);
}

/* Breadcrumbs */
.kjh4-crumbs {
  padding: 1.25rem 0 0.5rem;
  font-size: 0.9rem;
  color: var(--kjh4-ink-muted);
}
.kjh4-crumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}
.kjh4-crumbs a {
  color: var(--kjh4-ink-muted);
  text-decoration: underline;
}
.kjh4-crumbs a:hover {
  color: var(--kjh4-accent);
}

/* Hero — Stat-Strip-Led + Centered-Hero-Left-Body */
.kjh4-hero {
  padding: 3rem 0 2.5rem;
  border-bottom: 2px solid var(--kjh4-border);
}

.kjh4-hero-center {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 2rem;
}

.kjh4-hero-lead {
  font-size: 1.2rem;
  color: var(--kjh4-ink-muted);
  max-width: 720px;
  margin: 0 auto 1.65rem;
}

.kjh4-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.kjh4-meta-line {
  font-size: 0.9rem;
  color: var(--kjh4-ink-muted);
  margin-bottom: 1.5rem;
}

/* Stat Strip (DNA Hero anchor) */
.kjh4-stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 2px solid var(--kjh4-border-strong);
  border-radius: 2px;
  background: var(--kjh4-surface);
  margin-bottom: 2rem;
}

.kjh4-stat-cell {
  padding: 1.15rem 1.25rem;
  border-right: 2px solid var(--kjh4-border);
  text-align: left;
}
.kjh4-stat-cell:last-child {
  border-right: none;
}

.kjh4-stat-val {
  display: block;
  font-family: var(--kjh4-font-head);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--kjh4-accent);
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.kjh4-stat-lbl {
  display: block;
  font-size: 0.88rem;
  color: var(--kjh4-ink-muted);
}

/* Featured Media Frame (sharp-outline 2px, zero shadow) */
.kjh4-media-frame {
  border: 2px solid var(--kjh4-border-strong);
  border-radius: 2px;
  background: var(--kjh4-surface-alt);
  overflow: hidden;
  margin: 1.5rem 0;
}

.kjh4-media-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.kjh4-media-cap {
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  color: var(--kjh4-ink-muted);
  border-top: 2px solid var(--kjh4-border);
  background: var(--kjh4-surface-alt);
}

/* Sections */
.kjh4-section {
  padding: 3rem 0;
  border-bottom: 2px solid var(--kjh4-border);
}

.kjh4-section-head {
  margin-bottom: 1.5rem;
  max-width: var(--kjh4-prose);
}

.kjh4-section-head h2 {
  margin-top: 0;
}

/* Jump Links Bar */
.kjh4-jumpbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem 0;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--kjh4-border);
}

.kjh4-jumpbar a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 1rem;
  border: 2px solid var(--kjh4-border);
  border-radius: 999px;
  color: var(--kjh4-ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.kjh4-jumpbar a:hover {
  border-color: var(--kjh4-accent);
  color: var(--kjh4-accent);
}

/* Comparison Tables (Primary Archetype) */
.kjh4-table-shell {
  width: 100%;
  overflow-x: auto;
  border: 2px solid var(--kjh4-border-strong);
  border-radius: 2px;
  background: var(--kjh4-surface-alt);
  margin: 1.5rem 0;
}

.kjh4-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  text-align: left;
  font-size: 0.98rem;
}

.kjh4-table th,
.kjh4-table td {
  padding: 0.9rem 1rem;
  border-bottom: 2px solid var(--kjh4-border);
  border-right: 1px solid var(--kjh4-border);
  vertical-align: top;
}

.kjh4-table th:last-child,
.kjh4-table td:last-child {
  border-right: none;
}

.kjh4-table thead th {
  background: var(--kjh4-surface);
  font-family: var(--kjh4-font-head);
  font-weight: 700;
  color: var(--kjh4-ink);
  white-space: nowrap;
}

.kjh4-table tbody tr:nth-child(even) {
  background: rgba(56, 67, 29, 0.35);
}

.kjh4-table tbody tr:last-child td {
  border-bottom: none;
}

/* Sharp-Outline Grid & Cards (0-2px radius, 2px border, zero shadow) */
.kjh4-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.kjh4-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.kjh4-card {
  background: var(--kjh4-surface);
  border: 2px solid var(--kjh4-border-strong);
  border-radius: 2px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
}

.kjh4-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 2px solid var(--kjh4-border);
  border-radius: 2px;
}

.kjh4-card-title {
  font-family: var(--kjh4-font-head);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}

.kjh4-card-title a {
  color: var(--kjh4-ink);
  text-decoration: none;
}

.kjh4-card-title a:hover {
  color: var(--kjh4-accent);
  text-decoration: underline;
}

.kjh4-card-meta {
  font-size: 0.88rem;
  color: var(--kjh4-ink-muted);
}

/* Callouts: Expert Insight, TL;DR, Answer Capsule, Pro Tip, Important */
.kjh4-expert-box {
  border: 2px solid var(--kjh4-accent);
  border-left: 6px solid var(--kjh4-accent);
  border-radius: 2px;
  background: var(--kjh4-surface);
  padding: 1.25rem 1.4rem;
  margin: 1.5rem 0;
}

.kjh4-tldr-box {
  border: 2px solid var(--kjh4-border-strong);
  border-radius: 2px;
  background: var(--kjh4-surface-alt);
  padding: 1.35rem 1.5rem;
  margin: 1.5rem 0;
}

.kjh4-capsule {
  border-left: 4px solid var(--kjh4-accent);
  padding: 0.55rem 0 0.55rem 1.1rem;
  margin: 0.85rem 0 1.25rem;
  background: rgba(56, 67, 29, 0.35);
  color: var(--kjh4-ink);
}

.kjh4-callout {
  border: 2px solid var(--kjh4-border-strong);
  border-radius: 2px;
  background: var(--kjh4-surface);
  padding: 1.15rem 1.3rem;
  margin: 1.35rem 0;
}

.kjh4-callout-warn {
  background: var(--kjh4-warn-bg);
  border-color: var(--kjh4-warn-border);
}

/* Article Layout (left-body prose + structured side index on desktop) */
.kjh4-article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 2.25rem;
  align-items: start;
  padding: 2rem 0 3rem;
}

.kjh4-prose {
  min-width: 0;
}

.kjh4-prose ul,
.kjh4-prose ol {
  margin: 0 0 1.35rem 1.35rem;
  padding: 0;
}

.kjh4-prose li {
  margin-bottom: 0.55rem;
}

.kjh4-sidebar {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.kjh4-side-box {
  border: 2px solid var(--kjh4-border-strong);
  border-radius: 2px;
  background: var(--kjh4-surface);
  padding: 1.2rem;
}

.kjh4-side-box h3 {
  font-size: 1.1rem;
  margin: 0 0 0.85rem;
}

.kjh4-side-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.kjh4-side-list a {
  display: block;
  padding: 0.35rem 0;
  color: var(--kjh4-ink);
  font-size: 0.94rem;
  text-decoration: none;
  border-bottom: 1px solid var(--kjh4-border);
}

.kjh4-side-list a:hover {
  color: var(--kjh4-accent);
}

/* Numbered Step List */
.kjh4-steps {
  list-style: none;
  margin: 1.25rem 0 1.6rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.kjh4-steps li {
  border: 2px solid var(--kjh4-border);
  border-radius: 2px;
  background: var(--kjh4-surface-alt);
  padding: 1rem 1.15rem;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 0.85rem;
  align-items: start;
}

.kjh4-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 2px solid var(--kjh4-accent);
  border-radius: 2px;
  font-family: var(--kjh4-font-head);
  font-weight: 700;
  color: var(--kjh4-accent);
  font-size: 0.95rem;
}

/* FAQ Accordion */
.kjh4-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.kjh4-faq-item {
  border: 2px solid var(--kjh4-border-strong);
  border-radius: 2px;
  background: var(--kjh4-surface);
}

.kjh4-faq-item summary {
  cursor: pointer;
  padding: 1.05rem 1.25rem;
  font-family: var(--kjh4-font-head);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--kjh4-ink);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 48px;
}

.kjh4-faq-item summary::-webkit-details-marker {
  display: none;
}

.kjh4-faq-item summary::after {
  content: "+";
  color: var(--kjh4-accent);
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
}

.kjh4-faq-item[open] summary::after {
  content: "-";
}

.kjh4-faq-body {
  padding: 0 1.25rem 1.15rem;
  color: var(--kjh4-ink-muted);
  border-top: 1px solid var(--kjh4-border);
  padding-top: 0.9rem;
}

/* Responsible Gaming Band */
.kjh4-rg-panel {
  border: 2px solid var(--kjh4-warn-border);
  border-radius: 2px;
  background: var(--kjh4-warn-bg);
  padding: 1.65rem;
  margin: 2rem 0;
}

.kjh4-rg-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--kjh4-warn-border);
  border-radius: 2px;
  padding: 0.2rem 0.65rem;
  font-family: var(--kjh4-font-head);
  font-weight: 700;
  color: var(--kjh4-warn-border);
  margin-right: 0.5rem;
}

/* Glossary Grid */
.kjh4-glossary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.kjh4-glossary-item {
  border: 2px solid var(--kjh4-border);
  border-radius: 2px;
  background: var(--kjh4-surface-alt);
  padding: 1.1rem 1.25rem;
}

.kjh4-glossary-item dt {
  font-family: var(--kjh4-font-head);
  font-weight: 700;
  color: var(--kjh4-accent);
  margin-bottom: 0.35rem;
}

.kjh4-glossary-item dd {
  margin: 0;
  color: var(--kjh4-ink-muted);
  font-size: 0.96rem;
}

/* CTA Band */
.kjh4-cta-band {
  border: 2px solid var(--kjh4-accent);
  border-radius: 2px;
  background: var(--kjh4-surface);
  padding: 1.75rem;
  margin: 2rem 0;
}

.kjh4-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.15rem;
}

/* Accordion Footer (DNA Footer) */
.kjh4-footer {
  background: var(--kjh4-surface-alt);
  border-top: 2px solid var(--kjh4-border-strong);
  padding: 2.5rem 0 5.5rem;
}

.kjh4-footer-accordions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.kjh4-acc-group {
  border: 2px solid var(--kjh4-border);
  border-radius: 2px;
  background: var(--kjh4-surface);
}

.kjh4-acc-group summary {
  cursor: pointer;
  padding: 0.95rem 1.15rem;
  font-family: var(--kjh4-font-head);
  font-weight: 700;
  color: var(--kjh4-ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 48px;
}

.kjh4-acc-group summary::-webkit-details-marker {
  display: none;
}

.kjh4-acc-group summary::after {
  content: "+";
  color: var(--kjh4-accent);
  font-size: 1.25rem;
}

.kjh4-acc-group[open] summary::after {
  content: "-";
}

.kjh4-acc-links {
  list-style: none;
  margin: 0;
  padding: 0.5rem 1.15rem 1rem;
  border-top: 1px solid var(--kjh4-border);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem 0.75rem;
}

.kjh4-acc-links a {
  color: var(--kjh4-ink-muted);
  text-decoration: none;
  font-size: 0.92rem;
  display: inline-block;
  padding: 0.25rem 0;
}

.kjh4-acc-links a:hover {
  color: var(--kjh4-accent);
  text-decoration: underline;
}

.kjh4-footer-legal {
  border-top: 2px solid var(--kjh4-border);
  padding-top: 1.5rem;
  font-size: 0.88rem;
  color: var(--kjh4-ink-muted);
}

/* Mobile Sticky Bottom CTA Bar (44px+ tap targets) */
.kjh4-sticky-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  background: var(--kjh4-surface);
  border-top: 2px solid var(--kjh4-accent);
  padding: 0.6rem 0.85rem;
  gap: 0.65rem;
}

.kjh4-sticky-bar .kjh4-pill-btn {
  flex: 1;
  padding: 0.6rem 0.75rem;
  font-size: 0.94rem;
}

/* Line Icons */
.kjh4-icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .kjh4-nav-links {
    display: none;
  }
  .kjh4-menu-btn {
    display: inline-flex;
  }
  .kjh4-article-grid {
    grid-template-columns: 1fr;
  }
  .kjh4-sidebar {
    position: static;
  }
  .kjh4-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .kjh4-stat-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .kjh4-stat-cell:nth-child(2) {
    border-right: none;
  }
  .kjh4-stat-cell:nth-child(1),
  .kjh4-stat-cell:nth-child(2) {
    border-bottom: 2px solid var(--kjh4-border);
  }
}

@media (max-width: 680px) {
  body {
    font-size: 1rem;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.32rem; }
  .kjh4-nav-shell {
    padding: 0.7rem 0.65rem 0;
  }
  .kjh4-pill-nav {
    padding: 0.35rem 0.5rem 0.35rem 0.65rem;
    gap: 0.4rem;
    max-width: 100%;
    overflow: hidden;
  }
  .kjh4-brand {
    gap: 0.45rem;
    font-size: 0.95rem;
    flex: 1 1 auto;
    min-width: 0;
  }
  .kjh4-brand-logo {
    height: 32px;
    max-width: 48px;
  }
  .kjh4-nav-actions {
    gap: 0.35rem;
    flex-shrink: 0;
  }
  .kjh4-nav-actions .kjh4-pill-btn-outline {
    display: none;
  }
  .kjh4-nav-actions .kjh4-pill-btn {
    padding: 0 0.85rem;
    min-height: 44px;
    font-size: 0.84rem;
  }
  .kjh4-menu-btn {
    min-width: 44px;
    min-height: 44px;
    padding: 0 0.7rem;
    font-size: 0.84rem;
  }
  .kjh4-grid,
  .kjh4-grid-2,
  .kjh4-glossary-grid,
  .kjh4-footer-accordions,
  .kjh4-acc-links,
  .kjh4-mobile-drawer ul {
    grid-template-columns: 1fr;
  }
  .kjh4-stat-strip {
    grid-template-columns: 1fr;
  }
  .kjh4-stat-cell {
    border-right: none;
    border-bottom: 2px solid var(--kjh4-border);
  }
  .kjh4-stat-cell:last-child {
    border-bottom: none;
  }
  .kjh4-sticky-bar {
    display: flex;
  }
}

@media (max-width: 400px) {
  .kjh4-brand {
    font-size: 0.88rem;
    gap: 0.35rem;
  }
  .kjh4-brand-logo {
    height: 28px;
    max-width: 42px;
  }
  .kjh4-nav-actions .kjh4-pill-btn {
    padding: 0 0.72rem;
    font-size: 0.8rem;
  }
  .kjh4-menu-btn {
    padding: 0 0.6rem;
    font-size: 0.8rem;
  }
}

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