:root {
  --hr-ink: #102033;
  --hr-muted: #5f6f82;
  --hr-line: rgba(16, 32, 51, 0.12);
  --hr-gold: #c99a45;
  --hr-blue: #163a5f;
  --hr-bg: #f7f9fc;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.hr-static-page {
  margin: 0;
  background: var(--hr-bg);
  color: var(--hr-ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.hr-header *,
.hr-footer *,
.sitemap-main * {
  box-sizing: border-box;
}

.hr-shell {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}

.hr-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--hr-line);
  box-shadow: 0 18px 45px rgba(18, 35, 57, 0.08);
  backdrop-filter: blur(18px);
}

.hr-nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.hr-brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: var(--hr-ink);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
  min-width: clamp(210px, 21vw, 292px);
  min-height: 68px;
  padding: 8px 18px 8px 10px;
  border-radius: 18px;
  cursor: pointer;
  transition: transform 0.22s ease, filter 0.22s ease;
  isolation: isolate;
}

.hr-brand img {
  position: relative;
  z-index: 2;
  width: clamp(206px, 19vw, 278px);
  height: auto;
  max-height: 64px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 14px 26px rgba(3, 26, 45, 0.28));
}

.hr-brand-glow {
  position: absolute !important;
  inset: -10px -18px -10px -12px !important;
  width: auto !important;
  height: auto !important;
  border-radius: 24px;
  overflow: visible !important;
  clip: auto !important;
  background:
    radial-gradient(circle at 42% 50%, rgba(255, 255, 255, 0.42), transparent 48%),
    radial-gradient(circle at 52% 50%, rgba(42, 169, 255, 0.32), transparent 68%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(223, 243, 251, 0.08));
  box-shadow:
    0 0 42px rgba(42, 169, 255, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  opacity: 0.9;
  z-index: 1;
  transition: opacity 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
  pointer-events: none;
}

.hr-brand:hover {
  transform: translateY(-2px) scale(1.03);
  filter: saturate(1.06);
}

.hr-brand:hover .hr-brand-glow {
  opacity: 1;
  transform: scale(1.03);
  box-shadow:
    0 0 58px rgba(42, 169, 255, 0.38),
    0 18px 44px rgba(15, 61, 94, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.hr-brand span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.hr-brand strong {
  color: var(--hr-gold);
}

.hr-menu-toggle {
  display: none;
  min-height: 42px;
  border: 1px solid var(--hr-line);
  border-radius: 8px;
  padding: 0 14px;
  background: #ffffff;
  color: var(--hr-ink);
  font-weight: 800;
  cursor: pointer;
}

.hr-main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: nowrap;
}

.hr-main-nav a,
.hr-footer a,
.hr-dropdown-toggle {
  color: var(--hr-muted);
  text-decoration: none;
}

.hr-main-nav a,
.hr-dropdown-toggle {
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

.hr-main-nav a:hover,
.hr-main-nav a.active,
.hr-nav-group.active > .hr-dropdown-toggle,
.hr-nav-group:hover > .hr-dropdown-toggle,
.hr-nav-group.dropdown-open > .hr-dropdown-toggle {
  color: var(--hr-blue);
  background: rgba(22, 58, 95, 0.08);
}

.hr-nav-group {
  position: relative;
}

.hr-dropdown-toggle::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.18s ease;
}

.hr-nav-group:hover .hr-dropdown-toggle::after,
.hr-nav-group.dropdown-open .hr-dropdown-toggle::after {
  transform: rotate(225deg) translateY(-1px);
}

.hr-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 252px;
  padding: 10px;
  border: 1px solid rgba(21, 94, 145, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 64px rgba(15, 61, 94, 0.18);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 120;
}

.hr-nav-group:hover .hr-dropdown,
.hr-nav-group.dropdown-open .hr-dropdown,
.hr-nav-group:focus-within .hr-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hr-dropdown a {
  display: block;
  color: #12344f !important;
  padding: 12px 13px;
  border-radius: 10px;
  background: transparent !important;
  text-shadow: none !important;
  white-space: nowrap;
}

.hr-dropdown a:hover {
  color: #155e91 !important;
  background: #eef7fc !important;
}

.hr-main-nav .hr-nav-cta {
  margin-left: 6px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--hr-blue), #0e253d);
  box-shadow: 0 12px 30px rgba(22, 58, 95, 0.22);
}

.hr-main-nav .hr-nav-cta:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #1d4a78, #102033);
}

.hr-footer {
  background: #f4f8fb;
  color: #0f3d5e;
  padding: 34px 0;
}

.hr-footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  align-items: center;
  gap: 28px;
}

.hr-footer strong {
  display: block;
  margin-bottom: 8px;
  color: #0f3d5e;
}

.hr-footer p {
  margin: 0;
  color: #3f5f78;
}

.hr-footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}

.hr-footer a {
  color: #0f3d5e;
  font-weight: 700;
}

.hr-footer a:hover {
  color: #1f8fe5;
}

.sitemap-main {
  background: var(--hr-bg);
  color: var(--hr-ink);
  min-height: 70vh;
}

.sitemap-hero {
  padding: 72px 0 34px;
  background: linear-gradient(135deg, #102033, #163a5f);
  color: #ffffff;
}

.sitemap-hero h1 {
  margin: 8px 0 12px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1;
}

.sitemap-hero p {
  margin: 0;
  max-width: 650px;
  color: rgba(255, 255, 255, 0.78);
}

.sitemap-kicker {
  margin: 0;
  color: #f4c76b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 38px 0 70px;
}

.sitemap-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 92px;
  justify-content: center;
  border: 1px solid var(--hr-line);
  border-radius: 8px;
  padding: 18px;
  background: #ffffff;
  color: var(--hr-ink);
  text-decoration: none;
  box-shadow: 0 14px 35px rgba(18, 35, 57, 0.07);
}

.sitemap-card span {
  font-weight: 800;
}

.sitemap-card small {
  color: var(--hr-muted);
}

