/* FAVYL — design tokens and base. Every page loads it: <link rel="stylesheet" href="/assets/favyl.css">
   Identity: deep ink + an "aurora" gradient (indigo → violet → magenta) with a gold accent for money/funding.
   Type: "Plus Jakarta Sans" (headings), "Inter" (text), "JetBrains Mono" (figures/codes). */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&family=JetBrains+Mono:wght@500&display=swap");

:root {
  --fv-ink: #0b0d1a;          /* main text / dark backgrounds */
  --fv-ink-2: #2a2f45;
  --fv-muted: #646b85;
  --fv-line: #e6e7ef;
  --fv-bg: #fbfaff;           /* light page background, a hint of violet */
  --fv-surface: #ffffff;
  --fv-surface-2: #f4f3fb;

  --fv-indigo: #4f46e5;
  --fv-violet: #7c3aed;
  --fv-magenta: #c026d3;
  --fv-gold: #f5b544;
  --fv-green: #10b981;
  --fv-red: #ef4444;
  --fv-amber: #f59e0b;

  --fv-grad: linear-gradient(120deg, #4f46e5 0%, #7c3aed 45%, #c026d3 100%);
  --fv-grad-soft: linear-gradient(120deg, rgba(79,70,229,.10), rgba(192,38,211,.10));

  /* dark mode (meeting room, internal panels) */
  --fv-d-bg: #07080f;
  --fv-d-surface: #11131f;
  --fv-d-surface-2: #181b2b;
  --fv-d-line: #23263a;
  --fv-d-text: #eceefb;
  --fv-d-muted: #8b90ab;

  --fv-r-sm: 10px;
  --fv-r: 16px;
  --fv-r-lg: 24px;
  --fv-r-pill: 999px;
  --fv-shadow: 0 1px 2px rgba(11,13,26,.06), 0 8px 24px rgba(11,13,26,.06);
  --fv-shadow-lg: 0 24px 60px rgba(40,20,90,.18);

  --fv-font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fv-font-head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --fv-font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--fv-font); color: var(--fv-ink); background: var(--fv-bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--fv-font-head); letter-spacing: -0.02em; line-height: 1.12; margin: 0; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
img, svg, video { max-width: 100%; }
:focus-visible { outline: 2px solid var(--fv-violet); outline-offset: 2px; border-radius: 6px; }

/* shared pieces */
.fv-logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--fv-font-head); font-weight: 800; font-size: 22px; letter-spacing: -0.03em; text-decoration: none; color: inherit; }
.fv-logo-mark { width: 32px; height: 32px; border-radius: 10px; background: var(--fv-grad); display: grid; place-items: center; color: #fff; font-size: 17px; font-weight: 800; box-shadow: 0 6px 18px rgba(124,58,237,.35); }
.fv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: var(--fv-r-pill); border: 1px solid transparent; font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none; transition: transform .12s ease, box-shadow .2s ease, background .2s ease; white-space: nowrap; }
.fv-btn:active { transform: translateY(1px); }
.fv-btn-primary { background: var(--fv-grad); color: #fff; box-shadow: 0 8px 22px rgba(124,58,237,.30); }
.fv-btn-primary:hover { box-shadow: 0 10px 28px rgba(124,58,237,.42); }
.fv-btn-dark { background: var(--fv-ink); color: #fff; }
.fv-btn-ghost { background: transparent; border-color: var(--fv-line); color: var(--fv-ink); }
.fv-btn-ghost:hover { background: var(--fv-surface-2); }
.fv-btn[disabled] { opacity: .55; cursor: not-allowed; }
.fv-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--fv-r-pill); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; background: var(--fv-grad-soft); color: var(--fv-violet); border: 1px solid rgba(124,58,237,.18); }
.fv-input { width: 100%; height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--fv-line); background: #fff; font-size: 15px; transition: border-color .15s, box-shadow .15s; }
.fv-input:focus { outline: none; border-color: var(--fv-violet); box-shadow: 0 0 0 4px rgba(124,58,237,.12); }
textarea.fv-input { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; }
.fv-card { background: var(--fv-surface); border: 1px solid var(--fv-line); border-radius: var(--fv-r); box-shadow: var(--fv-shadow); }
.fv-grad-text { background: var(--fv-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fv-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--fv-ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 14px; box-shadow: var(--fv-shadow-lg); z-index: 9999; }

/* cookie banner (shared: /assets/cookies.js) */
.fv-cookies { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9000; background: #0b0d1a; color: #e9eaf4; padding: 18px 24px; display: flex; gap: 20px; align-items: center; justify-content: center; flex-wrap: wrap; font-size: 15px; }
.fv-cookies p { margin: 0; max-width: 760px; }
.fv-cookies a { color: #fff; }
.fv-cookies .fv-btn { height: 42px; }
.fv-cookies .fv-btn-ghost { color: #fff; border-color: #3a3e55; }
.fv-cookies .fv-btn-ghost:hover { background: #1b1e31; }
.fv-cookies .fv-btn-light { background: #fff; color: #0b0d1a; }
