:root {
  /* Same fixed light tokens as the approver screen. Brand colours are for
     recognition only; the dot grid is the brand canvas and stays behind cards. */
  color-scheme: only light;
  --paper: #f4f1ea;
  --surface: #fdfcf9;
  --ink: #1f2a24;
  --ink-muted: #4b5563;
  --rule: #e3ded3;
  --dot: #ddd6c8;
  --accent: #c2410c;
  --accent-tint: #f6e3d8;
  --accent-deep: #9a3412;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "Roboto Mono", "SF Mono", monospace;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(var(--dot) 1px, transparent 1px);
  background-size: 16px 16px;
  font: 16px/1.55 var(--sans);
}

main {
  max-width: 40rem;
  margin: 24px auto;
  padding: 24px 20px 32px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 20px;
}

@media (max-width: 42rem) {
  main {
    margin: 12px 16px;
  }
}

h1 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 4px 0 12px;
}

h2 {
  font: 700 14px/1.4 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 28px 0 8px;
}

.lead {
  font-size: 1.1rem;
  color: var(--ink-muted);
}

.card {
  background: var(--paper);
  border: 1px dashed var(--rule);
  border-radius: 12px;
  padding: 4px 16px 12px;
  margin-top: 24px;
}

.card h2 {
  margin-top: 12px;
}

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

a {
  color: var(--ink);
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

ul {
  padding-left: 1.2rem;
}

li {
  margin-bottom: 10px;
}

li::marker {
  color: var(--accent);
}

footer {
  margin-top: 36px;
  padding-top: 8px;
  color: var(--ink-muted);
  font-size: 0.9rem;
  border-top: 1px dashed var(--rule);
}

/* the one thing to do on this page: open the app */
.start {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--surface);
  font-weight: 700;
  text-decoration: none;
}

.start:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

ol li {
  margin-bottom: 8px;
}
