/* ============================================================================
   DurontoHost Status Page Design System (public/assets/css/status.css)
   Palette: Primary Blue #0866F5 | Navy #0A1F5C | Royal #1450D8 | Cyan #00D4FF
   Zero external font CDN (system stack for Lighthouse 95+ & strict privacy)
   ============================================================================ */

:root {
  --brand-blue: #0866F5;
  --brand-navy: #0A1F5C;
  --brand-royal: #1450D8;
  --brand-cyan: #00D4FF;
  --grad-brand: linear-gradient(135deg, #0A1F5C 0%, #1450D8 52%, #00D4FF 100%);
  --grad-bright: linear-gradient(135deg, #0866F5 0%, #1450D8 48%, #00D4FF 100%);

  /* Light Mode Surfaces */
  --bg-page: #F4F8FF;
  --bg-surface: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.84);
  --bg-subtle: #EDF4FF;
  --text-primary: #0A1F5C;
  --text-secondary: #374A70;
  --text-muted: #52658A;
  --border-subtle: rgba(8, 102, 245, 0.14);
  --border-strong: rgba(8, 102, 245, 0.3);
  --shadow-card: 0 18px 42px -16px rgba(8, 102, 245, 0.16), 0 2px 8px rgba(10, 31, 92, 0.05);

  /* Accessible WCAG AA Status Tones (Light) */
  --st-ok-fg: #066C41;
  --st-ok-bg: rgba(16, 185, 104, 0.13);
  --st-ok-bar: #10B968;

  --st-deg-fg: #92400E;
  --st-deg-bg: rgba(245, 158, 11, 0.16);
  --st-deg-bar: #D97706;

  --st-part-fg: #9A3412;
  --st-part-bg: rgba(234, 88, 12, 0.15);
  --st-part-bar: #EA580C;

  --st-maj-fg: #991B1B;
  --st-maj-bg: rgba(220, 38, 38, 0.14);
  --st-maj-bar: #DC2626;

  --st-maint-fg: #1450D8;
  --st-maint-bg: rgba(8, 102, 245, 0.12);
  --st-maint-bar: #0866F5;

  --st-coll-fg: #0E4F6E;
  --st-coll-bg: rgba(0, 212, 255, 0.14);
  --st-empty-bar: rgba(82, 101, 138, 0.2);

  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --font-sans: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* System Dark Preference (overridable via html[data-theme="light"|"dark"]) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg-page: #06102B;
    --bg-surface: #0B1A44;
    --bg-glass: rgba(11, 26, 68, 0.8);
    --bg-subtle: #0F2359;
    --text-primary: #F2F7FF;
    --text-secondary: #C4D6F5;
    --text-muted: #93AEDB;
    --border-subtle: rgba(0, 212, 255, 0.16);
    --border-strong: rgba(0, 212, 255, 0.34);
    --shadow-card: 0 22px 48px -14px rgba(0, 0, 0, 0.52), 0 0 22px -8px rgba(8, 102, 245, 0.25);

    --st-ok-fg: #6EE7B7;
    --st-ok-bg: rgba(16, 185, 104, 0.18);
    --st-deg-fg: #FCD34D;
    --st-deg-bg: rgba(245, 158, 11, 0.18);
    --st-part-fg: #FDBA74;
    --st-part-bg: rgba(234, 88, 12, 0.2);
    --st-maj-fg: #FCA5A5;
    --st-maj-bg: rgba(220, 38, 38, 0.22);
    --st-maint-fg: #7DD3FC;
    --st-maint-bg: rgba(0, 212, 255, 0.16);
    --st-coll-fg: #67E8F9;
    --st-coll-bg: rgba(0, 212, 255, 0.16);
    --st-empty-bar: rgba(147, 174, 219, 0.2);
  }
}

