/* Trust & Safety (trust.html). Loaded on that page only, after site.css: same tokens, type and blocks.
   Motion: the opening is CSS with transform only (the title and the card are painted in the first frame); the
   promises play as they scroll into view with CSS scroll-driven animations (no script, nothing on the main thread),
   inside @supports so other browsers simply show the finished page; site.js adds the shared GSAP touches (.reveal,
   the statement, the final line, the counters). Reduce Motion: everything is simply there. */

/* ── Opening ─────────────────────────────────────────────────────────────────────────────────────────────── */
.t-hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 112px); align-items: center;
          min-height: calc(100svh / var(--z, 1) - 72px); padding-block: clamp(24px, 4vw, 64px) var(--section-y); }
.t-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 var(--s4); font: 700 13px/1 var(--body);
             letter-spacing: .12em; text-transform: uppercase; color: var(--rose); }
.t-eyebrow svg { width: 18px; height: 18px; }
.t-title { margin: 0; font: 450 clamp(60px, 9.4vw, 168px)/.9 var(--display); letter-spacing: -0.05em; text-wrap: balance; }
.t-title em { font-style: italic; color: var(--rose); padding-inline-end: .06em; }
.t-w { display: inline-block; }
.t-lede { margin: var(--s5) 0 0; max-width: 46ch; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.5; color: var(--soft); }
.t-status { display: flex; flex-wrap: wrap; gap: 10px; margin: var(--s5) 0 0; }

/* Live / Coming: a filled pill with a beating dot, an outlined one with an empty ring. */
.t-pill { display: inline-flex; align-items: center; gap: 9px; min-height: 36px; padding: 0 15px 0 13px; border-radius: 999px;
          font: 700 13px/1 var(--body); letter-spacing: .02em; text-decoration: none; white-space: nowrap; }
.t-pill i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.t-pill.live { background: var(--rose); color: var(--btn-ink); }
.t-pill.live i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid currentColor; opacity: 0; }
.t-pill.soon { color: var(--ink); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--ink) 26%, transparent); }
.t-pill.soon i { background: transparent; box-shadow: inset 0 0 0 2px currentColor; }
a.t-pill { transition: translate .2s; } a.t-pill:hover { translate: 0 -2px; }

/* A price with its receipt: the real card, its slip printed out under it and the stamp. */
.t-receipt { position: relative; justify-self: center; width: min(100%, 460px); margin: 0; padding-block: 8px 24px; }
.t-card { position: relative; z-index: 1; width: 66%; margin-left: 6%; rotate: -6deg; }
.t-card img { width: 100%; height: auto; aspect-ratio: 245 / 337; object-fit: cover; border-radius: 4.6% / 3.4%; background: var(--blush);
              box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .6), 0 0 0 1px rgba(0, 0, 0, .06); }
.t-stamp { position: absolute; right: -24%; top: 9%; padding: 11px 14px; border: 2.5px solid currentColor; border-radius: 12px;
           font: 800 14px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--rose); rotate: 11deg;
           background: color-mix(in srgb, var(--bg) 86%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.t-slip { position: relative; z-index: 2; width: 76%; margin: -36% 0 0 auto; padding: 20px 22px 30px; rotate: 3deg;
          background: var(--panel); color: var(--ink); border-radius: 20px 20px 0 0; filter: drop-shadow(0 26px 34px rgba(0, 0, 0, .2));
          /* A torn paper edge along the bottom. */
          -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 9px) no-repeat, conic-gradient(from -45deg at bottom, #000 90deg, #0000 0) bottom / 18px 9px repeat-x;
          mask: linear-gradient(#000 0 0) top / 100% calc(100% - 9px) no-repeat, conic-gradient(from -45deg at bottom, #000 90deg, #0000 0) bottom / 18px 9px repeat-x; }
.t-slip-head { display: grid; gap: 3px; margin: 0 0 14px; padding-bottom: 14px; border-bottom: 1.5px dashed var(--line); }
.t-slip-head b { font: 500 24px/1.05 var(--display); letter-spacing: -0.02em; }
.t-slip-head span { font-size: 13px; color: var(--muted); }
.t-slip dl { display: grid; gap: 9px; margin: 0; }
.t-slip dl div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 14px; }
.t-slip dt { color: var(--muted); }
.t-slip dd { margin: 0; font-weight: 600; text-align: right; }
.t-slip .t-amt { font: 500 26px/1 var(--display); letter-spacing: -0.02em; color: var(--rose); font-variant-numeric: tabular-nums; }
.t-slip-foot { margin: 14px 0 0; padding-top: 14px; border-top: 1.5px dashed var(--line); font-size: 13px; color: var(--soft); }

/* ── The promises ────────────────────────────────────────────────────────────────────────────────────────── */
.t-ledger { padding-block: var(--section-y); }
.t-ledger-head, .t-split { max-width: 860px; margin-bottom: var(--s6); }
.t-ledger-head p, .t-split p { max-width: 54ch; margin: 0; font-size: 19px; color: var(--soft); }
.t-split { margin-top: calc(var(--section-y) * 1.4); }
.t-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(16px, 2.4vw, 28px); }
.t-item { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 88px); align-items: center;
          padding: clamp(28px, 4.4vw, 64px); border-radius: calc(var(--radius) + 8px); background: var(--panel); box-shadow: 0 0 0 1px var(--line); }
