:root {
  color-scheme: light;
  --paper: #f7f7ef;
  --ink: #22281b;
  --subtle: #4c5542;
  --line: #cbd1bf;
  --accent: #405623;
  --wash: #e7edda;
  --display: ui-serif, Georgia, serif;
  --body: system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--body); }
a { color: var(--accent); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #527024; outline-offset: 4px; }
::selection { background: #d9e7bb; color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(100% - 3rem, 74rem); margin-inline: auto; }
.skip { position: absolute; z-index: 2; inset: .75rem auto auto 1rem; padding: .5rem 1rem; background: var(--paper); transform: translateY(-170%); }
.skip:focus { transform: none; }
.site-header, .site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 1.8rem;
  row-gap: .5rem;
  padding-block: 1rem;
}
.site-header { border-bottom: 1px solid var(--line); }
.site-footer { border-top: 1px solid var(--line); }
.brand { display: inline-flex; gap: .65rem; align-items: center; font-weight: 700; color: var(--ink); text-decoration: none; min-height: 44px; }
nav { display: flex; flex-wrap: wrap; gap: 0 clamp(.75rem, 2.2vw, 1.6rem); }
nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--subtle); font-size: .875rem; text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.035em; margin: 0; }
h1 { font-size: clamp(3.2rem, 6.6vw, 6rem); line-height: 1.02; }
h1 em { color: var(--accent); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.1; }
p { margin: .8rem 0 0; max-width: 67ch; color: var(--subtle); }
.site-header:has(+ .home) .brand img {
  border-radius: .5rem;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(2rem, 4.5vw, 4rem);
  padding-block: clamp(2.5rem, 5.7vw, 5rem);
}
.hero h1 {
  font-size: clamp(2.35rem, 5vw, 4.4rem);
  line-height: .99;
  text-wrap: wrap;
}
.hero h1 span { display: block; }
.hero-copy p {
  max-width: 38ch;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  margin-top: 1.2rem;
}
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: .75rem;
  margin-top: 1.45rem;
  padding: .6rem 1.1rem;
  border-radius: .5rem;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-weight: 650;
}
.button::after {
  content: "";
  width: .47em;
  height: .47em;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-.12em) rotate(45deg);
}
.button:hover { background: #31451a; }
.button:active { background: #263716; }
.preview {
  margin: 0;
  border-radius: 1rem;
  background: var(--wash);
  padding: clamp(.75rem, 2.15vw, 1.75rem);
  padding-bottom: .6rem;
}
.preview img {
  border-radius: .625rem;
  box-shadow: 0 12px 22px #29381917;
}
.preview figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0 1rem;
  padding: .4rem 0 0;
  color: var(--subtle);
  font-size: .8125rem;
}
.preview figcaption a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
}
.workflow {
  border-top: 1px solid var(--line);
  padding-block: clamp(2rem, 4.7vw, 4rem);
  scroll-margin-block-start: 1rem;
}
.workflow-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: .65rem 2rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.workflow-intro h2 { font-size: clamp(2.1rem, 3.8vw, 3.25rem); }
.workflow-intro p { max-width: 42ch; margin: 0; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(1.5rem, 3.8vw, 3.5rem);
  margin: 0;
  padding: 0;
  list-style-position: inside;
}
.steps li {
  border-top: 1px solid var(--line);
  padding-block: 1rem;
}
.steps li::marker {
  color: var(--accent);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.steps h3 { display: inline; font-size: 1.08rem; margin-inline-start: .3rem; }
.steps p { margin-top: .4rem; margin-inline-start: 1.35rem; }
.reading { padding-block: clamp(3.25rem, 7vw, 6.75rem); }
.reading article { max-width: 45rem; margin-inline: auto; overflow-wrap: anywhere; }
.reading h1 { font-size: clamp(3.2rem, 6vw, 5.4rem); }
.reading .intro { font-size: 1.18rem; margin-top: 1.1rem; }
.reading section { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.reading h2 { font-size: 1.8rem; }
@media (max-width: 52rem) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
  }
  .hero h1 {
    font-size: clamp(2.35rem, 10.5vw, 4.25rem);
  }
  .hero-copy { max-width: 38rem; }
  .preview { width: min(100%, 40rem); }
}
@media (max-width: 41rem) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li { padding-block: .9rem; }
}
@media (max-width: 30rem) {
  .wrap { width: calc(100% - 2rem); }
  .site-header, .site-footer { display: block; }
  .site-header nav, .site-footer nav { margin-top: .2rem; }
  .site-header:has(+ .home) { padding-block: .65rem .35rem; }
  .preview figcaption { padding-top: .6rem; }
  .preview figcaption a { flex-basis: 100%; }
}
