:root {
  --color-navy-950: #080817;
  --color-navy-900: #101027;
  --color-navy-800: #1b1a38;
  --color-gold-500: #d7ad62;
  --color-gold-300: #f1d69a;
  --color-gold-700: #8c6635;
  --color-amethyst-500: #8555c7;
  --color-ivory-100: #f6f1e8;
  --color-stone-300: #c4bdcf;
  --color-success: #75b99a;
  --color-danger: #e58b91;

  --font-display: 'Cormorant Garamond', 'Noto Naskh Arabic', Georgia, serif;
  --font-ui: 'Vazirmatn', 'Inter', 'Segoe UI', sans-serif;

  --radius-card: 18px;
  --radius-control: 12px;
  --content-max: 1280px;
  --page-gutter: clamp(16px, 4vw, 48px);
  --header-h: 4.5rem;
  --ease: 200ms ease;
}

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

html {
  scroll-behavior: smooth;
}

@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;
  }
}

body {
  min-height: 100vh;
  color: var(--color-ivory-100);
  background: var(--color-navy-950);
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--color-gold-300);
  outline-offset: 3px;
}

.container {
  width: min(100% - 2 * var(--page-gutter), var(--content-max));
  margin-inline: auto;
}

h1,
h2,
h3,
.display {
  font-family: var(--font-display);
  line-height: 1.15;
  text-wrap: balance;
  font-weight: 600;
}
