/* Shared shell for the landing pages.
 *
 * Same tokens as the home page so these do not read as a different site, but
 * far less machinery: these pages are prose with a call to action, not an app.
 * Each one targets a search someone actually types — "receipts to spreadsheet",
 * not "document data extraction" — so they are narrow on purpose, and the
 * pattern repeats for every new document type. */

:root, [data-theme="light"] {
  color-scheme: light;
  --paper: #f4f3ee;
  --paper-2: #eceae2;
  --panel: #fbfaf7;
  --ink: #1a1c20;
  --sub: #56585c;
  --muted: #8a8a82;
  --hair: #deddd4;
  --accent: #3b46d6;
  --accent-hover: #2f3ac0;
  --accent-ink: #ffffff;
  --ok: #14713f; --ok-bg: #e9f4ed; --ok-line: #b6d9c4;
  --shadow: 0 1px 3px rgba(26,28,32,.06), 0 12px 32px rgba(26,28,32,.07);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #191714; --paper-2: #221f1b; --panel: #201d19;
    --ink: #ece9e3; --sub: #b1aba1; --muted: #8b857a; --hair: #322e28;
    --accent: #8592f2; --accent-hover: #9ba6f8; --accent-ink: #10132b;
    --ok: #74c99a; --ok-bg: #18241b; --ok-line: #2e4633;
    --shadow: 0 1px 3px rgba(0,0,0,.3), 0 12px 32px rgba(0,0,0,.35);
  }
}

[data-theme="dark"] {
  color-scheme: dark;
  --paper: #191714; --paper-2: #221f1b; --panel: #201d19;
  --ink: #ece9e3; --sub: #b1aba1; --muted: #8b857a; --hair: #322e28;
  --accent: #8592f2; --accent-hover: #9ba6f8; --accent-ink: #10132b;
  --ok: #74c99a; --ok-bg: #18241b; --ok-line: #2e4633;
  --shadow: 0 1px 3px rgba(0,0,0,.3), 0 12px 32px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16.5px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 780px; margin: 0 auto; padding: 0 24px; }

header { border-bottom: 1px solid var(--hair); padding: 18px 0; }
header .wrap { display: flex; align-items: center; gap: 14px; }
header b { font-size: 17px; letter-spacing: -0.02em; }
header a { color: inherit; text-decoration: none; }
header .tag { color: var(--muted); font-size: 13.5px; }
header .go { margin-left: auto; }

main { padding: 56px 0 40px; }

h1 {
  font-size: 40px; line-height: 1.08; letter-spacing: -0.035em;
  margin: 0 0 18px; font-weight: 800;
}
h2 {
  font-size: 25px; letter-spacing: -0.025em; font-weight: 700;
  margin: 52px 0 14px; padding-top: 26px; border-top: 1px solid var(--hair);
}
h3 { font-size: 17px; margin: 28px 0 8px; letter-spacing: -0.01em; }

.lede { font-size: 19px; line-height: 1.55; color: var(--sub); margin: 0 0 30px; }
p, li { color: var(--sub); }
li { margin-bottom: 8px; }
ul { padding-left: 22px; }
strong, b { color: var(--ink); font-weight: 650; }
a { color: var(--accent); }

.btn {
  display: inline-block; padding: 11px 20px; border-radius: 9px;
  background: var(--accent); color: var(--accent-ink);
  text-decoration: none; font-weight: 600; font-size: 15px;
  border: 1px solid transparent;
}
.btn:hover { background: var(--accent-hover); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--hair); }

.cta {
  background: var(--panel); border: 1px solid var(--hair); border-radius: 14px;
  padding: 26px 28px; margin: 44px 0 8px; box-shadow: var(--shadow);
}
.cta h2 { margin: 0 0 8px; border: 0; padding: 0; font-size: 21px; }
.cta p { margin: 0 0 18px; }

.check { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 16px; }
.check .tick {
  flex: none; width: 19px; height: 19px; margin-top: 2px; border-radius: 50%;
  background: var(--ok-bg); border: 1px solid var(--ok-line); color: var(--ok);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}

table { border-collapse: collapse; width: 100%; margin: 20px 0; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--hair); vertical-align: top; }
th { color: var(--ink); font-weight: 650; }
td { color: var(--sub); }

.note { color: var(--muted); font-size: 14px; }

footer {
  border-top: 1px solid var(--hair); padding: 26px 0 44px;
  color: var(--muted); font-size: 13.5px;
}
footer a { color: inherit; }

@media (max-width: 620px) {
  h1 { font-size: 31px; }
  h2 { font-size: 21px; }
  .lede { font-size: 17px; }
  .wrap { padding: 0 18px; }
  main { padding-top: 36px; }
  table, thead, tbody, th, td, tr { display: block; }
  thead { display: none; }
  td { border: 0; padding: 2px 0; }
  tr { border-bottom: 1px solid var(--hair); padding: 12px 0; }
  td:first-child { color: var(--ink); font-weight: 650; }
}
