:root {
  --primary: #7c3aed;
  --secondary: #f5f3ff;
  --accent: #f59e0b;
  --text: #2e1065;
  --bg: #ffffff;
}

body {
  background: #fafafa;
  color: #18181b;
  font-family: ui-monospace, 'JetBrains Mono', monospace;
  font-size: clamp(14px, 4vw, 16px);
  margin: 0;
  padding: 0;
}

section {
  padding: 32px 16px;
}

@media (min-width: 768px) {
  section {
    padding: 48px 16px;
  }
}

.card {
  background: #ffffff;
  border: 1px solid #e4e4e7;
  border-radius: 4px;
}

.btn {
  border-radius: 4px;
  border: 1px solid #18181b;
  font-weight: 500;
  min-height: 44px;
}

h1 {
  font-size: clamp(20px, 4vw, 28px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #18181b;
}

h2 {
  font-size: clamp(18px, 3.5vw, 24px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #18181b;
}

/* Screen reader only utility class */
.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;
}

/* Pure CSS Gallery */
.gallery-main {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid #e4e4e7;
  background-color: #ffffff;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.3s ease-in-out;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Radio Switcher Logic */
#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;
}

.thumbnails {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.thumbnails label {
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  width: 22%;
  aspect-ratio: 1;
  display: block;
}

.thumbnails label img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#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);
}

/* CTA Button Styling */
.cta-button {
  background-color: var(--primary);
  color: #ffffff !important;
  min-height: 48px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 4px;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.cta-button:hover {
  background-color: #6d28d9;
  transform: translateY(-1px);
}