:root {
  --ink: #1c1c1e;
  --muted: #6b6b70;
  --accent: #1c7a54;
  --rule: #e3e3e6;
  --bg: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f2f2f7;
    --muted: #a1a1a6;
    --accent: #4ec08c;
    --rule: #3a3a3c;
    --bg: #1c1c1e;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 2.5rem 1.25rem 4rem;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
}

main { max-width: 40rem; margin: 0 auto; }

header { border-bottom: 1px solid var(--rule); padding-bottom: 1.25rem; margin-bottom: 2rem; }

h1 { font-size: 1.9rem; line-height: 1.2; margin: 0 0 .35rem; letter-spacing: -0.02em; }
h2 { font-size: 1.2rem; margin: 2.25rem 0 .6rem; letter-spacing: -0.01em; }

.tagline { color: var(--muted); margin: 0; }

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

nav { margin-top: 1rem; font-size: .95rem; }
nav a { margin-right: 1.25rem; }

ul { padding-left: 1.15rem; }
li { margin-bottom: .4rem; }

.note {
  border-left: 3px solid var(--accent);
  padding: .1rem 0 .1rem 1rem;
  margin: 1.5rem 0;
  color: var(--muted);
}

footer {
  margin-top: 3.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: .9rem;
}

/* The team-page diagram — the same wireframe the app shows in its export
   guide. Drawn rather than screenshotted: no logo, colours or page design of
   anyone else's is reproduced, and only the two link labels are real. */
.diagram {
  display: block;
  width: 100%;
  max-width: 24rem;
  height: auto;
  margin: 1rem 0 .35rem;
}
.diagram .frame { fill: none; stroke: var(--rule); stroke-width: 1.5; }
.diagram .ph { fill: var(--rule); }
.diagram .tab { fill: none; stroke: var(--rule); }
.diagram .tab-on { fill: var(--rule); stroke: var(--rule); }
.diagram text { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.diagram .label { fill: var(--ink); font-size: 10px; font-weight: 600; }
.diagram .label-off { fill: var(--muted); font-size: 10px; }
.diagram .mark { fill: none; stroke: #d9432f; stroke-width: 2; }
.diagram .badge { fill: #d9432f; }
.diagram .badge-text { fill: #fff; font-size: 9px; font-weight: 700; }
.diagram-caption { color: var(--muted); font-size: .85rem; margin: 0 0 1.5rem; }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .9em;
  background: var(--rule);
  padding: .1em .35em;
  border-radius: 4px;
}
