/* =========================================================
   NTS Research — Core Theme (LIGHT)
   Refactored & de-duplicated — 2025-10-26
   ========================================================= */

/* ---------------- Tokens ---------------- */
:root {
  /* Base colors */
  --bg: #f7f9fc; /* page background */
  --surface: #ffffff; /* cards / surfaces */
  --panel: #f6f7fb; /* soft panel fill */
  --text: #0b1220; /* primary text */
  --muted: #607084; /* secondary text */
  --line: #e5e8ef; /* borders / dividers */
  --shadow: 0 10px 30px rgba(20, 30, 60, 0.06);

  /* Brand scale */
  --brand: #0b3d5b;
  --brand-50: #eaf3fa;
  --brand-200: #c7d7e6;
  --brand-300: #5d9cc5;
  --brand-400: #2d78ad;
  --brand-500: #17639a;
  --brand-600: #0f4e78;
  --brand-700: #0a3550;
  --brand-800: #082639;

  /* Header tint */
  --header-bg: #e5edf5;
  --header-bd: #d6e1ec;

  /* Accent */
  --accent: #2e6cf6;

  /* Strategy chip palette */
  --chip-s1-bg: #e6f0ff;
  --chip-s1-fg: #143c7d;
  --chip-s1-bd: #c9dbff;
  --chip-s2-bg: #e0f7f4;
  --chip-s2-fg: #0e6e66;
  --chip-s2-bd: #bdeae4;
  --chip-s3-bg: #f3e8ff;
  --chip-s3-fg: #6b21a8;
  --chip-s3-bd: #e7d2ff;
  --chip-s4-bg: #fff4e5;
  --chip-s4-fg: #92400e;
  --chip-s4-bd: #ffe3bf;
  --chip-s5-bg: #fde8ef;
  --chip-s5-fg: #9d174d;
  --chip-s5-bd: #f8c2d5;
  --chip-s6-bg: #e9eef5;
  --chip-s6-fg: #1f2937;
  --chip-s6-bd: #d4dce6;

  /* Feedback */
  --pos: #0b7a3e;
  --neg: #b3261e;

  /* Radii */
  --radius-lg: 14px;
  --radius-xl: 24px;
  --radius-card: 20px; /* unified card/hero/strip radius */
}

/* ---------------- Base ---------------- */
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font: 15px/1.55 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: var(--brand-600);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px;
}
section {
  margin: 18px 0 24px;
}

