/* ── Page wrapper ──────────────────────────────────────────────────────── */
.landing-page {
  background-color: #fbfaf7;
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.landing-hero {
  padding: 3.5rem 0 2.5rem;
}

@media (min-width: 992px) {
  .landing-hero {
    padding: 6rem 0 4rem;
  }
}

.hero-content {
  max-width: 580px;
}

/* ── Indigo pill badge ─────────────────────────────────────────────────── */
.text-bg-indigo {
  background-color: #eef2ff;
  color: #4f46e5;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ── Headline ──────────────────────────────────────────────────────────── */
.headline {
  font-size: clamp(2.4rem, 6vw + 1rem, 4rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #1a1a1a;
}

.landing-text {
  font-size: 1.1rem;
  line-height: 1.65;
}

/* ── Entrance animations ───────────────────────────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-100 {
  animation-delay: 100ms;
}

.delay-200 {
  animation-delay: 200ms;
}

.delay-300 {
  animation-delay: 300ms;
}

/* ── CTA button ────────────────────────────────────────────────────────── */
.cta {
  min-height: 60px;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #fff;
  border: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px -4px rgba(99, 102, 241, 0.45);
}

.cta:hover,
.cta:focus-visible {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -6px rgba(99, 102, 241, 0.55);
  background: linear-gradient(135deg, #818cf8 0%, #6366f1 100%);
}

.cta:active {
  transform: translateY(1px);
  box-shadow: 0 4px 12px -4px rgba(99, 102, 241, 0.4);
}

.cta-sm {
  min-height: 52px;
  font-size: 1rem;
}

/* ── Trust badges ──────────────────────────────────────────────────────── */
.trust-badge {
  height: 54px;
  width: 54px;
  object-fit: contain;
}

.trust-badge-info {
  font-size: 0.65em;
  font-weight: 500 !important;
}

.hover-lift {
  transition: transform 0.2s ease;
}

.hover-lift:hover {
  transform: translateY(-2px);
}

/* ── Bento grid ────────────────────────────────────────────────────────── */
.bento-card {
  border-radius: 1.25rem;
  padding: 1.75rem;
  min-height: 200px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bento-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.08);
}

/* Card colour variants */
.bento-indigo {
  background-color: #eef2ff;
}

.bento-mint {
  background-color: #ecfdf5;
}

.bento-peach {
  background-color: #fff7ed;
}

/* Image card */
.bento-image {
  padding: 0;
  min-height: 220px;
}

.bento-image img {
  border-radius: 1.25rem;
  transform-origin: center center;
  animation: livingLandscape 30s ease-in-out infinite alternate;
}

/* Icons */
.bento-icon {
  font-size: 2rem;
  color: #6366f1;
  display: block;
  margin-bottom: 0.75rem;
}

.bento-mint .bento-icon {
  color: #059669;
}

.bento-peach .bento-icon {
  color: #ea580c;
}

.bento-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #1a1a1a;
}

.bento-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4b5563;
  margin-bottom: 0;
}

/* ── Living landscape animation ────────────────────────────────────────── */
@keyframes livingLandscape {
  0% {
    transform: scale(1) translate(0, 0);
  }

  50% {
    transform: scale(1.05) translate(-1%, -1%);
  }

  100% {
    transform: scale(1) translate(0, 0);
  }
}

/* ── Swipeable cards (Linear.app style) ────────────────────────────────── */
.swipe-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Firefox */
  /* left padding aligns with container; right padding leaves gap after last card */
  padding: 0.5rem max(1.5rem, calc((100vw - 1320px) / 2 + 1.5rem)) 1.5rem 1.5rem;
}

@media (min-width: 1400px) {
  .swipe-track {
    padding-left: calc((100vw - 1320px) / 2 + 1.5rem);
  }
}

.swipe-track::-webkit-scrollbar {
  display: none;
}

/* Card is 82vw on mobile so the next card peeks in */
.swipe-card {
  flex: 0 0 82vw;
  scroll-snap-align: start;
  border-radius: 1.25rem;
  padding: 2rem;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (min-width: 576px) {
  .swipe-card {
    flex: 0 0 360px;
  }
}

@media (min-width: 992px) {
  .swipe-card {
    flex: 0 0 380px;
  }
}

/* Pastel fills */
.swipe-sky {
  background-color: #dbeafe;
}

.swipe-yellow {
  background-color: #fef9c3;
}

.swipe-mint {
  background-color: #dcfce7;
}

.swipe-pink {
  background-color: #fce7f3;
}

.swipe-quote {
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.55;
  color: #1a1a1a;
  flex: 1;
  margin-bottom: 1.5rem;
}

.swipe-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.swipe-avatar {
  font-size: 2.25rem;
  line-height: 1;
}

/* ── Indigo utility ────────────────────────────────────────────────────── */
.text-indigo {
  color: #6366f1;
}

/* ── Bottom CTA strip ──────────────────────────────────────────────────── */
.bottom-cta {
  background: linear-gradient(135deg, #eef2ff 0%, #fbfaf7 60%);
  border-radius: 1.5rem;
  margin-left: 1rem;
  margin-right: 1rem;
}

@media (min-width: 992px) {
  .bottom-cta {
    margin-left: 2rem;
    margin-right: 2rem;
  }
}

.bottom-avatar {
  font-size: 4rem;
  line-height: 1;
}