
/* The look: a pale blue-grey page, a slim bar on top, a strip of folder tabs, one white card in a pale-blue frame,
   slate headings, navy links and pale-lime module headers. System fonts only.
   One deliberate change: the button's light end is darker than the original #5a9a34, where white text is only 3.44:1. */
:root {
  --bg: #e9f2f5; --paper: #fff; --ink: #333; --muted: #55606b; --line: #c9d3dc; --line-hover: #72777d;
  --brand: #114488; --brand-hover: #14456e; --title: #34495e; --frame: #d5e7f0; --tabs: #c5d5e0;
  --bar-top: #fbfbfb; --bar-bottom: #dcdcdc; --module-head: #dfe8b0; --module-ink: #33401a; --head-bg: #f0f7ff; --zebra: #f5f5f5;
  --btn-top: #468225; --btn-bottom: #3f7a22; --btn-edge: #2f5e18; --btn-ink: #fff;
}
* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.6 "Lucida Grande", "Segoe UI", Tahoma, Verdana, Arial, sans-serif; }
a { color: var(--brand); }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
p { margin: 0 0 1em; }
[id] { scroll-margin-top: 12px; }

.top-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; column-gap: 1rem; padding: 0 16px;
  border-top: 3px solid #333; border-bottom: 1px solid var(--line-hover); background-image: linear-gradient(to bottom, var(--bar-top), var(--bar-bottom)); }
.site-title { margin: 0; font-size: 1.15rem; font-weight: 700; line-height: 1.2; }
.site-title a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; }
.tagline { margin: 0; padding-bottom: 8px; font-style: italic; color: var(--muted); }
@media (min-width: 720px) { .tagline { padding-bottom: 0; } }

.site-nav { background: var(--tabs); padding: 6px 12px 0; }
.tabs { display: flex; flex-wrap: wrap; gap: 3px; margin: 0; padding: 0; list-style: none; }
.tabs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 6px 6px 0 0; background: var(--frame);
  color: var(--brand-hover); font-weight: 700; white-space: nowrap; text-decoration: none; }
.tabs a:hover { background: var(--paper); }

.page-frame { max-width: 73.5rem; margin: 14px auto 16px; padding: 10px 3px 0; background: var(--frame); border-radius: 6px; }
.page-card { background: var(--paper); border-radius: 4px; padding: 24px 20px 12px; }
@media (min-width: 720px) { .page-card { padding: 32px 36px 16px; } }
@media (max-width: 640px) { .page-frame { margin: 0; padding: 10px 0 0; border-radius: 0; } }

h1, h2 { color: var(--title); font-weight: 700; line-height: 1.25; border-bottom: 1px solid var(--line); padding-bottom: .2em; }
h1 { margin: 0 0 .5em; font-size: 2.1rem; }
h2 { margin: 0 0 .7em; font-size: 1.35rem; }
h3 { margin: 0 0 .25em; color: var(--title); font-size: 1.05rem; }
.lead { font-size: 1.15rem; line-height: 1.55; color: var(--muted); }
section { margin-bottom: 36px; }

.hero { display: grid; gap: 28px; margin-bottom: 40px; }
@media (min-width: 860px) { .hero { grid-template-columns: minmax(0, 1fr) 19rem; gap: 40px; align-items: start; } }

.btn-primary { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border: 1px solid var(--btn-edge); border-radius: 4px;
  background-color: var(--btn-bottom); background-image: linear-gradient(to bottom, var(--btn-top), var(--btn-bottom));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 1px 2px rgba(0,0,0,.3); color: var(--btn-ink); font-weight: 700; text-decoration: none; text-shadow: 0 -1px 0 rgba(0,0,0,.3); }
.btn-primary:hover { background-image: none; text-decoration: none; }
.btn-primary:active { background-image: none; box-shadow: inset 0 2px 4px rgba(0,0,0,.35); }

.module { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.module-head { margin: 0; padding: 7px 12px; background: var(--module-head); color: var(--module-ink); font-size: 14px; font-weight: 700; }
.facts { margin: 0; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 12px; border-top: 1px solid var(--line); }
.facts div:nth-child(even) { background: var(--zebra); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; text-align: right; }

.grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.grid article { border: 1px solid var(--line); border-radius: 4px; padding: 14px 16px; }
.grid p { margin: 0; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { border: 1px solid var(--line); padding: .5em .7em; text-align: left; vertical-align: top; }
th { background: var(--head-bg); font-weight: 700; }
tbody tr:nth-child(even) { background: var(--zebra); }
td:first-child { white-space: nowrap; font-weight: 700; }

.steps { margin: 0; padding-left: 1.4em; }
.steps li { margin-bottom: .5em; }

.contact { display: grid; gap: 24px; }
@media (min-width: 720px) { .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; } }
address { font-style: normal; }

.site-foot { padding: 10px 14px 14px; font-size: 13px; color: var(--muted); }
.site-foot p { margin: 0; }

/* Blog */
.article { max-width: 46rem; }
.article h2 { margin-top: 1.6em; }
.article h3 { margin-top: 1.2em; }
.article ul, .article ol { padding-left: 1.4em; margin: 0 0 1em; }
.article li { margin-bottom: .35em; }
.article li:has(> input) { list-style: none; margin-left: -1.4em; }
.article table { margin-bottom: 1em; }
.article td:first-child { white-space: normal; }
.article .table-wrap { margin-bottom: 1em; }
.article p a:not(.btn-primary), .article li a { text-decoration: underline; overflow-wrap: anywhere; }
.crumb { margin: 0 0 1em; font-size: 13px; color: var(--muted); }
.article .post-list { list-style: none; margin: 0 0 2em; padding: 0; }
.article .post-list li { margin: 0; padding: .7em 0; border-bottom: 1px solid var(--line); }
.post-list a { font-weight: 700; }
.post-list p { margin: .2em 0 0; color: var(--muted); }
.foot-links { margin-top: 4px; }
