/* TJ Distribution: one small stylesheet, no external fonts or scripts. */
:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #1b1f24;
  --muted: #59626d;
  --rule: #e4e0d6;
  --accent: #1f5c4a;
  --accent-ink: #ffffff;
  --accent-soft: #e7f0ec;
  --radius: 10px;
  --measure: 44rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14171b;
    --surface: #1b1f24;
    --ink: #eceae4;
    --muted: #a3abb4;
    --rule: #2c3238;
    --accent: #7cc4a8;
    --accent-ink: #0f1a16;
    --accent-soft: #1f2d28;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 1.25rem; }

header.site { border-bottom: 1px solid var(--rule); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 4.25rem; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: 0.65rem; color: var(--ink); text-decoration: none; font-weight: 650; letter-spacing: -0.01em; font-size: 1.125rem; }
.brand .mark { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 7px; background: var(--accent); color: var(--accent-ink); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.02em; }

header.site nav a { color: var(--muted); text-decoration: none; font-size: 0.9375rem; }
header.site nav a:hover { color: var(--ink); }

main.wrap { padding-top: 3.5rem; padding-bottom: 3rem; }

.eyebrow { color: var(--accent); font-weight: 600; font-size: 0.875rem; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 0.75rem; }

h1 { font-size: clamp(1.9rem, 4.6vw, 2.6rem); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 1rem; font-weight: 700; }
h2 { font-size: 1.3rem; line-height: 1.3; letter-spacing: -0.01em; margin: 0 0 0.6rem; font-weight: 650; }
h3 { font-size: 1.05rem; margin: 1.6rem 0 0.4rem; font-weight: 650; }

.lead { font-size: 1.2rem; color: var(--muted); margin: 0 0 1.75rem; max-width: 38rem; }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1rem; }
.button { display: inline-block; padding: 0.7rem 1.15rem; border-radius: 8px; font-weight: 600; font-size: 0.975rem; text-decoration: none; border: 1px solid var(--accent); }
.button.primary { background: var(--accent); color: var(--accent-ink); }
.button.secondary { color: var(--accent); background: transparent; }
.button:hover { filter: brightness(1.06); }

section { padding: 2.25rem 0; border-top: 1px solid var(--rule); }
section:first-of-type { border-top: 0; padding-top: 0; }
section p { margin: 0 0 0.9rem; }
section p:last-child { margin-bottom: 0; }

.card { background: var(--accent-soft); border-radius: var(--radius); padding: 1.35rem 1.5rem; }

ul.plain { list-style: none; padding: 0; margin: 0.5rem 0 0; }
ul.plain li { padding-left: 1.4rem; position: relative; margin: 0.35rem 0; }
ul.plain li::before { content: ""; position: absolute; left: 0.2rem; top: 0.72em; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--accent); }

.prose h2 { margin-top: 2.25rem; }
.prose p { margin: 0 0 0.9rem; }
.prose code { font-size: 0.9em; background: var(--accent-soft); padding: 0.05em 0.35em; border-radius: 4px; }
.prose ul { padding-left: 1.3rem; margin: 0.3rem 0 0.9rem; }
.prose li { margin: 0.25rem 0; }
.muted { color: var(--muted); }

footer.site { border-top: 1px solid var(--rule); padding: 2rem 0 2.5rem; color: var(--muted); font-size: 0.875rem; }
footer.site p { margin: 0 0 0.6rem; }
footer.site a { color: var(--muted); }
footer.site a:hover { color: var(--ink); }

@media (max-width: 30rem) {
  main.wrap { padding-top: 2.5rem; }
  .button { width: 100%; text-align: center; }
}
