/* =========================================================
   FactZone — Main Stylesheet
   Premium dark navy/black theme with electric blue accents.
   ========================================================= */

:root {
  --bg-void: #05070d;
  --bg-base: #0a0e1a;
  --bg-elevated: #0f1526;
  --bg-card: #121a2e;
  --bg-card-hover: #161f38;
  --border-subtle: rgba(120, 160, 255, 0.12);
  --border-strong: rgba(120, 160, 255, 0.28);

  --accent: #3da9fc;
  --accent-bright: #5fd0ff;
  --accent-dim: #2a7bc9;
  --accent-glow: rgba(61, 169, 252, 0.35);

  --text-primary: #f1f5fb;
  --text-secondary: #aab6cc;
  --text-muted: #6d7a93;

  --science: #3da9fc;
  --mystery: #b36bff;
  --space: #6f8bff;
  --ocean: #27c2c2;
  --technology: #ffb648;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-card: 0 10px 30px -12px rgba(0, 0, 0, 0.6);
  --shadow-elevated: 0 20px 60px -20px rgba(0, 0, 0, 0.75);

  --font-head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --max-width: 1240px;
}

@media (prefers-color-scheme: light) {
  :root { color-scheme: dark; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: radial-gradient(ellipse 120% 60% at 50% -10%, #122142 0%, var(--bg-base) 55%), var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img, svg { max-width: 100%; display: block; }

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; color: var(--text-secondary); }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #001018;
  padding: 10px 16px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* =========================
   Header / Navigation
   ========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 11, 20, 0.85);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text-primary);
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: linear-gradient(145deg, var(--accent-bright), var(--accent-dim));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 20px var(--accent-glow);
  color: #04121f;
  font-weight: 800;
  font-size: 1.1rem;
}
.brand-name span { color: var(--accent-bright); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav ul {
  list-style: none; display: flex; gap: 2px; margin: 0; padding: 0;
}
.main-nav a {
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus-visible, .main-nav a[aria-current="page"] {
  color: var(--text-primary);
  background: var(--bg-card);
  text-decoration: none;
}

.nav-actions { display: flex; align-items: center; gap: 10px; }

.search-toggle, .menu-toggle {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.search-toggle:hover, .menu-toggle:hover { border-color: var(--border-strong); }
.menu-toggle { display: none; }

/* Search panel */
.search-panel {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 10, 0.9);
  backdrop-filter: blur(6px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  z-index: 200;
  padding: 10vh 20px 20px;
}
.search-panel.open { display: flex; }
.search-box {
  width: 100%; max-width: 640px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-elevated);
}
.search-box form { display: flex; gap: 10px; }
.search-box input[type="search"] {
  flex: 1;
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 1rem;
}
.search-box input[type="search"]:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.search-box button[type="submit"] {
  background: var(--accent);
  border: none;
  color: #021322;
  font-weight: 700;
  padding: 0 18px;
  border-radius: 10px;
  cursor: pointer;
}
.search-close {
  background: none; border: none; color: var(--text-muted);
  float: right; cursor: pointer; font-size: 1.2rem; margin-bottom: 8px;
}
#search-results { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; max-height: 50vh; overflow-y: auto; }
#search-results a {
  display: block; padding: 10px 12px; border-radius: 8px; background: var(--bg-card);
  color: var(--text-primary);
}
#search-results a:hover { background: var(--bg-card-hover); text-decoration: none; }
#search-results .result-cat { color: var(--accent-bright); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; }
.search-empty { color: var(--text-muted); padding: 8px 4px; }

/* Mobile nav drawer */
@media (max-width: 880px) {
  .main-nav {
    position: fixed; top: 0; right: -100%; height: 100vh; width: min(320px, 85vw);
    background: var(--bg-elevated);
    border-left: 1px solid var(--border-subtle);
    flex-direction: column; align-items: stretch;
    padding: 80px 20px 20px;
    transition: right 0.3s ease;
    z-index: 150;
    overflow-y: auto;
  }
  .main-nav.open { right: 0; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { display: block; padding: 12px 14px; }
  .menu-toggle { display: flex; }
  .nav-backdrop {
    display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 140;
  }
  .nav-backdrop.open { display: block; }
}

/* =========================
   Breadcrumbs
   ========================= */
.breadcrumbs {
  padding: 14px 0; font-size: 0.85rem; color: var(--text-muted);
}
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li::after { content: "/"; margin-left: 6px; color: var(--text-muted); }
.breadcrumbs li:last-child::after { content: ""; }
.breadcrumbs a { color: var(--text-secondary); }
.breadcrumbs [aria-current="page"] { color: var(--text-primary); }

/* =========================
   Hero
   ========================= */
.hero {
  position: relative;
  padding: 72px 0 60px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}
.hero::before {
  content: "";
  position: absolute; inset: -20% -10% auto -10%; height: 500px;
  background: radial-gradient(ellipse at top, var(--accent-glow), transparent 65%);
  filter: blur(10px);
  pointer-events: none;
  opacity: 0.6;
}
.hero-inner { position: relative; text-align: center; max-width: 780px; margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent-bright); text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 0.78rem; font-weight: 700; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--accent-bright); }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: 18px; }
.hero h1 .hl { color: var(--accent-bright); }
.hero p.lead { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem;
  cursor: pointer; border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent-bright), var(--accent-dim));
  color: #021322;
  box-shadow: 0 8px 24px -8px var(--accent-glow);
}
.btn-primary:hover { box-shadow: 0 12px 30px -8px var(--accent-glow); }
.btn-outline {
  background: transparent; color: var(--text-primary); border-color: var(--border-strong);
}
.btn-outline:hover { background: var(--bg-card); }

