:root {
  --brand: #000b34;
  --brand-deep: #000927;
  --sidebar-brand: #000f46;
  --sidebar-brand-deep: #000b34;
  --brand-bright: #0a4db3;
  --brand-weak: #e8eef8;
  --canvas: #f5f7fb;
  --surface: #ffffff;
  --surface-muted: #f0f2f6;
  --line: #e4e8ef;
  --text: #20242c;
  --muted: #687082;
  --soft: #8a93a6;
  --danger: #9d2735;
  --radius-ui: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --sidebar-width: 264px;
  --topbar-height: 68px;
  --focus: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent);
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--canvas);
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.post-card:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
