/* Design tokens. Every color, size and radius in the app comes from here.
   Ink is for doing (primary actions); jade is reserved for approving/publishing and selection. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Neutrals */
  --canvas: #f5f6f8;
  --surface: #ffffff;
  --surface-2: #f0f2f5;
  --surface-3: #e7eaef;
  --line: #e3e6eb;
  --line-strong: #cfd4dc;
  --ink: #12151b;
  --ink-hover: #2a2f38;
  --ink-2: #3f4552;
  --muted: #6a7180;

  /* Accent: approval jade */
  --accent: #0a7a5f;
  --accent-hover: #086a52;
  --accent-soft: #e3f3ee;
  --accent-ink: #065343;

  /* Status tones (background / foreground) */
  --tone-neutral-bg: #eef0f3;
  --tone-neutral-fg: #4a505c;
  --tone-info-bg: #e8f0fe;
  --tone-info-fg: #1e4fc2;
  --tone-warn-bg: #fff2de;
  --tone-warn-fg: #8f4500;
  --tone-danger-bg: #fdecec;
  --tone-danger-fg: #b42318;
  --tone-success-bg: var(--accent-soft);
  --tone-success-fg: var(--accent-ink);

  /* Type */
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.8125rem;
  --text-base: 0.875rem;
  --text-md: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.5rem;
  --leading: 1.5;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;

  /* Space, shape, depth */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-pop: 0 12px 32px rgba(16, 24, 40, 0.14);
  --focus-ring: 0 0 0 3px rgba(10, 122, 95, 0.28);

  /* Subtitle samples (brand page): a photo-like frame, the video's white text and the default highlight of the Words look. */
  --video-frame-top: #b98a62;
  --video-frame-mid: #5a5560;
  --video-frame-bottom: #1b1e25;
  --video-text: #ffffff;
  --video-highlight: #ffd60a;
  --video-outline: rgba(0, 0, 0, 0.92);
  --video-shadow-soft: 0 2px 7px rgba(0, 0, 0, 0.75), 0 1px 1px rgba(0, 0, 0, 0.6);
  --video-shadow-subtle: 0 1px 5px rgba(0, 0, 0, 0.5), 0 1px 1px rgba(0, 0, 0, 0.45);
  --sidebar-width: 240px;
  --content-width: 1180px;

  /* Bootstrap 5.3 theme bridge */
  --bs-body-font-family: var(--font-sans);
  --bs-body-font-size: var(--text-base);
  --bs-body-line-height: var(--leading);
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--canvas);
  --bs-secondary-color: var(--muted);
  --bs-border-color: var(--line);
  --bs-border-radius: var(--radius);
  --bs-border-radius-sm: var(--radius-sm);
  --bs-border-radius-lg: var(--radius-lg);
  --bs-link-color: var(--ink);
  --bs-link-color-rgb: 18, 21, 27;
  --bs-link-hover-color: var(--ink-2);
  --bs-link-hover-color-rgb: 63, 69, 82;
  --bs-focus-ring-color: rgba(10, 122, 95, 0.28);

  /* Aliases kept for pages not yet migrated to the new components (legacy.css) */
  --purple: var(--accent);
  --lime: var(--accent);
}
