:root {
  --white: #ffffff;
  --paper: #f8fafc;
  --paper-2: #f2f5f9;
  --ink: #101828;
  --ink-soft: #344054;
  --muted: #667085;
  --line: #e4e7ec;
  --line-strong: #d0d5dd;
  --blue: #2161f0;
  --blue-soft: #edf3ff;
  --green: #12a36f;
  --green-soft: #eafaf4;
  --black: #07101f;
  --container: 1220px;
  --header-height: 76px;
  --shadow-xs: 0 4px 14px rgba(16, 24, 40, 0.05);
  --shadow-sm: 0 10px 30px rgba(16, 24, 40, 0.08);
  --shadow-md: 0 22px 60px rgba(16, 24, 40, 0.11);
  --shadow-lg: 0 35px 95px rgba(16, 24, 40, 0.15);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.18, .89, .32, 1.28);
  --heading: "Hero", "Inter", sans-serif;
  --body: "Poppins", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.is-loading,
body.menu-open {
  overflow: hidden;
}

button,
input { font: inherit; }

button {
  border: 0;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p { margin: 0; }

h1,
h2,
h3,
strong { font-family: var(--heading); }

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section { padding: 100px 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  transform: translateY(-150%);
  transition: transform 0.25s ease;
}

.skip-link:focus { transform: none; }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 3000;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
}

/* LOADER */

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 22px;
  background: var(--white);
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.page-loader img { width: 145px; }

.loader-track {
  width: 180px;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line);
}

.loader-track span {
  display: block;
  width: 45%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--green));
  animation: loader-slide 1.1s var(--ease) infinite;
}

/* NAV */

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2000;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(18px);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s var(--ease);
}

.site-header.scrolled {
  border-color: rgba(228, 231, 236, 0.9);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 25px rgba(16, 24, 40, 0.05);
}

.nav-shell {
  display: grid;
  min-height: var(--header-height);
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 30px;
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
}

.brand img {
  width: 128px;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.desktop-nav a {
  position: relative;
  padding: 28px 0 25px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  content: "";
  opacity: 0;
  transform: scaleX(0);
  transition: opacity 0.25s ease, transform 0.35s var(--ease);
}

.desktop-nav a:hover,
.desktop-nav a.active { color: var(--ink); }

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.text-link {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 500;
}

.text-link:hover { color: var(--blue); }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.button i {
  font-style: normal;
  transition: transform 0.3s var(--ease);
}

.button:hover i { transform: translate(3px, -2px); }

.button-small {
  min-height: 42px;
  padding-inline: 16px;
  font-size: 10px;
}

.button-dark {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.14);
}

.button-dark:hover,
.button-primary:hover {
  background: #144fd7;
  box-shadow: 0 12px 28px rgba(33, 97, 240, 0.22);
  transform: translateY(-2px);
}

.button-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 10px 26px rgba(33, 97, 240, 0.22);
}

.button-secondary {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  align-content: center;
  gap: 6px;
  border-radius: 50%;
  background: var(--paper);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}

.menu-toggle.active span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle.active span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: var(--header-height);
  right: 0;
  left: 0;
  display: none;
  height: calc(100dvh - var(--header-height));
  overflow: auto;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-14px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.35s var(--ease);
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mobile-menu-inner {
  display: grid;
  width: min(calc(100% - 36px), 600px);
  margin-inline: auto;
  padding: 20px 0 40px;
}

.mobile-menu-inner > a {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
}

.mobile-menu-inner > a i {
  color: var(--muted);
  font-style: normal;
}

.mobile-menu-inner > a.active { color: var(--blue); }

.mobile-discovery-button {
  min-height: 52px !important;
  justify-content: center !important;
  margin-top: 18px;
  border: 0 !important;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white) !important;
}

/* COMMON */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: 0.12s; }

.eyebrow,
.kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--blue);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--green));
}

.kicker-light { color: #9ab7ff; }

.section-heading {
  max-width: 850px;
  margin-bottom: 46px;
}

.section-heading.split {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.42fr);
  align-items: end;
  gap: 55px;
}

.section-heading h2,
.library-heading h2,
.insight-cta-copy h2 {
  margin-top: 14px;
  font-size: clamp(42px, 4.8vw, 64px);
  font-weight: 650;
  letter-spacing: -0.056em;
  line-height: 1.04;
}

