:root {
  --cream: #fbf5ec;
  --paper: #f3e7d6;
  --ink: #2b1d14;
  --muted: #6e5646;
  --maple: #b4462a;
  --maple-dark: #8a3119;
  --amber: #d9902f;
  --bean: #4a2c1d;
  --line: #e4d3bd;
  --card: #fffaf3;
  --ok: #4f7a3a;
  --accent: #d9902f;
  --radius: 14px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: 1rem; line-height: 1.65;
  color: var(--ink); background: var(--cream);
  background-image: radial-gradient(circle at 100% 0, rgba(217, 144, 47, .12), transparent 40%);
}
svg { display: block; max-width: 100%; }
a { color: var(--maple-dark); text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; color: var(--bean); margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 6.5vw, 3rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.4rem, 4.2vw, 1.9rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--cream); padding: 8px 12px; }
.skip:focus { left: 8px; top: 8px; }
.site-header { border-bottom: 1px solid var(--line); background: rgba(251, 245, 236, .92); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 16px; padding-top: 14px; padding-bottom: 14px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-size: 1.3rem; font-weight: 700; color: var(--bean); text-decoration: none;
}
.brand svg { width: 34px; height: 34px; flex: none; }
.brand .tag {
  font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 2px 9px; border-radius: 999px; color: var(--cream); background: var(--accent);
}
.nav { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav a { display: block; padding: 6px 12px; border-radius: 999px; color: var(--muted); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--maple-dark); background: var(--paper); }
.hero { padding: 44px 0 32px; }
.eyebrow {
  display: inline-block; margin-bottom: 12px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--maple);
}
.lead { font-size: 1.12rem; color: var(--muted); max-width: 36em; }
.btn {
  display: inline-block; padding: 11px 20px; border-radius: 999px;
  background: var(--maple); color: var(--cream); font-weight: 600; text-decoration: none;
}
.btn:hover { background: var(--maple-dark); }
.btn-ghost { background: transparent; color: var(--maple-dark); box-shadow: inset 0 0 0 2px var(--maple); }
.btn-ghost:hover { background: var(--paper); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.section { padding: 40px 0; }
.section-alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 38em; margin-bottom: 24px; }
.section-head p { color: var(--muted); }
.grid { display: grid; gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; overflow: hidden; }
.card p:last-child { margin-bottom: 0; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.panel { border-radius: var(--radius); padding: 24px; background: linear-gradient(160deg, var(--bean), #2b1a10); color: var(--paper); }
.panel h2, .panel h3 { color: #fbe3c2; }
.panel p { color: #e8d4bd; }
.panel a { color: #f2c27a; }
.lost { padding: 64px 0; text-align: center; }
.lost svg { width: 160px; height: auto; margin: 0 auto 20px; }
.lost .lead { margin: 0 auto 1.2em; }
.lost .actions { justify-content: center; }
.big-code { font-family: var(--serif); font-size: clamp(4rem, 20vw, 7rem); line-height: 1; color: var(--maple); margin: 0 0 8px; }
.site-footer { padding: 28px 0; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.site-footer p { margin: 0; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 880px) {
  .hero { padding: 64px 0 44px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 60px 0; }
}
@media (prefers-reduced-motion: no-preference) { .btn, .nav a { transition: background-color .2s, color .2s; } }

.listing-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.listing { width: 100%; border-collapse: collapse; font-size: .92rem; }
.listing th, .listing td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.listing th { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--paper); }
.listing tr:last-child td { border-bottom: 0; }
.listing td:first-child { font-family: var(--mono); color: var(--bean); white-space: normal; word-break: break-all; }
.listing td:nth-child(n+2) { color: var(--muted); }
.ico { display: inline-block; width: 14px; height: 11px; margin-right: 8px; border-radius: 2px; vertical-align: -1px; }
.ico.dir { background: var(--amber); box-shadow: 3px -3px 0 -1px #f2c27a; }
.ico.file { width: 11px; height: 14px; background: var(--line); border: 1px solid #cdb698; vertical-align: -2px; }
.path { font-family: var(--mono); font-size: .95rem; color: var(--muted); margin-bottom: 12px; word-break: break-all; }
@media (max-width: 560px) { .listing .d { display: none; } }
