:root {
  --bg: #ffffff;
  --fg: #16181d;
  --muted: #5b6270;
  --line: #e3e6eb;
  --card: #f6f7f9;
  --accent: #1d6f42;
  --accent-fg: #ffffff;
  --good: #1d6f42;
  --ok: #8a6100;
  --bad: #b3261e;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111317;
    --fg: #e8eaee;
    --muted: #9aa1ad;
    --line: #2a2e36;
    --card: #181b21;
    --accent: #3fae6f;
    --accent-fg: #0b1a11;
    --good: #5cc98a;
    --ok: #e0b44c;
    --bad: #ff8a80;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); }
main, .top, footer { max-width: 1000px; margin: 0 auto; padding: 0 16px; }
.top { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; padding-bottom: 16px; }
.brand { font-weight: 700; color: var(--fg); text-decoration: none; }
.top nav a { margin-left: 20px; color: var(--muted); text-decoration: none; }
section { padding: 40px 0; border-top: 1px solid var(--line); }
.hero { border-top: 0; padding-top: 48px; }
h1 { font-size: clamp(28px, 5vw, 44px); line-height: 1.15; margin: 0 0 16px; max-width: 18ch; }
.lead { font-size: 19px; color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.drop {
  display: block;
  margin-top: 28px;
  padding: 36px 24px;
  border: 2px dashed var(--line);
  border-radius: 14px;
  background: var(--card);
  text-align: center;
  cursor: pointer;
}
.drop.over, .drop:hover, .drop:focus-within { border-color: var(--accent); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop strong { display: block; font-size: 20px; margin-bottom: 6px; color: var(--accent); }
.drop span { color: var(--muted); }
.sample { margin: 12px 0 0; text-align: center; color: var(--muted); }
button.link { background: none; color: var(--accent); padding: 0; text-decoration: underline; }
.report h2 { margin-top: 0; word-break: break-word; }
.score { font-size: 24px; font-weight: 700; }
.good { color: var(--good); }
.ok { color: var(--ok); }
.bad { color: var(--bad); }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { text-align: left; padding: 6px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
td.formula { font-family: ui-monospace, Menlo, Consolas, monospace; max-width: 32ch; overflow-wrap: anywhere; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.cards article, .pricing article, .why .grid > div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; }
.cards article p, .pricing article ul { flex: 1; }
.pricing .featured { border-color: var(--accent); }
.price { font-size: 32px; font-weight: 700; margin: 4px 0; }
.price span { font-size: 16px; color: var(--muted); font-weight: 400; }
button {
  font: inherit;
  padding: 10px 16px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-fg);
  cursor: pointer;
}
button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
footer { display: flex; gap: 20px; padding-top: 24px; padding-bottom: 40px; color: var(--muted); border-top: 1px solid var(--line); }
dialog {
  width: min(440px, calc(100vw - 32px));
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  color: var(--fg);
  padding: 24px;
}
dialog::backdrop { background: rgb(0 0 0 / 45%); }
dialog h2 { margin-top: 0; padding-right: 24px; }
dialog label { display: block; margin: 12px 0; }
dialog input[type="email"], dialog select { display: block; width: 100%; margin-top: 4px; padding: 8px; font: inherit; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--fg); }
dialog .check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
dialog .actions { text-align: right; }
dialog .close { position: absolute; top: 12px; right: 12px; background: transparent; color: var(--muted); font-size: 22px; padding: 4px 10px; }
.prose { max-width: 70ch; }
@media (max-width: 600px) {
  .top nav a { margin-left: 12px; font-size: 14px; }
}
.turnstile { margin: 12px 0; min-height: 65px; }