.section-heading p,
.insight-cta-copy > p {
  margin-top: 15px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.section-heading.split > p { margin-top: 0; }

/* HERO */

.insights-hero {
  position: relative;
  min-height: 900px;
  overflow: clip;
  padding: 138px 0 40px;
  background: radial-gradient(circle at 84% 8%, rgba(33, 97, 240, 0.08), transparent 28%), linear-gradient(180deg, #fff, #f8faff 75%, #fff);
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(16, 24, 40, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(16, 24, 40, 0.025) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 82%, transparent);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-orb-blue {
  top: 55px;
  right: -150px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(33, 97, 240, 0.11), transparent 68%);
}

.hero-orb-green {
  bottom: 0;
  left: 23%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(18, 163, 111, 0.08), transparent 70%);
}

.insights-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(540px, 1.12fr);
  align-items: center;
  gap: 56px;
}

.insights-hero-copy h1 {
  max-width: 760px;
  margin-top: 23px;
  font-size: clamp(54px, 6.2vw, 82px);
  font-weight: 650;
  letter-spacing: -0.067em;
  line-height: 0.98;
}

.insights-hero-copy h1 em {
  display: block;
  color: var(--blue);
  font-style: normal;
}

.insights-hero-copy > p {
  max-width: 660px;
  margin-top: 23px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 27px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.hero-proof article {
  display: grid;
  gap: 5px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.hero-proof strong { font-size: 17px; }

.hero-proof span {
  color: var(--muted);
  font-size: 9px;
}

.insights-hero-visual {
  position: relative;
  min-height: 630px;
  perspective: 1200px;
}

.hero-editorial-shell {
  position: absolute;
  inset: 36px 25px 72px 36px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--paper);
  box-shadow: var(--shadow-lg);
}

.hero-editorial-shell > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-editorial-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 26%, rgba(7, 16, 31, 0.84)), linear-gradient(90deg, rgba(33, 97, 240, 0.10), transparent);
}

.editorial-console {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 19px;
  background: rgba(10, 20, 36, 0.72);
  color: var(--white);
  backdrop-filter: blur(18px);
}

.editorial-console-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.editorial-console-head > div { display: grid; gap: 4px; }

.editorial-console-head span,
.editorial-console-head small {
  color: rgba(255, 255, 255, 0.56);
  font-size: 7px;
}

.editorial-console-head strong { font-size: 14px; }

.editorial-console-head small {
  display: flex;
  align-items: center;
  gap: 6px;
}

.editorial-console-head small i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5fddb0;
  box-shadow: 0 0 0 5px rgba(95, 221, 176, 0.12);
}

.editorial-console-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 15px;
}

.editorial-console-grid article {
  display: grid;
  gap: 3px;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.editorial-console-grid span,
.editorial-console-grid small {
  color: rgba(255, 255, 255, 0.48);
  font-size: 6px;
}

.editorial-console-grid strong { font-size: 13px; }

.editorial-chart {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.editorial-chart > span {
  color: rgba(255, 255, 255, 0.50);
  font-size: 7px;
}

.editorial-chart i {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.editorial-chart b {
  display: block;
  width: var(--value);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), #80aaff);
  transform: scaleX(0);
  transform-origin: left;
  animation: fill-bar 1.1s var(--ease) 0.7s forwards;
}

.editorial-chart b.green { background: linear-gradient(90deg, var(--green), #69ddb2); }
.editorial-chart b.dark { background: linear-gradient(90deg, #98a2b3, #fff); }

.hero-insight-float {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid rgba(208, 213, 221, 0.86);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 17px 46px rgba(16, 24, 40, 0.14);
  backdrop-filter: blur(16px);
  animation: floating-card 5.4s ease-in-out infinite;
}

.hero-insight-float > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 8px;
  font-weight: 700;
}

.hero-insight-float > span.green {
  background: var(--green-soft);
  color: var(--green);
}

.hero-insight-float > span.dark {
  background: var(--ink);
  color: var(--white);
}

.hero-insight-float > div { display: grid; gap: 2px; }
.hero-insight-float strong { font-size: 9px; }
.hero-insight-float small { color: var(--muted); font-size: 7px; }

.float-one { top: 0; left: 0; }
.float-two { top: 108px; right: -3px; animation-delay: -1.8s; }
.float-three { right: 28px; bottom: 18px; animation-delay: -3.4s; }

.insight-search-shell {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  margin-top: 25px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
}

.insight-search {
  display: grid;
  min-height: 54px;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 0 13px;
  border-radius: 13px;
  background: var(--paper);
}

.insight-search svg {
  width: 20px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.8;
  stroke-linecap: round;
}

.insight-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
}

.insight-search kbd {
  padding: 5px 7px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  color: var(--muted);
  font-family: var(--body);
  font-size: 8px;
}

.insight-search-status {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 10px;
}

.insight-search-status span {
  color: var(--muted);
  font-size: 9px;
  white-space: nowrap;
}

.insight-search-status button,
.library-status button {
  background: transparent;
  color: var(--blue);
  font-size: 9px;
  font-weight: 600;
}

/* CARDS */

.featured-section { background: var(--white); }

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.library-section { background: var(--paper); }

.library-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 30px;
}

.library-heading h2 { max-width: 820px; }

.library-status {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 6px;
}

.library-status span {
  color: var(--muted);
  font-size: 9px;
  white-space: nowrap;
}

.insight-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 34px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.insight-filter button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease);
}

.insight-filter button:hover,
.insight-filter button.active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
  transform: translateY(-2px);
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.insight-card {
  position: relative;
  display: flex;
  min-height: 460px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: var(--white);
  box-shadow: var(--shadow-xs);
  transition: transform 0.35s var(--ease), border-color 0.35s ease, box-shadow 0.35s var(--ease);
}

.insight-card:hover {
  border-color: rgba(33, 97, 240, 0.18);
  box-shadow: var(--shadow-md);
  transform: translateY(-7px);
}

.insight-card.is-hidden { display: none; }

.insight-image,
.insight-graphic {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  background: var(--paper);
}

.insight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.insight-card:hover .insight-image img { transform: scale(1.045); }

.insight-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(7, 16, 31, 0.28));
}

