/* Guide pages: the same green night as the bio page, set for reading. */
:root {
  --ground: #0B1F12;
  --ground-raised: #12301F;
  --ink: #ECF3EC;
  --muted: #8FA894;
  --accent: #6DAE81;
  --accent-deep: #08150C;
  --brass: #C2A15B;
  --hairline: rgba(194, 161, 91, 0.28);
  --display: Georgia, "PT Serif", "Palatino Linotype", serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: clamp(1.5rem, 5vw, 3rem) 1rem 3rem;
  background:
    radial-gradient(120% 40rem at 50% -10rem, #1A4429 0%, rgba(26, 68, 41, 0) 62%),
    var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

article { max-width: 40rem; margin: 0 auto; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}
.brand img { border-radius: 24%; }

h1 {
  margin: 1.5rem 0 0.75rem;
  font-family: var(--display);
  font-size: clamp(1.9rem, 7vw, 2.5rem);
  line-height: 1.15;
  font-weight: 600;
  text-wrap: balance;
}

h2 {
  margin: 2.5rem 0 0.75rem;
  font-family: var(--display);
  font-size: 1.45rem;
  line-height: 1.25;
  font-weight: 600;
  color: var(--ink);
}

.lede { color: var(--muted); font-size: 1.125rem; margin: 0; text-wrap: pretty; }

ul, ol { padding-left: 1.3rem; }
li { margin: 0.45rem 0; }
li::marker { color: var(--brass); }
b { color: var(--ink); }
p { margin: 0.75rem 0; }

.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin: 1.75rem 0; }
.btn {
  display: inline-block;
  padding: 0.9rem 1.4rem;
  border-radius: 0.875rem;
  background: var(--accent);
  color: var(--accent-deep);
  font-weight: 700;
  text-decoration: none;
}
.alt, nav a { color: var(--accent); }

details {
  border-top: 1px solid var(--hairline);
  padding: 0.8rem 0;
}
details:last-child { border-bottom: 1px solid var(--hairline); }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: 0.5rem 0 0; }

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hairline);
  font-size: 0.95rem;
}

a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.updated { margin-top: 2rem; color: var(--muted); font-size: 0.85rem; }
section a { color: var(--accent); }
