/* Shared styles for the /vs/* comparison landing pages. Self-contained:
   defines the site tokens (dark + light) so a /vs/* page only needs this one
   stylesheet. Mirrors the palette + type of index.html (Satoshi body,
   JetBrains Mono for labels, #ff8c42 accent). */
:root {
  --bg: #0a0a0a; --bg-elev: #111; --bg-card: #131313;
  --line: rgba(255,255,255,0.06); --line-strong: rgba(255,255,255,0.12);
  --text: #e8e6e0; --text-dim: #8a8680; --text-mute: #5c5955;
  --accent: #ff8c42; --accent-soft: rgba(255,140,66,0.12); --green: #7dd3a0;
  --red: #e5847d;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #fafaf7; --bg-elev: #f4f3ee; --bg-card: #fff;
    --line: rgba(0,0,0,0.06); --line-strong: rgba(0,0,0,0.12);
    --text: #1a1a1a; --text-dim: #555; --text-mute: #8a8680;
    --accent: #ff7a1f; --accent-soft: rgba(255,122,31,0.08); --green: #2f9e6a;
    --red: #c0392b;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); line-height: 1.55; -webkit-font-smoothing: antialiased;
}
.container { max-width: 920px; margin: 0 auto; padding: 0 24px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* nav */
nav.top {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 920px; margin: 0 auto; padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
nav.top .brand { font-weight: 800; font-size: 18px; color: var(--text); }
nav.top .brand .accent { color: var(--accent); }
nav.top .links { display: flex; gap: 20px; font-size: 14px; }
nav.top .links a { color: var(--text-dim); }
nav.top .links a:hover { color: var(--text); text-decoration: none; }

/* breadcrumb */
.crumb { font-family: var(--mono); font-size: 12px; color: var(--text-mute); letter-spacing: .04em; margin: 28px 0 0; }
.crumb a { color: var(--text-mute); }

/* hero */
.hero { padding: 20px 0 8px; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 16px; text-wrap: balance; font-weight: 800; }
.lede { font-size: 18px; color: var(--text-dim); max-width: 62ch; margin: 0 0 28px; }

h2 { font-size: clamp(22px, 3vw, 28px); letter-spacing: -.01em; margin: 48px 0 16px; font-weight: 800; text-wrap: balance; }
h3 { font-size: 18px; margin: 28px 0 8px; font-weight: 700; }
p { max-width: 68ch; }

/* comparison table */
.cmp-wrap { overflow-x: auto; margin: 20px 0; border: 1px solid var(--line-strong); border-radius: 2px; }
table.cmp { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; }
table.cmp th, table.cmp td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.cmp thead th { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-mute); background: var(--bg-card); }
table.cmp thead th.us { color: var(--accent); }
table.cmp tbody td:first-child { color: var(--text-dim); font-weight: 500; }
table.cmp tbody td.us { color: var(--text); font-weight: 600; }
table.cmp tr:last-child td { border-bottom: 0; }
.yes { color: var(--green); font-weight: 700; }
.no { color: var(--red); }

/* callout / when-to-use */
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0; }
@media (max-width: 640px) { .cols { grid-template-columns: 1fr; } }
.col { border: 1px solid var(--line-strong); background: var(--bg-card); padding: 22px; border-radius: 2px; }
.col h3 { margin-top: 0; }
.col.us { border-color: var(--accent); }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq summary { font-weight: 600; cursor: pointer; font-size: 16px; }
.faq summary::-webkit-details-marker { color: var(--accent); }
.faq .a { color: var(--text-dim); margin: 10px 0 0; }

/* CTA */
.cta-band { border: 1px solid var(--accent); background: var(--accent-soft); border-radius: 2px; padding: 32px; margin: 44px 0; text-align: center; }
.cta-band h2 { margin: 0 0 10px; }
.cta-band p { margin: 0 auto 20px; color: var(--text-dim); }
.btn { display: inline-block; padding: 13px 24px; font-weight: 700; border: 1px solid var(--line-strong); color: var(--text); border-radius: 2px; }
.btn:hover { border-color: var(--text-dim); text-decoration: none; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.btn.primary:hover { filter: brightness(1.07); }

/* footer */
footer.site { border-top: 1px solid var(--line); margin-top: 56px; padding: 28px 24px; }
footer.site .container { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
footer.site span { color: var(--text-mute); font-size: 13px; }
footer.site .fl { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; }
footer.site .fl a { color: var(--text-dim); }
