/* FlowFrame theme tokens (Blush, dark), shared by every page.
   Colors are stored as "R G B" so any rule can add alpha: rgb(var(--c-primary) / 0.2). */

:root {
  color-scheme: dark;
  --c-bg: 16 12 17;
  --c-bg-2: 21 16 23;
  --c-surface: 27 21 29;
  --c-surface-2: 35 28 38;
  --c-surface-3: 45 36 49;
  --c-border: 60 48 64;
  --c-fg: 255 255 255;
  --c-text: 248 240 244;
  --c-text-2: 222 210 218;
  --c-muted: 176 162 172;
  --c-dim: 128 114 126;
  --c-primary: 212 51 111;
  --c-primary-2: 176 42 100;
  --c-primary-text: 244 132 176;
  --c-accent: 242 128 172;
  --c-accent-soft: 74 28 50;
  --c-on-primary: 255 255 255;
  --c-danger: 248 113 113;
  --c-success: 74 222 128;
  --c-warn: 251 191 36;
  --c-shadow: 0 0 0;
  --shadow-k: 1;

  --c-hero-1: 70 20 48;
  --c-hero-2: 34 14 28;
  --c-hero-3: 16 12 17;
  --c-ray: 255 170 205;
  --ray-o: 0.35;
  --c-headline: 248 240 244;
  --c-headline-accent: 244 132 176;
  --c-pill: 248 240 244;
  --c-on-pill: 16 12 17;
}

:root {
  --font-sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'Cascadia Code', monospace;
  --grad-brand: linear-gradient(110deg, rgb(var(--c-primary)), rgb(var(--c-primary-2)));

  /* Shared design names, so the workspace and the landing page speak the same language */
  --surface-3: rgb(var(--c-surface-3));
  --line: rgb(var(--c-fg) / 0.08);
  --line-2: rgb(var(--c-fg) / 0.14);
  --dim: rgb(var(--c-dim));
  --violet: rgb(var(--c-primary));
  --violet-text: rgb(var(--c-primary-text));
  --pink: rgb(var(--c-accent));
  --grad: var(--grad-brand);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --mono: var(--font-mono);
}

/* Waitlist form (landing page and the /app coming soon page) */
.wl { display: flex; flex-wrap: wrap; gap: 8px; max-width: 470px; margin: 0 auto; }
.wl input {
  flex: 1 1 220px;
  min-width: 0;
  height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgb(var(--c-fg) / 0.16);
  background: rgb(var(--c-surface));
  color: rgb(var(--c-text));
  font: 400 15px var(--font-sans);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.wl input::placeholder { color: rgb(var(--c-dim)); }
.wl input:focus { outline: none; border-color: rgb(var(--c-primary)); box-shadow: 0 0 0 4px rgb(var(--c-primary) / 0.15); }
.wl button {
  height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: rgb(var(--c-primary));
  color: rgb(var(--c-on-primary));
  font: 500 15px var(--font-sans);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.wl button:hover { background: rgb(var(--c-primary-2)); transform: translateY(-1px); }
.wl button:disabled { opacity: 0.7; cursor: wait; transform: none; }
.wl-msg { flex-basis: 100%; min-height: 1.5em; margin-top: 6px; text-align: center; font-size: 14px; color: rgb(var(--c-muted)); }
.wl.is-done .wl-msg { color: rgb(var(--c-success)); }
.wl.is-error .wl-msg { color: rgb(var(--c-danger)); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
