
:root {
  color-scheme: light;
  --ink: #18211f;
  --muted: #60706b;
  --line: #dbe4df;
  --paper: #fbfcfb;
  --field: #ffffff;
  --panel: #ffffff;
  --soft: #f4f8f6;
  --green: #1e7d5a;
  --coral: #bc4b51;
  --gold: #9f7d2e;
  --violet: #6151a8;
  --accent: var(--green);
  --accent-soft: #eef7f2;
  --risk: #b85b44;
}
* { box-sizing: border-box; }
html {
  width: 100%;
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  width: 100%;
  overflow-x: hidden;
}
.profile-analytics {
  --ink: #121212;
  --muted: #64748b;
  --line: #d7dce8;
  --paper: #f8fafc;
  --soft: #eef2ff;
  --accent: #3730a3;
  --accent-soft: #eef2ff;
}
.profile-advisory {
  --ink: #1b1b1f;
  --muted: #6f6a60;
  --line: #e5dfd2;
  --paper: #faf9f6;
  --soft: #f5f0e6;
  --accent: #1f5e46;
  --accent-soft: #edf5ef;
}
.profile-utility {
  --ink: #15191f;
  --muted: #5d6673;
  --line: #d9e0e8;
  --paper: #f9fafb;
  --soft: #edf5ff;
  --accent: #2454a6;
  --accent-soft: #eef5ff;
}
.profile-niche {
  --ink: #20201d;
  --muted: #666b65;
  --line: #dedfd8;
  --paper: #fbfbf8;
  --soft: #f3f5ef;
  --accent: #617247;
  --accent-soft: #eff4e8;
}
a { color: inherit; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 64px);
  background: rgba(251, 252, 251, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  min-width: 0;
}
.brand {
  font-weight: 800;
  text-decoration: none;
  min-width: 0;
}
nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
  min-width: 0;
}
nav a { text-decoration: none; }
.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  position: relative;
  overflow: hidden;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(0.9);
  color: transparent;
  font-size: 0;
}
.profile-analytics .hero img,
.profile-utility .hero img,
.profile-niche .hero img {
  opacity: 0.58;
  filter: saturate(0.82) contrast(0.92);
}
.profile-advisory .hero img {
  filter: saturate(0.86) contrast(0.92);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 15, 13, 0.78), rgba(8, 15, 13, 0.38), rgba(8, 15, 13, 0.08));
}
.profile-analytics .hero::after,
.profile-utility .hero::after {
  background: linear-gradient(90deg, rgba(12, 17, 32, 0.88), rgba(22, 26, 44, 0.54), rgba(22, 26, 44, 0.12));
}
.profile-advisory .hero::after {
  background: linear-gradient(90deg, rgba(22, 21, 18, 0.68), rgba(22, 21, 18, 0.38), rgba(22, 21, 18, 0.08));
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: min(780px, calc(100% - 40px));
  max-width: calc(100vw - 40px);
  min-width: 0;
  margin: 0 clamp(20px, 5vw, 64px) 56px;
  color: #fff;
}
.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 800;
}
.hero .eyebrow { color: #f0ce79; }
h1, h2, h3, p, summary, th, td {
  overflow-wrap: break-word;
  word-break: normal;
}
h1 {
  margin: 0;
  max-width: min(760px, 100%);
  font-size: clamp(38px, 7vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}
h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: 0;
}
h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}
p {
  line-height: 1.62;
  color: var(--muted);
}
.hero-copy p:not(.eyebrow) {
  color: rgba(255,255,255,0.86);
  max-width: 680px;
  font-size: 18px;
}
.bluf-summary {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.58;
  color: var(--ink);
}
.hero .bluf-summary,
.article-hero .bluf-summary {
  color: rgba(255,255,255,0.9);
}
.profile-advisory h1,
.profile-advisory h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
}
.profile-analytics .hero-copy,
.profile-utility .hero-copy {
  font-variant-numeric: tabular-nums;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
  max-width: 100%;
}
.primary-action, .secondary-action {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 6px;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.2;
}
.primary-action {
  background: var(--accent);
  color: #fff;
}
.secondary-action {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.42);
}
.article-hero {
  min-height: 440px;
  display: grid;
  align-items: end;
  padding: 84px clamp(20px, 5vw, 64px) 54px;
  background: #12211d;
  color: #fff;
}
.article-hero > div {
  max-width: 880px;
  width: 100%;
  min-width: 0;
}
.article-hero p:not(.eyebrow) {
  color: rgba(255,255,255,0.82);
  font-size: 18px;
  max-width: 720px;
}
section:not(.hero):not(.article-hero) {
  padding: 64px clamp(20px, 5vw, 64px);
}
.intelligence-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0 !important;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}
.intelligence-strip article {
  min-height: 150px;
  padding: 24px clamp(20px, 4vw, 34px);
  background: var(--panel);
}
.intelligence-strip span,
.data-table caption {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.intelligence-strip strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.intelligence-strip p {
  margin-bottom: 0;
}
.signal-meter i {
  display: block;
  width: 100%;
  height: 8px;
  margin-top: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) var(--value), var(--line) 0);
}
.decision-module {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: start;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.decision-copy p {
  max-width: 640px;
}
.decision-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.decision-list article, .decision-result, .answer-grid article, .answer-detail, .privacy-note {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.decision-list article {
  padding: 20px;
}
.decision-list article span {
  color: var(--accent);
  font-weight: 800;
  font-size: 13px;
}
.decision-result {
  grid-column: 1 / -1;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  background: #f8fbfa;
}
.decision-result strong {
  min-width: 160px;
}
.tool-band, .lead-section, .content-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 32px;
  align-items: start;
}
.tool-band {
  background: #edf7f2;
  border-block: 1px solid #cfe5d8;
}
.calculator, .lead-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}
.calculator {
  display: grid;
  gap: 14px;
}
label span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
input, select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 12px;
  background: var(--field);
  color: var(--ink);
  font: inherit;
}
output {
  display: block;
  padding: 16px;
  border-radius: 6px;
  background: #f8fbfa;
  border: 1px solid var(--line);
  font-weight: 800;
}
.comparison-module {
  background: var(--panel);
  border-block: 1px solid var(--line);
}
.comparison-module.is-primary {
  background: var(--soft);
}
.table-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.data-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.data-table caption {
  caption-side: top;
  padding: 14px 16px;
  text-align: left;
  background: var(--accent-soft);
}
.data-table th,
.data-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.48;
}
.data-table thead th {
  color: var(--accent);
  background: color-mix(in srgb, var(--accent-soft) 82%, #fff);
  font-size: 13px;
}
.data-table tbody th {
  color: var(--ink);
  width: 22%;
}
.data-table tr:last-child th,
.data-table tr:last-child td {
  border-bottom: 0;
}
.risk-pill {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  background: #fff3ed;
  color: var(--risk);
  font-size: 12px;
  font-weight: 800;
}
.search-module,
.dataset-module,
.benchmark-chart-module,
.jk-scoring-module,
.advisory-module,
.trust-ledger-module,
.niche-hub-module {
  border-block: 1px solid var(--line);
  background: var(--panel);
}
.search-module {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 32px;
  align-items: end;
}
.scenario-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.scenario-search label {
  min-width: 0;
}
.dataset-module {
  background: var(--soft);
}
.benchmark-chart-module {
  background: #fff;
}
.benchmark-bars {
  display: grid;
  gap: 12px;
}
.benchmark-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.benchmark-row span {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.benchmark-row h3 {
  font-size: 17px;
}
.benchmark-row strong {
  font-variant-numeric: tabular-nums;
}
.benchmark-row i {
  grid-column: 1 / -1;
  display: block;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) var(--bar), var(--line) 0);
}
.jk-scoring-module,
.trust-ledger-module {
  background: var(--soft);
}
.score-bar {
  display: grid;
  gap: 7px;
  min-width: 140px;
  font-variant-numeric: tabular-nums;
}
.score-bar strong {
  color: var(--accent);
}
.score-bar i {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) var(--bar), var(--line) 0);
}
.advisory-module {
  background: #fff;
}
.advisory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.advisory-grid article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}
.advisory-grid span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.advisory-grid strong {
  display: block;
  margin-top: 14px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.niche-hub-module {
  background: var(--soft);
}
.niche-brief-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.niche-brief-grid article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.niche-brief-grid span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.niche-brief-grid a {
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}
.content-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
}
.answer-module {
  background: #f4f8f6;
  border-block: 1px solid var(--line);
}
.answer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.answer-grid article {
  padding: 22px;
}
.faq-list {
  display: grid;
  gap: 12px;
}
.qa-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 0;
}
.qa-item summary {
  min-height: 54px;
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 16px 20px;
  color: var(--ink);
  font-weight: 800;
}
.qa-item summary:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 32%, transparent);
  outline-offset: 3px;
}
.qa-item p {
  margin: 0;
  padding: 0 20px 18px;
}
.answer-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.45fr);
  gap: 24px;
  align-items: start;
}
.answer-detail h2 {
  font-size: clamp(24px, 4vw, 34px);
}
.review-note {
  margin-top: 16px;
  font-size: 14px;
}
.proof-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.proof-chips span {
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}
.privacy-note {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.plain-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.6;
}
.fanout-module {
  border-block: 1px solid var(--line);
  background: #fbfcfb;
}
.fanout-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.fanout-list span {
  max-width: 360px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  line-height: 1.45;
}
.machine-note {
  margin: 18px 0 0;
  font-size: 14px;
}
.citation-module {
  background: #f4f8f6;
  border-block: 1px solid var(--line);
}
.evidence-module {
  background: #fff;
  border-block: 1px solid var(--line);
}
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.evidence-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfa;
}
.evidence-grid h3 {
  font-size: 16px;
}
.market-module {
  background: #f4f8f6;
  border-block: 1px solid var(--line);
}
.market-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.market-grid article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.market-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}
.market-grid h3 {
  font-size: 17px;
}
.market-grid cite {
  display: block;
  margin-top: 12px;
  color: var(--ink);
  font-style: normal;
  font-weight: 800;
  line-height: 1.45;
}
.market-grid a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}
.cluster-data-terminal,
.cluster-jk-scorecard,
.cluster-advisory-brief,
.cluster-niche-brief {
  background: #fff;
  border-block: 1px solid var(--line);
}
.cluster-jk-scorecard {
  background: var(--soft);
}
.cluster-advisory-brief,
.cluster-niche-brief {
  background: color-mix(in srgb, var(--paper) 88%, #fff);
}
.cluster-depth-table tbody th {
  width: 20%;
}
.citation-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.citation-list blockquote {
  margin: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.citation-list p {
  margin-top: 0;
}
.citation-list cite {
  display: block;
  color: var(--accent);
  font-style: normal;
  font-weight: 800;
  font-size: 13px;
}
.section-head {
  margin-bottom: 22px;
}
.cluster-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.cluster {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}
.cluster:hover {
  border-color: #9fc9b5;
  transform: translateY(-2px);
}
.cluster span, .cluster small {
  color: var(--muted);
}
.cluster small {
  display: block;
  line-height: 1.5;
}
.related-module {
  background: #fff;
  border-block: 1px solid var(--line);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.related-card {
  display: block;
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfa;
  text-decoration: none;
}
.related-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}
.related-card p {
  margin-bottom: 0;
}
.lead-section {
  background: #f8faf8;
  border-top: 1px solid var(--line);
}
.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.wide { grid-column: 1 / -1; }
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.check input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}
.check span {
  margin: 0;
}
.form-note {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: var(--accent);
  font-weight: 700;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 24px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}
@media (max-width: 860px) {
  .site-header, footer { align-items: flex-start; }
  .site-header {
    flex-direction: column;
  }
  .site-header nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 10px;
    width: 100%;
  }
  .site-header nav a {
    min-width: 0;
    text-align: center;
  }
  .decision-module, .decision-list, .tool-band, .lead-section, .content-grid, .cluster-list, .related-grid, .lead-form, .answer-grid, .answer-detail, .privacy-note, .citation-list, .evidence-grid, .market-grid, .intelligence-strip, .search-module, .scenario-search, .advisory-grid, .niche-brief-grid {
    grid-template-columns: 1fr;
  }
  .hero { min-height: 560px; }
  .hero-copy { margin-bottom: 34px; }
  .decision-result { display: grid; }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .primary-action,
  .secondary-action {
    width: 100%;
  }
}
@media (max-width: 480px) {
  .site-header {
    gap: 12px;
    padding: 14px 20px;
  }
  .site-header nav {
    font-size: 13px;
  }
  h1 {
    font-size: 38px;
    line-height: 1.04;
  }
  .hero-copy p:not(.eyebrow),
  .article-hero p:not(.eyebrow),
  .bluf-summary {
    font-size: 16px;
  }
}
