/**
 * Copyright (c) 2026 KDTech
 * Author: david@KDTech
 * All rights reserved.
 *
 * Tilefold website — design tokens ("Mosaic")
 *
 * Deep ink surfaces, crisp type and the aurora accent gradient, mirrored from
 * the app's design language so the site and the product feel like one thing.
 * The site is dark by design: the glow, glass and canvas effects are tuned for
 * ink backgrounds, exactly like the app's default theme.
 */

:root {
  color-scheme: dark;

  /* Ink surfaces, darkest to lightest. */
  --ink-0: #07080c;
  --ink-1: #0a0b10;
  --ink-2: #10121a;
  --ink-3: #171a25;
  --ink-4: #1f2331;
  --ink-5: #2c3245;

  /* Text. */
  --text-1: #f4f5fb;
  --text-2: #b6bbd0;
  --text-3: #7d8399;

  /* Aurora accent, used sparingly: logo, CTA glow, focus, running shimmer. */
  --violet: #7c5cff;
  --cyan: #22d3ee;
  --amber: #f5b451;
  --aurora: linear-gradient(120deg, var(--violet), var(--cyan) 55%, var(--amber));
  --aurora-soft: linear-gradient(
    120deg,
    rgb(124 92 255 / 0.22),
    rgb(34 211 238 / 0.16) 55%,
    rgb(245 180 81 / 0.18)
  );

  /* Status colours, always paired with a glyph in the UI. */
  --ok: #3ddc97;
  --err: #ff6b7a;
  --warn: #f5b451;
  --run: #22d3ee;

  /* Page roles. */
  --bg: var(--ink-1);
  --surface: var(--ink-2);
  --surface-2: var(--ink-3);
  --line: rgb(255 255 255 / 0.07);
  --line-strong: rgb(255 255 255 / 0.12);
  --highlight: inset 0 1px 0 rgb(255 255 255 / 0.05);
  --glass: rgb(16 18 26 / 0.62);
  --shadow-lg: 0 40px 120px -30px rgb(0 0 0 / 0.75), 0 12px 40px -12px rgb(0 0 0 / 0.6);

  /* Type. */
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Shape (radii from the app: chips, buttons, cards, modals). */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-2xl: 28px;

  /* Motion. */
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-emph: cubic-bezier(0.3, 0, 0, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout. */
  --page-max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 64px;
}
