/* Taggz components (web revamp, phase 1). Needs tokens.css first.
   Every class is prefixed tz- and sets the properties it relies on, so the
   shared pieces look the same on every page. Page-specific layouts are in
   landing.css (the homepage, /download) and pages.css (everything else).

   Motion: nothing here moves unless site.js has put html.tz-motion on the
   page (it doesn't with prefers-reduced-motion, Save-Data or no JavaScript),
   and only transform and opacity are animated. */

/* ---------- layout ---------- */
.tz-wrap {
  width: 100%;
  max-width: calc(var(--tz-container) + 48px);
  margin-inline: auto;
  padding-left: max(var(--tz-gutter), 16px);
  padding-right: max(var(--tz-gutter-r), 16px);
}
@media (min-width: 768px) { .tz-wrap { padding-left: max(var(--tz-gutter), 24px); padding-right: max(var(--tz-gutter-r), 24px); } }
.tz-section { padding-block: var(--tz-section-y); }
.tz-forest { background: var(--tz-f-bg); color: var(--tz-f-ink); }
.tz-forest a:not(.tz-btn):not(.tz-store) { color: var(--tz-f-accent); }
.tz-cream { background: var(--tz-bg-alt); }
.tz-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.tz-kente {
  height: 4px;
  background: linear-gradient(90deg, var(--tz-k-green) 0 25%, var(--tz-k-gold) 25% 50%, var(--tz-k-red) 50% 75%, var(--tz-k-black) 75%);
}

.tz-skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--tz-gold-500); color: var(--tz-on-gold);
  font: 700 15px/1 var(--tz-font-text); padding: 12px 16px; border-radius: var(--tz-r-md);
  text-decoration: none; transition: top var(--tz-t-ui);
}
.tz-skip:focus { top: 12px; }

/* ---------- type helpers ---------- */
.tz-eyebrow {
  display: inline-block;
  font: 700 var(--tz-fs-label)/1.3 var(--tz-font-text);
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--tz-gold-text);
}
.tz-forest .tz-eyebrow { color: var(--tz-f-accent); }
.tz-lede { font-size: var(--tz-fs-body-lg); line-height: 1.55; color: var(--tz-ink-2); max-width: 60ch; }
.tz-forest .tz-lede { color: var(--tz-f-ink-2); }
.tz-sec-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.tz-sec-head.center { text-align: center; margin-inline: auto; justify-items: center; }
.tz-note { font-size: var(--tz-fs-small); color: var(--tz-ink-2); }
.tz-forest .tz-note { color: var(--tz-f-ink-2); }