.t-item:nth-child(even) .t-visual { order: -1; }
/* Not built yet: drawn as an outline, not a finished panel. */
.t-item.soon { background: transparent; box-shadow: none; border: 1.5px dashed color-mix(in srgb, var(--ink) 24%, transparent); }
.t-num { display: block; margin-bottom: var(--s3); font: italic 400 clamp(52px, 5.6vw, 92px)/.85 var(--display); letter-spacing: -0.04em; color: var(--rose); }
.t-text h3 { margin: var(--s4) 0 var(--s3); font: 450 clamp(32px, 3.4vw, 54px)/1 var(--display); letter-spacing: -0.035em; text-wrap: balance; }
.t-text h3 em { font-style: italic; color: var(--rose); }
.t-text p { margin: 0; max-width: 50ch; color: var(--soft); }
.t-text p a { color: var(--ink); font-weight: 600; }
.t-visual { position: relative; }
.t-sample { position: absolute; top: -6px; right: 0; padding: 6px 10px; border-radius: 999px; font: 700 11px/1 var(--body); letter-spacing: .12em;
            text-transform: uppercase; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); background: var(--bg); }

/* 01: a priced card beside one that waits for a trusted price. */
.t-prices { display: flex; justify-content: center; gap: clamp(16px, 3vw, 36px); padding-block: 8px 24px; }
.t-mini { position: relative; display: grid; gap: 12px; width: min(44%, 220px); text-align: center; }
.t-mini:first-child { rotate: -4deg; }
.t-mini:last-child { rotate: 4deg; translate: 0 20px; }
.t-mini img { width: 100%; height: auto; aspect-ratio: 245 / 337; object-fit: cover; border-radius: 4.6% / 3.4%; background: var(--blush);
              box-shadow: 0 28px 54px -30px rgba(0, 0, 0, .55); }
.t-mini:last-child img { filter: saturate(.3) contrast(.95); }
.t-chip { position: absolute; top: 9%; left: 50%; translate: -50% 0; padding: 8px 12px; border-radius: 999px; font: 700 14px/1 var(--body); color: #fff;
          font-variant-numeric: tabular-nums; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .5); }
.t-chip.price { background: rgba(18, 18, 18, .9); }
.t-chip.review { background: var(--v-review); }
.t-mini small { font-size: 13px; line-height: 1.35; color: var(--muted); }

/* 02: the benchmark, counted up (site.js counts .proof .count) with a bar for each. */
.t-bench .proof { grid-template-columns: 1fr; gap: var(--s5); }
.t-bench .proof dt { font-size: clamp(52px, 5.4vw, 84px); }
.t-bench .proof dd { margin-top: 8px; font-size: 16px; }
.t-bar { display: block; height: 6px; margin-top: 14px; border-radius: 6px; background: var(--chip); overflow: hidden; }
.t-bar i { display: block; width: var(--p); height: 100%; border-radius: inherit; background: var(--rose); transform-origin: 0 50%; }
.t-bench .source { margin-top: var(--s5); }

/* 03: the ways to get paid; Friends & Family struck through. */
.t-rail ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.t-rail li { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; padding: 18px 20px; border-radius: 20px;
             background: var(--bg); box-shadow: 0 0 0 1px var(--line); }
