/* Insights journal: page-scoped composition and compositor-friendly motion. */
.insights-page { --insights-paper: #f4f6fa; --insights-red: #c22e3b; }
.insights-page main .container { width: min(1440px, calc(100% - clamp(32px, 8vw, 128px))) !important; }
.insights-page .insights-hero {
  padding: 30px 0 38px;
  isolation: isolate;
  background: #081426;
}
.insights-page .insights-hero::after { display: none; }
.insights-ambient {
  position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: linear-gradient(90deg, #ffffff05 1px, transparent 1px) 0 0 / 80px 80px,
    linear-gradient(#ffffff05 1px, transparent 1px) 0 0 / 80px 80px;
  mask-image: linear-gradient(#000, #000 75%, transparent);
}
.insights-ambient::before {
  content: ""; position: absolute; inset: -20%;
  background: radial-gradient(ellipse at 82% 36%, #92334480, transparent 38%),
    radial-gradient(ellipse at 20% 80%, #234c734f, transparent 42%);
}
.insights-masthead {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 44px; margin-bottom: clamp(32px, 4vw, 64px); color: #a4b0c2; font-size: .875rem;
}
.insights-motion-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  flex-shrink: 0; min-height: 44px; padding: 8px 16px; border-radius: 30px;
  border: 1px solid #ffffff30; background: #ffffff08; color: #d8deea; font-size: .875rem;
}
.insights-motion-toggle[hidden] { display: none; }
.insights-page .insights-hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.insights-hero-grid > * { min-width: 0; }
.insights-edition { font-size: .875rem; letter-spacing: .07em; gap: 12px; margin-bottom: 28px; }
.insights-edition > span:first-child { border-left: 3px solid #f16c75; padding-left: 12px; }
.insights-edition > span:last-child { color: #aab5c7; }
.insights-page .insights-hero h1 { font-size: clamp(2.8rem, 4.4vw, 5rem) !important; line-height: 1.09; letter-spacing: -.045em; max-width: 15ch; }
.insights-page .insights-hero h1 > span { white-space: normal; margin: 0; }
.insights-page .insights-hero h1 em { position: relative; display: inline-block; color: #ff7883; }
.insights-page .insights-hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.04em; height: 3px; background: #ff7883; transform-origin: left; }
.insights-page .insights-hero-copy > p { max-width: 51ch; margin-top: 28px; font-size: 1.0625rem; line-height: 1.8; color: #bac5d6; }
.insights-hero-actions { margin-top: 30px; gap: 18px; }
.insights-hero-actions .button { min-height: 54px; border-radius: 10px; padding-inline: 22px; }
.insights-hero-actions > span { font-size: .875rem; color: #b4c0d2; }
.insights-page .insights-cover {
  display: block; min-height: 540px; border-radius: 24px; background: #12233a;
  box-shadow: 0 28px 60px #0003; border: 1px solid #ffffff29;
  transition: transform 480ms cubic-bezier(.22,1,.36,1), border-color 300ms ease;
}
.insights-page .insights-cover img { height: 58%; z-index: -2; object-position: center 40%; filter: none; transition: transform 800ms cubic-bezier(.22,1,.36,1); }
.insights-page .insights-cover-shade { background: linear-gradient(0deg, #102036 37%, #10203610 85%); }
.insights-page .insights-cover::after {
  inset: -50%; border: 0; background: linear-gradient(110deg, transparent 42%, #ffffff12 49%, transparent 56%);
  transform: translateX(-75%); transition: transform 850ms ease;
}
.insights-cover-index { top: 24px; left: 24px; border: 1px solid #ffffff30; background: #081426b8; border-radius: 30px; padding: 9px 13px; font-size: .8125rem; letter-spacing: .06em; }
.insights-cover-content { left: 32px; right: 32px; bottom: 28px; gap: 16px; }
.insights-cover-content small { font-size: .8125rem; letter-spacing: .065em; line-height: 1.5; }
.insights-cover-content strong { max-width: none; font-size: clamp(1.75rem, 2.6vw, 2.75rem); letter-spacing: -.035em; line-height: 1.12; }
.insights-cover-content > .insights-cover-summary { display: block; padding: 0; margin: 0; border: 0; font-weight: 400; font-size: 1rem; line-height: 1.6; color: #bdc9da; }
.insights-cover-content > .insights-cover-read { padding-top: 18px; font-size: .9375rem; }
.insights-cover-read svg { width: 40px; height: 40px; padding: 9px; border: 1px solid #ffffff3a; border-radius: 50%; transition: transform 300ms ease, background-color 300ms ease; }
.insights-page .insights-topic-rail { grid-template-columns: .75fr repeat(3, 1fr); margin-top: 56px; border-radius: 14px; background: #ffffff06; backdrop-filter: none; }
.insights-page .insights-topic-rail > span, .insights-page .insights-topic-rail a { min-height: 78px; padding: 18px 24px; }
.insights-page .insights-topic-rail > span { font-size: .8125rem; letter-spacing: .06em; }
.insights-page .insights-topic-rail a { position: relative; isolation: isolate; overflow: hidden; font-size: .9375rem; }
.insights-page .insights-topic-rail a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #d74350; transform: translateY(102%); transition: transform 360ms cubic-bezier(.22,1,.36,1); }
.insights-topic-rail a svg { transition: transform 280ms ease; }
.insights-page .insights-library { padding: clamp(56px, 7vw, 100px) 0; background: #f4f6fa; }
.insights-library-head { grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; margin-bottom: 40px; }
.insights-library-head h2 { max-width: 20ch; font-size: clamp(2rem, 3.5vw, 3.5rem) !important; letter-spacing: -.04em; line-height: 1.13; }
.insights-library-head > p { max-width: 47ch; font-size: 1rem; border-left: 0; padding: 0; }
.insights-page .insights-block-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.insights-page .insights-guide {
  grid-column: auto; display: flex; flex-direction: column; gap: 28px;
  min-height: 480px; padding: clamp(24px, 2.5vw, 36px); border-radius: 18px;
  background: #fff; box-shadow: none; transition: transform 400ms cubic-bezier(.22,1,.36,1), border-color 300ms ease;
}
.insights-page .insights-guide-lead { background: #0f213a; color: #fff; }
.insights-guide::before { content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 3px; background: #e44a4b; transform: scaleX(0); transform-origin: left; transition: transform 400ms ease; }
.insights-guide-number { font-size: 2rem; line-height: 1; color: #d23a47; }
.insights-guide-lead .insights-guide-number { color: #ff8990; }
.insights-page .insights-guide-body { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.insights-page .insights-guide-meta { font-size: .8125rem; letter-spacing: .05em; }
.insights-page .insights-guide-body h3 { font-size: clamp(1.3rem, 1.65vw, 1.65rem); line-height: 1.3; letter-spacing: -.025em; max-width: none; margin: 16px 0; }
.insights-page .insights-guide-body p { font-size: 1rem; line-height: 1.75; max-width: none; margin: 0 0 24px; }
.insights-page .insights-guide-tags { margin-top: auto; gap: 7px; }
.insights-page .insights-guide-tags span { font-size: .8125rem; border-radius: 6px; padding: 6px 9px; }
.insights-page .insights-guide-body > a { margin-top: 24px; padding-top: 22px; font-size: .9375rem; gap: 14px; }
.insights-page .insights-guide-mark { position: absolute; top: 28px; right: 28px; display: block; opacity: .7; }
.insights-guide-mark svg { width: 28px; height: 28px; }
.insights-guide-mark span { display: none; }
.insights-guide, .insights-library { scroll-margin-top: 150px; }
.insights-page .insights-decision-band { padding: 60px 0; background: #102139; }
.insights-page .insights-decision-grid { grid-template-columns: minmax(0, 1fr) 290px; gap: 60px; align-items: center; }
.insights-decision-label { display: none; }
.insights-page .insights-decision-copy h2 { max-width: 26ch; color: #fff; font-size: clamp(2rem, 3vw, 3rem) !important; line-height: 1.18; }
.insights-decision-copy p { color: #b9c7d8; }
.insights-decision-copy .kicker { color: #ff8990; }
.insights-page .insights-decision-link { min-height: 150px; border-radius: 14px; border-color: #ffffff38; background: #ffffff06; font-size: 1.25rem; transition: transform 350ms ease, background-color 350ms ease; }
.insights-page :is(a, button):focus-visible { outline: 3px solid #e75e6a; outline-offset: 5px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .insights-page .insights-cover:hover { transform: translateY(-7px); border-color: #ff899088; }
  .insights-page .insights-cover:hover::after { transform: translateX(75%); }
  .insights-page .insights-cover:hover img { transform: scale(1.065); filter: none; }
  .insights-cover:hover .insights-cover-read svg { transform: rotate(45deg); background: #d74350; }
  .insights-page .insights-topic-rail a:hover { background: transparent; color: #fff; }
  .insights-page .insights-topic-rail a:hover::before { transform: translateY(0); }
  .insights-page .insights-topic-rail a:hover svg { color: #fff; transform: translateX(4px); }
  .insights-page .insights-guide:hover { transform: translateY(-8px); border-color: #d7435080; box-shadow: none; }
  .insights-guide:hover::before, .insights-guide:focus-within::before { transform: scaleX(1); }
  .insights-page .insights-decision-link:hover { background: #d74350; color: #fff; transform: translateY(-4px); }
}
@keyframes journal-glow { from { transform: translate3d(-4%, 2%, 0); } to { transform: translate3d(5%, -5%, 0); } }
@keyframes journal-rise { from { transform: translateY(18px); } to { transform: translateY(0); } }
@keyframes journal-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes journal-detail { from { opacity: .5; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: no-preference) {
  .insights-ready .insights-ambient::before { animation: journal-glow 16s ease-in-out infinite alternate; }
  .insights-ready .insights-hero h1 > span { animation: journal-rise 750ms cubic-bezier(.22,1,.36,1) both; }
  .insights-ready .insights-hero h1 > span:nth-child(2) { animation-delay: 80ms; }
  .insights-ready .insights-hero h1 > span:nth-child(3) { animation-delay: 160ms; }
  .insights-ready .insights-hero h1 em::after { animation: journal-line 850ms 300ms ease both; }
  .insights-ready .insights-cover { animation: journal-rise 950ms cubic-bezier(.22,1,.36,1); }
  .insights-ready .insights-guide.in-view :is(.insights-guide-meta, h3, p) { animation: journal-detail 650ms ease both; }
  .insights-ready .insights-guide.in-view h3 { animation-delay: 70ms; }
  .insights-ready .insights-guide.in-view p { animation-delay: 140ms; }
}
.insights-page[data-insights-paused="true"] main *, .insights-page[data-insights-paused="true"] main *::before, .insights-page[data-insights-paused="true"] main *::after { animation-play-state: paused !important; }
@media (min-width: 1800px) { .insights-page main .container { width: min(1640px, calc(100% - 12vw)) !important; } }
@media (max-width: 1050px) {
  .insights-page .insights-hero-grid { grid-template-columns: 1.05fr 1fr; gap: 28px; }
  .insights-page .insights-hero h1 { font-size: clamp(2.5rem, 4.5vw, 3.6rem) !important; }
  .insights-page .insights-cover { min-height: 510px; }
  .insights-cover-content { left: 24px; right: 24px; }
  .insights-page .insights-block-grid { grid-template-columns: 1fr; }
  .insights-page .insights-guide { min-height: 0; }
  .insights-page .insights-topic-rail { grid-template-columns: repeat(3, 1fr); }
  .insights-page .insights-topic-rail > span { display: none; }
  .insights-page .insights-topic-rail a { padding: 18px; }
}
@media (max-width: 760px) {
  .insights-page .insights-hero { padding-top: 20px; }
  .insights-masthead { margin-bottom: 34px; font-size: .8125rem; }
  .insights-masthead > span { max-width: 19ch; }
  .insights-motion-toggle { font-size: .8125rem; padding-inline: 12px; }
  .insights-page .insights-hero-grid, .insights-library-head, .insights-page .insights-decision-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .insights-page .insights-hero h1 { font-size: clamp(2.5rem, 8vw, 4rem) !important; max-width: 17ch; }
  .insights-edition { gap: 12px; font-size: .8125rem; }
  .insights-page .insights-cover { min-height: 470px; }
  .insights-cover-content strong { font-size: 2rem; }
  .insights-hero-actions { align-items: flex-start; }
  .insights-page .insights-topic-rail { margin-top: 32px; grid-template-columns: 1fr; }
  .insights-page .insights-topic-rail a { min-height: 62px; }
  .insights-page .insights-guide { padding: 28px; }
  .insights-page .insights-decision-link { min-height: 108px; }
}
@media (prefers-reduced-motion: reduce) {
  .insights-page main *, .insights-page main *::before, .insights-page main *::after { animation: none !important; transition: none !important; }
  .insights-motion-toggle { display: none; }
}
