/* Health For Self-Employed — one stylesheet, shared by every page.
   Kept as a single file on purpose: it is small, it caches once, and it is one less
   thing that can drift between the funnel and the guide library. */

:root{
  --ink:#191d1c;
  --body:#3c4644;
  --muted:#6d7a77;
  --teal:#0f5d54;
  --teal-deep:#0a423b;
  --teal-wash:#eaf3f1;
  --amber:#b4640f;
  --amber-wash:#fdf3e8;
  --paper:#fbfbfa;
  --card:#ffffff;
  --rule:#e2e6e4;
  --rule-soft:#eef1f0;
  --shadow:0 1px 2px rgba(25,29,28,.05), 0 12px 30px -20px rgba(25,29,28,.3);
  --maxw:1080px;
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --ink:#f0f4f3; --body:#c3cecb; --muted:#8b9a96;
    --teal:#5cbdae; --teal-deep:#8ad9ca; --teal-wash:#12241f;
    --amber:#e2954d; --amber-wash:#241a10;
    --paper:#0d1211; --card:#151d1b; --rule:#26312e; --rule-soft:#1d2725;
    --shadow:0 1px 2px rgba(0,0,0,.4), 0 12px 30px -20px rgba(0,0,0,.9);
  }
}
:root[data-theme="dark"]{
  --ink:#f0f4f3; --body:#c3cecb; --muted:#8b9a96;
  --teal:#5cbdae; --teal-deep:#8ad9ca; --teal-wash:#12241f;
  --amber:#e2954d; --amber-wash:#241a10;
  --paper:#0d1211; --card:#151d1b; --rule:#26312e; --rule-soft:#1d2725;
  --shadow:0 1px 2px rgba(0,0,0,.4), 0 12px 30px -20px rgba(0,0,0,.9);
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0; background:var(--paper); color:var(--body);
  font-family:"Figtree",system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:17px; line-height:1.6; -webkit-font-smoothing:antialiased;
}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px}
.narrow{max-width:760px;margin-left:auto;margin-right:auto}

h1,h2,h3{color:var(--ink);text-wrap:balance}
h1{
  font-family:"Instrument Serif",Georgia,serif; font-weight:400;
  font-size:clamp(38px,6vw,62px); line-height:1.04; letter-spacing:-.015em; margin:0 0 20px;
}
h2{font-size:clamp(25px,3.4vw,33px);line-height:1.15;letter-spacing:-.01em;margin:0 0 14px;font-weight:700}
h3{font-size:19px;margin:0 0 8px;font-weight:600}
p{margin:0 0 16px;max-width:66ch}
a{color:var(--teal)}
strong{color:var(--ink);font-weight:600}

/* ---------- header ---------- */
.site-header{border-bottom:1px solid var(--rule);background:var(--card)}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:15px;padding-bottom:15px}
.brand{display:flex;flex-direction:column;text-decoration:none;line-height:1.15}
.brand b{font-family:"Instrument Serif",Georgia,serif;font-weight:400;font-size:22px;color:var(--ink)}
.brand span{font-size:11.5px;color:var(--muted);letter-spacing:.02em}
.header-cta{display:flex;align-items:center;gap:16px}
.header-phone{font-weight:600;color:var(--ink);text-decoration:none;font-size:15.5px;white-space:nowrap}
.header-phone:hover{color:var(--teal)}

/* ---------- buttons ---------- */
.btn{
  display:inline-block;background:var(--amber);color:#fff;text-decoration:none;
  font-weight:600;font-size:17px;padding:14px 26px;border-radius:7px;border:0;
  cursor:pointer;transition:transform .12s ease,filter .12s ease;
  font-family:inherit;line-height:1.3;
}
.btn:hover{filter:brightness(1.07)}
.btn:active{transform:translateY(1px)}
.btn:focus-visible{outline:3px solid var(--teal);outline-offset:3px}
.btn-lg{font-size:18.5px;padding:17px 34px}
.btn-ghost{background:transparent;color:var(--teal);border:1.5px solid var(--teal);font-size:15.5px;padding:10px 20px}
.btn-ghost:hover{background:var(--teal-wash);filter:none}
@media (prefers-reduced-motion:reduce){ .btn{transition:none} }

.reassure{font-size:14.5px;color:var(--muted);margin:14px 0 0}