.insight-graphic {
  display: grid;
  place-items: center;
  background: radial-gradient(circle at top right, rgba(33, 97, 240, 0.12), transparent 34%), var(--paper);
}

.insight-graphic > span {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border-radius: 21px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 16px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--spring);
}

.insight-card:nth-child(even) .insight-graphic > span {
  background: var(--green-soft);
  color: var(--green);
}

.insight-card:hover .insight-graphic > span {
  transform: rotate(-6deg) scale(1.06);
}

.insight-graphic i {
  position: absolute;
  border: 1px dashed rgba(33, 97, 240, 0.14);
  border-radius: 50%;
}

.insight-graphic i:nth-of-type(1) { width: 120px; height: 120px; }
.insight-graphic i:nth-of-type(2) { width: 165px; height: 165px; }
.insight-graphic i:nth-of-type(3) { width: 205px; height: 205px; }

.insight-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 21px;
}

.insight-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.insight-meta span {
  padding: 6px 8px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.insight-meta small {
  color: var(--muted);
  font-size: 7px;
}

.insight-card h3 {
  margin-top: 21px;
  font-size: 22px;
  letter-spacing: -0.043em;
  line-height: 1.18;
}

.insight-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
}

.insight-card button {
  display: flex;
  width: fit-content;
  min-height: 39px;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 0 11px;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 8px;
  font-weight: 600;
  transition: color 0.3s ease, background 0.3s ease, transform 0.3s var(--ease);
}

.insight-card button i { font-style: normal; }

.insight-card button:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.insight-empty {
  display: grid;
  min-height: 360px;
  place-items: center;
  align-content: center;
  gap: 10px;
  margin-top: 28px;
  border: 1px dashed var(--line-strong);
  border-radius: 24px;
  background: var(--white);
  text-align: center;
}

.insight-empty > span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 17px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 24px;
}

.insight-empty strong { font-size: 22px; }
.insight-empty p { color: var(--muted); font-size: 12px; }

/* CTA */

.insight-cta {
  padding: 70px 0 90px;
  background: var(--white);
}

.insight-cta-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: 45px;
  overflow: hidden;
  min-height: 470px;
  padding: 40px;
  border-radius: 32px;
  background: radial-gradient(circle at 78% 20%, rgba(33, 97, 240, 0.24), transparent 30%), linear-gradient(135deg, #07101e, #10203a);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.insight-cta-copy h2 {
  font-size: clamp(42px, 5vw, 64px);
}

.insight-cta-copy > p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.58);
}

.newsletter-form {
  display: grid;
  max-width: 650px;
  grid-template-columns: 1fr auto;
  gap: 9px;
  margin-top: 23px;
}

.newsletter-field input {
  width: 100%;
  min-height: 50px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  outline: 0;
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
}

.newsletter-field input::placeholder { color: rgba(255, 255, 255, 0.42); }

