/* SueldoClaro — Homepage Stylesheet
 * Consolidated from historical inline passes into a single source of truth.
 * Preserves core brand (#167A5B, Inter), rationalizes radii, standardizes microinteractions,
 * compacts mobile hero footprint, and supports light/dark modes seamlessly.
 */

:root {
  --sc-green: #167a5b;
  --sc-green-hover: #12634a;
  --sc-green-active: #0e4f3b;
  --sc-accent: #167a5b;
  --sc-accent-strong: #12634a;
  --sc-accent2: #dcf4e9;
  --sc-accent2-hover: #c9eedd;
  --sc-ink: #181c19;
  --sc-muted: #5f6863;
  --sc-line: #dce3de;
  --sc-line-light: #e8edea;
  --sc-paper: #ffffff;
  --sc-wash: #f7f8f5;
  --sc-soft: #e8f5ef;
  
  /* Restrained Radii Scale */
  --sc-radius-xs: 6px;
  --sc-radius-sm: 8px;
  --sc-radius-md: 12px;
  --sc-radius-lg: 16px;
  --sc-radius-card: 20px;
  --sc-radius-pill: 999px;

  /* Elevation Shadows */
  --sc-shadow-sm: 0 2px 8px rgba(20, 28, 23, 0.04);
  --sc-shadow-card: 0 10px 28px rgba(20, 28, 23, 0.05);
  --sc-shadow-card-hover: 0 16px 36px rgba(20, 28, 23, 0.08);
  --sc-shadow-primary: 0 6px 18px rgba(22, 122, 91, 0.18);
  --sc-shadow-primary-hover: 0 10px 24px rgba(22, 122, 91, 0.24);

  /* Microinteraction Timing */
  --sc-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --sc-dur-fast: 160ms;
  --sc-dur-norm: 180ms;
  --sc-dur-smooth: 240ms;
}

/* Base Layout & Reset */
body {
  background: var(--sc-wash);
  color: var(--sc-ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.wrap {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}
.section {
  padding: 72px 0;
  scroll-margin-top: 108px;
}
#fuentes, #guias, #calculadoras {
  scroll-margin-top: 108px;
}
.section-head {
  max-width: 720px;
  margin-bottom: 28px;
}
.section-head h2 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 780;
  letter-spacing: -0.05em;
  line-height: 1.05;
  color: var(--sc-ink);
}
.section-head p {
  margin-top: 8px;
  color: var(--sc-muted);
  font-size: 16px;
  line-height: 1.6;
}

/* Market Strip — Minimalist Clean Ribbon */
:root body .market-strip {
  height: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  background: rgba(246, 250, 248, 0.96) !important;
  color: #4a6358 !important;
  border-bottom: 1px solid rgba(22, 122, 91, 0.08) !important;
  font-size: 11.5px !important;
  letter-spacing: 0.01em !important;
  position: relative !important;
  overflow: hidden !important;
  z-index: 40 !important;
}
:root body .market-wrap {
  width: min(1160px, calc(100% - 48px)) !important;
  height: 34px !important;
  min-height: 34px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}
:root body .market-rates {
  display: flex !important;
  align-items: center !important;
  gap: 22px !important;
}
:root body .market-rates .market-item {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: #526b60 !important;
  font-size: 11.5px !important;
  font-weight: 500 !important;
}
:root body .market-rates strong {
  color: #167a5b !important;
  font-weight: 750 !important;
  font-size: 12px !important;
}
:root body .market-change.market-up {
  color: #12805c !important;
  background: rgba(22, 122, 91, 0.09) !important;
  padding: 1px 6px !important;
  border-radius: 4px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
}
:root body .market-change.market-down {
  color: #d14336 !important;
  background: rgba(209, 67, 54, 0.09) !important;
  padding: 1px 6px !important;
  border-radius: 4px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
}
:root body .market-change.market-flat {
  color: #7b8f85 !important;
}
:root body .market-updated,
:root body .market-status {
  color: #7b8f85 !important;
  font-size: 10.5px !important;
  font-weight: 500 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}
:root body .market-status-dot {
  background: #167a5b !important;
}

