*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Palatino Linotype','Book Antiqua',Palatino,'Times New Roman',serif;line-height:1.85;color:#2c2c2c;background:#faf8f4}
img{max-width:100%;height:auto;display:block}
a{color:#1a3c34;text-decoration:underline;text-decoration-color:#c67a4a;text-underline-offset:3px;transition:color .2s}
a:hover{color:#c67a4a}

.w{max-width:780px;margin:0 auto;padding:0 24px}
.w-wide{max-width:1060px;margin:0 auto;padding:0 24px}

/* HEADER */
.hd{background:#1a3c34;padding:10px 0}
.hd .w-wide{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}
.hd-logo{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-weight:700;font-size:.85rem;color:#faf8f4;text-decoration:none;letter-spacing:.8px;text-transform:uppercase}
.hd-logo b{color:#c67a4a}
.hd-nav{display:flex;gap:2px;flex-wrap:wrap}
.hd-nav a{font-family:-apple-system,sans-serif;color:#a8c4b8;font-size:.72rem;padding:5px 10px;border-radius:4px;text-decoration:none;transition:all .15s;letter-spacing:.2px}
.hd-nav a:hover,.hd-nav a[aria-current]{color:#fff;background:rgba(255,255,255,.08)}

/* HERO */
.hero{background:#1a3c34;color:#faf8f4;padding:54px 0 46px;position:relative;overflow:hidden}
.hero::after{content:'';position:absolute;bottom:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#c67a4a 0%,#e8a87c 50%,#c67a4a 100%)}
.hero h1{font-size:2.2rem;font-weight:400;line-height:1.25;margin-bottom:14px;max-width:680px}
.hero h1 b{font-weight:700;color:#e8a87c}
.hero .lead{color:#a8c4b8;font-size:.95rem;max-width:580px}

/* AUTHOR BAR */
.auth{display:flex;align-items:center;gap:16px;padding:20px 0;border-bottom:1px solid #e6e2da;margin-bottom:32px;flex-wrap:wrap}
.auth-pic{width:52px;height:52px;border-radius:50%;background:#1a3c34;color:#e8a87c;display:flex;align-items:center;justify-content:center;font-family:-apple-system,sans-serif;font-weight:700;font-size:1rem;flex-shrink:0}
.auth-meta{font-family:-apple-system,sans-serif;font-size:.8rem;color:#6b6b60;line-height:1.5}
.auth-meta strong{color:#1a3c34;font-size:.85rem;display:block}
.auth-tags{margin-left:auto;display:flex;gap:6px;flex-wrap:wrap}
.tag{font-family:-apple-system,sans-serif;font-size:.68rem;padding:4px 11px;border-radius:20px;font-weight:600;display:inline-block}
.tag-ok{background:#e8f5e9;color:#2e7d32;border:1px solid #a5d6a7}
.tag-date{background:#e8eaf6;color:#283593;border:1px solid #9fa8da}
.tag-rev{background:#fff3e0;color:#e65100;border:1px solid #ffcc80}

/* CRUMBS */
.bc{font-family:-apple-system,sans-serif;padding:14px 0;font-size:.72rem;color:#9e9e90}
.bc a{color:#1a3c34;text-decoration:none}

/* ARTICLE */
.page{background:#fff;padding:48px 52px;margin:18px auto;max-width:780px;border:1px solid #e6e2da}
.page h2{font-size:1.45rem;font-weight:400;color:#1a3c34;margin:42px 0 14px;padding-bottom:8px;border-bottom:1px solid #e6e2da;letter-spacing:-.2px}
.page h2:first-child{margin-top:0}
.page h3{font-family:-apple-system,sans-serif;font-size:.88rem;font-weight:700;color:#c67a4a;margin:26px 0 8px;text-transform:uppercase;letter-spacing:.4px}
.page p{margin-bottom:16px}
.page ul,.page ol{margin:0 0 18px 26px}
.page li{margin-bottom:6px}
.page strong{color:#1a3c34}
.page sup{font-size:.65rem;color:#c67a4a;font-weight:600}

/* TABLE */
.tb{width:100%;border-collapse:collapse;margin:20px 0 26px;font-size:.88rem}
.tb th,.tb td{padding:11px 16px;text-align:left;border-bottom:1px solid #e6e2da}
.tb th{font-family:-apple-system,sans-serif;font-size:.72rem;text-transform:uppercase;letter-spacing:.4px;color:#6b6b60;background:#faf8f4;width:42%}

/* STEPS */
.st{list-style:none;margin:26px 0;padding:0;counter-reset:st}
.st li{counter-increment:st;padding:20px 20px 20px 70px;margin-bottom:10px;background:#faf8f4;border-left:3px solid #1a3c34;position:relative}
.st li::before{content:counter(st);position:absolute;left:16px;top:18px;width:36px;height:36px;border:2px solid #1a3c34;color:#1a3c34;border-radius:50%;display:flex;align-items:center;justify-content:center;font-family:-apple-system,sans-serif;font-weight:700;font-size:.85rem}

/* FAQ */
.q{border:1px solid #e6e2da;margin-bottom:6px}
.q summary{padding:14px 18px;font-weight:600;font-size:.9rem;color:#1a3c34;cursor:pointer;list-style:none;transition:background .15s}
.q summary:hover{background:#faf8f4}
.q summary::before{content:'›';color:#c67a4a;margin-right:10px;font-size:1.1rem;display:inline-block;transition:transform .2s}
.q[open] summary::before{transform:rotate(90deg)}
.q[open] summary{border-bottom:1px solid #e6e2da;background:#faf8f4}
.q .ans{padding:14px 18px;line-height:1.85}

/* CALLOUTS */
.info{background:#faf8f4;border-left:3px solid #1a3c34;padding:16px 20px;margin:22px 0;font-size:.9rem}
.info-warn{border-left-color:#c67a4a;background:#fdf6f0}

/* FIGURES */
.fig{margin:28px 0;text-align:center}
.fig img{margin:0 auto;border:1px solid #e6e2da}
.fig figcaption{font-family:-apple-system,sans-serif;font-size:.72rem;color:#9e9e90;margin-top:8px}

/* LINK GRID */
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;margin:26px 0}
.grid a{display:block;padding:20px;border:1px solid #e6e2da;font-family:-apple-system,sans-serif;font-weight:600;font-size:.85rem;color:#1a3c34;text-decoration:none;transition:border-color .2s,background .2s}
.grid a:hover{border-color:#c67a4a;background:#fdf6f0}
.grid a small{display:block;font-weight:400;font-size:.75rem;color:#6b6b60;margin-top:4px}

/* SOURCES */
.src{margin-top:44px;padding-top:26px;border-top:2px solid #e6e2da}
.src h2{font-size:.95rem;margin-bottom:10px;border:none;padding:0}
.src ol{font-family:-apple-system,sans-serif;font-size:.78rem;color:#6b6b60;margin-left:20px}
.src li{margin-bottom:5px}
.src a{color:#1a3c34;word-break:break-all}

/* FOOTER */
.ft{background:#1a3c34;color:#6b8a7e;padding:32px 0;margin-top:52px;font-family:-apple-system,sans-serif;font-size:.75rem;text-align:center}
.ft nav{display:flex;justify-content:center;gap:18px;flex-wrap:wrap;margin-bottom:12px}
.ft nav a{color:#6b8a7e;text-decoration:none}
.ft nav a:hover{color:#faf8f4}
.ft .s{font-size:.68rem;color:#4a6b5e;margin-top:10px}

@media(max-width:640px){
  .hero{padding:38px 0 32px}
  .hero h1{font-size:1.6rem}
  .page{padding:30px 20px;margin:10px 8px}
  .auth{gap:10px}
  .auth-tags{margin-left:0}
}
