/* Tailgate Sales Pro website
   Built on Bootstrap 5.3 (grid, navbar collapse, utilities).
   Colours, type and parts follow the "Style sheet" board on Neil's design canvas. */

:root {
  --tsp-ink: #211C17;        /* body text, dark bands, text on orange */
  --tsp-accent: #FE7E00;     /* buttons and markers. Never white text on it. */
  --tsp-ground: #F5F2E9;     /* page background */
  --tsp-surface: #FFFFFF;    /* cards, forms */
  --tsp-muted: #5C554C;      /* secondary text */
  --tsp-body-soft: #3D372F;  /* FAQ answers */
  --tsp-border: #E2DCCF;     /* dividers, card edges */
  --tsp-field: #C9C1B3;      /* form field borders */
  --tsp-footer: #17130F;
  --tsp-on-dark: #F5F2E9;
  --tsp-on-dark-soft: #E2DCCF;
  --tsp-dark-line: #4A4238;
  --tsp-error: #B42318;
  --tsp-error-text: #7A1A12;

  --tsp-head: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --tsp-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Bootstrap hooks */
  --bs-body-font-family: var(--tsp-body);
  --bs-body-color: var(--tsp-ink);
  --bs-body-bg: var(--tsp-ground);
  --bs-link-color: var(--tsp-ink);
  --bs-link-color-rgb: 33, 28, 23;
  --bs-link-hover-color: var(--tsp-muted);
  --bs-link-hover-color-rgb: 92, 85, 76;
  --bs-border-color: var(--tsp-border);
  --bs-focus-ring-color: rgba(254, 126, 0, .45);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--tsp-ground);
  color: var(--tsp-ink);
  font-family: var(--tsp-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}
@media (min-width: 768px) { body { font-size: 18px; } }
img { max-width: 100%; height: auto; }
a { color: var(--tsp-ink); text-underline-offset: 3px; }
a:hover { color: var(--tsp-muted); }
:focus-visible { outline: 3px solid var(--tsp-accent); outline-offset: 2px; }
[hidden] { display: none !important; }
p { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; }
section[id], [id].anchor { scroll-margin-top: 88px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 2000;
  background: var(--tsp-accent); color: var(--tsp-ink); font-weight: 700;
  padding: 10px 16px; border-radius: 6px; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--tsp-ink); }

/* Content width: 1200 max, 24px side padding (16 on phone) */
.container-tsp { max-width: 1248px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.container-tsp.narrow { max-width: 1148px; }
.container-tsp.reading { max-width: 948px; }
@media (min-width: 576px) { .container-tsp { padding-left: 24px; padding-right: 24px; } }
/* Phone: the 16px side padding can't absorb Bootstrap's wider gutters. */
@media (max-width: 575.98px) { .container-tsp .row { --bs-gutter-x: 2rem; } .container-tsp .row.g-3 { --bs-gutter-x: 1rem; } }

/* Section padding: 88 desktop / 56 phone */
.sec { padding-top: 56px; padding-bottom: 56px; }
@media (min-width: 992px) { .sec { padding-top: 88px; padding-bottom: 88px; } }
.sec-sm { padding-top: 48px; padding-bottom: 48px; }
@media (min-width: 992px) { .sec-sm { padding-top: 64px; padding-bottom: 64px; } }

.band-dark { background: var(--tsp-ink); color: var(--tsp-on-dark); }
.band-dark a { color: var(--tsp-on-dark); }
.band-white { background: var(--tsp-surface); border-top: 1px solid var(--tsp-border); border-bottom: 1px solid var(--tsp-border); }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--tsp-head); font-weight: 700; font-size: 18px;
  letter-spacing: 2px; text-transform: uppercase; color: var(--tsp-muted);
  margin-bottom: 16px;
}
.band-dark .eyebrow { color: var(--tsp-on-dark-soft); }
.display, .h-sec, .h-sub {
  font-family: var(--tsp-head); font-weight: 800; text-transform: uppercase;
}
.display { font-size: clamp(48px, 7vw, 92px); line-height: .95; }
.display.md { font-size: clamp(44px, 6vw, 80px); line-height: .98; }
.h-sec { font-size: clamp(34px, 4.5vw, 56px); line-height: 1.03; }
.h-sec.sm { font-size: clamp(30px, 4vw, 48px); }
.h-sub { font-size: clamp(28px, 3.5vw, 42px); line-height: 1.05; }
.lead-tsp { font-size: 19px; line-height: 1.45; max-width: 640px; }
@media (min-width: 768px) { .lead-tsp { font-size: 22px; } }
.body-lg { font-size: 18px; }
@media (min-width: 768px) { .body-lg { font-size: 19px; } }
.text-muted-tsp { color: var(--tsp-muted); }
.band-dark .text-soft { color: var(--tsp-on-dark-soft); }
.measure { max-width: 640px; }

