/* Bot Trade Reconciliation Report — marketing site
   Design: a trustworthy financial-document feel. The product IS a report, so the report ledger is the
   hero. Serif headings (document voice), system sans body, real monospace for the ledger. Restrained
   cool-paper palette; the single teal accent is spent sparingly; green/red/amber are reserved as
   accounting semantics only. Fully offline: system fonts, no external requests, no scripts required. */

:root {
  --paper:   #eef2f5;
  --surface: #ffffff;
  --surface-2: #f6f8fa;
  --ink:     #16232e;
  --ink-2:   #33454f;
  --muted:   #5a6a76;
  --line:    #d7dfe6;
  --line-2:  #e7edf1;
  --accent:  #0f6d67;
  --accent-strong: #0b4f4a;
  --pos:     #1f7a4d;
  --neg:     #b23b3b;
  --warn:    #986515;
  --shadow:  0 1px 2px rgba(16,35,46,.06), 0 8px 28px rgba(16,35,46,.07);
  --radius:  10px;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans:  system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono:  ui-monospace, "SF Mono", "Cascadia Code", "JetBrains Mono", Menlo, Consolas, monospace;

  --wrap: 1060px;
  --gutter: clamp(16px, 5vw, 40px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper:   #0d141a;
    --surface: #141e25;
    --surface-2: #101920;
    --ink:     #e8eef2;
    --ink-2:   #c4d0d8;
    --muted:   #9aabb6;
    --line:    #263640;
    --line-2:  #1d2b33;
    --accent:  #52b6ae;
    --accent-strong: #7ccfc8;
    --pos:     #5fca8c;
    --neg:     #e28a8a;
    --warn:    #d8ab55;
    --shadow:  0 1px 2px rgba(0,0,0,.3), 0 10px 30px rgba(0,0,0,.35);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 .6em; }
h3 { font-size: 1.15rem; margin: 0 0 .3em; }
p { margin: 0 0 1em; color: var(--ink-2); }
a { color: var(--accent-strong); }
strong { color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow { color: var(--accent-strong); font-weight: 600; font-size: .92rem; margin: 0 0 .4rem; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--muted); }
section { padding-block: clamp(48px, 7vw, 84px); border-top: 1px solid var(--line-2); }
section:first-of-type { border-top: none; }

/* ---- top bar ---- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; gap: 20px; padding-block: 12px; }
.brand { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; text-decoration: none; color: var(--ink); }
.brand span { color: var(--accent-strong); }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: .96rem; }
.nav a:hover { color: var(--accent-strong); }
.btn {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  padding: 10px 18px; border-radius: 8px; font-weight: 600; font-size: .96rem; border: 1px solid var(--accent-strong);
  transition: background .15s ease;
}
.btn:hover { background: var(--accent-strong); }
.btn.ghost { background: transparent; color: var(--accent-strong); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--accent); background: var(--surface-2); }
@media (max-width: 760px) { .nav { display: none; } }

/* ---- hero ---- */
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.4rem; }
.hero-note { font-size: .9rem; color: var(--muted); margin-top: 1rem; }
@media (max-width: 880px) { .hero .wrap { grid-template-columns: 1fr; } }

/* ---- report ledger (the hero visual) ---- */
.report {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.report-head { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line-2); background: var(--surface-2); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.report-head .label { margin-left: auto; font: 600 .74rem/1 var(--sans); letter-spacing: .04em; color: var(--warn); border: 1px solid var(--warn); padding: 4px 8px; border-radius: 999px; }
.ledger { margin: 0; padding: 16px 18px; font-family: var(--mono); font-size: .8rem; line-height: 1.5; color: var(--ink-2); overflow-x: auto; white-space: pre; }
.ledger b { color: var(--ink); font-weight: 700; }
.ledger .pos { color: var(--pos); font-weight: 700; }
.ledger .neg { color: var(--neg); font-weight: 700; }
.ledger .flag { color: var(--warn); font-weight: 700; }
.ledger .rule { color: var(--line); }

/* ---- generic panels ---- */
.grid { display: grid; gap: 20px; }
.cols-2 { grid-template-columns: 1fr 1fr; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 800px) { .cols-2, .cols-3 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.card h3 { color: var(--ink); }

/* deliverables list */
.deliver { list-style: none; margin: 0; padding: 0; }
.deliver li { padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line-2); position: relative; color: var(--ink-2); }
.deliver li:last-child { border-bottom: none; }
.deliver li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 10px; height: 10px; border: 2px solid var(--accent); border-radius: 2px; }

/* supported / not supported */
.support { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 800px) { .support { grid-template-columns: 1fr; } }
.support ul { margin: .4rem 0 0; padding-left: 1.1rem; }
.support li { margin: .35rem 0; color: var(--ink-2); }
.support .yes { border-top: 3px solid var(--pos); }
.support .no { border-top: 3px solid var(--neg); }
.tag { display: inline-block; font: 600 .7rem/1 var(--sans); letter-spacing: .04em; padding: 3px 8px; border-radius: 6px; }
.tag.ok { color: var(--pos); background: color-mix(in srgb, var(--pos) 14%, transparent); }
.tag.nope { color: var(--neg); background: color-mix(in srgb, var(--neg) 14%, transparent); }

/* process steps (a genuine sequence -> numbered) */
.steps { counter-reset: step; display: grid; gap: 16px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.step .n { counter-increment: step; width: 34px; height: 34px; border-radius: 50%; background: var(--surface); border: 1px solid var(--accent); color: var(--accent-strong); font-family: var(--serif); font-weight: 600; display: grid; place-items: center; }
.step .n::before { content: counter(step); }
.turn { margin-top: 20px; padding: 14px 18px; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 8px; color: var(--ink-2); font-size: .96rem; }

/* faq */
details { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); margin-bottom: 10px; }
details + details { margin-top: 0; }
summary { cursor: pointer; padding: 15px 18px; font-weight: 600; color: var(--ink); list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--accent-strong); font-weight: 700; }
details[open] summary::after { content: "–"; }
details .body { padding: 0 18px 16px; color: var(--ink-2); }

/* callouts */
.note { border-left: 3px solid var(--accent); background: var(--surface-2); padding: 14px 18px; border-radius: 0 8px 8px 0; color: var(--ink-2); }
.note.warn { border-left-color: var(--warn); }

/* CTA band */
.cta-band { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow); }
.placeholder { display: inline-block; font-family: var(--mono); font-size: .9rem; background: color-mix(in srgb, var(--warn) 12%, transparent); color: var(--warn); border: 1px dashed var(--warn); padding: 8px 12px; border-radius: 6px; }

footer { padding-block: 40px; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); }
footer p { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--surface); padding: 8px 12px; border: 1px solid var(--accent); border-radius: 6px; z-index: 50; }
