.research-page {
  background: #f7faff;
}

.research-page .site-nav .is-current {
  color: #0b1d38;
  font-weight: 700;
}

.research-report-section {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 5rem;
  background:
    radial-gradient(circle at 12% 5%, rgba(0, 82, 255, 0.08), transparent 24rem),
    #f4f8ff;
}

.research-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.research-orb--one {
  top: 7rem;
  right: -7rem;
  width: 25rem;
  height: 25rem;
  background: rgba(49, 187, 255, 0.12);
}

.research-orb--two {
  bottom: 8rem;
  left: -10rem;
  width: 28rem;
  height: 28rem;
  background: rgba(0, 82, 255, 0.09);
}

.report-workspace {
  position: relative;
  z-index: 1;
  width: min(1040px, calc(100vw - 2rem));
  margin-top: 0;
  padding: clamp(1.2rem, 2.2vw, 2rem);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 35px 100px rgba(15, 36, 75, 0.14);
}

.report-workspace__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.insight-card > div:first-child > span,
.insight-heading span,
.report-sample-label,
.report-summary > span,
.signal-card__label {
  color: #47658f;
  font-family: "Bricolage Grotesque", "Inter", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.report-workspace__header h1 {
  max-width: none;
  margin-top: 0;
  color: #0b1d38;
  font-family: "Inter", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.055em;
}

.report-workspace__header p {
  margin: 0.65rem 0 0;
  color: #5e7191;
}

.report-workspace__header p span {
  margin: 0 0.35rem;
  color: #9aacbf;
}

.report-dates {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 1.15rem;
  margin: 0;
}

.report-dates dt {
  color: #7184a0;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.report-dates dd {
  margin: 0.35rem 0 0;
  color: #102846;
  font-size: 0.9rem;
  font-weight: 700;
}

.report-scorecard {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1.3rem;
  border: 1px solid #dfe8f3;
  border-radius: 1.25rem;
  background: #f9fbfe;
}

.report-scorecard div {
  display: grid;
  gap: 0.35rem;
  padding: 0.9rem 0.8rem;
  border-right: 1px solid #dfe8f3;
  text-align: center;
}

.report-scorecard div:last-child {
  border-right: 0;
}

.report-scorecard strong {
  color: #0b1d38;
  font-size: clamp(1.65rem, 3.4vw, 2.25rem);
  letter-spacing: -0.05em;
}

.report-scorecard span {
  color: #526b8e;
  font-size: 0.84rem;
}

.report-tabs {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.9rem;
  padding: 0.4rem;
  overflow-x: auto;
  border: 1px solid #dfe8f3;
  border-radius: 1rem;
  background: #f2f6fb;
  scrollbar-width: none;
}

.report-tabs::-webkit-scrollbar {
  display: none;
}

.report-tabs button {
  appearance: none;
  min-height: 2.8rem;
  flex: 1 0 auto;
  padding: 0.7rem 1.1rem;
  border: 0;
  border-radius: 0.75rem;
  background: transparent;
  color: #526782;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.report-tabs button:hover {
  color: #0b1d38;
}

.report-tabs button[aria-selected="true"] {
  background: #ffffff;
  color: #075ee8;
  box-shadow: 0 8px 24px rgba(15, 36, 75, 0.09);
}

.report-tabs button:focus-visible {
  outline: 3px solid rgba(31, 140, 255, 0.28);
  outline-offset: 2px;
}

.report-panels {
  min-height: 25rem;
  margin-top: 0.8rem;
}

.report-tab-panel {
  animation: panelIn 360ms ease both;
}

.report-panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(16rem, 0.45fr);
  gap: 1rem;
}

.driver-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.insight-card {
  min-width: 0;
  padding: clamp(1.1rem, 1.8vw, 1.55rem);
  border: 1px solid #dfe8f3;
  border-radius: 1.25rem;
  background: #ffffff;
}

.insight-card h3,
.insight-heading h3 {
  margin: 0.45rem 0 0;
  color: #0b1d38;
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
  letter-spacing: -0.035em;
}

.insight-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.insight-heading > strong {
  padding: 0.5rem 0.75rem;
  border-radius: 99px;
  background: #eaf4ff;
  color: #0877eb;
  font-size: 0.8rem;
  white-space: nowrap;
}

.coverage-bars,
.motive-bars {
  display: grid;
  gap: 0.82rem;
  margin-top: 1.25rem;
}

.coverage-bars > div,
.motive-bars > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem 1rem;
  color: #47617f;
  font-size: 0.84rem;
}

.coverage-bars strong,
.motive-bars strong {
  color: #0b1d38;
}

