/* ============================================================
   Menopauza - design system "Przypływ i dojrzałość"
   Spectral (display) + Onest (body) + Spline Sans Mono (etykiety)
   Paleta: śliwkowy granat + terakota-róża (fala gorąca) + szałwia + krem
   Kontrast: wszystkie pary tekstowe >= 4.5:1 (WCAG AA, skrypt python)
   ============================================================ */

:root {
  --font-display: 'Spectral', Georgia, serif;
  --font-body: 'Onest', system-ui, sans-serif;
  --font-mono: 'Spline Sans Mono', ui-monospace, monospace;

  /* Light (default) */
  --bg: #faf3ea;
  --surface: #fffaf2;
  --surface-2: #f2e7da;
  --text: #33222e;
  --muted: #6e5a64;
  --border: #e3d3c3;

  --accent: #a8433a;
  --accent-strong: #8c322b;
  --accent-bright: #c2604f;
  --accent-light: rgba(168, 67, 58, 0.09);
  --cta: #96402f;
  --cta-strong: #7c3226;
  --cta-light: rgba(150, 64, 47, 0.1);
  --danger: #b3261e;
  --danger-light: rgba(179, 38, 30, 0.07);
  --ok: #48724a;

  --header-bg: rgba(250, 243, 234, 0.92);
  --sidebar-bg: #f2e7da;
  --shadow-card: 0 1px 2px rgba(43, 26, 38, 0.05), 0 4px 14px rgba(43, 26, 38, 0.06);
  --shadow-card-hover: 0 2px 4px rgba(43, 26, 38, 0.06), 0 10px 26px rgba(43, 26, 38, 0.12);
  --transition: all 0.2s ease-out;

  --header-height: 58px;
  --sidebar-w: 260px;
  --radius: 14px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1d1219;
    --surface: #271a22;
    --surface-2: #31222c;
    --text: #ecdcd2;
    --muted: #b49fac;
    --border: #3e2b37;

    --accent: #e08a72;
    --accent-strong: #f2a891;
    --accent-bright: #d97757;
    --accent-light: rgba(224, 138, 114, 0.13);
    --cta: #e8a35c;
    --cta-strong: #f2b877;
    --cta-light: rgba(232, 163, 92, 0.13);
    --danger: #ff8a7a;
    --danger-light: rgba(255, 138, 122, 0.1);
    --ok: #8fbf8b;

    --header-bg: rgba(29, 18, 25, 0.9);
    --sidebar-bg: #221620;
    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.3), 0 4px 14px rgba(0, 0, 0, 0.25);
    --shadow-card-hover: 0 2px 4px rgba(0, 0, 0, 0.35), 0 10px 26px rgba(0, 0, 0, 0.4);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 520px 380px at 92% -4%, var(--accent-light), transparent 65%),
    radial-gradient(ellipse 460px 340px at -6% 104%, var(--cta-light), transparent 65%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.25; text-wrap: balance; }

a { color: var(--accent); }
a:hover { color: var(--accent-strong); }

::selection { background: var(--accent-bright); color: #fff; }

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

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

/* ---------- Header ---------- */
.app-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.app-header::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-bright), transparent);
  opacity: 0.35;
  pointer-events: none;
}
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
}
.brand-mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #a8433a, #6b3a5a);
  border-radius: 10px;
}
.brand-mark svg { width: 20px; height: 20px; }
.brand-text {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.brand-text em {
  font-style: normal;
  color: var(--accent);
}

.search-box {
  position: relative;
  flex: 1;
  max-width: 460px;
  margin-left: auto;
}
.search-icon {
  position: absolute;
  left: 12px; top: 50%;
  transform: translateY(-50%);
  width: 17px; height: 17px;
  color: var(--muted);
  pointer-events: none;
}
.search-box input {
  width: 100%;
  padding: 9px 14px 9px 38px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: var(--transition);
}
.search-box input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}
.search-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-card-hover);
  padding: 6px;
  z-index: 120;
  max-height: 380px;
  overflow-y: auto;
}
.search-results a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  font-size: 0.9rem;
}
.search-results a:hover { background: var(--accent-light); }
.search-results a strong { display: block; font-weight: 600; }
.search-results a strong, .search-results a { color: var(--text); }
.search-empty { padding: 10px; font-size: 0.88rem; color: var(--muted); }

