:root {
  color-scheme: light;
  --bg: #f7f6f3;
  --text: #141414;
  --muted: #6b6b6b;
  --line: #e2e0db;
  --accent: #2f7a4f;
  --accent-soft: #dfeee4;
  --max: 1120px;
  --read: 680px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header .wrap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 28px;
  padding-bottom: 28px;
}
.wordmark { font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; text-decoration: none; }
.wordmark span { color: var(--accent); }
.nav-link { font-size: 0.95rem; color: var(--muted); text-decoration: none; }

/* Home */
.intro { padding: 14vh 0 12vh; }
.eyebrow { font-size: 0.9rem; color: var(--muted); margin-bottom: 28px; }
.intro h1 {
  font-weight: 500;
  font-size: clamp(2.6rem, 8vw, 6rem);
  line-height: 1;
  letter-spacing: -0.045em;
  max-width: 12ch;
}
.intro p.lead {
  margin-top: 36px;
  max-width: 34rem;
  font-size: 1.15rem;
  color: var(--muted);
}
.intro .action { margin-top: 36px; font-size: 1rem; }
.intro .action a { font-weight: 500; }

.intro-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: center; }
.intro-art { margin: 0; justify-self: end; width: 100%; max-width: 440px; text-align: center; }
.circle-art { width: 100%; height: auto; display: block; }
.circle-art .tick { stroke: var(--line); stroke-width: 2; stroke-linecap: round; }
.circle-art .track { fill: none; stroke: var(--line); stroke-width: 12; }
.circle-art .fast-plan { fill: none; stroke: var(--accent-soft); stroke-width: 12; stroke-linecap: round; }
.circle-art .fast-done { fill: none; stroke: var(--accent); stroke-width: 12; stroke-linecap: round; }
.circle-art .knob { fill: var(--bg); stroke: var(--accent); stroke-width: 4; }
.circle-art .hour { font-size: 11px; fill: var(--muted); text-anchor: middle; }
.circle-art .big { font-size: 46px; font-weight: 500; letter-spacing: -0.04em; fill: var(--text); text-anchor: middle; }
.circle-art .small { font-size: 13px; fill: var(--muted); text-anchor: middle; }
.circle-art .person .halo { fill: var(--bg); stroke: var(--line); stroke-width: 1.5; }
.circle-art .person circle:not(.halo) { fill: var(--muted); }
.circle-art .person path { fill: none; stroke: var(--muted); stroke-width: 2.4; stroke-linecap: round; }
.circle-art .person.on .halo { fill: var(--accent-soft); stroke: var(--accent); }
.circle-art .person.on circle:not(.halo) { fill: var(--accent); }
.circle-art .person.on path { stroke: var(--accent); }
.intro-art figcaption { margin-top: 14px; font-size: 0.88rem; color: var(--muted); }

.list { border-top: 1px solid var(--line); padding: 56px 0 96px; }
.list h2 { font-size: 0.9rem; font-weight: 500; color: var(--muted); margin-bottom: 28px; }
.list ol { list-style: none; counter-reset: item; }
.list li {
  counter-increment: item;
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.list li::before { content: "0" counter(item); color: var(--muted); font-variant-numeric: tabular-nums; }
.list li strong { font-weight: 500; display: block; }
.list li p { color: var(--muted); grid-column: 2; max-width: 36rem; }

/* Content pages */
.page { padding: 8vh 0 96px; }
.page .inner { max-width: var(--read); }
.page h1 { font-weight: 500; font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.035em; line-height: 1.1; }
.page .updated { color: var(--muted); font-size: 0.9rem; margin: 14px 0 40px; }
.page h2 { font-size: 1.05rem; font-weight: 600; margin: 36px 0 8px; }
.page p + p { margin-top: 12px; }
.page ul { padding-left: 20px; margin: 10px 0; }
.page li + li { margin-top: 6px; }
.details { margin-top: 32px; border-top: 1px solid var(--line); }
.details div { display: grid; grid-template-columns: 11rem 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.details dt { color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); font-size: 0.88rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; padding-bottom: 40px; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; }
.site-footer a { text-decoration: none; }

@media (max-width: 860px) {
  .intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .intro-art { justify-self: start; max-width: 340px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .intro { padding: 9vh 0 10vh; }
  .details div { grid-template-columns: 1fr; gap: 2px; }
  .site-footer .wrap { flex-direction: column; }
}
