:root {
  --insights-ink: #10161d;
  --insights-ink-2: #26313d;
  --insights-muted: #66717d;
  --insights-line: #d9dee4;
  --insights-paper: #f5f7f8;
  --insights-white: #ffffff;
  --insights-accent: #294d70;
  --insights-max: 1320px;
  --insights-display: "IBM Plex Sans", "Inter", "Helvetica Neue", Arial, sans-serif;
  --insights-sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --insights-mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--insights-white);
}

body.insights-index {
  margin: 0;
  color: var(--insights-ink);
  background:
    linear-gradient(rgba(16, 22, 29, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 22, 29, 0.025) 1px, transparent 1px),
    var(--insights-white);
  background-size: 72px 72px;
  font-family: var(--insights-sans);
  -webkit-font-smoothing: antialiased;
}

.insights-skip {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: #fff;
  background: var(--insights-ink);
  transform: translateY(-160%);
}

.insights-skip:focus {
  transform: translateY(0);
}

.insights-site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  min-height: 76px;
  padding: 0 max(24px, calc((100vw - var(--insights-max)) / 2));
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 34px;
  border-bottom: 1px solid var(--insights-line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.insights-brand {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--insights-ink);
  font: 600 19px/1 var(--insights-display);
  letter-spacing: -0.025em;
  text-decoration: none;
}

.insights-brand img {
  width: 42px;
  height: 42px;
  border: 1px solid var(--insights-line);
  border-radius: 50%;
  background: #fff;
}

.insights-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 32px);
}

.insights-nav a {
  position: relative;
  color: #4b5662;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.insights-nav a:hover,
.insights-nav a[aria-current="page"] {
  color: var(--insights-ink);
}

.insights-nav a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 1px;
  background: var(--insights-ink);
  content: "";
}

.insights-header-action {
  min-height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--insights-ink);
  color: #fff;
  background: var(--insights-ink);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.insights-main {
  width: min(100%, var(--insights-max));
  margin: 0 auto;
  border-right: 1px solid var(--insights-line);
  border-left: 1px solid var(--insights-line);
  background: rgba(255, 255, 255, 0.94);
}

.insights-hero {
  min-height: 650px;
  padding: clamp(64px, 8vw, 124px) clamp(26px, 6vw, 92px) clamp(58px, 7vw, 104px);
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: clamp(50px, 8vw, 130px);
  align-items: end;
  border-bottom: 1px solid var(--insights-line);
}

