/* Masterbuild Consulting — shared chrome for static production pages.
   Visual system matches existing service pages: #0B0C0E field, #CA540A accent. */
*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #0B0C0E;
  color: #F0EDE8;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: #CA540A; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid #CA540A;
  outline-offset: 3px;
}
.skip {
  position: absolute; left: -9999px; top: 8px;
  background: #CA540A; color: #0B0C0E;
  padding: 10px 18px; font-weight: 700; z-index: 9999;
}
.skip:focus { left: 12px; }
header, footer { background: #0F1013; }
header { border-bottom: 1px solid rgba(255,255,255,.08); }
footer { border-top: 1px solid rgba(255,255,255,.08); margin-top: 56px; }
header .wrap, main, footer .wrap { width: 100%; max-width: min(980px, 100vw); margin: 0 auto; padding: 22px; }
nav.site { display: flex; flex-wrap: wrap; gap: 12px 16px; font-size: 13px; align-items: center; }
nav.site .brand { font-weight: 700; color: #F0EDE8; }
nav.site a { color: rgba(240,237,232,.78); min-height: 44px; display: inline-flex; align-items: center; }
nav.site a.is-current { color: #F0EDE8; }
nav.site .lang { margin-left: auto; color: rgba(240,237,232,.62); }
.eyebrow { color: #CA540A; font-family: Consolas, "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin: 26px 0 10px; }
h1 { max-width: 100%; font-size: clamp(30px, 5vw, 52px); line-height: 1.07; margin: 0 0 18px; overflow-wrap: anywhere; }
h2 { font-size: 22px; margin: 44px 0 12px; color: #F0EDE8; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); }
h3 { font-size: 16px; margin: 0 0 8px; color: #F0EDE8; }
p, li { color: rgba(240,237,232,.78); font-size: 17px; }
p { margin: 0 0 16px; }
.lede { font-size: 19px; color: rgba(240,237,232,.9); }
.abbr-list { font-size: 14px; color: rgba(240,237,232,.62); margin: 0 0 22px; line-height: 1.75; }
.abbr-list strong { color: #F0EDE8; }
abbr[title] { text-decoration: underline dotted rgba(202,84,10,.55); text-underline-offset: 3px; cursor: help; }
.summary { border-left: 3px solid #CA540A; padding-left: 18px; margin: 24px 0 30px; color: #F0EDE8; }
.summary p { color: #F0EDE8; margin: 0; }
ul.plain { padding: 0; list-style: none; margin: 8px 0 18px; }
ul.plain li { padding: 9px 0 9px 22px; position: relative; border-bottom: 1px solid rgba(255,255,255,.06); }
ul.plain li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #CA540A; position: absolute; left: 4px; top: 1.05em; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px; margin: 18px 0 8px; }
.card { min-width: 0; padding: 18px; background: #131417; border: 1px solid rgba(255,255,255,.08); }
.card p { font-size: 15px; margin: 0; color: rgba(240,237,232,.68); }
.risk, .faq, .send { margin: 16px 0; padding: 16px 18px; background: #131417; border: 1px solid rgba(255,255,255,.08); }
.send h3 { color: #CA540A; }
.send p { margin: 0; font-size: 16px; }
.risk p:last-child, .faq p:last-child, .send p:last-child { margin: 0; }
.boundary { margin: 22px 0; padding: 18px; background: rgba(202,84,10,.08); border-left: 3px solid #CA540A; }
.boundary p:last-child { margin: 0; }
.steps { counter-reset: step; padding: 0; list-style: none; margin: 14px 0 20px; }
.steps li { counter-increment: step; position: relative; padding: 12px 0 12px 44px; border-bottom: 1px solid rgba(255,255,255,.06); }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 14px; color: #CA540A; font-family: Consolas, monospace; font-size: 13px; }
.cta { margin-top: 48px; padding: 26px; background: linear-gradient(135deg, rgba(202,84,10,.18), rgba(19,20,23,.96)); border: 1px solid rgba(202,84,10,.34); }
.cta h2 { margin: 0 0 10px; padding-top: 0; border-top: 0; }
.cta-primary {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 13px 24px;
  background: #CA540A; border: 1px solid #CA540A; color: #0B0C0E;
  font-weight: 700; margin: 8px 0 14px;
}
.cta-primary:hover { text-decoration: none; background: #D96A22; }
.cta-secondary { display: flex; flex-wrap: wrap; gap: 16px; font-size: 15px; margin-bottom: 14px; }
.contact { font-family: Consolas, monospace; font-size: 14px; color: rgba(240,237,232,.62); }
.note { color: rgba(240,237,232,.55); font-size: 14px; }
.table-wrap { overflow-x: auto; margin: 16px 0 24px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,.08); vertical-align: top; }
th { color: #CA540A; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; }
footer p, .foot-nav { font-size: 14px; color: rgba(240,237,232,.55); margin: 0 0 8px; }
label { display: block; font-family: Consolas, monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #CA540A; margin: 0 0 6px; }
input, select, textarea {
  width: 100%; padding: 12px 14px; margin: 0 0 14px;
  background: #1C1E23; border: 1px solid rgba(255,255,255,.08);
  color: #F0EDE8; font: 16px/1.4 Arial, Helvetica, sans-serif; border-radius: 3px;
}
input, select, textarea, button { max-width: 100%; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.honey { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.discs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.discs label { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: 0; text-transform: none; letter-spacing: 0; font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: rgba(240,237,232,.78); }
.discs input { width: auto; margin: 0; }
.alert { padding: 12px 14px; background: rgba(217,107,90,.1); border: 1px solid rgba(217,107,90,.35); margin: 0 0 14px; }
.ok { padding: 18px; background: rgba(111,143,92,.12); border: 1px solid rgba(111,143,92,.4); margin: 0 0 18px; }
button[type="submit"] {
  min-height: 48px; padding: 13px 24px; background: #CA540A; color: #0B0C0E;
  border: 0; font-weight: 700; font-size: 15px; cursor: pointer; border-radius: 3px;
}
button[type="submit"]:hover { background: #D96A22; }

.tool {
  margin: 20px 0 32px;
  padding: 20px;
  background: #131417;
  border: 1px solid rgba(255,255,255,.08);
}
.tool h2 { margin: 0 0 8px; padding-top: 0; border-top: 0; font-size: 20px; }
.tool .lede { font-size: 16px; margin-bottom: 16px; }
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.tool-result {
  margin-top: 14px; padding: 16px 18px;
  background: rgba(202,84,10,.10);
  border-left: 3px solid #CA540A;
}
.tool-result[hidden] { display: none; }
.tool-result strong { color: #F0EDE8; }
.tool-kicker {
  font-family: Consolas, "IBM Plex Mono", monospace;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: #CA540A; margin: 0 0 8px;
}
.hub-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px; margin: 18px 0 8px;
}
.hub-strip a {
  display: block; padding: 14px 16px;
  background: #131417; border: 1px solid rgba(255,255,255,.08);
  color: #F0EDE8; min-height: 44px;
}
.hub-strip a:hover { border-color: rgba(202,84,10,.5); text-decoration: none; }
.hub-strip small { display: block; color: rgba(240,237,232,.55); font-size: 13px; margin-top: 6px; }
.rate-table { font-size: 14px; }
.rate-table td:nth-child(n+2) { font-family: Consolas, monospace; white-space: nowrap; }
.check-list { display: grid; gap: 6px; margin: 8px 0 14px; }
.check-list label {
  display: flex; align-items: flex-start; gap: 10px;
  min-height: 44px; margin: 0;
  text-transform: none; letter-spacing: 0;
  font-family: Arial, Helvetica, sans-serif; font-size: 15px;
  color: rgba(240,237,232,.82); font-weight: 400;
}
.check-list input { width: auto; margin: 4px 0 0; flex: 0 0 auto; }
.copy-out {
  width: 100%; min-height: 140px; padding: 12px 14px;
  background: #1C1E23; border: 1px solid rgba(255,255,255,.08);
  color: #F0EDE8; font: 14px/1.5 Consolas, "IBM Plex Mono", monospace;
}
.ghost-btn {
  min-height: 44px; padding: 10px 16px; margin: 0 8px 8px 0;
  background: transparent; border: 1px solid rgba(255,255,255,.18);
  color: #F0EDE8; font-weight: 700; cursor: pointer; border-radius: 3px;
}
.ghost-btn:hover { border-color: #CA540A; }

.crumbs {
  font-size: 13px;
  color: rgba(240,237,232,.5);
  margin: 8px 0 0;
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
}
.crumbs a { color: rgba(240,237,232,.62); }
.crumbs .sep { color: rgba(240,237,232,.28); }
.tool-toc {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 8px 0 28px;
}
.tool-toc a {
  display: inline-flex; align-items: center;
  min-height: 40px; padding: 8px 12px;
  background: #131417; border: 1px solid rgba(255,255,255,.1);
  color: #F0EDE8; font-size: 13px;
}
.tool-toc a:hover { border-color: #CA540A; text-decoration: none; }
.toc-block { margin: 0 0 18px; }
.toc-label {
  font-family: Consolas, "IBM Plex Mono", monospace;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: #CA540A; margin: 18px 0 8px;
}
#tool-filter { max-width: 420px; }
.back-to-tools {
  position: fixed;
  right: 16px;
  bottom: 24px;
  z-index: 90;
  min-height: 44px;
  padding: 10px 16px;
  background: #CA540A;
  color: #0B0C0E;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0,0,0,.45);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
}
.back-to-tools.is-on { opacity: 1; pointer-events: auto; transform: none; }
.back-to-tools:hover { text-decoration: none; background: #D96A22; color: #0B0C0E; }
.back-to-tools-inline { margin: 16px 0 0; }
.back-to-tools-link { font-size: 14px; font-weight: 700; }
.sticky-cta { display: none; }

@media (max-width: 700px) {
  header .wrap, main, footer .wrap { padding: 18px; }
  h1 { font-size: clamp(25px, 8vw, 34px); line-height: 1.12; }
  h2 { font-size: 20px; margin-top: 36px; }
  p, li { font-size: 16px; }
  .lede { font-size: 17px; }
  .cta { padding: 20px; }
  .cta-primary, button[type="submit"] { width: 100%; }
  .form-grid, .tool-grid { grid-template-columns: 1fr; }
  nav.site { gap: 8px 12px; }
  .tool { padding: 16px; }
  .sticky-cta {
    display: flex; gap: 10px; align-items: center;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: #0F1013;
    border-top: 1px solid rgba(202,84,10,.45);
  }
  .sticky-cta a {
    flex: 1; min-height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 14px;
  }
  .sticky-cta .cta-primary { margin: 0; width: auto; }
  .sticky-cta .ghost {
    border: 1px solid rgba(255,255,255,.18); color: #F0EDE8;
  }
  body.has-sticky-cta { padding-bottom: 78px; }
  .back-to-tools { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); right: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.pre-check { list-style: none; padding: 0; margin: 0 0 24px; }
.pre-check li {
  display: grid;
  grid-template-columns: 1.4em 1fr;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.12);
  background: #141518;
  padding: 12px 14px;
  margin: 0 0 8px;
}
.pre-check li::before { content: "☐"; color: #CA540A; font-size: 18px; line-height: 1.4; }
@media print {
  header, footer, .sticky-cta, .skip, nav.site, .cta-secondary, .tool-toc, .back-to-tools, .back-to-tools-inline { display: none !important; }
  body { background: #fff; color: #111; padding: 0; }
  a { color: #111; }
  .tool, .tool-result, .card, .send, .pre-check li { border: 1px solid #ccc; background: #fff; }
  h1, h2, h3, p, li { color: #111; }
  .pre-check li::before { color: #111; }
}

.intake-link {
  display: inline-block;
  font-weight: 700;
  white-space: nowrap;
  padding: 6px 0;
}
