:root {
  color-scheme: light;
  --sun: #ffd166;
  --melon: #ff8f70;
  --pink: #ff6fb1;
  --sky: #7bc8f6;
  --leaf: #74c69d;
  --cream: #fff8ea;
  --paper: #ffffff;
  --ink: #243044;
  --muted: #5d6b7c;
  --shadow: 0 16px 36px rgba(36, 48, 68, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Trebuchet MS", Verdana, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 8%, rgba(255, 209, 102, 0.55), transparent 18rem),
    radial-gradient(circle at 90% 4%, rgba(123, 200, 246, 0.48), transparent 16rem),
    linear-gradient(180deg, #fffdf7 0%, var(--cream) 42%, #f2fbff 100%);
}

body.no-scroll {
  overflow: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(255, 248, 234, 0.9);
  border-bottom: 3px solid rgba(255, 143, 112, 0.24);
  backdrop-filter: blur(12px);
}

.brand {
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 900;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

nav a {
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--ink);
  background: rgba(123, 200, 246, 0.22);
}

main {
  overflow: hidden;
}

.section {
  width: min(100% - 32px, 1120px);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 90px) 0;
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
}

.book-cover {
  width: min(84vw, 500px);
  aspect-ratio: 1;
  object-fit: contain;
  border: 10px solid var(--paper);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 26px 0 10px;
  color: #c54879;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 14px;
  font-size: clamp(3.6rem, 11vw, 7.8rem);
  line-height: 0.9;
  text-wrap: balance;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 5vw, 4.4rem);
  line-height: 0.95;
  text-align: center;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1;
}

.tagline {
  width: min(100%, 610px);
  margin-bottom: 26px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.65;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 15px 24px;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 10px 0 rgba(36, 48, 68, 0.14);
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transform: translateY(0);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 13px 0 rgba(36, 48, 68, 0.14);
  filter: saturate(1.08);
}

.button:active {
  transform: translateY(2px);
  box-shadow: 0 6px 0 rgba(36, 48, 68, 0.14);
}

.primary {
  background: var(--sun);
}

.secondary {
  background: var(--sky);
}

.section-heading {
  display: grid;
  justify-items: center;
  margin-bottom: 26px;
  text-align: center;
}

.section-heading .eyebrow {
  margin-top: 0;
}

.media-carousel {
  width: min(100%, 860px);
  margin: 0 auto;
}

.carousel-slides {
  display: grid;
}

.carousel-slide {
  grid-area: 1 / 1;
  display: none;
}

.carousel-slide.is-active {
  display: block;
}

.video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 10px;
  background: var(--paper);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.video-frame iframe,
.youtube-loader {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 14px;
}

.youtube-loader {
  position: relative;
  padding: 0;
  background: #111;
  cursor: pointer;
  overflow: hidden;
}

.youtube-loader img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.youtube-play {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 74px;
  height: 52px;
  border-radius: 16px;
  background: #ff0033;
  box-shadow: 0 12px 24px rgba(36, 48, 68, 0.28);
  transform: translate(-50%, -50%);
}

.youtube-play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 53%;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 21px solid #fff;
  transform: translate(-50%, -50%);
}

.instagram-frame {
  width: min(100%, 420px);
  min-height: 620px;
  margin: 0 auto;
  padding: 10px;
  background: var(--paper);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.instagram-frame .instagram-media {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

.carousel-button {
  min-height: 42px;
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--sky);
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 7px 0 rgba(36, 48, 68, 0.12);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.carousel-button:hover,
.carousel-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 9px 0 rgba(36, 48, 68, 0.12);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(36, 48, 68, 0.22);
}

.carousel-dots span.is-active {
  background: var(--pink);
}

.buy-section {
  width: 100%;
  max-width: none;
  display: grid;
  justify-items: center;
  padding: 64px 20px;
}

.support-panel {
  width: min(100%, 980px);
  display: grid;
  gap: 24px;
}

.support-heading {
  display: grid;
  justify-items: center;
  text-align: center;
}

.support-heading h2 {
  width: min(100%, 980px);
  margin-bottom: 8px;
  font-size: clamp(2.1rem, 5vw, 4.4rem);
  line-height: 0.95;
}

.support-subtitle {
  width: min(100%, 780px);
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.15rem, 2.5vw, 1.75rem);
  font-weight: 900;
  line-height: 1.2;
}

.support-actions {
  width: min(100%, 520px);
  justify-self: center;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
}

