/* Light-top variation for the premium home. Everything below the first fold
   continues to use the original REPUTAAI visual system. */
.index2-page .site-header--index2 {
  color: #0b1731;
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: #dfe7f2;
  box-shadow: 0 1px 0 rgba(11, 23, 49, 0.03);
  backdrop-filter: blur(18px);
}

.index2-page .site-header--index2.is-scrolled {
  box-shadow: 0 14px 38px rgba(25, 55, 100, 0.1);
}

.index2-page .site-header--index2 .menu a {
  color: #4c5b73;
}

.index2-page .site-header--index2 .menu a:hover {
  color: #0b1731;
}

.index2-page .site-header--index2 .menu a::after {
  background: #2788ff;
}

.index2-page .site-header--index2 .site-header__cta {
  color: #fff;
  background: #1766d3;
  border-color: #1766d3;
  box-shadow: 0 11px 26px rgba(23, 102, 211, 0.2);
}

.index2-page .site-header--index2 .site-header__cta:hover {
  color: #fff;
  background: #0c4da8;
  border-color: #0c4da8;
  box-shadow: 0 14px 30px rgba(23, 102, 211, 0.25);
}

.index2-page .site-header--index2 .nav-toggle {
  color: #0b1731;
  border-color: #cdd8e7;
}

.index2-page .site-header--index2 .nav-toggle span:not(.screen-reader-text) {
  background: #0b1731;
}

.index2-page .hero--premium {
  min-height: min(850px, calc(100svh - 78px));
  color: #0b1731;
  background: #f7faff;
}

.index2-page .hero__content {
  min-width: 0;
}

.index2-page .hero--premium::before {
  background-image:
    linear-gradient(rgba(39, 136, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(39, 136, 255, 0.055) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.48) 58%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.48) 58%, transparent 100%);
}

.index2-page .hero--premium::after {
  width: 48%;
  background: rgba(124, 77, 255, 0.055);
  border-left-color: rgba(124, 77, 255, 0.1);
}

.index2-page .review-constellation {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.92;
  pointer-events: none;
}

.index2-page .hero__grid {
  grid-template-columns: minmax(0, 0.98fr) minmax(540px, 1.02fr);
  gap: clamp(42px, 5vw, 76px);
}

.index2-page .hero h1.hero-promise {
  max-width: 690px;
  color: #0b1731;
  font-size: 4.15rem;
  line-height: 1.01;
}

.index2-page .hero-promise > span {
  color: #0b1731;
}

.index2-page .hero-promise > .hero-promise__violet {
  color: #1766d3;
}

.index2-page .hero-promise > .hero-promise__cyan {
  color: #7041df;
}

.index2-page .hero--premium .eyebrow--light {
  color: #1766d3;
}

.index2-page .hero--premium .eyebrow--light > span {
  background: #2788ff;
  box-shadow: 0 0 0 5px rgba(39, 136, 255, 0.11);
}

.index2-page .hero__lead {
  color: #58677f;
}

.index2-page .hero--premium .button--primary {
  color: #fff;
  background: #1766d3;
  border-color: #1766d3;
  box-shadow: 0 15px 34px rgba(23, 102, 211, 0.2);
}

.index2-page .hero--premium .button--primary:hover {
  color: #fff;
  background: #0c4da8;
  border-color: #0c4da8;
}

.index2-page .hero--premium .button--glass {
  color: #1766d3;
  background: rgba(255, 255, 255, 0.74);
  border-color: #b9cbe2;
  box-shadow: none;
}

.index2-page .hero--premium .button--glass:hover {
  color: #0b1731;
  background: #fff;
  border-color: #7f9fc4;
}

.index2-page .hero__signals li {
  color: #5c6c83;
}

.index2-page .hero__gridlines,
.index2-page .hero__gridlines::before,
.index2-page .hero__gridlines::after {
  border-color: rgba(39, 136, 255, 0.11);
}

.index2-page .stage-aura {
  background-color: #eef3ff;
  background-image:
    linear-gradient(rgba(39, 136, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 77, 255, 0.065) 1px, transparent 1px);
  border-color: #dce5f7;
}

