:root {
  color-scheme: light;
  --bg: #fbfaf6;
  --fg: #1b1a17;
  --muted: #6c6a61;
  --line: #e4e0d6;
  --card: #fffefb;
  --accent: #3f5d4a;
  --warm: #a8762a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0 1.25rem 5rem;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.68 -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap { max-width: 44rem; margin: 0 auto; }

header { padding: 4.5rem 0 0; }

.kicker {
  margin: 0 0 1rem;
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  margin: 0 0 .7rem;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: clamp(2.1rem, 6vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.015em;
  font-weight: 600;
}

.lead {
  margin: 0 0 2.4rem;
  font-size: 1.16rem;
  line-height: 1.6;
  color: #3b3a34;
  max-width: 34rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  padding: .9rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 2.6rem;
  font-size: .9rem;
}

nav a { color: var(--muted); text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }

section { margin: 0 0 2.9rem; }

h2 {
  margin: 0 0 .9rem;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -.005em;
}

h3 {
  margin: 1.5rem 0 .3rem;
  font-size: .95rem;
  font-weight: 650;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration-color: #bcb6a6; text-underline-offset: 2px; }
a:hover { text-decoration-color: var(--fg); }

ul.plain {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.plain li {
  padding: .6rem 0 .6rem 1.4rem;
  position: relative;
  border-bottom: 1px solid var(--line);
}
ul.plain li:last-child { border-bottom: 0; }
ul.plain li::before {
  content: "";
  position: absolute;
  left: .2rem;
  top: 1.28rem;
  width: .38rem;
  height: .38rem;
  border-radius: 999px;
  background: var(--line);
}

dl.components { margin: 0; }
dl.components dt {
  margin: 1.15rem 0 .1rem;
  font-weight: 650;
  font-size: .97rem;
}
dl.components dd {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}

.note {
  border-left: 2px solid var(--line);
  padding: .1rem 0 .1rem 1rem;
  color: var(--muted);
  font-size: .95rem;
}

.foss {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 1.6rem 1.6rem 1.2rem;
}

.foss h2 { margin-bottom: .5rem; }
.foss > p:first-of-type { margin-bottom: 1.2rem; }

.foss dl { margin: 0; }
.foss dt {
  margin: 1rem 0 .15rem;
  font-weight: 650;
  font-size: .97rem;
}
.foss dd {
  margin: 0;
  color: #44423b;
  font-size: .96rem;
}

.status {
  border: 1px solid var(--line);
  background: #f6f3ea;
  padding: 1.25rem 1.4rem;
}
.status h2 { font-size: 1.1rem; margin-bottom: .5rem; }
.status p { font-size: .96rem; color: #46443d; }

.kanban-teaser {
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
}

footer {
  margin-top: 3.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .88rem;
}
footer p { margin: 0 0 .4rem; }

/* Kanban */

.board {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  align-items: start;
  margin-top: 1.2rem;
}

.column {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 1rem 1.1rem 1.2rem;
}

.column h2 {
  font-family: inherit;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 650;
  margin: 0 0 .8rem;
  padding-bottom: .55rem;
  border-bottom: 1px solid var(--line);
}

.card {
  display: flex;
  gap: .6rem;
  padding: .7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
  line-height: 1.5;
}
.card:last-child { border-bottom: 0; }

.card .box {
  flex: 0 0 auto;
  width: .95rem;
  height: .95rem;
  margin-top: .26rem;
  border: 1px solid #c9c3b3;
  border-radius: 2px;
  background: var(--bg);
}

.card.done .box {
  background: var(--accent);
  border-color: var(--accent);
  position: relative;
}
.card.done .box::after {
  content: "";
  position: absolute;
  left: .22rem;
  top: .06rem;
  width: .3rem;
  height: .58rem;
  border: solid #fff;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(42deg);
}

.card.done .text { color: var(--muted); }

.count {
  font-size: .78rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.after-board { margin-top: 2.9rem; }

@media (max-width: 34rem) {
  header { padding-top: 3rem; }
  .foss { padding: 1.2rem 1.1rem 1rem; }
}
