:root {
  --bg: #fbfaf7; --surface: #ffffff; --ink: #1b1d1f; --muted: #5d6166; --line: #e4e1da;
  --accent: #1f6f5c; --accent-ink: #ffffff; --tag: #eef5f2; --warn: #9a5b00;
  --radius: 10px; --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #131516; --surface: #1b1e20; --ink: #eceae6; --muted: #a2a6ab; --line: #2c3033;
    --accent: #5cc3a6; --accent-ink: #0f1a17; --tag: #1f2b27; --warn: #f0b35a;
  }
}
:root[data-theme="dark"] {
  --bg: #131516; --surface: #1b1e20; --ink: #eceae6; --muted: #a2a6ab; --line: #2c3033;
  --accent: #5cc3a6; --accent-ink: #0f1a17; --tag: #1f2b27; --warn: #f0b35a;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--font); }
a { color: var(--accent); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
header.top { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; }
header.top > span { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
@media (max-width: 520px) { header.top { gap: 10px; } header.top .btn { padding: 7px 11px; font-size: 14px; } }
.logo { font-weight: 700; letter-spacing: -0.02em; text-decoration: none; color: var(--ink); }
.logo span { color: var(--accent); }
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); padding: 11px 18px;
  border-radius: var(--radius); text-decoration: none; font: inherit; font-weight: 600; line-height: 1.3; border: 0; cursor: pointer; }
.btn.ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.hero { padding: 56px 0 40px; }
.hero h1 { font-size: clamp(30px, 5vw, 48px); line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 16px; max-width: 16ch; }
.hero p { font-size: 19px; color: var(--muted); max-width: 60ch; margin: 0 0 24px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
section { padding: 32px 0; }
section h2 { font-size: 26px; letter-spacing: -0.02em; margin: 0 0 16px; }
.price { font-size: 34px; font-weight: 700; }
.price small { font-size: 15px; color: var(--muted); font-weight: 400; }
.featured { border: 2px solid var(--accent); }
.pill { display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 99px; background: var(--tag); color: var(--accent); font-weight: 600; }
ul.check { padding-left: 18px; color: var(--muted); font-size: 15px; }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; padding: 24px 0 40px; margin-top: 32px; }
/* tracker */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 16px; }
.filters input, .filters select { font: inherit; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); }
.filters input { flex: 1 1 220px; }
.row { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 10px; }
.row .head { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; justify-content: space-between; }
.row .addr { font-weight: 650; }
.row .meta { color: var(--muted); font-size: 14px; }
.row .title { font-size: 14px; color: var(--muted); margin-top: 6px; }
.status-Passed, .status-Approved { color: var(--accent); }
.status-Denied, .status-Failed { color: var(--warn); }
.stats { display: flex; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 14px; margin-bottom: 8px; }
/* legal pages */
.legal { max-width: 760px; }
.legal h1 { font-size: 32px; letter-spacing: -0.02em; margin: 16px 0 8px; }
.legal h2 { font-size: 20px; margin: 28px 0 8px; }
.legal table { border-collapse: collapse; width: 100%; font-size: 14px; display: block; overflow-x: auto; }
.legal th, .legal td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
/* alerts */
.form label { display: block; font-weight: 600; margin: 16px 0 6px; }
.form .hint { color: var(--muted); font-size: 14px; font-weight: 400; }
.form input[type=text], .form select { font: inherit; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); width: 100%; }
.form .inline { display: flex; gap: 8px; flex-wrap: wrap; }
.form .inline input { flex: 1 1 260px; width: auto; }
.form .inline select { flex: 0 0 auto; width: auto; }
.form .btn { margin-top: 8px; }
.checks { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.checks label { font-weight: 400; margin: 0; display: flex; gap: 6px; align-items: center; }
.notice { background: var(--tag); border-radius: var(--radius); padding: 10px 14px; margin: 0 0 16px; }
.notice.err { color: var(--warn); }
.row form { display: inline; }
.btn.small { padding: 6px 12px; font-size: 14px; }
