/* Landing page for the collection. Self-contained: no imports, no web fonts, no scripts. */
:root {
  color-scheme: light;
  --surface: #f7f6f2;
  --raised: #ffffff;
  --text: #1b2430;
  --muted: #4d5967;
  --border: #d5cfc2;
  --angler: #0f3d54;
  --history: #1b2d4d;
  --garden: #2a5731;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
}

a { color: var(--angler); text-underline-offset: 0.18em; }
a:hover { color: #0a2a3a; }
:focus-visible { outline: 3px solid #0b4f6c; outline-offset: 3px; border-radius: 3px; }

code { font-family: var(--mono); font-size: 0.9375em; background: #ece7db; padding: 0.1em 0.35em; border-radius: 4px; }

.hub { max-width: 60rem; margin: 0 auto; padding: 2.5rem 1rem 4rem; }
.hub__eyebrow { text-transform: uppercase; letter-spacing: 0.09em; font-size: 0.75rem; font-weight: 700; color: var(--muted); margin: 0 0 0.5rem; }
.hub__title { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.6rem); line-height: 1.15; margin: 0 0 0.75rem; letter-spacing: -0.015em; }
.hub__lede { max-width: 60ch; color: var(--muted); font-size: 1.0625rem; margin: 0 0 2.5rem; }

.hub__list { list-style: none; margin: 0 0 2.5rem; padding: 0; display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
.guide { background: var(--raised); border: 1px solid var(--border); border-left: 6px solid var(--angler); border-radius: 12px; padding: 1.25rem; }
.guide--history { border-left-color: var(--history); }
.guide--garden { border-left-color: var(--garden); }
.guide__eyebrow { text-transform: uppercase; letter-spacing: 0.07em; font-size: 0.6875rem; font-weight: 700; color: var(--muted); margin: 0 0 0.35rem; }
.guide__title { font-size: 1.3rem; margin: 0 0 0.5rem; }
.guide--history .guide__title a { color: var(--history); }
.guide--garden .guide__title a { color: var(--garden); }
.guide__title a { display: inline-flex; align-items: center; min-height: 44px; }
.guide__text { margin: 0 0 0.5rem; color: var(--muted); max-width: 66ch; }
.guide__meta { margin: 0; font-size: 0.875rem; color: var(--muted); }

.hub__note { background: #fbf1dc; border: 1px solid #c9a253; border-radius: 12px; padding: 1.25rem; margin-bottom: 2.5rem; color: #4a3208; }
.hub__note-title { font-size: 1.125rem; margin: 0 0 0.5rem; }
.hub__note p { margin: 0 0 0.75rem; max-width: 66ch; }
.hub__commands { margin: 0 0 0.75rem; padding-left: 1.2rem; }
.hub__commands li { margin-bottom: 0.35rem; }

.hub__footer { border-top: 1px solid var(--border); padding-top: 1.25rem; color: var(--muted); }
.hub__footer p { max-width: 70ch; }
.hub__fine { font-size: 0.875rem; margin-bottom: 0; }

@media (min-width: 48rem) {
  .hub { padding-inline: 1.5rem; }
  .hub__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide:first-child { grid-column: 1 / -1; }
}
