/* Recology site styles. Generated 2026-10-20. */

:root {
  --accent: #0f7d74;
  --accent-ink: #ffffff;
  --ink: #14181c;
  --body: #3f474e;
  --muted: #6e767d;
  --rule: #e4e7e9;
  --paper: #ffffff;
  --wash: #f5f6f7;
  --code-bg: #16191d;
  --code-ink: #d7dce1;
  --radius: 5px;
  --sans: 'Source Sans 3', 'Segoe UI', Tahoma, sans-serif;
  --mono: ui-monospace, 'Cascadia Mono', 'DejaVu Sans Mono', monospace;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
}

.shell {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

.prose { max-width: 68ch; }

a { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(0,0,0,.14); }
a:hover { border-bottom-color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

h1, h2, h3, h4 { color: var(--ink); font-weight: 600; line-height: 1.22; margin: 0; }
h1 { font-size: 34px; letter-spacing: -0.02em; }
h2 { font-size: 24px; letter-spacing: -0.01em; }
h3 { font-size: 19px; }
h4 { font-size: 15px; }

p { margin: 0 0 1.05em; }
ul, ol { margin: 0 0 1.05em; padding-left: 22px; }
li { margin-bottom: .4em; }

code, pre, kbd, samp { font-family: var(--mono); }
code { font-size: .88em; background: var(--wash); padding: 1px 5px; border-radius: var(--radius); }

pre {
  margin: 0 0 1.4em;
  padding: 16px 18px;
  background: var(--code-bg);
  color: var(--code-ink);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
  overflow-x: auto;
  font-size: 13.5px;
  line-height: 1.65;
}
pre code { background: none; padding: 0; font-size: inherit; color: inherit; }
pre .cmt { color: #7d8894; }
pre .ok { color: #7fb98a; }
pre .warn { color: #d8b46a; }
pre .prompt { color: #6f7b87; }

/* Header */

.masthead { border-bottom: 1px solid var(--rule); }
.masthead .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 62px;
  flex-wrap: wrap;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-weight: 650;
  font-size: 17px;
  letter-spacing: -0.01em;
  border: 0;
}
.wordmark span.glyph {
  width: 20px; height: 20px;
  background: var(--accent);
  border-radius: var(--radius);
  display: inline-block;
  position: relative;
}
.wordmark span.glyph::after {
  content: "";
  position: absolute;
  left: 4px; right: 4px; top: 5px;
  height: 2px;
  background: var(--accent-ink);
  box-shadow: 0 5px 0 var(--accent-ink);
}

nav.top { display: flex; gap: 22px; align-items: center; font-size: 15px; }
nav.top a { color: var(--body); border: 0; }
nav.top a:hover { color: var(--ink); }
nav.top a.here { color: var(--ink); font-weight: 600; }

/* Hero */

.hero { padding: 64px 0 44px; border-bottom: 1px solid var(--rule); }
.hero h1 { max-width: 22ch; }
.hero .lede { font-size: 19px; color: var(--body); max-width: 60ch; margin: 18px 0 26px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: start; }

.btn {
  display: inline-block;
  padding: 9px 17px;
  background: var(--accent);
  color: var(--accent-ink);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 550;
}
.btn:hover { filter: brightness(.93); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* Sections */

section { padding: 46px 0; border-bottom: 1px solid var(--rule); }
section:last-of-type { border-bottom: 0; }
section > .shell > h2 { margin-bottom: 14px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.split-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; }
.split-3 h3 { margin-bottom: 8px; }
.split-3 p { font-size: 15.5px; margin-bottom: 0; }

/* Definition rows, used instead of a card grid */

dl.rows { margin: 0; border-top: 1px solid var(--rule); }
dl.rows > div {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}
dl.rows dt { color: var(--ink); font-weight: 600; font-size: 16px; }
dl.rows dd { margin: 0; font-size: 15.5px; }

/* Tables */

table { width: 100%; border-collapse: collapse; font-size: 15px; margin-bottom: 1.4em; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { color: var(--ink); font-weight: 600; background: var(--wash); }
td code { font-size: 13.5px; }

/* Changelog */

.release { padding: 26px 0; border-bottom: 1px solid var(--rule); }
.release:last-child { border-bottom: 0; }
.release header { display: flex; align-items: baseline; gap: 14px; margin-bottom: 10px; flex-wrap: wrap; }
.release h3 { font-family: var(--mono); font-size: 17px; }
.release time { color: var(--muted); font-size: 14.5px; }
.release ul { margin-bottom: 0; }

/* Docs page */

.doc-layout { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 46px; padding: 44px 0; }
.doc-nav { position: sticky; top: 24px; align-self: start; font-size: 15px; border-left: 2px solid var(--rule); padding-left: 16px; }
.doc-nav p { color: var(--ink); font-weight: 600; margin-bottom: .5em; }
.doc-nav ul { list-style: none; padding: 0; margin: 0 0 1.2em; }
.doc-nav li { margin-bottom: .45em; }
.doc-nav a { color: var(--body); border: 0; }
.doc-nav a:hover { color: var(--accent); }
.doc-body h2 { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--rule); }
.doc-body h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.doc-body h3 { margin-top: 26px; margin-bottom: 8px; }

.note {
  padding: 14px 16px;
  background: var(--wash);
  border-left: 3px solid var(--muted);
  border-radius: var(--radius);
  font-size: 15.5px;
  margin-bottom: 1.4em;
}
.note p:last-child { margin-bottom: 0; }

/* Legal pages */

.legal { padding: 48px 0 56px; }
.legal h2 { margin-top: 32px; margin-bottom: 10px; }
.legal .updated { color: var(--muted); font-size: 15px; margin-bottom: 28px; }

/* Error page */

.error-page { padding: 90px 0 110px; }
.error-page .code { font-family: var(--mono); color: var(--accent); font-size: 15px; margin-bottom: 10px; }

/* Footer */

footer.site { border-top: 1px solid var(--rule); background: var(--wash); padding: 34px 0; font-size: 15px; }
footer.site .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 34px; }
footer.site h4 { margin-bottom: 10px; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin-bottom: .45em; }
footer.site a { color: var(--body); border: 0; }
footer.site a:hover { color: var(--accent); }
footer.site .fine { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 14px; }

@media (max-width: 860px) {
  body { font-size: 16px; }
  h1 { font-size: 28px; }
  .hero-grid, .split, .split-3, .doc-layout, footer.site .cols { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .doc-nav { position: static; }
  dl.rows > div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .hero { padding: 42px 0 32px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
