:root {
  --ink: #101b1a;
  --ink-soft: #1a2a28;
  --paper: #f7f4ec;
  --paper-soft: #eee9dc;
  --text: #24312f;
  --muted: #63706d;
  --teal: #167f76;
  --amber: #eaa629;
  --border: #d8d3c7;
  --white: #fffdf8;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--text);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.65; }
a { color: #096d66; text-underline-offset: .18em; }
a:hover { color: #064e49; }
.wrap { width: min(100% - 2rem, 70rem); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: .5rem; z-index: 10; background: var(--white); padding: .6rem 1rem; }
.skip-link:focus { left: .5rem; }

.site-header { background: var(--ink); color: var(--paper); border-bottom: 3px solid var(--amber); }
.header-inner { min-height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--paper); font-weight: 700; text-decoration: none; white-space: nowrap; }
.brand:hover { color: var(--paper); }
.brand-mark { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: .65rem; background: var(--amber); color: var(--ink); font-family: Newsreader, serif; font-size: 1.5rem; }
.brand small { display: block; color: #a9bbb7; font-size: .68rem; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; }
nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .35rem 1.15rem; }
nav a { color: #d9e2df; font-size: .92rem; text-decoration: none; }
nav a:hover { color: var(--amber); }

.content { max-width: 52rem; min-height: 65vh; padding-block: 3.5rem 5rem; }
.content-home { max-width: 70rem; }
h1, h2, h3 { font-family: Newsreader, Georgia, serif; color: var(--ink); line-height: 1.15; text-wrap: balance; }
h1 { margin: 0 0 1rem; font-size: clamp(2.35rem, 7vw, 4.5rem); letter-spacing: -.035em; }
h2 { margin: 3rem 0 .8rem; font-size: clamp(1.7rem, 4vw, 2.25rem); }
h3 { margin: 1.8rem 0 .45rem; font-size: 1.35rem; }
p, li { text-wrap: pretty; }
.lead { max-width: 46rem; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.25rem); }
.eyebrow { margin: 0 0 .65rem; color: var(--teal); font-size: .78rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.hero { padding: 1.5rem 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.7rem; }
.button { display: inline-flex; min-height: 2.8rem; align-items: center; padding: .65rem 1.05rem; border-radius: 999px; background: var(--ink); color: var(--white); font-weight: 700; text-decoration: none; }
.button:hover { background: var(--teal); color: var(--white); }
.button-secondary { background: transparent; color: var(--ink); border: 1px solid var(--border); }
.button-secondary:hover { color: var(--ink); background: var(--paper-soft); }

.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-block: 2rem; }
.card { display: block; padding: 1.25rem; border: 1px solid var(--border); border-radius: 1rem; background: var(--white); color: inherit; text-decoration: none; box-shadow: 0 .35rem 1.25rem rgb(16 27 26 / .05); }
.card:hover { color: inherit; border-color: var(--teal); }
.card h2, .card h3 { margin: 0 0 .35rem; font-size: 1.35rem; }
.card p { margin: 0; color: var(--muted); }
.callout { margin: 1.6rem 0; padding: 1rem 1.15rem; border-left: .3rem solid var(--amber); border-radius: .25rem .75rem .75rem .25rem; background: #fff7dd; }
.status { display: inline-block; margin-right: .4rem; padding: .12rem .5rem; border-radius: 999px; background: #d9eee8; color: #095b54; font-size: .75rem; font-weight: 700; text-transform: uppercase; }
.status-plan { background: #fff0c9; color: #72500d; }
.status-future { background: #e9e7e2; color: #555e5b; }
.code-file { padding: .1rem .35rem; border-radius: .25rem; background: var(--paper-soft); font-family: ui-monospace, monospace; font-size: .92em; }
pre { overflow-x: auto; padding: 1rem; border-radius: .75rem; background: var(--ink); color: #e9f1ee; font-size: .88rem; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
table { width: 100%; margin: 1.5rem 0; border-collapse: collapse; font-size: .94rem; }
th, td { padding: .7rem; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
th { color: var(--ink); }
hr { margin: 3rem 0; border: 0; border-top: 1px solid var(--border); }

footer { background: var(--ink); color: #b9c6c3; }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem 2rem; padding-block: 2rem; }
footer p { margin: 0; }
footer strong { color: var(--paper); }
footer a { color: #d9e2df; }

@media (max-width: 760px) {
  .header-inner { align-items: flex-start; flex-direction: column; padding-block: 1rem; }
  nav { justify-content: flex-start; gap: .5rem 1rem; }
  .content { padding-block: 2.5rem 4rem; }
  .card-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  table { display: block; overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
