:root {
  --ink: #14181d;
  --ink-soft: #4a5259;
  --line: #dfe3e8;
  --accent: #0b6b4f;
  --accent-soft: #eef6f2;
  --warn-bg: #fff6e0;
  --warn-line: #d9a300;
  --page: #ffffff;
}

* { box-sizing: border-box; }

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

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

.wrap {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 5rem;
}

header.masthead {
  border-bottom: 1px solid var(--line);
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: .5rem;
  text-decoration: none;
  color: var(--ink);
}

.brand strong { font-size: 1.35rem; letter-spacing: -.01em; }
.brand span { color: var(--ink-soft); font-size: .9rem; }

nav.crumbs { margin-top: 1rem; font-size: .95rem; }
nav.crumbs a { color: var(--accent); margin-right: 1.25rem; }

h1 { font-size: 1.9rem; line-height: 1.25; letter-spacing: -.02em; margin: 0 0 .5rem; }
h2 { font-size: 1.25rem; margin: 2.5rem 0 .75rem; letter-spacing: -.01em; }
h3 { font-size: 1.02rem; margin: 1.75rem 0 .5rem; }

.updated { color: var(--ink-soft); font-size: .92rem; margin: 0 0 2rem; }

p, li { color: var(--ink); }
ul { padding-left: 1.25rem; }
li { margin-bottom: .4rem; }

a { color: var(--accent); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: .95rem;
}
th, td {
  text-align: left;
  vertical-align: top;
  padding: .6rem .7rem;
  border-bottom: 1px solid var(--line);
}
th { background: var(--accent-soft); font-weight: 600; }

.callout {
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  padding: 1rem 1.1rem;
  margin: 1.5rem 0;
  border-radius: 0 6px 6px 0;
}
.callout p:first-child { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }

.todo {
  background: var(--warn-bg);
  border-left: 4px solid var(--warn-line);
  padding: 1rem 1.1rem;
  margin: 1.5rem 0;
  border-radius: 0 6px 6px 0;
  font-size: .95rem;
}

mark.fill {
  background: #ffe27a;
  padding: 0 .25rem;
  border-radius: 3px;
  font-weight: 600;
}

.steps { counter-reset: step; list-style: none; padding-left: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1.1rem;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: .1rem;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: .9rem;
  font-weight: 700;
}

footer.pagefoot {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: .9rem;
}

@media (max-width: 420px) {
  body { font-size: 16px; }
  h1 { font-size: 1.6rem; }
  table { font-size: .88rem; }
  th, td { padding: .5rem .45rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
