/* WebKnight house style tokens
   Accent: warm signal orange #E8783A - marks booking actions on graphite
   without the AI purple/teal palette. */

@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/SchibstedGrotesk.woff2") format("woff2");
}

:root {
  /* Surfaces - dark (default) */
  --surface-0: #1a1c1f;
  --surface-1: #22252a;
  --surface-2: #2a2e34;
  --surface-raised: #2e3238;

  /* Ink */
  --ink: #e8e6e1;
  --ink-muted: #a8adb5;
  --ink-faint: #7a808a;

  /* Lines */
  --line: #343841;
  --line-strong: #4a505a;

  /* Accent - warm signal orange */
  --accent: #e8783a;
  --accent-hover: #f08a4f;
  --on-accent: #1a1c1f;
  --accent-soft: color-mix(in srgb, var(--accent) 18%, transparent);

  /* Semantic */
  --danger: #e05555;
  --danger-soft: color-mix(in srgb, var(--danger) 16%, transparent);
  --ok: #5aab72;
  --focus: #e8783a;

  /* Type */
  --font: "Schibsted Grotesk", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Scale */
  --text-xs: 0.8125rem;   /* 13px */
  --text-sm: 0.875rem;    /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-md: 1.125rem;    /* 18px */
  --text-lg: 1.25rem;     /* 20px */
  --text-xl: 1.5rem;      /* 24px */
  --text-2xl: 2rem;       /* 32px */
  --text-3xl: 2.5rem;     /* 40px */
  --text-4xl: 3.25rem;    /* 52px */
  --leading: 1.55;
  --leading-tight: 1.15;

  /* Space */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  /* Radius / shadow */
  --radius: 8px;
  --radius-sm: 6px;
  --radius-lg: 10px;
  --shadow: 0 1px 0 color-mix(in srgb, #000 35%, transparent);

  /* Layout */
  --page: 1120px;
  --gutter: 1.5rem;
}

/* Light-surface variant: add class="theme-light" on html or a wrapper */
.theme-light {
  --surface-0: #f0eee8;
  --surface-1: #f7f5f0;
  --surface-2: #e6e3db;
  --surface-raised: #ffffff;
  --ink: #1a1c1f;
  --ink-muted: #5a5e66;
  --ink-faint: #7a808a;
  --line: #d4d0c8;
  --line-strong: #a8a49c;
  --on-accent: #1a1c1f;
  --accent-soft: color-mix(in srgb, var(--accent) 14%, transparent);
  --danger-soft: color-mix(in srgb, var(--danger) 12%, transparent);
  --shadow: 0 1px 2px color-mix(in srgb, #000 8%, transparent);
}
