/* Public Ricerca Mercato page. Product styles stay inside this page. */
body[data-active-landing-page="research"] .site-header {
  color: #28232d;
  background: rgba(247, 245, 239, 0.94);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.07);
}
body[data-active-landing-page="research"] .site-nav {
  background: rgba(23, 20, 29, 0.055);
}
body[data-active-landing-page="research"] .site-nav a[aria-current="page"] {
  color: #fff;
  background: #28232d;
}
.site-page--research { --research-muted: #696371; }
.site-page--research section[id] { scroll-margin-top: 110px; }
.site-page--research :is(h1, h2, h3, p, figure) { margin: 0; }
.site-page--research p { line-height: 1.7; }
.research-eyebrow {
  color: #7550ba;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.research-hero {
  padding: 84px 0 72px;
  background: radial-gradient(ellipse at 90% 25%, #e7dff6 0, transparent 52%);
}
.research-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 76px);
}
.research-hero__copy { display: grid; gap: 26px; }
.site-page--research h1 {
  max-width: 10ch;
  font-size: clamp(48px, 5.7vw, 80px);
  line-height: 1.01;
  letter-spacing: -0.065em;
  font-weight: 730;
}
.site-page--research h1 em { color: #7951bd; font-style: normal; }
.research-hero__copy > p:not(.research-eyebrow) {
  max-width: 47ch;
  color: var(--research-muted);
  font-size: 17px;
}
.research-hero__copy .site-actions { margin: 0; }
.site-page--research .research-secondary {
  color: #322c3b;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.09);
}
.research-hero__copy > small { color: var(--research-muted); font-size: 12px; }
.research-map {
  padding: clamp(22px, 3vw, 36px);
  border-radius: 32px;
  color: #f7f3ff;
  background: radial-gradient(ellipse at 100% 0, #30233f, transparent 70%), #17151e;
  box-shadow: 0 24px 60px rgba(39, 23, 62, 0.14), 0 2px 6px rgba(39, 23, 62, 0.08);
}
.research-map__top, .research-map figcaption, .research-source__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.research-map__top { color: #b7aec9; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; }
.research-map__top span:last-child { color: #c8e9a2; }
.research-map__query {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
  padding: 20px;
  border-radius: 16px;
  background: #25212e;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.research-map__query > span { color: #b59bea; font-size: 32px; }
.research-map__query strong { display: block; font-size: 20px; letter-spacing: -0.03em; }
.research-map__query small { display: block; margin-top: 6px; color: #b9b0c6; font-size: 12px; }
.research-map__connector { padding: 18px 0; color: #b99be9; text-align: center; font-size: 12px; }
.research-map__sources { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.research-map__sources div { display: grid; gap: 8px; padding: 20px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.055); }
.research-map__sources strong { font-size: 17px; letter-spacing: -0.025em; }
.research-map__sources small { color: #bdb4ca; font-size: 11px; }
.research-map figcaption { margin-top: 26px; color: #b9b0c6; font-size: 11px; }
.research-map figcaption span:first-child { color: #d5c0f7; }
.research-section { padding: 88px 0; }
.research-section__head { display: grid; align-content: start; gap: 20px; max-width: 700px; margin-bottom: 40px; }
.site-page--research h2 { font-size: clamp(34px, 4.1vw, 54px); line-height: 1.08; letter-spacing: -0.045em; }
.research-section__head > p:last-child { color: var(--research-muted); font-size: 16px; }
.research-methods { padding-top: 36px; }
.research-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.research-step { padding: 28px 0 0; box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.13); }
.research-step > span { color: #9471c6; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.research-step h3 { margin: 20px 0 14px; font-size: 23px; letter-spacing: -0.03em; }
.research-step p { color: var(--research-muted); font-size: 14px; }
.research-step small { display: block; margin-top: 18px; color: #765798; font-size: 12px; }
.research-preview { color: #f6f2fc; background: #15121c; }
.research-preview .research-eyebrow { color: #bba0ec; }
.research-preview .research-section__head > p:last-child { color: #bdb4c9; }
.research-preview__heading { display: flex; gap: 36px; justify-content: space-between; align-items: end; margin-bottom: 36px; }
.research-preview__heading .research-section__head { margin-bottom: 0; }
.research-preview__heading > a { flex-shrink: 0; padding-block: 12px; color: #dfcdfb; font-size: 13px; text-underline-offset: 5px; }
.research-screen { padding: 12px; border-radius: 28px; background: #25202e; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25); }
.research-screen figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; padding: 8px 12px 20px; color: #c5bccf; font-size: 12px; }
.research-screen a { display: block; border-radius: 16px; overflow: hidden; }
.research-screen img { width: 100%; height: auto; outline: 1px solid rgba(255, 255, 255, 0.1); outline-offset: -1px; }
.research-workflow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 32px 0 0; padding: 0; list-style: none; counter-reset: research-flow; }
.research-workflow li { counter-increment: research-flow; color: #bdb4c9; font-size: 14px; line-height: 1.65; }
.research-workflow li::before { content: "0" counter(research-flow); display: block; margin-bottom: 10px; color: #bba0ec; font-size: 12px; font-variant-numeric: tabular-nums; }
.research-workflow strong { display: block; margin-bottom: 6px; color: #f6f2fc; font-size: 17px; }
.research-sources { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.research-source { display: grid; gap: 20px; padding: 30px; border-radius: 20px; background: #fffdfa; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04), 0 5px 18px rgba(0, 0, 0, 0.025); }
.research-source__head h3 { font-size: 25px; letter-spacing: -0.04em; }
.research-source__head > span { color: #82619e; font-size: 11px; }
.research-source p { color: var(--research-muted); font-size: 14px; }
.research-source > small { color: #745392; font-size: 12px; }
.research-compare { margin-top: 56px; padding: clamp(24px, 4vw, 44px); border-radius: 24px; background: #eae3f3; }
.research-compare h3 { max-width: 29ch; font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.04em; line-height: 1.15; }
.research-compare__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 30px; }
.research-compare strong { display: block; margin-bottom: 8px; font-size: 16px; }
.research-compare p { color: #62546e; font-size: 14px; }
.research-compare > p { margin-top: 26px; padding-top: 22px; box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.1); }
.research-faq { padding-top: 0; }
.research-faq__layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 72px; }
.research-questions details { padding: 0 0 6px; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12); }
.research-questions summary { padding: 22px 0; min-height: 48px; cursor: pointer; font-size: 16px; font-weight: 650; line-height: 1.5; }
.research-questions p { padding: 0 20px 24px 0; color: var(--research-muted); font-size: 14px; }
.research-questions a { color: #7450af; text-underline-offset: 3px; }
.research-cta { padding: 72px 0; background: #eae3f3; }
.research-cta .landing-container { display: flex; justify-content: space-between; align-items: center; gap: 36px; }
.research-cta h2 { max-width: 17ch; }
.research-cta p { margin-top: 18px; max-width: 49ch; color: #62546e; }
.research-cta .landing-button { flex-shrink: 0; }
.site-page--research :is(a, summary):focus-visible { outline: 3px solid #9d7aff; outline-offset: 4px; }
@media (max-width: 900px) {
  .research-hero { padding-top: 56px; }
  .research-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .site-page--research h1 { max-width: 14ch; }
  .research-map { max-width: 620px; width: 100%; }
  .research-faq__layout { grid-template-columns: 1fr; gap: 0; }
  .research-preview__heading { flex-direction: column; align-items: start; gap: 12px; }
}
@media (max-width: 620px) {
  .research-hero { padding-block: 40px; }
  .site-page--research h1 { font-size: clamp(45px, 12vw, 64px); }
  .research-hero__copy { gap: 22px; }
  .research-hero__copy > p:not(.research-eyebrow) { font-size: 16px; }
  .research-section { padding-block: 56px; }
  .research-methods { padding-top: 20px; }
  .research-steps, .research-workflow, .research-sources, .research-compare__grid { grid-template-columns: 1fr; }
  .research-map { padding: 22px; border-radius: 26px; }
  .research-map__query { padding: 16px; border-radius: 12px; }
  .research-map__sources div { padding: 16px 12px; }
  .research-map__sources strong { font-size: 16px; }
  .research-map figcaption { flex-wrap: wrap; gap: 8px; }
  .research-screen { padding: 8px; border-radius: 24px; }
  .research-screen figcaption { padding: 8px 8px 16px; font-size: 11px; }
  .research-source { padding: 24px; }
  .research-source__head { flex-wrap: wrap; gap: 8px; }
  .research-faq { padding-top: 0; }
  .research-cta .landing-container { flex-direction: column; align-items: stretch; }
}
