/* VectorKit landing / SEO page shared styles
   Mirrors the main app's design tokens (src/styles/main.css) so the static
   marketing pages match the SPA, including light + dark mode.
   Theme is driven by data-theme="light" on <html>; dark is the default. */
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,700;0,800;0,900;1,800;1,900&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:#09090b; --surface:#141416; --surface2:#1c1c20;
  --text:#f4f4f5; --muted:#71717a;
  --accent:#2a8fef; --accent2:#1a7adc; --accent-bg:rgba(42,143,239,.08); --accent-text:#fff;
  --border:#27272a; --r:12px; --rs:8px;
  --t:200ms cubic-bezier(.22,1,.36,1);
  --font-display:'Inter Tight',Inter,system-ui,-apple-system,sans-serif;
  --font-body:Inter,system-ui,-apple-system,sans-serif;
  --font-mono:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;
  --yes:#22c55e; --no:#ef4444; --partial:#eab308;
  font-size: 16px;
}
[data-theme="light"] {
  --bg:#fafafa; --surface:#fff; --surface2:#f4f4f5;
  --text:#09090b; --muted:#52525b;
  --accent:#1a70d0; --accent2:#155bb0; --accent-bg:rgba(26,112,208,.07);
  --border:#d4d4d8;
  --yes:#16a34a; --no:#dc2626; --partial:#ca8a04;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; letter-spacing: -.01em; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
strong { font-weight: 600; color: var(--text); }
em { font-style: normal; }

/* ── Nav (sticky, glassy) ─────── */
.nav { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem max(1.25rem, calc((100% - 1120px)/2)); border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav-logo { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; letter-spacing: -.03em; color: var(--text); }
.nav-logo:hover { text-decoration: none; }
.nav-logo .v { color: var(--accent); }
.nav-links { display: flex; gap: .35rem; font-size: .88rem; }
.nav-links a { color: var(--muted); padding: .4rem .7rem; border-radius: var(--rs); transition: all var(--t); }
.nav-links a:hover { color: var(--text); background: var(--surface2); text-decoration: none; }
.nav-right { display: flex; align-items: center; gap: .5rem; }
.theme-toggle { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: var(--rs); border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; font-size: 1rem; line-height: 1; transition: all var(--t); }
.theme-toggle:hover { border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.nav-cta { background: var(--accent); color: var(--accent-text) !important; padding: .5rem 1.15rem; border-radius: var(--rs); font-weight: 700; font-size: .88rem; transition: filter var(--t); }
.nav-cta:hover { filter: brightness(1.1); text-decoration: none !important; }

/* ── Hero ─────── */
.hero { position: relative; max-width: 900px; margin: 0 auto; padding: 5rem 1.5rem 3.5rem; text-align: center; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -25% -25% auto -25%; height: 460px; z-index: 0; pointer-events: none; background: radial-gradient(58% 100% at 50% 0, var(--accent-bg), transparent 70%); }
.hero > * { position: relative; z-index: 1; }
.hero h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 5.5vw, 3.5rem); font-weight: 900; line-height: 1.08; letter-spacing: -.035em; margin-bottom: 1.25rem; }
.hero h1 em { color: var(--accent); }
.hero p { font-size: 1.15rem; color: var(--muted); max-width: 620px; margin: 0 auto 2rem; line-height: 1.55; }
.hero-btns { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.6rem; border-radius: var(--rs); font-weight: 700; font-size: .95rem; cursor: pointer; border: 1px solid transparent; transition: all var(--t); }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--accent-text); box-shadow: 0 18px 50px -22px rgba(42,143,239,.7); }
.btn-primary:hover { filter: brightness(1.1); }
.btn-secondary { background: var(--surface2); color: var(--text); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--accent); }
.badge { display: inline-block; font-family: var(--font-mono); background: var(--accent-bg); color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); border-radius: 100px; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .8rem; margin-bottom: 1.4rem; }

/* ── Sections ─────── */
.section { max-width: 1040px; margin: 0 auto; padding: 4rem 1.5rem; }
.section-title { font-family: var(--font-display); font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 800; margin-bottom: .6rem; letter-spacing: -.03em; line-height: 1.1; }
.section-sub { color: var(--muted); margin-bottom: 2.5rem; font-size: 1.02rem; }

/* ── Cards (hairline grid) ─────── */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.card { background: var(--bg); padding: 1.6rem 1.5rem; transition: background var(--t); }
.card:hover { background: var(--surface); }
.card-icon { font-size: 1.5rem; margin-bottom: .75rem; }
.card h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 800; margin-bottom: .45rem; letter-spacing: -.01em; }
.card p { font-size: .9rem; color: var(--muted); line-height: 1.5; }

/* ── Comparison table ─────── */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r); }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--border); }
tr:last-child td { border-bottom: none; }
th { color: var(--muted); font-weight: 600; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; background: var(--surface); font-family: var(--font-mono); }
td:first-child { font-weight: 500; }
tbody tr { transition: background var(--t); }
tbody tr:hover { background: var(--surface); }
.yes { color: var(--yes); font-weight: 600; }
.no { color: var(--no); }
.partial { color: var(--partial); }

/* ── CTA band ─────── */
.cta-band { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); text-align: center; padding: 4rem 1.5rem; }
.cta-band h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 900; letter-spacing: -.03em; margin-bottom: .75rem; }
.cta-band p { color: var(--muted); margin-bottom: 1.75rem; }

/* ── FAQ ─────── */
.faq { max-width: 720px; margin: 0 auto; padding: 4rem 1.5rem; }
.faq-item { border-bottom: 1px solid var(--border); padding: 1.3rem 0; }
.faq-item h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.faq-item p { font-size: .92rem; color: var(--muted); }

/* ── Footer ─────── */
footer { text-align: center; padding: 2.5rem 1.5rem; font-size: .82rem; color: var(--muted); border-top: 1px solid var(--border); }
footer a { color: var(--muted); transition: color var(--t); }
footer a:hover { color: var(--text); }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: center; margin-bottom: .75rem; }

@media (max-width: 700px) {
  .nav-links { display: none; }
  .hero { padding: 3rem 1.25rem 2.25rem; }
  .section { padding: 3rem 1.25rem; }
}
