/*
  Design tokens: the single source of truth for colours, type and spacing.
  Used by BOTH the Astro portfolio (web/) and the Django booking (booking/).

  Design "soft" (chosen 22.11.2026): light violet background with soft blue/pink
  gradients, white rounded cards, one violet accent.

  Fonts are system fonts on purpose: no requests to font servers (privacy) and
  no loading delay. Self-hosted web fonts can be added later in one place here.
*/

:root {
  color-scheme: light;

  /* --- Typography ------------------------------------------------------------ */
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas, "Liberation Mono", monospace;
  --font-display: var(--font-sans);
  --font-body: var(--font-sans);
  --label-font: var(--font-sans);
  --display-weight: 700;
  --display-tracking: -0.03em;
  --display-size: clamp(2.4rem, 7.5vw, 5rem);

  /* --- Colours ------------------------------------------------------------------ */
  --bg: #f6f5ff;
  --surface: #ffffff;
  --text: #1d1b3a;
  --muted: #5b5878;
  --line: #e3e0f5;
  --accent: #5b3fd6; /* contrast on white: 6.6:1 */
  --accent-strong: #4529b8; /* hover */
  --accent-ink: #ffffff; /* text on accent */
  --accent-soft: #efebff; /* light tint, e.g. bookable days */
  --success: #138a5a;
  --danger: #b42346;
  --disabled: #a9a6c2;

  /* Colour dots for appointment types (cycled in order) */
  --type-1: #5b3fd6;
  --type-2: #e0457b;
  --type-3: #1f8fd6;
  --type-4: #f08a24;

  /* --- Shape and depth ----------------------------------------------------------- */
  --radius: 14px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow: 0 10px 40px -18px rgba(60, 40, 160, 0.35);
  --shadow-card: 0 1px 2px rgba(29, 27, 58, 0.04), 0 24px 60px -28px rgba(60, 40, 160, 0.38);

  --hero-bg:
    radial-gradient(60rem 30rem at 85% -10%, rgba(255, 170, 200, 0.45), transparent 60%),
    radial-gradient(50rem 28rem at 0% 10%, rgba(140, 170, 255, 0.45), transparent 60%);

  /* --- Spacing -------------------------------------------------------------------- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.5rem;
  --space-6: 4rem;
  --space-7: 7rem;

  --maxw: 68rem;
  --maxw-text: 40rem;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 0.6s;
}
