/* calleraid.com — theme_06 Botanical Slate Studio */
:root {
  --bg: #f2f5f2;
  --surface: #ffffff;
  --ink: #1a2e1a;
  --accent: #15803d;
  --accent-ink: #ffffff;
  --muted: #4d634d;
  --line: #d7e0d7;
  --warn: #b45309;
  --fail: #b91c1c;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.65;
  font-size: 16px;
}
.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 0 0 8px 0; z-index: 10;
}
.skip:focus { left: 0; }

.site-head { border-bottom: 1px solid var(--line); background: var(--surface); }
.head-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; }
.brand { font-weight: 700; font-size: 1.15rem; color: var(--ink); text-decoration: none; letter-spacing: .02em; }
.site-head nav a { color: var(--muted); text-decoration: none; margin-left: 18px; font-size: .95rem; }
.site-head nav a:hover, .site-head nav a:focus { color: var(--accent); }

.disclosure-bar {
  background: #eef7ee; border: 1px solid #bfe0c6; border-radius: var(--radius);
  padding: 10px 16px; font-size: .9rem; color: var(--ink);
}
.disclosure-bar a { color: var(--accent); }

.hero { padding: 48px 0 28px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--accent); font-weight: 600; margin: 0 0 8px; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); line-height: 1.15; margin: 0 0 14px; }
h2 { font-size: 1.45rem; margin: 0 0 8px; }
h3 { font-size: 1.05rem; margin: 0 0 8px; }
.lede { font-size: 1.08rem; color: var(--muted); max-width: 62ch; margin: 0; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.mono, .pre-out { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.pre-out { white-space: pre-wrap; word-break: break-all; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px; max-height: 160px; overflow: auto; }

.panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; margin: 24px 0;
}
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 24px 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }

.grid-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 14px 0; }
.grid-form-3 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
label { display: flex; flex-direction: column; gap: 6px; font-size: .88rem; color: var(--muted); font-weight: 600; }
input, select {
  font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--bg); color: var(--ink);
}
input:focus, select:focus, button:focus, a:focus { outline: 3px solid #86c9a0; outline-offset: 2px; }

.verdict-row { display: flex; align-items: center; gap: 14px; margin: 10px 0; flex-wrap: wrap; }
.badge {
  display: inline-block; padding: 4px 14px; border-radius: 999px; font-weight: 700; font-size: .85rem;
  background: #e5e7eb; color: var(--ink);
}
.badge[data-verdict="PASS"], .meter-fill[data-verdict="PASS"] { background: var(--accent); color: #fff; }
.badge[data-verdict="WARN"] { background: var(--warn); color: #fff; }
.badge[data-verdict="FAIL"], .badge[data-verdict="NON-COMPLIANT"] { background: var(--fail); color: #fff; }
.badge[data-verdict="COMPLIANT"] { background: var(--accent); color: #fff; }
.badge[data-verdict="NEAR"] { background: var(--warn); color: #fff; }

.meter { height: 14px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; margin: 8px 0 16px; }
.meter-fill { height: 100%; background: var(--accent); transition: width .2s ease; }
.meter-fill[data-verdict="WARN"] { background: var(--warn); }
.meter-fill[data-verdict="FAIL"] { background: var(--fail); }

.stats { display: flex; gap: 28px; flex-wrap: wrap; margin: 0; }
.stats div { display: flex; flex-direction: column; }
.stats dt { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.stats dd { margin: 0; font-size: 1.3rem; font-weight: 700; }

.violations { list-style: none; padding: 0; margin: 8px 0; }
.violations li { padding: 8px 12px; border-radius: 10px; background: #fdf3e7; border: 1px solid #f0d9b8; margin: 6px 0; font-size: .92rem; }
.violations li.ok { background: #eef7ee; border-color: #bfe0c6; }

svg#tradeoff-svg { width: 100%; height: auto; display: block; margin-top: 12px; }
.axis { stroke: var(--line); stroke-width: 1; }
.line-lat { stroke: var(--accent); stroke-width: 2.5; }
.line-tp { stroke: #2563eb; stroke-width: 2.5; stroke-dasharray: 6 4; }
.dot-lat { fill: var(--accent); }
.lbl { fill: var(--muted); font-size: 11px; font-family: system-ui, sans-serif; }

.checklist { display: grid; gap: 10px; margin: 12px 0; }
.checklist label { flex-direction: row; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); }
.checklist input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent); }

table.data { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.data th, table.data td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
table.data th { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 12px 0; }
.pill {
  font: inherit; font-weight: 600; padding: 10px 22px; border-radius: 999px; border: 1px solid var(--accent);
  background: var(--accent); color: var(--accent-ink); cursor: pointer;
}
.pill:hover { filter: brightness(1.08); }
.pill-alt { background: var(--surface); color: var(--accent); }

.site-foot { border-top: 1px solid var(--line); background: var(--surface); margin-top: 40px; padding: 28px 0 40px; }
.site-foot p { margin: 0 0 10px; color: var(--muted); font-size: .9rem; }
.site-foot nav a { color: var(--muted); margin-right: 16px; font-size: .9rem; }
.site-foot nav a:hover { color: var(--accent); }

@media (max-width: 640px) {
  .head-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .panel { padding: 18px; }
}
