:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #1d2320;
  --muted: #58615c;
  --line: #dfe2dc;
  --accent: #1f5c4d;
  --accent-ink: #ffffff;
  --flag-bg: #fff1b8;
  --flag-ink: #5c4300;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151917;
    --surface: #1d2320;
    --ink: #eef1ed;
    --muted: #a8b1ab;
    --line: #333b37;
    --accent: #7fcdb6;
    --accent-ink: #10201b;
    --flag-bg: #4a3a05;
    --flag-ink: #ffe68a;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px; }

header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
.brand { color: var(--ink); font-weight: 700; font-size: 20px; text-decoration: none; }

a { color: var(--accent); }

h1 { font-size: clamp(30px, 7vw, 44px); line-height: 1.15; margin: 48px 0 16px; letter-spacing: -0.01em; }
h2 { font-size: 22px; line-height: 1.3; margin: 40px 0 8px; }
h3 { font-size: 18px; margin: 24px 0 4px; }
p, ul, ol { margin: 0 0 16px; }
li { margin-bottom: 8px; }

.lede { font-size: 20px; color: var(--muted); }
.updated { color: var(--muted); font-size: 15px; }

.button {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  text-decoration: none;
}

.steps { list-style: none; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-left: 44px; margin-bottom: 20px; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 30px;
  text-align: center;
}

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px 20px; margin: 24px 0; }

.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 15px; margin-bottom: 16px; }
th, td { border-bottom: 1px solid var(--line); padding: 10px 12px 10px 0; text-align: left; vertical-align: top; }

/* Details still to be supplied. None should remain when these pages are published. */
mark { background: var(--flag-bg); color: var(--flag-ink); padding: 0 4px; border-radius: 3px; }

footer.site { border-top: 1px solid var(--line); margin-top: 56px; padding: 24px 0; color: var(--muted); font-size: 15px; }
footer.site a { margin-right: 16px; }

.link-button { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; text-decoration: underline; cursor: pointer; }

#cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 688px;
  margin: 0 auto;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  font-size: 15px;
}
#cookie-banner p { margin: 0 0 12px; }
.cookie-buttons { display: flex; gap: 8px; }
.cookie-buttons button {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