.index2-page .reputation-console {
  color: #0b1731;
  background: rgba(255, 255, 255, 0.97);
  border-color: #d6e1ef;
  box-shadow: 0 36px 80px rgba(31, 63, 108, 0.16), 0 0 0 1px rgba(39, 136, 255, 0.035);
}

.index2-page .console__topbar {
  background: #f2f6fc;
  border-bottom-color: #dfe7f2;
}

.index2-page .console__mark {
  background: #1766d3;
}

.index2-page .console__identity small {
  color: #75849a;
}

.index2-page .console__live {
  color: #087757;
  background: #eaf8f3;
  border-color: #bce9d8;
}

.index2-page .console__overview {
  border-bottom-color: #dfe7f2;
}

.index2-page .score-block {
  border-right-color: #dfe7f2;
}

.index2-page .score-block > span,
.index2-page .trend-block__head span {
  color: #66758b;
}

.index2-page .score-block small {
  color: #7a889d;
}

.index2-page .trend-block__head strong {
  color: #087757;
  background: #eaf8f3;
}

.index2-page .trend-chart {
  border-bottom-color: #dce5f0;
}

.index2-page .trend-labels {
  color: #8390a2;
}

.index2-page .topic-row > span {
  color: #5f6e84;
}

.index2-page .topic-row i {
  background: #e5ebf4;
}

.index2-page .stage-note {
  color: #76859b;
}

.index2-page .floating-signal {
  border-color: #d1deec;
  box-shadow: 0 18px 46px rgba(31, 63, 108, 0.15);
}

.index2-page .impact-formula-definition {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.68rem;
  line-height: 1.55;
}

.index2-page .impact-formula-definition strong {
  color: #68dcff;
}

.index2-page .impact-simulator--weighted {
  grid-template-columns: minmax(390px, 0.85fr) minmax(520px, 1.15fr);
}

.index2-page .impact-controls--weights {
  padding: 28px 30px;
}

.index2-page .star-weight-controls {
  display: grid;
  gap: 14px;
}

