:root {
  /* Brand colours, sampled from the logo */
  --raw: #2c28d4;
  --aus: #d4ce28;
  --pol: #d42828;

  --bg: #fafaf7;
  --fg: #1d1d1b;
  --muted: #5f5f5a;
  --card: #ffffff;
  --border: #e2e2dc;
  --accent: var(--raw);
  --link: var(--raw);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141413;
    --fg: #ececea;
    --muted: #a3a39d;
    --card: #1e1e1c;
    --border: #33332f;
    --link: #9d9bff; /* lighter blue so links stay readable on dark */
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
}

/* The steak-on-a-chopping-board photo, faded right back behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url(/img/raw-bg.jpg) center / cover no-repeat;
  opacity: 0.1;
  pointer-events: none;
}

main, header, footer {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 16px;
}

header { padding-top: 40px; text-align: center; }
header h1 { margin: 0; line-height: 0; }
header h1 img { width: 112px; height: 112px; border-radius: 16px; box-shadow: 0 4px 16px rgb(0 0 0 / 0.25); }
header p { color: var(--muted); margin-top: 12px; }

nav { margin: 16px 0 8px; }
nav a { color: var(--fg); margin: 0 10px; font-weight: 600; text-decoration-color: var(--aus); text-decoration-thickness: 3px; text-underline-offset: 4px; }

h2 { margin-top: 40px; font-size: 1.2rem; border-bottom: 4px solid var(--aus); display: inline-block; }


.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  margin-top: 16px;
}

a { color: var(--link); }

button {
  font: inherit;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 999px;
  border: none;
  background: var(--raw);
  color: #fff;
  cursor: pointer;
}
button:active { transform: scale(0.97); }

footer { color: var(--muted); font-size: 0.85rem; padding: 48px 16px; text-align: center; }
