/* Studio Sixteen: one small stylesheet. Large type, high contrast, no web fonts. */
:root {
  --ink: #1b1f23;
  --muted: #4a5560;
  --paper: #fbfaf7;
  --accent: #1f5f5b;
  --line: #d9d5cc;
  --panel: #f1eee7;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eceae4;
    --muted: #b9bfc4;
    --paper: #161a1d;
    --accent: #7cc4bc;
    --line: #353c42;
    --panel: #1f2428;
  }
}
* { box-sizing: border-box; }
html { font-size: 112.5%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  line-height: 1.65;
}
.wrap { max-width: 42rem; margin: 0 auto; padding: 0 1.25rem; }
header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; padding-top: 1rem; padding-bottom: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); font-weight: 700; font-size: 1.15rem; text-decoration: none; }
.brand img { width: 2rem; height: 2rem; }
nav a { margin-left: 1.25rem; }
nav a:first-child { margin-left: 0; }
main { padding: 2rem 0 3rem; }
h1 { font-size: 2.1rem; line-height: 1.2; margin: .5rem 0 1rem; letter-spacing: -0.01em; }
h2 { font-size: 1.45rem; line-height: 1.3; margin: 2.5rem 0 .75rem; }
h3 { font-size: 1.15rem; margin: 1.75rem 0 .5rem; }
p, li { max-width: 38rem; }
a { color: var(--accent); text-underline-offset: .15em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.lead { font-size: 1.25rem; color: var(--muted); }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.panel h2 { margin-top: 0; }
.meta { color: var(--muted); font-size: .95rem; }
.table-scroll { overflow-x: auto; margin: 1rem 0 1.5rem; }
table { border-collapse: collapse; width: 100%; font-size: .92rem; line-height: 1.5; }
th, td { text-align: left; vertical-align: top; padding: .55rem .6rem; border-bottom: 1px solid var(--line); }
th { background: var(--panel); }
caption { text-align: left; font-weight: 700; padding-bottom: .4rem; }
.toc { columns: 2 14rem; padding-left: 1.2rem; }
footer.site { border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
footer.site .wrap { padding-top: 1.25rem; padding-bottom: 2rem; }
.email { font-size: 1.3rem; font-weight: 700; word-break: break-all; }
