/* Apotropos shared design system.
   Every page links this BEFORE its own inline <style>, so page rules can still
   override. Anything that must look the same on every page belongs here, not
   in a page. This file exists because these rules had silently drifted apart. */

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{background:var(--paper);color:var(--ink);font-family:"Hanken Grotesk",system-ui,sans-serif;font-size:18px;line-height:1.5;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 28px}
.nav{position:sticky;top:0;z-index:50;background:rgba(244,246,242,.86);backdrop-filter:blur(8px);border-bottom:1px solid var(--line-soft)}
.nav-in{display:flex;align-items:center;justify-content:space-between;height:66px}
.brand{display:flex;align-items:center;gap:10px;font-family:"Archivo";font-weight:800;font-size:21px;letter-spacing:-.02em}
.brand-mark{width:27px;height:27px;flex:none;background:url("/apotropos-mark.svg") center/contain no-repeat}
.nav-r{display:flex;align-items:center;gap:22px}
.nav-link{font-family:"Archivo";font-weight:600;font-size:14.5px;color:var(--ink-soft);transition:color .15s ease;display:inline-flex;align-items:center;min-height:24px}
.nav-link:hover{color:var(--ink)}
.nav-link[aria-current="page"]{color:var(--ink)}
.btn{font-family:"Archivo";font-weight:700;font-size:15px;background:var(--ink);color:#fff;padding:11px 18px;border-radius:8px;border:1px solid var(--ink);cursor:pointer;display:inline-block;transition:transform .12s ease,background .15s ease}
.btn:hover{background:#000;transform:translateY(-1px)}
.nav .btn{padding:9px 15px;font-size:14px}
.divider{border-top:1px solid var(--line)}
.final{background:var(--solvent-tint);border-top:1px solid var(--line)}
.final .btn:hover{background:#175a39}
footer{border-top:1px solid var(--line);padding:34px 0}
.foot-in{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px}
footer .brand{font-size:18px}
footer .meta{font-family:"IBM Plex Mono";font-size:12.5px;color:var(--ink-faint)}
:focus-visible{outline:2px solid var(--solvent);outline-offset:3px;border-radius:4px}
.skip{position:absolute;left:-9999px;top:0;z-index:100;background:var(--ink);color:#fff;padding:10px 16px;border-radius:0 0 8px 0;font-family:"Archivo";font-weight:700;font-size:14px}
.skip:focus{left:0}

/* ---- shared type scale and vertical rhythm -------------------------------
   These had drifted to different values on every page: section padding was
   84/64/54px, H1 was 60/66/50px, section H2 was 40/32/32px. One value now. */
h1,h2,h3{font-family:"Archivo",sans-serif;line-height:1.02;letter-spacing:-.02em}
section{padding:72px 0}
.hero h1,.page-hero h1{font-size:54px;font-weight:900;letter-spacing:-.03em}
.sec-head h2,.problem h2,.how h2,.founder h2,.sec h2,.prose h2{font-size:34px;font-weight:800}
.problem h2{max-width:20ch}
.sec h2{margin-top:14px;max-width:24ch}
.how h2{color:#fff}
.sec-head p,.sec p,.prose p,.founder p{margin-top:18px;font-size:19px;line-height:1.6;color:var(--ink-soft)}
.eyebrow{display:block}
.final-in{padding:84px 0;text-align:center}
.final h2{font-size:38px;font-weight:900;color:var(--solvent);letter-spacing:-.03em;max-width:22ch;margin:0 auto}
.final p{margin:18px auto 0;max-width:50ch;font-size:19px;color:#2f5a44}
@media(max-width:860px){
  section{padding:48px 0}
  .hero h1,.page-hero h1{font-size:36px}
  .sec-head h2,.problem h2,.how h2,.founder h2,.sec h2,.prose h2{font-size:26px}
  .final h2{font-size:28px}
  .final-in{padding:56px 0}
}

/* nav responsive behaviour: identical on every page, so it lives here */
@media(max-width:860px){
  body{font-size:17px}
  .nav-r{gap:16px}
  .nav-link,.nav .btn{min-height:44px;display:inline-flex;align-items:center}
}
@media(max-width:560px){
  .wrap{padding:0 18px}
  .nav-link{font-size:13px}
  .brand{font-size:17px;gap:8px}
  .brand-mark{width:22px;height:22px}
  .nav-r{gap:14px}
  .nav .btn{display:none}
}
.sec-head .eyebrow{margin-bottom:16px}
.band .eyebrow{margin-bottom:18px}

/* visible to assistive tech only */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
em.red{font-style:normal}

.next-up{margin-top:26px;font-size:17px;color:var(--ink-soft);max-width:70ch}
.next-up b{color:var(--ink);font-weight:600}
