/* ==========================================================================
   BuildX -- trust pages: /reviews/, /our-values/, /ethics/  (2026-10-08)

   Same design system and width discipline as /recognition/
   (assets/css/recognition.css): container clamp(320px, 90vw, 2304px) so the
   pages fill Aaron's 2560 display like their neighbors, clamp() spacing, no
   fixed pixel caps on centered layouts, overflow-wrap on long strings so
   nothing forces a horizontal scrollbar at 390px.

   Brand tokens from global.css: --bx-black, --bx-gold, --bx-gold-deep,
   --bx-white, --bx-text-dark, --bx-text-gray.
   ========================================================================== */

.page-trust {
  --tp-max: clamp(320px, 90vw, 2304px);
  --tp-line: #E4E4E4;
  --tp-ink-soft: #5A5A5A;
}

.page-trust .container {
  width: 100%;
  max-width: var(--tp-max);
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 48px);
}

.page-trust .section { padding-block: clamp(44px, 5vw, 88px); }
.page-trust .section__subtitle { max-width: 78ch; }
.page-trust .section__subtitle a { color: var(--bx-gold-deep); font-weight: 600; }

/* -- HERO --------------------------------------------------------------- */
.tp-hero {
  background:
    radial-gradient(90rem 42rem at 78% -18%, rgba(245, 166, 35, .16), transparent 62%),
    linear-gradient(180deg, #0B0B0B 0%, var(--bx-black) 100%);
  border-bottom: 1px solid rgba(245, 166, 35, .28);
}
.tp-hero__label { color: var(--bx-gold); letter-spacing: .14em; }
.tp-hero__title {
  font-size: clamp(2.1rem, 4.4vw, 4.25rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -.022em;
  margin: 10px 0 0;
  color: var(--bx-white);
}
.tp-hero__lede {
  max-width: 68ch;
  margin: clamp(16px, 1.6vw, 26px) 0 0;
  font-size: clamp(1rem, 1.16vw, 1.2rem);
  line-height: 1.62;
  color: rgba(255, 255, 255, .82);
}
.tp-hero__lede em { color: var(--bx-gold); font-style: normal; font-weight: 600; }
.tp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(24px, 2.4vw, 40px);
}

.tp-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: clamp(12px, 1.3vw, 22px);
  margin-top: clamp(28px, 3vw, 52px);
}
.tp-stat {
  padding: clamp(16px, 1.5vw, 24px);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 14px;
  background: rgba(255, 255, 255, .035);
  transition: border-color .18s ease, transform .18s ease;
}
.tp-stat:hover { border-color: rgba(245, 166, 35, .5); transform: translateY(-2px); }
.tp-stat__num {
  display: block;
  font-size: clamp(2rem, 2.9vw, 3.1rem);
  font-weight: 800;
  line-height: 1;
  color: var(--bx-gold);
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
}
.tp-stat__num--sm { font-size: clamp(1.45rem, 2vw, 2.2rem); line-height: 1.15; }
.tp-stat__stars { display: flex; gap: 3px; margin-top: 8px; color: var(--bx-gold); }
.tp-stat__stars svg { width: 16px; height: 16px; }
.tp-stat__label {
  display: block;
  margin-top: 8px;
  font-size: .8125rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, .68);
}

.tp-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(24px, 2.4vw, 40px);
}
.tp-jump a {
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  color: var(--bx-white);
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .18s ease, color .18s ease;
}
.tp-jump a:hover { border-color: var(--bx-gold); color: var(--bx-gold); }

/* -- REVIEWS GRID ------------------------------------------------------- */
.tp-reviews {
  columns: 1;
  column-gap: clamp(16px, 1.6vw, 28px);
  margin-top: clamp(26px, 2.6vw, 42px);
}
@media (min-width: 800px)  { .tp-reviews { columns: 2; } }
@media (min-width: 1500px) { .tp-reviews { columns: 3; } }

