/* Trust / guide content pages — "The Tracker" (D-017). Tokens from brand.css. */

.pg-head { padding: 18px 0 8px; }
.pg-head .pg-cat { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cobalt); }
.pg-head h1 { margin: 10px 0 14px; max-width: 800px; }
.pg-head .pg-intro { font-size: 18px; line-height: 1.55; color: #43464d; max-width: 720px; }
.pg-head .stamp { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.pg-head .stamp svg { width: 13px; height: 13px; stroke: var(--signal); }

.pg-body { max-width: 760px; padding: 8px 0 0; }
.pg-body h2 { font-size: 24px; margin: 30px 0 12px; }
.pg-body h3 { font-size: 18px; margin: 20px 0 8px; }
.pg-body p { font-size: 16.5px; color: #2f323a; }
.pg-body a:not(.cta):not(.cta-ghost) { color: #1E4FCC; text-decoration: underline; }
.pg-body strong { color: var(--ink); }
.pg-body ul, .pg-body ol { margin: 12px 0 16px; padding-left: 22px; }
.pg-body li { font-size: 16px; color: #2f323a; margin-bottom: 8px; }

/* Numbered method steps */
.pg-steps { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; margin: 18px 0; }
.pg-steps li { display: flex; gap: 13px; align-items: flex-start; }
.pg-steps li .n { font-family: var(--font-mono); font-weight: 700; font-size: 14px; color: #fff; background: var(--cobalt); width: 26px; height: 26px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pg-steps li .t { font-size: 16px; color: #2f323a; }
.pg-steps li .t b { color: var(--ink); }

/* Info callout */
.pg-callout { display: flex; align-items: flex-start; gap: 10px; background: var(--cobalt-050); border: 1px solid #cbd9ff; border-radius: 12px; padding: 14px 16px; margin: 20px 0; }
.pg-callout svg { width: 18px; height: 18px; stroke: var(--cobalt); flex-shrink: 0; margin-top: 2px; }
.pg-callout p { font-size: 14px; color: #24407e; margin: 0; }

/* Score-weight bars (how-we-rank) */
.weights { display: flex; flex-direction: column; gap: 10px; margin: 18px 0; }
.weights .w { display: grid; grid-template-columns: 140px 1fr 46px; align-items: center; gap: 10px; }
.weights .w .wl { font-size: 14px; color: var(--muted); }
.weights .w .wbar { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.weights .w .wbar i { display: block; height: 100%; background: var(--signal); border-radius: 4px; }
.weights .w .wv { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--ink); text-align: right; }

/* RG resource cards */
.rg-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 18px 0; }
.rg-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; }
.rg-card h3 { font-size: 17px; margin: 0 0 6px; }
.rg-card .ph { font-family: var(--font-mono); font-size: 15px; font-weight: 600; color: var(--cobalt); }
.rg-card p { font-size: 14px; color: var(--muted); margin: 6px 0 0; }
.rg-card a { color: #1E4FCC; text-decoration: underline; }

/* FAQ */
.pg-faq { max-width: 760px; margin-top: 24px; }
.pg-faq h2 { font-size: 24px; margin-bottom: 12px; }
.pg-faq .faq-item { padding: 16px 0; border-top: 1px solid var(--line); }
.pg-faq .faq-item h3 { font-size: 17px; margin-bottom: 7px; }
.pg-faq .faq-item p { font-size: 15px; color: var(--muted); }

/* Continue / related */
.pg-related { max-width: 760px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.pg-related .nx-lbl { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cobalt); margin-bottom: 12px; }
.pg-related .nx-list { display: flex; flex-direction: column; gap: 10px; }
.pg-related .nx-link { display: inline-flex; align-items: center; gap: 8px; width: fit-content; font-size: 15px; font-weight: 600; color: var(--ink); }
.pg-related .nx-link:hover { color: var(--cobalt); }
.pg-related .nx-link svg { width: 14px; height: 14px; stroke: var(--cobalt); flex-shrink: 0; }

@media (min-width: 760px) { .rg-grid { grid-template-columns: 1fr 1fr; } }

/* ---- The Tracker: payment flow / routing / decision-tree visuals ---- */
.tk-flow { list-style: none; display: flex; gap: 0; margin: 20px 0 26px; padding: 0; }
.tk-flow-step { flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 6px; }
.tk-flow-step:not(:last-child)::after { content: ""; position: absolute; top: 19px; left: 50%; width: 100%; height: 2px; background: var(--cobalt); opacity: .3; z-index: 0; }
.tk-flow-num { position: relative; z-index: 1; width: 38px; height: 38px; border-radius: 50%; background: var(--cobalt); color: #fff; font-family: var(--font-mono); font-weight: 600; font-size: 15px; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 5px var(--paper); }
.tk-flow-num svg { width: 17px; height: 17px; stroke: #fff; }
.tk-flow-end .tk-flow-num { background: var(--signal); }
.tk-flow-txt { margin-top: 11px; font-size: 13px; line-height: 1.35; color: var(--ink); max-width: 15ch; }
@media (max-width: 640px) {
  .tk-flow { flex-direction: column; gap: 0; }
  .tk-flow-step { flex-direction: row; align-items: flex-start; text-align: left; gap: 14px; padding: 0 0 20px; }
  .tk-flow-step:not(:last-child)::after { top: 38px; left: 18px; width: 2px; height: 100%; }
  .tk-flow-num { flex-shrink: 0; }
  .tk-flow-txt { margin-top: 8px; max-width: none; }
}

.tk-route { display: flex; flex-direction: column; gap: 12px; margin: 18px 0 24px; }
.tk-route-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 16px; }
.tk-route-dir { font-family: var(--font-mono); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--cobalt); background: var(--cobalt-050); border-radius: 6px; padding: 4px 9px; }
.tk-route-node { font-size: 13px; font-weight: 600; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 6px 11px; }
.tk-route-acct { border-color: var(--cobalt); }
.tk-route-arrow { color: var(--muted); font-weight: 700; }
.tk-route-out { margin-left: auto; font-size: 12px; font-weight: 700; border-radius: 20px; padding: 4px 12px; }
.tk-route-out.tk-good { color: var(--signal); background: var(--signal-050); }
.tk-route-out.tk-note { color: var(--muted); background: var(--paper); border: 1px solid var(--line); }
@media (max-width: 640px) { .tk-route-out { margin-left: 0; } }

.tk-tree { margin: 22px 0 8px; }
.tk-tree-q { font-weight: 700; font-size: 16px; margin: 0 0 14px; }
.tk-tree-branches { display: grid; grid-template-columns: 1fr; gap: 12px; }
.tk-tree-branch { display: flex; flex-direction: column; gap: 6px; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--cobalt); border-radius: var(--r-lg); padding: 16px 18px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.tk-tree-branch:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.tk-tree-cond { font-size: 13px; color: var(--muted); }
.tk-tree-ans { font-size: 17px; font-weight: 800; color: var(--cobalt); display: inline-flex; align-items: center; gap: 6px; }
.tk-tree-ans svg { width: 14px; height: 14px; stroke: var(--cobalt); }
.tk-tree-note { font-size: 12px; color: var(--muted); }
.tk-tree-branch.tk-rare { border-left-color: var(--ca-red); }
.tk-tree-branch.tk-rare .tk-tree-ans { color: var(--ca-red); }
.tk-tree-branch.tk-rare .tk-tree-ans svg { stroke: var(--ca-red); }
@media (min-width: 760px) { .tk-tree-branches { grid-template-columns: 1fr 1fr 1fr; } }
