/* Insights page. Scoped so it does not affect the WordPress admin or other themes. */
body.th-site {
.page-insights {
  background:
    radial-gradient(ellipse at 78% 8%, rgba(112, 72, 245, 0.1) 0%, rgba(112, 72, 245, 0.04) 28%, transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #fdfdff 52%, #f8f6ff 100%);
}
.page-insights .ins-kicker { color: #7048f5; letter-spacing: 0.22em; font-size: 11px; }
.ins-hero {
  padding: 18px 0 6px;
  background:
    radial-gradient(ellipse 62% 88% at 78% 46%, rgba(196, 168, 255, 0.22) 0%, rgba(226, 214, 255, 0.1) 36%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, #ffffff 0%, #fcfbff 100%);
}
.ins-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
  column-gap: 8px;
  align-items: center;
}
.ins-hero h1 {
  max-width: 100%;
  font-size: 50px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.02;
  color: #151638;
}
.ins-hero h1 span {
  background: linear-gradient(135deg, #7048f5, #6546e8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ins-hero-lead {
  max-width: 100%;
  margin-top: 14px;
  color: #5b5c82;
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.5;
}
.ins-explore {
  height: 44px;
  margin-top: 18px;
  padding: 0 18px;
  background: linear-gradient(135deg, #7048f5, #6546e8);
}
.ins-explore:hover svg { transform: translateY(3px); }
.ins-hero-art {
  position: relative;
  height: 420px;
  min-width: 0;
  margin-left: 0;
  overflow: hidden;
  background: transparent;
}
.ins-hero-art img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  margin-left: 0;
  object-fit: cover;
  object-position: 62% 40%;
  background: transparent;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.4) 4%, #000 12%, #000 100%),
    linear-gradient(180deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.4) 4%, #000 12%, #000 100%),
    linear-gradient(180deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-composite: intersect;
}
.ins-hero-note {
  position: absolute;
  top: 8px;
  right: 16px;
  z-index: 3;
  margin: 0;
  color: #6546e8;
  font-size: 26px;
  text-align: left;
  transform: rotate(-8deg);
  pointer-events: none;
}
.ins-chip {
  position: absolute;
  right: 18px;
  bottom: 22px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 18px rgba(40, 30, 90, 0.1);
  color: #6546e8;
}
.ins-chip strong, .ins-chip em { display: block; font-style: normal; }
.ins-chip strong { font-size: 12px; font-weight: 800; color: #17183d; }
.ins-chip em { margin-top: 1px; font-size: 11px; color: #5b5c82; }
.ins-block { padding: 34px 0; }
.ins-split-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.7fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 18px;
}
.ins-split-head > p {
  margin: 0 0 6px;
  color: #5b5c82;
  font-size: 14px;
  line-height: 1.5;
}
.page-insights h2 { color: #17183d; }
.page-insights h2 span { color: #6546e8; }
.ins-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.ins-feature {
  position: relative;
  display: grid;
  grid-template-columns: 50% 50%;
  min-height: 210px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #e8e4f5;
  background: #fff;
  box-shadow: 0 10px 30px rgba(75, 55, 150, 0.08);
}
.ins-feature-media {
  position: absolute;
  inset: 0 auto 0 0;
  width: 78%;
}
.ins-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  clip-path: polygon(0 0, 70% 0, 46% 100%, 0 100%);
}
.ins-feature-copy {
  position: relative;
  z-index: 1;
  grid-column: 2;
  padding: 16px 40px 46px 4px;
}
.ins-feature-copy span {
  color: #7048f5;
  font-size: 12px;
  font-weight: 800;
}
.ins-feature-copy h3 {
  margin-top: 4px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #17183d;
}
.ins-feature-copy p {
  margin-top: 6px;
  color: #5b5c82;
  font-size: 13px;
  line-height: 1.4;
}
.ins-feature-arrow {
  position: absolute;
  left: 12px;
  bottom: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: #6546e8;
  box-shadow: 0 4px 12px rgba(40, 30, 90, 0.12);
}
.ins-feature-icon {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #6546e8;
  background: #f3efff;
}
.ins-signals, .ins-perspectives {
  display: grid;
  gap: 12px;
}
.ins-signals { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.ins-signal, .ins-perspective, .ins-lens-card {
  border-radius: 14px;
  border: 1px solid #e8e4f5;
  background: #fff;
  box-shadow: 0 8px 22px rgba(75, 55, 150, 0.06);
}
.ins-signal { padding: 14px 12px 16px; }
.ins-signal h3, .ins-perspective h3, .ins-lens-card strong {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #17183d;
  line-height: 1.25;
}
.ins-signal p, .ins-perspective p {
  margin-top: 6px;
  color: #5b5c82;
  font-size: 12px;
  line-height: 1.4;
}
.ins-signal-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
}
.tone-violet .ins-signal-icon, .ins-signal-icon.tone-violet { color: #6546e8; background: #f0ecff; }
.tone-rose .ins-signal-icon { color: #d45386; background: #ffe8f1; }
.tone-blue .ins-signal-icon { color: #3d73d6; background: #e7f0ff; }
.tone-lilac .ins-signal-icon { color: #7a4ed4; background: #f4eaff; }
.tone-pink .ins-signal-icon { color: #d4537a; background: #ffe8ee; }
.tone-green .ins-signal-icon { color: #2f9d6a; background: #e7f8ef; }
.ins-process { position: relative; overflow: hidden; }
.ins-process::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 250px;
  background: url("../images/insights-process-mountains.png") center bottom / 100% auto no-repeat;
  opacity: 0.9;
  pointer-events: none;
}
.ins-process-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.4fr);
  gap: 28px;
  align-items: center;
}
.ins-process-lead {
  max-width: 280px;
  margin-top: 12px;
  color: #5b5c82;
  font-size: 14px;
  line-height: 1.5;
}
.ins-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ins-steps::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 10%;
  right: 10%;
  border-top: 1.5px dotted #c4b4f5;
}
.ins-step-icon {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #6546e8;
  background: #fff;
  border: 1px solid #ddd4fb;
}
.ins-steps strong {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: #17183d;
}
.ins-steps p {
  margin-top: 6px;
  color: #5b5c82;
  font-size: 12px;
  line-height: 1.4;
}
.ins-perspectives { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ins-perspective {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-height: 118px;
  padding: 16px 14px;
}
.ins-perspective h3 { margin-top: 0; font-size: 15px; }
.ins-lens {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1fr) minmax(240px, 0.95fr);
  gap: 18px;
  align-items: center;
}
.ins-lens-lead {
  max-width: 280px;
  margin: 12px 0 16px;
  color: #5b5c82;
  font-size: 14px;
  line-height: 1.5;
}
.ins-lens-photo {
  position: relative;
  margin: 0;
  min-height: 230px;
  border-radius: 16px;
  overflow: hidden;
}
.ins-lens-photo img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}
.ins-lens-photo p {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  margin: 0;
  color: #f7f3ff;
  font-size: 30px;
  text-align: center;
  text-shadow: 0 8px 22px rgba(30, 16, 70, 0.45);
}
.ins-lens-list { display: grid; gap: 10px; }
.ins-lens-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  text-decoration: none;
  color: inherit;
}
.ins-lens-card strong { margin-top: 0; font-size: 13.5px; }
.ins-lens-card em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  color: #5b5c82;
  font-size: 12px;
  line-height: 1.4;
}
.ins-lens-card svg:last-child { color: #6546e8; }
.ins-news-wrap { padding: 8px 0 36px; }
.ins-news {
  position: relative;
  overflow: hidden;
  min-height: 148px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  padding: 26px 28px;
  border-radius: 22px;
  color: #fff;
  background:
    linear-gradient(100deg, rgba(22, 16, 58, 0.2), rgba(88, 48, 180, 0.12)),
    radial-gradient(420px 180px at 78% 70%, rgba(150, 110, 255, 0.35), transparent 70%),
    linear-gradient(110deg, #211a59, #4f31b5 58%, #7048f5);
}
.ins-news::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 280px;
  height: 100%;
  background: url("../images/footer-mountains.png") right center / cover no-repeat;
  opacity: 0.45;
  mask-image: linear-gradient(90deg, transparent, #000 35%);
  pointer-events: none;
}
.ins-news .eyebrow { color: rgba(255, 255, 255, 0.72); }
.ins-news h2 { color: #fff; font-size: clamp(24px, 2.4vw, 32px); }
.ins-news > div > p { margin-top: 6px; max-width: 420px; color: rgba(255, 255, 255, 0.82); font-size: 14px; }
.ins-news-form, .ins-news-done {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ins-news-form input {
  width: 240px;
  height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font: inherit;
  font-size: 13px;
}
.ins-news-form input::placeholder { color: rgba(255, 255, 255, 0.72); }
.ins-news-form input:focus { outline: 2px solid rgba(255, 255, 255, 0.7); }
.ins-news-done { margin: 0; font-size: 14px; color: #fff; }
.ins-news-note {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #efe8ff;
  font-size: 22px;
  transform: rotate(-8deg);
}
.ins-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
@media (max-width: 1100px) {
  .ins-hero-grid, .ins-process-grid, .ins-lens { grid-template-columns: 1fr; }
  .ins-hero-art { height: 300px; }
  .ins-signals { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ins-perspectives, .ins-features { grid-template-columns: 1fr 1fr; }
  .ins-news { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .ins-hero h1 { font-size: 36px; }
  .ins-hero-art { height: 220px; }
  .ins-feature { display: block; min-height: 0; }
  .ins-feature-media { position: relative; width: 100%; height: 150px; }
  .ins-feature-media img { clip-path: none; }
  .ins-feature-copy { padding: 14px 16px 44px; }
  .ins-hero-note, .ins-chip, .ins-news-note { display: none; }
  .ins-split-head, .ins-features, .ins-signals, .ins-perspectives, .ins-steps { grid-template-columns: 1fr; }
  .ins-signals { grid-template-columns: 1fr 1fr; }
  .ins-steps::before { display: none; }
  .ins-news-form { flex-direction: column; align-items: stretch; }
  .ins-news-form input { width: 100%; }
}
}
