:root {
  color-scheme: light dark;
  --lime: #c9ff3d;
  --ink: #121313;
  --paper: #f6f5f0;
  --surface: #ffffff;
  --muted: #555753;
  --line: #dcdcd5;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

main {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 80px;
}

header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 32px;
  margin-bottom: 32px;
}

.mark {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 900;
  letter-spacing: -0.08em;
}

h1 { font-size: clamp(2rem, 6vw, 3rem); line-height: 1.1; margin: 20px 0 12px; }
h2 { margin-top: 34px; line-height: 1.25; }
p, li { font-size: 1.02rem; }
.lede, .meta { color: var(--muted); }
nav { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 24px; }
a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }
.button { display: inline-block; padding: 12px 18px; border-radius: 12px; background: var(--lime); text-decoration: none; }
footer { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }

@media (prefers-color-scheme: dark) {
  :root { --ink: #f4f4ed; --paper: #101110; --surface: #191a18; --muted: #b7b8b1; --line: #30312e; }
  .mark, .button { color: #121313; }
}