/* ---------- buttons ---------- */
.tz-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px;
  border-radius: var(--tz-r-md); border: 1px solid transparent;
  font: 700 16px/1 var(--tz-font-text); letter-spacing: -.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color var(--tz-t-ui), color var(--tz-t-ui), border-color var(--tz-t-ui), transform var(--tz-t-ui);
}
.tz-btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.tz-btn-lg { min-height: 56px; padding: 0 26px; font-size: 17px; }
.tz-btn-gold, a.tz-btn-gold { background: var(--tz-gold-500); color: var(--tz-on-gold); }
.tz-btn-gold:hover { background: var(--tz-gold-400); color: var(--tz-on-gold); }
.tz-btn-green, a.tz-btn-green { background: var(--tz-g-brand-text); color: #fff; }
.tz-btn-green:hover { background: var(--tz-g-600); color: #fff; }
.tz-btn-ghost, a.tz-btn-ghost { background: transparent; color: var(--tz-f-ink); border-color: var(--tz-f-line); }
.tz-btn-ghost:hover { border-color: var(--tz-f-ink-2); color: var(--tz-f-ink); }
.tz-btn:active { transform: translateY(1px); }

.tz-more {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  font: 700 16px/1.2 var(--tz-font-text); color: var(--tz-link); text-decoration: none;
}
.tz-more::after {
  content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 2px 2px 0 0;
  transform: rotate(45deg); transition: transform var(--tz-t-ui) var(--tz-ease);
}
.tz-more:hover { text-decoration: underline; }
.tz-more:hover::after { transform: translateX(3px) rotate(45deg); }
.tz-forest .tz-more { color: var(--tz-f-accent); }

/* ---------- store badges ----------
   Apple's and Google's own artwork (assets/badges), never restyled or
   animated: 48px tall (the minimum is 40px), App Store first, clear space of
   a quarter of the badge's height around each. site.js puts the visitor's own
   store first on a phone. */
.tz-stores { display: grid; gap: 12px; justify-items: start; }
.tz-store-row { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.tz-store { display: block; flex: none; border-radius: 9px; line-height: 0; }
.tz-store img { display: block; height: 48px; width: auto; max-width: none; }
.tz-store:focus-visible { outline: 3px solid var(--tz-f-focus); outline-offset: 3px; }
.tz-stores.center { justify-items: center; }
.tz-stores.center .tz-store-row { justify-content: center; }
/* The note under the badges while the stores are reviewing the app
   (STORES in site.js removes it everywhere). */
.tz-soon {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  font: 700 14px/1.3 var(--tz-font-text); color: var(--tz-gold-text);
}
.tz-forest .tz-soon, .tz-sticky .tz-soon { color: var(--tz-f-accent); }
.tz-soon::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: currentColor; box-shadow: 0 0 0 4px rgba(232, 184, 74, .24);
}

/* ---------- QR card: desktop only ---------- */
.tz-qr { display: none; }
@media (min-width: 1024px) {
  .tz-qr {
    display: flex; align-items: center; gap: 14px;
    background: var(--tz-f-surface); border: 1px solid var(--tz-f-line);
    border-radius: 16px; padding: 10px 16px 10px 10px; color: var(--tz-f-ink);
    max-width: 280px;
  }
  .tz-qr .tz-qr-code { width: 88px; height: 88px; flex: none; border-radius: 8px; display: block; }
  .tz-qr p { margin: 0; font: 700 14px/1.35 var(--tz-font-text); color: var(--tz-f-ink); }
  .tz-qr p span { display: block; font-weight: 500; color: var(--tz-f-ink-2); font-size: 13px; margin-top: 2px; }
  .tz-qr.on-paper { background: var(--tz-surface); border-color: var(--tz-line); color: var(--tz-ink); }
  .tz-qr.on-paper p { color: var(--tz-ink); }
  .tz-qr.on-paper p span { color: var(--tz-ink-2); }
}

/* ---------- header ---------- */
.tz-head {
  position: sticky; top: 0; z-index: 50;
  background: var(--tz-f-bg); color: var(--tz-f-ink);
  border-bottom: 1px solid transparent;
  font-family: var(--tz-font-text);
  transition: border-color .25s, box-shadow .25s;
}
.tz-head.is-stuck { border-bottom-color: var(--tz-f-line); box-shadow: 0 6px 20px rgba(0, 0, 0, .18); }
.tz-head .tz-head-row { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.tz-head .tz-head-logo { display: inline-flex; align-items: center; min-height: 44px; margin-right: auto; }
.tz-head .tz-head-logo img { height: 40px; width: auto; display: block; }
.tz-head .tz-nav { display: none; }
.tz-head .tz-nav a, .tz-head .tz-signin {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px;
  font: 600 15px/1 var(--tz-font-text); color: var(--tz-f-ink-2); text-decoration: none; background: none;
}
.tz-head .tz-nav a:hover, .tz-head .tz-signin:hover { color: var(--tz-f-ink); }
.tz-head .tz-nav a[aria-current="page"] { color: var(--tz-f-ink); box-shadow: inset 0 -2px 0 var(--tz-gold-500); border-radius: 0; }
.tz-head .tz-head-actions { display: flex; align-items: center; gap: 4px; }
.tz-head .tz-signin { display: none; }
.tz-head .tz-head-cta { min-height: 40px; padding: 0 16px; font-size: 15px; }
@media (min-width: 768px) {
  .tz-head .tz-signin { display: inline-flex; }
  .tz-head .tz-head-actions { gap: 8px; }
}
@media (min-width: 1024px) {
  .tz-head .tz-head-logo { margin-right: 20px; }
  .tz-head .tz-nav { display: flex; align-items: center; gap: 2px; margin-right: auto; }
  .tz-head .tz-menu { display: none; }
}
/* the menu on smaller screens: a native <details>, so it works without script */
.tz-head .tz-menu { position: static; }
.tz-head .tz-menu > summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px; border-radius: 8px;
  font: 600 15px/1 var(--tz-font-text); color: var(--tz-f-ink);
}
.tz-head .tz-menu > summary::-webkit-details-marker { display: none; }
.tz-head .tz-menu-icon { width: 18px; height: 12px; position: relative; display: inline-block; }
.tz-head .tz-menu-icon::before, .tz-head .tz-menu-icon::after, .tz-head .tz-menu-icon span {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor;
}
.tz-head .tz-menu-icon::before { top: 0; }
.tz-head .tz-menu-icon span { top: 5px; }
.tz-head .tz-menu-icon::after { bottom: 0; }
.tz-head .tz-menu[open] .tz-menu-icon span { opacity: 0; }
.tz-head .tz-menu[open] .tz-menu-icon::before { transform: translateY(5px) rotate(45deg); }
.tz-head .tz-menu[open] .tz-menu-icon::after { transform: translateY(-5px) rotate(-45deg); }
.tz-head .tz-menu-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--tz-f-bg); border-top: 1px solid var(--tz-f-line); border-bottom: 1px solid var(--tz-f-line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .3);
  padding: 8px max(var(--tz-gutter), 16px) 16px;
  display: grid;
}
.tz-head .tz-menu-panel a {
  display: flex; align-items: center; min-height: 48px; padding: 0 4px;
  font: 600 17px/1 var(--tz-font-text); color: var(--tz-f-ink); text-decoration: none;
  border-bottom: 1px solid rgba(42, 110, 82, .5);
}
.tz-head .tz-menu-panel a:last-child { border-bottom: 0; }
.tz-head .tz-menu-panel a:hover { color: var(--tz-f-accent); }

