:root { color-scheme: light; --ink: #182522; --paper: #f6f3ea; --line: #d9d4c6; --signal: #e85738; --pine: #173f38; --muted: #64716d; --panel: #ffffff; }
:root {
  --paper: #f8f5ef;
  --ink: #171613;
  --pine: #1f382c;
  --signal: #b95c3e;
  --line: #d9d1c3;
  --panel: #fffdf8;
  --muted: #6f6a60;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "DM Sans", system-ui, sans-serif; line-height: 1.55; }
a { color: inherit; text-underline-offset: 0.2em; }
.skip-link { position: absolute; left: 1rem; top: -4rem; background: #fff; padding: .65rem .85rem; z-index: 10; }
.skip-link:focus { top: 1rem; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem clamp(1rem, 5vw, 5rem); border-bottom: 1px solid var(--line); background: rgba(246,243,234,.94); position: sticky; top: 0; z-index: 2; }
.brand { font-family: "Playfair Display", Georgia, serif; font-size: 1.55rem; font-weight: 700; text-decoration: none; letter-spacing: -.04em; }
.brand span { color: var(--signal); }
nav { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .9rem; }
nav a, .submit-link { text-decoration: none; }
.submit-link { border: 1px solid var(--ink); padding: .45rem .7rem; font-size: .82rem; font-weight: 700; }
main { min-height: calc(100vh - 10rem); }
.hero { background: var(--pine); color: #fff; padding: clamp(3rem, 8vw, 7rem) clamp(1rem, 8vw, 10rem); }
.eyebrow { margin: 0 0 .7rem; color: #f2b09e; font-size: .75rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; line-height: 1.08; letter-spacing: -.035em; }
h1 { max-width: 14ch; margin: 0; font-size: clamp(2.8rem, 7vw, 5.8rem); }
.hero p:not(.eyebrow) { max-width: 56ch; margin: 1.2rem 0 0; color: #d8e6df; }
.content { max-width: 1240px; margin: 0 auto; padding: clamp(2rem, 5vw, 4.5rem) clamp(1rem, 4vw, 2rem); }
.evidence-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; border-block: 1px solid var(--line); padding: 1rem 0; color: var(--muted); font-size: .9rem; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 2rem 0 1.25rem; }
.toolbar button { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: .45rem .75rem; color: var(--ink); cursor: pointer; }
.toolbar button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(235px, 1fr)); gap: 1rem; }
.tool-card, .notice { background: var(--panel); border: 1px solid var(--line); border-radius: 2px; padding: 1.1rem; }
.tool-card { display: flex; flex-direction: column; min-height: 220px; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.tool-card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(24,37,34,.09); }
.tool-card h2 { margin: .85rem 0 .5rem; font-size: 1.4rem; }
.tool-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.tool-meta { margin-top: auto; padding-top: 1rem; color: var(--pine); font-size: .78rem; font-weight: 700; }
.tool-logo { width: 38px; height: 38px; object-fit: contain; border-radius: 8px; background: #f1efe8; }
.tool-logo[hidden] { display: none; }
.ad-reserve { margin: 2rem 0; padding: 1rem; border: 1px dashed #b4aea0; color: var(--muted); text-align: center; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.notice { max-width: 720px; margin: 2rem auto; }
.notice h1 { color: var(--pine); font-size: clamp(2rem, 5vw, 3.6rem); }
.notice p { color: var(--muted); }
.article { max-width: 840px; }
.article h1 { color: var(--pine); font-size: clamp(2.6rem, 6vw, 5rem); }
.lede { color: var(--muted); font-size: 1.16rem; }
.article-copy { margin-top: 2.5rem; font-size: 1.02rem; }
.article-copy p { max-width: 72ch; margin: 0 0 1.2rem; white-space: pre-line; }
.article .evidence-bar { font-size: .78rem; }
.button { display: inline-block; margin-top: .8rem; padding: .62rem .9rem; color: #fff; background: var(--pine); text-decoration: none; font-weight: 700; }
.site-footer { padding: 2rem clamp(1rem, 5vw, 5rem); border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
@media (max-width: 720px) { .site-header { align-items: flex-start; flex-wrap: wrap; } nav { order: 3; width: 100%; } .submit-link { margin-left: auto; } }
