/* guides.css — shared styling for the GedMend guide pages and /will-and-wont.
 *
 * Written to match the tokens already inlined in index.html and privacy.html.
 * Those two pages keep their own <style> blocks; this file exists so that the
 * six long-form pages do not each carry a copy of the same 200 lines.
 *
 * Self-hosted fonts only. No third-party requests, per privacy.html §5.
 */

:root{
  --paper:#FBF8F1; --paper-2:#F4EEE1; --card:#FFFFFF;
  --ink:#221D17; --ink-2:#4A453D; --muted:#736E64;
  --teal:#1F6F66; --teal-deep:#16564E; --teal-tint:#E4EFEC;
  --blue:#3372A8; --blue-tint:#E5EEF5;
  --amber:#B5742A; --amber-bg:#F6ECDA; --amber-bd:#E7D2A8;
  --green:#2E7D64; --green-bg:#E0EBE2; --green-bd:#BFD8C6;
  --line:#EBE2D2; --line-2:#E2D8C5;
  --shadow:0 1px 2px rgba(34,29,23,.04), 0 8px 24px rgba(34,29,23,.06);
  --radius:14px;
}
*{box-sizing:border-box}
body{
  margin:0; background:var(--paper); color:var(--ink);
  font-family:"Source Sans 3",system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  font-size:18px; line-height:1.65; -webkit-font-smoothing:antialiased;
}
h1,h2,h3,.serif{font-family:"Source Serif 4",Georgia,"Times New Roman",serif; line-height:1.25}
h1{font-size:40px; margin:0 0 14px; color:var(--teal-deep)}
h2{font-size:27px; margin:48px 0 12px}
h3{font-size:21px; margin:32px 0 8px}
a{color:var(--teal)}
a:hover{text-decoration:underline}
img{max-width:100%; height:auto; display:block}
:focus-visible{outline:3px solid var(--teal); outline-offset:2px; border-radius:6px}
.wrap{max-width:760px; margin:0 auto; padding:0 24px}

/* ---------- header / footer, matching privacy.html ---------- */
.site-head{background:rgba(251,248,241,.92); border-bottom:1px solid var(--line)}
.site-head .wrap{display:flex; align-items:center; justify-content:space-between; height:72px; gap:16px}
.brand{font-family:"Source Serif 4",serif; font-weight:600; font-size:24px; color:var(--teal-deep)}
.brand .by{font-family:"Source Sans 3",sans-serif; font-size:13px; color:var(--muted); margin-left:6px; font-weight:400}
.site-head a{color:var(--ink-2); font-weight:500; font-size:16px; text-decoration:none}
.site-head a:hover{text-decoration:underline}
.site-foot{border-top:1px solid var(--line); padding:32px 0 48px; color:var(--muted); font-size:15px}
.site-foot a{color:var(--teal)}
.site-foot .foot-links{margin-top:10px; display:flex; flex-wrap:wrap; gap:18px}

main{padding:52px 0 72px}
.eyebrow{font-size:14px; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); font-weight:600; margin:0 0 14px}
.crumb{font-size:15px; color:var(--muted); margin:0 0 22px}
.crumb a{color:var(--muted)}
.updated{color:var(--muted); font-size:15px; margin:0 0 36px}
.lede{font-size:21px; line-height:1.55; color:var(--ink-2); margin:0 0 8px}

/* ---------- the short answer box: first thing on the page ---------- */
.answer{background:var(--teal-tint); border:1px solid #C9E0DA; border-radius:var(--radius); padding:24px 26px; margin:28px 0 40px}
.answer p{margin:0; font-size:19px}
.answer p + p{margin-top:12px}
.answer strong{color:var(--teal-deep)}

.note{background:var(--amber-bg); border:1px solid var(--amber-bd); border-radius:var(--radius); padding:20px 24px; margin:26px 0}
.note p{margin:0} .note p + p{margin-top:10px}
.note strong{color:var(--amber)}

.good{background:var(--green-bg); border:1px solid var(--green-bd); border-radius:var(--radius); padding:20px 24px; margin:26px 0}
.good p{margin:0} .good p + p{margin-top:10px}

ul,ol{padding-left:22px} li{margin:9px 0}
p{margin:0 0 18px}
code{background:var(--paper-2); border:1px solid var(--line); border-radius:6px; padding:2px 7px; font-size:15px}
pre{background:var(--paper-2); border:1px solid var(--line); border-radius:var(--radius); padding:16px 18px; overflow-x:auto; font-size:15px; line-height:1.5}
pre code{background:none; border:none; padding:0}
blockquote{margin:24px 0; padding:4px 0 4px 20px; border-left:3px solid var(--line-2); color:var(--ink-2); font-style:italic}

table{border-collapse:collapse; width:100%; margin:24px 0; font-size:17px}
th,td{text-align:left; padding:11px 14px; border-bottom:1px solid var(--line); vertical-align:top}
th{font-weight:600; color:var(--teal-deep); border-bottom:2px solid var(--line-2)}

/* ---------- checklist used on the criteria page ---------- */
.criteria{list-style:none; padding:0; margin:28px 0}
.criteria li{background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:20px 24px; margin:0 0 16px; box-shadow:var(--shadow)}
.criteria h3{margin:0 0 6px; font-size:20px; color:var(--teal-deep)}
.criteria p{margin:0 0 10px}
.criteria p:last-child{margin:0}
.criteria .ask{font-size:16px; color:var(--ink-2); background:var(--paper-2); border-radius:8px; padding:10px 14px; margin-top:12px}
.criteria .ask b{color:var(--teal-deep)}

/* ---------- product mention, deliberately quiet ---------- */
.about{border:1px solid var(--line-2); background:var(--card); border-radius:var(--radius); padding:22px 26px; margin:48px 0 0; box-shadow:var(--shadow)}
.about h2{margin:0 0 8px; font-size:21px}
.about p{margin:0 0 12px; font-size:17px}
.about p:last-child{margin:0}
.btn{display:inline-block; background:var(--teal); color:#fff; border-radius:10px; padding:11px 20px; font-weight:600; text-decoration:none; font-size:17px}
.btn:hover{background:var(--teal-deep); text-decoration:none}
.btn-sub{font-size:15px; color:var(--muted); margin-top:10px}

/* ---------- related links ---------- */
.related{margin:44px 0 0; border-top:1px solid var(--line); padding-top:24px}
.related h2{font-size:19px; margin:0 0 12px}
.related ul{list-style:none; padding:0; margin:0}
.related li{margin:0 0 8px}

@media (max-width:640px){
  h1{font-size:32px} h2{font-size:23px} .lede{font-size:19px}
  body{font-size:17px}
}
