/* ============================================================
   Anime Sama — Shared Design System
   animesamafr.cc · Primary: #0369a1 · Dark-first
   ============================================================ */

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --primary:       #0369a1;
  --primary-lt:    #0ea5e9;
  --primary-dk:    #075985;
  --primary-gl:    rgba(3, 105, 161, 0.14);
  --primary-glow:  0 0 24px rgba(14, 165, 233, 0.25);

  --bg:            #080e1c;
  --bg2:           #0e1628;
  --bg3:           #152035;
  --bg-card:       #111d32;
  --bg-card-h:     #162540;
  --bg-glass:      rgba(8, 14, 28, 0.82);

  --fg:            #dde8f5;
  --fg2:           #8ba3c4;
  --fg3:           #546a85;

  --border:        #1c2f4a;
  --border-lt:     #253d5c;

  --header-bg:     #050b18;
  --header-h:      64px;

  --r-sm:  5px;
  --r:     10px;
  --r-lg:  16px;
  --r-xl:  24px;

  --shadow:        0 4px 24px rgba(0,0,0,0.45);
  --shadow-blue:   0 8px 32px rgba(3,105,161,0.22);

  --ease:          0.2s ease;

  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg:         #eef3fa;
    --bg2:        #e2eaf5;
    --bg3:        #d6e3f0;
    --bg-card:    #ffffff;
    --bg-card-h:  #f4f8fd;
    --bg-glass:   rgba(238,243,250,0.9);
    --fg:         #0b1726;
    --fg2:        #3a536e;
    --fg3:        #617a95;
    --border:     #c8d9ec;
    --border-lt:  #dce9f5;
    --header-bg:  #050b18;
    --shadow:     0 2px 16px rgba(0,0,0,0.1);
    --shadow-blue:0 6px 24px rgba(3,105,161,0.16);
    color-scheme: light;
  }
}

:root[data-theme="light"] {
  --bg:         #eef3fa;
  --bg2:        #e2eaf5;
  --bg3:        #d6e3f0;
  --bg-card:    #ffffff;
  --bg-card-h:  #f4f8fd;
  --bg-glass:   rgba(238,243,250,0.9);
  --fg:         #0b1726;
  --fg2:        #3a536e;
  --fg3:        #617a95;
  --border:     #c8d9ec;
  --border-lt:  #dce9f5;
  --header-bg:  #050b18;
  --shadow:     0 2px 16px rgba(0,0,0,0.1);
  --shadow-blue:0 6px 24px rgba(3,105,161,0.16);
  color-scheme: light;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Sora', 'Inter', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
  color: var(--fg);
}
h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
h4 { font-size: 1rem; font-weight: 600; }

p { color: var(--fg2); line-height: 1.75; }

/* ── Layout ──────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left:  max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

.section {
  padding-block: 64px;
}
.section-sm {
  padding-block: 40px;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-lt);
  margin-bottom: 10px;
}

.section-title {
  margin-bottom: 10px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--fg2);
  max-width: 620px;
  margin-bottom: 40px;
}

/* ── Header / Nav ────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left:  max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  gap: 20px;
}
.logo-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-wrap img {
  height: 36px;
  width: auto;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #9ab3d4;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  transition: color var(--ease), background var(--ease);
}
.nav-link:hover, .nav-link.active {
  color: #fff;
  background: rgba(255,255,255,0.07);
}
.btn-watch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--primary);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--r);
  transition: background var(--ease), box-shadow var(--ease);
  white-space: nowrap;
}
.btn-watch:hover {
  background: var(--primary-lt);
  box-shadow: var(--primary-glow);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--fg2);
  border-radius: 2px;
  transition: var(--ease);
}

@media (max-width: 700px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: 80px 72px;
  background: var(--bg2);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(3,105,161,0.18) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 20% 70%, rgba(14,165,233,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding-left:  max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-lt);
  background: var(--primary-gl);
  border: 1px solid rgba(14,165,233,0.25);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--primary-lt);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 18px;
  color: #fff;
}
.hero h1 em {
  font-style: normal;
  color: var(--primary-lt);
}
.hero-desc {
  font-size: 1.1rem;
  color: var(--fg2);
  margin-bottom: 32px;
  max-width: 500px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: var(--r);
  transition: background var(--ease), box-shadow var(--ease), transform var(--ease);
}
.btn-primary:hover {
  background: var(--primary-lt);
  box-shadow: var(--shadow-blue);
  transform: translateY(-1px);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--fg);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--r);
  border: 1px solid var(--border-lt);
  transition: background var(--ease), border-color var(--ease);
}
.btn-secondary:hover {
  background: var(--bg3);
  border-color: var(--primary);
}
.hero-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hero-card {
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 3/4;
  position: relative;
  box-shadow: var(--shadow);
}
.hero-card:first-child {
  grid-row: span 2;
  aspect-ratio: auto;
}
.hero-card .cover {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 12px;
}
.hero-card .cover-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.7);
}
.hero-card .cover-badge {
  font-size: 0.65rem;
  background: rgba(3,105,161,0.8);
  color: #fff;
  padding: 2px 7px;
  border-radius: 100px;
  margin-bottom: 4px;
  display: inline-block;
}

@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero { padding-block: 52px; }
}

/* ── Stats Band ──────────────────────────────────────────── */
.stats-band {
  background: var(--bg3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: 24px;
}
.stats-grid {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 36px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-lt);
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--fg3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

@media (max-width: 600px) {
  .stat-item { padding: 10px 20px; }
  .stat-num { font-size: 1.3rem; }
}

/* ── Anime Cards Grid ────────────────────────────────────── */
.anime-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 32px;
}
@media (max-width: 1024px) { .anime-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 768px)  { .anime-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 500px)  { .anime-grid { grid-template-columns: repeat(2, 1fr); } }

