:root {
  --sagaz-primary: #0b4854;
  --sagaz-primary-dark: #063a45;
  --sagaz-accent: #b7f542;
  --sagaz-accent-soft: #d8f28b;
  --sagaz-background: #f6f3eb;
  --sagaz-surface: #ffffff;
  --sagaz-surface-soft: #eef3f1;
  --sagaz-border: #d8e1df;
  --sagaz-text: #103a45;
  --sagaz-text-secondary: #6c7e82;
  --sagaz-danger: #9f443f;
  --sagaz-warning: #8a681f;
  --sagaz-shadow-sm: 0 8px 24px rgba(6, 58, 69, 0.08);
  --sagaz-shadow-md: 0 18px 50px rgba(6, 58, 69, 0.12);
  --sagaz-radius-sm: 10px;
  --sagaz-radius-md: 18px;
  --sagaz-radius-lg: 28px;
  --sagaz-font-display: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sagaz-font-body: "Avenir Next", Avenir, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  color: var(--sagaz-text);
  background: var(--sagaz-background);
  font-family: var(--sagaz-font-body);
  -webkit-font-smoothing: antialiased;
}

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

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
summary {
  cursor: pointer;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid rgba(183, 245, 66, 0.72);
  outline-offset: 3px;
}

::selection {
  color: var(--sagaz-primary-dark);
  background: var(--sagaz-accent-soft);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