/* ---------- footer ---------- */
.tz-foot {
  background: var(--tz-g-950); color: var(--tz-f-ink-2);
  font: 400 15px/1.55 var(--tz-font-text);
  padding: clamp(48px, 7vw, 80px) 0 32px;
  margin: 0;
}
.tz-foot a { color: var(--tz-f-ink); text-decoration: none; }
.tz-foot a:hover { color: var(--tz-f-accent); text-decoration: underline; }
.tz-foot p { margin: 0; }
.tz-foot .tz-foot-top { display: grid; gap: 40px 24px; grid-template-columns: 1fr 1fr; }
/* Below 360px the columns may not grow past half the width: long email
   addresses wrap instead of pushing the page sideways. */
@media (max-width: 359.98px) {
  .tz-foot .tz-foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tz-foot a { overflow-wrap: anywhere; }
}
.tz-foot .tz-foot-brand { grid-column: 1 / -1; display: grid; gap: 14px; align-content: start; max-width: 340px; }
.tz-foot .tz-foot-brand img { height: 44px; width: auto; display: block; }
.tz-foot .tz-foot-tagline { font: 700 18px/1.35 var(--tz-font-display); color: var(--tz-f-ink); letter-spacing: -.01em; }
.tz-foot .tz-foot-col { display: grid; gap: 4px; align-content: start; }
.tz-foot .tz-foot-h {
  font: 700 13px/1.3 var(--tz-font-text); letter-spacing: .06em; text-transform: uppercase;
  color: var(--tz-f-accent); margin: 0 0 6px;
}
.tz-foot .tz-foot-col a { display: inline-flex; align-items: center; min-height: 36px; font-weight: 500; }
.tz-foot .tz-foot-fine {
  margin-top: clamp(40px, 6vw, 64px); padding-top: 24px; border-top: 1px solid rgba(42, 110, 82, .6);
  display: grid; gap: 10px; font-size: 13.5px; line-height: 1.55;
}
.tz-foot .tz-foot-fine strong { color: var(--tz-f-ink); font-weight: 700; }
.tz-foot .tz-foot-disclosure { color: var(--tz-f-ink); font-size: 14.5px; }
@media (min-width: 768px) {
  .tz-foot .tz-foot-top { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  .tz-foot .tz-foot-top { grid-template-columns: 1.6fr repeat(4, 1fr); }
  .tz-foot .tz-foot-brand { grid-column: auto; }
}
/* The legal pages opened inside the app (?embed=1, embed.js): documents only. */
.embed .tz-head .tz-nav, .embed .tz-head .tz-menu, .embed .tz-head .tz-head-actions,
.embed .tz-foot .tz-foot-col:not(.tz-foot-legal), .embed .tz-sticky { display: none !important; }

/* ---------- sticky "Get Taggz" bar: phones only ---------- */
.tz-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; gap: 12px;
  padding: 10px max(var(--tz-gutter-r), 12px) calc(10px + env(safe-area-inset-bottom, 0px)) max(var(--tz-gutter), 12px);
  background: var(--tz-f-bg); color: var(--tz-f-ink);
  border-top: 1px solid var(--tz-f-line); box-shadow: 0 -10px 30px rgba(0, 0, 0, .25);
  font-family: var(--tz-font-text);
  transform: translateY(110%); visibility: hidden;
  transition: transform .35s var(--tz-ease), visibility 0s linear .35s;
}
.tz-sticky.is-shown { transform: none; visibility: visible; transition: transform .35s var(--tz-ease), visibility 0s; }
.tz-sticky .tz-sticky-icon { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.tz-sticky .tz-sticky-text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.tz-sticky .tz-sticky-text b { font: 800 16px/1.15 var(--tz-font-display); color: var(--tz-f-ink); }
.tz-sticky .tz-soon { font-size: 12px; gap: 7px; }
.tz-sticky .tz-soon::before { width: 6px; height: 6px; box-shadow: 0 0 0 3px rgba(232, 184, 74, .24); }
.tz-sticky .tz-store img { height: 40px; }
.tz-sticky .tz-sticky-close {
  flex: none; width: 40px; height: 40px; margin-right: -6px; border: 0; border-radius: 50%;
  background: transparent; color: var(--tz-f-ink-2); cursor: pointer; display: grid; place-items: center;
}
.tz-sticky .tz-sticky-close:hover { color: var(--tz-f-ink); background: rgba(255, 255, 255, .06); }
.tz-sticky .tz-sticky-close:focus-visible, .tz-sticky a:focus-visible { outline: 3px solid var(--tz-f-focus); outline-offset: 2px; }
@media (min-width: 768px) { .tz-sticky { display: none !important; } }
@media (max-width: 767.98px) { body.has-sticky { padding-bottom: 76px; } }
@media (prefers-reduced-motion: reduce) { .tz-sticky, .tz-sticky.is-shown { transition: none; } }

/* ---------- phone mockup ---------- */
.tz-phone {
  position: relative; width: 100%; aspect-ratio: 600 / 1304;
  border-radius: 40px; border: 9px solid #050F0B; background: var(--tz-g-900);
  overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, .32), 0 0 0 1px rgba(255, 255, 255, .06) inset;
}
.tz-phone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ---------- floating chip ---------- */
.tz-chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--tz-surface); color: var(--tz-ink);
  border-radius: 14px; padding: 10px 14px 10px 10px;
  font: 700 13.5px/1.25 var(--tz-font-text); box-shadow: 0 14px 30px rgba(0, 0, 0, .25);
  white-space: nowrap;
}
.tz-chip small { display: block; color: var(--tz-ink-2); font-weight: 500; font-size: 12px; }
.tz-chip .tz-chip-dot {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none;
  font: 800 12px/1 var(--tz-font-display);
}