.menu-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.menu-toggle span {
  width: 18px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Layout ---------- */
.layout {
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  padding-top: var(--header-height);
}

.sidebar {
  position: fixed;
  top: var(--header-height);
  bottom: 0;
  left: 0;
  width: var(--sidebar-w);
  overflow-y: auto;
  padding: 20px 12px 40px;
  background: var(--sidebar-bg);
  border-right: 1px solid var(--border);
  z-index: 90;
}
.sidebar::-webkit-scrollbar { width: 5px; }
.sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

.nav-section { margin-bottom: 14px; }
.nav-section-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  padding: 6px 12px 4px;
}
.sidebar-link {
  display: block;
  padding: 6px 12px;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--text);
  text-decoration: none;
  border-left: 2px solid transparent;
  border-radius: 0 8px 8px 0;
  transition: var(--transition);
}
.sidebar-link:hover { background: var(--accent-light); text-decoration: none; color: var(--accent-strong); }
.sidebar-link.active {
  background: var(--accent-light);
  border-left-color: var(--accent);
  color: var(--accent-strong);
  font-weight: 600;
}

.main {
  flex: 1;
  min-width: 0;
  margin-left: var(--sidebar-w);
  padding: 34px 40px 60px;
}

.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 18, 28, 0.5);
  z-index: 85;
}

/* ---------- Page transition ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.page-enter { animation: fadeUp 0.25s ease-out; }

/* ---------- Home hero ---------- */
.home-hero {
  position: relative;
  border-radius: 22px;
  padding: 52px 52px 46px;
  margin-bottom: 44px;
  color: #f4e6ee;
  background:
    radial-gradient(ellipse 560px 300px at 84% 10%, rgba(224, 138, 114, 0.22), transparent 65%),
    radial-gradient(ellipse 420px 280px at 4% 96%, rgba(232, 163, 92, 0.14), transparent 65%),
    linear-gradient(135deg, #2b1a26 0%, #43203a 58%, #5c2e49 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 18px 44px rgba(43, 26, 38, 0.28);
  overflow: hidden;
}
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
}
.home-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2.1rem, 4.6vw, 3.2rem);
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 16ch;
}
.home-hero .hero-lead {
  margin: 0 0 22px;
  font-size: 1.06rem;
  line-height: 1.65;
  color: #d9c2cf;
  max-width: 56ch;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 12px;
  background: var(--cta);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(150, 64, 47, 0.35);
  transition: var(--transition);
}
.hero-cta:hover { background: var(--cta-strong); color: #fff; transform: translateY(-1px); }
@media (prefers-color-scheme: dark) {
  .hero-cta { color: #241505; }
  .hero-cta:hover { color: #241505; }
}
.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.hero-stat .num {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
}
.hero-stat .lbl {
  font-size: 0.78rem;
  color: #c4a8b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- Signature: fala gorąca ---------- */
.hero-sig {
  float: right;
  width: 460px;
  max-width: 48%;
  margin: 4px 0 18px 26px;
}
.hero-sig svg { width: 100%; height: auto; display: block; }
.sig-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  fill: #c4a8b8;
}
.sig-year {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  fill: #a98d9d;
}

.sw-wave {
  stroke-dasharray: 920;
  stroke-dashoffset: 920;
  animation: waveDraw 1.5s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}
@keyframes waveDraw {
  to { stroke-dashoffset: 0; }
}
.sw-shimmer {
  opacity: 0;
  animation: shimmerPulse 2.6s ease-in-out 1s infinite;
}
.sw-shimmer.s2 { animation-delay: 1.7s; }
.sw-shimmer.s3 { animation-delay: 2.4s; }
@keyframes shimmerPulse {
  0%, 100% { opacity: 0; }
  50% { opacity: 0.85; }
}
.sw-dot { transform-origin: center; transform-box: fill-box; animation: dotPop 0.4s ease-out both; }
@keyframes dotPop {
  from { transform: scale(0); }
  to { transform: scale(1); }
}
.sw-liq {
  transform-origin: center bottom;
  animation: liqPulse 5s ease-in-out 1.4s infinite;
}
.sw-bulb { transform-origin: center; transform-box: fill-box; animation: dotPop 0.5s ease-out 1.2s both; }
@keyframes liqPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
.sw-tube { stroke-width: 1.4; }

/* ---------- Home sections & cards ---------- */
.home-section { margin-bottom: 42px; }
.home-section h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.42rem;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}
.section-line {
  height: 3px;
  width: 64px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent-bright), var(--cta));
  margin-bottom: 18px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.home-card {
  position: relative;
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  overflow: hidden;
}
.home-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-bright), var(--cta));
  opacity: 0;
  transition: var(--transition);
}
.home-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--accent-bright);
  text-decoration: none;
  color: var(--text);
}
.home-card:hover::before { opacity: 1; }
.card-icon { font-size: 1.35rem; display: block; margin-bottom: 8px; }
.home-card h3 {
  font-size: 0.95rem;
  margin: 0 0 6px;
  line-height: 1.4;
  color: var(--text);
}
.home-card p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