.tp-review {
  break-inside: avoid;
  display: inline-block;
  width: 100%;
  margin-bottom: clamp(16px, 1.6vw, 28px);
  padding: clamp(20px, 1.8vw, 30px);
  border: 1px solid var(--tp-line);
  border-radius: 16px;
  background: var(--bx-white);
  transition: box-shadow .18s ease, border-color .18s ease;
}
.tp-review:hover { border-color: rgba(245, 166, 35, .55); box-shadow: 0 8px 26px rgba(0, 0, 0, .07); }
.tp-review__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--tp-line);
}
.tp-review__avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  background: var(--bx-black);
  color: var(--bx-gold);
  font-weight: 800;
  font-size: .9rem;
  letter-spacing: .02em;
}
.tp-review__who { min-width: 0; flex: 1 1 auto; }
.tp-review__name { margin: 0; font-size: 1.02rem; font-weight: 700; line-height: 1.25; color: #1A1A1A; }
.tp-review__date { font-size: .76rem; color: var(--bx-text-gray); }
.tp-review__stars { display: flex; gap: 2px; color: var(--bx-gold); flex: 0 0 auto; }
.tp-review__stars svg { width: 16px; height: 16px; }
.tp-review__text {
  margin-top: 14px;
  font-size: .94rem;
  line-height: 1.65;
  color: var(--bx-text-dark);
  overflow-wrap: anywhere;
}
.tp-reviews__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: 8px 0 0;
}

.tp-textlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 18px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--bx-gold-deep);
  text-decoration: none;
}
.tp-textlink svg { width: 16px; height: 16px; flex: 0 0 16px; }
.tp-textlink:hover { text-decoration: underline; }

/* -- POINT GRID --------------------------------------------------------- */
.tp-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(14px, 1.4vw, 24px);
  margin-top: clamp(20px, 2vw, 34px);
}
.tp-point {
  padding: clamp(18px, 1.6vw, 26px);
  border: 1px solid var(--tp-line);
  border-top: 3px solid var(--bx-gold);
  border-radius: 12px;
  background: var(--bx-white);
}
.tp-point__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(245, 166, 35, .16);
  color: var(--bx-gold-deep);
}
.tp-point__icon svg { width: 18px; height: 18px; }
.tp-point h3 { margin: 14px 0 6px; font-size: 1.02rem; font-weight: 700; color: #1A1A1A; }
.tp-point p { margin: 0; font-size: .88rem; line-height: 1.58; color: var(--tp-ink-soft); }

/* -- LINK CARDS --------------------------------------------------------- */
.tp-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(14px, 1.4vw, 24px);
  margin-top: clamp(20px, 2vw, 34px);
}
.tp-linkcard {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(18px, 1.7vw, 28px);
  border: 1px solid var(--tp-line);
  border-radius: 14px;
  background: var(--bx-white);
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.tp-linkcard:hover { border-color: rgba(245, 166, 35, .6); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0, 0, 0, .07); }
.tp-linkcard__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(245, 166, 35, .12);
  color: var(--bx-gold-deep);
}
.tp-linkcard__icon svg { width: 22px; height: 22px; }
.tp-linkcard__name { font-size: 1.08rem; font-weight: 700; color: #1A1A1A; }
.tp-linkcard__text { font-size: .88rem; line-height: 1.56; color: var(--tp-ink-soft); }
.tp-linkcard__go { margin-top: auto; padding-top: 6px; font-size: .84rem; font-weight: 700; color: var(--bx-gold-deep); }

/* -- VALUES ------------------------------------------------------------- */
.tp-values {
  list-style: none;
  margin: clamp(26px, 2.6vw, 42px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 1.6vw, 28px);
}
@media (min-width: 760px)  { .tp-values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1500px) { .tp-values { grid-template-columns: repeat(3, 1fr); } }
/* 7 values: on 3 columns the last card would sit alone; let it span the row
   as a wide closing card instead of reading as a broken grid. */
@media (min-width: 1500px) { .tp-value:last-child:nth-child(3n + 1) { grid-column: 1 / -1; } }
@media (min-width: 760px) and (max-width: 1499px) { .tp-value:last-child:nth-child(2n + 1) { grid-column: 1 / -1; } }

.tp-value {
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 1.9vw, 34px);
  border: 1px solid var(--tp-line);
  border-radius: 16px;
  background: var(--bx-white);
  transition: box-shadow .2s ease, border-color .2s ease;
}
.tp-value:hover { border-color: rgba(245, 166, 35, .55); box-shadow: 0 10px 30px rgba(0, 0, 0, .08); }
.tp-value__head { display: flex; align-items: center; justify-content: space-between; }
.tp-value__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(245, 166, 35, .12);
  color: var(--bx-gold-deep);
}
.tp-value__icon svg { width: 24px; height: 24px; }
.tp-value__num { font-size: 1.6rem; font-weight: 800; color: #E9E9E9; letter-spacing: -.02em; }
.tp-value__name { margin: 16px 0 0; font-size: clamp(1.12rem, 1.3vw, 1.38rem); font-weight: 800; color: #1A1A1A; line-height: 1.25; }
.tp-value__claim {
  margin: 14px 0 0;
  padding: 14px 16px;
  border-left: 3px solid var(--bx-gold);
  border-radius: 0 10px 10px 0;
  background: #FAFAFA;
  font-size: .92rem;
  line-height: 1.58;
  font-style: italic;
  color: var(--bx-text-dark);
}
.tp-value__subhead {
  margin: 18px 0 6px;
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--bx-text-gray);
}
.tp-value__means { margin: 0; font-size: .93rem; line-height: 1.64; color: var(--bx-text-dark); }
.tp-value__proof {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--bx-gold-deep);
  text-decoration: none;
}
.tp-value__proof svg { width: 16px; height: 16px; }
.tp-value__proof:hover { text-decoration: underline; }