/* =========================
   Section headings
   ========================= */
.section { padding: 56px 0; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  margin-bottom: 28px; flex-wrap: wrap;
}
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0; }
.section-head .view-all { font-size: 0.9rem; font-weight: 600; white-space: nowrap; }
.section-sub { color: var(--text-muted); max-width: 640px; margin: 8px 0 0; }

/* =========================
   Category chips
   ========================= */
.category-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.pill {
  padding: 8px 16px; border-radius: 999px; font-size: 0.85rem; font-weight: 600;
  background: var(--bg-card); border: 1px solid var(--border-subtle); color: var(--text-secondary);
  cursor: pointer; transition: all 0.15s;
}
.pill:hover { border-color: var(--border-strong); color: var(--text-primary); text-decoration: none; }
.pill[aria-pressed="true"], .pill.active {
  background: var(--accent); color: #021322; border-color: var(--accent);
}

/* =========================
   Article cards & grid
   ========================= */
.grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.grid.featured-grid { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card);
}
.card-media {
  aspect-ratio: 16/9;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.card-media svg { width: 46%; height: 46%; opacity: 0.92; }
.card-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(5,7,13,0.55) 100%);
}
.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-cat {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700;
}
.card h3 { font-size: 1.1rem; margin: 0; }
.card h3 a { color: var(--text-primary); }
.card h3 a:hover { color: var(--accent-bright); text-decoration: none; }
.card p { font-size: 0.92rem; margin: 0; color: var(--text-secondary); flex: 1; }
.card-meta {
  display: flex; align-items: center; gap: 10px; font-size: 0.78rem; color: var(--text-muted);
  margin-top: auto;
}

/* Category color accents, applied via data-cat */
[data-cat="science"] .card-cat, .tag-science { color: var(--science); }
[data-cat="mystery"] .card-cat, .tag-mystery { color: var(--mystery); }
[data-cat="space"] .card-cat, .tag-space { color: var(--space); }
[data-cat="ocean"] .card-cat, .tag-ocean { color: var(--ocean); }
[data-cat="technology"] .card-cat, .tag-technology { color: var(--technology); }