/* Topbar & Header */
.topbar {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--sc-line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}
.topbar .wrap {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--sc-green);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.02em;
}
.toplinks {
  display: flex;
  align-items: center;
  gap: 24px;
}
.toplinks a {
  color: var(--sc-ink);
  text-decoration: none;
  font-size: 13px;
  font-family: inherit;
  font-weight: 550;
  letter-spacing: -0.018em;
  -webkit-font-smoothing: antialiased;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  position: relative;
  padding: 4px 0;
  transition: color var(--sc-dur-fast) ease;
}
.toplinks a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--sc-green);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 220ms cubic-bezier(0.4, 0, 0.2, 1);
}
.toplinks a:hover {
  color: var(--sc-green);
}
.toplinks a:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* Hero Section */
.home-hero {
  position: relative;
  padding: 60px 0 54px;
  background: transparent;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
}
.home-hero:before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  right: -210px;
  top: -290px;
  background: radial-gradient(circle, rgba(22, 122, 91, 0.08), transparent 68%);
  pointer-events: none;
}
.home-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: 56px;
}
.home-copy h1 {
  max-width: 720px;
  margin: 0 0 16px;
  font-size: clamp(46px, 5.2vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  font-weight: 780;
  color: #171b18;
}
.home-copy h1 em {
  font-style: italic;
  color: var(--sc-green);
  display: block;
  font-weight: 760;
  letter-spacing: -0.058em;
}
.home-copy > p {
  max-width: 620px;
  margin: 0;
  color: var(--sc-muted);
  font-size: 16.5px;
  line-height: 1.65;
}
.home-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--sc-green);
  margin-bottom: 16px;
  opacity: 0.85;
}
.home-hero-kicker::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1.5px;
  background: var(--sc-green);
  border-radius: 2px;
}
html[data-theme="dark"] .home-hero-kicker {
  color: #45c99c;
  opacity: 0.9;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.home-primary,
.home-secondary {
  min-height: 48px;
  border-radius: var(--sc-radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 650;
  font-family: inherit;
  -webkit-font-smoothing: antialiased;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  text-decoration: none;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform var(--sc-dur-fast) var(--sc-ease),
              background-color var(--sc-dur-fast) ease,
              border-color var(--sc-dur-fast) ease,
              box-shadow var(--sc-dur-fast) ease;
}
.home-primary {
  border: 1.5px solid var(--sc-green);
  background: var(--sc-green);
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(22,122,91,0.18), 0 4px 16px rgba(22,122,91,0.14);
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
}
.home-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 100%);
  border-radius: inherit;
  pointer-events: none;
}
.home-primary:hover {
  background: #12694e;
  border-color: #12694e;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(22,122,91,0.22), 0 8px 28px rgba(22,122,91,0.2);
}
.home-primary:active {
  transform: translateY(0px) scale(0.985);
  background: #0f5940;
  box-shadow: 0 1px 4px rgba(22,122,91,0.12);
}
.home-primary:focus-visible,
.home-secondary:focus-visible {
  outline: 2px solid var(--sc-green);
  outline-offset: 2px;
}
.home-secondary {
  border: 1.5px solid rgba(16, 80, 60, 0.18);
  background: rgba(255, 255, 255, 0.9);
  color: var(--sc-ink);
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: -0.01em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.home-secondary:hover {
  border-color: rgba(22, 122, 91, 0.35);
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 2px 12px rgba(22,122,91,0.10), 0 8px 24px rgba(0,0,0,0.06);
  color: var(--sc-green);
}
.home-secondary:active {
  transform: translateY(0px) scale(0.985);
}
.home-action-spark {
  color: var(--sc-green);
  font-size: 13px;
}

/* Featured Tool Card */
.home-feature {
  position: relative;
  padding: 32px;
  border: 1px solid rgba(22, 122, 91, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 12px 36px rgba(22, 122, 91, 0.08), 0 32px 64px rgba(0, 0, 0, 0.03);
  transition: transform var(--sc-dur-norm) var(--sc-ease),
              box-shadow var(--sc-dur-norm) ease,
              border-color var(--sc-dur-norm) ease;
}
.home-feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06), 0 18px 48px rgba(22, 122, 91, 0.12), 0 40px 80px rgba(0, 0, 0, 0.04);
  border-color: rgba(22, 122, 91, 0.25);
}
.home-feature-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}
.home-feature-top small {
  color: var(--sc-muted);
  font-size: 11px;
}
/* Animated Mascot Stage */
.sc-mascot-hero-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 8px auto 12px;
  cursor: pointer;
  outline: none;
}
.sc-mascot-hero-art {
  display: block;
  width: 110px;
  height: 110px;
  object-fit: contain;
  animation: scMascotFloat 3.2s ease-in-out infinite !important;
  transform-origin: center bottom;
  filter: drop-shadow(0 14px 26px rgba(22, 122, 91, 0.20));
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.35s ease;
  will-change: transform;
}
.sc-mascot-hero-stage:hover .sc-mascot-hero-art,
.sc-mascot-hero-stage:focus-visible .sc-mascot-hero-art {
  transform: translateY(-12px) scale(1.08) rotate(3deg);
  filter: drop-shadow(0 24px 38px rgba(22, 122, 91, 0.32));
  animation-play-state: paused;
}
.sc-mascot-hero-shadow {
  width: 76px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(16, 68, 51, 0.32) 0%, rgba(16, 68, 51, 0) 68%);
  animation: scMascotShadow 3.2s ease-in-out infinite !important;
  margin-top: -3px;
  will-change: transform, opacity;
}
@keyframes scMascotFloat {
  0%   { transform: translateY(0px) rotate(0deg); }
  50%  { transform: translateY(-14px) rotate(-1.5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}
@keyframes scMascotShadow {
  0%   { transform: scaleX(1)   scaleY(1);   opacity: 0.35; }
  50%  { transform: scaleX(0.68) scaleY(0.62); opacity: 0.12; }
  100% { transform: scaleX(1)   scaleY(1);   opacity: 0.35; }
}
html[data-theme="dark"] .sc-mascot-hero-art {
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.6));
}
html[data-theme="dark"] .sc-mascot-hero-stage:hover .sc-mascot-hero-art,
html[data-theme="dark"] .sc-mascot-hero-stage:focus-visible .sc-mascot-hero-art {
  filter: drop-shadow(0 22px 36px rgba(69, 201, 156, 0.3));
}
html[data-theme="dark"] .sc-mascot-hero-shadow {
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.6) 0%, transparent 70%);
}
.home-feature .sc-brand-illustration {
  display: block;
  max-width: 100%;
  height: 96px;
  width: auto;
  object-fit: contain;
  margin: 16px auto 14px;
}
.home-feature h2 {
  margin: 12px 0 8px;
  font-size: 22px;
  font-weight: 760;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--sc-ink);
}
.home-feature p {
  margin: 0;
  color: var(--sc-muted);
  font-size: 13px;
  line-height: 1.55;
}
.home-feature > a {
  margin-top: 18px;
  min-height: 44px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  background: var(--sc-green);
  color: #ffffff;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 1px 4px rgba(22, 122, 91, 0.16), 0 4px 16px rgba(22, 122, 91, 0.14);
  transition: background-color var(--sc-dur-fast) ease,
              transform var(--sc-dur-fast) var(--sc-ease),
              box-shadow var(--sc-dur-fast) ease;
}
.home-feature > a:hover {
  background: #12694e;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(22, 122, 91, 0.20), 0 8px 24px rgba(22, 122, 91, 0.18);
}
.home-feature > a:active {
  transform: translateY(0px) scale(0.985);
}
.home-feature-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.home-feature-foot span {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(22, 122, 91, 0.07);
  color: #167a5b;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid rgba(22, 122, 91, 0.12);
}

