/* FBD Guides — MCA design system, teal accent (shared with deals.footballbusinessdesk.com) */
:root {
  --bg: hsl(220 20% 99%);
  --ink: hsl(222 24% 12%);
  --muted: hsl(220 10% 42%);
  --card: hsl(0 0% 100%);
  --border: hsl(220 16% 88%);
  --accent: hsl(178 72% 30%);
  --accent-soft: hsl(178 45% 94%);
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-wrap: balance;
}
h1 { font-size: 2.1rem; margin: 0.4rem 0 0; }
h2 { font-size: 1.4rem; margin: 2.6rem 0 0.8rem; }
h3 { font-size: 1.1rem; margin: 1.8rem 0 0.5rem; }
a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--card);
}
.site-header .inner {
  max-width: 1080px; margin: 0 auto; padding: 0 1.25rem;
  height: 56px; display: flex; align-items: center; gap: 1.5rem;
}
.site-header .brand {
  font-family: var(--font-display); font-weight: 600; color: var(--ink);
  text-decoration: none; letter-spacing: -0.01em; white-space: nowrap;
}
.site-header nav { display: flex; gap: 1.1rem; overflow-x: auto; }
.site-header nav a {
  color: var(--muted); text-decoration: none; font-size: 0.875rem; white-space: nowrap;
}
.site-header nav a:hover { color: var(--ink); }

.page { max-width: 760px; margin: 0 auto; padding: 2.75rem 1.25rem 5rem; }
.page-wide { max-width: 1000px; }

.eyebrow {
  font-family: var(--font-mono); text-transform: uppercase;
  letter-spacing: 0.08em; font-size: 0.6875rem; font-weight: 500; color: var(--accent);
}
.standfirst { color: var(--muted); font-size: 1.05rem; margin-top: 0.9rem; max-width: 62ch; }
.byline {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem;
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted);
  margin-top: 1.1rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--border);
}

.toc {
  background: var(--card); border: 1px solid var(--border); border-radius: 10px;
  padding: 1rem 1.25rem; margin: 1.75rem 0; font-size: 0.9rem;
}
.toc strong { font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); }
.toc ol { margin: 0.5rem 0 0; padding-left: 1.2rem; }
.toc li { margin: 0.2rem 0; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

.answer-box {
  background: var(--accent-soft); border: 1px solid hsl(178 40% 82%);
  border-radius: 10px; padding: 1.1rem 1.35rem; margin: 1.75rem 0;
}
.answer-box p { margin: 0.35rem 0; }
.answer-box .k {
  font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--accent); font-weight: 600;
}

table {
  width: 100%; border-collapse: collapse; font-size: 0.875rem; margin: 1.1rem 0;
}
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 10px; background: var(--card); margin: 1.1rem 0; }
.table-wrap table { margin: 0; }
th {
  font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--muted); text-align: left; font-weight: 500;
  padding: 0.6rem 0.9rem; border-bottom: 1px solid var(--border); background: hsl(220 16% 97%);
  white-space: nowrap;
}
td { padding: 0.6rem 0.9rem; border-bottom: 1px solid var(--border); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
td.num, .mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 0.83rem; }

.note, .caveat {
  border-left: 3px solid var(--accent); background: var(--card);
  border-radius: 0 8px 8px 0; padding: 0.8rem 1.1rem; margin: 1.2rem 0;
  font-size: 0.92rem;
}
.caveat { border-left-color: hsl(38 80% 50%); }

.faq details {
  border: 1px solid var(--border); border-radius: 10px; background: var(--card);
  padding: 0.85rem 1.15rem; margin: 0.6rem 0;
}
.faq summary { cursor: pointer; font-weight: 600; font-size: 0.95rem; }
.faq details p { margin: 0.6rem 0 0.2rem; font-size: 0.92rem; }

.sources { font-size: 0.83rem; color: var(--muted); }
.sources ol { padding-left: 1.2rem; }
.sources li { margin: 0.3rem 0; }
.updated {
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted);
}

.cross-links {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.75rem; margin: 1.25rem 0;
}
.cross-links a {
  display: block; border: 1px solid var(--border); border-radius: 10px;
  background: var(--card); padding: 0.85rem 1rem; text-decoration: none;
  color: var(--ink); font-size: 0.9rem;
}
.cross-links a:hover { border-color: var(--accent); }
.cross-links strong { display: block; font-family: var(--font-display); }
.cross-links span { color: var(--muted); font-size: 0.8rem; }

.guide-cards { display: grid; gap: 1rem; margin-top: 2rem; }
.guide-cards a {
  display: block; border: 1px solid var(--border); border-radius: 12px;
  background: var(--card); padding: 1.3rem 1.5rem; text-decoration: none; color: var(--ink);
}
.guide-cards a:hover { border-color: var(--accent); }
.guide-cards h2 { margin: 0.2rem 0 0.4rem; font-size: 1.2rem; }
.guide-cards p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.site-footer {
  border-top: 1px solid var(--border); margin-top: 3rem;
}
.site-footer .inner {
  max-width: 1080px; margin: 0 auto; padding: 1.5rem 1.25rem;
  font-size: 0.78rem; color: var(--muted);
  display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; justify-content: space-between;
}
figure { margin: 1.1rem 0; }
ul, ol { padding-left: 1.35rem; }
li { margin: 0.3rem 0; }
p { max-width: 70ch; }
