/* sweepsdata.io marketing site. Same brand as the app (public/app.css). */
:root {
  --bg: #f6f7fb; --panel: #ffffff; --panel-2: #eef1f8; --ink: #141a2e; --muted: #5d6680; --line: #dfe3ee;
  --accent: #4f46e5; --accent-hover: #4338ca; --accent-soft: #eceafd; --accent-ink: #ffffff;
  --dep: #0f8a5f; --dep-bg: #e3f6ee; --pay: #d4561c; --pay-bg: #fdeee6; --net: #2563eb; --net-bg: #e6eefd;
  --shadow: 0 1px 2px rgba(20, 26, 46, .06), 0 8px 24px rgba(20, 26, 46, .06);
  --radius: 14px; --max: 1120px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1120; --panel: #171b2e; --panel-2: #1d2238; --ink: #e9ecf7; --muted: #9aa2bf; --line: #2a3050;
    --accent: #7c74ff; --accent-hover: #918aff; --accent-soft: #24234a; --accent-ink: #0e1120;
    --dep: #34c88f; --dep-bg: #12291f; --pay: #ff8a4f; --pay-bg: #2e1c12; --net: #6f9cff; --net-bg: #16213d;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e1120; --panel: #171b2e; --panel-2: #1d2238; --ink: #e9ecf7; --muted: #9aa2bf; --line: #2a3050;
  --accent: #7c74ff; --accent-hover: #918aff; --accent-soft: #24234a; --accent-ink: #0e1120;
  --dep: #34c88f; --dep-bg: #12291f; --pay: #ff8a4f; --pay-bg: #2e1c12; --net: #6f9cff; --net-bg: #16213d;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
img, svg { max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.01em; color: var(--ink); text-decoration: none; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.site-nav { display: flex; gap: 22px; margin-left: 20px; }
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.site-nav a:hover { color: var(--ink); }
.spacer { flex: 1; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 10px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid var(--line); color: var(--ink); background: var(--panel); white-space: nowrap; }
.btn:hover { border-color: var(--muted); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn.big { height: 50px; padding: 0 24px; font-size: 16px; }
@media (max-width: 720px) { .site-nav { display: none; } }

/* Hero */
.hero { padding: 72px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 4px 10px; border-radius: 99px; }
h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.08; letter-spacing: -.025em; margin: 16px 0; }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 900px) { .hero { padding-top: 44px; } .hero .wrap { grid-template-columns: 1fr; gap: 36px; } }

/* App preview (made of HTML, sample numbers only) */
.preview { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 18px; }
.preview-bar { display: flex; gap: 6px; margin-bottom: 14px; }
.preview-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tile { border-radius: 10px; padding: 10px 12px; border-left: 4px solid var(--c); background: var(--cb); min-width: 0; }
.tile .k { font-size: 12px; color: var(--muted); }
.tile .v { font-size: 20px; font-weight: 800; color: var(--c); font-variant-numeric: tabular-nums; }
.tile.dep { --c: var(--dep); --cb: var(--dep-bg); }
.tile.pay { --c: var(--pay); --cb: var(--pay-bg); }
.tile.net { --c: var(--net); --cb: var(--net-bg); }
.mini-chart { margin: 14px 0 6px; display: block; width: 100%; height: auto; }
.mini-chart .grid { stroke: var(--line); stroke-width: 1; }
.rows { display: grid; gap: 6px; font-size: 13px; }
.row { display: grid; grid-template-columns: 68px 1fr auto; gap: 10px; align-items: center; padding: 7px 10px; border-radius: 8px; background: var(--panel-2); }
.pill { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 2px 7px; border-radius: 99px; text-align: center; }
.pill.dep { color: var(--dep); background: var(--dep-bg); }
.pill.pay { color: var(--pay); background: var(--pay-bg); }
.row b { font-variant-numeric: tabular-nums; }
@media (max-width: 420px) { .tiles { grid-template-columns: 1fr 1fr; } .tiles .tile:last-child { grid-column: span 2; } }

/* Sections */
section { padding: 64px 0; }
.section-title { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.section-title h2 { font-size: clamp(28px, 3.6vw, 38px); letter-spacing: -.02em; margin: 0 0 10px; line-height: 1.15; }
.section-title p { color: var(--muted); font-size: 18px; margin: 0; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature h3 { margin: 12px 0 6px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.icon { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.icon svg { width: 22px; height: 22px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; }
.step h3 { margin: 12px 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

.band { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band .wrap { display: flex; align-items: center; gap: 24px; justify-content: space-between; flex-wrap: wrap; }
.band h2 { margin: 0; font-size: clamp(24px, 3vw, 30px); letter-spacing: -.02em; }
.band p { margin: 6px 0 0; color: var(--muted); }

/* Footer */
.site-foot { padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
.site-foot .wrap { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.site-foot a { color: var(--muted); text-decoration: none; }
.site-foot a:hover { color: var(--ink); }

/* Legal pages */
.doc { max-width: 760px; margin: 0 auto; padding: 48px 16px 24px; }
.doc h1 { font-size: clamp(30px, 4vw, 40px); }
.doc h2 { font-size: 20px; margin: 32px 0 8px; }
.doc p, .doc li { color: color-mix(in srgb, var(--ink) 86%, var(--muted)); }
.doc .updated { color: var(--muted); font-size: 14px; }
