:root {
  --brand: var(--color-palmette-gold, #e7a858);
  --brand-dark: #c68b3d;
  --brand-50: rgba(231, 168, 88, 0.16);
  --ink: var(--color-charcoal, #252525);
  --ink-muted: var(--color-graphite, #2b2b2b);
  --bg: var(--color-accent-highlight, #edeeed);
  --surface: var(--color-off-white, #f7f7f7);
}

body {
  font-family:
    'Inter',
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    Arial,
    'Apple Color Emoji',
    'Segoe UI Emoji';
  background: var(--bg);
  color: var(--ink);
}

.font-poppins {
  font-family: 'Poppins', sans-serif;
}

h1,
h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
}

h3,
h4,
h5,
h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}

.brand-gradient {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
}

.text-brand {
  color: var(--brand);
}

.shadow-brand {
  box-shadow:
    0 14px 30px -14px rgba(37, 37, 37, 0.35),
    0 12px 24px -8px rgba(198, 139, 61, 0.35);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  font-weight: 600;
  outline: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
  box-shadow: var(--shadow-soft, 0 10px 24px rgba(0, 0, 0, 0.18));
}

.btn:focus {
  outline: none;
}

.btn:focus-visible {
  outline: 2px solid rgba(37, 37, 37, 0.25);
  outline-offset: 3px;
}

.btn-brand {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
}

.btn-brand:hover {
  filter: brightness(0.97);
  transform: translateY(-1px);
}

.btn-muted {
  background-color: var(--surface);
  color: var(--ink-muted);
  border: 1px solid rgba(37, 37, 37, 0.08);
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.btn-muted:hover {
  background-color: rgba(237, 238, 237, 0.9);
  border-color: rgba(37, 37, 37, 0.15);
}

.hero-bg {
  background:
    radial-gradient(1200px 420px at 50% -120px, rgba(231, 168, 88, 0.18), transparent 65%),
    radial-gradient(720px 360px at 90% 20%, rgba(37, 37, 37, 0.12), transparent 70%), var(--surface);
}

.card-surface {
  background: linear-gradient(180deg, rgba(247, 247, 247, 0.94), rgba(237, 238, 237, 0.94));
  border: 1px solid rgba(37, 37, 37, 0.08);
  box-shadow: 0 20px 40px -24px rgba(37, 37, 37, 0.25);
}

.slider-container {
  position: relative;
}

.slider-image-after {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  overflow: hidden;
}

.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 12px);
  width: 24px;
  cursor: ew-resize;
  display: grid;
  place-items: center;
  outline: none;
}

.slider-handle::before {
  content: '';
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  border: 2px solid var(--brand);
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 37, 37, 0.18);
}

.slider-handle::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 100%;
  background: var(--brand);
}

.modal-enter-active,
.fade-enter-active {
  transition: all 300ms ease-out;
}

.modal-leave-active,
.fade-leave-active {
  transition: all 300ms ease-in;
}

.modal-enter,
.modal-leave-to {
  transform: translateY(100%);
  opacity: 0;
}

.modal-enter-to,
.modal-leave {
  transform: translateY(0);
  opacity: 1;
}

.fade-enter,
.fade-leave-to {
  opacity: 0;
}

.fade-enter-to,
.fade-leave {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .modal-enter-active,
  .modal-leave-active,
  .fade-enter-active,
  .fade-leave-active,
  .transition-shadow {
    transition: none !important;
  }
}

.focus-ring:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.safe-bottom {
  padding-bottom: env(safe-area-inset-bottom);
}
