/* FightBackStrong.
   Light dominant, per the house rule: white page, dark used as accent only.
   System fonts, no webfont request: the reader is often on a phone, often in
   a hurry, and a font that arrives late is a page that arrives late. */

:root {
  --ink: #16202b;
  --ink-soft: #46586b;
  --line: #dde4ec;
  --paper: #ffffff;
  --tint: #f4f7fa;
  --navy: #13304f;      /* the brand dark, used as accent */
  --flag: #c2410c;      /* the deadline colour, used sparingly */
  --flag-tint: #fff5ef;
  --measure: 38rem;
  color-scheme: light;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

/* ---------- chrome ---------- */
.masthead {
  border-bottom: 1px solid var(--line);
  padding: 1rem clamp(1rem, 4vw, 2rem);
  padding-top: calc(1rem + env(safe-area-inset-top, 0px));
}
.wordmark {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--navy);
}
.wordmark span { color: var(--flag); }

main {
  max-width: var(--measure);
  margin: 0 auto;
  padding: clamp(1.75rem, 5vw, 3rem) clamp(1rem, 4vw, 2rem);
}

footer {
  border-top: 1px solid var(--line);
  background: var(--tint);
  padding: 2rem clamp(1rem, 4vw, 2rem);
  padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
}
footer p { max-width: var(--measure); margin: 0 auto 0.75rem; }

/* ---------- type ---------- */
h1 {
  font-size: clamp(1.7rem, 5.2vw, 2.3rem);
  line-height: 1.18;
  letter-spacing: -0.021em;
  margin: 0 0 1rem;
}
h2 {
  font-size: clamp(1.2rem, 3.4vw, 1.4rem);
  line-height: 1.3;
  letter-spacing: -0.012em;
  margin: 2.4rem 0 0.7rem;
}
h3 { font-size: 1.07rem; margin: 1.8rem 0 0.5rem; }
p, li { max-width: var(--measure); }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 2px; }
strong { font-weight: 650; }

.lede { font-size: 1.1rem; color: var(--ink-soft); }
.crumb { font-size: 0.9rem; margin: 0 0 0.6rem; }
.also { color: var(--ink-soft); font-size: 0.95rem; }
.fine { color: var(--ink-soft); font-size: 0.88rem; line-height: 1.55; }
.soon { color: var(--flag); font-size: 0.9rem; font-weight: 600; margin: 0.4rem 0 0; }

/* ---------- tables, the answer boxes ---------- */
table {
  border-collapse: collapse;
  width: 100%;
  margin: 1.2rem 0;
  font-size: 0.97rem;
}
th, td { text-align: left; padding: 0.6rem 0.7rem; border-bottom: 1px solid var(--line); }
th { background: var(--tint); font-weight: 650; }

/* A table can be the one thing wider than the page. Give it its own
   scroller rather than letting the body scroll sideways. */
.scroller { overflow-x: auto; }

blockquote {
  margin: 1.4rem 0;
  padding: 0.2rem 0 0.2rem 1.1rem;
  border-left: 3px solid var(--line);
  color: var(--ink-soft);
}

/* ---------- the offer ---------- */
.cta {
  margin: 2.2rem 0;
  padding: 1.3rem 1.4rem;
  background: var(--flag-tint);
  border: 1px solid #f3d6c4;
  border-radius: 10px;
}
.cta h2 { margin: 0 0 0.5rem; font-size: 1.15rem; }
.cta p, .cta li { max-width: none; }
.cta .price { font-weight: 700; margin: 0.6rem 0 0; }

/* ---------- lists ---------- */
.qlist { padding-left: 1.3rem; }
.qlist li { margin: 0.4rem 0; }
.qlist .pending { color: #8b9aab; list-style-type: disc; }

.cards { list-style: none; padding: 0; }
.cards li { margin: 0.6rem 0; max-width: none; }
.cards a {
  display: block;
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
}
.cards a:hover { border-color: var(--navy); background: var(--tint); }
.cards strong { display: block; color: var(--navy); }
.cards span { display: block; color: var(--ink-soft); font-size: 0.93rem; margin-top: 0.15rem; }

img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
