:root {
  --bg: #f7f6f2; --surface: #ffffff; --ink: #1c1f1d; --muted: #5d625e; --line: #e2e0d8;
  --brand: #1f6f54; --brand-ink: #ffffff; --brand-soft: #e3f1ea;
  --bad: #b3261e; --bad-soft: #fbe9e7; --warn: #8a5a00; --warn-soft: #fdf1d8; --ok: #1f6f54;
  --radius: 12px; --shadow: 0 1px 2px rgba(0,0,0,.05), 0 4px 16px rgba(0,0,0,.04);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #131614; --surface: #1b1f1d; --ink: #ecefeb; --muted: #a3aaa5; --line: #2c322f;
    --brand: #4fbf93; --brand-ink: #0c1310; --brand-soft: #1c3229;
    --bad: #ff8a80; --bad-soft: #3a1f1d; --warn: #f2c26b; --warn-soft: #362b17; --ok: #4fbf93;
    --shadow: none;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
a { color: var(--brand); }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 16px; }
header.site { border-bottom: 1px solid var(--line); background: var(--surface); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.logo { font-weight: 750; letter-spacing: -.02em; font-size: 1.15rem; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo span.dot { width: 22px; height: 22px; border-radius: 6px; background: var(--brand); display: inline-block; position: relative; }
.logo span.dot::after { content: ""; position: absolute; inset: 6px 5px; border: 2px solid var(--brand-ink); border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px,-1px); }
nav.top a { color: var(--muted); text-decoration: none; margin-left: 16px; font-size: .95rem; }
nav.top a:hover { color: var(--ink); }
h1 { font-size: clamp(1.7rem, 4.2vw, 2.6rem); line-height: 1.15; letter-spacing: -.025em; margin: 40px 0 12px; }
h2 { font-size: 1.35rem; letter-spacing: -.01em; margin: 36px 0 10px; }
h3 { font-size: 1.05rem; margin: 22px 0 6px; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 680px; margin: 0 0 24px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .92rem; margin-bottom: 28px; }
.trust b { color: var(--ink); font-weight: 600; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 680px) { .grid2 { grid-template-columns: 1fr; } nav.top a.hide-sm { display: none; } }
.drop { border: 2px dashed var(--line); border-radius: var(--radius); padding: 18px; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; min-height: 132px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.drop:hover, .drop.over { border-color: var(--brand); background: var(--brand-soft); }
.drop.done { border-style: solid; border-color: var(--brand); }
.drop .t { font-weight: 650; }
.drop .s { color: var(--muted); font-size: .9rem; }
.drop input { display: none; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }
button, .btn { font: inherit; font-weight: 600; border: 0; border-radius: 10px; padding: 11px 18px; cursor: pointer; background: var(--brand); color: var(--brand-ink); text-decoration: none; display: inline-block; }
button.ghost, .btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
button:disabled { opacity: .45; cursor: not-allowed; }
select, input[type=email] { font: inherit; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
label.inline { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: .95rem; }
.err { color: var(--bad); background: var(--bad-soft); padding: 10px 12px; border-radius: 10px; margin-top: 12px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 18px 0; }
@media (max-width: 680px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.stat .n { font-size: 1.7rem; font-weight: 750; letter-spacing: -.02em; line-height: 1.1; }
.stat .l { color: var(--muted); font-size: .85rem; }
.stat.bad .n { color: var(--bad); } .stat.ok .n { color: var(--ok); }
details.sec { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin: 10px 0; overflow: hidden; }
details.sec summary { padding: 14px 16px; cursor: pointer; font-weight: 650; display: flex; justify-content: space-between; gap: 10px; list-style: none; }
details.sec summary::-webkit-details-marker { display: none; }
details.sec summary .c { min-width: 2em; text-align: center; border-radius: 99px; padding: 0 8px; font-size: .9rem; background: var(--line); }
details.sec.bad summary .c { background: var(--bad-soft); color: var(--bad); }
details.sec.warn summary .c { background: var(--warn-soft); color: var(--warn); }
details.sec .why { padding: 0 16px 8px; color: var(--muted); font-size: .93rem; margin: 0; }
.tbl { overflow-x: auto; padding: 0 8px 12px; }
table { border-collapse: collapse; width: 100%; font-size: .92rem; }
th, td { text-align: left; padding: 8px; border-top: 1px solid var(--line); white-space: nowrap; }
td.name { white-space: normal; min-width: 160px; }
th { color: var(--muted); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .03em; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.pos { color: var(--bad); font-weight: 650; } .neg { color: var(--warn); font-weight: 650; }
.callout { background: var(--brand-soft); border-radius: var(--radius); padding: 18px 20px; margin: 22px 0; }
.callout h3 { margin-top: 0; }
.muted { color: var(--muted); }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 38px; margin: 10px 0; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 700; display: grid; place-items: center; font-size: .85rem; }
.prose { max-width: 720px; }
.prose p, .prose li { color: var(--ink); }
.helplist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 680px) { .helplist { grid-template-columns: 1fr; } }
.helplist a { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; }
.helplist a span { display: block; color: var(--muted); font-weight: 400; font-size: .9rem; }
.helplist a:hover { border-color: var(--brand); }
footer.site { border-top: 1px solid var(--line); margin-top: 56px; padding: 24px 0 40px; color: var(--muted); font-size: .88rem; }
footer.site a { color: var(--muted); margin-right: 14px; }
.hidden { display: none !important; }
.ok-msg { color: var(--ok); font-weight: 600; }
code { background: var(--line); padding: 1px 5px; border-radius: 5px; font-size: .9em; }
.callout.notify { margin-top: 36px; }
input.email { flex: 1; min-width: 220px; }
@media (max-width: 680px) {
  table { font-size: .84rem; }
  th, td { padding: 7px 5px; }
  td.name { min-width: 104px; }
  th { font-size: .72rem; letter-spacing: 0; }
}
details.sec summary .c { align-self: flex-start; height: fit-content; line-height: 1.6; }
.sku-sm { display: none; }
@media (max-width: 680px) {
  th.skucol, td.skucol { display: none; }
  .sku-sm { display: block; color: var(--muted); font-size: .78rem; }
}
nav.top a { white-space: nowrap; }
@media (max-width: 400px) { nav.top a { margin-left: 10px; font-size: .88rem; } }
