@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Fredoka:wght@500;600&family=Nunito:wght@400;600;700&family=Sacramento&display=swap");

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text);
  min-height: 100vh;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 var(--space-4);
  color: var(--text);
}

h1 { font-size: clamp(2.5rem, 7vw, 4rem); line-height: 1.08; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.625rem); letter-spacing: -0.005em; }
h3 { font-size: clamp(1.125rem, 2.5vw, 1.5rem); }

p { margin: 0 0 var(--space-4); }

main {
  padding: var(--space-5) var(--space-4) var(--space-10);
}

.container {
  width: min(100% - var(--space-8), var(--container-max));
  margin-inline: auto;
}

.section {
  padding-block: var(--space-section);
}

.section__header {
  margin-bottom: var(--space-7);
  max-width: 40rem;
}

.section__header--center {
  margin-inline: auto;
  text-align: center;
}

.section__lead {
  font-size: 1.125rem;
  color: var(--text-soft);
  line-height: 1.75;
}

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

.lead {
  font-size: 1.1875rem;
  color: var(--text-soft);
  line-height: 1.8;
  max-width: 36rem;
}

.full-bleed {
  width: 100vw;
  max-width: 100vw;
  margin-inline: calc(50% - 50vw);
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-script);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--primary);
  margin-bottom: var(--space-2);
  line-height: 1.2;
}

.section-eyebrow--caps {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.section-cta-row .section__lead {
  margin-bottom: 0;
}

.section-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
}

.section-link:hover {
  text-decoration: underline;
}

.section--alt {
  background: rgba(255, 240, 246, 0.75);
  border-radius: var(--radius-card);
}

.section--soft {
  background: rgba(253, 232, 242, 0.55);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-3) var(--space-6);
  padding: var(--space-3) var(--space-4);
  background: var(--pink-blush);
  border-bottom: 1px solid rgba(245, 182, 212, 0.35);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-soft);
  text-align: center;
}

.trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.checkout-steps {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  margin-bottom: var(--space-6);
  padding: 0;
  list-style: none;
}

.checkout-steps li {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-soft);
}

.checkout-steps li.is-active {
  color: var(--primary);
}

.checkout-steps li.is-done {
  color: var(--text);
}

.grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}

.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

.grid--masonry {
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

.grid--trust {
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

@media (min-width: 640px) {
  main { padding: var(--space-6) var(--space-5) var(--space-10); }

  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--masonry { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
  .grid--trust { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--masonry { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .grid--masonry { grid-template-columns: repeat(3, 1fr); gap: var(--space-7); }
  .grid--trust { grid-template-columns: repeat(5, 1fr); }
}

.hidden { display: none !important; }

.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;
}

/* Illustration slots — hide fallback when real image is added */
[data-illustration-slot]:has(img[data-custom]) .illustration-fallback {
  display: none;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes gentlePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.65; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.animate-fade-up {
  animation: fadeUp 0.7s ease both;
}

.animate-stagger > * {
  animation: fadeUp 0.6s ease both;
}

.animate-stagger > *:nth-child(1) { animation-delay: 0.05s; }
.animate-stagger > *:nth-child(2) { animation-delay: 0.12s; }
.animate-stagger > *:nth-child(3) { animation-delay: 0.19s; }
.animate-stagger > *:nth-child(4) { animation-delay: 0.26s; }
.animate-stagger > *:nth-child(5) { animation-delay: 0.33s; }
.animate-stagger > *:nth-child(6) { animation-delay: 0.4s; }

.animate-float {
  animation: float 10s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .animate-float {
    animation: none;
  }
}
