/* Research page refinement — aligned with the homepage narrative system. */

[hidden] {
  display: none !important;
}

/* Hero */
.research-hero {
  min-height: 540px !important;
  padding: 140px 0 72px !important;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 78% 28%, rgba(10, 6, 229, 0.18), transparent 31%),
    radial-gradient(circle at 18% 72%, rgba(88, 199, 247, 0.06), transparent 30%),
    #090a0d !important;
}

.research-hero::before {
  background-size: 64px 64px !important;
  opacity: 0.76;
}

.research-hero-glow {
  top: -260px;
  width: 960px;
  height: 700px;
  background: radial-gradient(ellipse, rgba(10, 6, 229, 0.12), transparent 68%) !important;
}

.research-hero-content {
  max-width: 920px;
  margin: 0 auto;
}

.research-hero .research-hero-badge {
  margin: 0 auto 26px;
}

.research-hero h1 {
  max-width: 900px;
  margin: 0 auto 22px;
  font-size: clamp(3.35rem, 5.4vw, 4.75rem) !important;
}

.research-hero-sub {
  max-width: 650px;
  margin: 0 auto 30px;
  font-size: clamp(1.05rem, 1.35vw, 1.18rem) !important;
  line-height: 1.55 !important;
}

.research-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.research-hero .btn-primary {
  background: #ffffff !important;
  color: #111111 !important;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.08), 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

.research-hero .btn-primary:hover {
  background: #f0f0f2 !important;
  color: #111111 !important;
}

.research-hero-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 20px 0 0;
  color: #7f828c;
  font-size: 13px;
}

.research-hero-proof strong {
  color: #c9cbd1;
  font-weight: 600;
}

/* Flagship report */
.report-showcase {
  padding: 88px 0;
}

.report-showcase-layout {
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: 72px;
  padding: 64px;
  border-radius: 28px;
  background: #f4f4f6;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.07);
}

.report-cover-wrapper {
  width: min(100%, 310px);
}

.report-cover-img,
.report-cover-wrapper:hover .report-cover-img {
  transform: none;
  border-radius: 10px;
  box-shadow:
    0 1px 2px rgba(17, 17, 17, 0.08),
    0 24px 56px rgba(17, 17, 17, 0.18) !important;
}

.report-cover-wrapper::before,
.report-cover-wrapper::after {
  display: none;
}

.report-showcase-content {
  max-width: 650px;
}

.report-showcase-badge {
  margin-bottom: 18px;
  background: rgba(10, 6, 229, 0.07);
  color: #0a06e5;
  box-shadow: inset 0 0 0 1px rgba(10, 6, 229, 0.12);
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.report-showcase-title {
  margin-bottom: 14px;
  font-size: clamp(2rem, 3.6vw, 3rem);
  letter-spacing: -0.05em;
}

.report-showcase-desc {
  max-width: 620px;
  margin-bottom: 28px;
  font-size: 17px;
  line-height: 1.58;
}

.report-showcase-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 28px;
  padding: 20px 0;
  border-top: 1px solid rgba(17, 17, 17, 0.09);
  border-bottom: 1px solid rgba(17, 17, 17, 0.09);
}

.report-highlight {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
  padding: 0 18px;
  border-right: 1px solid rgba(17, 17, 17, 0.09);
  color: #6f7077;
  font-size: 12px;
  line-height: 1.35;
}

.report-highlight:first-child {
  padding-left: 0;
}

.report-highlight:last-child {
  padding-right: 0;
  border-right: 0;
}

.report-highlight strong {
  color: #111111;
  font-family: 'Sora', sans-serif;
  font-size: 23px;
  font-weight: 650;
  letter-spacing: -0.04em;
}

.report-gate-form {
  max-width: 590px;
}

.report-gate-input-row {
  padding: 4px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.13);
}

.report-gate-input {
  height: 48px;
  padding: 0 18px;
  background: transparent !important;
  box-shadow: none !important;
}

.report-gate-btn {
  height: 48px;
  background: #111111 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.report-gate-btn:hover {
  background: #292929 !important;
}

.report-gate-note {
  margin-top: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
}

.report-partners {
  margin-top: 28px;
}

.report-partners-logos a {
  display: inline-flex;
  align-items: center;
}

.report-partner-logo--proof-of-talk {
  height: 24px;
  opacity: 0.72;
}

.report-partner-logo--proof-of-talk:hover {
  opacity: 1;
}

/* Selected reports */
.report-library {
  padding: 96px 0 104px;
}

.report-library-header {
  margin-bottom: 54px;
}

.report-library-header .section-label {
  margin-bottom: 12px;
}

.report-library-header .section-heading {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
}

.report-library-grid {
  max-width: 960px;
  gap: 44px 32px;
  margin-bottom: 46px;
}

.report-library-link {
  max-width: 224px;
}

.report-library-cover-wrap {
  border-radius: 8px;
  box-shadow:
    0 1px 2px rgba(17, 17, 17, 0.07),
    0 16px 36px rgba(17, 17, 17, 0.11) !important;
}

.report-library-link:hover .report-library-cover-wrap {
  transform: translateY(-5px);
  box-shadow:
    0 1px 2px rgba(17, 17, 17, 0.08),
    0 22px 48px rgba(17, 17, 17, 0.16) !important;
}

.report-library-title {
  margin-top: 14px;
  color: #222229;
  font-size: 13px;
}

.report-library-item:nth-child(n + 7) {
  display: none !important;
}

.report-library-toggle {
  display: none !important;
}

.report-library-footer {
  margin-top: 0;
}

/* Custom research — one compact homepage-style story tile. */
.iaas-section {
  padding: 96px 0;
  background: #ffffff !important;
  border: 0;
}

