/* Same brand as the other Atesen Software tools: Plus Jakarta Sans headings, Inter text (system fallback), teal accent. */
:root {
  --bg: #ffffff;
  --surface: #f4f7f6;
  --ink: #0e1726;
  --muted: #4b5768;
  --line: #dbe3e0;
  --accent: #0f6b5c;
  --accent-dark: #0a5246;
  --accent-soft: #e3f3ef;
  --radius: 12px;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --head: "Plus Jakarta Sans", var(--sans);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--sans); }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.35rem, 2.3vw, 1.75rem); font-weight: 700; margin-bottom: 12px; }
h3 { font-size: 1.05rem; font-weight: 700; margin: 18px 0 4px; }
p { margin: 0; }
a { color: var(--accent); text-underline-offset: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; min-height: 60px; }
.brand { font: 800 1.15rem/1 var(--head); color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.brand small { font: 500 0.875rem/1 var(--sans); color: var(--muted); margin-left: 8px; letter-spacing: 0; }
.hero { padding: 64px 0 40px; }
.hero .lede { font-size: 1.2rem; color: var(--muted); margin-top: 18px; max-width: 34em; }
.cta { margin-top: 28px; }
.privacy { margin-top: 12px; color: var(--muted); font-size: 0.95rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 10px; background: var(--accent); color: #fff; font: 600 1rem/1 var(--sans); text-decoration: none; }
.btn:hover { background: var(--accent-dark); }
.btn.big { min-height: 56px; padding: 0 30px; font-size: 1.1rem; }
.band { padding: 36px 0; border-top: 1px solid var(--line); }
.band.last { padding-bottom: 56px; }
.sub { color: var(--muted); margin-top: 10px; }
.list, .steps { margin: 0; padding-left: 22px; display: grid; gap: 10px; }
.price-line { font-size: 1.1rem; }
footer.site { border-top: 1px solid var(--line); padding: 20px 0 32px; color: var(--muted); font-size: 0.9rem; }
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .hero { padding: 40px 0 28px; }
  .btn.big { width: 100%; }
  .brand small { display: block; margin: 6px 0 0; }
}
/* Reportbell additions */
[hidden] { display: none !important; }
button.btn { border: 0; cursor: pointer; }
.hero-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.feats { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 4px; color: var(--muted); }
.feats li::before { content: "✓ "; color: var(--accent); font-weight: 700; }
.shot { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px rgba(14, 23, 38, 0.08); background: var(--surface); }
.shot img { display: block; width: 100%; height: auto; }
.msg { margin-top: 14px; font-weight: 600; color: var(--accent-dark); }
.msg:empty { display: none; }
.checked { margin-top: 18px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.checked h3 { margin: 0 0 6px; }
.checked ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--muted); font-size: 0.95rem; }
.band h3 { margin-top: 18px; }
.doc h2 { margin-top: 26px; }
.doc p, .doc ul { margin-top: 8px; }
.doc ul { padding-left: 22px; display: grid; gap: 6px; }
/* Audit Pack additions */
.diff { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; }
.diff li { padding-left: 28px; position: relative; }
.diff li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.price { margin-top: 22px; font: 700 1.15rem/1.4 var(--head); }
.price s { color: var(--muted); font-weight: 500; margin-left: 6px; }
.price small { display: block; font: 400 0.95rem/1.5 var(--sans); color: var(--muted); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.not { margin-top: 14px; color: var(--muted); font-size: 0.95rem; }
.sample { margin: 24px 0 0; }
.sample img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 10px; }
.sample figcaption { margin-top: 8px; color: var(--muted); font-size: 0.95rem; }
/* Metafield CSV checker */
.small { font-size: 0.95rem; margin-top: 8px; }
.muted { color: var(--muted); }
.mt { margin-top: 30px; }
.field-label { display: block; font-weight: 600; margin: 16px 0 6px; }
textarea { display: block; width: 100%; min-height: 128px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); font: 15px/1.5 ui-monospace, "Cascadia Mono", Consolas, monospace; resize: vertical; }
textarea:focus, .btn:focus-visible, .link-btn:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 2px; border-color: var(--accent); }
code { font: 0.92em/1.4 ui-monospace, "Cascadia Mono", Consolas, monospace; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 1px 5px; overflow-wrap: anywhere; }
.file-btn { cursor: pointer; margin-top: 4px; }
input.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.file-btn:has(+ input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.link-btn { border: 0; background: none; padding: 8px 4px; margin-left: 10px; color: var(--accent); font: 600 1rem/1.3 var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 44px; }
button:disabled { opacity: 0.5; cursor: not-allowed; }
.notice { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: #fff4e5; border: 1px solid #f3d3a6; }
#summary { font-weight: 600; }
.table-wrap { margin-top: 16px; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
#issues { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
#issues th, #issues td { padding: 9px 10px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
#issues th { background: var(--surface); font-weight: 600; white-space: nowrap; }
#issues td:first-child { color: var(--muted); text-align: right; width: 1%; }
#issues td:nth-child(2), #issues td:nth-child(4), #issues td:nth-child(5) { overflow-wrap: break-word; word-break: break-word; min-width: 9em; white-space: pre-line; }
#issues td:nth-child(3) { min-width: 16em; }
#issues tr.error td:nth-child(3) { color: #a3261b; }
#issues tr.warning td:nth-child(3) { color: #8a5300; }
#issues tbody tr:last-child td { border-bottom: 0; }
#buy { margin-top: 24px; }
#buy h3 { margin-top: 0; }
#buy p { margin-top: 8px; }
@media (max-width: 600px) {
  .link-btn { margin: 8px 0 0; display: block; }
  /* On a phone each issue is a small card: label on the left, text on the right. */
  .table-wrap { border: 0; overflow: visible; }
  #issues, #issues tbody, #issues tr, #issues td { display: block; }
  #issues thead { display: none; }
  #issues tr { border: 1px solid var(--line); border-radius: 10px; padding: 6px 0; margin-bottom: 10px; }
  #issues td:nth-child(n) { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); overflow-wrap: anywhere; word-break: normal; gap: 8px; width: auto; min-width: 0; text-align: left; color: inherit; border: 0; padding: 4px 12px; }
  #issues td::before { content: attr(data-label); color: var(--muted); font-weight: 600; }
  #issues td:empty { display: none; }
  #issues tbody tr:last-child td { border: 0; }
}
.paid { margin-top: 22px; }
.paid summary { cursor: pointer; color: var(--accent); font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.txn-form { display: grid; gap: 8px; max-width: 420px; }
.txn-form input { min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; font: 15px/1.4 ui-monospace, "Cascadia Mono", Consolas, monospace; }
.txn-form .btn { justify-self: start; }
/* 13.11 redesign after the 6.5 score: trust row, file-first flow, filters, clearer purchase card */
.trust { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 0.95rem; }
.trust li span { color: var(--accent); font-weight: 800; margin-right: 6px; }
.cta.tight { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.opt { font: 600 0.875rem/1 var(--sans); color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; vertical-align: middle; margin-left: 8px; letter-spacing: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 8px 14px; min-height: 40px; font: 600 0.95rem/1 var(--sans); cursor: pointer; }
.chip span { margin-left: 6px; color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip[aria-pressed="true"] span { color: #d7dee6; }
.chip.err[aria-pressed="false"] span { color: #a3261b; }
.chip.warn[aria-pressed="false"] span { color: #8a5300; }
#issues[data-filter="error"] tr.warning, #issues[data-filter="warning"] tr.error { display: none !important; }
.buy-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.gets { margin: 10px 0 0; padding-left: 0; list-style: none; display: grid; gap: 8px; }
.gets li { padding-left: 26px; position: relative; }
.gets li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.price-box { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.price-now { margin: 0; }
.price-now b { font: 800 2rem/1 var(--head); }
.price-now span { color: var(--muted); margin-left: 6px; }
.price-box .btn { width: 100%; }
@media (max-width: 760px) { .buy-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .trust { flex-direction: column; gap: 6px; }
  #issues tr { padding: 4px 0; margin-bottom: 8px; }
  #issues td:nth-child(n) { grid-template-columns: 5.5em minmax(0, 1fr); padding: 3px 12px; font-size: 0.95rem; }
}
/* 13.11 round 2 (score 7): company line, tighter hero, step 1 as a card, fixes stand out */
header.site .wrap { justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.by { color: var(--muted); font-size: 0.95rem; }
.by a { color: var(--muted); }
.hero { padding: 48px 0 28px; }
.hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
#check .wrap { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding-top: 24px; padding-bottom: 24px; box-shadow: 0 10px 30px rgba(14, 23, 38, 0.06); }
#check { border-top: 0; padding-top: 8px; }
#summary { font-size: 1.1rem; }
#issues tr.fixable td:nth-child(4) { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(163, 38, 27, 0.5); }
#issues tr.fixable td:nth-child(5) { color: var(--accent-dark); font-weight: 700; }
@media (min-width: 601px) { #issues tr.fixable td:nth-child(5)::after { content: " ✓"; color: var(--accent); } }
@media (max-width: 600px) {
  .by { display: none; }
  .hero { padding: 32px 0 20px; }
  #check .wrap { border-radius: 12px; margin: 0 12px; padding-left: 16px; padding-right: 16px; }
}
/* 13.11 round 3 (score 7): summary tiles, after-payment flow, compact phone cards */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 16px 0 6px; }
.stats div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.stats b { display: block; font: 800 1.9rem/1 var(--head); }
.stats span { color: var(--muted); font-size: 0.95rem; }
.stats .ok b { color: var(--accent); }
.stats .todo b { color: #a3261b; }
#summary { font-size: 1rem; color: var(--muted); font-weight: 500; }
.flow { margin: 14px 0 0; padding-left: 22px; display: grid; gap: 6px; }
.flow li::marker { color: var(--accent); font-weight: 800; }
@media (max-width: 600px) {
  .stats { gap: 8px; }
  .stats div { padding: 10px; }
  .stats b { font-size: 1.5rem; }
  /* One compact card per problem: "Row 2 · column" on one line, the problem, then value → fix. */
  #issues tr { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 8px; padding: 10px 12px; }
  #issues td:nth-child(n) { display: block; padding: 2px 0; grid-template-columns: none; }
  #issues td:nth-child(n)::before { content: none; }
  #issues td:nth-child(1)::before { content: "Row "; }
  #issues td:nth-child(1) { color: var(--muted); font-weight: 600; }
  #issues td:nth-child(2) { font-weight: 700; }
  #issues td:nth-child(3), #issues td:nth-child(4), #issues td:nth-child(5) { grid-column: 1 / -1; }
  #issues td:nth-child(4)::before { content: "Found: "; color: var(--muted); text-decoration: none; display: inline-block; margin-right: 4px; }
  #issues td:nth-child(5)::before { content: "Fix: "; color: var(--muted); font-weight: 600; margin-right: 4px; }
}
@media (max-width: 600px) { #issues td:nth-child(n):empty { display: none; } }