/* The 12 Tool Cards Hub */
#calculadoras {
  position: relative;
  overflow: hidden;
  padding-top: 64px;
}
#calculadoras > .wrap {
  position: relative;
  z-index: 1;
}
.tools-canvas-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,1) 12%, rgba(0,0,0,1) 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,1) 12%, rgba(0,0,0,1) 88%, transparent 100%);
}
#toolsCanvas {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hub-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.hub-card {
  min-width: 0;
  min-height: 204px;
  padding: 24px 22px;
  border: 1px solid var(--sc-line);
  border-radius: var(--sc-radius-card);
  background: #ffffff;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform var(--sc-dur-norm) var(--sc-ease),
              box-shadow var(--sc-dur-norm) ease,
              border-color var(--sc-dur-norm) ease,
              opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.hub-grid.is-animated .hub-card {
  opacity: 1;
  transform: translateY(0);
}
.hub-card:hover {
  transform: translateY(-4px);
  border-color: rgba(22, 122, 91, 0.32);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05), 0 12px 30px rgba(22, 122, 91, 0.11);
}
.hub-card:active {
  transform: translateY(0);
}
.hub-card:focus-visible {
  outline: 2px solid var(--sc-green);
  outline-offset: 2px;
}
.hub-card:nth-child(1)  { transition-delay: 0ms; }
.hub-card:nth-child(2)  { transition-delay: 45ms; }
.hub-card:nth-child(3)  { transition-delay: 90ms; }
.hub-card:nth-child(4)  { transition-delay: 135ms; }
.hub-card:nth-child(5)  { transition-delay: 180ms; }
.hub-card:nth-child(6)  { transition-delay: 225ms; }
.hub-card:nth-child(7)  { transition-delay: 270ms; }
.hub-card:nth-child(8)  { transition-delay: 315ms; }
.hub-card:nth-child(9)  { transition-delay: 360ms; }
.hub-card:nth-child(10) { transition-delay: 405ms; }
.hub-card:nth-child(11) { transition-delay: 450ms; }
.hub-card:nth-child(12) { transition-delay: 495ms; }
/* For prefers-reduced-motion, show immediately */
@media (prefers-reduced-motion: reduce) {
  .hub-card { opacity: 1 !important; transform: none !important; transition: none !important; }
}
.hub-icon {
  width: 44px;
  height: 44px;
  font-style: normal;
  border-radius: var(--sc-radius-md);
  background: var(--sc-accent2);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  flex-shrink: 0;
  transition: background-color var(--sc-dur-fast) ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hub-card:hover .hub-icon {
  background: var(--sc-accent2-hover);
  transform: scale(1.06);
}
.hub-icon img {
  width: 32px;
  height: 32px;
  display: block;
}
.hub-card b {
  font-size: 16px;
  font-weight: 720;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--sc-ink);
  margin-bottom: 8px;
}
.hub-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--sc-muted);
}