/* -- ETHICS POLICY SECTIONS --------------------------------------------- */
.tp-policy__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 64px);
  align-items: start;
}
@media (min-width: 1060px) { .tp-policy__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.tp-policy__intro p { font-size: clamp(.98rem, 1.06vw, 1.1rem); line-height: 1.65; color: var(--bx-text-dark); margin: 0 0 18px; }
.tp-policy__intro .section__title { font-size: clamp(1.5rem, 2.2vw, 2.3rem); line-height: 1.15; }
.tp-policy__body { display: grid; gap: clamp(14px, 1.4vw, 22px); min-width: 0; }
.tp-policy__lead { margin: 0; font-weight: 600; color: var(--bx-text-dark); }
.tp-policy__small { margin: 0; font-size: .86rem; }
.tp-policy__small a { color: var(--bx-gold-deep); font-weight: 700; }

.tp-box {
  padding: clamp(18px, 1.7vw, 28px);
  border: 1px solid var(--tp-line);
  border-radius: 14px;
  background: var(--bx-white);
}
.section--gray .tp-box { background: var(--bx-white); }
.tp-box--accent { border-left: 4px solid var(--bx-gold); }
.tp-box__title { margin: 0 0 8px; font-size: 1.05rem; font-weight: 800; color: #1A1A1A; }
.tp-box p { margin: 0; font-size: .92rem; line-height: 1.62; color: var(--bx-text-dark); }
.tp-box a { color: var(--bx-gold-deep); font-weight: 700; }
.tp-box__lede { margin-bottom: 12px !important; }
.tp-box__note { margin-top: 14px !important; padding-top: 14px; border-top: 1px dashed #DADADA; color: var(--tp-ink-soft) !important; }

.tp-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tp-tags li {
  padding: 6px 12px;
  border-radius: 999px;
  background: #F4F4F4;
  border: 1px solid #E6E6E6;
  font-size: .82rem;
  font-weight: 600;
  color: var(--bx-text-dark);
}

.tp-dolist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tp-dolist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--tp-line);
  border-radius: 12px;
  background: var(--bx-white);
  font-size: .93rem;
  line-height: 1.55;
  color: var(--bx-text-dark);
}
.tp-dolist__icon {
  display: grid;
  place-items: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(27, 122, 67, .12);
  color: #1B7A43;
}
.tp-dolist--no .tp-dolist__icon { background: rgba(176, 42, 42, .1); color: #B02A2A; }
.tp-dolist__icon svg { width: 14px; height: 14px; }

.tp-steps { margin: 0; padding: 0; list-style: none; counter-reset: tp-step; display: grid; gap: 12px; }
.tp-steps li {
  counter-increment: tp-step;
  position: relative;
  padding: 16px 18px 16px 62px;
  border: 1px solid var(--tp-line);
  border-radius: 12px;
  background: var(--bx-white);
  font-size: .93rem;
  line-height: 1.6;
  color: var(--bx-text-dark);
}
.tp-steps li::before {
  content: counter(tp-step, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 15px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--bx-gold-deep);
}

.tp-rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.tp-rule {
  padding: 16px 18px;
  border: 1px solid var(--tp-line);
  border-top: 3px solid var(--bx-gold);
  border-radius: 12px;
  background: var(--bx-white);
}
.tp-rule h3 { margin: 0 0 6px; font-size: .98rem; font-weight: 800; color: #1A1A1A; }
.tp-rule p { margin: 0; font-size: .86rem; line-height: 1.55; color: var(--tp-ink-soft); }

.tp-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.tp-quote {
  margin: 0;
  padding: clamp(18px, 1.6vw, 26px);
  border: 1px solid var(--tp-line);
  border-radius: 14px;
  background: var(--bx-white);
}
.tp-quote__stars { display: flex; gap: 2px; color: var(--bx-gold); }
.tp-quote__stars svg { width: 15px; height: 15px; }
.tp-quote blockquote { margin: 12px 0 0; font-size: .95rem; line-height: 1.6; font-style: italic; color: var(--bx-text-dark); overflow-wrap: anywhere; }
.tp-quote figcaption { margin-top: 12px; font-size: .8rem; line-height: 1.5; color: var(--bx-text-gray); }
.tp-quote figcaption strong { color: var(--bx-text-dark); }

.tp-creds { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.tp-cred {
  display: flex;
  flex-direction: column;
  padding: clamp(18px, 1.6vw, 26px);
  border: 1px solid var(--tp-line);
  border-top: 3px solid var(--bx-gold);
  border-radius: 12px;
  background: var(--bx-white);
}
.tp-cred__issuer { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--bx-text-gray); }
.tp-cred__value { margin-top: 8px; font-size: clamp(1.2rem, 1.5vw, 1.6rem); font-weight: 800; color: #1A1A1A; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.tp-cred__label { margin-top: 3px; font-size: .86rem; font-weight: 600; color: var(--bx-text-dark); }
.tp-cred__holder { margin-top: 10px; font-size: .8rem; color: var(--tp-ink-soft); }

/* -- CTA ---------------------------------------------------------------- */
.tp-cta {
  background:
    radial-gradient(70rem 34rem at 22% 118%, rgba(245, 166, 35, .17), transparent 60%),
    var(--bx-black);
  text-align: center;
}
.tp-cta__title { font-size: clamp(1.7rem, 2.7vw, 2.7rem); font-weight: 800; letter-spacing: -.02em; margin: 0; color: var(--bx-white); }
.tp-cta__text { max-width: 60ch; margin: 14px auto 0; font-size: clamp(.95rem, 1.05vw, 1.08rem); line-height: 1.62; color: rgba(255, 255, 255, .78); }
.tp-cta__text a { color: var(--bx-gold); font-weight: 700; }
.tp-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(22px, 2.2vw, 34px); }

/* -- MOBILE ------------------------------------------------------------- */
@media (max-width: 640px) {
  .page-trust { --tp-max: 100%; }
  .tp-hero__actions .btn, .tp-cta__actions .btn { width: 100%; text-align: center; }
  .tp-review__head { flex-wrap: wrap; }
  .tp-review__stars { width: 100%; padding-left: 54px; }
  .tp-steps li { padding-left: 54px; }
  .tp-box p, .tp-dolist li, .tp-value__means, .tp-value__claim { overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
  .tp-stat, .tp-linkcard, .tp-review, .tp-value { transition: none; }
  .tp-stat:hover, .tp-linkcard:hover { transform: none; }
}