.newsletter-field input:focus {
  border-color: rgba(126, 165, 255, 0.58);
  box-shadow: 0 0 0 4px rgba(33, 97, 240, 0.15);
}

.insight-cta-copy > small {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 8px;
}

.insight-cta-graphic {
  position: relative;
  min-height: 350px;
}

.cta-orbit {
  position: absolute;
  border: 1px dashed rgba(126, 165, 255, 0.25);
  border-radius: 50%;
}

.orbit-one {
  inset: 0;
  animation: spin 28s linear infinite;
}

.orbit-two {
  inset: 65px;
  border-color: rgba(101, 222, 179, 0.24);
  animation: reverse-spin 20s linear infinite;
}

.cta-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 170px;
  height: 170px;
  place-items: center;
  align-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(16px);
}

.cta-core img {
  width: 105px;
  filter: brightness(0) invert(1);
}

.cta-core span {
  color: rgba(255, 255, 255, 0.46);
  font-size: 7px;
}

.cta-node {
  position: absolute;
  display: grid;
  min-width: 84px;
  min-height: 38px;
  place-items: center;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.74);
  font-size: 8px;
  animation: floating-card 5s ease-in-out infinite;
}

.node-one { top: -16px; left: 39%; }
.node-two { top: 42%; right: -25px; animation-delay: -1.3s; }
.node-three { bottom: -15px; left: 40%; animation-delay: -2.6s; }
.node-four { top: 42%; left: -23px; animation-delay: -3.9s; }

/* DIALOG */

.insight-dialog {
  width: min(calc(100% - 36px), 840px);
  max-height: calc(100dvh - 36px);
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 26px;
  background: transparent;
}

.insight-dialog::backdrop {
  background: rgba(7, 16, 31, 0.68);
  backdrop-filter: blur(10px);
}

.insight-dialog[open] { animation: dialog-enter 0.4s var(--ease); }

.dialog-shell {
  position: relative;
  max-height: calc(100dvh - 36px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--white);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.25);
}

.dialog-close {
  position: sticky;
  top: 14px;
  z-index: 5;
  display: grid;
  width: 40px;
  height: 40px;
  float: right;
  place-items: center;
  margin: 14px 14px 0 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 23px;
  box-shadow: var(--shadow-sm);
}

.dialog-header {
  padding: 38px 42px 26px;
  border-bottom: 1px solid var(--line);
}

.dialog-header > span {
  color: var(--blue);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dialog-header h2 {
  margin-top: 10px;
  font-size: clamp(34px, 4.3vw, 52px);
  letter-spacing: -0.052em;
  line-height: 1.07;
}

.dialog-header p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.dialog-body { padding: 26px 42px; }

.dialog-read-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.dialog-read-meta span {
  padding: 7px 9px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 8px;
  font-weight: 600;
}

.dialog-read-meta small {
  color: var(--muted);
  font-size: 8px;
}

.takeaway-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.takeaway-list article {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 11px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}

.takeaway-list span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 11px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 8px;
  font-weight: 700;
}

.takeaway-list strong {
  font-size: 12px;
  line-height: 1.45;
}

.dialog-note {
  margin-top: 20px;
  padding: 15px;
  border: 1px solid rgba(33, 97, 240, 0.14);
  border-radius: 15px;
  background: var(--blue-soft);
}

.dialog-note strong {
  color: var(--blue);
  font-size: 10px;
}

.dialog-note p {
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.6;
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 18px 42px 24px;
  border-top: 1px solid var(--line);
}

/* TOAST */

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 4000;
  display: flex;
  min-width: 260px;
  align-items: center;
  gap: 11px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.35s var(--ease);
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.toast > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
}

.toast > div { display: grid; gap: 2px; }
.toast strong { font-size: 10px; }
.toast small { color: var(--muted); font-size: 8px; }

/* FOOTER */

.footer {
  padding: 70px 0 20px;
  background: var(--black);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(3, 1fr);
  gap: 50px;
}

.footer-brand img {
  width: 135px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  max-width: 300px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.50);
  font-size: 11px;
  line-height: 1.7;
}

.footer-grid > div:not(.footer-brand) {
  display: grid;
  align-content: start;
  gap: 11px;
}

.footer-grid strong {
  margin-bottom: 4px;
  font-size: 10px;
}

.footer-grid a,
.footer-grid span {
  color: rgba(255, 255, 255, 0.54);
  font-size: 9px;
}

.footer-grid a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 50px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-bottom > span {
  color: rgba(255, 255, 255, 0.40);
  font-size: 8px;
}

.footer-bottom button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