.support-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: clamp(18px, 3vw, 26px);
  background: rgba(255, 255, 255, 0.95);
  border: 4px solid rgba(36, 48, 68, 0.12);
  border-radius: 22px;
  box-shadow: 0 14px 28px rgba(36, 48, 68, 0.18);
}

.step-number {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--sun);
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 900;
  box-shadow: 0 7px 0 rgba(36, 48, 68, 0.12);
}

.support-card-content {
  min-width: 0;
}

.support-card h3 {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.gift-invite,
.review-invite,
.share-invite {
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.68;
}

.gift-invite,
.review-invite,
.share-invite {
  margin: 0 0 16px;
}

.share-buttons {
  display: grid;
  grid-template-columns: repeat(5, clamp(44px, 9vw, 54px));
  gap: 8px;
  align-items: center;
}

.share-button {
  width: 100%;
  min-height: clamp(44px, 9vw, 54px);
  padding: 0;
  color: #fff;
  background: #007aff;
  box-shadow: 0 7px 0 rgba(36, 48, 68, 0.12);
}

.share-button svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.share-button[data-share-method="text"] {
  background: #34c759;
}

.share-button[data-share-method="email"] {
  background: #fce8e6;
  color: #202124;
}

.share-button[data-share-method="facebook"] {
  background: #1877f2;
}

.share-button[data-share-method="x"] {
  background: #000;
}

.share-button[data-share-method="instagram"] {
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 45%, #8134af 72%, #515bd4 100%);
}

.gmail-icon .gmail-red {
  fill: #ea4335;
}

.gmail-icon .gmail-blue {
  fill: #4285f4;
}

.gmail-icon .gmail-green {
  fill: #34a853;
}

.gmail-icon .gmail-yellow {
  fill: #fbbc04;
}

.share-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 20px;
}

.share-modal[hidden] {
  display: none;
}

.share-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(36, 48, 68, 0.42);
}

.share-modal-card {
  position: relative;
  width: min(100%, 520px);
  padding: clamp(20px, 4vw, 28px);
  background: var(--paper);
  border: 4px solid rgba(36, 48, 68, 0.14);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.share-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(36, 48, 68, 0.1);
  color: var(--ink);
  font: inherit;
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.share-modal-card h3 {
  width: calc(100% - 44px);
  margin-bottom: 8px;
}

.share-modal-copy,
.share-copy-status {
  color: var(--muted);
  font-weight: 800;
  line-height: 1.45;
}

.share-modal-copy {
  margin-bottom: 14px;
}

.share-modal textarea {
  width: 100%;
  min-height: 118px;
  padding: 12px;
  border: 3px solid rgba(36, 48, 68, 0.16);
  border-radius: 12px;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.45;
  resize: vertical;
}

.share-modal-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.share-copy-status {
  min-height: 1.45em;
  margin: 12px 0 0;
  font-size: 0.96rem;
}

.creator-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.creator-card {
  display: grid;
  gap: 20px;
  align-content: start;
  padding: clamp(18px, 3vw, 28px);
  background: var(--paper);
  border: 4px solid rgba(255, 209, 102, 0.55);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.creator-card img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffe6ef, #e1f5ff);
}

.creator-card p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.68;
}

.creator-card .role {
  margin-bottom: 8px;
  color: #c54879;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.newsletter-section {
  display: grid;
  justify-items: center;
  padding-bottom: 96px;
}

.newsletter-form {
  width: min(100%, 680px);
}

.newsletter-form iframe {
  width: 100%;
  min-height: 305px;
  border: 0;
  border-radius: 14px;
  display: block;
  margin: 0 auto;
  background: #fff;
}

@media (max-width: 820px) {
  .site-header {
    position: static;
    display: grid;
    justify-items: center;
  }

  nav {
    justify-content: center;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .creator-grid {
    grid-template-columns: 1fr;
  }

  .support-actions {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 560px) {
  .section {
    width: min(100% - 24px, 1120px);
  }

  nav a {
    padding: 7px 8px;
    font-size: 0.84rem;
  }

  .button {
    width: 100%;
  }

  .support-card {
    gap: 12px;
  }

  .step-number {
    width: 42px;
    height: 42px;
    font-size: 1.15rem;
  }

  .share-buttons {
    justify-content: center;
  }

  .share-modal-actions {
    grid-template-columns: 1fr;
  }
}

.review-button {
  min-width: min(100%, 320px);
}
