/* DealQuo landing — static, no scripts. Tokens match the app (frontend/src/styles.css). */
:root {
  --bg: #f7f7f5; --panel: #fff; --panel2: #fbfbfa; --ink: #1a1a1a; --ink2: #5c5c5c; --ink3: #6b6b6b;
  --line: #e6e6e2; --line2: #efefec; --accent: #1f5eff; --accent-soft: #eef3ff; --ok: #17773f; --ok-soft: #e9f5ee;
  --btn-bg: #1a1a1a; --btn-ink: #fff; --btn-hover: #333;
  --shadow: 0 1px 2px rgb(20 20 18 / .04), 0 12px 40px -12px rgb(20 20 18 / .10);
  --radius: 12px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111110; --panel: #1a1a19; --panel2: #1e1e1d; --ink: #ededeb; --ink2: #a8a8a4; --ink3: #8d8d89;
    --line: #2c2c2a; --line2: #252524; --accent: #7fa2ff; --accent-soft: #1b2440; --ok: #4cc283; --ok-soft: #16281e;
    --btn-bg: #ededeb; --btn-ink: #111110; --btn-hover: #d6d6d3;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 16px 48px -16px rgb(0 0 0 / .6);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1080px; margin-inline: auto; padding-inline: 32px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -48px; background: var(--panel); border: 1px solid var(--line); padding: 8px 12px; border-radius: 8px; font-size: 14px; z-index: 10; }
.skip:focus { top: 12px; }

/* nav */
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { font-size: 19px; font-weight: 650; letter-spacing: -.02em; }
.brand-sm { font-size: 15px; }
.nav-actions { display: flex; align-items: center; gap: 20px; }
.nav-link { font-size: 14px; color: var(--ink2); }
.nav-link:hover { color: var(--ink); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 20px;
  border-radius: 9px; font-size: 15px; font-weight: 550; border: 1px solid transparent;
  transition: background-color .15s, border-color .15s;
}
.btn-sm { height: 34px; padding: 0 14px; font-size: 14px; border-radius: 8px; }
.btn-primary { background: var(--btn-bg); color: var(--btn-ink); }
.btn-primary:hover { background: var(--btn-hover); }
.btn-secondary { background: var(--panel); color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--ink3); }

/* hero */
.hero { text-align: center; padding-block: 88px 56px; }
.eyebrow { font-size: 13px; font-weight: 500; color: var(--ink2); letter-spacing: .01em; }
.hero h1 {
  margin: 20px auto 0; max-width: 820px;
  font-size: clamp(36px, 5.4vw, 60px); line-height: 1.06; font-weight: 650; letter-spacing: -.035em;
}
.hero h1 span { display: block; text-wrap: balance; }
.lede { margin: 22px auto 0; max-width: 600px; font-size: 18px; line-height: 1.6; color: var(--ink2); text-wrap: balance; }
.cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero .cta { justify-content: center; margin-top: 32px; }

/* preview */
.preview-wrap { padding-bottom: 96px; }
.preview {
  max-width: 900px; margin-inline: auto; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; font-size: 14px;
}
.pv-top { display: flex; align-items: flex-start; gap: 16px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.pv-query { flex: 1; min-width: 0; display: flex; gap: 12px; align-items: baseline; }
.pv-label, .preview h4 { font-size: 12px; font-weight: 550; color: var(--ink3); text-transform: uppercase; letter-spacing: .06em; }
.pv-label { flex: none; }
.pv-query p { color: var(--ink); line-height: 1.5; }
.pv-sample {
  flex: none; font-size: 12px; font-weight: 550; color: var(--ink2); background: var(--panel2);
  border: 1px dashed var(--ink3); border-radius: 999px; padding: 2px 10px;
}
.pv-count { padding: 12px 20px; font-size: 13px; color: var(--ink2); background: var(--panel2); border-bottom: 1px solid var(--line); }
.pv-count strong { color: var(--ink); font-weight: 600; }

.pv-co { padding: 20px; border-bottom: 1px solid var(--line); }
.pv-co-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pv-co h3 { font-size: 17px; font-weight: 620; letter-spacing: -.01em; }
.pv-sub { font-size: 13px; color: var(--ink2); margin-top: 2px; }
.pv-match {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 550;
  color: var(--ok); background: var(--ok-soft); border-radius: 999px; padding: 3px 10px 3px 8px;
}
.pv-match svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.pv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 20px; }
.pv-col h4 { margin-bottom: 10px; }
.pv-col h4 + * { margin-top: 0; }
.pv-col h4:not(:first-child) { margin-top: 20px; }
.pv-reqs li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line2); }
.pv-reqs li:first-child { border-top: 0; padding-top: 0; }
.ok { color: var(--ok); font-weight: 700; width: 14px; flex: none; }
.req { flex: 1; min-width: 0; }
.src { font-size: 12.5px; color: var(--accent); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent); text-underline-offset: 3px; }