/* ANIMATION */

@keyframes loader-slide {
  from { transform: translateX(-130%); }
  to { transform: translateX(330%); }
}

@keyframes fill-bar {
  to { transform: scaleX(1); }
}

@keyframes floating-card {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -8px; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes reverse-spin {
  to { transform: rotate(-360deg); }
}

@keyframes dialog-enter {
  from { opacity: 0; transform: translateY(22px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

/* RESPONSIVE */

@media (max-width: 1180px) {
  .nav-shell {
    grid-template-columns: 135px 1fr auto;
    gap: 20px;
  }

  .desktop-nav { gap: 19px; }
  .desktop-nav a { font-size: 11px; }

  .insights-hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.1fr);
    gap: 38px;
  }

  .featured-grid,
  .insight-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1020px) {
  .desktop-nav,
  .nav-actions .text-link,
  .nav-actions .button {
    display: none;
  }

  .nav-shell { grid-template-columns: 1fr auto; }
  .menu-toggle { display: grid; }
  .mobile-menu { display: block; }

  .insights-hero-grid,
  .insight-cta-shell {
    grid-template-columns: 1fr;
  }

  .insights-hero-copy { max-width: 790px; }

  .insights-hero-visual,
  .insight-cta-graphic {
    width: min(780px, 100%);
    margin-inline: auto;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 34px), var(--container));
  }

  .section-heading.split {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .insights-hero {
    min-height: auto;
    padding-top: 112px;
  }

  .insights-hero-copy h1 {
    font-size: clamp(48px, 10vw, 68px);
  }

  .insights-hero-visual { min-height: 560px; }

  .hero-editorial-shell {
    inset: 25px 5px 72px 16px;
  }

  .insight-search-shell {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .insight-search-status {
    justify-content: space-between;
    padding: 0 7px 3px;
  }

  .featured-grid,
  .insight-grid {
    grid-template-columns: 1fr;
  }

  .library-heading {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .library-status { justify-content: space-between; }

  .insight-filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .insight-filter::-webkit-scrollbar { display: none; }
  .insight-filter button { flex: 0 0 auto; }
}

@media (max-width: 640px) {
  :root { --header-height: 70px; }

  .brand img { width: 118px; }

  .section { padding: 78px 0; }

  .section-heading {
    margin-bottom: 32px;
  }

  .section-heading h2,
  .library-heading h2,
  .insight-cta-copy h2 {
    font-size: 38px;
    line-height: 1.08;
  }

  .section-heading p,
  .insight-cta-copy > p {
    font-size: 15px;
    line-height: 1.75;
  }

  .insights-hero {
    padding-top: 104px;
  }

  .insights-hero-copy h1 {
    font-size: 43px;
    line-height: 1.02;
  }

  .insights-hero-copy > p {
    font-size: 15px;
    line-height: 1.75;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button { width: 100%; }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .insights-hero-visual {
    min-height: 460px;
  }

  .hero-editorial-shell {
    inset: 18px 0 55px;
  }

  .editorial-console {
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 13px;
  }

  .editorial-console-grid {
    grid-template-columns: 1fr;
  }

  .editorial-console-grid article:nth-child(n + 2) {
    display: none;
  }

  .hero-insight-float { transform: scale(0.82); }
  .float-one { left: -18px; }
  .float-two { right: -20px; }
  .float-three { right: 0; }

  .insight-search kbd { display: none; }
  .insight-search { grid-template-columns: 22px 1fr; }

  .insight-card {
    min-height: 500px;
  }

  .insight-card h3 {
    font-size: 24px;
  }

  .insight-card p {
    font-size: 13px;
    line-height: 1.68;
  }

  .insight-meta span,
  .insight-meta small,
  .insight-card button {
    font-size: 10px;
  }

  .insight-cta {
    padding: 55px 0 72px;
  }

  .insight-cta-shell {
    min-height: auto;
    padding: 27px 18px;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .newsletter-form .button { width: 100%; }

  .insight-cta-graphic {
    min-height: 330px;
  }

  .dialog-header {
    padding: 30px 18px 22px;
  }

  .dialog-header h2 {
    font-size: 34px;
  }

  .dialog-header p {
    font-size: 14px;
  }

  .dialog-body {
    padding: 24px 18px;
  }

  .dialog-read-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .takeaway-list strong {
    font-size: 14px;
  }

  .dialog-note p {
    font-size: 13px;
  }

  .dialog-actions {
    display: grid;
    padding: 16px 18px 22px;
  }

  .dialog-actions .button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-brand p,
  .footer-grid a,
  .footer-grid span {
    font-size: 12px;
  }

  .footer-grid strong {
    font-size: 13px;
  }
}

@media (max-width: 420px) {
  .insights-hero-copy h1 {
    font-size: 39px;
  }

  .insights-hero-visual {
    min-height: 430px;
  }

  .hero-insight-float {
    transform: scale(0.74);
  }

  .section-heading h2,
  .library-heading h2,
  .insight-cta-copy h2 {
    font-size: 34px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   OUTFINX READABILITY SYSTEM V5
   ========================================================= */
body { font-size:16px; line-height:1.68; }
.desktop-nav a,.text-link { font-size:14px; }
.button,.button-small { font-size:13px; }
.eyebrow,.kicker { font-size:12px; }
.section { padding:80px 0; }
.insights-hero-copy h1 {
  font-size:clamp(46px,5vw,62px);
  line-height:1.03;
}
.insights-hero-copy > p {
  font-size:17px;
  line-height:1.72;
}
.hero-proof span,.insight-search-status span,.library-status span { font-size:11px; }
.section-heading h2,.library-heading h2,.insight-cta-copy h2 {
  font-size:clamp(34px,3.5vw,46px);
  line-height:1.1;
}
.section-heading p,.insight-cta-copy > p {
  font-size:16px;
  line-height:1.72;
}
.insight-search input { font-size:15px; }
.insight-meta span,.insight-meta small,.insight-card button {
  font-size:11px;
}
.insight-card h3 {
  font-size:22px;
  line-height:1.27;
}
.insight-card p {
  font-size:14px;
  line-height:1.65;
}
.dialog-header h2 {
  font-size:clamp(30px,3vw,40px);
  line-height:1.12;
}
.dialog-header p { font-size:15px; line-height:1.7; }
.dialog-read-meta span,.dialog-read-meta small,.takeaway-list span { font-size:11px; }
.takeaway-list strong { font-size:14px; }
.dialog-note strong { font-size:12px; }
.dialog-note p { font-size:13px; line-height:1.65; }
.toast strong { font-size:12px; }
.toast small { font-size:11px; }
.footer-brand p,.footer-grid a,.footer-grid span { font-size:12px; }
.footer-grid strong,.footer-bottom > span { font-size:11px; }
@media(max-width:640px){
  .insights-hero-copy h1{font-size:40px!important;line-height:1.08!important}
  .insights-hero-copy > p,.section-heading p,.insight-card p,.dialog-header p,.insight-cta-copy > p{font-size:15px!important;line-height:1.7!important}
  .section-heading h2,.library-heading h2,.insight-cta-copy h2{font-size:32px!important}
  .insight-card h3{font-size:21px!important}
  .dialog-header h2{font-size:30px!important}
  .mobile-menu-inner>a{font-size:18px!important}
  .button,.button-small{font-size:14px!important}
}


/* V4 live CMS insights page — keeps the existing Outfinx visual system. */
.insights-live-hero{padding:145px 0 58px;background:radial-gradient(circle at 88% 12%,rgba(33,97,240,.08),transparent 26%),linear-gradient(180deg,#fff,#f8faff)}
.insights-live-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.48fr);align-items:end;gap:55px;margin-top:18px}
.insights-live-heading h1{max-width:850px;font-size:clamp(48px,6vw,78px);font-weight:650;line-height:.99;letter-spacing:-.064em}
.insights-live-heading p{color:var(--muted);font-size:16px;line-height:1.7}
.insight-card .read-link{display:inline-flex;width:fit-content;min-height:39px;align-items:center;margin-top:auto;padding:0 12px;border-radius:10px;background:var(--blue-soft);color:var(--blue);font-size:10px;font-weight:700}
.insight-card .read-link:hover{background:var(--blue);color:#fff}
.insight-card.is-loading-card{min-height:430px;display:grid;place-items:center;color:var(--muted)}
.insight-card .insight-image{height:225px;min-height:225px}
.insight-filter button{font-size:10px}
@media(max-width:760px){.insights-live-hero{padding:108px 0 42px}.insights-live-heading{grid-template-columns:1fr;gap:14px}.insights-live-heading h1{font-size:44px}.insights-live-heading p{font-size:15px}.insight-search-shell{margin-top:24px}}
@media(max-width:480px){.insights-live-heading h1{font-size:38px}.insight-card{min-height:470px}.insight-card p{font-size:14px}.insight-card .read-link{font-size:11px}}