/* Tool Finder Empty State (Soft Digital Mint) */
#sc-finder-empty {
  text-align: center;
  padding: 36px 20px;
  background: #ffffff;
  border: 1px solid var(--sc-line);
  border-radius: var(--sc-radius-card);
  margin-top: 20px;
}
.sc-finder-empty-mascot {
  display: block;
  margin: 0 auto 14px;
  width: 92px;
  height: 92px;
  object-fit: contain;
}
#sc-finder-empty h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  color: var(--sc-ink);
}
#sc-finder-empty p {
  margin: 0 0 16px;
  color: var(--sc-muted);
  font-size: 14px;
}
#sc-finder-reset {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: var(--sc-radius-md);
  border: 1px solid var(--sc-green);
  background: var(--sc-green);
  color: #fff;
  font-weight: 650;
  font-size: 13px;
  cursor: pointer;
  transition: background var(--sc-dur-fast) ease, transform var(--sc-dur-fast) var(--sc-ease);
}
#sc-finder-reset:hover {
  background: var(--sc-green-hover);
  transform: translateY(-1px);
}

/* FAQ Section */
.faq-home {
  padding: 54px 0 46px;
  background: #f7f8f5;
}
.faq-shell {
  max-width: 860px;
  margin-inline: auto;
}
.center-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 26px;
}
.center-head small {
  color: var(--sc-green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}
.center-head h2 {
  font-size: clamp(30px, 3.8vw, 42px);
  font-weight: 760;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--sc-ink);
  margin: 0;
}
.faq-list {
  border: 1px solid var(--sc-line);
  border-radius: var(--sc-radius-card);
  background: #ffffff;
  overflow: hidden;
  box-shadow: var(--sc-shadow-sm);
}
.faq-list details + details {
  border-top: 1px solid var(--sc-line-light);
}
.faq-list summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 650;
  color: var(--sc-ink);
  transition: color var(--sc-dur-fast) ease, background-color var(--sc-dur-fast) ease;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary:hover {
  color: var(--sc-green);
  background: #fcfdfc;
}
.faq-chevron {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--sc-green);
  border-bottom: 2px solid var(--sc-green);
  transform: rotate(45deg) translateY(-2px);
  transform-origin: center;
  flex-shrink: 0;
  transition: transform 200ms var(--sc-ease);
}
.faq-list details[open] .faq-chevron {
  transform: rotate(225deg) translateY(-1px);
}
.faq-list details p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--sc-muted);
  font-size: 13.5px;
  line-height: 1.65;
  animation: faqFade 200ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes faqFade {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Sources & Methodology Section */
.sources-section {
  padding: 84px 0;
  background: transparent !important;
  border-top: 1px solid var(--sc-line);
}
.sources-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 32px;
}
.source-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sc-green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.source-kicker span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sc-green);
}
.review-badge {
  min-width: 138px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 16px;
  gap: 2px;
  border: 1px solid var(--sc-line);
  border-radius: var(--sc-radius-md);
  background: var(--sc-wash);
}
.review-badge small {
  color: var(--sc-muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.review-badge strong {
  color: var(--sc-ink);
  font-size: 14px;
  font-weight: 750;
}
.source-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 36px;
}
.source-card {
  padding: 16px 0;
  border: none;
  border-bottom: 1px solid rgba(16, 24, 20, 0.08);
  border-radius: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  box-shadow: none;
  transition: border-color var(--sc-dur-fast) ease;
}
.source-card:hover {
  transform: none;
  border-color: #167a5b;
  background: transparent;
  box-shadow: none;
}
.source-card:focus-visible {
  outline: 2px solid var(--sc-green);
  outline-offset: 4px;
}
.source-card-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 6px;
}
.source-number {
  display: none !important;
}
.official-badge,
.method-badge {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.official-badge {
  color: var(--sc-green);
}
.method-badge {
  color: #627685;
}
.source-card h3 {
  margin: 0 0 5px;
  font-size: 15.5px;
  font-weight: 750;
  line-height: 1.25;
  color: var(--sc-ink);
}
.source-card p {
  margin: 0 0 8px;
  color: var(--sc-muted);
  font-size: 13px;
  line-height: 1.52;
  flex-grow: 1;
}
.source-link {
  color: var(--sc-green);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  transition: color var(--sc-dur-fast) ease;
}
.source-link:hover {
  color: var(--sc-green-hover);
  text-decoration: underline;
}

/* Footer */
.footer {
  padding: 24px 0;
  border-top: 1px solid var(--sc-line);
  background: #ffffff;
  color: var(--sc-muted);
}
.footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
}
.footer-brand-block {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-logo {
  text-decoration: none;
}
.footer-tagline {
  color: #7a847e;
  font-size: 12px;
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.footer-links a {
  color: var(--sc-muted);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--sc-dur-fast) ease;
}
.footer-links a:hover {
  color: var(--sc-green);
}
.pro-footer {
  display: none !important;
}

/* Reveal utility */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* Responsive & Mobile Density System */
@media (max-width: 1100px) {
  .home-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .home-hero-grid > * { min-width: 0; }
  .home-feature { width: 100%; max-width: 540px; margin-inline: auto; box-sizing: border-box; }
}

@media (max-width: 900px) {
  .home-hero { padding: 48px 0; }
  .home-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .home-feature { max-width: 540px; margin-inline: auto; }
  .hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .source-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sources-head { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 760px) {
  .section { padding: 52px 0; }
  .home-hero { padding: 32px 0 28px; }
  .home-hero-grid { gap: 24px; }
  .home-copy h1 { font-size: clamp(36px, 9.5vw, 48px); margin-bottom: 12px; }
  .home-copy > p { font-size: 15px; }
  .home-actions { margin-top: 20px; gap: 10px; }
  
  /* Compact mobile hero feature card */
  .home-feature {
    padding: 20px 18px;
    border-radius: var(--sc-radius-lg);
  }
  .home-feature .sc-brand-illustration {
    height: 76px;
    margin: 10px auto 12px;
  }
  .sc-mascot-hero-stage {
    margin: 4px auto 8px;
  }
  .sc-mascot-hero-art {
    width: 88px;
    height: 88px;
  }
  .sc-mascot-hero-shadow {
    width: 60px;
    height: 8px;
  }
  .home-feature h2 {
    font-size: 19px;
    margin-bottom: 4px;
  }
  .home-feature p {
    font-size: 12.5px;
    line-height: 1.5;
  }
  .sc-hero-input {
    font-size: 18px;
    padding: 8px 12px 8px 28px;
  }
  .sc-hero-currency {
    font-size: 16px;
    left: 12px;
  }
  .sc-hero-net-val {
    font-size: 20px;
  }
  .home-feature > a {
    margin-top: 14px;
    min-height: 42px;
    font-size: 12.5px;
  }
  .home-feature-foot {
    margin-top: 10px;
  }
  :root body #rateUpdated,
  :root body #rateUpdated.market-status,
  .market-updated {
    display: none !important;
  }
  .market-actions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .market-zen-btn .zen-label {
    display: none;
  }
  .market-zen-btn {
    padding: 3px 6px;
    height: 22px;
  }
  
  #calculadoras { padding-top: 36px; }
  .hub-grid { gap: 12px; }
  .hub-card { min-height: 180px; padding: 18px 16px; }
  .source-grid { gap: 12px; }
  .source-card { padding: 18px 16px; }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .hub-grid { grid-template-columns: 1fr; }
  .source-grid { grid-template-columns: 1fr; }
  .footer .wrap { flex-direction: column; align-items: flex-start; gap: 14px; }
  .home-actions { flex-direction: column; width: 100%; }
  .home-primary, .home-secondary { width: 100%; }
}

/* Dark Mode Harmonization */
html[data-theme="dark"] body {
  background: #0d0f0e;
  color: #d9dedb;
}
html[data-theme="dark"] .topbar {
  background: rgba(13, 15, 14, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
html[data-theme="dark"] .brand-word,
html[data-theme="dark"] .toplinks a {
  color: #e4e9e6;
}
html[data-theme="dark"] .toplinks a:hover {
  color: #45c99c;
}
html[data-theme="dark"] .toplinks a::after {
  background: #45c99c;
}
html[data-theme="dark"] .home-hero {
  background: transparent;
  border-bottom-color: rgba(255, 255, 255, 0.06);
}
html[data-theme="dark"] .home-copy h1,
html[data-theme="dark"] .section-head h2,
html[data-theme="dark"] .center-head h2,
html[data-theme="dark"] .home-feature h2,
html[data-theme="dark"] .hub-card b,
html[data-theme="dark"] .source-card h3,
html[data-theme="dark"] .faq-list summary {
  color: #f0f4f1;
}
html[data-theme="dark"] .home-copy > p,
html[data-theme="dark"] .section-head p,
html[data-theme="dark"] .hub-card p,
html[data-theme="dark"] .source-card p,
html[data-theme="dark"] .faq-list details p {
  color: #9ba7a0;
}
html[data-theme="dark"] .home-secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #e4e9e6;
}
html[data-theme="dark"] .home-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(69, 201, 156, 0.35);
  color: #45c99c;
}
html[data-theme="dark"] .home-feature,
html[data-theme="dark"] .hub-card,
html[data-theme="dark"] .source-card,
html[data-theme="dark"] .faq-list,
html[data-theme="dark"] #sc-finder-empty {
  background: #141715;
  border-color: rgba(255, 255, 255, 0.09);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}
html[data-theme="dark"] .hub-card:hover,
html[data-theme="dark"] .home-feature:hover,
html[data-theme="dark"] .source-card:hover {
  border-color: rgba(69, 201, 156, 0.3);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}
html[data-theme="dark"] .hub-icon {
  background: rgba(69, 201, 156, 0.12);
}
html[data-theme="dark"] .hub-card:hover .hub-icon {
  background: rgba(69, 201, 156, 0.2);
}
html[data-theme="dark"] .home-feature-foot span {
  background: rgba(69, 201, 156, 0.10);
  border: 1px solid rgba(69, 201, 156, 0.20);
  color: #8be5c3;
}
html[data-theme="dark"] .faq-home {
  background: #0d0f0e;
}
html[data-theme="dark"] .faq-list details + details {
  border-top-color: rgba(255, 255, 255, 0.06);
}
html[data-theme="dark"] .faq-list summary:hover {
  background: rgba(255, 255, 255, 0.02);
}
html[data-theme="dark"] .sources-section {
  background: transparent !important;
}
html[data-theme="dark"] .footer {
  background: #0d0f0e;
  border-top-color: rgba(255, 255, 255, 0.08);
}
html[data-theme="dark"] .review-badge {
  background: #141715;
  border-color: rgba(255, 255, 255, 0.09);
}
html[data-theme="dark"] .review-badge strong {
  color: #e4e9e6;
}
html[data-theme="dark"] .method-badge {
  background: rgba(255, 255, 255, 0.08);
  color: #9cb0a4;
}

/* --- Hero Zen FX Canvas & Ambient Simulation --- */
.home-hero {
  position: relative;
  overflow: hidden;
}
.home-hero .wrap {
  position: relative;
  z-index: 2;
}
#heroCanvasContainer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: auto;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background: transparent;
}
#fxCanvas {
  display: block;
  width: 100%;
  height: 100vh;
  pointer-events: none;
  background: transparent;
  transition: opacity 0.4s ease;
}
#toolsCanvasContainer {
  display: none !important;
}