[data-cat="science"] .card-media { background: linear-gradient(150deg, #0d2847, #0a1222); }
[data-cat="mystery"] .card-media { background: linear-gradient(150deg, #241036, #0a1222); }
[data-cat="space"] .card-media { background: linear-gradient(150deg, #10163c, #0a1222); }
[data-cat="ocean"] .card-media { background: linear-gradient(150deg, #06302e, #0a1222); }
[data-cat="technology"] .card-media { background: linear-gradient(150deg, #3a2608, #0a1222); }

.badge-featured {
  position: absolute; top: 10px; left: 10px;
  background: rgba(5,7,13,0.7); border: 1px solid var(--border-strong);
  color: var(--accent-bright); font-size: 0.7rem; font-weight: 700;
  padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.05em;
  z-index: 1;
}

.empty-state {
  text-align: center; padding: 60px 20px; color: var(--text-muted);
}

/* =========================
   Category hero bands
   ========================= */
.cat-hero {
  padding: 50px 0 34px; border-bottom: 1px solid var(--border-subtle);
}
.cat-hero .icon-badge {
  width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.cat-hero .icon-badge svg { width: 60%; height: 60%; }

/* =========================
   Article page
   ========================= */
.article-head { padding: 36px 0 12px; }
.article-head .card-cat { font-size: 0.8rem; margin-bottom: 10px; display: inline-block; }
.article-head h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
.article-meta {
  display: flex; flex-wrap: wrap; gap: 16px; color: var(--text-muted); font-size: 0.88rem;
  margin: 14px 0 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border-subtle);
}
.article-hero-media {
  aspect-ratio: 21/9; border-radius: var(--radius-lg); overflow: hidden; margin: 0 0 32px;
  display: flex; align-items: center; justify-content: center;
}
.article-hero-media svg { width: 24%; height: 24%; opacity: 0.9; }

.article-body { max-width: 760px; }
.article-body h2 { font-size: 1.45rem; margin-top: 2em; }
.article-body h3 { font-size: 1.15rem; margin-top: 1.6em; }
.article-body p { font-size: 1.04rem; color: var(--text-secondary); }
.article-body ul, .article-body ol { color: var(--text-secondary); padding-left: 1.3em; }
.article-body li { margin-bottom: 0.5em; }
.article-body blockquote {
  margin: 1.8em 0; padding: 16px 20px; border-left: 3px solid var(--accent);
  background: var(--bg-card); border-radius: 0 10px 10px 0; color: var(--text-primary);
  font-style: italic;
}
.fact-check-note {
  display: flex; gap: 12px; background: var(--bg-elevated); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); padding: 16px 18px; margin: 2em 0; font-size: 0.92rem;
}
.fact-check-note svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--accent-bright); margin-top: 2px; }

.article-layout { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 980px) {
  .article-layout { grid-template-columns: minmax(0, 1fr) 280px; }
}
.article-aside { display: flex; flex-direction: column; gap: 24px; }
.toc-box, .ad-slot, .aside-newsletter {
  background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: 18px;
}
.toc-box h2 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 10px; }
.toc-box ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.toc-box a { font-size: 0.9rem; color: var(--text-secondary); }
.toc-box a:hover { color: var(--accent-bright); }

/* Ad placeholder containers — clearly labeled, optional, inactive until AdSense approval */
.ad-slot {
  text-align: center; color: var(--text-muted); font-size: 0.78rem;
  border-style: dashed; min-height: 120px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px;
}
.ad-slot .ad-label { text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }

/* Share buttons */
.share-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 28px 0; }
.share-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px;
  background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 999px;
  color: var(--text-secondary); font-size: 0.85rem; font-weight: 600; cursor: pointer;
}
.share-btn:hover { border-color: var(--border-strong); color: var(--text-primary); text-decoration: none; }
.share-btn svg { width: 16px; height: 16px; }

/* Related articles */
.related { padding: 50px 0 70px; border-top: 1px solid var(--border-subtle); margin-top: 20px; }

/* =========================
   Newsletter
   ========================= */
.newsletter {
  background: linear-gradient(135deg, #0d1733, #081022);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 44px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 0%, var(--accent-glow), transparent 55%);
  opacity: 0.5;
}
.newsletter-inner { position: relative; max-width: 560px; margin: 0 auto; }
.newsletter h2 { font-size: 1.6rem; }
.newsletter p { margin-bottom: 22px; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.newsletter-form input[type="email"] {
  flex: 1; min-width: 220px;
  background: var(--bg-base); border: 1px solid var(--border-subtle); color: var(--text-primary);
  padding: 12px 16px; border-radius: 10px; font-size: 0.95rem;
}
.newsletter-form input:focus { outline: 2px solid var(--accent); }
.newsletter-note { font-size: 0.78rem; color: var(--text-muted); margin-top: 14px; margin-bottom: 0; }
.newsletter-success {
  display: none; background: rgba(61,169,252,0.12); border: 1px solid var(--border-strong);
  padding: 14px; border-radius: 10px; margin-top: 16px; color: var(--accent-bright); font-weight: 600;
}
.newsletter-success.show { display: block; }

/* =========================
   Footer
   ========================= */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-void);
  padding: 50px 0 24px;
}
.footer-grid {
  display: grid; gap: 32px;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-primary); margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--text-muted); font-size: 0.9rem; }
.footer-col a:hover { color: var(--accent-bright); }
.footer-brand p { font-size: 0.88rem; max-width: 280px; }
.footer-bottom {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border-subtle);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 0.82rem; color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); }
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 36px; height: 36px; border-radius: 10px; background: var(--bg-card);
  border: 1px solid var(--border-subtle); display: flex; align-items: center; justify-content: center;
}
.social-row svg { width: 16px; height: 16px; color: var(--text-secondary); }
.social-row a:hover { border-color: var(--border-strong); }

