/* insights-landing.css — the /insights/ landing page. Dark navy theme matching the home page
   (css/redesign.css), kept separate so it isn't affected by home-page changes. The site nav
   and footer come from css/header.css and css/footer.css; the papers use css/insights.css. */

:root {
  color-scheme: dark;
  --navy-900: #07162b;
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.80);
  --muted2: rgba(255,255,255,0.58);
  --lime: #b8d000;
  --lime-bright: #c4d600;
  --panel-border: rgba(184,208,0,0.55);
  --panel-bg: rgba(7,22,43,0.62);
  --hair: rgba(255,255,255,0.14);
  --bar-out: rgba(255,255,255,0.26);
  --bar-in: #b8d000;
  --shadow: 0 18px 50px rgba(0,0,0,0.38);
  --radius: 18px;
  --maxw: 1200px;
  --gutter: clamp(18px, 4vw, 40px);
  /* Height of the sticky site nav, so in-page anchors land below it */
  --nav-offset: 76px;
}

/* As on the home page: a viewport-tall root sizes the texture to one screen, repeated, not the whole page */
html {
  height: 100%;
  overflow-x: clip;
  background:
    radial-gradient(1200px 600px at 60% 40%, rgba(255,255,255,0.05), rgba(255,255,255,0) 60%),
    url("../assets/texture-med-5.png");
  background-position: center;
  background-size: cover;
  background-color: var(--navy-900);
  scroll-behavior: smooth;
}

body.insights-landing {
  margin: 0;
  overflow-x: clip;
  background: transparent;
  color: var(--text);
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.insights-landing main *,
.insights-landing main *::before,
.insights-landing main *::after { box-sizing: border-box; }

a { color: inherit; }

.insights-landing main :focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 7vw, 96px) clamp(32px, 5vw, 64px); }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

.kicker {
  margin: 0 0 14px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime-bright);
}

.hero__title {
  margin: 0 0 18px;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 800;
  text-wrap: balance;
  text-shadow: 0 10px 26px rgba(0,0,0,0.35);
}

.hero__sub {
  max-width: 560px;
  margin: 0 0 34px;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--muted);
}

.ctas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 620px;
}

.cta-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 88px;
  padding: 16px 18px;
  border: 3px solid rgba(184,208,0,0.9);
  border-radius: var(--radius);
  background: rgba(11,31,59,0.55);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
  color: var(--text);
  text-decoration: none;
  transition: transform .15s ease, background .15s ease;
}
.cta-card:hover { transform: translateY(-2px); background: rgba(11,31,59,0.75); }

.cta-card__eyebrow {
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted2);
}

.cta-card__title {
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 800;
  line-height: 1.15;
}

.cta-card__icon {
  font-size: 52px;
  line-height: 1;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
}

/* ---------- Hero figure panel ---------- */
.panel {
  margin: 0;
  padding: 22px 24px 18px;
  border: 2px solid var(--panel-border);
  border-radius: 14px;
  background: var(--panel-bg);
  box-shadow: var(--shadow);
}

.panel__label {
  margin: 0 0 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted2);
}

.stat {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 0 0 6px;
}

.stat__num {
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
}

.stat__of {
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 700;
  color: var(--muted);
}

.stat__desc {
  margin: 0 0 14px;
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--muted);
}

.chart { display: block; width: 100%; height: auto; }
.chart text { font-family: inherit; font-size: 12px; fill: var(--muted2); }
.chart .grid { stroke: var(--hair); stroke-width: 1; }
.chart .base { stroke: rgba(255,255,255,0.35); stroke-width: 1; }
.chart .bar--in { fill: var(--bar-in); }
.chart .bar--out { fill: var(--bar-out); }
.chart .bar:hover { opacity: .85; }
.chart .zone { stroke-width: 1.5; }
.chart .zone--in { stroke: var(--lime); }
.chart .zone--out { stroke: rgba(255,255,255,0.35); }
.chart .zonelbl { font-weight: 800; font-size: 12.5px; letter-spacing: 0.02em; }
.chart .zonelbl--in { fill: var(--lime-bright); }
.chart .zonelbl--out { fill: var(--muted); }

/* Phones get a narrower chart drawn for their width; the full one's labels would shrink to ~6px */
.chart--compact { display: none; max-width: 360px; margin-inline: auto; }
.chart--compact text { font-size: 13px; }
.chart--compact .zonelbl { font-size: 13.5px; }
.chart--compact .zonecount { font-size: 12.5px; font-weight: 700; }

