:root {
  --color-forest: #283224;
  --color-cream: #f2e9de;
  --color-cream-strong: #fbf5ee;
  --color-moss: #56624f;
  --color-gold: #d8be98;
  --color-text: #f2e9de;
  --color-text-soft: rgba(242, 233, 222, 0.78);
  --color-text-inverse: #f8f3ec;
  --color-line: rgba(242, 233, 222, 0.16);
  --color-panel: rgba(242, 233, 222, 0.1);
  --color-panel-strong: rgba(255, 250, 245, 0.12);
  --color-success-bg: #dff2e5;
  --color-success-text: #1f5e33;
  --color-error-bg: #f9dfdf;
  --color-error-text: #8b2424;

  --gradient-page:
    radial-gradient(circle at 15% 15%, rgba(216, 190, 152, 0.1), transparent 32%),
    radial-gradient(circle at 82% 22%, rgba(242, 233, 222, 0.08), transparent 28%),
    linear-gradient(135deg, #1f281d 0%, #283224 45%, #334030 100%);
  --gradient-cta: linear-gradient(135deg, #f2e9de 0%, #dbcdbd 100%);

  --font-display: "Sora", system-ui, -apple-system, sans-serif;
  --font-body: "Sora", system-ui, -apple-system, sans-serif;

  --fs-hero: clamp(1.95rem, 3.8vw, 3.1rem);
  --fs-subhero: clamp(1.0625rem, 1.8vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small: 0.9375rem;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  --lh-tight: 0.95;
  --lh-snug: 1.2;
  --lh-normal: 1.6;

  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;

  --radius-sm: 4px;
  --radius-md: 4px;
  --radius-lg: 4px;
  --radius-pill: 4px;

  --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.16);
  --shadow-md: 0 18px 60px rgba(0, 0, 0, 0.24);
  --shadow-lg: 0 28px 100px rgba(0, 0, 0, 0.34);

  --container-max: 1180px;
  --container-padding: clamp(1.25rem, 4vw, 2.5rem);

  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur-fast: 180ms;
  --dur-base: 320ms;
  --dur-slow: 640ms;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  color: var(--color-text);
  background: var(--gradient-page);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

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

button {
  border: 0;
  background: none;
  cursor: pointer;
}

a {
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: var(--lh-tight);
  letter-spacing: -0.03em;
}

:focus-visible {
  outline: 3px solid rgba(242, 233, 222, 0.9);
  outline-offset: 4px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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