/* Devlog — shared article styling.
   Kept in one file rather than inlined per post (the way /guides/ does it), so
   twenty posts from now a typography change is one edit instead of twenty. */

.doc { max-width: 760px; margin: 0 auto; padding: 20px 24px 70px; }
.doc h1 { font-size: clamp(27px, 5vw, 38px); line-height: 1.16; margin: 0 0 10px; }
.doc .lede { color: var(--muted); font-size: 18px; line-height: 1.7; margin: 0 0 26px; }
.doc h2 { margin-top: 34px; font-size: 21px; }
.doc h3 { margin-top: 24px; font-size: 17px; }
.doc p { color: var(--muted); line-height: 1.8; font-size: 16px; }
.doc li { color: var(--muted); line-height: 1.8; font-size: 16px; margin-bottom: 8px; }
.doc ul, .doc ol { padding-left: 22px; margin: 12px 0; }
.doc a { color: var(--accent); }
.doc strong { color: var(--text, #eaf0ff); }

.post-date {
  color: var(--muted); font-size: 13px; letter-spacing: .12em;
  text-transform: uppercase; margin: 0 0 6px; opacity: .9;
}

.back { display: inline-block; margin-bottom: 18px; color: var(--muted); text-decoration: none; }

/* A pulled-out line of evidence — a log line, a served page, a value. */
.quote {
  margin: 18px 0; padding: 14px 18px;
  border-left: 3px solid var(--accent);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0 10px 10px 0;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 14.5px; line-height: 1.7; color: var(--muted);
  overflow-x: auto;
}

.doc code {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: .88em; padding: 1px 5px; border-radius: 4px;
  background: rgba(255, 255, 255, 0.06); color: var(--text, #eaf0ff);
}

.tablewrap { overflow-x: auto; margin: 16px 0; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; }
.doc th, .doc td {
  text-align: left; padding: 8px 16px 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08); color: var(--muted);
  vertical-align: top;
}
.doc th {
  color: var(--accent); font-size: 12px; letter-spacing: .1em;
  text-transform: uppercase; white-space: nowrap;
}
.doc td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }

.endlink {
  margin-top: 40px; padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* --- Index listing -------------------------------------------------------- */
.post-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.post-list a {
  display: block; padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 14px;
  background: rgba(255, 255, 255, 0.02); text-decoration: none;
  transition: border-color .15s, background .15s;
}
.post-list a:hover, .post-list a:focus-visible {
  border-color: rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.04);
}
.post-list .d {
  display: block; color: var(--muted); font-size: 12px;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 5px; opacity: .85;
}
.post-list h2 { font-size: 19px; margin: 0 0 6px; color: var(--text, #eaf0ff); }
.post-list p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 15px; }
