:root {
  color-scheme: light;
  --paper: #fbf8f3;
  --surface: #ffffff;
  --ink: #27332f;
  --muted: #5e6b65;
  --line: #e5e6df;
  --accent: #bf5b40;
  --accent-soft: #f7e9e2;
}

* { box-sizing: border-box; }
html { font-size: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1.0625rem/1.62 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: #8b3e2a; text-underline-offset: 3px; }
a:hover { color: #5e291d; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 3px; }
.wrap { width: min(100% - 2.5rem, 760px); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); background: var(--surface); }
.site-header .wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: .65rem; font-weight: 750; font-size: 1.2rem; letter-spacing: -.02em; }
.brand-mark { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; overflow: hidden; }
.brand-mark img { width: 100%; height: 100%; display: block; }
.site-nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.site-nav a { font-size: .94rem; font-weight: 650; text-decoration: none; color: var(--muted); }
.site-nav a[aria-current="page"] { color: var(--ink); border-bottom: 2px solid var(--accent); }
main { padding: 58px 0 82px; }
.eyebrow { color: var(--accent); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 .65rem; }
h1, h2 { line-height: 1.16; letter-spacing: -.025em; }
h1 { font: 600 clamp(2.6rem, 7vw, 4rem)/1.08 Georgia, "Times New Roman", serif; margin: 0 0 1rem; }
h2 { font-size: 1.25rem; margin: 0 0 .55rem; }
p { margin: .4rem 0 0; }
.intro { color: var(--muted); font-size: 1.15rem; max-width: 640px; margin-bottom: 2.1rem; }
.stack { display: grid; gap: 13px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 23px 25px; }
.card p, .card li { color: var(--muted); }
.card ol, .card ul { margin: .6rem 0 0; padding-left: 1.35rem; }
.card li + li { margin-top: .3rem; }
.contact { background: var(--ink); color: #fff; border-color: var(--ink); margin-top: 26px; }
.contact p { color: #e5ebe6; }
.contact a { color: #fff; font-weight: 700; overflow-wrap: anywhere; }
.meta { color: var(--muted); font-size: .9rem; margin: -.35rem 0 2rem; }
.site-footer { border-top: 1px solid var(--line); padding: 24px 0 38px; color: var(--muted); font-size: .9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.5rem; }
@media (max-width: 540px) {
  .site-header .wrap { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 15px; }
  .site-nav { gap: 1rem; }
  main { padding-top: 42px; }
  .card { padding: 20px; }
}