h1 {
  margin: 0 0 10px;
  font-size: clamp(24px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h2 {
  margin: 18px 0 8px;
  font-size: 22px;
}
h3 {
  margin: 14px 0 8px;
  font-size: 17px;
}

.muted {
  color: var(--muted);
}
.led,
.lede {
  margin: 6px 0 0;
  font-size: clamp(16px, 1.9vw, 18px);
  color: var(--muted);
} /* alias */

/* ---------------- Header (sticky include) ---------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-bd);
  backdrop-filter: saturate(180%) blur(8px);
}
.header .hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.brand {
  display: flex;
  gap: 14px;
  align-items: center;
}
.brand img {
  height: 32px;
}
.nav {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.nav a {
  font-size: clamp(15px, 0.95rem + 0.1vw, 16px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.1px;
  text-underline-offset: 3px;
  color: var(--brand-600);
  opacity: 0.9;
}
.nav a.active {
  opacity: 1;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--brand-600);
  color: var(--text);
}
.header .container {
  padding-block: 12px;
}
@media (max-width: 900px) {
  .nav {
    gap: 12px;
  }
  .nav a {
    font-size: 15px;
  }
}

/* ---------------- Layout: Grid & Media ---------------- */
.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

img.responsive {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* ---------------- Cards / Figures ---------------- */
.card,
figure {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 12px;
  box-shadow: var(--shadow);
}
figcaption {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

/* Primary cards (Home: Platform / Advisory) */
.card--primary {
  position: relative;
  padding: 22px;
  border: 1px solid var(--brand-200);
  border-top-width: 4px;
  border-top-color: var(--brand-500);
  background: linear-gradient(180deg, rgba(16, 42, 67, 0.05) 0%, rgba(16, 42, 67, 0.02) 100%),
    var(--panel);
  box-shadow: 0 12px 30px rgba(20, 30, 60, 0.08);
}
.card--primary h2 {
  margin: 2px 0 8px;
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 750;
  letter-spacing: 0.2px;
}

/* Story cards (legacy About pieces) */
.card--story {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 8px 24px rgba(20, 30, 60, 0.05);
}
.card--story h3 {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  margin: 4px 0 8px;
}

/* Accent cards / comparison / timeline / CTA */
.card--accent {
  border-top: 3px solid var(--brand-500);
  background: linear-gradient(0deg, rgba(11, 94, 101, 0.02), rgba(11, 94, 101, 0.02)), var(--panel);
}

/* Unified card elevation for general use */
.card {
  box-shadow: 0 12px 30px rgba(20, 30, 60, 0.1);
}

/* ---------------- Hero ---------------- */
.hero--gradient {
  position: relative;
  border-radius: var(--radius-card);
  padding: 56px 48px;
  background: radial-gradient(1200px 600px at 20% -10%, rgba(255, 255, 255, 0.1), transparent),
    linear-gradient(160deg, rgba(11, 61, 91, 1) 0%, rgba(15, 24, 44, 1) 60%);
  color: #fff;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(20, 30, 60, 0.2);
}
.hero--gradient::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.06) 0 2px,
    transparent 2px 10px
  );
  mix-blend-mode: overlay;
  opacity: 0.25;
  pointer-events: none;
}
.hero--gradient h1 {
  max-width: 68ch;
}
.hero--gradient .led {
  color: rgba(255, 255, 255, 0.85);
  max-width: 70ch;
}

/* CTA buttons */
.cta-row {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid var(--line, rgba(255, 255, 255, 0.25));
}
.btn--primary {
  background: #fff;
  color: #0b1220;
  border-color: #fff;
}
.btn--ghost {
  background: transparent;
  color: #fff;
}

/* ---------------- Law Strip ---------------- */
.law-strip {
  margin-top: 28px;
  margin-bottom: 28px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
}
.eyebrow {
  font-size: clamp(13px, 1.4vw, 15px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 12px;
  color: var(--muted);
}

/* Pills laid out as full-width blocks in the strip */
.pill-row--block {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 900px) {
  .pill-row--block {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .pill-row--block {
    grid-template-columns: 1fr;
  }
}

.pill--block {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 15px 20px;
  font-size: clamp(16px, 1.6vw, 18px);
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

/* Dark variant (Home law strip + on dark cards) */
.law-strip--dark {
  background: radial-gradient(900px 320px at 15% -25%, rgba(255, 255, 255, 0.12), transparent),
    linear-gradient(160deg, rgba(11, 61, 91, 1) 0%, rgba(15, 24, 44, 1) 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 50px rgba(11, 20, 44, 0.38), 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}
.law-strip--dark .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}
.law-strip--dark .pill--block {
  background: rgba(255, 255, 255, 0.96);
  color: #0b1220;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28), 0 1px 0 rgba(255, 255, 255, 0.95) inset;
}
.law-strip--dark .pill--block:hover {
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.34);
}
.law-strip--dark .pill--block:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ---------------- Pills (base + variants) ---------------- */
.pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1.5px solid var(--pill-border, var(--line));
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.75));
  color: var(--pill-fg, var(--text));
  font-weight: 600;
  font-size: 13.5px;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(16, 42, 67, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.02s ease;
}
.pill:hover {
  border-color: var(--pill-border-hover, rgba(46, 197, 255, 0.45));
  box-shadow: 0 1px 2px rgba(16, 42, 67, 0.08), 0 0 0 3px rgba(46, 197, 255, 0.1);
}
.pill:active {
  transform: translateY(0.5px);
}
.pill:focus-visible {
  outline: none;
  box-shadow: 0 1px 2px rgba(16, 42, 67, 0.1), 0 0 0 3px rgba(46, 197, 255, 0.22);
}
.pill--lg {
  padding: 8px 14px;
  font-size: 14px;
}
.pill--tag {
  padding: 4px 10px;
  font-size: 12px;
  opacity: 0.95;
}
.pill--accent {
  --pill-border: rgba(46, 197, 255, 0.45);
  --pill-border-hover: rgba(46, 197, 255, 0.6);
  background: linear-gradient(180deg, rgba(46, 197, 255, 0.08), rgba(46, 197, 255, 0.03));
  color: #0b3d5b;
}
.pill--cta {
  --pill-border: rgba(46, 197, 255, 0.6);
  --pill-border-hover: rgba(46, 197, 255, 0.75);
  background: linear-gradient(180deg, rgba(46, 197, 255, 0.12), rgba(46, 197, 255, 0.06));
  color: #0b3d5b;
}
.pill--light {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.92);
  color: var(--text);
}

