/* Shared sheet for the public guides. The homepage keeps its own app.css.
   Geist is the site sans, self-hosted from /fonts/ (weights 400-700). */
@import url("/fonts/fonts.css");
:root {
  --bg: #fafaf8;
  --surface: #ffffff;
  --ink: #1a1714;
  --muted: #56524b;
  --line: #dedbd2;
  --tint: #e7f8ec;
  --green: #0a7a4b;
  --green-solid: #0a8c56;
  --sans: "Geist", "Geist Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
}
a { color: var(--green); }
a:hover { color: #04130c; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.wrap { width: min(720px, calc(100% - 32px)); margin: 0 auto; }
header.top {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; }
.brand { color: var(--ink); font-weight: 650; letter-spacing: -0.02em; text-decoration: none; }
.brand span { color: var(--green-solid); font-weight: 650; }
header.top nav { display: flex; gap: 14px; font-size: 14px; }
header.top nav a { color: var(--muted); text-decoration: none; }
header.top nav a:hover { color: var(--ink); }
main { padding: 36px 0 64px; }
h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; letter-spacing: -0.03em; margin: 0 0 16px; }
h2 { font-size: 22px; letter-spacing: -0.02em; margin: 36px 0 10px; }
h3 { font-size: 18px; margin: 24px 0 8px; }
p { margin: 0 0 12px; }
.lead { font-size: 18px; }
.checked { color: var(--muted); font-size: 14px; }
ol, ul { margin: 0 0 12px; padding-left: 1.2em; }
li { margin: 6px 0; }
code, .mono { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 0.92em; }
pre { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; overflow-x: auto; font-size: 13px; line-height: 1.45; }
pre code { font-size: 13px; }
table { width: 100%; border-collapse: collapse; background: var(--surface); font-size: 14px; line-height: 1.4; margin: 12px 0 8px; }
th, td { text-align: left; vertical-align: top; border: 1px solid var(--line); padding: 8px 10px; }
th { background: var(--tint); font-weight: 650; }
.note { color: var(--muted); font-size: 14px; }
.cta {
  display: inline-block;
  margin-top: 8px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-weight: 650;
  border-radius: 8px;
  padding: 12px 16px;
}
.cta:hover { background: #086b40; color: #fff; }
footer.foot { border-top: 1px solid var(--line); padding: 28px 0 48px; color: var(--muted); font-size: 14px; }
footer.foot .wrap { width: min(880px, calc(100% - 40px)); }
footer.foot a { color: var(--ink); text-decoration: none; }
footer.foot a:hover { color: var(--green); }
.foot-intro { margin: 0 0 18px; max-width: 62ch; font-size: 14px; line-height: 1.5; color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 28px 32px; }
.foot-grid > nav { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.foot-grid h2 { font-family: var(--sans); font-size: 11px; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.foot-grid a { font-family: var(--sans); font-size: 14px; line-height: 1.3; min-height: 32px; display: inline-flex; align-items: center; }
.foot-grid a[aria-current="page"] { font-weight: 650; }
.foot-tools { display: grid; grid-template-columns: 1fr 1fr; grid-auto-flow: column; grid-template-rows: repeat(4, auto); column-gap: 18px; }
.foot-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); }
.foot-meta a { color: var(--muted); font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; }
.callout { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 16px 0; }
@media (max-width: 640px) {
  header.top .wrap { flex-direction: column; align-items: flex-start; padding: 10px 0; }
  table { display: block; overflow-x: auto; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .foot-grid > nav[aria-label="By tool"] { grid-column: 1 / -1; }
}