@media (max-width: 980px) {
  .hr-nav-wrap {
    min-height: 68px;
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .hr-menu-toggle {
    display: inline-flex;
    align-items: center;
  }

  .hr-main-nav {
    display: none;
    width: 100%;
    align-items: stretch;
    justify-content: flex-start;
    padding: 10px 0 6px;
  }

  .hr-main-nav.open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .hr-main-nav a {
    padding: 12px;
    background: rgba(22, 58, 95, 0.06);
  }

  .hr-main-nav .hr-nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .hr-footer-grid,
  .sitemap-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hr-footer-links {
    justify-content: flex-start;
  }
}

/* Prepared AI image blocks */
.ai-visual-section {
  padding: clamp(34px, 6vw, 72px) 0;
  background:
    radial-gradient(circle at top right, rgba(31, 143, 229, 0.08), transparent 26rem),
    linear-gradient(180deg, #ffffff, #eef7fc);
}

.ai-visual-card {
  position: relative;
  overflow: visible;
  margin: 0;
  min-height: 0;
  aspect-ratio: auto;
  padding: clamp(10px, 1.6vw, 18px);
  border: 1px solid rgba(21, 94, 145, 0.14);
  border-radius: 24px;
  background:
    radial-gradient(circle at 20% 20%, rgba(42, 169, 255, 0.22), transparent 24rem),
    linear-gradient(135deg, #ffffff, #dff3fb);
  box-shadow: 0 22px 54px rgba(15, 61, 94, 0.12);
}

.ai-visual-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(21, 94, 145, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 94, 145, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.ai-visual-card.is-missing::before {
  opacity: 0.55;
}

.ai-visual-card.is-missing {
  min-height: clamp(240px, 34vw, 420px);
  overflow: hidden;
}

.ai-visual-card.is-missing::after {
  content: "";
  position: absolute;
  inset: 0;
  display: none;
}

.ai-visual-card img {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  display: block;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(15, 61, 94, 0.10);
}

.ai-visual-card figcaption {
  display: none !important;
}

@media (max-width: 720px) {
  .ai-visual-section {
    padding: 28px 0;
  }

  .ai-visual-card {
    min-height: 0;
    aspect-ratio: auto;
    padding: 8px;
    border-radius: 18px;
  }

  .ai-visual-card.is-missing {
    min-height: 220px;
  }

  .ai-visual-card figcaption {
    left: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
  }
}

/* Premium section eyebrow headings */
.section-eyebrow,
.eyebrow,
.section-label,
.kicker {
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: #1f8fe5 !important;
  font-size: clamp(13px, 1.2vw, 15px) !important;
  font-weight: 700 !important;
  line-height: 1.2;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
}

.section-eyebrow::after,
.eyebrow::after,
.section-label::after,
.kicker::after {
  content: "";
  width: clamp(42px, 7vw, 92px);
  height: 1px;
  flex: 0 0 auto;
  background: linear-gradient(90deg, rgba(31, 143, 229, 0.85), rgba(42, 169, 255, 0));
}

.section-eyebrow.dark,
.eyebrow.dark,
.section-label.dark,
.kicker.dark {
  color: #155e91 !important;
}

.hero .section-eyebrow,
.hero .eyebrow,
.hero .section-label,
.hero .kicker {
  color: #155e91 !important;
  margin-bottom: 22px;
}

.dark .section-eyebrow,
.dark .eyebrow,
.dark .section-label,
.dark .kicker,
.dark-section .section-eyebrow,
.dark-section .eyebrow,
.dark-section .section-label,
.dark-section .kicker,
.cta-section .section-eyebrow,
.cta-section .eyebrow,
.cta-section .section-label,
.cta-section .kicker,
.final-cta .section-eyebrow,
.final-cta .eyebrow,
.final-cta .section-label,
.final-cta .kicker {
  color: #74d2ff !important;
}

@media (max-width: 640px) {
  .section-eyebrow,
  .eyebrow,
  .section-label,
  .kicker {
    gap: 10px;
    margin-bottom: 16px;
    font-size: 13px !important;
    letter-spacing: 0.11em !important;
  }

  .section-eyebrow::after,
  .eyebrow::after,
  .section-label::after,
  .kicker::after {
    width: 42px;
  }
}

/* Cards, menu hover and premium footer polish */
.hr-main-nav > a,
.hr-dropdown-toggle {
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
  will-change: transform;
}

.hr-main-nav > a:hover,
.hr-dropdown-toggle:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 24px rgba(31, 143, 229, 0.22);
}

.hr-dropdown a {
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.hr-dropdown a:hover {
  transform: translateX(2px);
}

.light-premium-page .card,
.light-premium-page .box,
.light-premium-page .feature-card,
.light-premium-page .feature-item,
.light-premium-page .help-card,
.light-premium-page .info,
.light-premium-page .item,
.light-premium-page .notice-card,
.light-premium-page .info-panel,
.light-premium-page .form-panel,
.light-premium-page .contact-card,
.light-premium-page .legal-card,
.light-premium-page .faq-card,
.light-premium-page .community-card,
.light-premium-page .analysis-card,
.light-premium-page .risk-card,
.light-premium-page .compare-row,
.light-premium-page .comparison-card,
.light-premium-page .visual-card,
.light-premium-page .anatocismo-card,
.light-premium-page .flow-step,
.light-premium-page details,
.light-premium-page .paper,
.light-premium-page .glass-card,
.metric,
.feature-card,
.feature-item,
.box,
.help-card,
.analysis-card,
.risk-card,
.compare-row,
.info-item,
details {
  padding: max(28px, var(--card-padding, 0px)) !important;
  border-radius: 20px;
  border: 1px solid rgba(31, 143, 229, 0.16) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(238, 247, 252, 0.74)) !important;
  box-shadow: 0 18px 44px rgba(15, 61, 94, 0.09) !important;
}

.light-premium-page .card h3,
.light-premium-page .box h3,
.light-premium-page .feature-card h3,
.light-premium-page .feature-item h3,
.light-premium-page .help-card h3,
.light-premium-page .analysis-card h3,
.light-premium-page .risk-card h3,
.light-premium-page .info-item strong,
.feature-card h3,
.feature-item h3,
.box h3,
.help-card h3,
.analysis-card h3,
.risk-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  color: #12344f;
}

.light-premium-page .card p,
.light-premium-page .box p,
.light-premium-page .feature-card p,
.light-premium-page .feature-item p,
.light-premium-page .help-card p,
.light-premium-page .analysis-card p,
.light-premium-page .risk-card p,
.feature-card p,
.feature-item p,
.box p,
.help-card p,
.analysis-card p,
.risk-card p {
  margin-bottom: 0;
  color: #5c7286;
}

.hr-footer {
  padding: 44px 0;
}

.hr-footer-brand {
  display: grid;
  gap: 10px;
  align-items: start;
}

.hr-footer-logo {
  display: inline-flex;
  width: min(260px, 72vw);
  text-decoration: none;
}

.hr-footer-logo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 82px;
  object-fit: contain;
  filter:
    drop-shadow(0 12px 24px rgba(0, 0, 0, 0.28))
    drop-shadow(0 0 18px rgba(255, 255, 255, 0.16));
}

.hr-footer-grid {
  align-items: center;
}

.hr-footer-links {
  align-items: center;
}

@media (max-width: 980px) {
  .hr-main-nav > a:hover,
  .hr-dropdown-toggle:hover {
    transform: none;
    box-shadow: none;
  }
}

@media (max-width: 640px) {
  .light-premium-page .card,
  .light-premium-page .box,
  .light-premium-page .feature-card,
  .light-premium-page .feature-item,
  .light-premium-page .help-card,
  .light-premium-page .analysis-card,
  .light-premium-page .risk-card,
  .light-premium-page details,
  .metric,
  .feature-card,
  .feature-item,
  .box,
  .help-card,
  .analysis-card,
  .risk-card,
  details {
    padding: 24px !important;
    border-radius: 16px;
  }

  .hr-footer-logo {
    width: min(230px, 82vw);
  }
}

/* Light premium footer */
.hr-footer {
  background:
    radial-gradient(circle at top left, rgba(31, 143, 229, 0.08), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, #eef7fc 100%) !important;
  color: #0f3d5e !important;
  border-top: 1px solid rgba(15, 61, 94, 0.12);
  box-shadow: 0 -12px 36px rgba(15, 61, 94, 0.05);
}

.hr-footer-grid {
  grid-template-columns: 1fr auto;
  gap: 36px;
}

.hr-footer-brand {
  gap: 12px;
}

.hr-footer-logo {
  width: min(246px, 58vw);
}

.hr-footer-logo img {
  max-height: 68px;
  filter: drop-shadow(0 10px 18px rgba(15, 61, 94, 0.14));
}

.hr-footer p {
  max-width: 620px;
  color: #335c78 !important;
  font-size: 15px;
}

.hr-footer a {
  color: #0f3d5e !important;
}

.hr-footer a:hover {
  color: #1f8fe5 !important;
}

.hr-footer-links {
  gap: 16px;
}

@media (max-width: 760px) {
  .hr-footer-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .hr-footer-brand {
    justify-items: center;
  }

  .hr-footer-links {
    justify-content: center;
    gap: 12px 16px;
  }
}

/* Final footer background override */
.hr-footer {
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fb 52%, #eef3f7 100%) !important;
  color: #0f3d5e !important;
  border-top: 1px solid rgba(15, 61, 94, 0.10) !important;
  box-shadow: 0 -10px 28px rgba(15, 61, 94, 0.05) !important;
}

.hr-footer p,
.hr-footer .hr-footer-brand p {
  color: #0f3d5e !important;
}

.hr-footer a,
.hr-footer-links a {
  color: #071d33 !important;
  transition: color 0.2s ease, transform 0.2s ease;
}

.hr-footer a:hover,
.hr-footer-links a:hover {
  color: #1f8fe5 !important;
}

.hr-footer-logo img {
  filter: drop-shadow(0 10px 18px rgba(15, 61, 94, 0.16));
}

/* Logo integration refinement */
.hr-brand {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0;
  overflow: visible !important;
  min-height: 68px;
  max-height: 72px;
  padding: 4px 0 !important;
}

.hr-brand::before,
.hr-brand::after {
  content: none !important;
}

.hr-brand img {
  filter: drop-shadow(0 10px 18px rgba(3, 26, 45, 0.22));
}

.hr-brand-glow {
  position: absolute !important;
  inset: -32px -82px -32px -52px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background:
    radial-gradient(circle at 45% 50%, rgba(255, 255, 255, 0.36) 0%, rgba(234, 246, 251, 0.18) 34%, rgba(42, 169, 255, 0.09) 52%, rgba(255, 255, 255, 0) 76%) !important;
  filter: blur(20px);
  box-shadow: none !important;
  opacity: 0.56;
  pointer-events: none;
}

.hr-brand:hover {
  transform: translateY(-1px) scale(1.01) !important;
}

.hr-brand:hover .hr-brand-glow {
  opacity: 0.64;
}

@media (max-width: 640px) {
  .hr-brand {
    min-height: 58px;
    max-height: 62px;
    padding: 3px 0 !important;
  }

  .hr-brand-glow {
    inset: -24px -54px -24px -34px !important;
    filter: blur(16px);
  }
}

@media (max-width: 640px) {
  .hr-shell {
    width: min(100% - 24px, 1280px);
  }

  .hr-brand img {
    width: min(214px, 58vw);
    max-height: 50px;
  }

  .hr-brand {
    min-width: 0;
    min-height: 60px;
    padding: 6px 12px 6px 6px;
  }

  .hr-main-nav.open,
  .hr-footer-grid,
  .sitemap-grid {
    grid-template-columns: 1fr;
  }

  .hr-footer {
    padding: 28px 0;
  }
}

/* Premium legaltech/fintech visual refresh */
:root {
  --hr-ink: #102033;
  --hr-muted: #5b7288;
  --hr-line: rgba(21, 94, 145, 0.16);
  --hr-gold: #f4c76b;
  --hr-blue: #155e91;
  --hr-bg: #f4f9ff;
  --hr-navy: #0f3d5e;
  --hr-tech: #155e91;
  --hr-sky: #1d75b8;
  --hr-electric: #1f8fe5;
  --hr-aqua: #2aa9ff;
  --hr-hero-gradient: linear-gradient(135deg, #0f3d5e, #1d75b8);
  --hr-hero-radial: radial-gradient(circle at top left, #2aa9ff 0%, #155e91 45%, #0f3d5e 100%);
  --hr-soft-shadow: 0 24px 70px rgba(15, 61, 94, 0.16);
  --hr-glass-border: rgba(255, 255, 255, 0.24);
}

body {
  background:
    radial-gradient(circle at 12% 0%, rgba(42, 169, 255, 0.14), transparent 26rem),
    linear-gradient(180deg, #f7fbff 0%, #eef7ff 52%, #ffffff 100%);
}

.hr-header {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(21, 94, 145, 0.14);
  box-shadow: 0 18px 48px rgba(15, 61, 94, 0.1);
}

.hr-main-nav a:hover,
.hr-main-nav a.active {
  color: var(--hr-tech);
  background: rgba(31, 143, 229, 0.1);
}

.hr-main-nav .hr-nav-cta,
.cta,
.nav-cta,
.btn-primary,
.primary {
  color: #ffffff !important;
  background: linear-gradient(135deg, #155e91, #1f8fe5) !important;
  border-color: rgba(255, 255, 255, 0.26) !important;
  box-shadow: 0 16px 38px rgba(31, 143, 229, 0.28) !important;
}

.hr-main-nav .hr-nav-cta:hover,
.cta:hover,
.nav-cta:hover,
.btn-primary:hover,
.primary:hover {
  background: linear-gradient(135deg, #1d75b8, #2aa9ff) !important;
  box-shadow: 0 20px 48px rgba(31, 143, 229, 0.34) !important;
}

.visual-hero-page .hero {
  position: relative;
  isolation: isolate;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(15, 61, 94, 0.88) 0%, rgba(21, 94, 145, 0.74) 43%, rgba(31, 143, 229, 0.38) 100%),
    radial-gradient(circle at top left, rgba(42, 169, 255, 0.54) 0%, rgba(21, 94, 145, 0.42) 42%, rgba(15, 61, 94, 0.66) 100%),
    url("../public/cabecera_app_hipoteca_report.png"),
    linear-gradient(135deg, #0f3d5e, #1d75b8);
  background-size: cover, cover, cover, cover;
  background-position: center, center, center right, center;
  background-repeat: no-repeat;
  box-shadow: inset 0 -120px 120px rgba(244, 249, 255, 0.18);
}

.visual-hero-page .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.22), transparent 16rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  pointer-events: none;
}

.visual-hero-page .hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 130px;
  z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(244, 249, 255, 0.7));
  pointer-events: none;
}

.visual-hero-page .hero-bg {
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
}

.visual-hero-page .hero h1,
.visual-hero-page .hero h2,
.visual-hero-page .hero h3,
.visual-hero-page .hero p {
  text-shadow: 0 16px 44px rgba(4, 24, 42, 0.36);
}

.visual-hero-page .hero p,
.visual-hero-page .hero-text {
  color: rgba(255, 255, 255, 0.9);
}

.eyebrow,
.section-label,
.kicker {
  color: #39c2ff !important;
}

.eyebrow.dark,
.kicker.dark,
.section-label.dark {
  color: #155e91 !important;
}

.visual-hero-page .card,
.visual-hero-page .dashboard-card,
.visual-hero-page .glass-card,
.visual-hero-page .contact-card {
  background: rgba(255, 255, 255, 0.16) !important;
  border: 1px solid var(--hr-glass-border) !important;
  box-shadow: 0 28px 80px rgba(8, 47, 73, 0.22) !important;
  backdrop-filter: blur(22px) saturate(130%);
}

.dashboard-card,
.card,
.box,
.feature-card,
.feature-item,
.help-card,
.notice-card,
.info-panel,
.form-panel,
.legal-card,
.sitemap-card {
  box-shadow: var(--hr-soft-shadow);
  border-color: rgba(21, 94, 145, 0.14);
}

.dark,
.dark-section,
.cta-section,
.final-cta,
.report-section {
  background:
    radial-gradient(circle at top left, rgba(42, 169, 255, 0.32), transparent 28rem),
    linear-gradient(135deg, #0f3d5e, #1d75b8) !important;
  color: #ffffff;
}

.dark p,
.dark-section p,
.cta-section p,
.final-cta p,
.report-section p {
  color: rgba(255, 255, 255, 0.84) !important;
}

.btn-secondary,
.secondary,
.ghost {
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.38) !important;
  background: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 12px 34px rgba(8, 47, 73, 0.16);
  backdrop-filter: blur(12px);
}

.btn-light,
.white {
  color: #0f3d5e !important;
  background: #ffffff !important;
  box-shadow: 0 18px 42px rgba(15, 61, 94, 0.2);
}

.chart,
.metric,
.trust-row span,
.contact-mini span,
.hero-badges span,
.badges span {
  border-color: rgba(255, 255, 255, 0.24) !important;
  background: rgba(255, 255, 255, 0.12) !important;
}

.chart div,
.bar,
.euribor,
.irph {
  background: linear-gradient(180deg, #7ed7ff, #1f8fe5) !important;
}

.hr-footer {
  background: #f4f8fb !important;
  color: #0f3d5e !important;
  border-top: 1px solid rgba(15, 61, 94, 0.12) !important;
}

.sitemap-hero {
  background:
    radial-gradient(circle at top left, #2aa9ff 0%, #155e91 45%, #0f3d5e 100%) !important;
}

@media (max-width: 760px) {
  .visual-hero-page .hero {
    background:
      linear-gradient(180deg, rgba(15, 61, 94, 0.9) 0%, rgba(21, 94, 145, 0.78) 60%, rgba(31, 143, 229, 0.46) 100%),
      radial-gradient(circle at top left, rgba(42, 169, 255, 0.48), transparent 62%),
      url("../public/cabecera_app_hipoteca_report.png"),
      linear-gradient(135deg, #0f3d5e, #1d75b8);
    background-size: cover, cover, cover, cover;
    background-position: center, center, center top, center;
  }
}

/* Light premium visual system */
:root {
  --hr-page-white: #ffffff;
  --hr-page-soft: #f4f8fb;
  --hr-page-blue-soft: #eef7fc;
  --hr-page-blue-lift: #eaf6fb;
  --hr-page-blue-chip: #dff3fb;
  --hr-text-navy: #12344f;
  --hr-text-soft: #5c7286;
}

body {
  color: var(--hr-text-navy);
  background:
    radial-gradient(circle at 18% 0%, rgba(31, 143, 229, 0.12), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, #f4f8fb 42%, #ffffff 100%) !important;
}

.light-premium-page .hero {
  min-height: clamp(520px, 62vh, 760px);
  display: flex;
  align-items: center;
  background-image:
    linear-gradient(90deg, rgba(15, 61, 94, 0.82) 0%, rgba(21, 94, 145, 0.66) 45%, rgba(31, 143, 229, 0.3) 100%),
    radial-gradient(circle at 22% 18%, rgba(42, 169, 255, 0.42), transparent 28rem),
    url("../public/cabecera_app_hipoteca_report.png") !important;
  background-size: cover, cover, cover !important;
  background-position: center, center, center right !important;
  background-repeat: no-repeat !important;
}

.light-premium-page .hero h1,
.light-premium-page .hero h2,
.light-premium-page .hero h3 {
  color: #ffffff !important;
}

.light-premium-page .hero p,
.light-premium-page .hero li {
  color: rgba(255, 255, 255, 0.9) !important;
}

.light-premium-page main,
.light-premium-page .section,
.light-premium-page .problem-section,
.light-premium-page .intro,
.light-premium-page .soft-section,
.light-premium-page .faq,
.light-premium-page .legal-section {
  background: var(--hr-page-white);
  color: var(--hr-text-navy);
}

.light-premium-page .section:nth-of-type(even),
.light-premium-page .problem-section,
.light-premium-page .soft-section {
  background:
    radial-gradient(circle at top right, rgba(31, 143, 229, 0.08), transparent 26rem),
    var(--hr-page-soft) !important;
}

.light-premium-page .dark,
.light-premium-page .dark-section,
.light-premium-page .report-section {
  background:
    radial-gradient(circle at top left, rgba(42, 169, 255, 0.12), transparent 28rem),
    linear-gradient(180deg, #eef7fc, #ffffff) !important;
  color: var(--hr-text-navy) !important;
}

.light-premium-page .dark h2,
.light-premium-page .dark h3,
.light-premium-page .dark-section h2,
.light-premium-page .dark-section h3,
.light-premium-page .report-section h2,
.light-premium-page .report-section h3 {
  color: var(--hr-text-navy) !important;
}

.light-premium-page .dark p,
.light-premium-page .dark li,
.light-premium-page .dark-section p,
.light-premium-page .dark-section li,
.light-premium-page .report-section p,
.light-premium-page .report-section li {
  color: var(--hr-text-soft) !important;
}

.light-premium-page .box,
.light-premium-page .feature-card,
.light-premium-page .feature-item,
.light-premium-page .help-card,
.light-premium-page .info,
.light-premium-page .item,
.light-premium-page .notice-card,
.light-premium-page .info-panel,
.light-premium-page .form-panel,
.light-premium-page .contact-card,
.light-premium-page .legal-card,
.light-premium-page .faq-card,
.light-premium-page .community-card,
.light-premium-page details,
.light-premium-page .paper,
.light-premium-page .glass-card {
  color: var(--hr-text-navy) !important;
  background: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(21, 94, 145, 0.14) !important;
  border-radius: 18px;
  box-shadow: 0 18px 46px rgba(15, 61, 94, 0.09) !important;
}

.light-premium-page .featured,
.light-premium-page .notice,
.light-premium-page .info-item,
.light-premium-page .metric {
  background: linear-gradient(180deg, #ffffff, #eef7fc) !important;
  border: 1px solid rgba(31, 143, 229, 0.18) !important;
  color: var(--hr-text-navy) !important;
}

.light-premium-page .box p,
.light-premium-page .feature-card p,
.light-premium-page .feature-item p,
.light-premium-page .help-card p,
.light-premium-page .info p,
.light-premium-page .item p,
.light-premium-page .notice-card p,
.light-premium-page .info-panel p,
.light-premium-page .form-panel p,
.light-premium-page details p {
  color: var(--hr-text-soft) !important;
}

.light-premium-page .cta-section,
.light-premium-page .final-cta {
  background:
    radial-gradient(circle at 18% 12%, rgba(42, 169, 255, 0.25), transparent 24rem),
    linear-gradient(135deg, #0f3d5e, #1d75b8) !important;
  color: #ffffff !important;
}

.light-premium-page .cta-section p,
.light-premium-page .final-cta p,
.light-premium-page .cta-section h2,
.light-premium-page .final-cta h2 {
  color: #ffffff !important;
}

.light-premium-page .btn,
.light-premium-page button {
  border-radius: 999px;
}

.light-premium-page .secondary,
.light-premium-page .btn-secondary,
.light-premium-page .ghost {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(255, 255, 255, 0.42) !important;
}

.light-premium-page .text-link,
.light-premium-page .inline-link {
  color: #155e91 !important;
  font-weight: 800;
}

.light-premium-page .dark .text-link,
.light-premium-page .dark-section .text-link,
.light-premium-page .report-section .text-link {
  color: #1d75b8 !important;
}

.light-premium-page input,
.light-premium-page textarea,
.light-premium-page select {
  background: #ffffff !important;
  border: 1px solid rgba(21, 94, 145, 0.18) !important;
  color: var(--hr-text-navy) !important;
  box-shadow: 0 10px 24px rgba(15, 61, 94, 0.05);
}

.light-premium-page summary {
  color: var(--hr-text-navy);
}

.light-premium-page .hero .card,
.light-premium-page .hero .dashboard-card,
.light-premium-page .hero .contact-card {
  background: rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.26) !important;
}

.light-premium-page .hero .card p,
.light-premium-page .hero .dashboard-card p,
.light-premium-page .hero .contact-card p,
.light-premium-page .hero .metric small,
.light-premium-page .hero .metric p {
  color: rgba(255, 255, 255, 0.82) !important;
}

@media (max-width: 760px) {
  .light-premium-page .hero {
    min-height: auto;
    background-position: center, center, center top !important;
  }
}

/* Header image + light hero layout */
.hr-header {
  position: sticky;
  isolation: isolate;
  overflow: visible;
  background:
    linear-gradient(90deg, rgba(15, 61, 94, 0.86), rgba(21, 94, 145, 0.72), rgba(31, 143, 229, 0.5)),
    url("../public/cabecera_app_hipoteca_report.png") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 46px rgba(15, 61, 94, 0.18);
  backdrop-filter: none;
}

.hr-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.2), transparent 16rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(15, 61, 94, 0.12));
  pointer-events: none;
}

.hr-nav-wrap {
  min-height: 88px;
}

.hr-main-nav a,
.hr-dropdown-toggle {
  color: rgba(255, 255, 255, 0.9) !important;
  background: rgba(255, 255, 255, 0.08);
  text-shadow: 0 8px 22px rgba(7, 32, 54, 0.32);
}

.hr-main-nav a:hover,
.hr-main-nav a.active,
.hr-nav-group.active > .hr-dropdown-toggle,
.hr-nav-group:hover > .hr-dropdown-toggle,
.hr-nav-group.dropdown-open > .hr-dropdown-toggle {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.18) !important;
}

.hr-menu-toggle {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.light-premium-page .hero {
  color: var(--hr-text-navy) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(31, 143, 229, 0.12), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, #eef7fc 58%, #ffffff 100%) !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  box-shadow: none !important;
}

.light-premium-page .hero::before {
  background:
    radial-gradient(circle at 82% 18%, rgba(42, 169, 255, 0.16), transparent 20rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(234, 246, 251, 0.18)) !important;
}

.light-premium-page .hero::after {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.82)) !important;
}

.light-premium-page .hero-bg {
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(21, 94, 145, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 94, 145, 0.08) 1px, transparent 1px) !important;
}

.light-premium-page .hero h1,
.light-premium-page .hero h2,
.light-premium-page .hero h3 {
  color: var(--hr-text-navy) !important;
  text-shadow: none !important;
}

.light-premium-page .hero p,
.light-premium-page .hero li,
.light-premium-page .hero-text {
  color: var(--hr-text-soft) !important;
  text-shadow: none !important;
}

.light-premium-page .hero .eyebrow,
.light-premium-page .hero .kicker,
.light-premium-page .hero .section-label {
  color: #155e91 !important;
}

.light-premium-page .hero .card,
.light-premium-page .hero .dashboard-card,
.light-premium-page .hero .contact-card,
.light-premium-page .hero .glass-card {
  background: rgba(255, 255, 255, 0.92) !important;
  color: var(--hr-text-navy) !important;
  border: 1px solid rgba(21, 94, 145, 0.16) !important;
  box-shadow: 0 22px 58px rgba(15, 61, 94, 0.12) !important;
  backdrop-filter: blur(18px) saturate(120%);
}

.light-premium-page .hero .card h3,
.light-premium-page .hero .dashboard-card h3,
.light-premium-page .hero .contact-card h3 {
  color: var(--hr-text-navy) !important;
}

.light-premium-page .hero .card p,
.light-premium-page .hero .dashboard-card p,
.light-premium-page .hero .contact-card p,
.light-premium-page .hero .metric small,
.light-premium-page .hero .metric p {
  color: var(--hr-text-soft) !important;
}

.light-premium-page .hero .metric,
.light-premium-page .hero .chart,
.light-premium-page .hero .trust-row span,
.light-premium-page .hero .contact-mini span,
.light-premium-page .hero .hero-badges span,
.light-premium-page .hero .badges span {
  color: var(--hr-text-navy) !important;
  background: linear-gradient(180deg, #ffffff, #eef7fc) !important;
  border: 1px solid rgba(31, 143, 229, 0.16) !important;
}

.light-premium-page .hero .secondary,
.light-premium-page .hero .btn-secondary,
.light-premium-page .hero .ghost {
  color: #155e91 !important;
  background: rgba(255, 255, 255, 0.72) !important;
  border-color: rgba(21, 94, 145, 0.22) !important;
  box-shadow: 0 12px 30px rgba(15, 61, 94, 0.08);
}

@media (max-width: 980px) {
  .hr-nav-wrap {
    min-height: 78px;
  }

  .hr-main-nav.open {
    background: rgba(15, 61, 94, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    padding: 10px;
    backdrop-filter: blur(16px);
    grid-template-columns: 1fr;
  }

  .hr-main-nav a,
  .hr-dropdown-toggle {
    background: rgba(255, 255, 255, 0.11);
  }

  .hr-nav-group {
    width: 100%;
  }

  .hr-dropdown-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 44px;
  }

  .hr-dropdown {
    position: static;
    min-width: 0;
    width: 100%;
    margin-top: 8px;
    padding: 8px;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(255, 255, 255, 0.94);
  }

  .hr-nav-group.dropdown-open .hr-dropdown {
    display: block;
  }

  .hr-dropdown a {
    white-space: normal;
  }
}

@media (max-width: 760px) {
  .light-premium-page .hero {
    background:
      radial-gradient(circle at 50% 0%, rgba(31, 143, 229, 0.14), transparent 22rem),
      linear-gradient(180deg, #ffffff 0%, #eef7fc 65%, #ffffff 100%) !important;
  }
}

/* Header usability fix */
.hr-header {
  z-index: 9999 !important;
  overflow: visible !important;
  min-height: 118px;
  background-image:
    linear-gradient(90deg, rgba(15, 61, 94, 0.58), rgba(21, 94, 145, 0.42), rgba(31, 143, 229, 0.22)),
    url("../public/cabecera_app_hipoteca_report.png") !important;
  background-size: cover !important;
  background-position: center 38% !important;
  background-repeat: no-repeat !important;
}

.hr-header::before {
  z-index: 0;
  background:
    radial-gradient(circle at 12% 50%, rgba(255, 255, 255, 0.18), transparent 19rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(15, 61, 94, 0.04)) !important;
}

.hr-nav-wrap {
  position: relative;
  z-index: 2;
  min-height: 118px;
  align-items: flex-end;
  padding-bottom: 16px;
}

.hr-brand {
  overflow: hidden;
  min-height: 72px;
  max-height: 76px;
  transform-origin: center left;
  will-change: transform;
}

.hr-brand-glow {
  inset: -30px -70px -30px -42px !important;
  border-radius: 999px;
  overflow: visible !important;
  opacity: 0.52;
  background:
    radial-gradient(circle at 44% 50%, rgba(255, 255, 255, 0.38) 0%, rgba(223, 243, 251, 0.2) 36%, rgba(42, 169, 255, 0.1) 54%, rgba(255, 255, 255, 0) 76%) !important;
  filter: blur(18px);
  box-shadow: none !important;
}

.hr-brand:hover {
  transform: translateY(-1px) scale(1.01) !important;
}

.hr-brand:hover .hr-brand-glow {
  transform: none !important;
  opacity: 0.62;
  box-shadow: none !important;
}

.hr-dropdown {
  min-width: 250px !important;
  padding: 10px !important;
  top: calc(100% + 6px);
  z-index: 99999 !important;
  background: #ffffff !important;
  color: #0f3d5e !important;
  border: 1px solid rgba(15, 61, 94, 0.14) !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 45px rgba(7, 29, 51, 0.16) !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hr-nav-group::after {
  content: "";
  position: absolute;
  left: -8px;
  right: -8px;
  top: 100%;
  height: 16px;
  z-index: 99998;
}

.hr-nav-group:hover > .hr-dropdown,
.hr-nav-group.dropdown-open > .hr-dropdown,
.hr-nav-group:focus-within > .hr-dropdown {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto;
  transform: translateY(0) !important;
}

.hr-dropdown a {
  color: #0f3d5e !important;
  background: transparent !important;
  font-weight: 700;
  text-shadow: none !important;
  opacity: 1 !important;
}

.hr-dropdown a:hover {
  background: #eef7fc !important;
  color: #071d33 !important;
}

@media (max-width: 980px) {
  .hr-header {
    min-height: 96px;
    background-position: center 38% !important;
  }

  .hr-nav-wrap {
    min-height: 96px;
    align-items: center;
    padding-bottom: 10px;
  }

  .hr-brand {
    max-height: 66px;
  }

  .hr-main-nav.open {
    position: relative;
    z-index: 100000;
  }

  .hr-dropdown {
    min-width: 0 !important;
    width: 100%;
    margin-top: 8px;
    display: none;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto;
    transform: none !important;
  }

  .hr-nav-group.dropdown-open > .hr-dropdown {
    display: block;
  }

  .hr-nav-group::after {
    display: none;
  }
}

/* Definitive light footer override */
footer.hr-footer,
.hr-footer,
.site-footer,
.global-footer,
.app-footer,
.footer,
.footer-section,
.footer-wrapper {
  background: #f4f8fb !important;
  background-image: none !important;
  color: #0f3d5e !important;
  border-top: 1px solid rgba(15, 61, 94, 0.12) !important;
}

footer.hr-footer p,
.hr-footer p,
.site-footer p,
.global-footer p,
.app-footer p,
.footer p,
.footer-section p,
.footer-wrapper p {
  color: #3f5f78 !important;
}

footer.hr-footer a,
.hr-footer a,
.hr-footer-links a,
.site-footer a,
.global-footer a,
.app-footer a,
.footer a,
.footer-links a,
.footer-section a,
.footer-wrapper a {
  color: #0f3d5e !important;
  transition: color 0.2s ease, transform 0.2s ease;
}

footer.hr-footer a:hover,
.hr-footer a:hover,
.hr-footer-links a:hover,
.site-footer a:hover,
.global-footer a:hover,
.app-footer a:hover,
.footer a:hover,
.footer-links a:hover,
.footer-section a:hover,
.footer-wrapper a:hover {
  color: #1f8fe5 !important;
}

/* Global visual readability pass: AI images, charts and section eyebrows */
.ai-visual-card figcaption,
.ai-visual-card.is-missing::after {
  display: none !important;
  content: none !important;
}

.ai-visual-card {
  overflow: visible !important;
}

.ai-visual-card img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
}

.section-eyebrow,
.eyebrow,
.section-label,
.kicker,
.small-title,
.section-tag {
  display: inline-flex !important;
  align-items: center !important;
  gap: 14px !important;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 22px !important;
  color: #0f3d5e !important;
  font-size: clamp(13px, 1vw, 15px) !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
}

.section-eyebrow::after,
.eyebrow::after,
.section-label::after,
.kicker::after,
.small-title::after,
.section-tag::after {
  content: "" !important;
  display: inline-block !important;
  flex: 0 0 auto;
  width: clamp(48px, 7vw, 72px) !important;
  height: 2px !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, #1f8fe5, rgba(31, 143, 229, 0)) !important;
}

main :where(
  .dashboard-card,
  .visual-card,
  .visual-panel,
  .paper,
  .paper-chart,
  .line-chart,
  .debt-chart,
  .growth-chart,
  .chart-area,
  .chart,
  .bars,
  .stairs,
  .mockup,
  .irph-panel,
  .contact-card,
  .glass-card,
  .metric,
  .metrics div
) {
  color: #0f3d5e !important;
  border-color: rgba(31, 143, 229, 0.18) !important;
}

main :where(
  .dashboard-card,
  .visual-card,
  .visual-panel,
  .paper-chart,
  .line-chart,
  .debt-chart,
  .growth-chart,
  .chart-area,
  .chart,
  .bars,
  .stairs,
  .mockup,
  .irph-panel
) {
  background:
    radial-gradient(circle at top left, rgba(31, 143, 229, 0.10), transparent 22rem),
    linear-gradient(180deg, #ffffff 0%, #eef7fc 100%) !important;
  box-shadow: 0 18px 46px rgba(15, 61, 94, 0.10) !important;
}

main :where(
  .dashboard-card p,
  .dashboard-card small,
  .visual-card p,
  .visual-card small,
  .visual-top small,
  .metric p,
  .metric small,
  .metrics span,
  .labels,
  .chart-labels,
  .legend,
  .legend span,
  .paper-chart p,
  .visual-panel p,
  .irph-panel p,
  .contact-mini span,
  .trust-row span,
  .badges span,
  .hero-badges span
) {
  color: #3f5f78 !important;
  text-shadow: none !important;
}

main :where(
  .dashboard-card h3,
  .dashboard-card strong,
  .visual-card strong,
  .visual-top strong,
  .metric strong,
  .metrics strong,
  .paper-chart strong,
  .visual-panel strong,
  .irph-panel strong,
  .chart-labels strong,
  .labels strong
) {
  color: #071d33 !important;
  text-shadow: none !important;
}

main :where(.chart div, .bar, .euribor, .irph, .stairs div, .growth-chart span, .mini-bars i) {
  box-shadow: 0 10px 22px rgba(15, 61, 94, 0.12);
}

main :where(.euribor, .euribor-line, .legend .e) {
  color: #00a6c8 !important;
  stroke: #00a6c8 !important;
}

main :where(.irph, .irph-line, .legend .i) {
  color: #1f8fe5 !important;
  stroke: #1f8fe5 !important;
}

main :where(svg text, .axis, .axis text, .line-chart text) {
  fill: #0f3d5e !important;
  color: #0f3d5e !important;
}

main :where(.line-chart svg, .paper-chart svg) {
  overflow: visible;
}

main :where(.legend i, .legend .r, .legend .b, .legend .c, .legend .e, .legend .i) {
  border: 1px solid rgba(15, 61, 94, 0.16);
}

@media (max-width: 720px) {
  .section-eyebrow,
  .eyebrow,
  .section-label,
  .kicker,
  .small-title,
  .section-tag {
    gap: 10px !important;
    font-size: 13px !important;
    letter-spacing: 0.16em !important;
    margin-bottom: 18px !important;
  }

  .section-eyebrow::after,
  .eyebrow::after,
  .section-label::after,
  .kicker::after,
  .small-title::after,
  .section-tag::after {
    width: 42px !important;
  }
}

/* Home visual showcase and definitive chart readability */
.home-ai-showcase {
  padding: clamp(44px, 7vw, 88px) 0;
  background:
    radial-gradient(circle at top right, rgba(31, 143, 229, 0.10), transparent 28rem),
    linear-gradient(180deg, #f4f8fb 0%, #ffffff 100%);
}

.home-ai-inner {
  display: grid;
  gap: clamp(24px, 4vw, 42px);
  justify-items: center;
}

.home-ai-copy {
  width: min(860px, 100%);
  text-align: center;
}

.home-ai-copy h2 {
  margin: 0 0 14px;
  color: #071d33;
}

.home-ai-copy p {
  margin: 0 auto;
  max-width: 720px;
  color: #3f5f78;
  font-size: clamp(17px, 1.6vw, 20px);
}

.home-ai-card {
  width: min(1100px, 100%);
  margin: 0 auto !important;
  background: linear-gradient(180deg, #ffffff, #eef7fc) !important;
}

body.light-premium-page main :where(
  .hero .dashboard-card,
  .hero .metric,
  .hero .chart,
  .glass-card,
  .visual-card,
  .visual-panel,
  .paper-chart,
  .line-chart,
  .debt-chart,
  .growth-chart,
  .chart-area,
  .stairs,
  .bars,
  .irph-panel
) {
  color: #0f3d5e !important;
  background:
    radial-gradient(circle at top left, rgba(31, 143, 229, 0.10), transparent 24rem),
    linear-gradient(180deg, #ffffff 0%, #eef7fc 100%) !important;
  border-color: rgba(15, 61, 94, 0.16) !important;
  text-shadow: none !important;
}

body.light-premium-page main :where(
  .dash-note,
  .hero .dashboard-card p,
  .hero .dashboard-card small,
  .hero .metric p,
  .hero .metric small,
  .chart-labels,
  .labels,
  .legend,
  .legend span,
  .visual-top small,
  .card-head small,
  .compound-header small,
  .growth-header small,
  .final-box small,
  .mini-bars span,
  .paper-chart p,
  .visual-panel p,
  .visual-card p
) {
  color: #3f5f78 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

body.light-premium-page main :where(
  .hero .dashboard-card strong,
  .hero .metric strong,
  .visual-top strong,
  .card-head strong,
  .compound-header strong,
  .growth-header strong,
  .chart-labels strong,
  .labels strong,
  .legend strong
) {
  color: #071d33 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

body.light-premium-page main :where(.chart, .line-chart, .chart-area, .debt-chart, .growth-chart, .stairs, .bars) {
  background-image:
    linear-gradient(rgba(15, 61, 94, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 61, 94, 0.10) 1px, transparent 1px),
    linear-gradient(180deg, #ffffff, #eef7fc) !important;
  background-size: 100% 25%, 25% 100%, cover !important;
}

body.light-premium-page main :where(.chart div, .bar, .stairs div, .growth-chart span, .mini-bars i) {
  background: linear-gradient(180deg, #1f8fe5, #00a6c8) !important;
  border: 1px solid rgba(15, 61, 94, 0.16) !important;
}

body.light-premium-page main :where(.euribor, .legend .e, .euribor-line) {
  background: #00a6c8 !important;
  color: #00a6c8 !important;
  stroke: #00a6c8 !important;
}

body.light-premium-page main :where(.irph, .legend .i, .irph-line) {
  background: #1f8fe5 !important;
  color: #1f8fe5 !important;
  stroke: #1f8fe5 !important;
}

body.light-premium-page main svg :where(text, tspan) {
  fill: #0f3d5e !important;
  opacity: 1 !important;
}

body.light-premium-page main svg :where(line) {
  stroke: rgba(15, 61, 94, 0.18) !important;
}

body.light-premium-page main :where(.euribor-line, .irph-line) {
  fill: none !important;
  stroke-width: 4 !important;
}

@media (max-width: 760px) {
  .home-ai-showcase {
    padding: 34px 0 56px;
  }

  .home-ai-copy {
    text-align: left;
  }
}

/* Fine visual pass: crisp header, clean eyebrows and readable graphics */
.hr-header {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.hr-main-nav a,
.hr-dropdown-toggle,
.hr-menu-toggle {
  color: #ffffff !important;
  opacity: 1 !important;
  font-weight: 850 !important;
  text-shadow: none !important;
  background: rgba(255, 255, 255, 0.14) !important;
  border: 1px solid rgba(255, 255, 255, 0.20) !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.hr-main-nav a:hover,
.hr-main-nav a.active,
.hr-nav-group.active > .hr-dropdown-toggle,
.hr-nav-group:hover > .hr-dropdown-toggle,
.hr-nav-group.dropdown-open > .hr-dropdown-toggle {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.24) !important;
  border-color: rgba(255, 255, 255, 0.34) !important;
  box-shadow: 0 10px 24px rgba(0, 166, 200, 0.18) !important;
  text-shadow: none !important;
}

.hr-main-nav .hr-nav-cta {
  color: #ffffff !important;
  background: linear-gradient(135deg, #155e91, #1f8fe5) !important;
  border-color: rgba(255, 255, 255, 0.30) !important;
}

.hr-dropdown a {
  color: #0f3d5e !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

.hr-dropdown a:hover {
  color: #071d33 !important;
  background: #eef7fc !important;
}

.hr-dropdown,
.hr-main-nav.open {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Header button alignment: equal heights and inline dropdown arrows */
.hr-main-nav {
  align-items: center !important;
  gap: 8px !important;
}

.hr-nav-group {
  display: inline-flex !important;
  align-items: center !important;
}

.hr-main-nav > a,
.hr-dropdown-toggle,
.hr-main-nav .hr-nav-cta {
  min-height: 42px !important;
  height: 42px !important;
  padding: 0 18px !important;
  border-radius: 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  vertical-align: middle !important;
}

.hr-dropdown-toggle {
  flex-direction: row !important;
}

.hr-dropdown-toggle::after {
  content: "" !important;
  display: inline-block !important;
  width: 10px !important;
  height: 10px !important;
  margin: 1px 0 0 0 !important;
  flex: 0 0 10px !important;
  border-right: 2px solid currentColor !important;
  border-bottom: 2px solid currentColor !important;
  transform: rotate(45deg) !important;
  transition: transform 0.18s ease !important;
}

.hr-nav-group:hover .hr-dropdown-toggle::after,
.hr-nav-group.dropdown-open .hr-dropdown-toggle::after,
.hr-nav-group:focus-within .hr-dropdown-toggle::after {
  transform: rotate(225deg) translateY(-1px) !important;
}

.hr-dropdown a {
  min-height: 42px !important;
  height: auto !important;
  padding: 0 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
}

@media (max-width: 1480px) and (min-width: 1321px) {
  .hr-nav-wrap {
    gap: 14px !important;
  }

  .hr-brand {
    min-width: clamp(188px, 18vw, 250px) !important;
    padding-right: 10px !important;
  }

  .hr-brand img {
    width: clamp(184px, 17vw, 238px) !important;
  }

  .hr-main-nav {
    gap: 6px !important;
  }

  .hr-main-nav > a,
  .hr-dropdown-toggle,
  .hr-main-nav .hr-nav-cta {
    padding: 0 12px !important;
    min-height: 40px !important;
    height: 40px !important;
    font-size: 12px !important;
    gap: 6px !important;
  }

  .hr-dropdown-toggle::after {
    width: 8px !important;
    height: 8px !important;
    flex-basis: 8px !important;
  }
}

.section-eyebrow,
.eyebrow,
.section-label,
.kicker,
.small-title,
.section-tag,
.mini-title {
  display: inline-flex !important;
  align-items: center !important;
  gap: 14px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  color: #0f3d5e !important;
  margin: 0 0 22px !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.section-eyebrow::before,
.eyebrow::before,
.section-label::before,
.kicker::before,
.small-title::before,
.section-tag::before,
.mini-title::before {
  background: transparent !important;
  box-shadow: none !important;
}

.section-eyebrow::after,
.eyebrow::after,
.section-label::after,
.kicker::after,
.small-title::after,
.section-tag::after,
.mini-title::after {
  content: "" !important;
  width: 72px !important;
  height: 2px !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, #1f8fe5, transparent) !important;
  box-shadow: none !important;
}

main :where(
  .dashboard-card,
  .visual-card,
  .visual-panel,
  .line-chart,
  .chart,
  .chart-area,
  .debt-chart,
  .growth-chart,
  .stairs,
  .bars,
  .paper-chart,
  .irph-panel,
  .metric,
  .metrics div,
  .report-preview,
  .paper,
  .glass-card
) :where(p, small, span, strong, b, em, label, div) {
  opacity: 1 !important;
  text-shadow: none !important;
}

main :where(
  .dashboard-card,
  .visual-card,
  .visual-panel,
  .line-chart,
  .chart,
  .chart-area,
  .debt-chart,
  .growth-chart,
  .stairs,
  .bars,
  .paper-chart,
  .irph-panel,
  .metric,
  .metrics div,
  .report-preview,
  .paper,
  .glass-card
) :where(p, small, span, label, .legend, .labels, .chart-labels) {
  color: #3f5f78 !important;
}

main :where(
  .dashboard-card,
  .visual-card,
  .visual-panel,
  .line-chart,
  .chart,
  .chart-area,
  .debt-chart,
  .growth-chart,
  .stairs,
  .bars,
  .paper-chart,
  .irph-panel,
  .metric,
  .metrics div,
  .report-preview,
  .paper,
  .glass-card
) :where(strong, b, h3, h4, .value, .number) {
  color: #071d33 !important;
}

main :where(.legend, .labels, .chart-labels, .visual-top, .card-head, .compound-header, .growth-header) {
  color: #0f3d5e !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

main :where(.legend span, .labels span, .chart-labels span, .visual-top small, .card-head small, .compound-header small, .growth-header small) {
  color: #3f5f78 !important;
}

main :where(.legend strong, .labels strong, .chart-labels strong, .visual-top strong, .card-head strong, .compound-header strong, .growth-header strong) {
  color: #071d33 !important;
}

main :where(.line-chart svg, .paper-chart svg, .chart-area svg, .debt-chart svg) {
  overflow: visible !important;
}

main :where(svg text, svg tspan) {
  fill: #0f3d5e !important;
  opacity: 1 !important;
}

main :where(svg line, svg .grid, svg .axis) {
  stroke: rgba(15, 61, 94, 0.18) !important;
  opacity: 1 !important;
}

.contact-icon svg {
  width: 34px;
  height: 34px;
  display: block;
}

/* Definitive clean section eyebrow style */
.section-eyebrow,
.eyebrow,
.kicker,
.section-label,
.section-tag,
.mini-title,
.tagline,
.label,
.section-title-small {
  display: inline-flex !important;
  align-items: center !important;
  gap: 14px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  color: #0f3d5e !important;
  margin: 0 0 22px !important;
  padding: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  text-shadow: none !important;
}

.section-eyebrow::before,
.eyebrow::before,
.kicker::before,
.section-label::before,
.section-tag::before,
.mini-title::before,
.tagline::before,
.label::before,
.section-title-small::before {
  display: none !important;
  content: none !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

.section-eyebrow::after,
.eyebrow::after,
.kicker::after,
.section-label::after,
.section-tag::after,
.mini-title::after,
.tagline::after,
.label::after,
.section-title-small::after {
  content: "" !important;
  display: inline-block !important;
  width: 72px !important;
  height: 2px !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, #1f8fe5, transparent) !important;
  flex-shrink: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Hard reset for real section subtitle elements and their children */
main :is(
  .section-eyebrow,
  .eyebrow,
  .kicker,
  .section-label,
  .section-tag,
  .mini-title,
  .tagline,
  .label,
  .section-title-small
) {
  position: static !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 14px !important;
  width: fit-content !important;
  max-width: 100% !important;
  min-height: 0 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  color: #0f3d5e !important;
  margin: 0 0 22px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  overflow: visible !important;
}

main :is(
  .section-eyebrow,
  .eyebrow,
  .kicker,
  .section-label,
  .section-tag,
  .mini-title,
  .tagline,
  .label,
  .section-title-small
) *,
main :is(
  .section-eyebrow,
  .eyebrow,
  .kicker,
  .section-label,
  .section-tag,
  .mini-title,
  .tagline,
  .label,
  .section-title-small
) > span {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

main :is(
  .section-eyebrow,
  .eyebrow,
  .kicker,
  .section-label,
  .section-tag,
  .mini-title,
  .tagline,
  .label,
  .section-title-small
)::before,
main :is(
  .section-eyebrow,
  .eyebrow,
  .kicker,
  .section-label,
  .section-tag,
  .mini-title,
  .tagline,
  .label,
  .section-title-small
) *::before,
main :is(
  .section-eyebrow,
  .eyebrow,
  .kicker,
  .section-label,
  .section-tag,
  .mini-title,
  .tagline,
  .label,
  .section-title-small
) *::after {
  display: none !important;
  content: none !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

main :is(
  .section-eyebrow,
  .eyebrow,
  .kicker,
  .section-label,
  .section-tag,
  .mini-title,
  .tagline,
  .label,
  .section-title-small
)::after {
  content: "" !important;
  position: static !important;
  display: inline-block !important;
  width: 72px !important;
  height: 2px !important;
  min-width: 72px !important;
  flex: 0 0 72px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, #1f8fe5, transparent) !important;
  background-color: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

/* IRPH vs Euribor hero chart: keep IRPH clearly above Euribor and visually dominant */
body.light-premium-page main .visual-card .line-chart .irph-line {
  stroke: #1f8fe5 !important;
  stroke-width: 7 !important;
  fill: none !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

body.light-premium-page main .visual-card .line-chart .euribor-line {
  stroke: #d32f2f !important;
  stroke-width: 6 !important;
  fill: none !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

body.light-premium-page main .visual-card .line-chart .grid-line {
  stroke: rgba(15, 61, 94, 0.16) !important;
}

body.light-premium-page main .visual-card .legend {
  color: #0f3d5e !important;
  font-weight: 800 !important;
}

body.light-premium-page main .visual-card .legend .e {
  background: #d32f2f !important;
  color: #d32f2f !important;
}

/* Reinvestment hero mockup: keep labels clean and chart elements legible */
body.light-premium-page main .compound-card .growth-chart :where(span, small, strong) {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.light-premium-page main .compound-card .growth-bars div {
  background: linear-gradient(180deg, #2de39f 0%, #00a6c8 46%, #1f8fe5 100%) !important;
  border: 0 !important;
}

body.light-premium-page main .compound-card .growth-bars span,
body.light-premium-page main .compound-card .growth-caption span {
  color: #0f3d5e !important;
}

body.light-premium-page main .compound-card .growth-caption strong {
  color: #0f3d5e !important;
}

body.light-premium-page main .compound-card .growth-caption .bars-key {
  background: #00a6c8 !important;
}

body.light-premium-page main .compound-card .growth-caption .line-key {
  background: #2de39f !important;
}

body.light-premium-page main .compound-card .growth-line {
  stroke: #2de39f !important;
  stroke-width: 6 !important;
}

body.light-premium-page main .compound-card .growth-arrow {
  stroke: #2de39f !important;
  stroke-width: 6 !important;
}

body.light-premium-page main .compound-card .growth-grid {
  stroke: rgba(15, 61, 94, 0.16) !important;
}

body.light-premium-page main .hero-video-section .eyebrow {
  color: #9df3ff !important;
  text-shadow: 0 2px 12px rgba(0,0,0,.82) !important;
}

body.light-premium-page main .hero-video-section h1 {
  color: #ffffff !important;
  text-shadow: 0 4px 24px rgba(0,0,0,.82), 0 1px 2px rgba(0,0,0,.95) !important;
}

body.light-premium-page main .hero-video-section .hero-text {
  color: #eefbff !important;
  font-weight: 650 !important;
  text-shadow: 0 2px 14px rgba(0,0,0,.86) !important;
}

body.light-premium-page main .hero-video-section .btn-primary {
  color: #041525 !important;
  background: linear-gradient(135deg, #ffffff 0%, #69f2ff 48%, #19bbff 100%) !important;
  border: 1px solid rgba(255,255,255,.82) !important;
  box-shadow: 0 18px 46px rgba(22,184,255,.38), 0 4px 14px rgba(0,0,0,.38) !important;
  text-shadow: none !important;
}

body.light-premium-page main .hero-video-section .btn-secondary {
  color: #ffffff !important;
  background: rgba(4,18,32,.66) !important;
  border: 1px solid rgba(255,255,255,.82) !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.38) !important;
  text-shadow: none !important;
}

body.light-premium-page main .hero-video-section .trust-row span {
  color: #f2fcff !important;
  background: rgba(4,18,32,.62) !important;
  border-color: rgba(255,255,255,.52) !important;
  text-shadow: 0 1px 8px rgba(0,0,0,.78) !important;
}

@media (max-width: 1320px) and (min-width: 901px) {
  .hr-nav-wrap {
    gap: 12px !important;
  }

  .hr-brand {
    gap: 8px !important;
  }

  .hr-brand img {
    width: 42px !important;
    height: 42px !important;
  }

  .hr-brand span {
    font-size: 18px !important;
  }

  .hr-main-nav {
    gap: 5px !important;
  }

  .hr-main-nav > a,
  .hr-dropdown-toggle,
  .hr-main-nav .hr-nav-cta {
    padding: 0 9px !important;
    min-height: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    font-size: 11px !important;
    gap: 5px !important;
  }

  .hr-dropdown-toggle::after {
    width: 8px !important;
    height: 8px !important;
    flex-basis: 8px !important;
  }
}
