:root {
  --primary: #f43f5e;
  --secondary: #fff1f2;
  --accent: #0284c7;
  --text: #881337;
  --bg: #fafafa;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #f8fafc;
  color: #1e293b;
}

.card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.cta-button {
  background-color: var(--primary);
  color: #ffffff !important;
  min-height: 44px;
}

/* Strict sr-only implementation for gallery radios */
.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;
}

/* Gallery CSS Logic */
.gallery-main {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  overflow: hidden;
  background-color: #ffffff;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.3s ease-in-out;
}

/* Active slide display */
#img-1:checked ~ .gallery-main .slide-1,
#img-2:checked ~ .gallery-main .slide-2,
#img-3:checked ~ .gallery-main .slide-3,
#img-4:checked ~ .gallery-main .slide-4 {
  opacity: 1;
  z-index: 10;
}

/* Active thumbnail borders */
#img-1:checked ~ .thumbnails label[for="img-1"],
#img-2:checked ~ .thumbnails label[for="img-2"],
#img-3:checked ~ .thumbnails label[for="img-3"],
#img-4:checked ~ .thumbnails label[for="img-4"] {
  border-color: var(--primary);
}

/* Responsive clamp typography */
h1 {
  font-size: clamp(18px, 4vw, 24px);
}

h2 {
  font-size: clamp(20px, 4.5vw, 28px);
}

/* High contrast text guarantees */
.bg-slate-900, header {
  color: #ffffff;
}

.bg-slate-900 a {
  color: #cbd5e1;
}

.bg-slate-900 a:hover {
  color: #ffffff;
}