.t-mark { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; }
.t-mark svg { width: 18px; height: 18px; }
.t-rail .ok .t-mark { background: var(--rose); color: var(--btn-ink); }
.t-rail .no { background: transparent; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--ink) 18%, transparent); }
.t-rail .no .t-mark { background: var(--chip); color: var(--muted); }
.t-rail b { font: 600 17px/1.25 var(--body); }
.t-rail small { font-size: 14px; color: var(--muted); }
.t-rail s { text-decoration: none; background: linear-gradient(var(--rose), var(--rose)) 0 58% / 100% 2.5px no-repeat; }

/* 04: what never happens to your data, each word struck out. */
.t-never { display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 12px; }
.t-never span { position: relative; padding: 16px 24px; border-radius: 999px; font: 450 clamp(26px, 2.8vw, 42px)/1 var(--display); letter-spacing: -0.025em;
                color: var(--soft); box-shadow: inset 0 0 0 1.5px var(--line); }
.t-never span::after { content: ""; position: absolute; left: 16px; right: 16px; top: 52%; height: 3px; border-radius: 3px; background: var(--rose);
                       rotate: -7deg; transform-origin: 0 50%; }

/* 05: a slab, its label read, and the checks against PSA's record. */
.t-cert { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: center; padding-top: 22px; }
.t-slab { padding: 10px 10px 12px; border-radius: 16px; rotate: -3deg; background: linear-gradient(155deg, rgba(255, 255, 255, .6), rgba(255, 255, 255, .08) 55%), var(--chip);
          box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5), 0 0 0 1px var(--line), 0 34px 60px -34px rgba(0, 0, 0, .55); }
.t-label { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; padding: 8px 10px; border-radius: 7px;
           background: #FFFDFA; color: #121212; font: 700 9.5px/1.3 var(--body); letter-spacing: .03em; text-transform: uppercase;
           box-shadow: inset 0 0 0 1.5px #9B3F55; }
.t-label > span:first-child { display: grid; }
.t-grade { display: grid; justify-items: end; }
.t-grade b { font: 800 22px/1 var(--body); }
.t-slab img { width: 100%; height: auto; aspect-ratio: 245 / 337; border-radius: 4.6% / 3.4%; background: var(--blush); }
.t-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.t-checks li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; font: 600 15px/1.25 var(--body); background: var(--panel);
               box-shadow: 0 0 0 1px var(--line); }
.t-checks i { flex: none; position: relative; width: 22px; height: 22px; border-radius: 50%; background: var(--rose); }
.t-checks i::after { content: ""; position: absolute; left: 7.5px; top: 4.5px; width: 5px; height: 9px; border: solid var(--btn-ink); border-width: 0 2.5px 2.5px 0; rotate: 45deg; }
.t-checks .t-verdict { background: var(--ink); color: var(--bg); box-shadow: none; }
.t-checks .t-verdict i { background: var(--bg); }
.t-checks .t-verdict i::after { border-color: var(--ink); }

/* 06: a deal both sides confirmed, then the review it unlocks. */
.t-deal { display: grid; gap: 14px; max-width: 440px; margin-inline: auto; padding-top: 26px; }
.t-deal-card { display: grid; grid-template-columns: 92px 1fr; gap: 18px; align-items: center; padding: 16px; border-radius: 22px; background: var(--panel);
               box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(0, 0, 0, .5); }
.t-deal-card img { width: 92px; height: auto; aspect-ratio: 245 / 337; border-radius: 6px; background: var(--blush); }
.t-deal-card small { font: 700 11px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.t-deal-card b { display: block; margin: 6px 0 12px; font: 500 21px/1.1 var(--display); letter-spacing: -0.02em; }
.t-steps { display: grid; gap: 7px; }
.t-steps span { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--soft); }
.t-steps span::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 4px color-mix(in srgb, var(--rose) 18%, transparent); }
.t-review { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-radius: 20px; background: var(--block); color: var(--block-ink); }
.t-review-ok { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--block-accent); color: var(--block); }
.t-review-ok svg { width: 16px; height: 16px; }
.t-review b { font: 500 22px/1 var(--display); letter-spacing: -0.02em; }

/* 07: a chat that catches Friends & Family and shows the safer way. */
.t-chat { display: grid; gap: 12px; max-width: 460px; margin-inline: auto; padding-top: 30px; }
.t-msg { max-width: 84%; margin: 0; padding: 12px 16px; border-radius: 22px; font-size: 15px; line-height: 1.4; }
.t-msg.them { justify-self: start; background: var(--chip); color: var(--ink); border-bottom-left-radius: 6px; }
.t-msg.me { justify-self: end; background: var(--ink); color: var(--bg); border-bottom-right-radius: 6px; }
.t-warn { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; margin: 0; padding: 14px 16px; border-radius: 18px; font-size: 14px; line-height: 1.45;
          background: color-mix(in srgb, var(--rose) 10%, var(--panel)); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--rose); }