/* A quiet desktop drift complements the live canvas without competing with the hero. */
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .home-hero::before {
    animation: homeHeroAmbientDrift 26s ease-in-out infinite alternate;
    transform-origin: center;
    will-change: transform;
  }
}
@keyframes homeHeroAmbientDrift {
  from { transform: translate3d(-10px, 6px, 0) scale(1); }
  to { transform: translate3d(24px, 16px, 0) scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero::before { animation: none !important; transform: none !important; }
}

/* --- Zen Attraction Toggle Button in Market Strip --- */
.market-zen-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  background: rgba(22, 122, 91, 0.14);
  border: 1px solid rgba(22, 122, 91, 0.28);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: var(--sc-green);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
  line-height: 1;
}
.market-zen-btn:hover {
  background: rgba(22, 122, 91, 0.24);
  border-color: var(--sc-green);
  transform: translateY(-1px);
}
.zen-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
  display: inline-block;
  transition: background-color 0.2s, box-shadow 0.2s;
}
.zen-dot.is-paused {
  background: #94a3b8;
  box-shadow: none;
}
.zen-label {
  letter-spacing: -0.01em;
}

/* --- Hero Left Column Legal Deductions Badges --- */
.home-legal-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.home-legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(22, 122, 91, 0.05);
  border: 1px solid rgba(22, 122, 91, 0.14);
  font-size: 11.5px;
  transition: border-color 0.2s, background 0.2s;
}
.home-legal-badge:hover {
  background: rgba(22, 122, 91, 0.09);
  border-color: rgba(22, 122, 91, 0.25);
}
.home-legal-label {
  color: var(--sc-muted);
  font-weight: 550;
  font-size: 11px;
}
.home-legal-val {
  color: var(--sc-green);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 700;
  font-size: 11px;
}

