/* Homepage stats band as flip cards (2026-12-04; owner picked "Flip cards + services ticker").
   Each number is a button: hover (mouse), keyboard focus or a tap (touch, via the inline script in index.html)
   turns it over to say what the number means. The services ticker underneath is unchanged (main.js). */
.trust.tf { padding: 52px 0 40px; }
.tf-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: center; }
.tf-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.tf .st-h { font-size: 38px; line-height: 1.06; }
.tf-hint { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: #9AA0B8; }
.tf-hint svg { flex: none; color: var(--blue); }
.tf-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.tf-card { position: relative; display: block; width: 100%; height: 128px; margin: 0; padding: 0; border: 0; border-radius: 18px; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; perspective: 900px; -webkit-tap-highlight-color: transparent; }
.tf-3d { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .7s var(--ease); }
.tf-card.is-flipped .tf-3d, .tf-card:focus-visible .tf-3d { transform: rotateY(180deg); }
@media (hover: hover) { .tf-card:hover .tf-3d { transform: rotateY(180deg); } }
.tf-face { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 14px 16px; border-radius: 18px; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.tf-front { background: linear-gradient(180deg, #fff, #F7F8FD); border: 1px solid var(--line); }
.tf-n { display: flex; align-items: baseline; font-size: 42px; font-weight: 800; line-height: 1.05; letter-spacing: -.05em; color: var(--ink); }
.tf-n em { font-style: normal; color: var(--blue); }
.tf-l { margin-top: 6px; padding-right: 8px; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.tf-fl { position: absolute; right: 12px; top: 12px; color: #C3C9EA; transition: color .3s, transform .5s var(--ease); }
.tf-card:hover .tf-fl { color: var(--blue); transform: rotate(180deg); }
.tf-back { transform: rotateY(180deg); color: #fff; background: radial-gradient(200px circle at 100% 0%, rgba(82, 54, 240, .6), transparent 60%), linear-gradient(155deg, #141C4D, #0A0F2E); }
.tf-back small { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lilac); }
.tf-b { margin-top: 6px; font-size: 13.5px; font-weight: 600; line-height: 1.42; }
.tf-card:focus-visible { outline: none; }
.tf-card:focus-visible .tf-face { box-shadow: 0 0 0 3px rgba(61, 79, 245, .35); }
.trust.tf .ticker { margin-top: 36px; }
/* laptops: the cards are narrow enough here for the longest label to wrap to three lines */
@media (min-width: 1181px) and (max-width: 1400px) { .tf-card { height: 142px; } }
@media (max-width: 1180px) {
  .tf-in { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .tf-card { height: 136px; }
}
@media (max-width: 760px) {
  .trust.tf { padding: 44px 0 32px; }
  .tf .st-h { font-size: 32px; }
  .tf-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tf-card { height: 148px; }
  .tf-face { padding: 14px; }
  .tf-n { font-size: 34px; }
  .tf-b { font-size: 12.5px; line-height: 1.4; }
  .trust.tf .ticker { margin-top: 28px; }
}
@media (max-width: 359px) {
  .tf-card { height: 160px; }
  .tf-n { font-size: 30px; }
  .tf-l, .tf-b { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .tf-3d, .tf-fl { transition: none; } }