.t-warn svg { width: 20px; height: 20px; margin-top: 1px; color: var(--rose); }
.t-warn b { display: block; }

/* ── Plain words, then how to check us ───────────────────────────────────────────────────────────────────── */
.t-plain { padding-top: var(--section-y); }
.t-plain-block { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); align-items: end; padding: var(--block-pad); }
.t-plain-block h2 { margin: 0 0 var(--s4); font: 450 var(--h2)/.96 var(--display); letter-spacing: -0.04em; text-wrap: balance; }
.t-plain-copy p { max-width: 48ch; margin: 0; font-size: 19px; color: var(--block-soft); }
.t-plain-list { list-style: none; margin: 0; padding: 0; }
.t-plain-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--block-line); }
.t-plain-list b { font: 450 24px/1.1 var(--display); letter-spacing: -0.02em; }
.t-plain-list span { font-size: 15px; text-align: right; color: var(--block-soft); }
.t-check { padding-block: var(--section-y) 0; }
.t-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: var(--s5); }
.t-link { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; padding: clamp(22px, 2.4vw, 32px); border-radius: var(--radius); text-decoration: none;
          background: var(--panel); box-shadow: 0 0 0 1px var(--line); transition: translate .25s, box-shadow .25s; }
.t-link b { font: 450 clamp(26px, 2.2vw, 32px)/1.05 var(--display); letter-spacing: -0.025em; }
.t-link span { grid-column: 1; font-size: 15px; color: var(--soft); }
.t-link i { grid-column: 2; grid-row: 1 / span 2; align-self: center; font: normal 400 26px/1 var(--body); color: var(--rose); transition: translate .25s; }
.t-link:hover { translate: 0 -3px; box-shadow: 0 0 0 1.5px var(--rose); }
.t-link:hover i { translate: 5px 0; }

/* ── Phones and narrow windows ───────────────────────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .t-links { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .t-hero { grid-template-columns: 1fr; min-height: 0; gap: var(--s5); padding-top: var(--s4); }
  .t-title { font-size: clamp(56px, 17vw, 96px); }
  /* The card stays smaller than the title on a phone, so the title (text, painted at once) is the largest thing
     on the first screen, not a picture still on its way from the card art host. */
  .t-receipt { width: min(100%, 340px); }
  .t-card { width: 46%; margin-left: 12%; }
  .t-slip { width: 80%; margin-top: -30%; }
  .t-stamp { right: -18%; font-size: 12px; }
  .t-item { grid-template-columns: 1fr; gap: var(--s5); }
  .t-item:nth-child(even) .t-visual { order: 0; }
  .t-plain-block { grid-template-columns: 1fr; }
  .t-plain-copy p, .t-ledger-head p, .t-split p { font-size: 17px; }
  .t-never span { padding: 12px 18px; }
}
@media (max-width: 480px) {
  .t-cert { grid-template-columns: 1fr 1.15fr; gap: 14px; }
  .t-checks li { padding: 10px; gap: 8px; font-size: 13px; }
  .t-label { font-size: 8px; }
  .t-grade b { font-size: 17px; }
}

