:root {
  --ink: #16231c;
  --muted: #5a6a62;
  --paper: #f6f3ed;
  --card: #fffdf8;
  --line: #d8d2c6;
  --accent: #1c6b4a;
  --accent-2: #0e4a34;
  --focus: #1c6b4a;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 18px/1.55 "Source Sans 3", "Source Sans Pro", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
a { color: var(--accent-2); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; }
.wrap { max-width: 780px; margin: 0 auto; padding: 0 24px; }
.wide { max-width: 880px; }
header {
  border-bottom: 1px solid var(--line);
  background: #fffdf8;
}
header .wrap, footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}
.brand {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--ink);
}
nav { display: flex; gap: 0.95rem; flex-wrap: wrap; font-size: 0.95rem; }
nav a { text-decoration: none; color: var(--ink); }
nav a:hover, nav a[aria-current="page"] { text-decoration: underline; }
main { padding: 2.2rem 0 3.5rem; }
h1 { font-size: clamp(1.8rem, 3vw, 2.35rem); line-height: 1.2; letter-spacing: -0.02em; margin: 0.3rem 0 0.8rem; }
h2 { font-size: 1.35rem; margin-top: 2rem; }
h3 { font-size: 1.08rem; }
.lede { font-size: 1.12rem; color: var(--muted); margin-top: 0; }
.kicker {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 700;
  margin: 0;
}
.status {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
  color: var(--muted);
  background: #fff;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.15rem 1.25rem 1.3rem;
}
.card h2 { margin-top: 0.35rem; }
.card p:last-child { margin-bottom: 0; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
  background: var(--card);
}
th, td {
  text-align: left;
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th { font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }
.note {
  font-size: 0.95rem;
  color: var(--muted);
  border-left: 3px solid var(--line);
  padding: 0.15rem 0 0.15rem 0.9rem;
}
pre, code {
  font-family: "Source Code Pro", "DejaVu Sans Mono", ui-monospace, monospace;
  font-size: 0.86rem;
}
pre {
  background: #16231c;
  color: #f3efe6;
  padding: 1rem 1.1rem;
  border-radius: 10px;
  overflow-x: auto;
  line-height: 1.45;
}
form.waitlist {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}
form.waitlist label.field, form.waitlist .consent {
  display: block;
  font-size: 0.95rem;
}
input[type="email"] {
  width: 100%;
  margin-top: 0.3rem;
  padding: 0.65rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  background: #fff;
}
input[type="checkbox"] { margin-right: 0.45rem; }
.hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
}
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  text-decoration: none;
  border: 0;
  border-radius: 8px;
  padding: 0.7rem 1.1rem;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  width: fit-content;
}
.btn:hover { background: var(--accent-2); }
.btn.secondary {
  background: transparent;
  color: var(--accent-2) !important;
  border: 1px solid var(--line);
}
.form-msg { font-size: 0.95rem; min-height: 1.2em; }
.form-msg.ok { color: var(--accent-2); }
.form-msg.err { color: #8a2b1a; }
footer {
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
  background: #fffdf8;
}
footer a { color: var(--muted); }
.support-slot { color: var(--ink); }
ul.plain { padding-left: 1.15rem; }
li { margin: 0.25rem 0; }
.limitations { background: #fff; }
@media (max-width: 560px) {
  body { font-size: 17px; }
  nav { gap: 0.7rem; }
}

.metric {
  font-size: 0.92rem;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
}
.crumbs { font-size: 0.9rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.guide-list { list-style: none; padding: 0; }
.guide-list li { margin: 0; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.guide-list strong { display: block; }
.bid-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 800px) { .bid-grid { grid-template-columns: 1fr; } }
.bid-card input[type="text"], .bid-card input[type="number"], .bid-card select, .bid-card textarea {
  width: 100%;
  margin: 0.2rem 0 0.6rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  background: #fff;
}
.bid-card table { font-size: 0.92rem; }
.bid-card td { padding: 0.25rem; }
.bid-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0; }
.linkish { background: none; border: 0; color: var(--accent-2); cursor: pointer; font: inherit; text-decoration: underline; padding: 0; }
table.cmp th:first-child, table.cmp td:first-child { width: 40%; }
#after-capture { margin-top: 1.5rem; }
@media print {
  header, footer, nav, .bid-actions, #after-capture, .no-print, form.waitlist { display: none !important; }
  body { background: #fff; }
  main { padding: 0; }
  .bid-grid { display: none; }
  #results { display: block !important; }
  a[href]::after { content: ""; }
}

/* QA 2026-11-20: keep wide data tables from widening the page on phones, and
   give the header brand link a tap target of at least 24px. */
.brand { display: inline-block; padding: 0.25rem 0; }
@media (max-width: 560px) {
  main table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
