/* Mesolab guide pages (#366). Same tokens as the landing page in client/index.html;
   kept in one file so the four guides cannot drift from each other. */
:root {
  color-scheme: dark;
  --bg: #0c0b09; --surface: #161412; --card: #1a1714; --rule: #2c2924; --rule-light: #3a362f;
  --ink: #f2ece4; --ink-2: #b8ada3; --muted: #9a9088;
  --volt: #c6f135; --volt-hover: #d4ff4a; --volt-dim: rgba(198, 241, 53, 0.12); --on-volt: #0c0b09;
  --font: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Barlow Condensed', 'Barlow', system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 500 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--volt); text-underline-offset: 4px; }
a:hover { color: var(--volt-hover); }
:focus-visible { outline: 3px solid var(--volt); outline-offset: 4px; border-radius: 6px; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--volt); color: var(--on-volt); padding: 10px 14px; border-radius: 8px; font-weight: 700; text-decoration: none; z-index: 10; }
.skip:focus { top: 16px; }
.wrap { width: min(100% - 32px, 760px); margin: 0 auto; }
header.site { padding: 18px 0; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: min(100% - 32px, 1040px); }
.mark { font-family: var(--display); font-weight: 800; letter-spacing: .12em; font-size: 20px; color: var(--ink); text-decoration: none; }
.mark:hover { color: var(--ink); }
nav.site ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 18px; }
nav.site a { text-decoration: none; font-weight: 600; color: var(--ink-2); }
nav.site a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 10px 18px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 16px; border: 1px solid transparent; }
.btn-primary { background: var(--volt); color: var(--on-volt); }
.btn-primary:hover { background: var(--volt-hover); color: var(--on-volt); }
.btn-secondary { border-color: var(--rule-light); color: var(--ink); }
.btn-secondary:hover { border-color: var(--volt); color: var(--ink); }
main { padding: 24px 0 64px; }
.crumbs { font-size: 14px; color: var(--muted); margin: 0 0 20px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.01em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(36px, 7vw, 56px); font-weight: 800; margin: 0 0 12px; }
h2 { font-size: clamp(26px, 4.5vw, 34px); font-weight: 800; margin: 44px 0 12px; }
h3 { font-size: 22px; font-weight: 700; margin: 28px 0 8px; }
p, li { max-width: 68ch; }
p { margin: 0 0 18px; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-2); margin-bottom: 26px; }
.meta { font-size: 14px; color: var(--muted); margin: 0 0 28px; }
ul, ol { padding-left: 22px; margin: 0 0 18px; }
li { margin-bottom: 8px; }
figure { margin: 28px 0; }
figure .phone { width: min(100%, 300px); margin: 0 auto; border-radius: 30px; border: 1px solid var(--rule-light); background: var(--surface); padding: 9px; box-shadow: 0 24px 60px rgba(0,0,0,.55), 0 0 50px var(--volt-dim); }
figure .phone img { border-radius: 22px; width: 100%; }
figcaption { text-align: center; color: var(--muted); font-size: 14px; margin-top: 12px; }
.callout { border-left: 3px solid var(--volt); background: var(--card); padding: 14px 18px; border-radius: 0 12px 12px 0; margin: 0 0 20px; color: var(--ink-2); }
.callout strong { color: var(--ink); }
table { border-collapse: collapse; width: 100%; margin: 0 0 20px; font-size: 16px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { color: var(--muted); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
dl.terms dt { font-weight: 700; margin-top: 12px; }
dl.terms dd { margin: 4px 0 0; color: var(--ink-2); }
.cta { margin-top: 48px; padding: 28px; border: 1px solid var(--rule); border-radius: 18px; background: linear-gradient(180deg, var(--surface), var(--bg)); }
.cta h2 { margin-top: 0; }
.cta .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.more { margin-top: 40px; }
.more ul { list-style: none; padding: 0; }
.more li { border-top: 1px solid var(--rule); margin: 0; }
.more li:last-child { border-bottom: 1px solid var(--rule); }
.more a { display: block; padding: 14px 0; text-decoration: none; font-weight: 600; }
.more a span { display: block; font-weight: 500; color: var(--muted); font-size: 15px; }
footer.site { border-top: 1px solid var(--rule); padding: 32px 0 48px; font-size: 15px; color: var(--muted); }
footer.site .wrap { width: min(100% - 32px, 1040px); }
footer.site ul { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer.site a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
footer.site a:hover { color: var(--ink); text-decoration: underline; }
footer.site p { margin: 0 0 8px; }
@media (max-width: 420px) { nav.site ul { gap: 12px; } .cta .actions .btn { width: 100%; } }
