/* Design system - warm, editorial aesthetic */

/* Font families - matches marketing site */
body {
  font-family: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.font-editorial {
  font-family: 'Fraunces', Georgia, serif;
}

.font-body {
  font-family: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Legacy alias */
.font-display {
  font-family: 'Fraunces', Georgia, serif;
}

/* Warm gradient background */
.warm-gradient-bg {
  background: linear-gradient(135deg, #f9f6f1 0%, #fdf8f0 50%, #fff5eb 100%);
}

/* Noise texture overlay */
.noise-overlay {
  position: relative;
}
.noise-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 1;
}

/* Button shine effect */
.btn-shine {
  position: relative;
  overflow: hidden;
}
.btn-shine::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(255,255,255,0.3) 50%,
    transparent 100%
  );
  transform: rotate(45deg) translateX(-100%);
  transition: transform 0.6s;
}
.btn-shine:hover::after {
  transform: rotate(45deg) translateX(100%);
}

/* Yellow highlight effect */
.highlight-yellow {
  background-color: rgb(254 240 138);
  padding: 0.25rem;
  transform: rotate(-1deg);
  display: inline-block;
}

.highlight-yellow-rotate {
  background-color: rgb(254 240 138);
  padding: 0.25rem;
  transform: rotate(1deg);
  display: inline-block;
}

/* Warm highlight effect */
.highlight-warm {
  background: linear-gradient(180deg, transparent 60%, #e8a48c40 60%);
  display: inline;
}

/* Gradient text fade effect */
.text-fade-gradient {
  background: linear-gradient(to bottom, rgb(55 65 81), rgb(229 231 235));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Grid pattern background */
.grid-pattern {
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
