/* ============================================================
   Fit - design system "Energia i forma"
   Barlow Condensed (display - sportowy plakat) + Work Sans (body)
   Light: krem siłowni / grafit / energetyczny vermilion + zieleń
   Dark:  grafit nocy / ciepły tekst / pomarańcz energii + limonka
   WCAG 2.1 AA: kontrast >= 4.5:1 (zweryfikowano skryptem)
   ============================================================ */

:root {
  /* Light - "światło porannego treningu" */
  --bg: #f6f3ec;
  --bg-soft: #ede8dd;
  --surface: #fdfbf6;
  --surface-2: #f3eee4;
  --ink: #211d17;
  --ink-soft: #40382d;
  --muted: #6b6255;
  --accent: #c2410c;          /* vermilion energii - tekst, przyciski */
  --accent-bright: #ea580c;   /* pomarańcz dekoracyjny */
  --accent-soft: #f9dfcd;     /* poświata energii */
  --secondary: #15803d;       /* głęboka zieleń zdrowia - linki pomocnicze */
  --border: #e0d8c8;
  --border-strong: #cdc2ac;
  --success: #166534;
  --success-bg: #e3efe4;
  --warn: #9a3412;
  --warn-bg: #fbe9e0;
  --tip-bg: #e8f2ea;
  --tip-border: #bfd9c6;
  --header-bg: rgba(253, 251, 246, 0.92);
  --header-border: rgba(33, 29, 23, 0.12);
  --shadow-card: 0 1px 2px rgba(33, 29, 23, 0.05), 0 4px 14px rgba(33, 29, 23, 0.07);
  --shadow-card-hover: 0 2px 4px rgba(33, 29, 23, 0.07), 0 10px 26px rgba(194, 65, 12, 0.13);
  --accent-light: rgba(234, 88, 12, 0.5);
  --accent-subtle: rgba(234, 88, 12, 0.25);
  --code-bg: #efe9db;
  --radius: 14px;
  --radius-sm: 9px;
  --transition: 0.2s ease-out;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Work Sans", "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    /* Dark - "wieczorny trening na sali" */
    --bg: #131110;
    --bg-soft: #181512;
    --surface: #1d1916;
    --surface-2: #241f1a;
    --ink: #ece7de;
    --ink-soft: #cfc8bb;
    --muted: #a89f90;
    --accent: #fb923c;
    --accent-bright: #fdba74;
    --accent-soft: #3a2415;
    --secondary: #6ee7a0;
    --border: #2c2722;
    --border-strong: #3d362e;
    --success: #86efac;
    --success-bg: #16261b;
    --warn: #f2a98d;
    --warn-bg: #331d16;
    --tip-bg: #182219;
    --tip-border: #2f4a36;
    --header-bg: rgba(19, 17, 16, 0.9);
    --header-border: rgba(236, 231, 222, 0.1);
    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.3), 0 4px 14px rgba(0, 0, 0, 0.3);
    --shadow-card-hover: 0 2px 4px rgba(0, 0, 0, 0.35), 0 10px 26px rgba(251, 146, 60, 0.16);
    --accent-light: rgba(251, 146, 60, 0.24);
    --accent-subtle: rgba(251, 146, 60, 0.14);
    --code-bg: #262019;
  }
}

/* ---------- Reset / base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 900px 500px at -10% -10%, var(--accent-light), transparent 60%),
    radial-gradient(ellipse 700px 450px at 110% 110%, rgba(21, 128, 61, 0.14), transparent 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: #fff; padding: 10px 18px;
  border-radius: 0 0 var(--radius-sm) 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- Header ---------- */
.app-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--header-border);
}
.app-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-subtle), transparent);
  opacity: 0.7; pointer-events: none;
}

.header-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 20px;
  height: 64px; display: flex; align-items: center; gap: 16px;
}

.brand { display: flex; align-items: center; gap: 9px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark {
  font-size: 1.35rem; line-height: 1;
  filter: drop-shadow(0 0 6px var(--accent-subtle));
  transition: transform var(--transition);
}
.brand:hover .brand-mark { transform: rotate(-12deg) scale(1.08); }
.brand-name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.22rem; letter-spacing: 0.01em;
}
.brand-name em {
  font-style: normal; color: var(--accent); font-weight: 700;
}

.search-wrap { position: relative; flex: 1; max-width: 440px; margin-left: auto; }

.search-input {
  width: 100%; padding: 9px 16px;
  font-family: var(--font-body); font-size: 0.95rem; color: var(--ink);
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 999px; outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-subtle);
}
.search-input::placeholder { color: var(--muted); }