/* ── Motion ──────────────────────────────────────────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  /* The opening plays once, on transforms only. Skipped on Back or a #section link (.no-intro, theme.js). */
  @keyframes t-up { from { transform: translateY(.42em) rotate(2deg); } }
  @keyframes t-card-in { from { transform: translateY(46px) rotate(5deg) scale(.95); } }
  @keyframes t-print { from { clip-path: inset(0 0 100% 0); transform: translateY(-14%); } }
  @keyframes t-stamp { from { transform: scale(2.4) rotate(-14deg); opacity: 0; } 55% { opacity: 1; } }
  @keyframes t-ping { from { transform: scale(.5); opacity: .9; } to { transform: scale(2.4); opacity: 0; } }
  .t-w { animation: t-up 1.05s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(60ms + var(--n) * 90ms); }
  .t-lede, .t-status { animation: settle 1s cubic-bezier(.16, 1, .3, 1) .45s both; }
  .t-card { animation: t-card-in 1.3s cubic-bezier(.16, 1, .3, 1) .15s both; }
  .t-slip { animation: t-print 1.1s cubic-bezier(.7, 0, .2, 1) .7s both; }
  .t-stamp { animation: t-stamp .6s cubic-bezier(.3, 1.5, .5, 1) 1.5s both; }
  .t-pill.live i::after { animation: t-ping 2.4s cubic-bezier(.2, .7, .3, 1) 2s infinite; }
  .no-intro :is(.t-w, .t-lede, .t-status, .t-card, .t-slip, .t-stamp) { animation: none; }

  /* The promises: each panel rises in as it arrives, then its own picture plays out with the scroll. */
  @supports (animation-timeline: view()) {
    @keyframes t-enter { from { transform: translateY(90px) scale(.96); } }
    @keyframes t-fade-up { from { opacity: 0; transform: translateY(18px) scale(.96); } }
    @keyframes t-grow { from { transform: scaleX(0); } }
    @keyframes t-strike { from { background-size: 0% 2.5px; } }
    @keyframes t-deal-l { from { transform: translate(36%, 6%) rotate(8deg); } }
    @keyframes t-deal-r { from { transform: translate(-36%, -4%) rotate(-8deg); } }
    @keyframes t-tick { from { transform: translateX(-14px); } }
    @keyframes t-tick-i { from { transform: scale(0); } }
    .t-item { animation: t-enter linear both; animation-timeline: view(); animation-range: entry 0% entry 80%; }
    .t-visual { view-timeline: --t-shot block; }
    .t-mini:first-child { animation: t-deal-l linear both; animation-timeline: --t-shot; animation-range: entry 10% cover 40%; }
    .t-mini:last-child { animation: t-deal-r linear both; animation-timeline: --t-shot; animation-range: entry 10% cover 40%; }
    .t-chip { animation: t-fade-up linear both; animation-timeline: --t-shot; animation-range: cover 30% cover 42%; }
    .t-bar i { animation: t-grow linear both; animation-timeline: --t-shot; animation-range: entry 40% cover 45%; }
    .t-rail li { animation: t-fade-up linear both; animation-timeline: --t-shot; }
    .t-rail li:nth-child(1) { animation-range: entry 20% cover 30%; }
    .t-rail li:nth-child(2) { animation-range: entry 45% cover 35%; }
    .t-rail li:nth-child(3) { animation-range: entry 70% cover 40%; }
    .t-rail s { animation: t-strike linear both; animation-timeline: --t-shot; animation-range: cover 38% cover 52%; }
    .t-never span::after { animation: t-grow linear both; animation-timeline: --t-shot; }
    .t-never span:nth-child(1)::after { animation-range: entry 50% cover 32%; }
    .t-never span:nth-child(2)::after { animation-range: entry 70% cover 37%; }
    .t-never span:nth-child(3)::after { animation-range: entry 90% cover 42%; }
    .t-never span:nth-child(4)::after { animation-range: cover 30% cover 47%; }
    .t-checks li { animation: t-tick linear both; animation-timeline: --t-shot; }
    .t-checks i { animation: t-tick-i linear both; animation-timeline: --t-shot; }
    .t-checks li:nth-child(1), .t-checks li:nth-child(1) i { animation-range: entry 40% cover 28%; }
    .t-checks li:nth-child(2), .t-checks li:nth-child(2) i { animation-range: entry 60% cover 33%; }
    .t-checks li:nth-child(3), .t-checks li:nth-child(3) i { animation-range: entry 80% cover 38%; }
    .t-checks li:nth-child(4), .t-checks li:nth-child(4) i { animation-range: cover 34% cover 46%; }
    .t-steps span, .t-review { animation: t-fade-up linear both; animation-timeline: --t-shot; }
    .t-steps span:nth-child(1) { animation-range: entry 40% cover 28%; }
    .t-steps span:nth-child(2) { animation-range: entry 60% cover 33%; }
    .t-steps span:nth-child(3) { animation-range: entry 80% cover 38%; }
    .t-review { animation-range: cover 34% cover 48%; }
    .t-msg, .t-warn { animation: t-fade-up linear both; animation-timeline: --t-shot; }
    .t-msg.them { animation-range: entry 30% cover 28%; transform-origin: 0 100%; }
    .t-warn { animation-range: entry 75% cover 38%; }
    .t-msg.me { animation-range: cover 34% cover 48%; transform-origin: 100% 100%; }
  }
}
