/* September 4 public-site polish. Narrow scope: readability, mobile scale, and section contrast only. */
:root {
  --ink-2: #172433;
  --blue-soft: #e2ebf3;
}

/* Readable supporting copy stays dark and carries a little more weight. */
.hero-lede,
.hero-brief span,
.section-heading > p:last-child,
.proof-heading > p:last-child,
.service-card > p:not(.service-number),
.service-card > span,
.proof-list p,
.odin-copy > p,
.odin-points span,
.process-list p,
.about-copy p,
.contact-copy p {
  font-weight: 500;
}

.hero-brief span {
  font-size: 15px;
  line-height: 1.6;
}

.section-heading > p:last-child,
.proof-heading > p:last-child {
  font-size: 17px;
}

.service-card > p:not(.service-number) {
  font-size: 17px;
}

.service-card > span {
  font-size: 14px;
}

.proof-list p,
.process-list p {
  font-size: 16px;
}

.odin-points span {
  font-size: 15px;
  line-height: 1.6;
}

/* Final hero hierarchy: quieter headline, stronger framing label, centered short-form copy and contact. */
.hero-copy {
  text-align: center;
}

.hero-copy > .eyebrow {
  font-size: 12px;
  letter-spacing: .09em;
}

.hero-copy h1 {
  max-width: 700px;
  margin: 20px auto 24px;
  font-size: clamp(46px, 4.8vw, 64px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.hero-lede {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero-actions {
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
}

.hero-actions .email-link {
  text-align: center;
}

/* Final alignment pass: center only the requested framing labels. */
.hero-copy > .eyebrow,
.services-section .section-heading > .section-label,
.proof-heading > .section-label,
.odin-layout > div:first-child > .section-label,
.process-section .section-heading > .section-label,
.contact-layout > div:first-child > .section-label {
  text-align: center;
}

/* Operator polish: give the opening problem card the same blue field as ODIN and center its framing label. */
.hero-brief {
  background: var(--blue-soft);
  border-color: var(--blue-line);
  border-top-color: var(--blue-dark);
}

.hero-brief > .brief-label {
  text-align: center;
}

/* Center section-level headlines and their short setup copy while keeping substantive detail left-aligned. */
.services-section .section-heading h2,
.proof-heading h2,
.odin-layout > div:first-child h2,
.process-section .section-heading h2 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.services-section .section-heading > p:last-child,
.proof-heading > p:last-child {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.services-section .section-heading > p:last-child {
  max-width: 34ch;
}

.proof-heading > p:last-child {
  max-width: 38ch;
}

/* Final operator review: center only the ODIN introductory paragraph; keep the ODIN point cards left-aligned. */
.odin-copy > p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.process-contact-link,
.process-email {
  color: var(--blue-dark);
  border-bottom: 1px solid var(--blue-line);
}

.process-email {
  display: inline-block;
  max-width: 100%;
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

/* The consultation closes as one centered top-level statement; supporting copy remains left-aligned. */
.contact-layout > div:first-child {
  text-align: center;
}

.contact-layout > div:first-child h2 {
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1021px) {
  .contact-layout {
    grid-template-columns: minmax(0, 760px);
    justify-content: center;
    gap: 30px;
  }

  .contact-copy {
    width: min(100%, 640px);
    margin-inline: auto;
  }
}

/* Mobile navigation polish: centered options on the existing restrained blue surface. */
@media (max-width: 1020px) {
  .site-nav {
    align-items: center;
    text-align: center;
    background: var(--blue-soft);
    border-bottom-color: var(--blue-line);
  }

  .site-nav > a:not(.nav-cta) {
    width: 100%;
    padding: 12px 0;
  }

  .site-nav .nav-cta {
    width: min(100%, 320px);
    margin-top: 8px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 36px;
  }

  .hero-grid {
    gap: 26px;
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: .08em;
  }

  .hero-copy h1 {
    margin: 14px auto 18px;
    font-size: clamp(34px, 9vw, 40px);
    line-height: 1.04;
    letter-spacing: -.04em;
  }

  .hero-lede {
    max-width: 34ch;
    font-size: 16px;
    line-height: 1.55;
    text-align: center;
  }

  .hero-actions {
    gap: 11px;
    margin-top: 23px;
  }

  .hero-brief {
    padding: 21px 20px 17px;
  }

  .hero-brief ul {
    margin-top: 16px;
  }

  .hero-brief li {
    padding: 15px 0;
  }

  .hero-brief span,
  .service-card > span,
  .odin-points span,
  .proof-list p,
  .process-list p {
    font-size: 16px;
  }

  .section {
    padding: 58px 0 62px;
  }

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

  .section-heading h2,
  .proof-heading h2,
  .odin-layout h2,
  .about-layout h2,
  .contact-layout h2 {
    font-size: clamp(30px, 8.9vw, 39px);
    line-height: 1.06;
  }

  /* The services block is the densest section on mobile; give it a calmer scale and tighter card rhythm. */
  .services-section .section-heading {
    margin-bottom: 24px;
  }

  .services-section .section-heading h2 {
    font-size: clamp(27px, 7.7vw, 34px);
    line-height: 1.08;
    max-width: 17ch;
  }

  .services-section .section-heading > p:last-child {
    max-width: 31ch;
    line-height: 1.5;
  }

  .service-card,
  .service-card + .service-card {
    padding-top: 21px;
    padding-bottom: 24px;
  }

  .service-card h3 {
    margin-top: 20px;
    font-size: 20px;
  }

  .process-list strong {
    font-size: 18px;
  }

  .about-copy p,
  .odin-copy > p,
  .contact-copy p {
    font-size: 16px;
  }

  .contact-section {
    padding: 58px 0 64px;
  }
}

/* Persistent institutional header: match the consultation/footer navy exactly while keeping white top-level text. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  border-bottom-color: rgba(255, 255, 255, .16);
  backdrop-filter: none;
}

.site-header .wordmark span,
.site-header .wordmark small,
.site-header .menu-toggle {
  color: var(--white);
}

@media (min-width: 1021px) {
  .site-header .site-nav {
    color: var(--white);
  }

  .site-header .site-nav > a:not(.nav-cta):hover {
    color: var(--white);
    border-color: rgba(255, 255, 255, .82);
  }

  .site-header .nav-cta {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, .82);
  }

  .site-header .nav-cta:hover {
    background: var(--white);
    color: var(--ink);
    border-color: var(--white);
  }
}


/* September 23 R3 buyer-first hierarchy. Frozen scope: proof compression + research-band distinction. */
.compact-proof {
  padding: 64px 0 68px;
}

.compact-proof-heading {
  display: grid;
  grid-template-columns: 140px minmax(0, .8fr) minmax(290px, .65fr);
  gap: 42px;
  align-items: start;
  margin-bottom: 34px;
}

.compact-proof-heading h2 {
  margin: -7px 0 0;
  font-size: clamp(34px, 3.4vw, 48px);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -.043em;
}

.compact-proof-heading > p:last-child {
  margin: 0;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
}

.compact-proof-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.compact-proof-list > div {
  display: block;
  padding: 22px 22px 24px;
  border-bottom: 0;
}

.compact-proof-list > div + div {
  border-left: 1px solid var(--ink-line);
}

.compact-proof-list strong {
  display: block;
  margin-bottom: 10px;
}

.compact-proof-list p {
  font-size: 14px;
  line-height: 1.55;
}

.section.research-feature-section.institutional-research {
  background: var(--blue-soft);
  border-top: 1px solid var(--blue-line);
  border-bottom: 1px solid var(--blue-line);
}

.institutional-research .research-feature-card {
  border-top-color: var(--blue-dark);
  border-bottom-color: var(--blue-line);
}

@media (max-width: 1020px) {
  .compact-proof-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .compact-proof-heading h2 {
    margin-top: 0;
  }

  .compact-proof-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .compact-proof-list > div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--ink-line);
  }

  .compact-proof-list > div:nth-child(4) {
    border-top: 1px solid var(--ink-line);
  }
}

@media (max-width: 640px) {
  .compact-proof {
    padding: 48px 0 52px;
  }

  .compact-proof-heading {
    margin-bottom: 24px;
    text-align: center;
  }

  .compact-proof-heading h2 {
    font-size: clamp(30px, 8.9vw, 39px);
  }

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

  .compact-proof-list > div,
  .compact-proof-list > div + div,
  .compact-proof-list > div:nth-child(3),
  .compact-proof-list > div:nth-child(4) {
    padding: 18px 0 20px;
    border-left: 0;
    border-top: 1px solid var(--ink-line);
  }

  .compact-proof-list > div:first-child {
    border-top: 0;
  }

  .compact-proof-list p {
    font-size: 15px;
  }
}
