:root {
  color-scheme: light dark;
  --paper: #f7f3ea;
  --ink: #221d15;
  --ink-soft: #6e6452;
  --hairline: rgba(34, 29, 21, 0.16);
  --green: #2e7d44;
  --green-deep: #256636;
  --card: #fffdf7;
  --shadow: 0 24px 60px -28px rgba(34, 29, 21, 0.35);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #161310;
    --ink: #f0e9da;
    --ink-soft: #a89c84;
    --hairline: rgba(240, 233, 218, 0.16);
    --green: #5cb877;
    --green-deep: #4aa564;
    --card: #1f1b15;
    --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
  }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* faint paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}
::selection { background: var(--green); color: #fff; }
a { color: var(--green-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
@media (prefers-color-scheme: dark) {
  a { color: var(--green); }
}
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 700px; margin: 0 auto; padding: 0 24px; }

/* eyebrow labels */
.eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 9px;
  vertical-align: 1px;
}

/* header */
header.site { border-bottom: 1px solid var(--hairline); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 62px; }
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-size: 19px; font-weight: 600;
  color: var(--ink); text-decoration: none;
}
.brand img { width: 26px; height: 26px; }
.brand:hover { text-decoration: none; }
header.site nav { display: flex; gap: 22px; font-size: 15px; }
header.site nav a { color: var(--ink-soft); text-decoration: none; }
header.site nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* hero */
.hero { padding: 88px 0 44px; text-align: center; }
.hero img.icon { width: 104px; height: 104px; filter: drop-shadow(0 10px 24px rgba(34, 29, 21, 0.18)); }
.hero .eyebrow { margin-top: 26px; margin-bottom: 10px; }
.hero h1 {
  font-family: var(--serif);
  font-size: 56px; line-height: 1.06; font-weight: 600;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.hero p.lede {
  font-size: 20px; line-height: 1.6; color: var(--ink-soft);
  margin: 16px auto 0; max-width: 31em;
}
.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.button {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 12px;
  background: var(--ink); color: var(--paper);
  font-weight: 600; font-size: 16px;
  text-decoration: none;
  border: 1px solid var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.button:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(34, 29, 21, 0.5); }
.button:active { transform: translateY(0); box-shadow: none; }
.button.secondary {
  background: transparent; color: var(--ink);
  border: 1px solid var(--hairline);
}
.button.secondary:hover { border-color: var(--ink-soft); box-shadow: none; }
.button[aria-disabled="true"] {
  opacity: 0.55; pointer-events: none;
  background: transparent; color: var(--ink-soft);
  border: 1px dashed var(--ink-soft);
  box-shadow: none; transform: none;
}
.fineprint { font-size: 14px; color: var(--ink-soft); margin-top: 14px; }

/* screenshot */
.shot { display: flex; justify-content: center; padding: 20px 0 64px; }
.shot img {
  width: 300px; height: auto;
  border-radius: 18px;
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow);
  background: var(--card);
}

/* prose sections */
section.prose { padding: 52px 0; border-top: 1px solid var(--hairline); }
section.prose h2 {
  font-family: var(--serif);
  font-size: 30px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2;
  margin-bottom: 14px;
  text-wrap: balance;
}
section.prose h3 { font-size: 17px; font-weight: 650; margin: 26px 0 6px; }
section.prose p + p { margin-top: 12px; }
section.prose ul, section.prose ol { padding-left: 1.25em; margin-top: 8px; }
section.prose li + li { margin-top: 8px; }
section.prose li::marker { color: var(--green); font-weight: 600; }
.muted { color: var(--ink-soft); }

/* inner pages */
.page { padding: 64px 0 8px; }
.page h1 {
  font-family: var(--serif);
  font-size: 42px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.1;
  text-wrap: balance;
}
.page .updated { color: var(--ink-soft); font-size: 15px; margin-top: 8px; }

/* footer */
footer.site { border-top: 1px solid var(--hairline); margin-top: 48px; padding: 30px 0 44px; font-size: 14.5px; color: var(--ink-soft); }
footer.site .links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer.site a { color: var(--ink-soft); text-decoration: none; }
footer.site a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
footer.site p { margin-top: 14px; max-width: 60em; line-height: 1.6; }

@media (max-width: 600px) {
  .hero { padding: 60px 0 36px; }
  .hero h1 { font-size: 40px; }
  .hero p.lede { font-size: 18px; }
  .page h1 { font-size: 32px; }
  section.prose h2 { font-size: 25px; }
  header.site nav { gap: 16px; }
  .button { width: 100%; text-align: center; }
  .actions { flex-direction: column; align-items: stretch; }
}
