/* ColorNote trust-center pages. Extends the shared content-guide system. */

.trust-hero-card {
  display: grid;
  gap: 20px;
}

.trust-status {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 9px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--sage-soft);
  color: #586553;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.trust-status::before {
  display: block;
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sage);
  content: '';
  box-shadow: 0 0 0 4px rgba(173, 185, 158, .18);
}

.trust-hero-card h2 {
  max-width: 420px;
  font-size: clamp(27px, 3vw, 36px);
}

.trust-summary-list {
  display: grid;
  gap: 0;
  list-style: none;
}

.trust-summary-list li {
  display: grid;
  grid-template-columns: minmax(78px, .42fr) 1fr;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  color: #5f625d;
  font-size: 13px;
  line-height: 1.65;
}

.trust-summary-list b {
  color: #3f423e;
  font-size: 12px;
}

.trust-disclaimer {
  padding: 15px 17px;
  border-radius: 16px;
  background: #fff6e5;
  color: #6a5b47;
  font-size: 12px;
  line-height: 1.7;
}

.trust-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 30px 0;
}

.trust-flow article {
  position: relative;
  min-height: 170px;
  padding: 20px 17px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: white;
}

.trust-flow article:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -9px;
  width: 16px;
  height: 16px;
  border: 1px solid var(--line);
  border-width: 1px 1px 0 0;
  background: white;
  content: '';
  transform: translateY(-50%) rotate(45deg);
}

.trust-flow small {
  color: var(--coral-deep);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
}

.trust-flow b {
  display: block;
  margin: 28px 0 8px;
  color: #3d403c;
  font-size: 14px;
}

.trust-flow p {
  margin: 0;
  font-size: 12px;
  line-height: 1.65;
}

.data-contract {
  margin: 28px 0;
  padding: 24px;
  border-radius: 21px;
  background: #262926;
  color: white;
  box-shadow: var(--shadow-sm);
}

.data-contract > small {
  display: block;
  margin-bottom: 15px;
  color: #ffc2b8;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.data-contract dl {
  display: grid;
  gap: 11px;
}

.data-contract dl > div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.data-contract dl > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.data-contract dt {
  color: #ffc2b8;
  font: 700 12px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.data-contract dd {
  color: rgba(255, 255, 255, .72);
  font: 12px/1.65 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.article-body code {
  padding: .12em .38em;
  border-radius: 6px;
  background: #f1eee8;
  color: #464944;
  font: .88em/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.trust-fact-line {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 28px 0;
}

.trust-fact-line article {
  padding: 22px;
  border-radius: 19px;
  background: #f7f4ef;
}

.trust-fact-line b {
  display: block;
  margin-bottom: 8px;
  color: #3f423e;
  font-size: 14px;
}

.trust-fact-line p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
}

.review-card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 30px 0;
}

.review-card article {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: white;
}

.review-card small {
  color: var(--coral-deep);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.review-card h3 {
  margin: 22px 0 9px;
}

.review-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
}

.correction-card {
  margin-top: 28px;
  padding: 30px;
  border: 1px solid rgba(235, 101, 88, .22);
  border-radius: 23px;
  background: #fff5f1;
}

.correction-card h3 {
  margin-bottom: 13px;
}

.correction-card p {
  font-size: 14px;
  line-height: 1.8;
}

.correction-card a {
  color: var(--coral-deep);
  font-weight: 750;
}

.source-list a[target="_blank"]::after {
  margin-left: 7px;
  content: '↗';
  font-size: 11px;
}

.source-list cite {
  display: block;
  margin-top: 8px;
  color: #747771;
  font-size: 12px;
  font-style: normal;
  line-height: 1.65;
}

.source-list cite strong {
  color: #555853;
}

.trust-page .content-cta a[href^="mailto:"] {
  word-break: break-word;
}

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

  .trust-flow article:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 720px) {
  .trust-flow,
  .trust-fact-line,
  .review-card {
    grid-template-columns: 1fr;
  }

  .trust-flow article {
    min-height: 0;
  }

  .trust-flow b {
    margin-top: 18px;
  }
}

@media (max-width: 430px) {
  .trust-summary-list li,
  .data-contract dl > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .correction-card {
    padding: 23px;
  }
}
