/* ==========================================================
   You Were Never Too Much — landing page styles
   Single-column "story" layout, one font family throughout
   ========================================================== */

:root {
  --bg: #F7EEE1;
  --text: #2B2420;
  --text-soft: #6B5D50;
  --accent: #E2934F;
  --accent-dark: #C96B2E;
  --green-bg: #DDF0E1;
  --green: #4C9A6A;
  --border: #E8DCC7;
  --card-bg: #FFFDF9;
  --radius: 16px;
  --max-width: 460px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  font-family: "Nunito Sans", "Trebuchet MS", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 1.08rem;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: "Lora", "Georgia", serif;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin: 0 0 18px;
}

h1 { font-size: 2.05rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.2rem; margin-bottom: 8px; }

p { margin: 0 0 18px; font-size: 1.12rem; line-height: 1.7; }

a { color: inherit; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--text);
  color: #fff;
  padding: 10px 16px;
  z-index: 999;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Page shell ---------- */
.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 36px 22px calc(130px + env(safe-area-inset-bottom));
  text-align: center;
}

.block { margin-bottom: 8px; }

/* ---------- Divider ---------- */
.divider {
  width: 64px;
  height: 2px;
  border: none;
  background: var(--border);
  margin: 34px auto;
}

/* ---------- Badge ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
  box-shadow: 0 8px 18px -12px rgba(43, 36, 32, 0.35);
}
.badge-icon {
  font-size: 0.95rem;
  animation: badgeFlicker 2.4s ease-in-out infinite;
}

@keyframes badgeFlicker {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.15) rotate(-6deg); }
}

/* ---------- Hero ---------- */
.hero-block h1 {
  margin-bottom: 26px;
  text-align: center;
}

/* ---------- Rotating keyword ---------- */
.rotate {
  position: relative;
  display: inline-block;
  width: 17ch;
  height: 1.25em;
  vertical-align: top;
}
.rotate-track {
  position: absolute;
  inset: 0;
}
.rotate-word {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  color: var(--accent-dark);
  font-weight: 800;
  text-shadow: 0 0 18px rgba(226, 147, 79, 0.65), 0 0 6px rgba(226, 147, 79, 0.45);
  opacity: 0;
  transform: translateY(22px);
  animation: rotateWord 6s ease-in-out infinite;
}
.rotate-word:nth-child(1) { animation-delay: 0s; }
.rotate-word:nth-child(2) { animation-delay: 2s; }
.rotate-word:nth-child(3) { animation-delay: 4s; }

@keyframes rotateWord {
  0% { opacity: 0; transform: translateY(22px); }
  5% { opacity: 1; transform: translateY(0); }
  28% { opacity: 1; transform: translateY(0); }
  33% { opacity: 0; transform: translateY(-22px); }
  100% { opacity: 0; transform: translateY(-22px); }
}

.hero-visual {
  position: relative;
  display: inline-block;
  margin-bottom: 26px;
  animation: floatY 4s ease-in-out infinite;
}
.hero-visual img {
  width: 90vw;
  max-width: 370px;
  margin: 0 auto;
  filter: drop-shadow(0 20px 30px -14px rgba(43, 36, 32, 0.4));
}
.hero-arrow {
  position: absolute;
  top: -34px;
  left: 10px;
  transform: rotate(-6deg);
}

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

.tagline {
  font-size: 1.15rem;
  font-weight: 700;
}

/* ---------- Text blocks ---------- */
.lead {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.section-label {
  font-weight: 700;
  margin: 26px 0 14px;
  text-align: left;
}

.feature-line {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  text-align: left;
}
.feature-line .dot { flex-shrink: 0; }
.feature-line > span:last-child { text-align: left; }

.poem {
  font-size: 1.12rem;
  color: var(--text-soft);
}

.heart-wave {
  font-size: 1.6rem;
  margin-top: 18px;
}

/* ---------- Images ---------- */
.stack-img {
  margin: 30px auto;
  max-width: 300px;
  filter: drop-shadow(0 22px 28px -16px rgba(43, 36, 32, 0.4));
}
.stack-img-sm { max-width: 220px; }

/* ---------- CTA button ---------- */
.btn-cta {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: 0 16px 28px -14px rgba(201, 107, 46, 0.6);
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
  animation: ctaGlow 4s ease-in-out infinite;
}
.btn-cta:hover { transform: translateY(-2px) scale(1.01); }
.btn-cta:active { transform: translateY(0) scale(0.97); }

.btn-cta::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: -60%;
  left: -25%;
  width: 30%;
  height: 220%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  transform: translateX(-120%) rotate(18deg);
  animation: shineSweep 4s ease-in-out infinite;
  pointer-events: none;
}

.btn-cta-main, .btn-cta-sub {
  position: relative;
  z-index: 2;
}
.btn-cta-main {
  display: block;
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: 0.01em;
}
.btn-cta-sub {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.92;
  margin-top: 4px;
}

.sparkle {
  position: absolute;
  z-index: 3;
  font-size: 0.8rem;
  line-height: 1;
  pointer-events: none;
  opacity: 0;
  animation: twinkle 4s ease-in-out infinite;
}
.sparkle-1 { top: 10px; right: 16px; animation-delay: 0.3s; }
.sparkle-2 { bottom: 10px; left: 18px; font-size: 0.65rem; animation-delay: 2s; }

