:root {
  color-scheme: light;
  --pale: #f9f4e8;
  --ink: #182c2c;
  --muted: #475c58;
  --line: #c3d0c8;
  --green: #235e48;
  --orange: #a34b22;
  --blue: #355e78;
  --neutral: #ccd9d0;
  font: 1rem/1.55 system-ui, sans-serif;
  color: var(--ink);
  background: #eef2ed;
}
* { box-sizing: border-box; }
main { max-width: 78rem; margin: 0 auto; padding: 2rem clamp(1rem, 4.5vw, 4.75rem) 3rem; }
a { color: var(--green); text-underline-offset: 3px; }
.brand { font-weight: 800; }
.brand span { font-weight: 550; }
header { padding: 1.55rem 0 1.6rem; border-bottom: 1px solid var(--line); margin-bottom: 1.45rem; }
h1 { font: 500 clamp(2.2rem, 5.4vw, 5rem)/.97 Georgia, serif; letter-spacing: -.055em; margin: 0; color: #163c30; }
header p { font-size: clamp(1rem, 1.8vw, 1.15rem); max-width: 62ch; margin: 1rem 0 0; }
h2 { font: 500 clamp(1.52rem, 2.3vw, 2rem)/1.08 Georgia, serif; letter-spacing: -.03em; margin: 0; }
.workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 1rem; }
.scenario, .results { padding: clamp(.9rem, 2.4vw, 1.6rem); border: 1px solid var(--line); border-radius: 12px; }
.scenario { background: #fcfaf2; }
.results { background: #f8fbf7; }
.scenario p,.method p { margin: .6rem 0 0; color: var(--muted); }
.range-readout { display: flex; justify-content: space-between; align-items: end; margin-top: 1.1rem; gap: .5rem; font-weight: 700; }
output { color: var(--green); font: 500 2.6rem/1 Georgia, serif; font-variant-numeric: tabular-nums; }
input[type=range] { width: 100%; display: block; min-height: 44px; margin: .12rem 0 0; accent-color: var(--green); cursor: pointer; }
.range-scale { color: var(--muted); font-size: .83rem; display: flex; justify-content: space-between; }
.actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
button { min-height: 44px; background: transparent; border: 1px solid var(--green); color: var(--green); border-radius: 6px; font: 700 .85rem/1.2 system-ui, sans-serif; padding: .48rem .65rem; cursor: pointer; }
button:hover { background: #e4ece1; }
:where(input, button, a):focus-visible { outline: 3px solid #985229; outline-offset: 3px; }
.strip { display: flex; height: 1.15rem; border-radius: 4px; overflow: hidden; margin: 1rem 0 .7rem; }
.strip i { min-width: 0; flex: var(--count) 1 0; }
.brand-only { background: var(--green); }
.both { background: var(--orange); }
.link-only { background: var(--blue); }
.neither { background: var(--neutral); }
dl { margin: 0; }
dl div, .total { display: flex; gap: .5rem; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--line); padding: .41rem 0; }
dt b { display: inline-block; width: .72rem; height: .72rem; border-radius: 2px; margin-right: .4rem; }
dd { margin: 0; font-weight: 750; font-variant-numeric: tabular-nums; }
.total { border: 0; padding-bottom: 0; margin: .5rem 0 0; font-weight: 710; }
.total strong { color: var(--green); }
.method { max-width: 69ch; margin-top: 1.6rem; }
@media (max-width: 43rem) {
  main { padding-top: 1.15rem; }
  .workspace { grid-template-columns: 1fr; }
  .wide-break { display: none; }
}