/* Orange words in headlines: orange bar behind ink text (contrast) */
.mark-bar { font-style: italic; box-shadow: inset 0 -.24em 0 var(--tsp-accent); }

/* Short orange bar above a headline. Three main reasons only. */
.marker { width: 56px; height: 6px; background: var(--tsp-accent); margin-bottom: 20px; }

/* ---------- Buttons ---------- */
.btn-tsp {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px; border-radius: 6px; border: 0;
  background: var(--tsp-accent); color: var(--tsp-ink);
  font-family: var(--tsp-body); font-weight: 700; font-size: 19px; line-height: 1.2;
  text-decoration: none; cursor: pointer; text-align: center;
}
.btn-tsp:hover, .btn-tsp:focus { background: #E87300; color: var(--tsp-ink); }
.btn-tsp:disabled { opacity: 1; cursor: progress; background: #FFB066; }
@media (max-width: 575.98px) { .btn-tsp.block-phone { display: flex; width: 100%; } }
@media (min-width: 768px) { .btn-tsp { font-size: 20px; } }
.btn-tsp.btn-sm-tsp { min-height: 44px; padding: 0 18px; font-size: 17px; }
.btn-tsp.btn-md-tsp { min-height: 52px; padding: 0 24px; font-size: 18px; }
.btn-tsp.full { display: flex; width: 100%; }

.btn-tsp-outline {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px; border-radius: 6px;
  border: 2px solid var(--tsp-ink); background: var(--tsp-surface); color: var(--tsp-ink);
  font-weight: 700; font-size: 18px; text-decoration: none; cursor: pointer;
}
.btn-tsp-outline:hover { background: var(--tsp-ground); color: var(--tsp-ink); }

.text-link { font-weight: 700; font-size: 19px; }

.spinner {
  width: 20px; height: 20px; flex: none;
  animation: tsp-spin .9s linear infinite;
}
@keyframes tsp-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }

/* ---------- Header ---------- */
.site-header { background: var(--tsp-ink); color: var(--tsp-on-dark); position: sticky; top: 0; z-index: 1030; }
.site-header .navbar { padding: 12px 0; }
@media (min-width: 992px) { .site-header .navbar { padding: 16px 0; } }
.brand {
  display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--tsp-on-dark);
  margin-right: auto; min-width: 0;
}
.brand:hover { color: var(--tsp-on-dark); }
.brand img { width: 44px; height: 44px; border-radius: 50%; flex: none; background: var(--tsp-ground); }
.brand span {
  font-family: var(--tsp-head); font-weight: 800; font-size: 20px; letter-spacing: .5px;
  text-transform: uppercase; line-height: 1; white-space: nowrap;
}
/* Phone: name on two lines ("Tailgate / Sales Pro") so logo, name, button and menu share one row */
@media (max-width: 575.98px) { .brand span { white-space: normal; max-width: 5.2em; font-size: 19px; line-height: 1; } }
@media (min-width: 576px) { .brand span { font-size: 22px; } }
@media (min-width: 992px) { .brand span { font-size: 24px; } }
@media (max-width: 339.98px) { .brand span { display: none; } }

