.trust {
  padding: clamp(3rem, 6vw, 4.5rem) clamp(1.25rem, 3vw, 2.5rem);
}

.trust__inner {
  max-width: 72rem;
  width: 100%;
  margin-inline: auto;
}

.trust__header {
  max-width: 34rem;
  margin-bottom: clamp(2.25rem, 5vw, 3.25rem);
}

.trust__title {
  font-size: clamp(1.65rem, 3.4vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.trust__sub {
  margin-top: 0.85rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ---- Bento ---- */

.trust__bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(14rem, auto)) minmax(11rem, auto);
  gap: 1rem;
}

.trust-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.35rem;
  min-width: 0;
  padding: 1.35rem;
  border-radius: 1.35rem;
  background: var(--surface);
  overflow: hidden;
}

.trust-cell--a {
  grid-column: 1 / span 2;
  grid-row: 1 / span 2;
}

.trust-cell--b {
  grid-column: 3 / span 2;
  grid-row: 1;
}

.trust-cell--c {
  grid-column: 3;
  grid-row: 2;
}

.trust-cell--d {
  grid-column: 4;
  grid-row: 2 / span 2;
  justify-content: flex-start;
}

.trust-cell--e {
  grid-column: 1 / span 3;
  grid-row: 3;
}

.trust-cell__title {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.trust-cell__text {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--muted);
}

/* ---- Cell A visual: frozen card ---- */

.trust-freeze {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.trust-freeze__card {
  width: min(19rem, 86%);
}

/* ---- Cell B visual: encrypted stream ---- */

.trust-cipher {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: rgba(244, 244, 245, 0.35);
}

.trust-cipher__row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
}

.trust-cipher__row strong {
  font-weight: 400;
  color: var(--accent);
}

/* ---- Cell C visual: masked digits ---- */

.trust-mask {
  flex: 1;
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: rgba(244, 244, 245, 0.4);
  white-space: nowrap;
}

.trust-mask strong {
  font-weight: 400;
  color: var(--accent);
}

/* ---- Cell D visual: activity log on a phone ---- */

.trust-phone {
  position: relative;
  flex: 1;
  margin-top: 1.75rem;
}

.trust-phone img {
  position: absolute;
  left: 50%;
  top: 1.5rem;
  transform: translateX(-50%);
  width: min(13.5rem, 88%);
}

/* ---- Cell E visual: spending limit ---- */

.trust-limit {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.6rem;
  flex: 1;
  max-width: 30rem;
  margin-bottom: 1rem;
}

.trust-limit__bar {
  height: 0.5rem;
  border-radius: 999px;
  background: rgba(244, 244, 245, 0.07);
  overflow: hidden;
}

.trust-limit__bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: var(--accent);
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.35s;
}

[data-reveal].is-visible .trust-limit__bar span {
  width: var(--p, 40%);
}

.trust-limit__meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: rgba(244, 244, 245, 0.4);
}

.trust-limit__meta strong {
  font-weight: 400;
  color: var(--ink);
}

.trust-log__row strong {
  font-weight: 400;
  color: var(--ink);
}

@media (max-width: 56rem) {
  .trust__bento {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .trust-cell--a {
    grid-column: 1 / span 2;
    grid-row: auto;
    min-height: 20rem;
  }

  .trust-cell--b,
  .trust-cell--e {
    grid-column: 1 / span 2;
    grid-row: auto;
  }

  .trust-cell--c {
    grid-column: 1 / span 2;
    grid-row: auto;
    min-height: 13rem;
  }

  .trust-cell--d {
    grid-column: 1 / span 2;
    grid-row: auto;
    min-height: 24rem;
  }
}