/* ---------- cards ---------- */
.tz-card {
  background: var(--tz-surface); border: 1px solid var(--tz-line); border-radius: var(--tz-r-lg);
  padding: clamp(20px, 3vw, 28px); box-shadow: var(--tz-shadow);
}

/* ---------- FAQ accordion: native <details>, a heading inside each summary ---------- */
.tz-faq { display: grid; gap: 12px; }
.tz-faq details {
  background: var(--tz-surface); border: 1px solid var(--tz-line); border-radius: 16px;
  transition: border-color var(--tz-t-ui), box-shadow var(--tz-t-ui);
}
.tz-faq details[open] { border-color: var(--tz-line-strong); box-shadow: var(--tz-shadow); }
.tz-faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; min-height: 60px; border-radius: 16px;
}
.tz-faq summary::-webkit-details-marker { display: none; }
.tz-faq summary h3 { font-size: 18px; line-height: 1.35; font-weight: 700; }
.tz-faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px;
  border: solid var(--tz-g-brand-text); border-width: 0 2.5px 2.5px 0; transform: translateY(-3px) rotate(45deg);
  transition: transform .25s var(--tz-ease);
}
.tz-faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.tz-faq .tz-faq-body { padding: 0 20px 20px; color: var(--tz-ink-2); max-width: 70ch; }
.tz-faq .tz-faq-body p + p { margin-top: 10px; }