/* --- Hero Interactive Salary Calculator Card --- */
.sc-hero-input-wrap {
  position: relative;
  width: 100%;
  margin-top: 18px;
}
.sc-hero-currency {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--sc-muted);
  font-weight: 700;
  font-size: 18px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  pointer-events: none;
  z-index: 2;
}
.sc-hero-input {
  width: 100%;
  min-width: 0;
  padding: 10px 14px 10px 32px;
  border-radius: 12px;
  border: 1.5px solid var(--sc-line);
  background: #ffffff;
  color: var(--sc-ink);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 20px;
  font-weight: 700;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}
.sc-hero-input:focus {
  border-color: var(--sc-green);
  box-shadow: 0 0 0 3px rgba(22, 122, 91, 0.12);
}
.sc-hero-presets {
  display: flex;
  align-items: center;
  gap: 6px;
  row-gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
  margin-bottom: 16px;
}
.sc-preset-label {
  font-size: 11px;
  color: var(--sc-muted);
  font-weight: 600;
  margin-right: 2px;
}
.sc-preset-btn {
  padding: 3px 9px;
  font-size: 11.5px;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid var(--sc-line);
  background: var(--sc-wash);
  color: var(--sc-ink);
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  line-height: 1.3;
}
.sc-preset-btn:hover {
  border-color: var(--sc-green);
  color: var(--sc-green);
  background: rgba(22, 122, 91, 0.08);
  transform: translateY(-1px);
}
.sc-preset-btn:active {
  transform: translateY(0);
}
.sc-hero-net-card {
  background: var(--sc-wash);
  border: 1.5px solid rgba(22, 122, 91, 0.20);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 4px 14px rgba(22, 122, 91, 0.04);
  text-align: left;
}
.sc-hero-net-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.sc-hero-net-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--sc-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.sc-hero-net-val {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 22px;
  font-weight: 800;
  color: var(--sc-green);
  letter-spacing: -0.03em;
}
.sc-hero-bar {
  height: 6px;
  width: 100%;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  display: flex;
  overflow: hidden;
  margin-bottom: 10px;
}
.sc-hero-bar-net {
  background: linear-gradient(90deg, #10b981, #059669);
  height: 100%;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 999px 0 0 999px;
}
.sc-hero-bar-deduc {
  background: rgba(239, 68, 68, 0.7);
  height: 100%;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 0 999px 999px 0;
}
.sc-hero-deductions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.sc-deduc-chip {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 4px 6px;
  background: #ffffff;
  border: 1px solid var(--sc-line);
  border-radius: 12px;
  text-align: center;
}
.sc-deduc-chip small {
  font-size: 9.5px;
  color: var(--sc-muted);
  font-weight: 600;
  margin-bottom: 1px;
  white-space: nowrap;
}
.sc-deduc-chip strong {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 700;
  color: #dc2626;
  white-space: nowrap;
}
@media (max-width: 380px) {
  .sc-hero-deductions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sc-deduc-chip :is(small, strong) { white-space: normal; overflow-wrap: anywhere; }
}
.sc-hero-calc-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  padding: 10px 16px;
  background: var(--sc-green);
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(22, 122, 91, 0.22);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.sc-hero-calc-cta:hover {
  background: #12694e;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(22, 122, 91, 0.32);
}
.sc-hero-calc-cta b {
  transition: transform 0.2s ease;
}
.sc-hero-calc-cta:hover b {
  transform: translateX(3px);
}

/* Dark Mode Harmonization for Hero Enhancements */
html[data-theme="dark"] .market-zen-btn {
  background: rgba(69, 201, 156, 0.12);
  border-color: rgba(69, 201, 156, 0.3);
  color: #45c99c;
}
html[data-theme="dark"] .market-zen-btn:hover {
  background: rgba(69, 201, 156, 0.22);
}
html[data-theme="dark"] .home-legal-badge {
  background: rgba(69, 201, 156, 0.08);
  border-color: rgba(69, 201, 156, 0.2);
}
html[data-theme="dark"] .home-legal-label {
  color: #9ba7a0;
}
html[data-theme="dark"] .home-legal-val {
  color: #45c99c;
}
html[data-theme="dark"] .sc-hero-input {
  background: #191e1b;
  border-color: rgba(255, 255, 255, 0.12);
  color: #f0f4f1;
}
html[data-theme="dark"] .sc-hero-input:focus {
  border-color: #45c99c;
  box-shadow: 0 0 0 3px rgba(69, 201, 156, 0.18);
}
html[data-theme="dark"] .sc-preset-btn {
  background: #191e1b;
  border-color: rgba(255, 255, 255, 0.12);
  color: #d9dedb;
}
html[data-theme="dark"] .sc-preset-btn:hover {
  border-color: #45c99c;
  color: #45c99c;
  background: rgba(69, 201, 156, 0.15);
}
html[data-theme="dark"] .sc-hero-net-card {
  background: #141715;
  border-color: rgba(69, 201, 156, 0.25);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}
html[data-theme="dark"] .sc-hero-net-val {
  color: #45c99c;
}
html[data-theme="dark"] .sc-hero-bar {
  background: rgba(255, 255, 255, 0.08);
}
html[data-theme="dark"] .sc-deduc-chip {
  background: #191e1b;
  border-color: rgba(255, 255, 255, 0.08);
}
html[data-theme="dark"] .sc-deduc-chip small {
  color: #9ba7a0;
}
html[data-theme="dark"] .sc-deduc-chip strong {
  color: #f87171;
}

/* Fuentes y Metodología — Minimalist, Clean & Verifiable */
.source-kicker-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}
.source-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--sc-green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.source-kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sc-green);
  display: inline-block;
}
.source-updated-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #718279;
  letter-spacing: 0.01em;
}
html[data-theme="dark"] .source-updated-pill {
  color: #8da398;
}
.source-updated-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  animation: sc-pulse-gentle 2.6s infinite ease-in-out;
}
@keyframes sc-pulse-gentle {
  0%, 100% { transform: scale(1); opacity: 0.85; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  50% { transform: scale(1.15); opacity: 1; box-shadow: 0 0 0 4px rgba(16, 185, 129, 0); }
}

/* Source Cards — Clean editorial layout, NO heavy boxed squares */
.sources-section .source-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 36px;
  margin-top: 28px;
}
.sources-section .source-card {
  position: relative;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(16, 24, 20, 0.08) !important;
  border-radius: 0 !important;
  padding: 16px 4px 18px 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  display: flex;
  flex-direction: column;
  transition: border-color 0.22s ease, transform 0.22s ease !important;
  cursor: pointer;
}
html[data-theme="dark"] .sources-section .source-card {
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}
.sources-section .source-card:hover {
  background: transparent !important;
  border-bottom-color: var(--sc-green) !important;
  transform: translateY(-2px) !important;
  box-shadow: none !important;
}
html[data-theme="dark"] .sources-section .source-card:hover {
  border-bottom-color: #45c99c !important;
}
.sources-section .source-card-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 6px;
}
.sources-section .official-badge,
.sources-section .method-badge {
  font-size: 9.5px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: 4px;
}
.sources-section .official-badge {
  color: var(--sc-green);
  background: transparent !important;
  border: 1px solid rgba(22, 122, 91, 0.35);
}
html[data-theme="dark"] .sources-section .official-badge {
  color: #6ee7b7;
  background: transparent !important;
  border: 1px solid rgba(52, 211, 153, 0.35);
}
.sources-section .method-badge {
  color: #556961;
  background: transparent !important;
  border: 1px solid rgba(0, 0, 0, 0.2);
}
html[data-theme="dark"] .sources-section .method-badge {
  color: #9cb0a6;
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.sources-section .source-card h3 {
  font-size: 15.5px;
  font-weight: 750;
  line-height: 1.25;
  color: var(--sc-ink);
  margin: 0 0 6px;
}
.sources-section .source-card p {
  font-size: 12.5px;
  color: var(--sc-muted);
  line-height: 1.55;
  margin: 0 0 10px;
  flex-grow: 1;
}
.sources-section .source-link {
  color: var(--sc-green);
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.18s ease;
}
html[data-theme="dark"] .sources-section .source-link {
  color: #45c99c;
}
.sources-section .source-link:hover {
  text-decoration: underline;
}

/* Staggered entrance animation for source cards */
@keyframes sc-source-fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.sources-section .source-grid .source-card {
  opacity: 0;
  will-change: opacity, transform;
}
.sources-section.in .source-grid .source-card {
  animation: sc-source-fade-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.sources-section.in .source-grid .source-card:nth-child(1) { animation-delay: 0.02s; }
.sources-section.in .source-grid .source-card:nth-child(2) { animation-delay: 0.06s; }
.sources-section.in .source-grid .source-card:nth-child(3) { animation-delay: 0.10s; }
.sources-section.in .source-grid .source-card:nth-child(4) { animation-delay: 0.14s; }
.sources-section.in .source-grid .source-card:nth-child(5) { animation-delay: 0.18s; }
.sources-section.in .source-grid .source-card:nth-child(6) { animation-delay: 0.22s; }
.sources-section.in .source-grid .source-card:nth-child(7) { animation-delay: 0.26s; }
.sources-section.in .source-grid .source-card:nth-child(8) { animation-delay: 0.30s; }
@media (prefers-reduced-motion: reduce) {
  .sources-section .source-grid .source-card { opacity: 1 !important; animation: none !important; transform: none !important; }
}

.home-feature-top span { display: none; }

/* Audit: coherent icons and a clear primary action. */
.hub-icon img{width:28px;height:28px;object-fit:contain}.hub-icon .sc-icon-dark{display:none}html[data-theme="dark"] .hub-icon .sc-icon-light{display:none}html[data-theme="dark"] .hub-icon .sc-icon-dark{display:block}

@media(max-width:600px){.home-hero p{line-height:1.6}.home-hero{padding-block:24px!important}.home-actions{gap:10px}.home-feature{margin-top:18px!important}}

/* Secondary navigation closing the sources section. */
.sources-section .sources-footer{display:flex;justify-content:flex-start;margin-top:24px}
.sources-section .sources-methodology-link{display:inline-flex;align-items:center;min-height:44px;padding:8px 0;color:#344c42;font-size:13px;font-weight:600;line-height:1.5;text-decoration:none;border-bottom:1px solid transparent;transition:color .15s,border-color .15s}
.sources-section .sources-methodology-link:visited{color:#344c42}
.sources-section .sources-methodology-link:hover{color:#167a5b;border-bottom-color:currentColor}
.sources-section .sources-methodology-link:focus-visible{outline:2px solid #167a5b;outline-offset:4px;border-radius:2px}
html[data-theme="dark"] body:not(.editorial-page) .sources-section .sources-methodology-link{color:#b4c9be}
html[data-theme="dark"] body:not(.editorial-page) .sources-section .sources-methodology-link:hover{color:#7ce8bd}
@media(max-width:760px){.sources-section .sources-footer{margin-top:16px}}
