:root {
  color-scheme: light;
  --font: 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  --ink: #20292f;
  --muted: #626c74;
  --line: #e1e6e9;
  --bg: #f5f7f8;
  --surface: #fff;
  --primary: #5d829d;
  --primary-hover: #4d6c82;
  --primary-soft: #f2f5f7;
  --teal: #087c69;
  --mint: #ddf6ed;
  --dark: #1d262d;
  --danger: #a22636;
  --danger-soft: #fff0f1;
  --radius: 18px;
  --focus: #5d829d;
  --shadow: 0 14px 40px rgb(20 37 59 / 7%);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
}

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

img {
  max-inline-size: 100%;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

::selection {
  background: #e7edf1;
  color: var(--dark);
}

[data-tilt-layer] {
  transform-style: preserve-3d;
  transition: transform .24s var(--ease);
}

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