/* ---------- scroll reveals ----------
   Visible by default. Only with html.tz-motion (site.js) do they start
   lowered and faded; CSS scroll-driven animations where the browser has them,
   otherwise site.js adds .is-in as each one comes into view. */
@media (prefers-reduced-motion: no-preference) {
  .tz-motion .tz-rv.is-pending { opacity: 0; transform: translateY(24px); }
  .tz-motion .tz-rv.is-in {
    opacity: 1; transform: none;
    transition: opacity .6s var(--tz-ease), transform .7s var(--tz-ease);
    transition-delay: var(--tz-delay, 0s);
  }
  @supports (animation-timeline: view()) {
    .tz-motion.tz-sda .tz-rv {
      animation: tz-rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 70%;
    }
    /* A block taller than the window (the comparison table on a phone)
       settles while its top is still low on the screen, not mid-screen. */
    .tz-motion.tz-sda .tz-vs.tz-rv { animation-range: entry 0% entry 30%; }
  }
}
@keyframes tz-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* ---------- ticks and worked examples ---------- */
.tz-ticks { list-style: none; display: grid; gap: 8px; color: var(--tz-ink-2); }
.tz-ticks li { position: relative; padding-left: 28px; }
.tz-ticks li::before {
  content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px;
  border: solid var(--tz-g-brand-text); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg);
}
.tz .tz-example {
  margin-top: 6px; padding: 14px 16px; border-radius: 14px; background: var(--tz-g-50);
  color: var(--tz-ink-2); font-size: 15px; line-height: 1.5;
}
.tz-example b { display: block; font: 700 clamp(24px, 2.6vw, 30px)/1.15 var(--tz-font-text); color: var(--tz-g-brand-text); margin: 4px 0 2px; }
.tz-example-tag {
  display: inline-block; font: 700 12px/1 var(--tz-font-text); letter-spacing: .06em; text-transform: uppercase;
  color: var(--tz-gold-text); background: var(--tz-gold-100); padding: 5px 8px; border-radius: 6px;
}