/* ---------------- Banner (proof module) ---------------- */
.banner--dashboard {
  margin-top: 32px;
  border-radius: var(--radius-card);
  padding: 28px;
  background-image: linear-gradient(160deg, rgba(11, 61, 91, 0.9), rgba(15, 24, 44, 0.95));
  color: #fff;
}

/* ---------------- Home tuning ---------------- */
.home h1 {
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1.05;
}
.container.home > section {
  margin-bottom: 32px;
}

/* ---------------- Tables ---------------- */
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
  background: var(--surface);
}
th,
td {
  border: 1px solid var(--line);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}
th {
  background: var(--brand-50);
  color: var(--brand-600);
  font-weight: 700;
}
.table-compact th,
.table-compact td {
  padding: 6px 8px;
}
td:first-child {
  font-weight: 700;
} /* often Strategy */



/* Docs pages */
.nts-docs {
  max-width: 900px;
  margin: 2rem auto;         /* centers + top/bottom spacing */
  padding: 0 1.5rem;         /* left/right margin feel */
  line-height: 1.6;
  font-size: 0.98rem;
}

/* Optional: headings / code blocks can get a little polish */
.nts-docs h1,
.nts-docs h2,
.nts-docs h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.nts-docs pre {
  padding: 0.75rem 1rem;
  border-radius: 6px;
  overflow-x: auto;
}

.nts-docs code {
  font-family: Menlo, Consolas, Monaco, monospace;
  font-size: 0.9em;
}



/* ---------------- Strategy chips (S1–S6) ---------------- */
.strat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2px;
  border: 1px solid transparent;
}
.strat-chip.S1 {
  background: var(--chip-s1-bg);
  color: var(--chip-s1-fg);
  border-color: var(--chip-s1-bd);
}
.strat-chip.S2 {
  background: var(--chip-s2-bg);
  color: var(--chip-s2-fg);
  border-color: var(--chip-s2-bd);
}
.strat-chip.S3 {
  background: var(--chip-s3-bg);
  color: var(--chip-s3-fg);
  border-color: var(--chip-s3-bd);
}
.strat-chip.S4 {
  background: var(--chip-s4-bg);
  color: var(--chip-s4-fg);
  border-color: var(--chip-s4-bd);
}
.strat-chip.S5 {
  background: var(--chip-s5-bg);
  color: var(--chip-s5-fg);
  border-color: var(--chip-s5-bd);
}
.strat-chip.S6 {
  background: var(--chip-s6-bg);
  color: var(--chip-s6-fg);
  border-color: var(--chip-s6-bd);
}

/* ---------------- KPI pills & blocks ---------------- */
.kpis {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0;
}
.kpi {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  min-width: 160px;
  box-shadow: var(--shadow);
}
.kpi b {
  font-size: 19px;
  color: var(--text);
  font-weight: 800;
}
.kpi small {
  color: var(--muted);
}
.delta-pos {
  color: var(--pos);
  font-weight: 650;
}
.delta-neg {
  color: var(--neg);
  font-weight: 650;
}