.panel__foot {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted2);
}
.panel__foot a { color: var(--muted); }

/* ---------- Sections ---------- */
.section {
  padding-block: clamp(40px, 6vw, 88px);
  scroll-margin-top: var(--nav-offset);
}

.section__head {
  max-width: 900px;
  margin: 0 auto 34px;
  text-align: center;
}

.section__title {
  margin: 0 0 14px;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.section__rule {
  width: min(720px, 88%);
  height: 2px;
  margin: 0 auto 16px;
  background: rgba(255,255,255,0.18);
}

.section__sub {
  margin: 0;
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--muted);
}

/* ---------- Paper cards ---------- */
.papers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.paper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 26px 22px;
  border: 2px solid var(--panel-border);
  border-radius: 14px;
  background: var(--panel-bg);
  box-shadow: var(--shadow);
}
.paper--soon { border-color: rgba(255,255,255,0.16); box-shadow: none; }

.paper__num {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime-bright);
}
.paper--soon .paper__num { color: var(--muted2); }

.paper__title {
  margin: 0;
  font-size: clamp(20px, 1.7vw, 24px);
  font-weight: 800;
  line-height: 1.15;
}

.paper__sub {
  margin: 0;
  font-size: 15.5px;
  font-style: italic;
  line-height: 1.4;
  color: var(--muted);
}

.paper__desc {
  flex: 1;
  margin: 6px 0 0;
  font-size: 15.5px;
  color: var(--muted);
}

.paper__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.paper__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 10px;
  background: rgba(11,31,59,0.55);
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .15s ease;
}
.paper__btn:hover { transform: translateY(-1px); }
.paper__btn--primary { border-color: rgba(184,208,0,0.9); }

.paper__meta { font-size: 13px; color: var(--muted2); }

.tag {
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* ---------- Audience ---------- */
.who {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.who__item {
  padding: 18px 18px 16px;
  border-top: 3px solid var(--lime);
  border-radius: 0 0 12px 12px;
  background: rgba(255,255,255,0.04);
}

.who__role { margin: 0 0 6px; font-size: 17px; font-weight: 800; }
.who__line { margin: 0; font-size: 15px; line-height: 1.45; color: var(--muted); }

/* ---------- Invitation ---------- */
.invite {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  padding: clamp(24px, 4vw, 44px);
  border: 3px solid rgba(184,208,0,0.9);
  border-radius: var(--radius);
  background: rgba(11,31,59,0.55);
  box-shadow: var(--shadow);
}

.invite__title {
  margin: 0 0 12px;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.invite__text { margin: 0; font-size: 16.5px; color: var(--muted); }

.invite__card {
  padding: 20px 22px;
  border: 1px solid var(--hair);
  border-radius: 12px;
  background: rgba(7,22,43,0.6);
}

.invite__name { margin: 0; font-size: 18px; font-weight: 800; }
.invite__role { margin: 0 0 14px; font-size: 14.5px; color: var(--muted2); }

.email {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.email__addr {
  font-size: 17px;
  font-weight: 700;
  color: var(--lime-bright);
  text-decoration: none;
  overflow-wrap: anywhere;
  user-select: all;
}

.copy {
  padding: 6px 11px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.copy:hover { border-color: var(--lime); }

/* ---------- Shared footer: align with the page content ---------- */
.insights-landing .site-footer { margin-top: 20px; padding-inline: 0; }
.insights-landing .site-footer__inner { box-sizing: border-box; padding-inline: var(--gutter); }

/* ---------- Responsive ---------- */
/* Stack with the nav drawer: beside the text, the chart's labels drop below 8px */
@media (max-width: 1100px) {
  .hero__grid { grid-template-columns: 1fr; }
  .ctas { max-width: 720px; }
  .panel { max-width: 720px; }
}

@media (max-width: 900px) {
  .papers { grid-template-columns: 1fr; }
  .who { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .invite { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .chart--full { display: none; }
  .chart--compact { display: block; }
  .panel { padding: 18px 16px 14px; }
  .ctas { grid-template-columns: 1fr; }
  .cta-card { min-height: 76px; }
  .cta-card__icon { font-size: 44px; }
  .paper { padding: 22px 20px 20px; }
  .invite__card { padding: 18px; }
}

@media (max-width: 520px) {
  .who { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cta-card, .paper__btn { transition: none; }
}