/* ---------- how money moves: the money-flow band (homepage, Your money) ---------- */
.tz-money { position: relative; }
.tz-money-stage { padding-block: var(--tz-section-y) 0; }
.tz-money-after { padding-block: 0 var(--tz-section-y); }
.tz-flow { margin: 0 auto; max-width: 1040px; display: grid; gap: 16px; justify-items: center; }
.tz-flow-row { list-style: none; display: grid; gap: 0; width: 100%; justify-items: stretch; }
.tz-flow-node {
  display: grid; gap: 6px; justify-items: center; text-align: center;
  background: var(--tz-f-surface); border: 1px solid var(--tz-f-line); border-radius: var(--tz-r-lg);
  padding: 22px 20px;
}
.tz-flow-node strong { font: 800 20px/1.2 var(--tz-font-display); color: var(--tz-f-ink); letter-spacing: -.01em; }
.tz-flow-node > span:last-child { font-size: 14.5px; color: var(--tz-f-ink-2); max-width: 30ch; }
.tz-flow-node.is-gold { border-color: var(--tz-gold-500); background: var(--tz-f-surface-2); }
.tz-flow-node.is-gold strong { color: var(--tz-f-accent); }
.tz-flow-icon {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(232, 184, 74, .14); color: var(--tz-f-accent); margin-bottom: 4px;
}
.tz-flow-link { display: grid; place-items: center; height: 44px; }
.tz-flow-link span {
  position: relative; display: block; width: 3px; height: 100%;
  background: var(--tz-gold-500); border-radius: 3px; transform-origin: top center;
}
.tz-flow-link span::after { /* arrowhead */
  content: ""; position: absolute; left: 50%; bottom: -2px; width: 10px; height: 10px;
  border: solid var(--tz-gold-500); border-width: 0 3px 3px 0; transform: translateX(-50%) rotate(45deg);
}
.tz .tz-flow-fee {
  display: inline-flex; gap: 8px; align-items: baseline; flex-wrap: wrap; justify-content: center;
  margin: 8px 0 0; padding: 10px 16px; border: 1px dashed var(--tz-f-line); border-radius: var(--tz-r-pill);
  font-size: 14.5px; color: var(--tz-f-ink-2); text-align: center;
}
.tz-flow-fee b { color: var(--tz-f-ink); font-size: 16px; }
.tz-flow figcaption { text-align: center; }
.tz .tz-money-facts { list-style: none; display: grid; gap: 16px 32px; margin-top: clamp(32px, 5vw, 56px); }
.tz-money-facts li { border-top: 1px solid var(--tz-f-line); padding-top: 18px; display: grid; gap: 6px; align-content: start; }
.tz-money-facts h3 { font-size: 19px; color: var(--tz-f-ink); }
.tz-money-facts p { color: var(--tz-f-ink-2); font-size: 16px; }
.tz-money-more { text-align: center; margin-top: 24px; }
@media (min-width: 768px) {
  .tz-flow-row { grid-template-columns: 1fr 72px 1fr 72px 1fr; align-items: center; }
  .tz-flow-link { height: auto; }
  .tz-flow-link span { width: 100%; height: 3px; transform-origin: left center; }
  .tz-flow-link span::after { left: auto; right: -1px; bottom: auto; top: 50%; transform: translateY(-50%) rotate(-45deg); }
  .tz-money-facts { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  /* pinned: the heading and the diagram stay while the diagram draws itself;
     the three facts follow once it's done. site.js adds .is-pinned on
     windows 640px tall and up, when the pinned part fits. */
  .tz-motion .tz-money.is-pinned .tz-money-pin { height: 200vh; }
  .tz-motion .tz-money.is-pinned .tz-money-stage {
    position: sticky; top: var(--tz-stick); height: calc(100vh - var(--tz-stick));
    display: flex; align-items: center; padding-block: 24px;
  }
  .tz-motion .tz-money.is-pinned .tz-money-stage > .tz-wrap { width: 100%; }
  .tz-motion .tz-money.is-pinned [data-flow-node], .tz-motion .tz-money.is-pinned [data-flow-link] { will-change: transform, opacity; }
}
/* shorter laptop screens (1440x900, 1366x768 and down to 640px tall): a
   more compact band, so the pinned part fits */
@media (min-width: 1024px) and (max-height: 920px) {
  .tz-motion .tz-money .tz-sec-head { gap: 10px; margin-bottom: 28px; }
  .tz-motion .tz-money h2 { font-size: clamp(26px, 4.4vh, 38px); }
  .tz-motion .tz-money .tz-sec-head .tz-lede { font-size: 17px; }
  .tz-motion .tz-money .tz-flow-node { padding: 16px 18px; gap: 4px; }
  .tz-motion .tz-money .tz-flow-icon { width: 42px; height: 42px; margin-bottom: 2px; }
  .tz-motion .tz-money .tz-flow-node strong { font-size: 18px; }
}
@media (min-width: 1024px) and (max-height: 760px) {
  /* the lede stays (audit r2 L1), just smaller */
  .tz-motion .tz-money .tz-sec-head .tz-lede { font-size: 15px; line-height: 1.45; }
  .tz-motion .tz-money .tz-sec-head { margin-bottom: 20px; }
  .tz-motion .tz-money .tz-flow { gap: 10px; }
  .tz-motion .tz-money .tz-flow-icon { display: none; }
}

/* ---------- closing download band (every page) ---------- */
.tz-closing { padding-block: var(--tz-section-y) 0; overflow: hidden; background: linear-gradient(180deg, var(--tz-f-bg), var(--tz-f-top)); }
.tz-closing-grid { display: grid; gap: 40px; align-items: end; }
.tz-closing-copy { display: grid; gap: 18px; justify-items: start; padding-bottom: clamp(16px, 4vw, 96px); }
.tz-closing-copy h2 { font-size: var(--tz-fs-display); color: var(--tz-f-ink); }
.tz-closing-copy h2:focus { outline: none; }
.tz-closing-icon { width: 72px; height: 72px; border-radius: 18px; }
.tz-closing-web a { font-weight: 700; }
.tz-closing-art { position: relative; height: clamp(320px, 80vw, 480px); }
.tz-closing-photo {
  position: absolute; margin: 0; right: 0; top: 0; width: 82%; aspect-ratio: 4 / 3;
  border-radius: var(--tz-r-xl); overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.tz-closing-photo img { width: 100%; height: 100%; object-fit: cover; }
.tz-closing-phone { position: absolute; left: 4%; bottom: -30%; width: 40%; max-width: 250px; z-index: 2; }
@media (min-width: 1024px) {
  .tz-closing-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .tz-closing-art { height: 520px; }
}


