/*
  The trust center hub (/trust). Layout after Supabase's security page: labelled
  rows of short cards, each card one claim and a link to its detail. The opening
  argument after Tailscale's "Security by design": a plain claim, then how to
  check it. References in research/growth/site-redesign-home/trust-refs.
  No badges, no logos, no gate. The per-app detail below keeps the legal page styles.
*/

.page--trust .thub {
  max-width: none;
}

.thub__head h1 {
  margin: 0;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.thub__lede {
  max-width: 34em;
  margin: 18px 0 12px;
  color: var(--ink-2);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
}

/* By design: four claims, each with how to check it. */
.tdesign {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
}

.tdesign > .label {
  grid-column: 1 / -1;
  max-width: none;
}

.tdesign__item {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.tdesign__item h3 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.tdesign__item h3::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 1px;
  background: var(--c-green);
  transform: translateY(-2px);
}

.tdesign__item p {
  margin: 0;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.55;
}

.tdesign__item a {
  color: var(--c-green);
}

.page--trust #at-a-glance {
  max-width: none;
}

/* A row: a small label, one line on what it covers, then its cards. */
.trow {
  margin: 0 0 clamp(32px, 4vw, 48px);
}

.trow__label {
  margin: 0;
  color: var(--c-green);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.trow__intro {
  margin: 6px 0 14px;
  color: var(--ink-2);
  font-size: 15.5px;
}

/* Four cards sit two by two; six sit three by two, so no row leaves one alone. */
.tcards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tcards:has(> :nth-child(5)) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 899px) {
  .tcards:has(> :nth-child(5)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 559px) {
  .tcards,
  .tcards:has(> :nth-child(5)) {
    grid-template-columns: 1fr;
  }
}

.tcard {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border-radius: var(--r-m);
  background: var(--c-white);
  box-shadow: inset 0 0 0 1px var(--line-lit);
  color: var(--ink);
  text-decoration: none;
  transition: box-shadow var(--t-1) var(--ease), background var(--t-1) var(--ease);
}

.tcard:hover {
  background: var(--c-cloud);
  box-shadow: inset 0 0 0 1px var(--c-green);
}

.tcard b {
  font-size: 16px;
  line-height: 1.3;
}

.tcard span {
  flex: 1;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.5;
}

.tcard em {
  color: var(--c-green);
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
}

.tcard em::after {
  content: " →";
}

/* What we do not claim: its own band, because it is the point. */
.tnot {
  margin-top: clamp(16px, 2vw, 24px);
  padding: 4px clamp(20px, 3vw, 32px) clamp(20px, 3vw, 28px);
  border-radius: var(--r-l);
  background: var(--c-lime-200);
  box-shadow: inset 0 0 0 1px var(--c-lime);
}

.tnot .label {
  margin-top: 20px;
  padding-top: 0;
  border-top: 0;
}

.tnot .prose {
  max-width: 44em;
}

.thub__part {
  margin: clamp(56px, 7vw, 88px) 0 0;
  padding-top: 18px;
  border-top: 2px solid var(--c-ink);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* The hub is the top of the page: no "Back to top" inside it or straight after it. */
.thub .to-top,
.thub + .to-top {
  display: none !important;
}

@media (max-width: 719px) {
  .tdesign {
    grid-template-columns: 1fr;
  }
}

/* The pack request at the top (design review, 19 Nov 2026) */
.thub__acts {
  margin: 22px 0 8px;
}

.thub__note {
  margin: 0 0 18px;
  color: var(--ink-2);
  font-size: 14px;
}
