/* ============================================
   Truzor MM — trust pages (verify.html, ledger.html)
   Loaded AFTER styles.css. Only adds what styles.css lacks.
   New class names (t-*, v-*, l-*, glance-*, flag-*, fee-*, sf-*)
   exist only on these pages; the few rules that touch shared
   elements (code, sr-only) are scoped under body.t-page, so
   nothing here can change index.html.
   ============================================ */

.t-page .mono,
.t-page code,
.t-page .t-code {
  font-family: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
}

.t-page .sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Nav: no overrides here. The tablet menu (<=1100px) and the icon-only
   Discord button on phones (<=480px) come from styles.css, so these pages
   behave exactly like index.html. */

/* ---------- Links inside copy ---------- */
.t-link {
  color: var(--green);
  font-weight: 600;
  border-bottom: 1px dashed rgba(34,224,122,0.4);
  padding-bottom: 1px;
  transition: color .15s ease, border-color .15s ease;
  overflow-wrap: anywhere;
}
.t-link:hover { color: #3dff90; border-color: rgba(34,224,122,0.8); }
.t-link:focus-visible,
.t-page .btn:focus-visible,
.l-hash:focus-visible,
.glance-tile:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Inline code / code block ---------- */
.t-code {
  font-size: 0.86em;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-2);
  border-radius: 6px;
  padding: 1px 6px;
  color: #dfe7e2;
  overflow-wrap: anywhere;
}
.t-pre {
  display: block;
  margin: 10px 0 12px;
  padding: 10px 12px;
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.6;
  color: #cfd8d3;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* ============================================
   PAGE HERO
   ============================================ */
.t-hero {
  position: relative;
  padding: 72px 0 32px;
  overflow: hidden;
}
.t-hero-glow {
  position: absolute;
  left: 0; right: 0; top: -180px;
  height: 520px;
  background:
    radial-gradient(520px 260px at 18% 40%, var(--green-glow-soft) 0%, transparent 70%),
    radial-gradient(420px 220px at 85% 30%, rgba(34,224,122,0.08) 0%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}
.t-hero .container { position: relative; z-index: 1; }
.t-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 13px;
  border: 1px solid rgba(34,224,122,0.25);
  background: linear-gradient(90deg, rgba(34,224,122,0.09), rgba(34,224,122,0.02));
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 24px;
}
.t-kicker strong { color: #fff; font-weight: 700; }
.t-title {
  font-size: clamp(36px, 5.2vw, 60px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  max-width: 820px;
  margin-bottom: 12px;
  padding-bottom: 0.1em; /* keeps descenders (g, y) inside the clipped gradient */
  background: linear-gradient(to right, #ffffff 0%, #ffffff 45%, rgba(255,255,255,0.55) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.t-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-dim);
  font-weight: 500;
  max-width: 680px;
}
.t-lead + .t-lead { margin-top: 12px; }
.t-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 22px;
  font-size: 13px;
  color: var(--text-faint);
}
.t-meta-item { display: inline-flex; align-items: center; gap: 7px; }
.t-meta-item svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ============================================
   VERIFY — at-a-glance tiles
   ============================================ */
.glance {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 40px;
}
.glance-tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 18px 16px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border-2);
  border-radius: 14px;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.glance-tile:hover {
  border-color: rgba(34,224,122,0.35);
  background: rgba(34,224,122,0.04);
  transform: translateY(-1px);
}
.glance-label { font-size: 12px; font-weight: 600; color: var(--text-faint); }
.glance-value {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.glance-link { margin-top: 4px; font-size: 12px; font-weight: 700; color: var(--green); }

/* ============================================
   VERIFY — claim / how-to-check list
   ============================================ */
.v-section { padding: 56px 0; }
.v-section + .v-section { padding-top: 24px; }
.v-head { max-width: 720px; }
.v-head .section-title { font-size: clamp(26px, 3.2vw, 38px); }
.v-head p:not(.eyebrow) { color: var(--text-dim); font-size: 16px; line-height: 1.6; }
.v-head .eyebrow { color: var(--green); font-weight: 700; letter-spacing: 0.02em; }

.v-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}
.v-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 18px;
  scroll-margin-top: 110px;
}
.v-item .trust-icon { margin-bottom: 0; }
.v-claim h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 8px;
}
.v-claim p,
.v-claim li {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-dim);
}
.v-claim p + p { margin-top: 10px; }
.v-claim strong { color: #fff; font-weight: 700; }

.v-check {
  background: rgba(0,0,0,0.35);
  border: 1px dashed rgba(34,224,122,0.3);
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dim);
}
.v-check p + p { margin-top: 8px; }
.v-check-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 8px;
}
.v-check-label svg { width: 14px; height: 14px; flex-shrink: 0; }

/* coin chips inside a claim */
.v-coins { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 12px; }
.v-coin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 7px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: rgba(34,224,122,0.08);
  border: 1px solid rgba(34,224,122,0.3);
}
.v-coin img { width: 20px; height: 20px; }
.v-coin.is-soon {
  color: var(--text-faint);
  background: rgba(255,255,255,0.03);
  border-color: var(--border-2);
  padding-left: 12px;
}