.pv-person { display: flex; align-items: center; gap: 12px; }
.avatar {
  flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  font-size: 12.5px; font-weight: 600; color: var(--ink2); background: var(--line2); border: 1px solid var(--line);
}
.pv-name { font-weight: 600; }
.pv-sell {
  display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 10px 12px;
  background: var(--panel2); border: 1px solid var(--line2); border-radius: 8px; font-size: 13px; color: var(--ink2);
}
.pv-sell > span:first-child { flex: 1; }
.pv-sell strong { color: var(--ink); font-weight: 600; }
.meter { display: inline-flex; gap: 3px; }
.meter i { width: 14px; height: 6px; border-radius: 2px; background: var(--accent); }
.meter i.off { background: var(--line); }
.pv-path { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-weight: 550; }
.pv-path span:not(.arrow) { background: var(--accent-soft); color: var(--ink); padding: 2px 8px; border-radius: 6px; font-size: 13.5px; }
.pv-path .arrow { color: var(--ink3); font-weight: 400; }
.pv-path + .pv-sub { margin-top: 8px; }

.pv-rows li {
  display: grid; grid-template-columns: 1.4fr 1fr .8fr 1.4fr; gap: 12px; align-items: center;
  padding: 13px 20px; border-bottom: 1px solid var(--line2); font-size: 13.5px;
}
.pv-row-name { font-weight: 600; }
.pv-row-loc, .pv-row-path { color: var(--ink2); }
.pv-row-ok { color: var(--ok); font-weight: 550; }
.pv-row-path { text-align: right; }
.muted { color: var(--ink3) !important; }
.preview figcaption { padding: 12px 20px; font-size: 12.5px; color: var(--ink3); background: var(--panel2); }

/* how it works */
.how { padding-block: 0 96px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; border-top: 1px solid var(--line); padding-top: 40px; }
.step-n {
  display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 7px;
  font-size: 13px; font-weight: 600; color: var(--accent); background: var(--accent-soft);
}
.steps h3 { margin-top: 16px; font-size: 17px; font-weight: 620; letter-spacing: -.01em; line-height: 1.35; }
.steps p { margin-top: 8px; font-size: 15px; line-height: 1.65; color: var(--ink2); }

/* team */
.team { padding-bottom: 96px; }
.team-inner {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: end;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px;
}
.team h2 { font-size: clamp(24px, 3vw, 30px); font-weight: 650; letter-spacing: -.025em; line-height: 1.2; }
.team-inner > div:first-child p { margin-top: 12px; font-size: 16px; line-height: 1.65; color: var(--ink2); max-width: 520px; }
.team-cta { justify-self: end; }
.team-note { font-size: 14px; color: var(--ink2); margin-bottom: 12px; }

/* footer */
.footer {
  display: flex; align-items: center; gap: 24px; padding-block: 28px 40px;
  border-top: 1px solid var(--line); font-size: 14px; color: var(--ink2);
}
.footer-links { display: flex; gap: 20px; }
.footer-links a:hover { color: var(--ink); }
.copy { margin-left: auto; color: var(--ink3); font-size: 13px; }

/* responsive */
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .steps li { display: grid; grid-template-columns: 26px 1fr; column-gap: 16px; }
  .steps h3 { margin-top: 2px; }
  .steps p { grid-column: 2; }
  .team-inner { grid-template-columns: 1fr; gap: 28px; align-items: start; }
  .team-cta { justify-self: start; }
}
@media (max-width: 720px) {
  .wrap { padding-inline: 16px; }
  .nav { height: 60px; }
  .nav-link { display: none; }
  .hero { text-align: left; padding-block: 40px 40px; }
  .hero h1 { margin-inline: 0; font-size: 36px; letter-spacing: -.03em; }
  .hero h1 span { text-wrap: wrap; }
  .lede { margin-inline: 0; font-size: 17px; }
  .hero .cta { justify-content: flex-start; margin-top: 28px; }
  .cta .btn { flex: 1 1 140px; }
  .preview-wrap, .how, .team { padding-bottom: 64px; }
  .pv-top { flex-direction: column-reverse; gap: 10px; padding: 16px; }
  .pv-query { flex-direction: column; gap: 4px; }
  .pv-count, .pv-co, .preview figcaption { padding-inline: 16px; }
  .pv-grid { grid-template-columns: 1fr; gap: 24px; }
  .pv-rows li { grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 16px; }
  .pv-row-ok { text-align: right; }
  .pv-row-path { text-align: left; grid-column: 1 / -1; font-size: 13px; }
  .pv-row-loc { grid-row: 2; font-size: 13px; }
  .pv-row-path { grid-row: 3; }
  .steps { padding-top: 32px; }
  .team-inner { padding: 24px 20px; }
  .footer { flex-wrap: wrap; gap: 12px 20px; }
  .copy { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

.brand { display: inline-flex; align-items: center; gap: 7px; }
.brand-mark { width: 1.05em; height: 1.05em; flex: none; }