.anime-card {
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--ease), box-shadow var(--ease);
  cursor: pointer;
}
.anime-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-blue);
}
.anime-thumb {
  aspect-ratio: 2/3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
  position: relative;
  overflow: hidden;
}
.anime-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
}
.anime-thumb .thumb-content {
  position: relative;
  z-index: 1;
}
.thumb-vf-badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: var(--primary);
  color: #fff;
  padding: 2px 6px;
  border-radius: 3px;
  margin-bottom: 5px;
}
.thumb-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.thumb-ep {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.65);
  margin-top: 2px;
}
.anime-info {
  background: var(--bg-card);
  padding: 10px 12px;
}
.anime-info .genre-tag {
  font-size: 0.68rem;
  color: var(--fg3);
}

/* Anime cover gradients */
.cov-1  { background: linear-gradient(155deg, #0d1425 0%, #c25c0a 85%, #ff8c42 100%); }
.cov-2  { background: linear-gradient(155deg, #0d0a1a 0%, #c43a00 80%, #e05b1a 100%); }
.cov-3  { background: linear-gradient(155deg, #0a0808 0%, #7a1010 80%, #c0392b 100%); }
.cov-4  { background: linear-gradient(155deg, #08060f 0%, #5c1a7a 80%, #9b59b6 100%); }
.cov-5  { background: linear-gradient(155deg, #030a0a 0%, #0a4a4a 80%, #1abc9c 100%); }
.cov-6  { background: linear-gradient(155deg, #050810 0%, #0a2a6a 80%, #2980b9 100%); }
.cov-7  { background: linear-gradient(155deg, #100800 0%, #b8550a 80%, #e67e22 100%); }
.cov-8  { background: linear-gradient(155deg, #050505 0%, #2c2c2c 80%, #555 100%); }
.cov-9  { background: linear-gradient(155deg, #030610 0%, #0c1878 80%, #3498db 100%); }
.cov-10 { background: linear-gradient(155deg, #080310 0%, #3d0a6a 80%, #8e44ad 100%); }

/* ── Genres ──────────────────────────────────────────────── */
.genres-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.genre-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--fg2);
  transition: background var(--ease), border-color var(--ease), color var(--ease), box-shadow var(--ease);
}
.genre-pill:hover {
  background: var(--primary-gl);
  border-color: var(--primary);
  color: var(--primary-lt);
  box-shadow: var(--primary-glow);
}
.genre-icon {
  font-size: 1rem;
  line-height: 1;
}

/* ── Feature Cards ───────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}
@media (max-width: 800px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.feature-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-blue);
  transform: translateY(-2px);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r);
  background: var(--primary-gl);
  border: 1px solid rgba(14,165,233,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 0.88rem;
  color: var(--fg2);
}

/* ── Adresse Section ─────────────────────────────────────── */
.adresse-box {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--r-lg);
  padding: 32px 36px;
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}
.adresse-url {
  font-family: 'Sora', monospace;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-lt);
  word-break: break-all;
  margin-top: 4px;
}
.adresse-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #34d399;
  background: rgba(52,211,153,0.1);
  border: 1px solid rgba(52,211,153,0.25);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 6px;
}
.adresse-badge::before {
  content: '';
  width: 5px; height: 5px;
  background: #34d399;
  border-radius: 50%;
}

@media (max-width: 600px) {
  .adresse-box {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }
}

/* ── FAQ Accordion ───────────────────────────────────────── */
.faq-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color var(--ease);
}
.faq-item:hover {
  border-color: var(--border-lt);
}
.faq-item[open] {
  border-color: var(--primary);
}
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  color: var(--fg);
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--primary-lt);
  flex-shrink: 0;
  transition: transform var(--ease);
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-answer {
  padding: 4px 22px 20px;
  color: var(--fg2);
  font-size: 0.92rem;
  line-height: 1.75;
  border-top: 1px solid var(--border);
}

/* ── About Section ───────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 0;
}
.about-grid h2 { margin-bottom: 16px; }
.about-grid p { margin-bottom: 14px; }
.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}
.highlight-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px 18px;
}
.highlight-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}
.highlight-text h4 { margin-bottom: 3px; font-size: 0.9rem; }
.highlight-text p  { font-size: 0.83rem; margin: 0; }

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ── Breadcrumb ──────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--fg3);
  padding-block: 14px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--fg3); transition: color var(--ease); }
.breadcrumb a:hover { color: var(--primary-lt); }
.breadcrumb-sep { color: var(--border-lt); }
.breadcrumb-current { color: var(--fg2); }

/* ── Page Hero (inner pages) ─────────────────────────────── */
.page-hero {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding-block: 48px 40px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 70% 50%, rgba(3,105,161,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  max-width: 760px;
}
.page-hero h1 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 12px; }
.page-hero p  { font-size: 1.05rem; color: var(--fg2); }

/* ── Content Prose ───────────────────────────────────────── */
.prose h2 { font-size: 1.3rem; margin: 36px 0 12px; padding-top: 8px; }
.prose h3 { font-size: 1.05rem; margin: 28px 0 8px; color: var(--fg); }
.prose p  { margin-bottom: 14px; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 14px; color: var(--fg2); }
.prose li { margin-bottom: 6px; line-height: 1.7; }
.prose strong { color: var(--fg); font-weight: 600; }
.prose a { color: var(--primary-lt); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--primary); }

/* Content card */
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 30px;
  margin-top: 28px;
}
.info-card h3 { margin-bottom: 14px; }

/* Steps */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}
.step-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.step-text h4  { font-size: 0.9rem; margin-bottom: 3px; }
.step-text p   { font-size: 0.84rem; margin: 0; }

/* Comparison table */
.table-wrap { overflow-x: auto; margin-top: 20px; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 460px;
}
thead { background: var(--bg3); }
th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: var(--fg);
  border-bottom: 1px solid var(--border);
}
td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--fg2);
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--bg3); }
.td-check { color: #34d399; font-weight: 700; }
.td-cross { color: #f87171; }

/* ── CTA Banner ──────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--primary-dk) 0%, var(--primary) 50%, #0ea5e9 100%);
  padding-block: 56px;
  text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p  { color: rgba(255,255,255,0.8); margin-bottom: 28px; max-width: 540px; margin-inline: auto; }
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--primary-dk);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: var(--r);
  transition: box-shadow var(--ease), transform var(--ease);
}
.btn-white:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  transform: translateY(-1px);
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--header-bg);
  border-top: 1px solid var(--border);
  padding-block: 48px 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand img { height: 32px; margin-bottom: 14px; }
.footer-brand p {
  font-size: 0.83rem;
  color: var(--fg3);
  line-height: 1.65;
  max-width: 280px;
}
.footer-col h5 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg3);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a {
  font-size: 0.85rem;
  color: var(--fg3);
  transition: color var(--ease);
}
.footer-col a:hover { color: var(--primary-lt); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: 0.78rem;
  color: var(--fg3);
}
.footer-disclaimer {
  font-size: 0.72rem;
  color: var(--fg3);
  max-width: 520px;
  text-align: right;
}

@media (max-width: 600px) {
  .footer-disclaimer { text-align: left; }
}

/* ── Utilities ───────────────────────────────────────────── */
.text-primary { color: var(--primary-lt); }
.text-muted   { color: var(--fg2); }
.mt-0 { margin-top: 0; }
.alt-bg { background: var(--bg2); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