/* fee table */
.fee-table {
  width: 100%;
  border-collapse: collapse;
  margin: 6px 0 14px;
  font-size: 14px;
}
.fee-table th,
.fee-table td {
  text-align: left;
  padding: 9px 12px;
  border-bottom: 1px solid var(--border);
}
.fee-table th {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.fee-table td { color: var(--text-dim); }
.fee-table th:last-child,
.fee-table td:last-child { text-align: right; white-space: nowrap; }
.fee-table td:last-child { color: #fff; font-weight: 700; }
.fee-table tr.is-extra td { border-bottom: none; padding-top: 12px; }
.fee-example {
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
}

/* snowflake decoder */
.sf-tool {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.sf-input {
  flex: 1;
  min-width: 0;
  background: rgba(0,0,0,0.45);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  padding: 9px 12px;
  color: #fff;
  font-size: 13px;
  font-family: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
}
.sf-input:focus {
  outline: none;
  border-color: rgba(34,224,122,0.6);
  box-shadow: 0 0 0 3px rgba(34,224,122,0.15);
}
.sf-tool .btn { padding: 9px 16px; font-size: 14px; }
.sf-out {
  margin-top: 8px;
  min-height: 1.6em;
  font-size: 13px;
  color: var(--text-dim);
}
.sf-out strong { color: var(--green); font-weight: 700; }
.sf-out.is-error { color: #f5b14c; }

/* red flags */
.flag-card {
  margin-top: 28px;
  padding: 28px;
  border-radius: 18px;
  border: 1px solid rgba(245,177,76,0.3);
  background: linear-gradient(180deg, rgba(245,177,76,0.07), rgba(245,177,76,0.015));
}
.flag-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 28px;
}
.flag-list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dim);
}
.flag-list li strong { display: block; color: #fff; font-weight: 700; margin-bottom: 2px; }
.flag-list svg { width: 22px; height: 22px; color: #f5b14c; margin-top: 1px; }
.flag-foot {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(245,177,76,0.18);
  font-size: 14px;
  color: var(--text-dim);
}

/* plain notes (disclaimer, claims without proof) */
.t-note {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 14px;
  padding: 22px 24px;
  border-radius: 16px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border-2);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-dim);
}
.t-note svg { width: 22px; height: 22px; color: var(--text-faint); margin-top: 1px; }
.v-note { margin-top: 24px; }
.t-note strong { color: #fff; }
.t-note p + p { margin-top: 8px; }

/* closing CTA on trust pages (reuses .cta / .cta-inner) */
.t-cta { padding-top: 40px; }
.t-cta .cta-inner h2 { font-size: clamp(28px, 3.6vw, 42px); }

/* ============================================
   LEDGER
   ============================================ */
.l-wrap { padding: 8px 0 24px; }
.l-loading {
  max-width: 320px;
  margin: 24px 0;
}

/* summary bar */
.l-summary {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 32px;
  padding: 26px 28px;
  margin-bottom: 20px;
  border-radius: 18px;
  border: 1px solid var(--border-2);
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
}
.l-summary-num {
  font-size: clamp(48px, 7vw, 72px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: #fff;
}
.l-summary-label { margin-top: 6px; font-size: 14px; color: var(--text-dim); font-weight: 600; }
.l-summary-side { display: flex; flex-wrap: wrap; gap: 10px; }
.l-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-2);
}
.l-pill img { width: 18px; height: 18px; }

/* empty state */
.l-empty {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 56px 24px 44px;
  border-radius: 24px;
  border: 1px solid var(--border-2);
  background: linear-gradient(180deg, rgba(13,20,17,0.85), rgba(10,16,13,0.5));
}
.l-empty-glow {
  position: absolute;
  left: 50%; top: -120px;
  width: 520px; height: 320px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(34,224,122,0.22), transparent 75%);
  filter: blur(20px);
  pointer-events: none;
}
.l-empty > *:not(.l-empty-glow) { position: relative; }
.l-zero {
  font-size: clamp(96px, 18vw, 160px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255,255,255,0.55) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.l-zero-label {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}
.l-empty-copy {
  max-width: 560px;
  margin: 22px auto 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-dim);
}
.l-empty-copy + .l-empty-copy { margin-top: 10px; }
.l-empty-copy strong { color: #fff; }
.l-empty-ctas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.l-empty-small { margin-top: 16px; font-size: 13px; color: var(--text-faint); }

/* ghost row: what a published deal will look like */
.l-ghost {
  margin-top: 20px;
  border: 1px dashed var(--border-2);
  border-radius: 16px;
  padding: 16px 18px;
}
.l-ghost-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 12px;
}
.l-ghost-row {
  display: grid;
  grid-template-columns: 40px repeat(6, minmax(0, 1fr));
  gap: 12px;
  align-items: center;
}
.l-ghost-cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11.5px;
  color: var(--text-faint);
  font-weight: 600;
}
.l-ghost-bar {
  height: 9px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
}
.l-ghost-bar.is-green { background: rgba(34,224,122,0.18); }

