:root {
  --bg: #0b0b0d;
  --text: #e8e8ea;
  --muted: #9a9aa2;
  --line: #24242a;
  --accent: #f97316;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root { --bg: #fafafa; --text: #18181b; --muted: #5b5b66; --line: #e4e4e7; color-scheme: light; }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.65 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
main { max-width: 760px; margin: 0 auto; padding: 48px 20px 96px; }
header { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; }
/* The lockup draws in currentColor, which an <img> cannot pass in, so it
   is used as a mask and painted with the text colour of the theme. */
.logo {
  display: block; width: 132px; height: 28px; background: var(--text);
  -webkit-mask: url(/goatedit-lockup.svg) left center / contain no-repeat;
  mask: url(/goatedit-lockup.svg) left center / contain no-repeat;
}
header nav { margin-left: auto; display: flex; gap: 16px; font-size: 13px; }
a { color: var(--accent); }
h1 { font-size: 30px; letter-spacing: -0.02em; margin: 0 0 4px; }
.updated { color: var(--muted); font-size: 13px; margin: 0 0 32px; }
h2 { font-size: 18px; margin: 36px 0 8px; padding-top: 20px; border-top: 1px solid var(--line); }
h3 { font-size: 15px; margin: 20px 0 6px; }
ul { padding-left: 20px; }
li { margin: 4px 0; }
table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 8px 0 16px; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
.summary { border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; }
.summary ul { margin: 6px 0 0; }
@media (max-width: 560px) {
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  td { border: 0; padding: 2px 0; }
  tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
}
