/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */
@layer reset, base, components, utilities;

:root {
  --color-surface: oklch(100% 0 0);
  --color-surface-variant: oklch(95% 0 0);

  --color-text: oklch(10% 0 0);
  --color-text-deepest: oklch(10% 0 0);
  --color-text-deeper: oklch(15% 0 0);
  --color-text-deep: oklch(20% 0 0);
  --color-text-medium: oklch(30% 0 0);
  --color-text-soft:oklch(35% 0 0);
  --color-text-softer: oklch(40% 0 0);
  --color-text-softer: oklch(50% 0 0);

  --color-link: oklch(50% 0.2 259);

  --inline-space: 1ch;
  --inline-space-half: calc(var(--inline-space) / 2);
  --inline-space-double: calc(var(--inline-space) * 2);
  --block-space: 1rem;
  --block-space-half: calc(var(--block-space) / 2);
  --block-space-double: calc(var(--block-space) * 2);
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-surface: oklch(20% 0 0);
    --color-surface-variant: oklch(25% 0 0);

    --color-text: oklch(90% 0 0);
    --color-text-deepest: oklch(90% 0 0);
    --color-text-deeper: oklch(85% 0 0);
    --color-text-deep: oklch(80% 0 0);
    --color-text-medium: oklch(70% 0 0);
    --color-text-soft:oklch(65% 0 0);
    --color-text-softer: oklch(60% 0 0);
    --color-text-softest: oklch(50% 0 0);

    --color-link: oklch(75% 0.2 259);
  }
}