/*
 * The same design system as the app (D-067): Archivo, one red accent on a light
 * ground, zero corner radius, 2px rules, everything flush left.
 *
 * Deliberately one stylesheet and no build step. This site exists to host a
 * privacy policy the stores and HMRC can reach; a toolchain would be a
 * liability on a solo project.
 */

:root {
  --bg: #f3f2f2;
  --text: #201e1d;
  --muted: #605d5d;
  --accent: #ec3013;
  --on-accent: #ffffff;
  --rule: #201e1d;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Archivo, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 18px;
  line-height: 1.5;
  font-synthesis: none;
}

.wrap { max-width: 44rem; margin: 0 auto; padding: 0 1.5rem; }

/* The masthead carries the accent field, as the app's hero does. */
header.masthead { background: var(--accent); color: var(--on-accent); padding: 2.5rem 0 3rem; }
header.masthead a { color: var(--on-accent); }
.wordmark {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 2rem;
}
h1 {
  font-weight: 800;
  font-size: clamp(2.4rem, 8vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}
.standfirst { font-size: 1.15rem; margin: 0; max-width: 34rem; }

main { padding: 3rem 0 4rem; }

h2 {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  margin: 3rem 0 0.75rem;
  padding-top: 1.25rem;
  border-top: 2px solid var(--rule);
}
h2:first-of-type { margin-top: 0; }

p { margin: 0 0 1rem; }
p.lead { font-size: 1.15rem; }

ul { margin: 0 0 1rem; padding-left: 1.1rem; }
li { margin-bottom: 0.5rem; }

a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }

strong { font-weight: 600; }

.kicker {
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.5rem;
}

.updated { color: var(--muted); font-size: 0.95rem; }

/* Flush-left label, square edges — the app's button. */
.button {
  display: inline-block;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  text-decoration: none;
  padding: 1rem 1.25rem;
  margin-top: 0.5rem;
}

footer {
  border-top: 2px solid var(--rule);
  margin-top: 4rem;
  padding: 1.5rem 0 3rem;
  color: var(--muted);
  font-size: 0.9rem;
}
footer a { color: var(--muted); }
footer p { margin: 0 0 0.5rem; }

@media (prefers-color-scheme: dark) {
  :root { --bg: #201e1d; --text: #f3f2f2; --muted: #a3a0a0; --rule: #f3f2f2; }
}
