/* forjpdf.com: ForjPDF's own colours (Paper & Ink by day, Night Ledger by
   night), system fonts only, so the site loads nothing from anyone else. */
:root {
  --bg: #f6f2ea;
  --surface: #fffdf8;
  --ink: #1b2838;
  --muted: #5d6675;
  --rule: #ddd5c7;
  --accent: #2f64b8;
  --band: #1b2838;
  --band-ink: #e8e3da;
  --band-accent: #e9ad57;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121a25;
    --surface: #1b2838;
    --ink: #e8e3da;
    --muted: #a3acb9;
    --rule: #2f3e54;
    --accent: #e9ad57;
    --band: #0d141d;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}
a { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
header.site { background: var(--band); color: var(--band-ink); }
header.site .wrap { display: flex; align-items: center; gap: 12px; padding-block: 14px; }
header.site a.brand { display: flex; align-items: center; gap: 10px; color: var(--band-ink); text-decoration: none; font-weight: 700; font-size: 19px; }
header.site a.brand img { width: 32px; height: 32px; border-radius: 8px; }
header.site nav { margin-left: auto; display: flex; gap: 18px; font-size: 15px; }
header.site nav a { color: var(--band-ink); text-decoration: none; opacity: 0.85; }
header.site nav a:hover, header.site nav a[aria-current="page"] { opacity: 1; color: var(--band-accent); }
main { padding-block: 40px 56px; }
main .wrap { display: grid; gap: 28px; }
h1 { font-size: clamp(30px, 6vw, 42px); line-height: 1.1; margin: 0; letter-spacing: -0.015em; text-wrap: balance; }
h2 { font-size: 22px; line-height: 1.25; margin: 0; text-wrap: balance; }
h3 { font-size: 17px; margin: 0; }
p, ul, ol { margin: 0; }
ul, ol { padding-left: 22px; display: grid; gap: 6px; }
section { display: grid; gap: 12px; }
.lede { font-size: 19px; color: var(--muted); max-width: 60ch; }
.card { background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; padding: 18px 20px; display: grid; gap: 8px; }
.contact { font-size: 19px; font-weight: 600; user-select: all; overflow-wrap: anywhere; }
details { border-bottom: 1px solid var(--rule); padding-block: 12px; }
details:first-of-type { border-top: 1px solid var(--rule); }
summary { cursor: pointer; font-weight: 600; }
details > div { padding-top: 8px; display: grid; gap: 8px; color: var(--ink); }
.path { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 15px; }
.muted { color: var(--muted); }
.hero { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
.hero img { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18); }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-block; padding: 11px 18px; border-radius: 10px; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; }
@media (prefers-color-scheme: dark) { .button { color: #1b2838; } }
.button.secondary { background: none; color: var(--accent); border: 1px solid var(--rule); }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; }
footer.site { border-top: 1px solid var(--rule); color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-block: 20px 28px; }
footer.site a { color: var(--muted); }
@media (max-width: 520px) {
  .hero { grid-template-columns: 1fr; }
  .hero img { width: 88px; height: 88px; border-radius: 20px; }
  header.site nav { gap: 12px; }
}
