/* ---------- Reset & base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream: #fff9ef;
  --cream-2: #fff2df;
  --ink: #3a2f28;
  --ink-soft: #6b5d52;

  --coral: #ff7a59;
  --coral-dark: #e8603c;
  --sunshine: #ffc93c;
  --sky: #5ec8d8;
  --grass: #7bc47f;
  --lavender: #b39ddb;

  --card-bg: #ffffff;
  --shadow-soft: 0 10px 30px rgba(58, 47, 40, 0.08);
  --shadow-btn: 0 8px 20px rgba(232, 96, 60, 0.35);

  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-full: 999px;

  --font-display: "Baloo 2", "Comic Sans MS", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

.wrap-narrow {
  max-width: 700px;
}

/* ---------- Decorative background shapes ---------- */
.bg-shapes {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape { position: absolute; opacity: 0.5; }

.shape-blob {
  border-radius: 42% 58% 65% 35% / 45% 45% 55% 55%;
  filter: blur(0.5px);
}

.blob-1 {
  width: 420px; height: 420px;
  top: -140px; right: -160px;
  background: var(--sunshine);
  opacity: 0.35;
}

.blob-2 {
  width: 340px; height: 340px;
  bottom: 8%; left: -160px;
  background: var(--sky);
  opacity: 0.25;
}

.shape-dot {
  border-radius: 50%;
}
.dot-1 {
  width: 26px; height: 26px;
  top: 18%; left: 8%;
  background: var(--coral);
  opacity: 0.4;
}
.dot-2 {
  width: 18px; height: 18px;
  top: 60%; right: 10%;
  background: var(--grass);
  opacity: 0.4;
}

.shape-star {
  width: 34px; height: 34px;
  top: 10%; left: 82%;
  background: var(--lavender);
  opacity: 0.4;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* ---------- Layout shell ---------- */
.page, .site-footer { position: relative; z-index: 1; }

/* ---------- Hero ---------- */
.hero {
  padding: 56px 0 48px;
  text-align: center;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.brand-logo { height: 36px; width: auto; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--coral-dark);
  letter-spacing: 0.2px;
}

.headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 6vw, 3.1rem);
  line-height: 1.15;
  color: var(--ink);
  max-width: 780px;
  margin: 0 auto 18px;
}

.subhead {
  font-size: clamp(1.05rem, 2.6vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto 32px;
}

.hero-art {
  max-width: 560px;
  margin: 0 auto 36px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero-art-img { width: 100%; border-radius: var(--radius-lg); }

/* Fallback illustration if hero image is missing */
.hero-art.art-fallback {
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 22% 35%, rgba(255,201,60,0.55) 0 90px, transparent 91px),
    radial-gradient(circle at 78% 60%, rgba(94,200,216,0.5) 0 100px, transparent 101px),
    var(--card-bg);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art.art-fallback::after {
  content: "A B C";
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3rem;
  color: var(--coral);
  letter-spacing: 0.4rem;
}
.hero-art.art-fallback .hero-art-img { display: none; }

/* ---------- Opt-in form ---------- */
.optin-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 440px;
  margin: 0 auto;
}

@media (min-width: 520px) {
  .optin-form {
    flex-direction: row;
    gap: 10px;
  }
}

.email-input {
  flex: 1;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 16px 22px;
  border: 2px solid #f0dfc8;
  border-radius: var(--radius-full);
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.email-input::placeholder { color: #b9ac9d; font-weight: 600; }

.email-input:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 4px rgba(255, 122, 89, 0.15);
}

.email-input.input-error {
  border-color: #e0534a;
  box-shadow: 0 0 0 4px rgba(224, 83, 74, 0.15);
}

.cta-btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  background: linear-gradient(180deg, var(--coral) 0%, var(--coral-dark) 100%);
  border: none;
  border-radius: var(--radius-full);
  padding: 16px 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}

.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(232, 96, 60, 0.4); }
.cta-btn:active { transform: translateY(0); }

.cta-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.cta-arrow { transition: transform 0.15s ease; }
.cta-btn:hover .cta-arrow { transform: translateX(3px); }

.form-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  opacity: 0.85;
}

.form-note.is-error { color: #c1443b; opacity: 1; font-weight: 700; }
.form-note.is-success { color: #2f8f4e; opacity: 1; font-weight: 700; }

/* ---------- Included / feature list ---------- */
.included { padding: 40px 0 24px; }

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  text-align: center;
  margin-bottom: 32px;
  color: var(--ink);
}

.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 700px) {
  .feature-list { grid-template-columns: 1fr 1fr; }
}

.feature-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 22px 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: var(--shadow-soft);
}

.feature-icon {
  font-size: 1.8rem;
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-2);
  border-radius: 50%;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--ink);
}

.feature-card p {
  font-size: 0.96rem;
  color: var(--ink-soft);
}

/* ---------- How-to callouts ---------- */
.how-to { padding: 32px 0; }

.callout {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--cream-2);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 16px;
}

.callout-secondary {
  background: transparent;
  border: 2px dashed #e7d3b4;
  color: var(--ink-soft);
  font-style: italic;
  font-weight: 600;
}

/* ---------- Final CTA ---------- */
.final-cta {
  padding: 48px 0 64px;
  text-align: center;
}

.final-cta .subhead { margin-bottom: 28px; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 28px 0 40px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.site-footer a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer .disclosure {
  max-width: 520px;
  margin: 0 auto 12px;
  font-size: 0.78rem;
  font-style: italic;
  opacity: 0.85;
}

/* ---------- Bridge / thank-you page ---------- */
.hero-bridge { padding-top: 40px; }

.top-notice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  background: var(--cream-2);
  border: 2px solid #f3e2c4;
  border-radius: var(--radius-full);
  padding: 10px 20px;
  margin: 0 auto 24px;
  max-width: 90%;
}

.bridge-body-section { padding: 8px 0 56px; }

.bridge-body {
  text-align: left;
  max-width: 640px;
  margin: 0 auto;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  box-shadow: var(--shadow-soft);
}

.bridge-body p {
  font-size: 1.03rem;
  color: var(--ink);
  margin-bottom: 20px;
}

.bridge-body p:last-child { margin-bottom: 0; }

.bridge-body strong {
  font-family: var(--font-display);
  color: var(--coral-dark);
}

.bridge-cta {
  text-align: center;
  margin-top: 36px;
}

.cta-btn-lg {
  padding: 18px 34px;
  font-size: 1.12rem;
  text-decoration: none;
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 480px) {
  .hero { padding: 40px 0 32px; }
  .feature-card { padding: 18px; }
}
