:root {
  --cream: #fff6ef;
  --paper: #fffdfb;
  --ink: #2e1a33;
  --ink-soft: #5a4660;
  --rose: #d63f74;
  --rose-dark: #b12e5c;
  --blush: #f9dce5;
  --lavender: #ece4f6;
  --peach: #fbe3cf;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(46, 26, 51, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.65;
}

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

a { color: var(--rose-dark); }
a:hover { color: var(--rose); }

h1, h2, h3 {
  font-family: "Caveat Brush", "Comic Sans MS", cursive;
  font-weight: 400;
  line-height: 1.05;
  margin: 0 0 0.4em;
}

.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 246, 239, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(46, 26, 51, 0.08);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 10px 0;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink); font-weight: 800;
}
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.nav { display: flex; gap: 18px; font-weight: 700; font-size: 16px; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--rose); }
@media (max-width: 600px) { .nav a.hide-sm { display: none; } }

/* ---------- hero ---------- */
.hero { padding: 56px 0 40px; }
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px; align-items: center;
}
.cover {
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(46, 26, 51, 0.25);
  transform: rotate(-2deg);
}
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 13px; font-weight: 800; color: var(--ink-soft); margin: 0 0 8px;
}
.hero h1 { font-size: clamp(64px, 11vw, 112px); color: var(--rose); margin-bottom: 0.1em; }
.tagline { font-size: 22px; font-style: italic; color: var(--ink-soft); margin: 0 0 20px; }
.hook { font-size: 19px; margin: 0 0 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 14px; list-style: none; }
.chips li {
  background: var(--blush); border-radius: 999px;
  padding: 4px 14px; font-size: 15px; font-weight: 700;
}
.meta { font-size: 16px; color: var(--ink-soft); margin: 0 0 24px; }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block; padding: 13px 24px; border-radius: 999px;
  font-weight: 800; text-decoration: none; font-size: 17px;
  border: 2px solid var(--rose); transition: transform 0.15s, background 0.15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--rose); color: #fff; }
.btn-primary:hover { background: var(--rose-dark); border-color: var(--rose-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--rose-dark); }
.btn-ghost:hover { background: var(--blush); color: var(--rose-dark); }

@media (max-width: 800px) {
  .hero { padding-top: 32px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .cover { width: min(300px, 75%); margin-inline: auto; }
  .chips, .buttons { justify-content: center; }
}

/* ---------- banner strip ---------- */
.banner { padding: 8px 0 24px; }
.banner img { margin-inline: auto; width: min(560px, 100%); opacity: 0.95; }

/* ---------- sections ---------- */
section { scroll-margin-top: 80px; }
.panel {
  background: var(--paper); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: clamp(28px, 5vw, 56px);
  position: relative;
}
.section { padding: 32px 0; }
.section h2 { font-size: clamp(44px, 7vw, 64px); }

/* bonus / newsletter */
.bonus .panel {
  background: linear-gradient(135deg, var(--blush), var(--lavender));
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  gap: 48px; align-items: center;
}
.bonus .stations { border-radius: 16px; box-shadow: var(--shadow); transform: rotate(1.5deg); }
.bonus h2 { color: var(--ink); }
.bonus ul { padding-left: 1.1em; margin: 0 0 20px; }
.bonus li { margin-bottom: 6px; }
.form-wrap {
  background: #fff; border-radius: 16px; padding: 8px;
  min-height: 120px; position: relative;
}
.form-fallback {
  margin: 0; padding: 28px 16px; text-align: center;
  color: var(--ink-soft); font-size: 16px;
}
/* hide the fallback once Sender has drawn the form */
.form-wrap:has(.sender-form-field *) .form-fallback { display: none; }
.fine { font-size: 14px; color: var(--ink-soft); margin: 12px 0 0; }
.cracker {
  position: absolute; width: 130px; right: -18px; top: -54px;
  transform: rotate(8deg); pointer-events: none;
}
@media (max-width: 800px) {
  .bonus .panel { grid-template-columns: 1fr; gap: 28px; }
  .bonus .stations { width: min(280px, 80%); margin-inline: auto; }
  .cracker { width: 96px; right: -6px; top: -48px; }
}

/* book */
.book .panel { padding-right: clamp(28px, 18vw, 220px); }
.blurb p { margin: 0 0 14px; }
.blurb .warning { font-weight: 800; }
.blurb .closer { font-style: italic; font-size: 20px; }
.sticker {
  position: absolute; width: 170px; border-radius: 18px;
  box-shadow: var(--shadow);
}
.sticker-jacket { right: 32px; top: 48px; transform: rotate(4deg); }
@media (max-width: 800px) {
  .book .panel { padding-right: clamp(28px, 5vw, 56px); }
  .sticker-jacket { position: static; width: 130px; margin: 0 auto 16px; transform: rotate(4deg); }
}

details {
  margin-top: 24px; background: var(--cream);
  border-radius: 14px; padding: 14px 20px;
}
summary { cursor: pointer; font-weight: 800; }
details p { margin: 12px 0 0; font-size: 16px; }

/* about */
.about .panel { display: grid; grid-template-columns: 200px 1fr; gap: 40px; align-items: center; }
.about .gator { border-radius: 50%; box-shadow: var(--shadow); }
.social { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
@media (max-width: 700px) {
  .about .panel { grid-template-columns: 1fr; text-align: center; }
  .about .gator { width: 160px; margin-inline: auto; }
  .social { justify-content: center; }
}

/* footer */
.site-footer {
  padding: 40px 0 56px; text-align: center;
  font-size: 15px; color: var(--ink-soft);
}
.site-footer p { margin: 6px 0; }

/* small standalone pages (404, thanks, confirm) */
.solo {
  min-height: 80vh; display: grid; place-items: center;
  text-align: center; padding: 40px 20px;
}
.solo img { width: 220px; margin: 0 auto 24px; border-radius: 24px; box-shadow: var(--shadow); }
.solo h1 { font-size: clamp(56px, 10vw, 88px); color: var(--rose); }
.solo p { max-width: 34em; margin: 0 auto 20px; }

/* keyboard focus */
a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 6px;
}

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