:root {
  color-scheme: light;
  --page: #f5f6f0;
  --paper: #fff;
  --ink: #202e27;
  --muted: #526058;
  --pine: #123529;
  --sage: #d8e9ac;
  --line: #dbe2d9;
  --radius: 18px;
  font-family: "Segoe UI", system-ui, sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: var(--page);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, p { margin: 0; }
h1, h2 { line-height: 1.15; }
h1 { font-size: clamp(2rem, 5vw, 3.6rem); letter-spacing: -.045em; overflow-wrap: anywhere; }
h2 { font-size: clamp(1.22rem, 2.4vw, 1.5rem); letter-spacing: -.02em; }
a { color: var(--pine); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #8a5206; outline-offset: 4px; }

.wrap { width: min(1000px, calc(100% - 48px)); margin-inline: auto; }
.top { background: var(--pine); color: #f4f8f2; }
.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  min-height: 72px;
  gap: .6rem 1.5rem;
  padding-block: .75rem;
}

.top a { color: inherit; }
.top :focus-visible { outline-color: var(--sage); }
.brand { display: inline-flex; align-items: center; gap: .66rem; font-weight: 700; text-decoration: none; }
.mark { display: grid; place-content: center; width: 32px; height: 32px; border-radius: 9px; background: var(--sage); }
.mark::before { content: ""; width: 14px; height: 3px; border-radius: 100%; background: var(--pine); box-shadow: 0 -5px var(--pine), 0 5px var(--pine); }
nav { display: flex; flex-wrap: wrap; gap: 0 1.1rem; font-size: .88rem; }
nav a { text-decoration: none; }
nav a:hover, nav a[aria-current] { text-decoration: underline; }

.skip { position: absolute; top: .5rem; left: .75rem; padding: .55rem .9rem; background: var(--paper); border-radius: 8px; }
.skip:not(:focus) { width: 1px; height: 1px; overflow: hidden; padding: 0; clip-path: inset(50%); white-space: nowrap; }

.home, .document { padding-block: clamp(2rem, 6vw, 4rem) 2rem; }
.hero { padding: clamp(1.25rem, 6vw, 3.15rem); border-radius: var(--radius); color: var(--ink); background: #e4ecd8; }
.hero h1 { color: var(--pine); }
.hero p { max-width: 61ch; margin-top: 1rem; font-size: clamp(1rem, 2.5vw, 1.14rem); }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.features section { padding: clamp(1rem, 3vw, 1.6rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.features p, .notes p { margin-top: .6rem; }
.notes { max-width: 74ch; margin-top: 1.65rem; }

.document { max-width: 76ch; }
.document section { margin-top: 1.35rem; padding-top: 1.35rem; border-top: 1px solid var(--line); }
.document h1 { font-size: clamp(1.85rem, 4.2vw, 3rem); }
.document p { margin-top: .55rem; }
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .45rem 1.25rem;
  padding-block: .95rem 1.75rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .86rem;
}

@media (max-width: 580px) {
  .wrap { width: calc(100% - 32px); }
  .features { grid-template-columns: 1fr; }
}