/* ---------- hero ---------- */
.hero{padding:76px 0 64px;border-bottom:1px solid var(--rule)}
.hero .eyebrow{
  font-size:12.5px;letter-spacing:.13em;text-transform:uppercase;font-weight:700;
  color:var(--teal);margin:0 0 18px;
}
.hero .lede{font-size:20.5px;line-height:1.5;max-width:60ch;margin:0 0 30px}

/* ---------- sections ---------- */
section{padding:62px 0;border-bottom:1px solid var(--rule)}
section.plain{border-bottom:0}
.section-intro{max-width:62ch;margin:0 0 34px}
.section-intro p{color:var(--muted);font-size:17.5px;margin:0}

/* ---------- cards ---------- */
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(268px,1fr));gap:18px}
.card{
  background:var(--card);border:1px solid var(--rule);border-radius:10px;
  padding:26px 24px;box-shadow:var(--shadow);
}
.card p{font-size:15.5px;margin:0;color:var(--body)}
.card .tag{
  display:inline-block;font-size:11.5px;letter-spacing:.1em;text-transform:uppercase;
  font-weight:700;color:var(--teal);background:var(--teal-wash);
  padding:4px 9px;border-radius:4px;margin-bottom:13px;
}

/* ---------- steps ---------- */
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(255px,1fr));gap:26px}
.step .n{
  font-family:"Instrument Serif",Georgia,serif;font-size:34px;color:var(--teal);
  line-height:1;display:block;margin-bottom:10px;
}
.step p{font-size:15.5px;margin:0}

/* ---------- promises ---------- */
.promises{display:flex;flex-direction:column;gap:1px;background:var(--rule);
  border:1px solid var(--rule);border-radius:10px;overflow:hidden}
.promise{background:var(--card);padding:22px 24px;display:flex;gap:15px;align-items:flex-start}
.promise .mark{
  flex:none;width:22px;height:22px;border-radius:50%;background:var(--teal-wash);
  color:var(--teal);display:grid;place-items:center;font-size:12px;font-weight:800;margin-top:3px;
}
.promise p{margin:0;font-size:15.5px}
.promise p.h{color:var(--ink);font-weight:600;margin-bottom:3px;font-size:16px}

/* ---------- band ---------- */
.band{background:var(--teal);color:#eaf3f1;border:0}
.band h2{color:#fff}
.band p{color:#cfe4df}
.band .btn{background:#fff;color:var(--teal-deep)}
.band .reassure{color:#a8ccc4}

/* ---------- faq ---------- */
.faq details{
  border-bottom:1px solid var(--rule);padding:17px 0;
}
.faq details:first-of-type{border-top:1px solid var(--rule)}
.faq summary{
  cursor:pointer;font-weight:600;color:var(--ink);font-size:17px;list-style:none;
  display:flex;justify-content:space-between;gap:16px;align-items:center;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--teal);font-size:22px;font-weight:400;flex:none}
.faq details[open] summary::after{content:"–"}
.faq summary:focus-visible{outline:2px solid var(--teal);outline-offset:3px;border-radius:3px}
.faq details p{margin:12px 0 2px;font-size:16px}

/* ---------- footer ---------- */
.site-footer{background:var(--card);border-top:1px solid var(--rule);padding:44px 0 40px}
.footer-top{display:flex;flex-wrap:wrap;gap:26px;justify-content:space-between;margin-bottom:30px}
.footer-links{display:flex;flex-wrap:wrap;gap:20px;font-size:15px}
.footer-links a{color:var(--body);text-decoration:none}
.footer-links a:hover{color:var(--teal);text-decoration:underline}
.legal{font-size:13.5px;line-height:1.6;color:var(--muted);max-width:80ch}
.legal p{margin:0 0 9px;max-width:none;font-size:13.5px}

@media (max-width:640px){
  .hero{padding:52px 0 46px}
  section{padding:46px 0}
  .site-header .wrap{flex-wrap:wrap}
  .header-cta .btn-ghost{display:none}
}

/* Related guides — generated by build.py as a ring, so every article both gives
   and receives the same number of internal links. */
.related{max-width:720px;margin:48px auto 0;padding:26px 0 0;border-top:1px solid var(--rule)}
.related h2{font-size:19px;margin:0 0 14px}
.related ul{list-style:none;padding:0;margin:0;display:grid;gap:10px}
.related li a{display:block;background:var(--card);border:1px solid var(--rule);border-radius:9px;
  padding:15px 18px;text-decoration:none;color:var(--ink);font-weight:600;font-size:16px;
  transition:border-color .12s ease}
.related li a:hover{border-color:var(--teal)}
@media (prefers-reduced-motion:reduce){.related li a{transition:none}}