.coverage-bars i,
.motive-bars i {
  grid-column: 1 / -1;
  display: block;
  width: 0;
  height: 0.68rem;
  border-radius: 99px;
  background: linear-gradient(90deg, #075ee8, #31bbff);
  box-shadow: inset 0 0 0 1px rgba(0, 82, 255, 0.06);
}

.report-tab-panel.is-active .coverage-bars i,
.report-tab-panel.is-active .motive-bars i {
  animation: barGrow 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.signal-card {
  display: flex;
  min-height: 23.4rem;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(155deg, #071c35, #0c3768);
  color: #ffffff;
}

.signal-card--light {
  background: linear-gradient(145deg, #e9f4ff, #f7fbff);
  color: #0b1d38;
}

.signal-card .signal-card__label {
  color: #9ec9f7;
}

.signal-card--light .signal-card__label {
  color: #4b6b91;
}

.signal-card > strong {
  margin-top: 1.1rem;
  color: #43bfff;
  font-size: clamp(3.5rem, 7vw, 5.75rem);
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.signal-card--light > strong {
  color: #0877eb;
}

.signal-card h3 {
  color: inherit;
}

.signal-card p {
  margin: 0.9rem 0 0;
  color: #c2d8ee;
  font-size: 0.9rem;
  line-height: 1.65;
}

.signal-card--light p {
  color: #526b8e;
}

.chart-card {
  min-height: 23.4rem;
}

.donut-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.donut-layout--compact {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 1.4rem;
}

.donut {
  position: relative;
  display: grid;
  width: min(12.5rem, 100%);
  aspect-ratio: 1;
  place-items: center;
  justify-self: center;
  border-radius: 50%;
  transform: scale(0.8) rotate(-18deg);
  opacity: 0;
}

.report-tab-panel.is-active .donut {
  animation: donutReveal 680ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.donut::before {
  content: "";
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background: #ffffff;
}

.donut > span {
  position: relative;
  z-index: 1;
  display: grid;
  color: #607492;
  font-size: 0.75rem;
  text-align: center;
  text-transform: uppercase;
}

.donut > span strong {
  color: #0b1d38;
  font-size: 2.25rem;
  letter-spacing: -0.06em;
}

.donut--responses {
  background: conic-gradient(#123f72 0 66%, #1f8cff 66% 72%, #64b5ff 72% 80%, #9acfff 80% 93%, #d9e8f7 93% 100%);
}

.donut--preferences {
  background: conic-gradient(#123f72 0 68%, #1f8cff 68% 90%, #64b5ff 90% 100%);
}

.donut--decline {
  background: conic-gradient(#123f72 0 54.545%, #1f8cff 54.545% 100%);
}

.chart-legend {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chart-legend li {
  display: grid;
  grid-template-columns: 0.65rem 1fr auto;
  align-items: center;
  gap: 0.7rem;
  color: #526b8e;
  font-size: 0.8rem;
}

.chart-legend li > i {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
}

.chart-legend strong {
  color: #0b1d38;
  font-size: 0.78rem;
}

.legend-one { background: #123f72; }
.legend-two { background: #1f8cff; }
.legend-three { background: #64b5ff; }
.legend-four { background: #9acfff; }
.legend-five { background: #d9e8f7; }

.salary-comparison {
  display: grid;
  gap: 1.35rem;
  margin-top: 1.8rem;
}

.salary-row {
  display: grid;
  gap: 0.65rem;
}

.salary-row__heading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.salary-row__heading span {
  color: #607492;
  font-size: 0.92rem;
  font-weight: 600;
}

.salary-row__heading strong {
  color: #0b1d38;
  font-size: 1.05rem;
  white-space: nowrap;
}

.salary-row__track {
  position: relative;
  height: 1rem;
  overflow: hidden;
  border-radius: 99px;
  background:
    linear-gradient(90deg, transparent calc(33.33% - 1px), rgba(128, 151, 181, 0.22) 33.33%, transparent calc(33.33% + 1px)),
    linear-gradient(90deg, transparent calc(66.66% - 1px), rgba(128, 151, 181, 0.22) 66.66%, transparent calc(66.66% + 1px)),
    #eaf0f7;
}

.salary-row__track i {
  position: absolute;
  inset: 0 auto 0 var(--start);
  display: block;
  width: var(--width);
  border-radius: inherit;
  background: linear-gradient(90deg, #075ee8, #31bbff);
  transform: scaleX(0);
  transform-origin: left center;
}

.salary-row--client .salary-row__track i {
  background: linear-gradient(90deg, #7898b8, #aec2d6);
}

.report-tab-panel.is-active .salary-row__track i {
  animation: scaleGrow 850ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.salary-axis {
  display: flex;
  justify-content: space-between;
  margin-top: -0.45rem;
  color: #8494aa;
  font-size: 0.72rem;
}

.salary-axis span:nth-child(2),
.salary-axis span:nth-child(3) {
  text-align: center;
}

.salary-axis span:last-child {
  text-align: right;
}

.motive-bars i {
  background: linear-gradient(90deg, #1f8cff, #7cc5ff);
}

.report-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1.5rem;
  margin-top: 0.8rem;
  padding: 0.85rem 1.1rem;
  border-radius: 1rem;
  background: #0a233f;
}

.report-summary > span {
  color: #9ec9f7;
  white-space: nowrap;
}

.report-summary p {
  margin: 0;
  color: #f7fbff;
  line-height: 1.55;
}

.intelligence-value {
  padding: 5rem 0;
  background: #ffffff;
}

.value-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.8fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6rem);
}

.value-copy h2 {
  max-width: 15ch;
  overflow: visible;
  letter-spacing: -0.015em;
}

.value-copy h2 .gradient-text {
  display: inline;
  padding-right: 0.12em;
  padding-left: 0.03em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.value-copy > p {
  max-width: 38rem;
  margin: 1.4rem 0 0;
  color: #60708b;
  font-size: 1.05rem;
  line-height: 1.8;
}

.value-copy .button {
  margin-top: 2rem;
}

.value-promise {
  position: relative;
  overflow: hidden;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: 1.5rem;
  background:
    linear-gradient(135deg, rgba(31, 140, 255, 0.14), transparent 50%),
    #0a233f;
  box-shadow: 0 28px 65px rgba(10, 35, 63, 0.16);
  color: #ffffff;
}

.value-promise::after {
  content: "";
  position: absolute;
  top: -6rem;
  right: -6rem;
  width: 15rem;
  height: 15rem;
  border: 1px solid rgba(126, 200, 255, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 2.8rem rgba(126, 200, 255, 0.04), 0 0 0 5.5rem rgba(126, 200, 255, 0.025);
}

.value-promise__eyebrow {
  position: relative;
  z-index: 1;
  color: #9ec9f7;
  font-family: "Bricolage Grotesque", "Inter", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.value-promise > p {
  position: relative;
  z-index: 1;
  max-width: 18ch;
  margin: 1rem 0 1.8rem;
  font-size: clamp(1.7rem, 3.4vw, 2.45rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.value-promise__detail {
  position: relative;
  z-index: 1;
  max-width: 34rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(186, 214, 240, 0.18);
  color: #b8cee3;
  font-size: 0.92rem;
  line-height: 1.7;
}

.value-cards {
  display: grid;
  gap: 1rem;
}

.value-cards article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 1rem;
  padding: 1.55rem;
  border: 1px solid #dfe8f3;
  border-radius: 1.2rem;
  background: #f9fbfe;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.value-cards article:hover {
  transform: translateY(-3px);
  border-color: rgba(31, 140, 255, 0.3);
  box-shadow: 0 18px 45px rgba(15, 36, 75, 0.08);
}

.value-cards article > span {
  grid-row: 1 / 3;
  color: #1688f4;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
}

.value-cards h3 {
  margin: 0;
  color: #0b1d38;
  font-size: 1.2rem;
}

.value-cards p {
  margin: 0.35rem 0 0;
  color: #60708b;
  line-height: 1.65;
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes barGrow {
  from { width: 0; }
  to { width: var(--bar); }
}

@keyframes donutReveal {
  from { opacity: 0; transform: scale(0.8) rotate(-18deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes scaleGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (max-width: 980px) {
  .report-workspace__header,
  .value-layout {
    grid-template-columns: 1fr;
  }

  .report-workspace__header {
    display: grid;
  }

  .report-dates {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .report-panel-grid,
  .driver-grid {
    grid-template-columns: 1fr;
  }

  .signal-card {
    min-height: 19rem;
  }

  .report-panels {
    min-height: 0;
  }
}

@media (max-width: 720px) {
  .research-report-section {
    padding: 3rem 0 4rem;
  }

  .report-workspace {
    width: calc(100% - 1rem);
    padding: 1rem;
    border-radius: 1.35rem;
  }

  .report-scorecard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .report-scorecard div:nth-child(2) {
    border-right: 0;
  }

  .report-scorecard div:nth-child(-n + 2) {
    border-bottom: 1px solid #dfe8f3;
  }

  .report-dates,
  .donut-layout,
  .donut-layout--compact,
  .report-summary {
    grid-template-columns: 1fr;
  }

  .report-dates {
    gap: 0.8rem;
  }

  .report-dates div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid #e5edf6;
  }

  .report-dates dd {
    margin: 0;
    text-align: right;
  }

  .donut-layout {
    gap: 1.5rem;
  }

  .report-summary {
    gap: 0.65rem;
  }

  .intelligence-value {
    padding: 5rem 0;
  }

}

@media (prefers-reduced-motion: reduce) {
  .report-tab-panel,
  .report-tab-panel.is-active .coverage-bars i,
  .report-tab-panel.is-active .motive-bars i,
  .report-tab-panel.is-active .donut,
  .report-tab-panel.is-active .salary-row__track i {
    animation-duration: 1ms;
  }
}
.coverage-identified { --bar: 100%; }
.coverage-contacted { --bar: 59%; }
.coverage-conversations { --bar: 20%; }
.coverage-interested { --bar: 8%; }
.coverage-submitted { --bar: 3.5%; }
.salary-expectation-range { --start: 16.667%; --width: 50%; }
.salary-current-range { --start: 16.667%; --width: 3px; }
.driver-primary { --bar: 27%; }
.driver-secondary { --bar: 23%; }
