/* BuiltByK brand tokens — shared by every page on builtbyk.com.
   Warm paper/ink, single red accent. Light and dark are both honest:
   no pure #000 or #fff in either mode. Zero JS, zero external assets. */

:root {
  --paper: #faf8f5;
  --ink: #1b1917;
  --muted: #6b6560;
  --accent: #f01b30;
  --rule: #e6e1da;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #171412;
    --ink: #f2ede7;
    --muted: #a39c94;
    --accent: #f01b30;
    --rule: #322d29;
  }
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  font-size: 1.0625rem;
}

main {
  max-width: 42rem;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 2rem);
}

h1 {
  font-size: clamp(1.9rem, 5vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 0.5rem;
}

h2 {
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 2.25rem 0 0.5rem;
}

p {
  margin: 0.75rem 0;
}

ul {
  margin: 0.75rem 0;
  padding-left: 1.4rem;
}

li {
  margin: 0.35rem 0;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

a:hover {
  text-decoration-thickness: 2px;
}

.tagline {
  color: var(--muted);
  font-size: 1.125rem;
  margin: 0 0 2rem;
}

.meta {
  color: var(--muted);
  font-size: 0.9375rem;
  margin: 0 0 2.5rem;
}

footer {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.5rem clamp(1.25rem, 5vw, 2rem) 3rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.9375rem;
}
