:root {
  --paper: #f5f1e8;
  --ink-900: #111111;
  --ink-700: #333333;
  --ink-500: #666666;
  --line: rgba(17, 17, 17, 0.18);
  --line-strong: rgba(17, 17, 17, 0.92);
  --accent: #b2552e;
  --accent-soft: rgba(178, 85, 46, 0.14);
}

html {
  font-size: 16px;
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  color: var(--ink-900);
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.7;
  background:
    radial-gradient(circle at top left, rgba(126, 138, 144, 0.1) 0%, transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), transparent 18%),
    var(--paper);
}

h1,
h2,
h3,
h4,
.heading {
  font-family: "IBM Plex Serif", Georgia, serif;
  letter-spacing: 0.015em;
}

a {
  color: var(--ink-900);
  text-decoration: underline;
  text-decoration-color: rgba(178, 85, 46, 0.5);
  text-underline-offset: 0.18em;
  transition: color 0.2s ease, text-decoration-color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(0.6rem, 0.8rem);
  }
}

@keyframes page-enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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