.search-results {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 60;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-card-hover);
  overflow: hidden; display: none;
}
.search-results.open { display: block; }
.search-item {
  display: block; padding: 10px 14px; color: var(--ink);
  border-bottom: 1px solid var(--border);
}
.search-item:last-child { border-bottom: none; }
.search-item:hover { background: var(--surface-2); text-decoration: none; }
.si-title { font-weight: 700; font-size: 0.92rem; }
.si-section { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
.search-empty { padding: 12px 14px; color: var(--muted); font-size: 0.9rem; }

.header-tagline {
  font-size: 0.82rem; color: var(--muted); font-weight: 600;
  white-space: nowrap; letter-spacing: 0.03em;
}

.menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-btn span {
  display: block; width: 22px; height: 2px; background: var(--ink);
  margin: 5px 0; border-radius: 2px; transition: transform var(--transition), opacity var(--transition);
}
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Layout ---------- */
.layout {
  max-width: 1280px; margin: 0 auto; padding: 84px 20px 40px;
  display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px;
}

.sidebar { position: sticky; top: 84px; align-self: start; max-height: calc(100vh - 104px); overflow-y: auto; }
.sidebar::-webkit-scrollbar { width: 6px; }
.sidebar::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }

.side-group { margin-bottom: 10px; border-bottom: 1px solid var(--border); padding-bottom: 10px; }
.side-group[open] { margin-bottom: 18px; }
.side-group-title {
  font-size: 0.7rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--muted); margin-bottom: 8px;
  padding-left: 10px; cursor: pointer; user-select: none;
  list-style: none; display: flex; align-items: center; gap: 6px;
}
.side-group-title::-webkit-details-marker { display: none; }
.side-group-title::after {
  content: "▾"; font-size: 0.6rem; color: var(--border-strong);
  transition: transform var(--transition);
}
.side-group:not([open]) .side-group-title::after { transform: rotate(-90deg); }
.sidebar-link {
  display: flex; align-items: center; gap: 9px;
  font-size: 0.9rem; font-weight: 600; color: var(--ink-soft);
  padding: 6px 10px; border-radius: var(--radius-sm);
  border-left: 3px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.sidebar-link:hover { background: var(--surface-2); color: var(--ink); text-decoration: none; }
.sidebar-link.active {
  background: var(--accent-soft); color: var(--accent);
  border-left-color: var(--accent); font-weight: 700;
}
.s-icon { font-size: 0.95rem; flex-shrink: 0; width: 1.3em; text-align: center; }

.sidebar-overlay {
  display: none; position: fixed; inset: 0; background: rgba(16, 19, 31, 0.55);
  z-index: 45; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.sidebar-overlay.show { display: block; }

/* ---------- Main ---------- */
.main-content { min-width: 0; }
.app-content { animation: fadeUp 0.25s ease-out; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Home hero ---------- */
.home-hero {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse 600px 300px at 78% 22%, rgba(251, 146, 60, 0.2), transparent 65%),
    radial-gradient(ellipse 500px 400px at 85% 90%, rgba(22, 128, 61, 0.35), transparent 70%),
    linear-gradient(150deg, #191511 0%, #231c14 45%, #141210 100%);
  color: #f2ece1;
  padding: 48px 44px 40px;
  border: 1px solid rgba(242, 236, 225, 0.09);
  box-shadow: var(--shadow-card-hover);
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: center;
}

.hero-eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: #fb923c; margin-bottom: 14px;
}

.home-hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.1rem, 4.2vw, 3.1rem); line-height: 1.08;
  text-transform: uppercase; letter-spacing: 0.01em;
  text-wrap: balance; margin-bottom: 14px; color: #f7f2e8;
}
.accent-word { color: #fb923c; }

.hero-sub { font-size: 1.02rem; line-height: 1.65; color: #d3ccbf; max-width: 60ch; margin-bottom: 22px; }

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 11px 22px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 800; font-size: 0.95rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: #ea580c; color: #241206; box-shadow: 0 4px 14px rgba(234, 88, 12, 0.4); }
.btn-primary:hover { background: #f26a1f; box-shadow: 0 6px 20px rgba(234, 88, 12, 0.5); }
.btn-ghost { background: transparent; color: #f2ece1; border: 1px solid rgba(242, 236, 225, 0.35); }
.btn-ghost:hover { background: rgba(242, 236, 225, 0.08); }

/* Pulse signature - tętno treningu */
.hero-visual { position: relative; height: 240px; display: flex; align-items: center; justify-content: center; }
.pulse-ring {
  position: absolute; width: 176px; height: 176px; border-radius: 50%;
  border: 2px solid rgba(251, 146, 60, 0.4);
  animation: pulse 3.2s ease-out infinite;
}
.pulse-ring.r2 { border-color: rgba(110, 231, 160, 0.35); animation-delay: 1.05s; }
.pulse-ring.r3 { border-color: rgba(251, 146, 60, 0.25); animation-delay: 2.1s; }
.pulse-core {
  position: relative; z-index: 2; width: 118px; height: 118px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 3rem;
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 214, 170, 0.55), transparent 42%),
    radial-gradient(circle at 60% 55%, rgba(234, 88, 12, 0.35), transparent 40%),
    linear-gradient(145deg, #33261a 0%, #1d1712 100%);
  border: 1px solid rgba(251, 146, 60, 0.35);
  box-shadow: 0 0 34px rgba(234, 88, 12, 0.4), inset 0 0 18px rgba(251, 146, 60, 0.12);
  animation: coreBreathe 4s ease-in-out infinite;
}
.chip {
  position: absolute; z-index: 3;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.04em;
  color: #f7f2e8; background: rgba(29, 25, 22, 0.85);
  border: 1px solid rgba(251, 146, 60, 0.35);
  padding: 4px 12px; border-radius: 999px;
  animation: floaty 5s ease-in-out infinite;
}
.chip.c1 { top: 26px; left: 12%; animation-delay: 0s; }
.chip.c2 { bottom: 40px; left: 4%; animation-delay: 1.6s; color: #6ee7a0; border-color: rgba(110, 231, 160, 0.35); }
.chip.c3 { top: 44px; right: 6%; animation-delay: 0.8s; }
.chip.c4 { bottom: 22px; right: 16%; animation-delay: 2.4s; }

@keyframes pulse {
  0% { transform: scale(0.62); opacity: 0.85; }
  100% { transform: scale(1.42); opacity: 0; }
}
@keyframes coreBreathe {
  0%, 100% { box-shadow: 0 0 30px rgba(234, 88, 12, 0.35), inset 0 0 18px rgba(251, 146, 60, 0.1); }
  50% { box-shadow: 0 0 44px rgba(234, 88, 12, 0.55), inset 0 0 22px rgba(251, 146, 60, 0.18); }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ---------- Home sections ---------- */
.home-section { margin-top: 44px; }
.home-section h2 {
  font-family: var(--font-display); font-size: 1.45rem; font-weight: 700;
  display: flex; align-items: baseline; gap: 12px; text-wrap: balance;
}
.sec-count {
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 900;
  color: var(--accent); letter-spacing: 0.08em;
}
.sec-desc { color: var(--muted); margin-top: 4px; max-width: 65ch; }

.card-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 16px; margin-top: 16px;
}

.home-card {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.home-card:hover {
  transform: translateY(-2px); text-decoration: none;
  box-shadow: var(--shadow-card-hover); border-color: var(--accent-bright);
}
.hc-icon { font-size: 1.5rem; line-height: 1; }
.home-card h3 {
  font-size: 0.9rem; font-weight: 800; color: var(--ink); line-height: 1.45;
  text-wrap: balance;
}
.home-card p {
  font-size: 0.85rem; color: var(--muted); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.hc-more {
  margin-top: auto; font-size: 0.8rem; font-weight: 800; color: var(--accent);
  display: inline-flex; align-items: center; gap: 6px;
}
.hc-more .arrow { transition: transform var(--transition); }
.home-card:hover .hc-more .arrow { transform: translateX(4px); }

/* ---------- Article ---------- */
.article-header { padding: 8px 0 6px; }
.breadcrumbs { font-size: 0.82rem; color: var(--muted); margin-bottom: 12px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep { margin: 0 7px; opacity: 0.6; }

.article-header h1 {
  font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700; line-height: 1.25; text-wrap: balance; color: var(--ink);
}
.article-excerpt { color: var(--ink-soft); font-size: 1.05rem; margin-top: 10px; max-width: 72ch; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: 0.82rem; color: var(--muted); }
.tag {
  background: var(--accent-soft); color: var(--accent);
  padding: 3px 12px; border-radius: 999px; font-weight: 800; font-size: 0.75rem;
}

.article-body { margin-top: 24px; max-width: 76ch; }

.article-body h2 {
  font-family: var(--font-display); font-size: 1.45rem; font-weight: 700;
  margin-top: 36px; margin-bottom: 12px; line-height: 1.3; text-wrap: balance;
  padding-bottom: 6px; border-bottom: 1px solid var(--border);
  scroll-margin-top: 90px;
}
.article-body h3 {
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 700;
  margin-top: 26px; margin-bottom: 8px; line-height: 1.35; text-wrap: balance;
  scroll-margin-top: 90px;
}
.article-body p { margin-bottom: 14px; }
.article-body ul, .article-body ol { margin: 0 0 16px 24px; }
.article-body li { margin-bottom: 6px; }
.article-body li::marker { color: var(--accent); }
.article-body strong { font-weight: 800; }

.article-body blockquote {
  border-left: 4px solid var(--accent-bright); background: var(--surface-2);
  padding: 14px 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 18px 0; font-style: italic; color: var(--ink-soft);
}

/* TOC */
.article-toc {
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 26px;
  box-shadow: var(--shadow-card);
}
.article-toc summary {
  cursor: pointer; font-weight: 800; font-size: 0.9rem; color: var(--ink);
}
.article-toc ol { margin: 10px 0 0 20px; }
.article-toc li { margin-bottom: 5px; font-size: 0.88rem; }
.article-toc a { color: var(--ink-soft); }
.article-toc a:hover { color: var(--accent); }

/* Boxes */
.info-box, .warning-box, .tip-box {
  border-radius: var(--radius-sm); padding: 14px 18px; margin: 18px 0;
  font-size: 0.95rem; line-height: 1.6;
}
.info-box { background: var(--tip-bg); border: 1px solid var(--tip-border); }
.warning-box { background: var(--warn-bg); border: 1px solid rgba(154, 52, 18, 0.3); color: var(--warn); }
.tip-box { background: var(--success-bg); border: 1px solid rgba(47, 107, 79, 0.3); color: var(--success); }
.info-box strong, .warning-box strong, .tip-box strong { display: block; margin-bottom: 4px; }

/* Tables */
.table-responsive { overflow-x: auto; margin: 18px 0; border-radius: var(--radius-sm); border: 1px solid var(--border); }
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; background: var(--surface); min-width: 520px; }
.compare-table th {
  background: var(--surface-2); text-align: left; padding: 11px 14px;
  font-weight: 800; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em;
  border-bottom: 2px solid var(--border-strong); color: var(--ink);
}
.compare-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover { background: var(--surface-2); }

/* FAQ */
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 16px 18px; margin-bottom: 12px; background: var(--surface);
}
.faq-item h3 { margin-top: 0; font-size: 1.02rem; }
.faq-item p { margin-bottom: 0; color: var(--ink-soft); }

/* Glossary */
.glossary { margin: 10px 0 18px; }
.glossary dt {
  font-weight: 800; font-size: 0.98rem; margin-top: 16px; color: var(--ink);
  display: flex; gap: 8px; align-items: baseline;
}
.glossary dt::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-bright); flex-shrink: 0; align-self: center; }
.glossary dd { margin: 3px 0 0 15px; color: var(--ink-soft); font-size: 0.95rem; }

/* Article prev/next */
.article-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 40px;
  padding-top: 22px; border-top: 1px solid var(--border);
}
.article-nav a {
  display: block; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 14px 18px;
  transition: border-color var(--transition), transform var(--transition);
}
.article-nav a:hover { border-color: var(--accent-bright); transform: translateY(-2px); text-decoration: none; }
.article-nav .an-label { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 4px; }
.article-nav .an-title { font-weight: 700; font-size: 0.92rem; color: var(--ink); line-height: 1.4; }
.article-nav a.next { text-align: right; }

/* ---------- Footer ---------- */
.app-footer {
  border-top: 1px solid var(--border); background: var(--bg-soft);
  margin-top: 60px;
}
.footer-inner {
  max-width: 1280px; margin: 0 auto; padding: 32px 20px;
  color: var(--muted); font-size: 0.9rem;
}
.footer-inner p { margin-bottom: 10px; }
.footer-note { font-size: 0.82rem; max-width: 90ch; }
.footer-copy { font-size: 0.82rem; margin-bottom: 0 !important; }

/* ---------- Focus ---------- */
:focus-visible {
  outline: 3px solid var(--secondary); outline-offset: 2px; border-radius: 4px;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; padding-top: 76px; }
  .sidebar {
    position: fixed; top: 64px; left: 0; bottom: 0; width: 300px; max-height: none;
    background: var(--surface); border-right: 1px solid var(--border);
    padding: 18px; transform: translateX(-105%); transition: transform 0.25s ease-out;
    z-index: 48; overflow-y: auto;
  }
  .sidebar.open { transform: translateX(0); }
  .menu-btn { display: block; }
  .header-tagline { display: none; }
  .home-hero { grid-template-columns: 1fr; padding: 36px 26px; }
  .hero-visual { height: 170px; }
  .pulse-core { width: 96px; height: 96px; font-size: 2.3rem; }
  .pulse-ring { width: 140px; height: 140px; }
}

@media (max-width: 600px) {
  body { font-size: 17px; }
  .layout { padding: 72px 14px 32px; gap: 24px; }
  .header-inner { padding: 0 14px; gap: 10px; }
  .search-wrap { max-width: none; }
  .search-input { padding: 8px 14px; font-size: 0.9rem; }
  .home-hero { padding: 30px 20px; border-radius: var(--radius-sm); }
  .hero-cta { flex-direction: column; }
  .btn { text-align: center; }
  .card-grid { grid-template-columns: 1fr; }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav a.next { text-align: left; }
  .footer-inner { padding: 26px 16px; }
}