/* =========================
   Generic content pages (about/contact/legal)
   ========================= */
.page-head { padding: 50px 0 20px; border-bottom: 1px solid var(--border-subtle); }
.page-head h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.prose { max-width: 820px; padding: 40px 0 70px; }
.prose h2 { margin-top: 1.8em; font-size: 1.35rem; }
.prose h3 { margin-top: 1.4em; font-size: 1.1rem; }
.prose ul { color: var(--text-secondary); padding-left: 1.3em; }
.prose li { margin-bottom: 0.5em; }
.last-updated { color: var(--text-muted); font-size: 0.85rem; }

.contact-grid { display: grid; gap: 30px; grid-template-columns: 1fr; padding: 40px 0 70px; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-card {
  background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: 26px;
}
.form-group { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.88rem; font-weight: 600; color: var(--text-primary); }
.form-group input, .form-group textarea, .form-group select {
  background: var(--bg-base); border: 1px solid var(--border-subtle); color: var(--text-primary);
  padding: 11px 13px; border-radius: 9px; font-family: var(--font-body); font-size: 0.95rem;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: 2px solid var(--accent); }
.form-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 6px; }
.form-success {
  display: none; background: rgba(61,169,252,0.12); border: 1px solid var(--border-strong);
  padding: 14px; border-radius: 10px; margin-top: 16px; color: var(--accent-bright); font-weight: 600;
}
.form-success.show { display: block; }

/* 404 page */
.error-page { text-align: center; padding: 100px 20px; }
.error-page .code { font-family: var(--font-head); font-size: clamp(4rem, 14vw, 8rem); font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: 10px; text-shadow: 0 0 60px var(--accent-glow); }

/* Sitemap page */
.sitemap-grid { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding: 40px 0 70px; }

/* Cookie notice */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300;
  max-width: 560px; margin: 0 auto;
  background: var(--bg-elevated); border: 1px solid var(--border-strong);
  border-radius: var(--radius-md); padding: 18px 20px;
  box-shadow: var(--shadow-elevated);
  display: none; gap: 14px; align-items: center; flex-wrap: wrap;
}
.cookie-banner.show { display: flex; }
.cookie-banner p { margin: 0; font-size: 0.85rem; flex: 1; min-width: 200px; }
.cookie-actions { display: flex; gap: 8px; }
.cookie-actions button {
  border: none; border-radius: 8px; padding: 9px 14px; font-weight: 600; font-size: 0.82rem; cursor: pointer;
}
.cookie-accept { background: var(--accent); color: #021322; }
.cookie-decline { background: var(--bg-card); color: var(--text-secondary); border: 1px solid var(--border-subtle) !important; }

/* Utility */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }

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