/* heypennyworth.com. The green is the app's own (digests, display); the person colours
   are the home display's (src/pennyworth/web/designs/family.css). */
@font-face{font-family:"Young Serif";font-weight:400;font-display:swap;
  src:url(fonts/young-serif-400.woff2) format("woff2")}
@font-face{font-family:"Atkinson Hyperlegible";font-weight:400;font-display:swap;
  src:url(fonts/atkinson-hyperlegible-400.woff2) format("woff2")}
@font-face{font-family:"Atkinson Hyperlegible";font-weight:700;font-display:swap;
  src:url(fonts/atkinson-hyperlegible-700.woff2) format("woff2")}

:root{
  --ink:#1e2430; --soft:#4d5562; --wall:#f2f4f1; --paper:#fff;
  --livery:#2f5d50; --livery-deep:#21443a; --on-livery:#eef5f1; --on-livery-soft:#b9d2c7;
  --brass:#b8862b; --silver:#d7dde1; --silver-hi:#f3f5f6; --line:#dfe4e0;
  --p0:#3f6fe0; --p1:#d9466f; --p2:#e8891c; --p3:#2a9d73; --p4:#8257e5;
  --serif:"Young Serif",Georgia,serif;
  --sans:"Atkinson Hyperlegible",system-ui,-apple-system,"Segoe UI",sans-serif;
  --gutter:clamp(1rem,4vw,3rem); --max:72rem;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--wall);color:var(--ink);font:400 1.125rem/1.6 var(--sans)}
img,svg{display:block}
a{color:var(--livery);text-underline-offset:.18em}
a:hover{text-decoration-thickness:2px}
:focus-visible{outline:3px solid var(--brass);outline-offset:3px;border-radius:4px}
h1,h2,h3{font-family:var(--serif);font-weight:400;line-height:1.12;margin:0;
  letter-spacing:-.01em;text-wrap:balance}
h1{font-size:clamp(2.6rem,6.2vw,4.6rem)}
h2{font-size:clamp(1.9rem,3.6vw,2.6rem)}
h3{font-size:1.3rem;line-height:1.25}
p{margin:0;max-width:34em}
.wrap{max-width:var(--max);margin:0 auto;padding:0 var(--gutter)}

/* header and footer -------------------------------------------------------------- */
.top{display:flex;align-items:center;justify-content:space-between;gap:1rem;
  padding-top:1.4rem;padding-bottom:1.4rem}
.mark{display:flex;align-items:center;gap:.6rem;color:var(--ink);text-decoration:none;
  font:400 1.45rem/1 var(--serif)}
.mark svg{width:30px;height:30px}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:2.9rem;
  padding:.55rem 1.3rem;border-radius:999px;border:2px solid var(--livery);
  font:700 1rem/1 var(--sans);text-decoration:none;cursor:pointer;
  background:var(--livery);color:#fff}
.btn:hover{background:var(--livery-deep);border-color:var(--livery-deep)}
.btn.quiet{background:transparent;color:var(--livery)}
.btn.quiet:hover{background:var(--paper)}
.foot{border-top:1px solid var(--line);margin-top:5rem;padding-top:1.6rem;
  padding-bottom:2.4rem;display:flex;flex-wrap:wrap;gap:.6rem 1.6rem;color:var(--soft);
  font-size:.95rem}
.foot a{color:var(--soft)}
.foot span{margin-right:auto}

/* prose pages (privacy, 404) ------------------------------------------------------ */
.prose{max-width:42rem;margin:2rem auto 0;padding:0 var(--gutter)}
.prose h1{font-size:clamp(2.2rem,5vw,3.2rem);margin-bottom:1rem}
.prose h2{font-size:1.55rem;margin:2.4rem 0 .6rem}
.prose p,.prose li{max-width:none}
.prose p+p{margin-top:.9rem}
.prose ul{padding-left:1.2rem;margin:.6rem 0 0}
.prose li+li{margin-top:.4rem}
.prose .lede{font-size:1.2rem;color:var(--soft)}

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