/* Focus Group brand colours (Focus Group brand writing guide, Sept 2026). */
:root {
  --brand: #1F1A39;        /* Prime Navy: headings, key text, dark backgrounds */
  --brand-ink: #FFFFFF;    /* White: text on dark backgrounds */
  --accent: #39476D;       /* Prime Blue: supporting elements, sub-headings */
  --accent-soft: #E8F5F9;  /* Light blue-grey: backgrounds, info panels */
  --grey: #ECEBEC;         /* Grey: secondary supporting colour */
  --ink: #1F1A39;
  --muted: #55526a;
  --line: #ECEBEC;
  --bg: #F6FAFB;
  --card: #ffffff;
  --warn-bg: #fff7e6;
  --warn-line: #f0c36d;
  --radius: 10px;
  --font: "FS Elliot", Arial, Helvetica, sans-serif; /* FS Elliot if installed, Arial as the brand fallback */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}
a { color: var(--accent); }
a:hover { text-decoration: none; }

/* Header */
.site-header {
  background: var(--brand);
  color: var(--brand-ink);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 16px 24px; max-width: 1180px; margin: 0 auto;
}
.logo { display: block; line-height: 0; padding: 4px 0; }
.logo img { height: 72px; width: auto; display: block; } /* brand minimum is 58px on screen */
.site-header nav a { color: #cfd8e6; text-decoration: none; font-size: 14px; margin-left: 18px; }
.site-header nav a:hover { color: #fff; }

.hero {
  background: linear-gradient(160deg, var(--brand) 0%, var(--accent) 100%);
  color: var(--brand-ink);
  padding: 40px 0 48px;
}
.hero .wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.hero h1 { margin: 0 0 10px; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.2; }
.hero p { margin: 0; max-width: 760px; color: var(--accent-soft); font-size: 17px; }
.strap { margin-top: 6px; font-weight: 600; letter-spacing: .01em; }
.meta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; }
.pill {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  background: rgba(255,255,255,.12); color: #fff;
}
.pill.draft { background: var(--warn-line); color: #3a2a00; font-weight: 600; }

/* Layout */
.layout {
  max-width: 1180px; margin: 0 auto; padding: 32px 24px 64px;
  display: grid; grid-template-columns: 240px 1fr; gap: 32px;
}
.toc {
  position: sticky; top: 20px; align-self: start;
  font-size: 14px;
}
.toc h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 10px; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.toc li a {
  display: block; padding: 6px 12px; color: var(--muted); text-decoration: none;
  margin-left: -2px; border-left: 2px solid transparent;
}
.toc li a:hover, .toc li a.active { color: var(--brand); border-left-color: var(--accent); }

main section {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 32px; margin-bottom: 24px;
}
main h2 { margin: 0 0 6px; font-size: 22px; color: var(--brand); scroll-margin-top: 20px; }
main h3 { margin: 22px 0 8px; font-size: 17px; }
.lead { color: var(--muted); margin: 0 0 18px; }

/* Who-does-what cards */
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.role { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.role h3 { margin: 0 0 6px; font-size: 15px; }
.role.you { border-top: 4px solid var(--accent); }
.role.us { border-top: 4px solid var(--brand); }
.role p { margin: 0; color: var(--muted); font-size: 15px; }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  display: grid; grid-template-columns: 28px 1fr; gap: 10px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.checklist li:last-child { border-bottom: 0; }
.checklist input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--accent); }
.checklist strong { display: block; }
.checklist span { color: var(--muted); font-size: 15px; }
.checklist li.key { background: var(--accent-soft); border-radius: 8px; padding: 12px; border: 1px solid var(--accent); margin: 6px 0; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li {
  counter-increment: step; position: relative;
  padding: 4px 0 20px 56px; border-left: 2px solid var(--line); margin-left: 18px;
}
.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps li::before {
  content: counter(step);
  position: absolute; left: -19px; top: 0;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 700;
  display: grid; place-items: center;
}
.steps.ours li::before { background: var(--brand); }
.steps h3 { margin: 4px 0 4px; font-size: 16px; }
.steps p { margin: 0; color: var(--muted); }
.who { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }
.steps.ours .who { color: var(--brand); }

/* Callouts */
.note {
  border-left: 4px solid var(--accent); background: var(--accent-soft);
  padding: 12px 16px; border-radius: 6px; margin: 16px 0 0; font-size: 15px;
}
.note.warn { border-left-color: var(--warn-line); background: var(--warn-bg); }

/* Tables */
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { background: var(--bg); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.form-table td:last-child { width: 45%; border-left: 1px dashed var(--line); }

details { border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; margin-top: 10px; }
details summary { cursor: pointer; font-weight: 600; }
details p { margin: 8px 0 0; color: var(--muted); }

.btn {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  padding: 10px 16px; border-radius: 8px; font-weight: 600; border: 0; cursor: pointer; font: inherit;
}
.btn.secondary { background: transparent; color: var(--brand); border: 1px solid var(--line); }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

/* Hub cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; text-decoration: none; color: inherit; display: block;
  transition: border-color .15s, transform .15s;
}
.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card h3 { margin: 0 0 6px; color: var(--brand); }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .tag { font-size: 12px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }

footer { text-align: center; color: var(--muted); font-size: 13px; padding: 24px; }

@media (max-width: 860px) {
  .layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .roles { grid-template-columns: 1fr; }
  main section { padding: 22px 18px; }
}

@media print {
  .site-header nav, .toc, .actions, .hero .meta .pill:not(.draft) { display: none; }
  .layout { display: block; padding: 0; }
  body { background: #fff; }
  .hero { background: none; color: var(--ink); padding: 0 0 12px; }
  .hero p { color: var(--muted); }
  main section { border: 0; padding: 0 0 12px; break-inside: avoid-page; }
  .site-header { background: none; color: var(--ink); }
}

.print-logo { display: none; }
@media print {
  .site-header .logo { display: none; }
  .print-logo { display: block; height: 58px; width: auto; margin-bottom: 12px; }
}
