/*
  trubetech.com -- charcoal theme overlay, rev 1 (2026-10-30)
  Cream page, charcoal contrast sections, red as the only filled button, black header/footer.
  Loaded after style.css; flips its tokens and tightens type and spacing to match
  /services/ and /pricing/. Pages with their own inline <style> still win over this file.
*/
:root {
  --bg: #F6F1E4;
  --bg-raised: #FFFDF7;
  --bg-inset: #2B2E33;
  --line: rgba(31, 32, 35, 0.13);
  --line-strong: rgba(31, 32, 35, 0.30);
  --grid-line: rgba(31, 32, 35, 0.035);
  --ink: #1F2023;
  --ink-muted: #55575C;
  --ink-faint: #787A7F;
  --red: #D41014;
  --red-rgb: 212, 16, 20;
  --red-hover: #B00D10;
  --cream-deep: #EDE5D0;
  --sec: #2B2E33;
  --sec-soft: #3A3E45;
}

/* Dark surfaces: header, footer and contrast sections re-scope the tokens to the light-on-dark set. */
.site-header, footer.site-foot, .on-ink, .ticket-rotator, #riley-panel, #riley-inline-container {
  --bg: #0E1013;
  --bg-raised: #1A1D21;
  --line: rgba(242, 240, 236, 0.12);
  --line-strong: rgba(242, 240, 236, 0.26);
  --grid-line: rgba(242, 240, 236, 0.04);
  --ink: #F2F0EC;
  --ink-muted: rgba(242, 240, 236, 0.72);
  --ink-faint: rgba(242, 240, 236, 0.5);
  color: var(--ink);
}
.site-header, footer.site-foot { background-color: #0E1013; }
.on-ink, #riley-inline-container {
  --bg-raised: #3A3E45;
  --bg-inset: #2B2E33;
  background-color: #2B2E33;
}
.ticket-rotator { background-color: #2B2E33; }
.on-bg-raised { background: var(--cream-deep); }

/* Compact type and spacing */
body { font-size: 15.5px; line-height: 1.55; }
.shell { padding: 0 24px; }
h1 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); }
h2 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); }
h3 { font-size: 1.02rem; }
.eyebrow { font-size: 0.76rem; margin-bottom: 0.5rem; }
.lede { font-size: 1.02rem; line-height: 1.5; max-width: 70ch; }
p { margin-bottom: 0.8rem; }
section { padding: 38px 0; }
section.tight { padding: 28px 0; }
@media (max-width: 640px) { section { padding: 28px 0; } .shell { padding: 0 18px; } }
.section-head { margin-bottom: 20px; max-width: 780px; }
.grid { gap: 14px; }
.card, .card-tier { padding: 16px 18px; }
.card-tier .tier-flag { font-size: 0.6rem; padding: 4px 8px; }
.ticket-rotator { padding: 24px; margin-top: 28px; }
.ticket-rotator .tr-reply { font-size: 1rem; }
.scope-list { gap: 8px 28px; }
.scope-list li { font-size: 0.92rem; }
.procedure li { padding: 2px 0 16px 52px; padding-top: 14px; margin-top: 14px; }
.procedure li::before { font-size: 1.2rem; top: 12px; }
blockquote { font-size: 1.05rem; }
.stat-row { gap: 28px; }
.fact-pair { padding-top: 14px; }

/* Header and footer */
.site-header { padding: 12px 0; }
.brand img { height: 40px; }
.site-nav { gap: 22px; font-size: 0.76rem; }
footer.site-foot { padding: 28px 0; }

/* Buttons: red is the only filled button */
.btn { font-size: 0.84rem; padding: 10px 20px; }
.btn-primary {
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red);
  border-left: 1px solid var(--red);
}
.btn-primary:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
  box-shadow: none;
  transform: none;
}
.btn-primary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.btn-icon {
  width: 24px; height: 24px; margin: -4px 0;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: none;
  color: #fff;
}
.btn-primary:hover .btn-icon { border-color: #fff; box-shadow: none; }
.btn-icon svg { width: 13px; height: 13px; }
.btn-quiet { padding: 10px 0; color: var(--ink-muted); }

/* Forms: light fields on cream, dark ones inside charcoal sections */
.field input[type="text"], .field input[type="email"], .field textarea { background: #fff; padding: 10px 12px; }
.on-ink .field input[type="text"], .on-ink .field input[type="email"], .on-ink .field textarea { background: #1F2124; }
.redacted { background: var(--ink); color: var(--ink); }
.person-photo { filter: grayscale(1) contrast(1.04); }
.tt-pimg img { border-color: var(--line); }
