/* Shared styles for the Trust Center pages (privacy, terms, security, data-handling, trust).
   Mirrors guide.html / the printed report: black-on-white, gold accents, Bebas Neue headings,
   Open Sans body. Tokens from BRAND-BOOK.md. Calm and plain — a reference sheet, not marketing. */
:root {
  --ink: #1e1e1e;
  --gold: #ffbe17;
  --cream: #fff2d1;
  --line: #e6e6e6;
  --muted: #555;
  --font-display: 'Bebas Neue', system-ui, sans-serif;
  --font-body: 'Open Sans', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #d8d8d8;
  color: #111;
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.sheet {
  max-width: 860px;
  margin: 28px auto 60px;
  background: #fff;
  padding: 40px 52px 48px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.18);
}

/* Header — logo left, title block right, gold rule under. */
.l-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  border-bottom: 3px solid var(--gold);
  padding-bottom: 14px;
  margin-bottom: 8px;
}
.l-logo { height: 34px; width: auto; }
.l-brand { display: flex; align-items: center; gap: 14px; }

/* Score wordmark: stepped dark bevel + gold vertical gradient + soft gloss, in Bebas Neue. Same
   recipe as the app header / PDF cover / Getting Started / FAQ — only font-size changes. */
.score-mark { display: inline-grid; font-family: var(--font-display); text-transform: uppercase; line-height: 1; }
.score-mark > * { grid-area: 1 / 1; }
.score-mark .depth {
  color: #8a5a12;
  text-shadow:
    .01em .01em 0 #7c4f0f, .02em .02em 0 #6e440d, .03em .03em 0 #603a0b,
    .04em .04em 0 #522f09, .05em .05em 0 #442507, .06em .06em 0 #361b05,
    .07em .07em 0 #281303, .08em .08em 0 #1a0b01,
    .09em .1em .03em rgba(0, 0, 0, .55), .12em .16em .2em rgba(0, 0, 0, .5);
}
.score-mark .face {
  color: transparent;
  background: linear-gradient(180deg, #fff8e0 0%, #ffe08a 14%, #ffc93c 32%, #f6a71f 55%, #d98411 76%, #b96a0a 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-stroke: .015em #2b1600;
  paint-order: stroke fill;
}
.score-mark .gloss {
  color: transparent;
  background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.5) 32%, rgba(255,255,255,0) 58%);
  -webkit-background-clip: text; background-clip: text;
  mix-blend-mode: screen;
}
.score-mark.score-turbo { transform: skewX(-9deg); letter-spacing: -0.01em; }

/* "By Project Moneyball" endorsement — the approved PM lockup (BRAND-BOOK.md: never recolor,
   restretch, skew, or reposition), plus a small "By" label. */
.brand-by { display: inline-flex; align-items: center; gap: 7px; }
.brand-by-label { font-family: var(--font-display); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }

.l-titleblock { text-align: right; }
.l-title { font-family: var(--font-display); font-size: 30px; letter-spacing: 0.5px; color: #111; line-height: 1; }
.l-sub { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* Cross-document nav. */
.l-nav { font-size: 13px; margin: 14px 0 4px; color: var(--muted); }
.l-nav a { color: #111; text-decoration: none; margin-right: 4px; }
.l-nav a:hover { border-bottom: 1px solid var(--gold); }
.l-nav span.sep { color: var(--line); margin: 0 6px; }

/* Pre-launch informational banner. */
.banner {
  background: var(--cream);
  border: 1px solid #f0e2bd;
  border-radius: 8px;
  padding: 14px 18px;
  margin: 18px 0 8px;
  font-size: 13.5px;
  color: #4a3d10;
}
.banner strong { color: #1e1e1e; }

/* Body typography. */
h2 { font-family: var(--font-display); font-size: 22px; letter-spacing: 0.4px; color: #111; margin: 30px 0 8px; }
h3 { font-size: 15px; color: #111; margin: 20px 0 4px; }
p, li { font-size: 14.5px; color: #222; }
.lede { font-size: 15.5px; color: #222; margin: 18px 0 6px; }
.muted { color: var(--muted); }
a.inline { color: #111; }
ul { padding-left: 20px; }
li { margin: 4px 0; }
hr.rule { border: none; border-top: 1px solid var(--line); margin: 26px 0; }

/* Tables. */
table.l-table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 13.5px; }
table.l-table th, table.l-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.l-table th { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.4px; color: #111; background: #faf7ee; }

/* ASCII / flow block. */
pre.flow { background: #faf9f5; border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; font-size: 12.5px; overflow-x: auto; line-height: 1.5; }

/* Trust Center hub grid. */
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 22px 0 8px; }
.trust-card { border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; text-decoration: none; color: #111; display: block; transition: border-color 0.15s, box-shadow 0.15s; }
.trust-card:hover { border-color: var(--gold); box-shadow: 0 4px 16px rgba(0,0,0,0.07); }
.trust-card .tc-title { font-family: var(--font-display); font-size: 19px; letter-spacing: 0.4px; }
.trust-card .tc-desc { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* Footer — signature + QR, same lockup as guide/report. */
.l-footer { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; border-top: 2px solid #111; padding-top: 14px; margin-top: 44px; }
.l-signname { font-family: var(--font-display); font-size: 20px; color: #111; line-height: 1; }
.l-signrole { font-size: 13px; color: var(--muted); }
.l-contact { font-size: 13px; color: #111; text-decoration: none; display: inline-block; margin-top: 2px; }
.l-contact:hover { border-bottom: 1px solid var(--gold); }
.l-qrblock { text-align: center; }
.l-qr { width: 92px; height: 92px; display: block; }
.l-qrcaption { font-size: 11px; color: var(--muted); margin-top: 4px; max-width: 110px; }
.back-top { text-align: right; margin-top: 10px; font-size: 13px; }
.back-top a { color: var(--muted); text-decoration: none; }

@media (max-width: 720px) {
  .sheet { padding: 26px 22px 34px; margin: 0; box-shadow: none; }
  .l-header { flex-direction: column; align-items: flex-start; }
  .l-titleblock { text-align: left; }
  .trust-grid { grid-template-columns: 1fr; }
}
@media print {
  body { background: #fff; }
  .sheet { max-width: none; margin: 0; box-shadow: none; }
  .back-top, .l-nav { display: none; }
}