/* ---------- Article ---------- */
.breadcrumbs {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 10px;
}
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); text-decoration: underline; }

.article-header h1 {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  letter-spacing: -0.015em;
  margin: 0 0 12px;
}
.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 26px;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-light);
  color: var(--accent-strong);
  border: 1px solid transparent;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.8rem;
}
.trust-badge svg { width: 13px; height: 13px; }

.content-article { font-size: 17px; line-height: 1.7; max-width: 780px; }
.content-article h2 {
  font-size: 1.6rem;
  margin: 38px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
  scroll-margin-top: calc(var(--header-height) + 20px);
}
.content-article h2::after {
  content: '';
  display: block;
  width: 46px;
  height: 2px;
  background: var(--accent-bright);
  margin-top: 8px;
  border-radius: 2px;
}
.content-article h3 {
  font-size: 1.18rem;
  margin: 26px 0 10px;
  scroll-margin-top: calc(var(--header-height) + 20px);
}
.content-article p { margin: 0 0 16px; }
.content-article ul, .content-article ol { margin: 0 0 18px; padding-left: 24px; }
.content-article li { margin-bottom: 8px; }
.content-article li::marker { color: var(--accent-bright); }
.content-article strong { color: var(--text); }
.content-article a { text-decoration: underline; text-underline-offset: 2px; }
.content-article blockquote {
  margin: 20px 0;
  padding: 14px 18px;
  border-left: 3px solid var(--accent-bright);
  background: var(--accent-light);
  border-radius: 0 10px 10px 0;
  font-style: italic;
}

/* TOC */
.toc {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 0 0 26px;
  font-size: 0.92rem;
}
.toc-title {
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 10px;
}
.toc ol { list-style: none; padding-left: 0; margin: 0; counter-reset: toc; }
.toc li { margin-bottom: 6px; counter-increment: toc; }
.toc li::before {
  content: counter(toc) ".";
  color: var(--accent-bright);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  margin-right: 8px;
}
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--accent); text-decoration: underline; }

/* Info / warning boxes */
.info-box {
  background: var(--accent-light);
  border: 1px solid rgba(168, 67, 58, 0.25);
  border-left: 4px solid var(--accent-bright);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 20px 0;
  font-size: 0.95rem;
}
.warning-box {
  background: var(--danger-light);
  border: 1px solid rgba(179, 38, 30, 0.28);
  border-left: 4px solid var(--danger);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 20px 0;
  font-size: 0.95rem;
}