.nav-toggle {
  width: 44px; height: 44px; margin-left: 8px; border-radius: 6px;
  border: 2px solid var(--tsp-dark-line); background: transparent; color: var(--tsp-on-dark);
  display: inline-flex; align-items: center; justify-content: center; padding: 0;
}
.nav-toggle .bar-x { display: none; }
.nav-toggle[aria-expanded="true"] .bar-3 { display: none; }
.nav-toggle[aria-expanded="true"] .bar-x { display: block; }

.site-nav .nav-link {
  color: var(--tsp-on-dark); font-weight: 600; font-size: 18px;
  min-height: 44px; display: flex; align-items: center; padding: 0 !important;
}
.site-nav .nav-link:hover, .site-nav .nav-link:focus { color: #fff; text-decoration: underline; }
.site-nav .nav-link[aria-current="page"] { font-weight: 700; }
.site-nav .nav-link[aria-current="page"] span { border-bottom: 3px solid var(--tsp-accent); padding-bottom: 2px; }
@media (max-width: 991.98px) {
  .site-nav { border-top: 1px solid #3A332A; margin-top: 12px; padding-top: 4px; }
  .site-nav .nav-link { border-bottom: 1px solid #3A332A; min-height: 52px; }
}
@media (min-width: 992px) {
  .site-nav .navbar-nav { gap: 24px; align-items: center; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--tsp-footer); color: var(--tsp-field); font-size: 15px; }
.site-footer .inner { padding-top: 48px; padding-bottom: 48px; }
.site-footer .f-name { font-family: var(--tsp-head); font-weight: 800; font-size: 22px; text-transform: uppercase; color: var(--tsp-on-dark); }
.site-footer .f-tag { color: var(--tsp-on-dark-soft); }
.site-footer a { color: var(--tsp-on-dark); }
.site-footer a:hover { color: #fff; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-nav a { min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- Cards, steps ---------- */
.card-tsp {
  background: var(--tsp-surface); border: 1px solid var(--tsp-border); border-radius: 8px;
  padding: 24px; height: 100%;
}
@media (min-width: 768px) { .card-tsp { padding: 28px; } }
.card-tsp h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; line-height: 1.3; }
@media (min-width: 768px) { .card-tsp h3 { font-size: 21px; } }
.card-tsp p { color: var(--tsp-muted); font-size: 17px; }
.step-num { font-family: var(--tsp-head); font-weight: 800; font-size: 48px; line-height: 1; display: block; margin-bottom: 12px; }

.rule-top { border-top: 6px solid var(--tsp-ink); padding-top: 32px; }

/* ---------- Images ---------- */
.photo { width: 100%; display: block; object-fit: cover; border-radius: 8px; }
.ratio-16x10 { aspect-ratio: 16 / 10; }
.ratio-4x5 { aspect-ratio: 4 / 5; }
/* Screenshot frame: plain ink border, no fake status bar */
.shot { display: block; width: 100%; height: auto; border: 8px solid var(--tsp-ink); border-radius: 32px; }
.shot.sm { border-width: 6px; border-radius: 20px; }
.shot-flat { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--tsp-border); }
.shot-onpanel { background: var(--tsp-ink); border-radius: 24px; padding: 40px 20px; }
.shot-onpanel img { display: block; width: 100%; height: auto; border-radius: 18px; }

/* Home hero: photo with the morning-summary screenshot over its corner */
.hero-media { position: relative; padding-bottom: 40px; }
.hero-media .photo { border-radius: 10px; object-position: 60% center; }
.hero-media .overlay {
  position: absolute; left: -8px; bottom: 0; width: min(380px, 82%);
}
.hero-media .overlay img {
  display: block; width: 100%; height: auto; border-radius: 16px;
  box-shadow: 0 2px 0 var(--tsp-ink), 0 0 0 2px var(--tsp-ink);
}
@media (min-width: 992px) { .hero-media .overlay { left: -24px; } }

.trade-fig { margin: 0; }
.trade-fig figcaption { margin-top: 10px; font-family: var(--tsp-head); font-weight: 700; font-size: 22px; text-transform: uppercase; }

/* ---------- Lists ---------- */
.list-plain { list-style: none; margin: 0; padding: 0; }
.list-gap > li + li { margin-top: 18px; }
.list-gap-lg > li + li { margin-top: 24px; }
.list-points strong.block { display: block; font-size: 19px; margin-bottom: 4px; }
@media (min-width: 768px) { .list-points strong.block { font-size: 20px; } }
.list-ruled > li { border-top: 3px solid var(--tsp-accent); padding-top: 14px; }
.list-ruled > li + li { margin-top: 20px; }
.list-ruled strong { display: block; font-size: 19px; margin-bottom: 4px; }
.accent-strong strong { color: var(--tsp-accent); }
.check-list li { display: flex; gap: 12px; }
.check-list li + li { margin-top: 14px; }
.check-list svg { flex: none; margin-top: 3px; }
.bullets { padding-left: 20px; margin: 0; }
.bullets li + li { margin-top: 12px; }

/* Numbered "how to get in" */
.num-steps li { display: flex; gap: 16px; }
.num-steps li + li { margin-top: 22px; }
.num-box {
  flex: none; width: 40px; height: 40px; border-radius: 6px; background: var(--tsp-ink); color: var(--tsp-on-dark);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--tsp-head); font-weight: 800; font-size: 22px;
}

/* Rhythm cards */
.rhythm { position: relative; }
.rhythm h3 { font-family: var(--tsp-head); font-weight: 800; font-size: 26px; text-transform: uppercase; }
.rhythm.recommended { border: 3px solid var(--tsp-ink); padding-top: 26px; }
.rhythm .tag {
  position: absolute; top: -14px; left: 20px; background: var(--tsp-accent); color: var(--tsp-ink);
  font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; padding: 2px 10px; border-radius: 4px;
}

/* Beta deal columns */
.deal { border-top: 6px solid var(--tsp-accent); }
.deal.ink { border-top-color: var(--tsp-ink); }
.deal h3 { font-family: var(--tsp-head); font-weight: 800; font-size: 30px; text-transform: uppercase; margin-bottom: 18px; }
.fit-box { border: 2px solid var(--tsp-dark-line); border-radius: 8px; padding: 24px; }
@media (min-width: 768px) { .fit-box { padding: 28px; } }
.fit-box h3 { font-family: var(--tsp-head); font-weight: 700; font-size: 26px; text-transform: uppercase; margin-bottom: 16px; }

/* ---------- FAQ (native details, works with no JS) ---------- */
.faq { border-top: 2px solid var(--tsp-ink); }
.faq details { border-bottom: 1px solid var(--tsp-border); }
.faq summary {
  list-style: none; cursor: pointer; font-weight: 700; font-size: 18px; line-height: 1.35;
  padding: 16px 40px 16px 0; position: relative; min-height: 44px;
}
@media (min-width: 768px) { .faq summary { font-size: 19px; } }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px;
  border-right: 3px solid var(--tsp-ink); border-bottom: 3px solid var(--tsp-ink);
  transform: translateY(-70%) rotate(45deg); transition: transform .15s;
}
.faq details[open] > summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { color: var(--tsp-body-soft); padding: 0 0 18px; max-width: 760px; }
.faq .answer ol, .faq .answer ul { padding-left: 22px; margin: 0; }
.faq .answer li + li { margin-top: 6px; }