/* ---------------- Sparklines ---------------- */
.sparks {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: flex-start;
  margin: 6px 0;
}
.sparks figure {
  margin: 0;
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.sparks img {
  height: 64px;
  width: auto;
  display: block;
}
.sparks figcaption {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
  color: var(--muted);
}
.sparks figcaption .strat-chip {
  display: inline-flex;
}

/* ---------------- Helpers & hero splits ---------------- */
.badge-wrap {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.brand-badge {
  display: block;
  height: clamp(56px, 8vw, 100px);
  width: auto;
}

.hero.hero--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
}
.hero .hero-art {
  justify-self: end;
}
.hero .hero-art img {
  display: block;
  height: clamp(56px, 8vw, 100px);
  width: auto;
  max-width: unset;
}
@media (max-width: 860px) {
  .hero.hero--split {
    grid-template-columns: 1fr;
  }
  .hero .hero-art {
    justify-self: start;
    margin-top: 8px;
  }
}

/* ---------------- Dashboard-specific ---------------- */
.dash-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
  flex-wrap: nowrap;
}
.dash-hero__left {
  min-width: 0;
}
.dash-hero__right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}
@media (max-width: 780px) {
  .dash-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .dash-hero__right {
    align-self: flex-start;
  }
}
.grid-charts {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.grid-charts figure {
  max-height: 380px;
  overflow: hidden;
}
.grid-charts figure img {
  width: 100%;
  height: 100%;
  max-height: 320px;
  object-fit: contain;
}
@media (max-width: 640px) {
  .grid-charts figure {
    max-height: 340px;
  }
  .grid-charts figure img {
    max-height: 300px;
  }
}

/* =========================
   SHARED OVERLAY PRIMITIVES
   Used by .duet-card and .live-banner
   ========================= */
.duet-card,
.live-banner {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  color: #fff;
  box-shadow: var(--shadow);
}

/* Photo layer (duet uses ::before bg; live uses an <img>) */
.duet-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: center/cover no-repeat var(--bg, none);
  transform: scale(1.02);
  z-index: 0;
  pointer-events: none;
}
.live-banner__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  display: block;
}

/* Scrim layer – unified look */
.duet-card::after,
.live-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 14, 28, 0.1) 0%, rgba(5, 14, 28, 0.55) 100%);
  z-index: 1;
  pointer-events: none;
}
.duet-card.duet-scrim::after,
.live-banner.live-scrim-strong::after {
  background: linear-gradient(180deg, rgba(5, 14, 28, 0.18) 0%, rgba(5, 14, 28, 0.66) 100%);
}
.live-banner.live-scrim-light::after {
  background: linear-gradient(180deg, rgba(5, 14, 28, 0.08) 0%, rgba(5, 14, 28, 0.35) 100%);
}

/* Content layer — bottom-left */
.duet-content,
.live-banner__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 18px;
  z-index: 2;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.duet-content h2,
.live-banner__content h3 {
  margin: 0 0 6px;
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1.15;
  color: #fff;
}
.duet-content p,
.live-banner__content p {
  margin: 0;
  font-size: clamp(14px, 1.8vw, 16px);
  color: #fff;
  opacity: 1;
}
/* Softer text option */
.duet-card.duet-soft .duet-content h2,
.live-banner.live-soft .live-banner__content h3 {
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 1.5px rgba(0, 0, 0, 0.26);
}
.duet-card.duet-soft .duet-content p,
.live-banner.live-soft .live-banner__content p {
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 1.5px rgba(0, 0, 0, 0.24);
}
/* On-image pills */
.duet-card .pill--light,
.live-banner .pill--light {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.95);
  color: var(--text);
}

/* Duet grid */
.duet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0 24px;
}
@media (max-width: 900px) {
  .duet {
    grid-template-columns: 1fr;
  }
}
.duet-card {
  min-height: 150px;
  background: #0b3d5b;
}

/* Live banner frame */
.live-banner {
  --banner-h: clamp(110px, 12vw, 150px);
  height: var(--banner-h);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}

