@font-face { font-family: 'Bricolage Grotesque'; src: url(../fonts/bricolage-grotesque.woff2) format('woff2'); font-weight: 200 800; font-display: swap; }

:root { --forest: #1f4d36; --forest-2: #2f6b4b; --cream: #f7f3ea; --paper: #fffdf8; --leaf: #5fa36a; --sun: #f2b134; --ink: #1d2620; --muted: #5d665e; --line: #e3dccb; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Bricolage Grotesque', -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--ink); background: var(--cream); font-size: 17px; line-height: 1.65; }
a { color: var(--forest-2); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(780px, 100% - 40px); margin-inline: auto; }

.top { padding: 18px 0; border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: min(1120px, 100% - 40px); }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; color: var(--forest); text-decoration: none; letter-spacing: -.02em; }
.logo img { width: 34px; height: 34px; }
.top .back { font-size: 15px; text-decoration: none; font-weight: 600; }

main { padding: 48px 0 80px; }
h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.05; letter-spacing: -.03em; color: var(--forest); margin: 0 0 10px; }
.updated { color: var(--muted); font-size: 15px; margin: 0 0 36px; }
h2 { font-size: 24px; letter-spacing: -.015em; color: var(--forest); margin: 44px 0 10px; line-height: 1.2; }
h3 { font-size: 19px; color: var(--forest); margin: 26px 0 6px; }
p, li { max-width: 68ch; }
ul, ol { padding-left: 22px; }
li { margin-bottom: 6px; }
.lead { font-size: 19px; color: var(--muted); }
.box { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin: 20px 0; }
.box p:first-child { margin-top: 0; }
.box p:last-child { margin-bottom: 0; }
.box.important { border-color: var(--leaf); background: #f0f6ee; }
dl.data { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; }
dl.data dt { font-weight: 700; }
dl.data dd { margin: 0; }
mark.todo { background: #ffe58a; padding: 0 4px; border-radius: 4px; }

.table-wrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.45; }
th, td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--line); }
th { background: #f1ece0; font-weight: 700; color: var(--forest); }
tr:last-child td { border-bottom: 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 22px; border-radius: 13px; font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid var(--forest); background: var(--forest); color: #fff; cursor: pointer; }
.btn.ghost { background: transparent; color: var(--forest); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }

footer { border-top: 1px solid var(--line); padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); font-size: 14px; color: var(--muted); }
footer .wrap { width: min(1120px, 100% - 40px); }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0 0 12px; }
.legal-links a, .legal-links button { color: var(--muted); font: inherit; font-size: 14px; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.legal-links a:hover, .legal-links button:hover { color: var(--forest); }
footer p { margin: 0; max-width: none; }

@media (max-width: 600px) {
  body { font-size: 16px; }
  dl.data { grid-template-columns: 1fr; gap: 0; }
  dl.data dd { margin-bottom: 10px; }
  .btn-row .btn { width: 100%; }
}
