/* OakWiki — shared brand styles
 * Editorial, calm, forest-green. Reading-first.
 */

@import url("https://fonts.googleapis.com/css2?family=Newsreader:opsz,wght,ital@6..72,200..800,0;6..72,200..800,1&family=Inter:wght@400;450;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap");

* , *:before, *:after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: #fbfaf4; color: #1c1917; font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Header / brand ── */
.header { padding: 18px 48px; display: flex; align-items: center; justify-content: space-between; background: rgba(251, 250, 244, 0.88); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 40; border-bottom: 1px solid rgba(21,128,61,0.08); }
.brand { display: flex; align-items: center; gap: 10px; font-family: 'Newsreader', Georgia, serif; font-size: 22px; font-weight: 600; color: #14532d; letter-spacing: -0.02em; font-variation-settings: "opsz" 24; }
.brand .mark { width: 26px; height: 26px; flex-shrink: 0; }

nav.primary { display: flex; gap: 26px; align-items: center; }
nav.primary a { font-size: 14px; color: #57534e; font-weight: 450; transition: color 0.15s; }
nav.primary a:hover, nav.primary a.curr { color: #15803d; }
nav.primary .signin { padding: 8px 16px; background: #15803d; color: #fff; border-radius: 6px; font-weight: 500; font-size: 13px; transition: background 0.15s; }
nav.primary .signin:hover { background: #14532d; color: #fff; }

/* ── Section base ── */
section { max-width: 1180px; margin: 0 auto; padding: 0 48px; }

/* ── Typography ── */
.eyebrow { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11.5px; color: #15803d; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 22px; font-weight: 500; display: inline-flex; align-items: center; gap: 9px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #15803d; }
.section-eyebrow { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11.5px; color: #15803d; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 18px; font-weight: 500; text-align: center; }
.section-title { font-family: 'Newsreader', Georgia, serif; font-size: 44px; font-weight: 500; line-height: 1.1; letter-spacing: -0.015em; color: #14532d; text-align: center; margin-bottom: 14px; max-width: 760px; margin-left: auto; margin-right: auto; font-variation-settings: "opsz" 72; }
.section-title em { font-style: italic; color: #15803d; font-variation-settings: "opsz" 72; }
.section-lead { font-size: 17px; color: #57534e; text-align: center; max-width: 620px; margin: 0 auto 56px; line-height: 1.65; font-family: 'Newsreader', Georgia, serif; font-variation-settings: "opsz" 18; }

/* ── Buttons ── */
.btn-fill { display: inline-block; padding: 11px 22px; background: #15803d; color: #fff; border-radius: 6px; font-weight: 500; font-size: 14px; transition: background 0.15s; border: none; cursor: pointer; font-family: 'Inter', sans-serif; text-decoration: none; }
.btn-fill:hover { background: #14532d; color: #fff; }
.btn-outline { display: inline-block; padding: 10px 22px; background: #fbfaf4; color: #1c1917; border: 1px solid #d6d3d1; border-radius: 6px; font-weight: 500; font-size: 14px; transition: all 0.15s; cursor: pointer; font-family: 'Inter', sans-serif; text-decoration: none; }
.btn-outline:hover { border-color: #15803d; color: #15803d; }

/* ── Footer (site-wide) ── */
footer.site { padding: 60px 48px 32px; border-top: 1px solid rgba(21,128,61,0.1); max-width: 1180px; margin: 0 auto; }
footer.site .foot-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
footer.site .foot-brand { max-width: 320px; }
footer.site .foot-brand .nm { display: flex; align-items: center; gap: 10px; font-family: 'Newsreader', Georgia, serif; font-size: 20px; color: #14532d; font-weight: 600; margin-bottom: 14px; letter-spacing: -0.015em; font-variation-settings: "opsz" 24; }
footer.site .foot-brand .nm .mark { width: 22px; height: 22px; flex-shrink: 0; }
footer.site .foot-brand p { font-size: 13.5px; color: #57534e; line-height: 1.65; margin-bottom: 16px; font-family: 'Newsreader', Georgia, serif; font-variation-settings: "opsz" 14; }
footer.site .foot-brand .addr { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11.5px; color: #78716c; line-height: 1.55; }
footer.site .foot-col .h { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11px; color: #15803d; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; font-weight: 500; }
footer.site .foot-col a { display: block; font-size: 13.5px; color: #57534e; margin-bottom: 9px; }
footer.site .foot-col a:hover { color: #15803d; }
footer.site .foot-bottom { padding-top: 24px; border-top: 1px solid rgba(21,128,61,0.1); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
footer.site .foot-bottom .copy { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11.5px; color: #78716c; }
footer.site .foot-bottom .legal { display: flex; gap: 18px; font-size: 12.5px; }
footer.site .foot-bottom .legal a { color: #57534e; }

/* ── Mobile ── */
@media (max-width: 880px) {
  .header { padding: 14px 20px; }
  nav.primary { gap: 16px; }
  nav.primary a:not(.signin) { display: none; }
  section { padding: 0 20px; }
  .section-title { font-size: 30px; }
  footer.site { padding: 40px 20px 24px; }
  footer.site .foot-row { grid-template-columns: 1fr 1fr; gap: 24px; }
  footer.site .foot-brand { grid-column: 1 / -1; }
}