.iaas-section > .container {
  width: calc(100% - 48px);
  max-width: 1152px;
  padding: 64px;
  border-radius: 28px;
  background: #f4f4f6;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.07);
}

.iaas-header {
  max-width: 720px;
  margin: 0 auto 42px;
}

.iaas-header .section-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  color: #2563eb;
  font-size: 14px;
  font-weight: 700;
}

.iaas-header .section-heading {
  margin-bottom: 14px;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
}

.iaas-header .section-desc {
  max-width: 560px;
  font-size: 17px;
  line-height: 1.55;
}

.iaas-grid {
  gap: 10px;
  margin-bottom: 32px;
}

html[data-theme='light'] .iaas-card {
  min-height: 188px;
  padding: 28px;
  border: 0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.07);
}

html[data-theme='light'] .iaas-card:hover {
  transform: none;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.12);
}

.iaas-card-title {
  font-size: 16px;
}

.iaas-card-desc {
  max-width: 280px;
  line-height: 1.55;
}

.iaas-footer .btn-primary {
  background: #111111 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.iaas-footer .btn-primary:hover {
  background: #292929 !important;
}

/* Keep the shared final CTA, but match the homepage's density. */
.newsletter-cta.site-final-cta {
  padding-top: 104px;
  padding-bottom: 104px;
}

/* Dark theme keeps the same hierarchy without turning light cards inside out. */
html[data-theme='dark'] .report-showcase-layout {
  background: #111216;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

html[data-theme='dark'] .report-showcase-badge {
  background: rgba(88, 199, 247, 0.08);
  color: #58c7f7;
  box-shadow: inset 0 0 0 1px rgba(88, 199, 247, 0.18);
}

html[data-theme='dark'] .report-showcase-highlights,
html[data-theme='dark'] .report-highlight {
  border-color: rgba(255, 255, 255, 0.1);
}

html[data-theme='dark'] .report-highlight {
  color: #8c8f98;
}

html[data-theme='dark'] .report-highlight strong {
  color: #f2f2f4;
}

html[data-theme='dark'] .report-gate-input-row {
  background: #191a1f;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.13);
}

html[data-theme='dark'] .report-gate-btn,
html[data-theme='dark'] .iaas-footer .btn-primary {
  background: #ffffff !important;
  color: #111111 !important;
}

html[data-theme='dark'] .report-library-title {
  color: #dedee3;
}

html[data-theme='dark'] .iaas-section {
  background: #090a0d !important;
}

html[data-theme='dark'] .iaas-section > .container {
  background: #111216;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

html[data-theme='dark'] .iaas-card {
  background: #18191e;
  border: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

@media (prefers-reduced-motion: reduce) {
  .report-library-cover-wrap,
  .report-cover-img {
    transition: none !important;
  }
}

@media (max-width: 900px) {
  .research-hero {
    min-height: 500px !important;
    padding: 124px 0 64px !important;
  }

  .research-hero h1 {
    font-size: clamp(2.7rem, 9vw, 3.8rem) !important;
  }

  .report-showcase-layout {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 48px;
  }

  .report-cover-wrapper {
    width: min(100%, 280px);
  }

  .report-showcase-content {
    max-width: none;
  }

  .iaas-section > .container {
    padding: 48px 32px;
  }
}

@media (max-width: 700px) {
  .research-hero h1 br {
    display: none;
  }

  .research-hero-actions {
    flex-direction: column;
  }

  .research-hero-actions .btn {
    width: min(100%, 310px);
  }

  .report-showcase {
    padding: 64px 0;
  }

  .report-showcase-layout {
    gap: 34px;
    padding: 34px 24px;
    border-radius: 22px;
  }

  .report-showcase-highlights {
    padding: 16px 0;
  }

  .report-highlight {
    padding: 0 10px;
    font-size: 10px;
  }

  .report-highlight strong {
    font-size: 19px;
  }

  .report-gate-input-row {
    flex-direction: column;
    padding: 4px;
    border-radius: 20px;
  }

  .report-gate-btn {
    width: 100%;
  }

  .report-library {
    padding: 72px 0 80px;
  }

  .report-library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 18px;
    margin-bottom: 40px;
  }

  .report-library-item:nth-child(-n + 4) {
    display: flex !important;
  }

  .report-library-item:nth-child(n + 5) {
    display: none !important;
  }

  .iaas-section {
    padding: 72px 0;
  }

  .iaas-section > .container {
    width: calc(100% - 32px);
    padding: 40px 20px;
    border-radius: 22px;
  }

  .iaas-header {
    margin-bottom: 32px;
  }

  .iaas-header .section-desc {
    font-size: 15px;
  }

  .iaas-grid {
    grid-template-columns: 1fr;
  }

  html[data-theme='light'] .iaas-card {
    min-height: 0;
    padding: 24px;
  }

  .newsletter-cta.site-final-cta {
    padding-top: 84px;
    padding-bottom: 84px;
  }
}

@media (max-width: 480px) {
  .research-hero {
    min-height: 480px !important;
    padding: 112px 0 56px !important;
  }

  .research-hero h1 {
    font-size: 2.55rem !important;
  }

  .research-hero-sub {
    font-size: 15px !important;
  }

  .research-hero-proof {
    flex-wrap: wrap;
    font-size: 12px;
  }

  .report-cover-wrapper {
    width: min(100%, 220px);
  }

  .report-showcase-title {
    font-size: 2rem;
  }

  .report-showcase-desc {
    font-size: 15px;
  }

  .report-library-header {
    margin-bottom: 38px;
  }

  .report-library-header .section-heading {
    font-size: 2.35rem;
  }

  .iaas-header .section-heading {
    font-size: 2.1rem;
  }

  .iaas-footer .btn {
    width: 100%;
  }
}
