/* Trust and security. Same grammar as the service and About pages: a hero,
   then numbered sections built on the two-column split, alternating tint and
   light, with every list running as quiet hairline rows. */

.trust-hero {
  padding-top: clamp(5rem, 9vw, 8rem);
  padding-bottom: clamp(4.5rem, 8vw, 7rem);
  overflow: hidden;
  background: radial-gradient(circle at 82% 12%, rgba(168, 126, 20, 0.09), rgba(247, 246, 244, 0) 42%), var(--bg);
}

.trust-hero .container {
  max-width: 1100px;
}

.trust-hero h1 {
  max-width: 1000px;
}

.trust-hero-lede {
  max-width: 66ch;
  margin-bottom: 0;
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: start;
  gap: clamp(3.5rem, 8vw, 8rem);
}

/* Every heading on this page is a full sentence, so the left rail runs at the
   reduced display scale the service pages use for their longer headings. */
.split-layout > div > h2 {
  max-width: 22ch;
  margin-bottom: 0;
  font-size: clamp(1.65rem, 2.4vw, 2.2rem);
  line-height: 1.16;
}

.section-copy,
.accent-copy {
  min-width: 0;
  max-width: 68ch;
}

.accent-copy {
  padding-left: clamp(1.5rem, 4vw, 3rem);
  border-left: 1px solid var(--accent);
}

.section-copy p:last-child,
.accent-copy p:last-child {
  margin-bottom: 0;
}

/* The source-code panel closes the hero, so it carries no boundary of its own. */
.source-handling-section {
  padding-top: 0;
}

/* Numbered sections: a hairline at every boundary, tint on the odd ones. */
.trust-posture,
.trust-data,
.trust-hosting,
.trust-access,
.trust-audit,
.trust-ownership,
.trust-commercial,
.trust-approval {
  border-top: 1px solid var(--hairline);
}

.trust-posture,
.trust-principle,
.trust-hosting,
.trust-audit,
.trust-commercial {
  background: var(--surface-tint);
}

/* The principle closes the security-posture band and shares its surface. */
.trust-principle {
  padding-top: 0;
}

/* The source-code panel runs the same split inside a boxed surface. */
.commitment-panel {
  display: grid;
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--hairline);
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 5rem);
  background: var(--surface-tint);
}

.commitment-panel h2 {
  max-width: 20ch;
  margin-bottom: 0;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.commitment-rows {
  min-width: 0;
  border-top: 1px solid var(--hairline);
}

.commitment-rows p {
  margin: 0;
  padding-block: clamp(1.1rem, 2.2vw, 1.6rem);
  border-bottom: 1px solid var(--hairline);
  line-height: 1.6;
}

/* Quiet rows: the name/copy pair the posture and contract lists run as. */
.trust-rows {
  min-width: 0;
  margin-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--hairline);
}

.trust-row {
  display: grid;
  padding-block: clamp(1.1rem, 2.2vw, 1.6rem);
  border-bottom: 1px solid var(--hairline);
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 0.35rem;
}

/* Numbered rows carry the number in the gutter the disclosure rows use. */
.trust-row--numbered {
  grid-template-columns: 2.4rem minmax(0, 1fr);
  column-gap: clamp(0.75rem, 2vw, 1.5rem);
}

.trust-row > span {
  grid-column: 1;
  grid-row: 1 / span 2;
  padding-top: 0.2rem;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.trust-row--numbered > h3,
.trust-row--numbered > p {
  grid-column: 2;
}

.trust-row > h3 {
  margin-bottom: 0;
  font-size: 1.05rem;
  line-height: 1.35;
}

.trust-row > p {
  max-width: 58ch;
  margin-bottom: 0;
  line-height: 1.6;
}

/* Plain lists run as the same quiet rows, without the label column. */
.trust-list {
  min-width: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hairline);
  list-style: none;
}

.trust-list li {
  padding-block: clamp(1.1rem, 2.2vw, 1.6rem);
  border-bottom: 1px solid var(--hairline);
  color: var(--ink-soft);
  line-height: 1.6;
}

.section-copy > .trust-list {
  margin-top: clamp(2rem, 4vw, 3rem);
}

/* The principle reads as a pull quote against the accent rule. */
.trust-callout {
  max-width: 900px;
  padding-left: clamp(1.5rem, 4vw, 3rem);
  border-left: 1px solid var(--accent);
}

.trust-callout p {
  margin-bottom: 1.5rem;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.65rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.trust-callout span,
.scope-note {
  display: block;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.scope-note {
  max-width: 48ch;
  margin-top: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0;
}

.cta-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.75rem;
}

@media (max-width: 960px) {
  .split-layout,
  .commitment-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .commitment-panel {
    gap: 2rem;
  }

  .split-layout > div > h2 {
    max-width: 26ch;
  }
}

@media (max-width: 760px) {
  .accent-copy,
  .trust-callout {
    padding-top: 1.5rem;
    padding-left: 0;
    border-top: 1px solid var(--accent);
    border-left: 0;
  }

  .commitment-panel {
    padding: 2rem 1.5rem;
  }

  .cta-actions {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    gap: 1.4rem;
  }
}