/* ---------------- Feature Duo ---------------- */
.feature-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 12px 0 8px;
}
@media (max-width: 900px) {
  .feature-duo {
    grid-template-columns: 1fr;
  }
}
.feature {
  position: relative;
  padding: 22px 22px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.feature::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 4px;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  background: var(--accent, var(--brand-600));
}
.feature--wb {
  --accent: var(--brand-700);
  background: linear-gradient(180deg, rgba(16, 42, 67, 0.04), rgba(16, 42, 67, 0.02));
}
.feature--studio {
  --accent: var(--brand-400);
  background: linear-gradient(180deg, rgba(46, 197, 255, 0.06), rgba(46, 197, 255, 0.02));
}
.feature h2 {
  margin: 6px 0 8px;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.15;
}
.lede-s {
  color: var(--muted);
  margin: 0 0 10px;
}
.feature ul {
  margin: 0 0 10px 18px;
}
.feature .actions {
  margin-top: 6px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.feature .actions .link {
  color: var(--brand-700);
  text-decoration: none;
}
.feature .actions .link:hover {
  text-decoration: underline;
}

/* ---------------- Advisory page bits ---------------- */
.advisory .section-title {
  margin: 8px 0 10px;
}

/* Marquee band */
.marquee {
  position: relative;
  margin: 12px 0 20px;
  border-radius: 16px;
  overflow: hidden;
  background: #0b3d5b;
  box-shadow: var(--shadow);
  min-height: 260px;
}
.marquee::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg, none) center/cover no-repeat;
  transform: scale(1.02);
}
.marquee::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 15, 30, 0.2) 0%, rgba(8, 15, 30, 0.7) 100%);
}
.marquee__content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 22px 22px 18px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.marquee h1 {
  margin: 0 0 6px;
}
.marquee p {
  margin: 0 0 10px;
}

/* Proof chips */
.kpi-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 6px 0 8px;
}
.kpi-pill {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 12px;
  backdrop-filter: saturate(120%) blur(2px);
}
.kpi-pill b {
  font-size: 13px;
}
.kpi-pill small {
  opacity: 0.9;
}

/* Comparison / timeline / CTA */
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 8px 0 10px;
}
@media (max-width: 900px) {
  .comparison {
    grid-template-columns: 1fr;
  }
}
.pill--muted {
  background: #eef3f7;
  color: #445;
  border: 1px solid #dde3ea;
}
.timeline {
  margin: 16px 0 18px;
}
.timeline ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (max-width: 900px) {
  .timeline ol {
    grid-template-columns: 1fr 1fr;
  }
}
.timeline li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  box-shadow: var(--shadow);
}
.cta-band {
  text-align: center;
  margin: 10px 0 24px;
  padding: 18px;
  border-radius: 14px;
  color: var(--text);
  background: linear-gradient(0deg, rgba(11, 94, 101, 0.06), rgba(11, 94, 101, 0.06)), #fff;
  border: 1px solid var(--line);
}
.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 8px;
  justify-content: center;
}

/* ---------------- Gradient Philosophy Card (Methodology) ---------------- */
.card--gradient-dark {
  position: relative;
  border-radius: var(--radius-card);
  padding: 22px;
  background: radial-gradient(900px 320px at 15% -25%, rgba(255, 255, 255, 0.12), transparent),
    linear-gradient(160deg, rgba(11, 61, 91, 1), rgba(15, 24, 44, 1));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 50px rgba(11, 20, 44, 0.38), 0 1px 0 rgba(255, 255, 255, 0.06) inset;
  overflow: hidden;
}
.card--gradient-dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.06) 0 2px,
    transparent 2px 10px
  );
  mix-blend-mode: overlay;
  opacity: 0.18;
  pointer-events: none;
}
/* On-dark text & links */
.card--gradient-dark h3 {
  color: #fff;
}
.card--gradient-dark p,
.card--gradient-dark li {
  color: rgba(255, 255, 255, 0.88);
}
.card--gradient-dark li strong {
  color: #fff;
}
.card--gradient-dark .link--on-dark {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* Pill inversion within dark card */
.card--gradient-dark .pill {
  background: #fff;
  color: #0b1220;
  border: 1px solid rgba(255, 255, 255, 0.85);
  font-weight: 600;
}


/* Anything inside .trailing gets the look */
.trailing table { border-collapse: collapse; width: 100%; }
.trailing th, .trailing td { padding: 6px 8px; border-bottom: 1px solid var(--line, #e5e8ef); }
.trailing th { text-align: left; font-size: .9rem; color: var(--muted, #607084); font-weight: 600; }
.trailing td { font-size: .95rem; }
.trailing .num { text-align: right; font-variant-numeric: tabular-nums; }
.trailing thead th { position: sticky; top: 0; background: var(--surface, #fff); z-index: 1; }
.trailing .table-wrap { overflow: auto; max-height: 60vh; }