.insights-eyebrow,
.insights-section-label {
  color: #596572;
  font: 500 10px/1.3 var(--insights-mono);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.insights-hero h1 {
  max-width: 950px;
  margin: 46px 0 0;
  color: var(--insights-ink);
  font: 500 clamp(62px, 7vw, 112px)/0.96 var(--insights-display);
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.insights-hero-copy {
  padding-bottom: 8px;
}

.insights-hero-copy p {
  max-width: 560px;
  margin: 0;
  color: var(--insights-ink-2);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.65;
}

.insights-hero-copy small {
  display: block;
  margin-top: 28px;
  color: var(--insights-muted);
  font-size: 13px;
  line-height: 1.65;
}

.insights-catalog,
.insights-topics,
.insights-community {
  padding: clamp(56px, 7vw, 100px) clamp(26px, 6vw, 92px);
  border-bottom: 1px solid var(--insights-line);
}

.insights-section-head {
  margin-bottom: 42px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.insights-section-head h2 {
  margin: 14px 0 0;
  color: var(--insights-ink);
  font: 500 clamp(40px, 4.5vw, 68px)/1 var(--insights-display);
  letter-spacing: -0.045em;
}

.insights-section-head p {
  max-width: 500px;
  margin: 0;
  color: var(--insights-muted);
  font-size: 15px;
  line-height: 1.65;
}

.insights-feature-card {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
  border: 1px solid #cdd3da;
  color: var(--insights-ink);
  background: #fff;
  text-decoration: none;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.insights-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 66px rgba(16, 22, 29, 0.1);
}

.insights-feature-media {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border-right: 1px solid var(--insights-line);
  background: #eef1f3;
}

.insights-feature-media picture {
  position: absolute;
  inset: 0;
  display: block;
}

.insights-feature-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.insights-feature-copy {
  padding: clamp(34px, 5vw, 72px);
  display: flex;
  flex-direction: column;
}

.insights-feature-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--insights-muted);
  font: 500 9px/1.4 var(--insights-mono);
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.insights-feature-copy h3 {
  margin: 68px 0 26px;
  color: var(--insights-ink);
  font: 500 clamp(38px, 4vw, 62px)/1.02 var(--insights-display);
  letter-spacing: -0.045em;
}

.insights-feature-copy > p {
  margin: 0;
  color: #53606d;
  font-size: 16px;
  line-height: 1.72;
}

.insights-tags {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.insights-tags span {
  padding: 8px 10px;
  border: 1px solid var(--insights-line);
  color: #505b67;
  background: var(--insights-paper);
  font: 500 9px/1 var(--insights-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.insights-read {
  margin-top: auto;
  padding-top: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--insights-ink);
  font-size: 14px;
  font-weight: 700;
}

.insights-topic-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--insights-line);
  border-left: 1px solid var(--insights-line);
}

.insights-topic-grid article {
  min-height: 250px;
  padding: 28px;
  border-right: 1px solid var(--insights-line);
  border-bottom: 1px solid var(--insights-line);
  background: #fff;
}

.insights-topic-grid span {
  color: var(--insights-muted);
  font: 500 9px/1 var(--insights-mono);
}

.insights-topic-grid h3 {
  margin: 76px 0 14px;
  color: var(--insights-ink);
  font: 500 24px/1.05 var(--insights-display);
  letter-spacing: -0.03em;
}

.insights-topic-grid p {
  margin: 0;
  color: var(--insights-muted);
  font-size: 13px;
  line-height: 1.6;
}

.insights-community {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(44px, 8vw, 130px);
  align-items: center;
  color: #fff;
  background: var(--insights-ink);
}

.insights-community h2 {
  margin: 22px 0 0;
  color: #fff;
  font: 500 clamp(44px, 5vw, 76px)/1 var(--insights-display);
  letter-spacing: -0.045em;
}

.insights-community p {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
  line-height: 1.65;
}

.insights-community a {
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.insights-footer {
  padding: 44px max(24px, calc((100vw - var(--insights-max)) / 2));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  border-top: 1px solid var(--insights-line);
  color: var(--insights-muted);
  background: var(--insights-paper);
}

.insights-footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--insights-ink);
}

.insights-footer p {
  max-width: 780px;
  margin: 0;
  font-size: 12px;
  line-height: 1.65;
}

.insights-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.insights-footer a {
  color: var(--insights-ink);
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}

/* Shared refinements for the long-form article. */
body:not(.insights-index) {
  --navy: var(--insights-ink);
  --blue: var(--insights-accent);
  --ink: var(--insights-ink);
  font-family: var(--insights-sans);
}

body:not(.insights-index) h1,
body:not(.insights-index) h2,
body:not(.insights-index) h3 {
  color: var(--insights-ink);
  font-family: var(--insights-display);
}

body:not(.insights-index) h1 {
  font-weight: 500;
}

body:not(.insights-index) h2,
body:not(.insights-index) h3 {
  font-weight: 600;
}

body:not(.insights-index) .article-kicker,
body:not(.insights-index) .toc-label {
  color: #4d5965;
}

body:not(.insights-index) .article-shell {
  width: min(100%, 1180px);
}

body:not(.insights-index) .insights-site-header + main {
  padding-top: 58px;
}

@media (max-width: 1100px) {
  .insights-site-header {
    grid-template-columns: 1fr auto;
  }

  .insights-nav {
    display: none;
  }

  .insights-hero,
  .insights-feature-card,
  .insights-community {
    grid-template-columns: 1fr;
  }

  .insights-hero {
    min-height: auto;
  }

  .insights-feature-media {
    min-height: 420px;
    border-right: 0;
    border-bottom: 1px solid var(--insights-line);
  }

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

@media (max-width: 720px) {
  .insights-site-header {
    min-height: 68px;
    padding: 0 18px;
    gap: 14px;
  }

  .insights-brand {
    font-size: 17px;
  }

  .insights-brand img {
    width: 38px;
    height: 38px;
  }

  .insights-header-action {
    min-height: 38px;
    padding: 0 12px;
    font-size: 11px;
  }

  .insights-hero,
  .insights-catalog,
  .insights-topics,
  .insights-community {
    padding-right: 20px;
    padding-left: 20px;
  }

  .insights-hero {
    gap: 40px;
  }

  .insights-hero h1 {
    margin-top: 36px;
    font-size: clamp(50px, 15vw, 72px);
  }

  .insights-section-head {
    align-items: start;
    flex-direction: column;
  }

  .insights-feature-media {
    min-height: 260px;
  }

  .insights-feature-copy {
    padding: 28px 22px;
  }

  .insights-feature-copy h3 {
    margin-top: 48px;
    font-size: 39px;
  }

  .insights-topic-grid {
    grid-template-columns: 1fr;
  }

  .insights-topic-grid article {
    min-height: 210px;
  }

  .insights-topic-grid h3 {
    margin-top: 56px;
  }

  .insights-footer {
    grid-template-columns: 1fr;
    padding: 36px 20px;
  }

  .insights-footer nav {
    justify-content: flex-start;
  }

  body:not(.insights-index) .insights-site-header + main {
    padding-top: 34px;
  }

  body:not(.insights-index) .toc-panel {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .insights-feature-card {
    transition: none;
  }
}