.index2-page .impact-controls--weights .star-weight-controls > label {
  padding: 0 0 14px;
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.index2-page .star-weight-controls strong {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.index2-page .star-weight-controls strong i {
  color: var(--weight-color);
  font-style: normal;
  font-size: 1rem;
  text-shadow: 0 0 14px color-mix(in srgb, var(--weight-color) 52%, transparent);
}

.index2-page .star-weight-controls output {
  color: var(--weight-color);
  font-size: 0.82rem;
}

.index2-page .star-weight-controls input[type="range"] {
  margin-top: 11px;
  accent-color: var(--weight-color);
}

.index2-page .impact-controls--weights .impact-facts {
  margin-top: 20px;
}

.index2-page .impact-controls--weights .impact-facts span:nth-child(2) strong {
  color: #fff;
}

.index2-page .weighted-breakdown {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.index2-page .weighted-live {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: #8ee4c5 !important;
}

.index2-page .weighted-live i {
  width: 7px;
  height: 7px;
  background: #28b987;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(40, 185, 135, 0.1);
  animation: livePulse 1.8s ease-in-out infinite;
}

.index2-page .weighted-score {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 26px 0;
  margin-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.index2-page .weighted-score > div {
  display: grid;
  gap: 4px;
}

.index2-page .weighted-score small {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
}

.index2-page .weighted-score strong {
  color: #fff;
  font-family: var(--font-display);
  font-size: 4.2rem;
  font-weight: 600;
  line-height: 0.98;
}

.index2-page .weighted-score span {
  color: #f2b84b;
  font-size: 0.88rem;
  letter-spacing: 0;
}

.index2-page .weighted-score p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  line-height: 1.65;
}

.index2-page .weighted-bars {
  display: grid;
  gap: 18px;
  padding: 26px 0 14px;
}

.index2-page .weighted-bars > div {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 144px;
  gap: 12px;
  align-items: center;
}

.index2-page .weighted-bars > div > span {
  color: var(--weight-color);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
}

.index2-page .weighted-bars i {
  height: 9px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.index2-page .weighted-bars em {
  display: block;
  width: var(--weight-size);
  height: 100%;
  background: var(--weight-color);
  border-radius: inherit;
  box-shadow: 0 0 18px color-mix(in srgb, var(--weight-color) 35%, transparent);
  transition: width 260ms ease;
}

.index2-page .weighted-bars > div > strong {
  color: rgba(255, 255, 255, 0.63);
  font-size: 0.66rem;
  font-weight: 600;
  text-align: right;
}

.index2-page .weighted-bars b {
  color: #fff;
  font-weight: 800;
}

.index2-page .weighted-scale {
  display: flex;
  justify-content: space-between;
  padding-left: 54px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.52rem;
  font-weight: 800;
  text-transform: uppercase;
}

.index2-page .impact-simulator--weighted.is-updating .weighted-score strong {
  animation: index2ScoreUpdate 420ms ease;
}

@keyframes index2ScoreUpdate {
  0% { opacity: 0.45; transform: translateY(5px); }
  100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1160px) {
  .index2-page .impact-simulator--weighted {
    grid-template-columns: minmax(350px, 0.9fr) minmax(480px, 1.1fr);
  }

  .index2-page .hero__grid {
    grid-template-columns: minmax(0, 0.94fr) minmax(500px, 1.06fr);
    gap: 40px;
  }

  .index2-page .hero h1.hero-promise {
    font-size: 3.2rem;
  }
}

@media (max-width: 980px) {
  .index2-page {
    overflow-x: hidden;
  }

  .index2-page .site-header--index2 .nav-toggle {
    display: inline-grid;
    justify-self: end;
  }

  .index2-page .site-header--index2 .primary-nav {
    background: #fff;
    border-color: #d9e3ef;
    box-shadow: 0 22px 50px rgba(26, 53, 91, 0.16);
  }

  .index2-page .site-header--index2 .menu a {
    color: #334158;
  }

  .index2-page .hero__grid {
    grid-template-columns: 1fr;
    gap: 68px;
    padding-top: 68px;
  }

  .index2-page .hero__content {
    width: 100%;
    max-width: 790px;
  }

  .index2-page .hero h1.hero-promise {
    max-width: 760px;
    font-size: 3.75rem;
  }

  .index2-page .impact-simulator--weighted {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .index2-page .review-constellation {
    opacity: 0.76;
  }

  .index2-page .hero__grid {
    gap: 58px;
    padding-top: 54px;
    padding-bottom: 72px;
  }

  .index2-page .hero h1.hero-promise {
    font-size: 2.55rem;
    line-height: 1.04;
  }

  .index2-page .hero-promise > span + span {
    margin-top: 0.12em;
  }

  .index2-page .hero__lead {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.62;
    overflow-wrap: anywhere;
  }

  .index2-page .score-block {
    border-right: 0;
    border-bottom: 1px solid #dfe7f2;
  }

  .index2-page .reputation-console {
    overflow: hidden;
  }

  .index2-page .weighted-score {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .index2-page .weighted-score strong {
    font-size: 3.4rem;
  }

  .index2-page .weighted-bars > div {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .index2-page .weighted-bars > div > strong {
    grid-column: 2;
    text-align: left;
  }

  .index2-page .weighted-scale {
    padding-left: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .index2-page .weighted-bars em { transition: none; }
}

.index2-page .whatsapp-float {
  position: fixed;
  z-index: 900;
  right: clamp(18px, 2.4vw, 34px);
  bottom: clamp(18px, 2.4vw, 34px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 18px;
  color: #fff;
  background: #168a4a;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 7px;
  box-shadow: 0 16px 38px rgba(4, 52, 29, 0.28);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.index2-page .whatsapp-float:hover {
  color: #fff;
  background: #10763e;
  box-shadow: 0 20px 44px rgba(4, 52, 29, 0.34);
  transform: translateY(-3px);
}

.index2-page .whatsapp-float:focus-visible {
  outline-color: #0b1731;
  outline-offset: 4px;
}

.index2-page .whatsapp-float svg {
  flex: 0 0 auto;
}

@media (max-width: 560px) {
  .index2-page .whatsapp-float {
    width: 54px;
    min-height: 54px;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
  }

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