/* Virts trust pages (/pages/giveback, /pages/ethics, /pages/about) —
   shared stylesheet for the virts-page-* section family (task t_bf8dd7eb).
   Design tokens per design/lifeisgood-brief.md: charcoal #393D3C ink on
   cream #EFE9DB / #F0EEE9, marigold #F59E0B accent, Libre Franklin display
   + Inter body. */

.virts-trust {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.5rem;
  color: #393D3C;
}

.virts-trust-col {
  /* editorial measure, aligned to the hero grid's left edge (a centered
     column against a full-width hero reads as a grid step — QA t_bf8dd7eb) */
  max-width: 46rem;
  margin-inline: 0;
}

/* ---------------------------------------------------------------- hero band */
/* LiG-style split: photo left, cream promise panel right. The panel
   fallback must look finished on its own when no photo exists — cream
   tinted, big display promise, marigold rule. */
.virts-trust-hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(1.25rem, 4vw, 2.5rem);
  align-items: stretch;
  margin: 2rem auto 0;
}

.virts-trust-hero-media {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  min-height: 14rem;
  background: #EFE9DB; /* cream fallback tile when no hero photo on disk */
}

.virts-trust-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.virts-trust-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 6vw, 3.75rem) clamp(1.5rem, 4vw, 2.75rem);
  background: #F0EEE9;
  border: 1px solid rgba(57, 61, 60, 0.1);
  border-radius: 24px;
}

@media (max-width: 860px) {
  .virts-trust-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .virts-trust-hero-media {
    aspect-ratio: 1672 / 941;
    min-height: 0;
  }
}

.virts-trust-kicker {
  margin: 0 0 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #F59E0B;
}

.virts-trust-promise {
  margin: 0;
  font-family: "Libre Franklin", "Franklin Gothic", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 4.2vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.virts-trust-promise::after {
  content: "";
  display: block;
  width: 3.5rem;
  margin-top: clamp(1.25rem, 3vw, 1.9rem);
  border-top: 4px solid #F59E0B;
  border-radius: 2px;
}

/* ---------------------------------------------------------------- sections */
.virts-trust-body {
  padding-bottom: 4rem;
}

.virts-trust-h2 {
  margin: clamp(2.5rem, 6vw, 3.75rem) 0 1rem;
  font-family: "Libre Franklin", "Franklin Gothic", Arial, sans-serif;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.virts-trust-h3 {
  margin: 2rem 0 0.75rem;
  font-family: "Libre Franklin", "Franklin Gothic", Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.virts-trust p,
.virts-trust li {
  font-size: 1.0625rem;
  line-height: 1.65;
}

.virts-trust-lede {
  margin: 2.5rem 0 0;
}

.virts-trust-note {
  margin: 0.25rem 0 1.25rem;
  font-size: 0.875rem;
  color: rgba(57, 61, 60, 0.62);
}

/* Commitments list: marigold tick, no default bullets. */
.virts-trust-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.virts-trust-list > li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 1.1rem;
}

.virts-trust-list > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #F59E0B;
}

.virts-trust-list--numbered {
  counter-reset: virts-policy;
}

.virts-trust-list--numbered > li {
  counter-increment: virts-policy;
}

.virts-trust-list--numbered > li::before {
  content: counter(virts-policy);
  top: 0.25em;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: #F59E0B;
  font-family: "Libre Franklin", Arial, sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

/* Policy feature blocks (/ethics, t_9b15897c): same numbered list, each
   rule promoted to its own tinted panel with a marigold ordinal in the
   gutter. Card furniture stays quiet — the text carries the weight. */
.virts-trust-features > li {
  padding: 1.1rem 1.25rem 1.15rem 3.4rem;
  margin-bottom: 0.85rem;
  background: #F0EEE9;
  border: 1px solid rgba(57, 61, 60, 0.1);
  border-radius: 16px;
}

.virts-trust-features > li::before {
  left: 1.15rem;
  top: 1.35rem;
  font-size: 1.15rem;
}

/* Illustrative "what a quarter looks like" box. */
.virts-trust-callout {
  margin: 1.5rem 0;
  padding: 1.5rem clamp(1.25rem, 4vw, 2rem);
  background: #EFE9DB;
  border-left: 4px solid #F59E0B;
  border-radius: 0 16px 16px 0;
}

.virts-trust-callout p {
  margin: 0;
}

/* Honest "what's still open" block — same furniture, muted, never upgraded.
   Explicit de-branding: charcoal rule (not marigold), muted list ticks, so
   the open-items tone can't be quietly lifted by the shared list styling
   (t_9b15897c acceptance). */
.virts-trust-open {
  margin: 1.5rem 0;
  padding: 1.5rem clamp(1.25rem, 4vw, 2rem);
  background: rgba(57, 61, 60, 0.05);
  border-left: 4px solid rgba(57, 61, 60, 0.45);
  border-radius: 0 16px 16px 0;
}

.virts-trust-open > .virts-trust-h2 {
  margin-top: 0;
}

.virts-trust-open > .virts-trust-list > li::before {
  background: rgba(57, 61, 60, 0.45);
}

/* ------------------------------------------------------------- ledger table */
.virts-trust-tablewrap {
  margin: 1.25rem 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.virts-trust-tablewrap:focus-visible {
  outline: 2px solid #F59E0B;
  outline-offset: 2px;
  border-radius: 8px;
}

.virts-trust-table {
  width: 100%;
  min-width: 44rem; /* horizontal scroll instead of squish on phones */
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.virts-trust-table caption {
  text-align: left;
  padding-bottom: 0.6rem;
  font-size: 0.8125rem;
  color: rgba(57, 61, 60, 0.62);
}

.virts-trust-table th,
.virts-trust-table td {
  padding: 0.7rem 0.9rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(57, 61, 60, 0.14);
}

.virts-trust-table thead th {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(57, 61, 60, 0.7);
  border-bottom: 2px solid #393D3C;
}

/* Empty-state row: the ledger is honest about being empty. */
.virts-trust-table .virts-trust-empty td {
  color: rgba(57, 61, 60, 0.62);
  vertical-align: middle;
}

/* Status tokens (ethics vendor tables) — VERIFIED vs UNVERIFIED coding. */
.virts-trust-status-verified {
  color: #2f6b3a;
  white-space: nowrap;
}

.virts-trust-status-unverified {
  color: #a2591c;
  white-space: nowrap;
}

/* --------------------------------------------------------------- contact */
.virts-trust-contact {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(57, 61, 60, 0.14);
}

.virts-trust a {
  color: inherit;
}

.virts-trust-contact a {
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* --------------------------------------------------- trust links (footer) */
.virts-trust-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.75rem;
  justify-content: center;
  padding: 1.15rem 1.5rem;
  border-top: 1px solid rgba(57, 61, 60, 0.12);
  background: #EFE9DB;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.virts-trust-nav a {
  color: #393D3C;
  text-decoration: none;
}

.virts-trust-nav a:hover,
.virts-trust-nav a:focus-visible {
  text-decoration: underline;
  text-decoration-color: #F59E0B;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