:root[data-theme="dark"] {
  --bg-page: #06102B;
  --bg-surface: #0B1A44;
  --bg-glass: rgba(11, 26, 68, 0.8);
  --bg-subtle: #0F2359;
  --text-primary: #F2F7FF;
  --text-secondary: #C4D6F5;
  --text-muted: #93AEDB;
  --border-subtle: rgba(0, 212, 255, 0.16);
  --border-strong: rgba(0, 212, 255, 0.34);
  --shadow-card: 0 22px 48px -14px rgba(0, 0, 0, 0.52), 0 0 22px -8px rgba(8, 102, 245, 0.25);

  --st-ok-fg: #6EE7B7;
  --st-ok-bg: rgba(16, 185, 104, 0.18);
  --st-deg-fg: #FCD34D;
  --st-deg-bg: rgba(245, 158, 11, 0.18);
  --st-part-fg: #FDBA74;
  --st-part-bg: rgba(234, 88, 12, 0.2);
  --st-maj-fg: #FCA5A5;
  --st-maj-bg: rgba(220, 38, 38, 0.22);
  --st-maint-fg: #7DD3FC;
  --st-maint-bg: rgba(0, 212, 255, 0.16);
  --st-coll-fg: #67E8F9;
  --st-coll-bg: rgba(0, 212, 255, 0.16);
  --st-empty-bar: rgba(147, 174, 219, 0.2);
}