.help-group h2 {
  font-family: var(--tsp-head); font-weight: 800; font-size: 32px; text-transform: uppercase;
  display: flex; align-items: center; gap: 12px; margin-bottom: 12px; line-height: 1.05;
}
@media (min-width: 768px) { .help-group h2 { font-size: 36px; } }
.help-group h2::before { content: ""; flex: none; width: 10px; height: 28px; background: var(--tsp-accent); }
.help-group + .help-group { margin-top: 56px; }

.search-box {
  display: flex; align-items: center; gap: 10px; min-height: 52px; background: var(--tsp-surface);
  border-radius: 6px; padding: 0 14px; max-width: 640px;
}
.search-box input {
  flex: 1; min-width: 0; border: 0; background: transparent; color: var(--tsp-ink);
  font: inherit; font-size: 18px; min-height: 48px;
}
.search-box:focus-within { box-shadow: 0 0 0 3px var(--tsp-accent); }
.search-box input:focus { outline: none; }
.chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border: 2px solid var(--tsp-dark-line); border-radius: 6px; color: var(--tsp-on-dark) !important;
  text-decoration: none; font-weight: 600;
}
.chip:hover { border-color: var(--tsp-accent); }
mark.hit { background: #FFD9B0; color: var(--tsp-ink); padding: 0 1px; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--tsp-surface); color: var(--tsp-ink); border-radius: 8px; padding: 24px;
}
@media (min-width: 768px) { .form-card { padding: 32px; } }
.form-card.outlined { border: 2px solid var(--tsp-ink); }
.form-card.on-ground { background: var(--tsp-ground); }
.form-card .form-title { font-family: var(--tsp-head); font-weight: 800; font-size: 34px; text-transform: uppercase; line-height: 1.05; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field + .field, .field-row + .field, .field + .field-row, .field-row + .field-row,
.field + fieldset, fieldset + .field, .form-alert + .field, .form-alert + .field-row, .form-title + .field-row,
.form-title + .field, .full-note + .field, .full-note + .field-row, .field-row + fieldset { margin-top: 18px; }
.field-row > .field { margin-top: 0; }
.form-title + .form-alert, .form-title + .full-note { margin-top: 14px; }
.field label, .field .label, fieldset legend { font-weight: 700; font-size: 16px; }
.field .opt { font-weight: 500; color: var(--tsp-muted); }
.input-tsp {
  width: 100%; min-height: 48px; border: 2px solid var(--tsp-field); border-radius: 6px;
  padding: 0 14px; font: inherit; font-size: 17px; background: var(--tsp-surface); color: var(--tsp-ink);
  -webkit-appearance: none; appearance: none;
}
textarea.input-tsp { padding: 12px 14px; resize: vertical; min-height: 120px; }
select.input-tsp {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23211C17' stroke-width='2.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.input-tsp:focus { outline: none; border-color: var(--tsp-ink); box-shadow: 0 0 0 3px var(--tsp-accent); }
.input-tsp[aria-invalid="true"] { border-color: var(--tsp-error); }
.hint { font-size: 15px; color: var(--tsp-muted); }
.err { font-size: 15px; font-weight: 600; color: var(--tsp-error); }
.field-row { display: grid; grid-template-columns: 1fr; gap: 18px 16px; }
@media (min-width: 576px) { .field-row.two { grid-template-columns: 1fr 1fr; } }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset legend { float: none; width: auto; padding: 0; margin-bottom: 8px; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border: 2px solid var(--tsp-field); border-radius: 6px; background: var(--tsp-surface); font-weight: 600; cursor: pointer;
}
.choice input { width: 18px; height: 18px; accent-color: var(--tsp-ink); margin: 0; }
.choice:has(input:checked) { border-color: var(--tsp-ink); }
.choice:has(input:focus-visible) { box-shadow: 0 0 0 3px var(--tsp-accent); }
fieldset[aria-invalid="true"] .choice { border-color: var(--tsp-error); }
.form-actions { margin-top: 22px; }
.consent { font-size: 14px; color: var(--tsp-muted); margin-top: 14px; }

/* Honeypot: off-screen for people, still in the form for bots */
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.form-alert {
  border-radius: 6px; padding: 12px 14px; font-weight: 600;
  background: #FCEDEB; border: 2px solid var(--tsp-error); color: var(--tsp-error-text);
}
.form-alert + * { margin-top: 18px; }
.form-error { margin-bottom: 14px; color: var(--tsp-error-text); font-weight: 600; font-size: 17px; }
.form-error a { color: var(--tsp-error-text); }
form.has-send-error { box-shadow: inset 0 0 0 2px var(--tsp-error); }
.full-note { background: var(--tsp-ink); color: var(--tsp-on-dark); border-radius: 6px; padding: 14px 16px; }
.full-note p:first-child { font-weight: 700; font-size: 18px; margin-bottom: 4px; }
.full-note p + p { color: var(--tsp-on-dark-soft); font-size: 16px; }

.sent { background: var(--tsp-surface); color: var(--tsp-ink); border-radius: 8px; padding: 28px; border: 1px solid var(--tsp-border); }
.sent:focus { outline: none; }
.sent .tick {
  display: inline-flex; width: 44px; height: 44px; border-radius: 50%; background: var(--tsp-accent);
  align-items: center; justify-content: center; margin-bottom: 12px;
}
.sent .sent-title { font-family: var(--tsp-head); font-weight: 800; font-size: 32px; text-transform: uppercase; line-height: 1.05; margin-bottom: 8px; }
.sent p { font-size: 18px; }

/* ---------- Contact side panel ---------- */
.side-box { background: var(--tsp-surface); border: 1px solid var(--tsp-border); border-radius: 8px; padding: 24px; }
.side-box h2 { font-family: var(--tsp-head); font-weight: 800; font-size: 26px; text-transform: uppercase; margin-bottom: 14px; }
.side-box dt { font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: 1px; color: var(--tsp-muted); }
.side-box dd { margin: 2px 0 0; }
.side-box dd + dt { margin-top: 14px; }
.side-box + .side-box { margin-top: 16px; }

/* ---------- Legal ---------- */
.draft-note {
  display: inline-block; background: #FFF4E8; border: 1px solid #F2C9A6; border-radius: 6px;
  padding: 8px 14px; font-size: 15px; color: #5A3A1E; margin-bottom: 24px;
}
.legal-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.legal-tabs a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 6px;
  border: 2px solid var(--tsp-ink); color: var(--tsp-ink); text-decoration: none; font-weight: 700;
}
.legal-tabs a[aria-current="page"] { background: var(--tsp-ink); color: var(--tsp-on-dark); }
.toc { background: var(--tsp-surface); border: 1px solid var(--tsp-border); border-radius: 8px; padding: 20px 22px; }
@media (min-width: 992px) { .toc { position: sticky; top: 104px; } }
.toc .toc-title { font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: 1px; color: var(--tsp-muted); margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 22px; font-size: 16px; }
.toc li + li { margin-top: 6px; }
.toc a { display: inline; }
.legal { max-width: 720px; }
.legal .intro { font-size: 18px; margin-bottom: 32px; }
@media (min-width: 768px) { .legal .intro { font-size: 19px; } }
.legal section { border-top: 2px solid var(--tsp-ink); padding-top: 20px; margin-bottom: 36px; scroll-margin-top: 96px; }
.legal h2 { font-size: 23px; font-weight: 700; margin-bottom: 12px; line-height: 1.3; }
.legal h2 .n { font-family: var(--tsp-head); font-weight: 800; color: var(--tsp-ink); margin-right: 8px; }
.legal h3 { font-size: 18px; font-weight: 700; margin: 18px 0 8px; }
.legal h3:first-of-type { margin-top: 0; }
.legal p + p, .legal ul + p, .legal p + ul { margin-top: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 0; }
.legal li + li { margin-top: 6px; }
.legal section.contact-box { background: var(--tsp-surface); border: 1px solid var(--tsp-border); border-radius: 8px; padding: 24px; }
/* Blanks still to be filled in. Remove the class once the lawyer's text arrives. */
.todo { background: #FFF1C2; color: #5A3A1E; padding: 0 3px; border-radius: 3px; font-size: .94em; }

/* Small simple pages (reset, delete) */
.simple-card { background: var(--tsp-surface); border: 1px solid var(--tsp-border); border-radius: 8px; padding: 28px 24px; }

/* Draft notes stay in the source for the legal pass but are hidden from visitors (Neil, 11 Nov). */
.todo, .draft-note { display: none !important; }
li:has(> .todo:only-child), p:has(> .todo:only-child) { display: none !important; }
