.why-forge,
.integrations,
.trust-operations {
  max-width: var(--max);
  margin: auto;
  padding: 150px 28px;
  border-top: 1px solid rgba(128, 159, 196, .16);
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 100px;
}

.why-forge-heading > p:not(.eyebrow),
.integrations-heading > p:not(.eyebrow),
.trust-operations-heading > p:not(.eyebrow) {
  color: #abb4c5;
  font-size: 18px;
  line-height: 1.6;
  max-width: 490px;
  margin: 26px 0 30px;
}

.why-forge-heading h2,
.integrations-heading h2,
.trust-operations-heading h2 { font-size: clamp(3rem, 5vw, 5.2rem); }
.why-forge-list { border-top: 1px solid var(--line); }
.why-forge-list article { padding: 25px 0; border-bottom: 1px solid var(--line); }
.why-forge-list h3 { font-size: 24px; }
.why-forge-list p { color: var(--muted); max-width: 480px; margin: 10px 0 0; }
.integration-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-content: start; }
.integration-mark { display: flex; align-items: center; gap: 12px; padding: 13px 10px; color: var(--text); text-decoration: none; border: 1px solid var(--line); background: rgba(19, 27, 40, .48); transition: border-color .2s ease, transform .2s ease; }
.integration-mark:hover { border-color: var(--gold); transform: translateY(-2px); }
.integration-mark img { width: 34px; height: 34px; flex: none; }
.integration-mark span { font: 600 13px "Lato", sans-serif; }
.site-footer a { color: #9aa6b8; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }

.trust-operations { align-items: start; }
.trust-operations-list { border-top: 1px solid var(--line); }
.trust-operations-list article { padding: 25px 0; border-bottom: 1px solid var(--line); }
.trust-operations-list h3 { font-size: 24px; }
.trust-operations-list p { color: var(--muted); max-width: 480px; margin: 10px 0 0; }

.feature-reference { max-width: 1240px; margin: auto; padding: 74px 28px 120px; }
.feature-hero { padding: 70px 0 120px; border-bottom: 1px solid rgba(128, 159, 196, .16); max-width: 920px; }
.feature-hero h1 { font-family: "Lora", serif; font-size: clamp(4rem, 8vw, 8rem); max-width: 900px; text-wrap: balance; }
.feature-intro { font-size: 20px; color: #abb4c5; line-height: 1.6; max-width: 680px; margin: 30px 0 0; }
.feature-group { display: grid; grid-template-columns: .82fr 1.18fr; gap: 100px; padding: 120px 0; border-bottom: 1px solid rgba(128, 159, 196, .16); }
.feature-group-heading { align-self: start; position: sticky; top: 32px; }
.feature-group-heading h2 { font-size: clamp(2.8rem, 4.8vw, 5rem); }
.feature-items { border-top: 1px solid var(--line); }
.feature-items article { padding: 25px 0; border-bottom: 1px solid var(--line); }
.feature-items h3 { font-family: "Inter", sans-serif; font-size: 24px; line-height: 1.05; }
.feature-items p { color: #abb4c5; line-height: 1.65; max-width: 600px; margin: 10px 0 0; }
.integrations-reference { border-bottom: 0; }
.integrations-reference .feature-items article { border-bottom: 0; }

@media (max-width: 900px) {
  .why-forge, .integrations, .trust-operations { grid-template-columns: 1fr; gap: 60px; padding-top: 110px; padding-bottom: 110px; }
}

@media (max-width: 800px) {
  .feature-reference { padding: 35px 18px 80px; }
  .feature-hero { padding: 45px 0 85px; }
  .feature-group { grid-template-columns: 1fr; gap: 55px; padding: 85px 0; }
  .feature-group-heading { position: static; }
}

@media (max-width: 620px) {
  .why-forge, .integrations, .trust-operations { padding-left: 18px; padding-right: 18px; }
  .integration-grid { grid-template-columns: repeat(2, 1fr); }
  .integration-mark { padding: 10px 8px; }
  .integration-mark span { font-size: 12px; }
}

/* Editorial integration matrix: quiet cells, shared rules, no card chrome. */
.integrations {
  display: block;
  background: var(--surface);
}
.integrations-heading {
  max-width: 680px;
  margin-bottom: 58px;
}
.integration-grid {
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  gap: 0;
}
.integration-mark {
  min-height: 116px;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  transform: none;
}
.integration-mark:hover {
  transform: none;
  background: rgba(216, 179, 74, .06);
}
.integration-mark img {
  width: 38px;
  height: 38px;
  filter: grayscale(1) brightness(1.65);
  opacity: .88;
  transition: filter .2s ease, opacity .2s ease;
}
.integration-mark:hover img {
  filter: none;
  opacity: 1;
}
.integration-mark span {
  color: #cbd2dc;
  font-size: 12px;
  letter-spacing: .01em;
}

@media (max-width: 900px) {
  .integration-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 620px) {
  .integrations-heading { margin-bottom: 38px; }
  .integration-grid { grid-template-columns: repeat(2, 1fr); }
  .integration-mark { min-height: 102px; }
}

/* Site-wide editorial direction inspired by the reference layouts. */
body {
  background: #080b12;
}
.site-header {
  height: 92px;
  padding-left: 32px;
  padding-right: 32px;
  max-width: 1320px;
}
.site-header nav { gap: 42px; }
.brand { letter-spacing: -.03em; }
.hero,
.map-section,
.principles,
.why-forge,
.integrations,
.trust-operations,
.closing,
.site-footer {
  max-width: 1320px;
}
.hero {
  min-height: calc(100vh - 92px);
  padding-top: 92px;
  padding-bottom: 84px;
}
.hero-lede,
.why-forge-heading > p:not(.eyebrow),
.integrations-heading > p:not(.eyebrow),
.trust-operations-heading > p:not(.eyebrow),
.closing-action p { line-height: 1.7; }
.map-section,
.principles,
.why-forge,
.integrations,
.trust-operations,
.closing { padding-top: 170px; padding-bottom: 170px; }
.map-section,
.principles,
.why-forge,
.integrations,
.trust-operations,
.closing { border-top-color: rgba(128, 159, 196, .24); }
.map-detail,
.feature-hero { border-top-color: var(--gold); }
.map-detail { padding-top: 28px; }
.principle-list,
.why-forge-list,
.feature-items { border-top-color: rgba(128, 159, 196, .32); }
.principle-list article,
.why-forge-list article,
.feature-items article { padding-top: 31px; padding-bottom: 31px; }
.principle-list h3,
.why-forge-list h3,
.feature-items h3 { letter-spacing: -.025em; }
.closing { padding-bottom: 120px; }
.site-footer {
  padding: 36px 32px;
  align-items: center;
  border-top-color: rgba(128, 159, 196, .24);
}

.surface-page,
.feature-reference {
  max-width: 1320px;
  padding-left: 32px;
  padding-right: 32px;
}
.surface-nav {
  max-width: 1320px;
  padding-left: 32px;
  padding-right: 32px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(128, 159, 196, .24);
}
.surface-nav a {
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 0 0 7px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 10px;
}
.surface-nav a:hover,
.surface-nav a[aria-current="page"] { border-color: var(--gold); }
.surface-hero {
  grid-template-columns: minmax(0, 1.45fr) minmax(200px, .55fr);
  gap: 100px;
  padding: 110px 0 150px;
  border-bottom-color: rgba(128, 159, 196, .24);
}
.surface-hero h1 { max-width: 980px; }
.surface-lede { max-width: 590px; line-height: 1.7; }
.surface-mark {
  width: 128px;
  height: 128px;
  border-color: rgba(216, 179, 74, .75);
  background: rgba(19, 27, 40, .65);
}
.surface-facts {
  margin-bottom: 150px;
  border-bottom-color: rgba(128, 159, 196, .24);
}
.surface-facts article { padding-top: 28px; padding-bottom: 34px; border-right-color: rgba(128, 159, 196, .24); }
.surface-facts strong { line-height: 1.12; }
.surface-body { gap: 140px; }
.surface-body h2 { max-width: 600px; }
.surface-copy { line-height: 1.75; }
.surface-list { padding-left: 21px; }
.surface-list li { padding: 10px 0; }
.surface-cta { margin-top: 150px; padding: 38px 0; border-top-color: var(--gold); }

.feature-reference { padding-top: 80px; }
.feature-hero { padding-top: 95px; padding-bottom: 150px; }
.feature-group { grid-template-columns: .9fr 1.1fr; gap: 140px; padding-top: 150px; padding-bottom: 150px; border-bottom-color: rgba(128, 159, 196, .24); }
.feature-group-heading { top: 42px; }
.feature-group-heading h2 { max-width: 560px; }

@media (max-width: 900px) {
  .site-header { padding-left: 24px; padding-right: 24px; }
  .site-header nav { gap: 20px; }
  .hero { padding-top: 70px; }
  .surface-page,
  .feature-reference { padding-left: 24px; padding-right: 24px; }
  .surface-nav { padding-left: 24px; padding-right: 24px; }
  .surface-hero { gap: 60px; padding-top: 85px; padding-bottom: 110px; }
  .surface-body { gap: 80px; }
  .feature-group { gap: 80px; }
}

@media (max-width: 620px) {
  .site-header { height: 72px; padding-left: 18px; padding-right: 18px; }
  .hero { min-height: auto; padding-top: 58px; padding-bottom: 48px; }
  .map-section,
  .principles,
  .why-forge,
  .integrations,
  .trust-operations,
  .closing { padding-top: 105px; padding-bottom: 105px; }
  .site-footer { padding: 28px 18px; }
  .surface-page,
  .feature-reference { padding-left: 18px; padding-right: 18px; }
  .surface-nav { padding-left: 18px; padding-right: 18px; gap: 14px; }
  .surface-hero { gap: 48px; padding-top: 70px; padding-bottom: 90px; }
  .surface-facts { margin-bottom: 90px; }
  .surface-facts article,
  .surface-facts article + article { padding-top: 20px; padding-bottom: 22px; }
  .surface-cta { margin-top: 90px; }
  .feature-hero { padding-top: 60px; padding-bottom: 95px; }
}

.knowledge-graph-example { max-width: 1320px; margin: 0 auto; padding: 150px 32px; border-top: 1px solid var(--line); display: grid; grid-template-columns: .8fr 1.2fr; gap: 96px; align-items: center; }
.knowledge-graph-copy { max-width: 420px; }
.knowledge-graph-copy h2 { margin: 18px 0 22px; }
.knowledge-graph-copy > p:not(.eyebrow) { color: var(--muted); line-height: 1.7; max-width: 390px; }
.knowledge-graph-figure { min-width: 0; border: 1px solid var(--line); background: var(--surface); box-shadow: 18px 18px 0 rgba(5, 8, 14, .42); }
.knowledge-graph-header { display: flex; justify-content: space-between; gap: 20px; padding: 18px 20px; border-bottom: 1px solid var(--line); color: var(--muted); font: 600 10px/1 Lato, sans-serif; letter-spacing: .14em; }
.knowledge-graph-svg { display: block; width: 100%; height: auto; min-height: 360px; background: radial-gradient(circle at 50% 48%, rgba(54, 75, 104, .22), transparent 56%); }
.example-graph-edges line { stroke: #485b73; stroke-width: 1.5; opacity: .72; }
.example-graph-node circle { fill: #182333; stroke: #5e718c; stroke-width: 1.5; }
.example-graph-node text { fill: var(--text); font: 600 12px Lato, sans-serif; text-anchor: middle; }
.example-graph-node .example-graph-type { fill: var(--muted); font-size: 9px; font-weight: 400; }
.example-graph-center circle { fill: #292a22; stroke: var(--accent); stroke-width: 2; }
.knowledge-graph-note { margin: 0; padding: 14px 20px 18px; color: var(--muted); font-size: 11px; }
@media (max-width: 900px) { .knowledge-graph-example { grid-template-columns: 1fr; gap: 54px; padding-top: 110px; padding-bottom: 110px; } .knowledge-graph-copy { max-width: 560px; } }
@media (max-width: 620px) { .knowledge-graph-example { padding-left: 18px; padding-right: 18px; } .knowledge-graph-header { font-size: 9px; } .knowledge-graph-svg { min-height: 0; } }

/* Keep heading rhythm open and untracked across every landing-page route. */
h1, h2, h3 { letter-spacing: normal !important; line-height: 1 !important; }

/* Give the repository explanation room while keeping its graph compact. */
.knowledge-graph-example { grid-template-columns: 1.08fr .92fr; }
.knowledge-graph-copy { max-width: 600px; }
@media (max-width: 900px) { .knowledge-graph-example { grid-template-columns: 1fr; } .knowledge-graph-copy { max-width: 600px; } }
