html {
  scroll-behavior: smooth;
}

[x-cloak] {
  display: none !important;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: #FAF6EF;
}

.font-display {
  font-family: 'Roboto Slab', 'Georgia', serif;
}

.bg-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
}

.bg-noise::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60rem 30rem at 15% -10%, rgba(161, 51, 35, 0.35), transparent 60%),
    radial-gradient(50rem 30rem at 100% 0%, rgba(224, 122, 95, 0.18), transparent 55%);
}

.reveal {
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.reveal-pending {
  opacity: 0;
  transform: translateY(24px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

:where(a, button, summary, input, textarea):focus-visible {
  outline: 3px solid #D68972;
  outline-offset: 4px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.marquee-track:hover,
.marquee-track:focus-within {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal.reveal-pending { opacity: 1; transform: none; }
}

.card-hover {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px -20px rgba(26, 21, 18, 0.35);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -4px;
  height: 2px;
  background: linear-gradient(90deg, #A13323, #E07A5F);
  transition: right 0.3s ease;
}

.nav-link:hover::after {
  right: 0;
}

.text-gradient {
  background: linear-gradient(90deg, #C14430, #A13323 55%, #E07A5F);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.marquee-track {
  animation: marquee 28s linear infinite;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

::selection {
  background: #A13323;
  color: #FAF6EF;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #1A1512;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #A13323, #E07A5F);
  border-radius: 999px;
}

.legal-body ul {
  list-style: disc;
  padding-left: 1.25rem;
}

.legal-body li + li {
  margin-top: 0.5rem;
}

.legal-body a {
  color: #8A2A1D;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-body a:hover {
  color: #6E2117;
}
