/* The app's tokens, narrowed to what a text page needs. Kept by hand rather
   than generated: three colours and one radius are not worth a build step, and
   a stylesheet that drifts is easier to notice than one that regenerates. */
:root {
  --primary: #0e7a5f;
  --primary-ink: #06251d;
  --background: #f7f6f2;
  --surface: #ffffff;
  --ink: #16211e;
  --ink-muted: #6b7772;
  --line: #e6e4dd;
}

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

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

.wrap {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

/* The mark, drawn rather than fetched: one request fewer, and it cannot go
   missing the way a referenced file can. Geometry matches
   app/tool/generate_branding.dart. */
.mark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.mark svg {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

header {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

header .wrap {
  padding: 1rem 1.25rem;
}

h1 {
  font-size: 1.75rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem;
}

h2 {
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  margin: 2rem 0 0.5rem;
}

p {
  margin: 0 0 0.9rem;
}

ul {
  margin: 0 0 0.9rem;
  padding-left: 1.1rem;
}

li {
  margin-bottom: 0.4rem;
}

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

.muted {
  color: var(--ink-muted);
}

.updated {
  color: var(--ink-muted);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.cta {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.7rem 1.25rem;
  border-radius: 8px;
}

footer {
  border-top: 1px solid var(--line);
  margin-top: 3rem;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

footer .wrap {
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #111614;
    --surface: #182320;
    --ink: #eef2f0;
    --ink-muted: #9aa8a3;
    --line: #26332f;
    --primary: #4cb495;
  }
}
