:root {
  --warm-white: #fbfaf6;
  --sand: #e7d9c2;
  --beige: #f2eadc;
  --gold: #b08a3c;
  --sage: #a9b79b;
  --olive: #3f4b32;
  --charcoal: #242321;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top left, rgba(176, 138, 60, 0.08), transparent 34rem),
    linear-gradient(180deg, #fbfaf6 0%, #f6f0e6 45%, #fbfaf6 100%);
  color: var(--charcoal);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
.font-heading {
  font-family: "Cormorant Garamond", Georgia, serif;
}

::selection {
  background: rgba(176, 138, 60, 0.24);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 1rem;
}

.page-shell {
  min-height: 100vh;
}

.texture {
  background-image:
    linear-gradient(rgba(36, 35, 33, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 35, 33, 0.018) 1px, transparent 1px);
  background-size: 38px 38px;
}

.soft-card {
  border: 1px solid rgba(63, 75, 50, 0.12);
  border-radius: 8px;
  background: rgba(255, 252, 246, 0.86);
  box-shadow: 0 18px 50px rgba(36, 35, 33, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.soft-card:hover {
  border-color: rgba(176, 138, 60, 0.34);
  box-shadow: 0 22px 60px rgba(36, 35, 33, 0.1);
  transform: translateY(-2px);
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  min-height: 2.875rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.btn-primary {
  background: var(--olive);
  color: #fffaf0;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #2f3926;
  transform: translateY(-1px);
}

.btn-secondary {
  border: 1px solid rgba(255, 250, 240, 0.72);
  background: rgba(255, 250, 240, 0.12);
  color: #fffaf0;
  backdrop-filter: blur(8px);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: rgba(255, 250, 240, 0.95);
  background: rgba(255, 250, 240, 0.2);
  transform: translateY(-1px);
}

.gold-rule {
  height: 1px;
  width: 4.5rem;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.field {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(63, 75, 50, 0.22);
  background: rgba(255, 252, 246, 0.88);
  padding: 0.85rem 0.95rem;
  color: var(--charcoal);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(176, 138, 60, 0.16);
}

.fade-in {
  animation: fadeIn 420ms ease both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

