/* Long-form pages (guides, tutorials) in the ink style: code blocks, notes, tables, lists.
   Loaded after p11c.css and pro.css. */
main { max-width: 760px; }
header .name { font-size: clamp(2rem, 6.5vw, 3.3rem); line-height: 1.15; }
h1.name { margin: 0; }
h2 { margin-top: 2.4rem; }
h3 { font-family: var(--brush-font); font-weight: 400; font-size: 1.35rem; color: var(--seal); margin: 1.6rem 0 0.4rem; transform: rotate(-0.8deg); transform-origin: left; }
ul, ol { margin: 0 0 1rem 1.5rem; }
li > ul, li > ol { margin-top: 0.4rem; margin-bottom: 0.4rem; }
code { font-family: ui-monospace, "DejaVu Sans Mono", monospace; }
pre {
  background: rgba(60, 40, 15, 0.09);
  border: 2px solid var(--ink);
  border-radius: 6px 14px 7px 12px / 12px 7px 14px 6px;
  padding: 0.9rem 1rem;
  overflow-x: auto;
  margin-bottom: 1rem;
  font-size: 0.85em;
  line-height: 1.5;
}
pre code { background: none; padding: 0; word-break: normal; }
.note {
  background: rgba(255, 250, 233, 0.6);
  border: 2px solid var(--ink);
  border-left: 6px solid var(--seal);
  border-radius: 6px 14px 7px 12px / 12px 7px 14px 6px;
  padding: 0.8rem 1.1rem;
  margin-bottom: 1.2rem;
}
.note p:last-child { margin-bottom: 0; }
table { border-collapse: collapse; width: 100%; margin-bottom: 1.2rem; font-size: 0.9em; }
th, td { text-align: left; padding: 0.5rem 0.7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--seal); font-size: 0.8em; text-transform: uppercase; letter-spacing: 0.1em; }
footer { margin-top: 3rem; padding-top: 1.2rem; border-top: 2px solid var(--line); color: var(--ink-dim); font-size: 0.85rem; }