/* Takeaways (najważniejsze na koniec artykułu) */
.takeaways {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-left: 4px solid var(--ok);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 22px 0;
  font-size: 0.95rem;
}
.takeaways h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--text);
}
.takeaways ul { margin: 0; padding-left: 20px; }
.takeaways li { margin-bottom: 6px; }
.takeaways li:last-child { margin-bottom: 0; }

/* Tables */
.table-responsive { overflow-x: auto; margin: 20px 0; }
/* tabele bez wrappera .table-responsive - przewijanie w mobile */
.content-article .error-table {
  display: block;
  overflow-x: auto;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}
.error-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.error-table th {
  background: var(--surface-2);
  font-family: var(--font-display);
  font-weight: 600;
  text-align: left;
  padding: 10px 14px;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}
.error-table td {
  padding: 9px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.error-table tr:last-child td { border-bottom: none; }
.error-table tr:hover td { background: var(--accent-light); }
.error-table td .mono { font-family: var(--font-mono); font-size: 0.85rem; }

/* FAQ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  margin: 12px 0;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 600;
  font-size: 0.98rem;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: '+';
  font-family: var(--font-mono);
  color: var(--accent-bright);
  font-size: 1.05rem;
  transition: var(--transition);
  flex-shrink: 0;
}
.faq-item[open] summary::before { transform: rotate(45deg); }
.faq-item summary:hover { background: var(--accent-light); }
.faq-a {
  padding: 0 16px 14px 38px;
  font-size: 0.95rem;
  color: var(--muted);
}
.faq-a p { margin: 0 0 10px; }
.faq-a p:last-child { margin-bottom: 0; }

/* Glossary */
.glossary dt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  margin-top: 18px;
  color: var(--text);
}
.glossary dd {
  margin: 4px 0 0;
  font-size: 0.95rem;
  color: var(--muted);
  padding-left: 0;
}
.glossary dt::before { content: '▸ '; color: var(--accent-bright); }

/* Article nav */
.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  max-width: 780px;
}
.article-nav a {
  flex: 1;
  text-decoration: none;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
  max-width: 46%;
}
.article-nav a:hover { border-color: var(--accent-bright); box-shadow: var(--shadow-card-hover); }
.article-nav .nav-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 3px;
}
.article-nav a:last-child { text-align: right; }

/* ---------- Footer ---------- */
.app-footer {
  background: #2b1a26;
  color: #b49fac;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-left: var(--sidebar-w);
}
@media (prefers-color-scheme: dark) {
  .app-footer { background: #170e14; }
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 30px 40px 36px;
}
.app-footer p { margin: 0 0 10px; font-size: 0.92rem; }
.app-footer strong { color: #f4e6ee; font-family: var(--font-display); }
.footer-note { font-size: 0.82rem !important; color: #a98d9d; max-width: 720px; }
.footer-links a { color: #b49fac; text-decoration: underline; }
.footer-links a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .search-box { margin-left: 0; max-width: none; }
  .sidebar {
    transform: translateX(-102%);
    transition: transform 0.24s ease-out;
    width: 290px;
    box-shadow: 8px 0 30px rgba(0, 0, 0, 0.18);
  }
  .sidebar.open { transform: translateX(0); }
  .main { margin-left: 0; padding: 26px 20px 50px; }
  .app-footer { margin-left: 0; }
  .hero-sig { float: none; width: 100%; max-width: 420px; margin: 0 auto 24px; display: block; }
  .home-hero { padding: 34px 26px 30px; }
  .home-hero h1 { max-width: none; }
}

@media (max-width: 600px) {
  .home-hero { border-radius: 16px; }
  .card-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; }
  .article-nav { flex-direction: column; }
  .article-nav a { max-width: none; }
  .header-inner { padding: 0 14px; gap: 10px; }
  .brand-text { font-size: 1rem; }
  .footer-inner { padding: 26px 20px 32px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .sw-wave { stroke-dashoffset: 0; }
  .sw-shimmer { opacity: 0.5; }
  .sw-liq { transform: none; }
  .sw-dot, .sw-bulb { transform: scale(1); }
  .page-enter { animation: none; }
}
