/* Cool Dispatch – guide pages. Mobile first, built for reading on a phone. */
:root {
    --bg: #121212; --bg-accent: #1c1c1e; --bg-deep: #000;
    --text-main: #ffffff; --text-body: #d4d4d8; --text-muted: #a1a1aa; --text-tertiary: #8a8a93;
    --accent: #1783bb; --accent-light: #4fb3e6; --divider: rgba(255,255,255,0.10);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Instrument Serif', Georgia, serif;
    --mono: 'JetBrains Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text-body); font-family: var(--font-main); font-size: 18px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: var(--accent-light); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* Header */
.g-header { position: sticky; top: 0; z-index: 10; background: rgba(18,18,18,0.97); border-bottom: 1px solid var(--divider); }
.g-header .in { max-width: 720px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.g-header img { height: 26px; width: auto; display: block; }
.g-header nav { display: flex; gap: 18px; align-items: center; }
.g-header nav a { color: var(--text-main); text-decoration: none; font-size: 15px; font-weight: 600; opacity: 0.8; }
.g-header nav a.call { background: var(--accent); opacity: 1; padding: 8px 16px; border-radius: 999px; font-weight: 800; }

/* Article */
main { max-width: 720px; margin: 0 auto; padding: 20px 20px 120px; }
.crumbs { font-size: 14px; color: var(--text-tertiary); margin-bottom: 20px; }
.crumbs a { color: var(--text-muted); text-decoration: none; }
.crumbs span { margin: 0 6px; }
h1 { color: var(--text-main); font-size: clamp(30px, 7vw, 44px); line-height: 1.15; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 16px; }
.meta { font-size: 14px; color: var(--text-tertiary); margin-bottom: 28px; }
.answer { background: var(--bg-accent); border-left: 4px solid var(--accent); border-radius: 12px; padding: 18px 20px; margin-bottom: 36px; color: var(--text-main); font-size: 19px; }
.answer .label { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 6px; }
h2 { color: var(--text-main); font-size: 25px; line-height: 1.25; font-weight: 800; letter-spacing: -0.02em; margin: 40px 0 14px; }
p { margin-bottom: 16px; }
ul, ol { margin: 0 0 18px 22px; }
li { margin-bottom: 8px; }
strong { color: var(--text-main); }
.table-wrap { overflow-x: auto; margin-bottom: 20px; }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--divider); }
th { color: var(--text-main); font-weight: 700; }

/* Call to action */
.cta { background: var(--bg-accent); border: 1px solid var(--divider); border-radius: 20px; padding: 24px 20px; margin: 44px 0; text-align: center; }
.cta h2 { margin-top: 0; }
.cta p { color: var(--text-muted); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.btn { display: inline-block; text-decoration: none; font-weight: 800; padding: 14px 24px; border-radius: 999px; font-size: 16px; }
.btn.primary { background: var(--accent); color: #fff; }
.btn.ghost { border: 1px solid var(--divider); color: var(--text-main); }

/* More guides */
.more h2 { font-size: 20px; }
.more ul { list-style: none; margin: 0; }
.more li { border-bottom: 1px solid var(--divider); margin: 0; }
.more a { display: block; padding: 14px 0; color: var(--text-main); text-decoration: none; font-weight: 600; }
.more a::after { content: " →"; color: var(--accent-light); }

/* Guides hub cards */
.cards { list-style: none; margin: 0; display: grid; gap: 14px; }
.cards li { margin: 0; }
.cards a { display: block; background: var(--bg-accent); border: 1px solid var(--divider); border-radius: 16px; padding: 18px 20px; text-decoration: none; }
.cards .q { display: block; color: var(--text-main); font-weight: 800; font-size: 19px; line-height: 1.3; margin-bottom: 6px; }
.cards .s { display: block; color: var(--text-muted); font-size: 16px; line-height: 1.5; }

/* Footer */
footer { border-top: 1px solid var(--divider); padding: 32px 20px 100px; text-align: center; font-size: 14px; color: var(--text-tertiary); }
footer a { color: var(--text-muted); }
footer .links { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; margin-bottom: 14px; }

/* Sticky call bar on phones */
.callbar { display: none; }
@media (max-width: 640px) {
    .g-header nav a.hide-sm { display: none; }
    .callbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(18,18,18,0.97); border-top: 1px solid var(--divider); }
    .callbar a { flex: 1; text-align: center; text-decoration: none; font-weight: 800; padding: 13px 10px; border-radius: 999px; font-size: 16px; }
    .callbar .c1 { background: var(--accent); color: #fff; }
    .callbar .c2 { border: 1px solid var(--divider); color: var(--text-main); }
}
@media (min-width: 900px) {
    main { padding-top: 32px; }
    body { font-size: 19px; }
}