/* claim without proof yet (count > published rows) */
.l-claim {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 20px;
  margin-bottom: 20px;
  border-radius: 14px;
  border: 1px solid rgba(245,177,76,0.28);
  background: rgba(245,177,76,0.05);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-dim);
}
.l-claim svg { width: 22px; height: 22px; color: #f5b14c; margin-top: 1px; }
.l-claim strong { color: #fff; }

/* table (desktop) */
.l-table-wrap {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid var(--border-2);
  background: rgba(255,255,255,0.02);
}
.l-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.l-table th,
.l-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  white-space: nowrap;
}
.l-table thead th {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  background: rgba(255,255,255,0.02);
}
.l-table tbody tr:last-child td { border-bottom: none; }
.l-table tbody tr { transition: background .15s ease; }
.l-table tbody tr:hover { background: rgba(34,224,122,0.035); }
.l-table .num { text-align: right; }
.l-num { color: var(--text-faint); font-weight: 700; font-variant-numeric: tabular-nums; }
.l-date { color: #fff; font-weight: 600; }
.l-time { display: block; font-size: 12px; color: var(--text-faint); font-weight: 500; }
.l-coin { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #fff; }
.l-coin img { width: 20px; height: 20px; flex-shrink: 0; }
.l-usd { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.l-amt-coin {
  display: block;
  font-family: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
  font-size: 12px;
  color: var(--text-faint);
}
.l-hash {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
  font-size: 12.5px;
  color: var(--green);
  padding: 4px 8px;
  border-radius: 7px;
  background: rgba(34,224,122,0.06);
  border: 1px solid rgba(34,224,122,0.2);
  transition: background .15s ease, border-color .15s ease;
}
.l-hash:hover { background: rgba(34,224,122,0.12); border-color: rgba(34,224,122,0.45); }
.l-hash svg { width: 12px; height: 12px; flex-shrink: 0; opacity: 0.8; }
.l-hash.is-plain {
  color: var(--text-dim);
  background: rgba(255,255,255,0.04);
  border-color: var(--border-2);
}
.l-dash { color: var(--text-faint); }
.l-mins { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }

/* cards (mobile) */
.l-cards {
  display: none;
  list-style: none;
  gap: 12px;
}
.l-card {
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--border-2);
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
}
.l-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 13px;
}
.l-card-amount {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 12px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.l-card-amount .l-usd { font-size: 22px; letter-spacing: -0.01em; }
.l-card-amount .l-amt-coin { display: inline; font-size: 12.5px; }
.l-card dl { display: grid; gap: 10px; }
.l-card dl > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.l-card dt { font-size: 13px; color: var(--text-faint); font-weight: 600; }
.l-card dd { margin: 0; text-align: right; min-width: 0; }

/* error / fallback */
.l-error {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 14px;
  padding: 22px 24px;
  border-radius: 16px;
  border: 1px solid var(--border-2);
  background: rgba(255,255,255,0.025);
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.6;
}
.l-error svg { width: 22px; height: 22px; color: var(--text-faint); margin-top: 1px; }
.l-error strong { color: #fff; display: block; margin-bottom: 4px; }
.l-error .btn { margin-top: 14px; }

/* "how to read a row" explainer */
.l-explain {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.l-explain .trust-card { padding: 24px 22px; }
.l-explain .trust-card h3 { font-size: 16px; }
.l-explain .trust-card p { font-size: 14px; }
.l-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 8px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 800;
  color: #00120a;
  background: var(--green);
}
.l-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
  .glance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v-item { grid-template-columns: 46px minmax(0, 1fr); }
  .v-check { grid-column: 1 / -1; }
  .flag-list { grid-template-columns: 1fr; }
  .l-explain { grid-template-columns: 1fr; }
  .l-facts { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .t-hero { padding: 44px 0 20px; }
  .t-lead { font-size: 16px; }
  .v-section { padding: 40px 0; }
  .l-table-wrap { display: none; }
  .l-cards { display: grid; }
  .l-ghost-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .l-ghost-row .l-ghost-cell:first-child { display: none; }
  .l-summary { padding: 22px 20px; }
  .l-empty { padding: 44px 18px 34px; }
}
@media (max-width: 520px) {
  .v-item { grid-template-columns: minmax(0, 1fr); padding: 20px; gap: 14px; }
  .v-check { padding: 14px 15px; }
  .flag-card { padding: 22px 18px; }
  .t-note { padding: 18px; gap: 12px; }
  .glance { gap: 10px; }
  .glance-tile { padding: 14px; }
  .glance-value { font-size: 17px; }
  .fee-table th, .fee-table td { padding: 8px 6px; }
  .sf-tool { flex-wrap: wrap; }
  .sf-tool .btn { width: 100%; justify-content: center; }
  .l-empty-ctas .btn { width: 100%; justify-content: center; }
  .t-cta .cta-buttons .btn { width: 100%; justify-content: center; }
}
