/* Divide Fairly landing page. Colours are the app's tokens (DESIGN.md §2.1). No web fonts,
   no external resources: the page loads nothing from anywhere else. */
:root {
  --primary: #6d28d9;
  --on-primary: #ffffff;
  --primary-container: #ede9fe;
  --on-primary-container: #3b0a76;
  --surface: #fdfcff;
  --surface-container: #f4f1f8;
  --on-surface: #1c1b1f;
  --on-surface-variant: #49454e;
  --outline: #7a757f;
  --error: #b3261e;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --primary: #c4b5fd;
    --on-primary: #2e1065;
    --primary-container: #4c1d95;
    --on-primary-container: #ede9fe;
    --surface: #141218;
    --surface-container: #1f1b24;
    --on-surface: #e6e1e9;
    --on-surface-variant: #cac4cf;
    --outline: #948f99;
    --error: #f2b8b5;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--on-surface);
  font: 1.0625rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
main, header, footer { max-width: 42rem; margin: 0 auto; padding: 0 1rem; }
header { display: flex; align-items: center; gap: .75rem; padding-top: 2rem; }
header img { width: 3rem; height: 3rem; border-radius: .75rem; }
header a { color: inherit; text-decoration: none; font-weight: 700; font-size: 1.375rem; }
header nav { margin-left: auto; }
h1 { font-size: 2rem; line-height: 1.2; margin: 2rem 0 1rem; }
h2 { font-size: 1.375rem; margin: 2.5rem 0 .75rem; }
h3 { font-size: 1.125rem; margin: 1.75rem 0 .5rem; }
a { color: var(--primary); }
.lead { font-size: 1.25rem; color: var(--on-surface-variant); }
.card { background: var(--surface-container); border-radius: 1rem; padding: 1rem 1.25rem; }
ul.points { padding-left: 1.25rem; }
form { display: grid; gap: 1rem; }
label { display: grid; gap: .25rem; font-weight: 600; }
label small { font-weight: 400; color: var(--on-surface-variant); }
input, textarea {
  font: inherit;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: .5rem;
  padding: .625rem .75rem;
  width: 100%;
}
textarea { min-height: 10rem; resize: vertical; }
input:focus, textarea:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
button {
  justify-self: start;
  font: inherit;
  font-weight: 600;
  color: var(--on-primary);
  background: var(--primary);
  border: 0;
  border-radius: 999px;
  padding: .75rem 1.5rem;
  cursor: pointer;
}
/* A field for bots only; people never see it and screen readers skip it. */
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
footer { margin-top: 3rem; padding-bottom: 2rem; border-top: 1px solid var(--outline); color: var(--on-surface-variant); font-size: .9375rem; }
footer nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; padding-top: 1rem; }
address { font-style: normal; }
