:root{color-scheme:light;--ink:#11372b;--forest:#064e3b;--green:#047857;--mint:#6ee7b7;--pale:#ecfdf5;--muted:#466459;--line:#cbded3;--paper:#f7faf7;font:100%/1.55 system-ui,sans-serif}
*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper)}a{color:var(--forest)}button,input,textarea{font:inherit}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #0b8569;outline-offset:4px}[hidden]{display:none!important}.skip{position:absolute;top:-100px}.skip:focus{top:8px;left:8px;background:white;padding:10px;z-index:1}
header,footer{background:white;border-bottom:1px solid var(--line)}.bar{max-width:1280px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem clamp(1rem,4vw,3.5rem)}.brand{display:inline-flex;align-items:center;gap:.55rem;font-size:1.5rem;font-weight:850;letter-spacing:-.06em;text-decoration:none}.brand img{width:32px;height:32px}nav{display:flex;flex-wrap:wrap;gap:clamp(.75rem,3vw,2rem)}nav a{font-weight:650;text-decoration:none}nav a:hover,.quiet:hover{text-decoration:underline}footer{border-top:1px solid var(--line);border-bottom:0;color:var(--muted)}
main{max-width:1280px;margin:auto;padding:clamp(1rem,4vw,3.5rem)}h1,h2,h3,p{margin-top:0}h1,h2{line-height:1.05;letter-spacing:-.048em}h1{font:700 clamp(2.6rem,7.5vw,6.2rem)/.99 Georgia,serif;letter-spacing:-.065em;margin-bottom:1.4rem}h2{font-size:clamp(1.5rem,3.5vw,2.35rem);margin-bottom:.7rem}h3{line-height:1.18}em{color:var(--green)}.eyebrow{font-size:.78rem;font-weight:750;letter-spacing:.12em;color:var(--forest)}.hero{display:grid;grid-template-columns:1.55fr 1fr;align-items:center;gap:clamp(1.5rem,4vw,4rem);border-radius:28px;padding:clamp(1.4rem,5vw,4.4rem);background:radial-gradient(ellipse at right bottom,#c2f3db,transparent 65%),var(--pale);border:1px solid #c3e9d7}.hero div>p:not(.eyebrow){max-width:36em;color:var(--muted);font-size:1.08rem}.button,button{display:inline-block;border:1px solid var(--line);padding:.62rem .95rem;border-radius:10px;background:white;color:var(--forest);font-weight:680;text-decoration:none}.button{background:var(--forest);color:white;border-color:var(--forest)}.button:hover{background:var(--green)}button:hover{border-color:var(--green)}.quiet{display:inline-block;margin:.5rem 0 .5rem 1rem;font-weight:700}.hero aside{border-radius:18px;padding:1.3rem;background:var(--forest);color:white;box-shadow:0 15px 30px #064e3b19}.hero aside .eyebrow{color:var(--mint)}.hero aside a{display:flex;align-items:center;gap:.9rem;border-top:1px solid #ffffff45;padding:.85rem 0;color:white;text-decoration:none}.hero aside a:hover strong{text-decoration:underline}.hero aside span,.icon{display:grid;place-items:center;background:#c9f7e2;color:var(--forest);border-radius:10px;width:40px;height:40px;flex:none;font-weight:750}.hero aside small{display:block;color:#cbefdf}.tools{padding-top:3rem}.section-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.7rem;margin-bottom:1rem}.section-head p,.card p{color:var(--muted);margin-bottom:0}.filters,.actions{display:flex;flex-wrap:wrap;gap:.5rem}.filters button[aria-pressed=true]{background:var(--forest);color:white}.cards,.metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.card,.panel{border:1px solid var(--line);border-radius:16px;padding:1.25rem;background:white;min-width:0}.card{display:block;text-decoration:none;position:relative}.card:hover{border-color:var(--green);box-shadow:0 4px 16px #064e3b14}.card small{position:absolute;top:1.4rem;right:1.25rem;color:var(--muted)}.card h3{margin:1rem 0 .45rem}.tool-page{max-width:1080px;margin:auto}.narrow{max-width:760px;min-height:45vh}.tool-page h1{font-size:clamp(2.65rem,7vw,4.75rem)}.crumb,.local{color:var(--muted);font-size:.95rem}.lede{font-size:1.2rem}.workspace,.metric-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;align-items:start}.panel h2,.tip h2{font-size:1.5rem}.tip{margin-top:1.5rem;padding:1.25rem;border-radius:14px;background:var(--pale);border:1px solid var(--line)}label{display:block;font-weight:650;margin:.7rem 0}label small{font-size:.86rem;font-weight:400}input:not([type=checkbox]),textarea{display:block;width:100%;margin-top:.3rem;border:1px solid #91ab9d;border-radius:8px;padding:.55rem .65rem;background:#fcfffc;color:var(--ink)}textarea{resize:vertical}.output textarea{margin-bottom:.8rem}.table-scroll{overflow-x:auto;margin-bottom:1rem}table{border-collapse:collapse;text-align:left;width:100%}th,td{padding:.4rem;vertical-align:top;border-bottom:1px solid var(--line)}td input{min-width:9rem}td button{white-space:nowrap}.check{display:flex;align-items:center;gap:.55rem}.check input{accent-color:var(--green);width:1.1rem;height:1.1rem;flex:none}.metric output{display:block;margin-top:.8rem;font-size:1.1rem;font-weight:700}dl{margin:0}dl div{padding:.6rem 0;border-top:1px solid var(--line)}dt{font-weight:750}dd{margin:0;color:var(--muted)}
@media(max-width:800px){.hero{grid-template-columns:1fr}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.bar{align-items:flex-start;flex-direction:column;gap:.5rem}.cards,.workspace,.metric-grid{grid-template-columns:1fr}.quiet{margin-left:0;display:block}.filters button{padding:.45rem .7rem}}

/* Editorial layout */
:root {
  --ink: #102c23;
  --forest: #064e3b;
  --green: #047857;
  --mint: #a6f2cc;
  --pale: #e4f8ed;
  --muted: #486158;
  --line: #c9d9cf;
  --paper: #f5f8f5;
}
body { font-family: system-ui, sans-serif; }
header { background: var(--paper); }
.bar, main { max-width: 1320px; }
.brand { font-size: 1.55rem; letter-spacing: -.075em; }
.brand img { width: 29px; height: 29px; }
nav a { font-size: .9rem; }
.hero {
  position: relative;
  isolation: isolate;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, .85fr);
  gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(2rem, 6vw, 5.3rem);
  border-radius: 4px;
  border: 0;
  background: #0b3529;
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 53%;
  background: repeating-linear-gradient(135deg, transparent 0 22px, #b4f5ce28 22px 23px);
  mask-image: linear-gradient(90deg, transparent, #000);
}
.hero h1 {
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-weight: 600;
  font-size: clamp(3.1rem, 7.05vw, 6.5rem);
  line-height: .94;
  letter-spacing: -.075em;
  margin: .45rem 0 1.5rem;
}
.hero h1 em { color: var(--mint); font-weight: inherit; }
.hero .eyebrow { color: var(--mint); font-size: .75rem; letter-spacing: .17em; }
.hero .hero-copy > p:not(.eyebrow) { color: #d9ebe2; max-width: 39ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.15rem; margin-top: 1.8rem; }
.hero .button { background: var(--mint); border-color: var(--mint); color: #12382a; }
.hero .button:hover { background: #d0f9e2; }
.hero .quiet { color: #fff; margin: 0; text-underline-offset: .2em; }
.hero :focus-visible { outline-color: #fff; }
.hero aside {
  background: #effaf2;
  border: 1px solid #fff;
  border-radius: 3px;
  color: var(--ink);
  padding: clamp(1rem, 2.5vw, 1.65rem);
  box-shadow: 10px 10px 0 #a6f2cc40;
}
.hero aside .eyebrow { color: var(--forest); }
.hero aside a { padding: .85rem 0; color: var(--ink); border-color: #c5dbce; }
.hero aside a:last-child { padding-bottom: .25rem; }
.hero aside a:focus-visible { outline-color: var(--green); }
.hero aside a small { color: var(--muted); }
.hero aside span, .icon { background: #dbf4e5; border-radius: 4px; }
.tools { padding-top: clamp(2.5rem, 5vw, 4.6rem); }
.section-head { padding-bottom: .9rem; border-bottom: 1px solid var(--line); margin-bottom: 1.1rem; }
.section-head h2 { margin: 0; }
.button, button { border-radius: 5px; }
.filters button { background: transparent; border-color: transparent; padding: .42rem .7rem; }
.filters button:hover { border-color: var(--green); }
.cards { gap: .8rem; }
.card, .panel { border-radius: 5px; }
.card { padding: 1.3rem; border-top: 3px solid #86c5a5; }
.card[data-category="Plan"] { border-top-color: #689888; }
.card[data-category="Measure"] { border-top-color: #3b886f; }
.card[data-category="Learn"] { border-top-color: #657d71; }
.card:hover { box-shadow: 0 5px 16px #064e3b12; }
.card h3 { font-size: 1.18rem; letter-spacing: -.025em; }
.card small { font-weight: 650; }
.tool-page h1 { font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif; font-weight: 600; text-wrap: balance; }
.tool-page .local { margin-bottom: 1.5rem; padding: .65rem .9rem; background: var(--pale); border-left: 3px solid var(--green); }
.panel { padding: clamp(1rem, 3vw, 1.6rem); }
.output { border-top: 3px solid var(--green); }
.tip { border-radius: 5px; }
footer { margin-top: 1rem; }
footer p { margin: .15rem 0 0; font-size: .9rem; }
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; }
  .hero::before { inset: 40% 0 0 0; mask-image: linear-gradient(135deg, transparent, #000); }
}
@media (max-width: 480px) {
  header .bar { flex-direction: row; align-items: center; gap: .65rem; }
  header nav { gap: .65rem; }
  header nav a { font-size: .84rem; }
  .hero { padding: 1.4rem; }
  .hero h1 { font-size: clamp(2.65rem, 11.3vw, 3.6rem); }
}

.wordmark {
  display: inline-block;
  color: #000;
  font-weight: 850;
  letter-spacing: -.075em;
  white-space: nowrap;
}
.wordmark-green { color: #047857; }
header .brand {
  font-size: clamp(2.8rem, 21vw, 9.3rem);
  line-height: .95;
}
@media (max-width: 700px) {
  header .bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

:root { --paper: #fff; }

/* Neutral surfaces balance the green hero and wordmark. */
.hero em, .hero .eyebrow { color: #fff; }
.hero .button { background: #fff; border-color: #fff; color: #111; }
.hero .button:hover { background: #e9e9e9; border-color: #e9e9e9; }
.hero aside { background: #fff; color: #111; box-shadow: 10px 10px 0 #ffffff38; }
.hero aside .eyebrow, .hero aside a { color: #111; }
.hero aside a { border-color: #ddd; }
.hero aside a small { color: #505050; }
.hero aside span, .icon { background: #f2f2f2; color: #111; }
header nav a, .section-head h2, .card h3 { color: #111; }
.section-head { border-color: #ddd; }
.filters button { color: #222; }
.filters button[aria-pressed=true] { background: #111; color: #fff; }
.card { border-right-color: #ddd; border-bottom-color: #ddd; border-left-color: #ddd; }
.card p, .card small { color: #505050; }