@keyframes ctaGlow {
  0%, 100% {
    box-shadow: 0 16px 28px -14px rgba(201, 107, 46, 0.6), 0 0 0 rgba(226, 147, 79, 0);
  }
  50% {
    box-shadow: 0 16px 28px -14px rgba(201, 107, 46, 0.6), 0 0 28px 3px rgba(226, 147, 79, 0.55);
  }
}

@keyframes shineSweep {
  0% { transform: translateX(-120%) rotate(18deg); }
  35% { transform: translateX(420%) rotate(18deg); }
  100% { transform: translateX(420%) rotate(18deg); }
}

@keyframes twinkle {
  0%, 14% { opacity: 0; transform: scale(0.4) rotate(0deg); }
  20% { opacity: 1; transform: scale(1.1) rotate(15deg); }
  26%, 100% { opacity: 0; transform: scale(0.4) rotate(0deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual,
  .btn-cta,
  .btn-cta::before,
  .sparkle,
  .rotate-word {
    animation: none !important;
  }
  .rotate-word {
    opacity: 0;
    transform: none;
  }
  .rotate-word:first-child {
    position: static;
    opacity: 1;
  }
}

/* ---------- Qualifying checklist ---------- */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  text-align: left;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}
.check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-bg);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* ---------- 3 features ---------- */
.features-block {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 24px;
  margin: 40px 0;
}
.feature-item { margin-bottom: 30px; }
.feature-item:last-child { margin-bottom: 0; }
.feature-item img {
  height: 74px;
  width: auto;
  margin: 0 auto 12px;
}
.feature-item h3 { margin-bottom: 6px; }
.feature-item p { text-align: center; color: var(--text-soft); margin: 0; }

/* ---------- Testimonials ---------- */
.testimonial-carousel-wrap {
  position: relative;
  margin: 30px calc(-1 * 22px) 0;
}
.testimonial-carousel {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 22px 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.testimonial-carousel::-webkit-scrollbar { display: none; }

.testimonial-card {
  flex: 0 0 auto;
  scroll-snap-align: center;
  width: 94%;
  max-width: 380px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 14px 26px -18px rgba(43, 36, 32, 0.3);
}
.testimonial-card img {
  width: 100%;
  height: auto;
}

.testimonial-fade {
  position: absolute;
  top: 0;
  bottom: 10px;
  width: 44px;
  pointer-events: none;
  z-index: 2;
}
.testimonial-fade-left {
  left: 0;
  background: linear-gradient(to right, #F7EEE1, rgba(247, 238, 225, 0));
}
.testimonial-fade-right {
  right: 0;
  background: linear-gradient(to left, #F7EEE1, rgba(247, 238, 225, 0));
}

/* ---------- FAQ ---------- */
.accordion { text-align: left; margin-bottom: 30px; }
.accordion-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
}
.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 16px 16px;
  font-family: "Nunito Sans", sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  text-align: left;
}
.chevron {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--accent-dark);
  transition: transform 0.2s ease;
}
.accordion-trigger[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.accordion-panel p {
  padding: 0 16px 16px;
  color: var(--text-soft);
  margin: 0;
  font-size: 1rem;
}

/* ---------- Footer ---------- */
.site-footer { margin-top: 10px; }
.footer-links {
  font-size: 0.92rem;
  color: var(--text-soft);
  font-weight: 700;
}
.footer-links a { color: var(--text-soft); text-decoration: underline; }
.footer-legal, .footer-copy {
  font-size: 0.82rem;
  color: var(--text-soft);
  opacity: 0.85;
}
.footer-legal a { color: var(--text-soft); text-decoration: underline; }

/* ---------- Sticky CTA bar ---------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(247, 238, 225, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -12px 24px -18px rgba(43, 36, 32, 0.35);
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}
.sticky-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.sticky-cta .btn-cta {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 20px;
}
.sticky-cta .btn-cta-main { font-size: 1.05rem; }
.sticky-cta .btn-cta-sub { font-size: 0.82rem; margin-top: 1px; }

/* ---------- Small screens fine-tuning ---------- */
@media (max-width: 380px) {
  .page { padding: 28px 16px 48px; }
  h1 { font-size: 1.7rem; }
  .badge { font-size: 0.76rem; padding: 8px 14px; }
  .testimonial-carousel-wrap { margin-left: -16px; margin-right: -16px; }
  .testimonial-carousel { padding-left: 16px; padding-right: 16px; }
}

/* ---------- Legal pages ---------- */
.legal-page {
  text-align: left;
  padding-bottom: 60px;
}
.back-link {
  display: inline-block;
  margin-bottom: 30px;
  font-weight: 700;
  color: var(--accent-dark);
  text-decoration: none;
}
.back-link:hover { text-decoration: underline; }
.legal-page h1 { text-align: left; margin-bottom: 6px; }
.legal-updated {
  color: var(--text-soft);
  font-size: 0.9rem;
  margin-bottom: 34px;
}
.legal-page h2 {
  font-size: 1.25rem;
  margin-top: 36px;
  margin-bottom: 12px;
}
.legal-page p { text-align: left; }
.legal-page p, .legal-page li { color: var(--text-soft); }

.legal-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 22px 50px;
  text-align: center;
}