/* Base Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg-page); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background:
    radial-gradient(circle at 88% 4%, rgba(0, 212, 255, 0.12) 0%, transparent 38%),
    radial-gradient(circle at 12% 16%, rgba(8, 102, 245, 0.1) 0%, transparent 36%),
    var(--bg-page);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body.is-booting { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

:focus-visible { outline: 2.5px solid var(--brand-cyan); outline-offset: 2px; border-radius: 6px; }

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 9999;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--brand-navy);
  color: #FFFFFF;
  font-weight: 700;
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 28px);
}

/* 3D Skeleton Loader */
.status-skeleton {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: var(--bg-page);
  display: grid;
  place-items: center;
  padding: 24px;
  transition: opacity 380ms ease, visibility 380ms ease;
}
.status-skeleton.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.skel-stage {
  position: absolute;
  inset: 0;
  max-width: 1080px;
  margin: 88px auto 0;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  perspective: 1100px;
  opacity: 0.72;
}
.skel-shimmer {
  position: relative;
  overflow: hidden;
  background: rgba(8, 102, 245, 0.09);
  border: 1px solid rgba(0, 212, 255, 0.22);
  border-radius: var(--radius-xl);
}
.skel-shimmer::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(100deg, transparent 15%, rgba(0, 212, 255, 0.26) 50%, transparent 85%);
  animation: st-shimmer 1.4s ease-in-out infinite;
}
@keyframes st-shimmer { 100% { transform: translateX(100%); } }
.skel-hero-card { height: 112px; transform: rotateX(7deg); }
.skel-row { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 720px) { .skel-row { grid-template-columns: 1fr 1fr; } }
.skel-card { height: 150px; }
.skel-tilt-a { transform: rotateX(8deg) rotateY(6deg); }
.skel-tilt-b { transform: rotateX(8deg) rotateY(-6deg); }
.skel-center-badge {
  position: relative;
  z-index: 2;
  padding: 22px 30px;
  border-radius: var(--radius-xl);
  background: var(--bg-glass);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.skel-logo-ring {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  padding: 4px;
  background: var(--grad-bright);
  display: grid;
  place-items: center;
}
.skel-logo-ring img { width: 100%; height: 100%; border-radius: 50%; background: #FFFFFF; object-fit: cover; }
.skel-label { font-weight: 800; font-size: 0.96rem; color: var(--text-primary); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--bg-glass);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  backdrop-filter: blur(20px) saturate(170%);
  border-bottom: 1px solid var(--border-subtle);
}
.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 10px;
}
.brand-anchor { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.logo-shell {
  width: 42px; height: 42px; border-radius: 50%; overflow: hidden;
  background: #FFFFFF; box-shadow: 0 4px 12px rgba(8, 102, 245, 0.24);
  display: grid; place-items: center; flex-shrink: 0;
}
.brand-meta { display: flex; flex-direction: column; }
.brand-name { font-size: 1.12rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.brand-sub { color: var(--brand-blue); }
:root[data-theme="dark"] .brand-sub { color: var(--brand-cyan); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand-sub { color: var(--brand-cyan); } }
.brand-tag { font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }

.header-nav { display: none; gap: 6px; }
@media (min-width: 760px) { .header-nav { display: flex; } }
.nav-pill {
  min-height: 44px; padding: 8px 14px; border-radius: 999px;
  display: inline-flex; align-items: center; font-size: 0.9rem; font-weight: 600; color: var(--text-secondary);
}
.nav-pill:hover { color: var(--brand-blue); background: rgba(8, 102, 245, 0.08); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 12px;
  border: 1.5px solid var(--border-subtle); background: var(--bg-surface);
  display: grid; place-items: center; color: var(--text-primary);
}
.icon-btn:hover { border-color: var(--brand-blue); }
.icon-moon { display: none; }
:root[data-theme="dark"] .icon-sun { display: none; }
:root[data-theme="dark"] .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-sun { display: none; }
  :root:not([data-theme="light"]) .icon-moon { display: block; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; min-width: 44px; padding: 10px 18px;
  border-radius: 999px; font-weight: 700; font-size: 0.9rem;
  border: 1.5px solid transparent; transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.btn-sm { padding: 9px 16px; font-size: 0.86rem; }
.btn-full { width: 100%; }
.btn-primary {
  background: var(--grad-bright); color: #FFFFFF;
  box-shadow: 0 10px 24px -8px rgba(8, 102, 245, 0.5);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -8px rgba(8, 102, 245, 0.62); }
.btn-outline { background: var(--bg-surface); border-color: var(--border-strong); color: var(--text-primary); }
.btn-outline:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.btn-whatsapp { background: linear-gradient(135deg, #0FA958 0%, #0A8A47 100%); color: #FFFFFF; }
.btn-whatsapp:hover { filter: brightness(1.06); }

/* Main Layout & Glass Cards */
.main-wrap { padding-block: 28px 64px; display: flex; flex-direction: column; gap: 28px; }
.glass-card {
  background: var(--bg-glass);
  -webkit-backdrop-filter: blur(20px) saturate(165%);
  backdrop-filter: blur(20px) saturate(165%);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  min-width: 0;
  max-width: 100%;
}

/* Compact 320px-460px mobile polish (zero clipping or horizontal scroll) */
@media (max-width: 460px) {
  .header-inner { gap: 8px; }
  .brand-tag { display: none; }
  .brand-name { font-size: 0.98rem; }
  .logo-shell { width: 36px; height: 36px; }
  .btn-sm { padding: 8px 12px; font-size: 0.8rem; }
  .btn { white-space: normal; text-align: center; }
  .hero-status-left { align-items: flex-start; }
  .hero-status-badge { width: 46px; height: 46px; border-radius: 14px; }
  .hero-title { font-size: 1.25rem; }
  .group-card, .action-card { padding: 16px; }
}

/* Notice Banners */
.notice-banner {
  display: flex; align-items: flex-start; gap: 12px; padding: 14px 18px;
  border-radius: var(--radius-md); font-size: 0.92rem; border: 1.5px solid;
}
.notice-banner[hidden] { display: none; }
.notice-stale { background: var(--st-deg-bg); border-color: var(--st-deg-bar); color: var(--st-deg-fg); }
.notice-demo { background: var(--st-maint-bg); border-color: var(--brand-blue); color: var(--text-primary); }
.inline-link { text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }

/* Hero Status Banner */
.hero-status {
  padding: clamp(20px, 3vw, 30px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
}
.hero-status-left { display: flex; align-items: center; gap: 16px; min-width: 0; }
.hero-status-badge {
  width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; flex-shrink: 0;
}
.hero-title { font-size: clamp(1.35rem, 2.8vw, 2rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; }
.hero-meta { margin-top: 4px; font-size: 0.88rem; color: var(--text-secondary); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.meta-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--text-muted); }

/* Status Tones (Icon + Color + Text Label) */
.status-tone-operational { background: var(--st-ok-bg); color: var(--st-ok-fg); }
.status-tone-degraded { background: var(--st-deg-bg); color: var(--st-deg-fg); }
.status-tone-partial_outage { background: var(--st-part-bg); color: var(--st-part-fg); }
.status-tone-major_outage { background: var(--st-maj-bg); color: var(--st-maj-fg); }
.status-tone-maintenance { background: var(--st-maint-bg); color: var(--st-maint-fg); }
.status-tone-collecting { background: var(--st-coll-bg); color: var(--st-coll-fg); }

.status-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px;
  border-radius: 999px; font-size: 0.82rem; font-weight: 700; white-space: nowrap;
}

/* Sections */
.section-block { display: flex; flex-direction: column; gap: 14px; }
.section-head-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.section-heading { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }
.section-note { font-size: 0.84rem; color: var(--text-muted); }
.stack-md, .groups-stack { display: flex; flex-direction: column; gap: 18px; }

/* Component Groups & Rows */
.group-card { padding: clamp(18px, 2.5vw, 26px); }
.group-title { font-size: 0.92rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--brand-blue); margin-bottom: 14px; }
:root[data-theme="dark"] .group-title { color: var(--brand-cyan); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .group-title { color: var(--brand-cyan); } }

.component-list { display: flex; flex-direction: column; gap: 18px; }
.component-row { padding-top: 16px; border-top: 1px solid var(--border-subtle); }
.component-row:first-child { padding-top: 0; border-top: 0; }
.component-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.component-ident { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.component-name { font-size: 1rem; font-weight: 700; }
.notice-chip {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px;
  border-radius: 999px; font-size: 0.76rem; font-weight: 700;
  background: var(--st-deg-bg); color: var(--st-deg-fg);
}
.ssl-ok-chip {
  padding: 3px 9px; border-radius: 999px; font-size: 0.74rem; font-weight: 600;
  background: var(--bg-subtle); color: var(--text-muted);
}

.component-right-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.spark-box { display: inline-flex; align-items: center; gap: 8px; }
.spark-empty { font-size: 0.74rem; color: var(--text-muted); }
.latency-val { font-size: 0.78rem; font-weight: 700; color: var(--text-muted); font-variant-numeric: tabular-nums; }

/* 90-Day Segmented Uptime Bar (zero horizontal overflow down to 320px) */
.uptime-bar {
  display: grid;
  grid-template-columns: repeat(90, minmax(0, 1fr));
  gap: 1px;
  height: 28px;
  align-items: stretch;
  width: 100%;
  min-width: 0;
}
@media (min-width: 520px) {
  .uptime-bar {
    gap: 2px;
    height: 30px;
  }
}
.uptime-seg {
  padding: 0; border: 0; border-radius: 2px; min-width: 0; width: 100%; height: 100%;
  transition: transform 140ms ease, filter 140ms ease;
}
.uptime-seg:hover, .uptime-seg:focus-visible { transform: scaleY(1.16); filter: brightness(1.12); z-index: 2; }
.seg-operational { background: var(--st-ok-bar); }
.seg-degraded { background: var(--st-deg-bar); }
.seg-partial_outage { background: var(--st-part-bar); }
.seg-major_outage { background: var(--st-maj-bar); }
.seg-maintenance { background: var(--st-maint-bar); }
.seg-no_data, .seg-collecting { background: var(--st-empty-bar); }

.uptime-legend {
  margin-top: 7px; display: flex; align-items: center; justify-content: space-between;
  font-size: 0.76rem; color: var(--text-muted);
}
.uptime-pct { font-weight: 700; color: var(--text-secondary); }

/* Tooltip */
.bar-tooltip {
  position: fixed; z-index: 8000; pointer-events: none;
  padding: 7px 12px; border-radius: 10px; font-size: 0.78rem; font-weight: 600;
  background: var(--brand-navy); color: #FFFFFF;
  box-shadow: 0 12px 26px rgba(6, 16, 43, 0.35);
}
.bar-tooltip[hidden] { display: none; }

/* Incidents & Maintenance */
.incident-card, .maintenance-card { padding: 22px; }
.incident-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px; }
.incident-title { font-size: 1.08rem; font-weight: 800; margin-top: 8px; }
.maint-msg { margin-top: 10px; font-size: 0.93rem; color: var(--text-secondary); }
.affected-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chip-tag {
  padding: 3px 10px; border-radius: 999px; font-size: 0.76rem; font-weight: 700;
  background: var(--bg-subtle); border: 1px solid var(--border-subtle); color: var(--text-secondary);
}
.ts-muted { font-size: 0.82rem; color: var(--text-muted); }

.timeline { margin-top: 14px; border-left: 2px solid var(--border-strong); padding-left: 16px; display: flex; flex-direction: column; gap: 12px; }
.timeline-item { position: relative; }
.timeline-item::before {
  content: ''; position: absolute; left: -21px; top: 6px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--brand-blue);
}
.timeline-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 0.88rem; }
.timeline-item p { margin-top: 3px; font-size: 0.9rem; color: var(--text-secondary); }

/* Past Incidents */
.past-incidents-card { padding: 22px; display: flex; flex-direction: column; gap: 18px; }
.past-day-block { padding-top: 14px; border-top: 1px solid var(--border-subtle); }
.past-day-block:first-child { padding-top: 0; border-top: 0; }
.past-day-title { font-size: 0.94rem; font-weight: 800; margin-bottom: 6px; }
.past-quiet { font-size: 0.86rem; color: var(--text-muted); }
.past-inc-item { margin-top: 10px; }
.past-inc-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }

/* Report & Subscribe Grid */
.action-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 780px) { .action-grid { grid-template-columns: 1fr 1fr; } }
.action-card { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.action-card-icon {
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--bg-subtle); border: 1px solid var(--border-subtle);
  display: grid; place-items: center;
}
.action-card h2 { font-size: 1.18rem; font-weight: 800; }
.action-desc { font-size: 0.9rem; color: var(--text-secondary); }
.field-label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--text-secondary); margin-bottom: 6px; }
.field-select, .field-input {
  width: 100%; min-height: 44px; padding: 10px 14px; border-radius: 12px;
  border: 1.5px solid var(--border-strong); background: var(--bg-surface); color: var(--text-primary);
}
.contact-dl {
  margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--border-subtle);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px;
}
.contact-dl dt { font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); }
.contact-dl dd { font-size: 0.88rem; font-weight: 600; margin-top: 2px; }
.feed-links { display: flex; flex-direction: column; gap: 10px; }
.sub-row { display: flex; gap: 8px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px));
}
.footer-top {
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between;
  gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--border-subtle);
}
.footer-address { margin-top: 4px; font-size: 0.84rem; color: var(--text-muted); max-width: 48ch; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.footer-links a { font-size: 0.88rem; font-weight: 600; color: var(--text-secondary); min-height: 36px; display: inline-flex; align-items: center; }
.footer-links a:hover { color: var(--brand-blue); }
.footer-bottom {
  padding-top: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px; font-size: 0.86rem; color: var(--text-muted);
}
.footer-bottom a { color: var(--brand-blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
:root[data-theme="dark"] .footer-bottom a { color: var(--brand-cyan); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .footer-bottom a { color: var(--brand-cyan); } }

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