:root { --paper: #e7efe9; --ink: #1c1c1c; --stamp: #1f6b4a; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Source Sans 3", sans-serif; font-size: 18px; line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--stamp); }
header { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--ink); display: flex; justify-content: space-between; align-items: center; padding: 14px 28px; }
.logo { font-family: "Courier Prime", monospace; color: var(--ink); text-decoration: none; font-size: 16px; }
.dot { display: inline-block; width: 12px; height: 12px; border: 2px solid var(--stamp); border-radius: 50%; margin-right: 8px; vertical-align: -1px; }
nav { display: flex; gap: 18px; }
nav a { color: var(--ink); text-decoration: none; font-size: 15px; }
nav a[aria-current="page"] { color: var(--stamp); font-weight: 600; }
.nav-btn { display: none; background: var(--stamp); color: #fff; border: 0; padding: 8px 12px; font: inherit; flex-shrink: 0; cursor: pointer; }
main { padding: 36px 16px 48px; }
.file { background: #fff; border: 1px solid var(--ink); max-width: 820px; margin: 28px auto; padding: 32px 28px 28px; position: relative; }
.tab { position: absolute; top: -13px; left: 18px; background: var(--stamp); color: #fff; font-family: "Courier Prime", monospace; font-size: 13px; padding: 2px 10px; }
h1, h2 { font-family: "Courier Prime", monospace; font-weight: 400; line-height: 1.3; margin: 0 0 12px; }
h1 { font-size: 32px; }
h2 { font-size: 24px; }
figcaption { font-size: 15px; margin-top: 8px; }
.btn { display: inline-block; background: var(--stamp); color: #fff; text-decoration: none; padding: 10px 14px; }
.form { display: grid; gap: 10px; }
label { font-size: 14px; }
input, textarea { font: inherit; padding: 12px; border: 1px solid #b7c4bb; background: #fff; width: 100%; }
textarea { min-height: 140px; }
button[type="submit"] { font: inherit; background: var(--ink); color: #fff; border: 0; padding: 12px 16px; cursor: pointer; width: fit-content; }
.modal { position: fixed; inset: 0; background: rgba(28, 28, 28, 0.5); display: grid; place-items: center; padding: 20px; z-index: 50; }
.modal[hidden] { display: none; }
.modal-card { background: #fff; border: 1px solid var(--ink); padding: 28px; max-width: 420px; width: 100%; position: relative; }
.modal-card button { font: inherit; margin-top: 10px; background: var(--stamp); color: #fff; border: 0; padding: 8px 14px; cursor: pointer; }
footer { padding: 8px 8vw 32px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; max-width: 860px; margin: 0 auto; font-size: 15px; }
@media (max-width: 840px) {
  h1 { font-size: 26px; }
  .nav-btn { display: block; }
  nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--ink); flex-direction: column; padding: 12px 20px 18px; }
  nav.is-open { display: flex; }
}
