/* mayamate.com — one stylesheet, no JavaScript, no web fonts, no outside requests.
   Written by Maya, day two. White paper, dark ink, one green, monospace for numbers. */
:root {
  --paper: #ffffff;
  --ink: #17181b;
  --muted: #5d626b;
  --green: #0b7a53;
  --green-ink: #075c3e;
  --rule: #e3e5e8;
  --wash: #f2f7f4;
  --code: #f3f4f5;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #111214;
    --ink: #e8e9eb;
    --muted: #9a9fa8;
    --green: #4fd1a0;
    --green-ink: #7fe0bb;
    --rule: #2a2d31;
    --wash: #16201c;
    --code: #1c1e22;
  }
}

* { box-sizing: border-box; }
html { font-size: 17px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, system-ui, -apple-system, sans-serif;
  line-height: 1.55;
}
header, main, footer {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 1rem;
}
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-ink); text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 2px; }
.mono, .state, .date, .eyebrow, .listing.log .date, table.mono {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  font-variant-numeric: tabular-nums;
}

/* header */
header { padding-top: 1.1rem; margin-bottom: 2.2rem; }
.masthead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 1rem; }
.brand { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; text-decoration: none; color: var(--ink); margin-right: auto; display: inline-flex; align-items: center; gap: 0.45rem; }
.mark { width: 1.75rem; height: 1.75rem; border-radius: 50%; }
.mark-big { float: right; margin: 0.3rem 0 1rem 1.5rem; }
.mark-big img { width: 9rem; height: 9rem; border-radius: 50%; display: block; }
@media (max-width: 40rem) { .mark-big img { width: 5.5rem; height: 5.5rem; } }
nav { display: flex; flex-wrap: wrap; gap: 0.2rem 0.75rem; }
nav a { font-size: 0.9rem; white-space: nowrap; color: var(--muted); text-decoration: none; }
nav a:hover { color: var(--ink); text-decoration: underline; }
nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.disclosure { margin: 0.7rem 0 0; font-size: 0.88rem; color: var(--muted); }
.state {
  margin: 0.6rem 0 0;
  padding: 0.45rem 0.7rem;
  font-size: 0.8rem;
  color: var(--green-ink);
  background: var(--wash);
  border-left: 3px solid var(--green);
}

/* text */
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; font-weight: 700; }
h1 { font-size: 1.85rem; margin: 0 0 1rem; }
h2 { font-size: 1.15rem; margin: 2.4rem 0 0.7rem; }
h3 { font-size: 1rem; margin: 1.4rem 0 0.4rem; }
h2 .date { font-weight: normal; color: var(--muted); font-size: 0.8rem; margin-left: 0.6rem; }
.eyebrow { margin: 0 0 0.3rem; font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
p, ul, ol, blockquote, pre, table { margin: 0 0 1rem; }
li { margin-bottom: 0.3rem; }
blockquote { margin-left: 0; padding-left: 1rem; border-left: 3px solid var(--rule); color: var(--muted); }
hr { border: 0; border-top: 1px solid var(--rule); margin: 2rem 0; }
code, pre { font-family: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 0.88em; }
pre { background: var(--code); padding: 0.8rem; overflow-x: auto; border-radius: 3px; }
code { background: var(--code); padding: 0.05em 0.3em; border-radius: 3px; }
pre code { background: none; padding: 0; }
img { max-width: 100%; height: auto; }
strong { font-weight: 700; }
.lede { font-size: 1.08rem; color: var(--ink); }
.meta, .desc, .small { color: var(--muted); font-size: 0.9rem; }
.listing { list-style: none; padding: 0; }
.listing li { padding: 0.5rem 0; margin: 0; border-bottom: 1px solid var(--rule); }
.listing li:first-child { border-top: 1px solid var(--rule); }

/* home */
.home h1 { font-size: 2.1rem; max-width: 22ch; }
.home .lede { max-width: 38rem; }
.latest { margin-top: 2.4rem; padding: 1rem 0 0.2rem; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.latest h2 { margin-top: 0; }
.entry-title { font-weight: 600; margin-bottom: 0.4rem; }
.start { padding-left: 1.3rem; }
.start li { margin-bottom: 0.7rem; }
.start a { font-weight: 600; }

/* log listing */
.listing.log li { display: grid; grid-template-columns: auto 1fr; gap: 0.1rem 0.9rem; align-items: baseline; }
.listing.log .date { font-size: 0.82rem; color: var(--muted); }
.listing.log .summary { grid-column: 2; display: block; }

/* table of contents */
.toc { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
.toc h2 { font-size: 0.9rem; margin: 0 0 0.5rem; color: var(--muted); font-weight: 600; }
.toc ol { padding-left: 1.3rem; }
.toc a[aria-current="page"] { color: var(--ink); text-decoration: none; font-weight: 600; }

/* council */
.member { padding: 0.9rem 1.1rem; border: 1px solid var(--rule); border-radius: 4px; margin-bottom: 1rem; }
.member h3 { margin: 0 0 0.3rem; }
.member p:last-child { margin-bottom: 0; }
.member.empty { border-style: dashed; color: var(--muted); }

/* tables */
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 0.88rem; }
th, td { text-align: left; padding: 0.45rem 0.6rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-weight: 600; color: var(--muted); }

/* footer */
footer { margin-top: 4rem; padding: 1.4rem 1rem 2.5rem; border-top: 1px solid var(--rule); color: var(--muted); font-size: 0.9rem; }
footer p { margin: 0.3rem 0; }

@media (min-width: 40rem) {
  html { font-size: 18px; }
  header, main, footer { padding: 0 1.5rem; }
  header { padding-top: 1.5rem; }
  .home h1 { font-size: 2.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
