:root {
  --midnight: #130a34;
  --plum: #2d1268;
  --purple: #7b61e8;
  --purple-dark: #4e2bbf;
  --lavender: #d9d0ff;
  --lavender-soft: #f2ecff;
  --pink: #ff9dc8;
  --peach: #ffd9d5;
  --orange: #ff9d22;
  --orange-hot: #ff6b3d;
  --yellow: #ffe87a;
  --mint: #c8f4df;
  --blue: #cbe9ff;
  --ink: #1d1246;
  --muted: #6f6695;
  --white: #fffdf9;
  --line: rgba(92, 62, 186, 0.2);
  --shadow: 0 22px 0 rgba(73, 42, 171, 0.2), 0 30px 56px rgba(43, 18, 104, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 232, 122, 0.42), transparent 14rem),
    radial-gradient(circle at 85% 12%, rgba(255, 157, 200, 0.32), transparent 18rem),
    linear-gradient(180deg, #eee9ff 0%, #f7f1ff 46%, #fff8fb 100%);
  font-family: Nunito, Arial, Helvetica, sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.52;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.9) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(255, 232, 122, 0.75) 0 3px, transparent 4px);
  background-position: 0 0, 60px 90px;
  background-size: 150px 150px, 210px 210px;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(1320px, calc(100% - 36px));
  margin: 16px auto 0;
  padding: 10px 14px 10px 16px;
  border: 5px solid rgba(119, 93, 221, 0.36);
  border-radius: 999px;
  background: rgba(211, 193, 255, 0.9);
  box-shadow: 0 12px 0 rgba(66, 38, 146, 0.18), 0 20px 46px rgba(61, 39, 138, 0.18);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--plum);
  font-family: Fredoka, Nunito, sans-serif;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 700;
  line-height: 0.86;
  text-shadow: 0 3px 0 rgba(255, 255, 255, 0.86);
}

.brand img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 46px);
  color: #fff;
  font-family: Fredoka, Nunito, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  text-shadow: 0 3px 0 rgba(56, 30, 137, 0.38);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-family: Fredoka, Nunito, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  text-align: center;
  text-shadow: 0 3px 0 rgba(89, 40, 98, 0.25);
  transition: transform 170ms ease, box-shadow 170ms ease;
}

.nav-cta {
  min-height: 50px;
  padding: 0 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffbd45, var(--orange));
  box-shadow: 0 8px 0 #c97813;
}

.button {
  min-height: 64px;
  padding: 0 32px;
  border-radius: 20px;
  font-size: clamp(1rem, 2vw, 1.28rem);
}

.button.primary {
  background: linear-gradient(90deg, #ff44ad 0%, #ff8a2c 100%);
  box-shadow: 0 9px 0 var(--purple-dark), 0 18px 30px rgba(255, 80, 128, 0.28);
}

.button.secondary {
  border: 4px solid rgba(255, 255, 255, 0.65);
  color: var(--plum);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 7px 0 rgba(92, 62, 186, 0.32);
  text-shadow: none;
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-3px);
}

.button.full {
  width: 100%;
}

.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.88fr) minmax(320px, 1.12fr);
  grid-template-areas:
    "art copy"
    "form copy";
  gap: 28px clamp(34px, 6vw, 72px);
  width: min(1320px, calc(100% - 36px));
  min-height: calc(100vh - 92px);
  margin: 0 auto 74px;
  padding: clamp(56px, 8vw, 104px) 0 72px;
  color: #fff;
}

.hero-section::before {
  position: absolute;
  inset: 22px max(-70px, -5vw) 0;
  z-index: -1;
  content: "";
  border-radius: 54px;
  background:
    radial-gradient(circle at 86% 20%, rgba(255, 232, 122, 0.7), transparent 9rem),
    radial-gradient(circle at 18% 78%, rgba(255, 157, 200, 0.34), transparent 20rem),
    linear-gradient(180deg, #12092d 0%, #29105c 58%, #5b2c83 100%);
  box-shadow: inset 0 0 80px rgba(255, 255, 255, 0.08);
}

.hero-copy {
  grid-area: copy;
  align-self: center;
  text-align: center;
}

.spark-label {
  margin: 0 0 14px;
  color: var(--pink);
  font-family: Fredoka, Nunito, sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.72);
}

.hero-section .spark-label {
  color: #fff;
  text-shadow: 0 4px 0 rgba(67, 30, 127, 0.6);
}

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

h1,
h2,
h3 {
  font-family: Fredoka, Nunito, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  max-width: 850px;
  margin: 0 auto 24px;
  color: var(--yellow);
  font-size: clamp(4rem, 8vw, 8.4rem);
  line-height: 0.9;
  text-shadow:
    0 6px 0 #7d5c21,
    0 11px 0 rgba(71, 39, 134, 0.82),
    0 20px 46px rgba(0, 0, 0, 0.26);
}

h2 {
  color: var(--plum);
  font-size: clamp(2.4rem, 5.6vw, 5.4rem);
  line-height: 0.92;
  text-shadow: 0 6px 0 rgba(196, 182, 245, 0.75);
}

h3 {
  margin-bottom: 10px;
  color: var(--midnight);
  font-size: clamp(1.3rem, 2.3vw, 2rem);
  line-height: 1.02;
}

.hero-lede {
  max-width: 760px;
  margin: 0 auto 34px;
  color: #fff;
  font-family: Fredoka, Nunito, sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.85rem);
  font-weight: 600;
  line-height: 1.34;
  text-shadow: 0 4px 0 rgba(45, 18, 104, 0.52);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.hero-art {
  grid-area: art;
  align-self: end;
  overflow: hidden;
  border: 7px solid rgba(255, 255, 255, 0.85);
  border-radius: 36px;
  background: #35167a;
  box-shadow: var(--shadow);
  transform: rotate(-1.5deg);
}

.hero-art img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.quick-form {
  grid-area: form;
  align-self: start;
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 5px solid rgba(255, 255, 255, 0.62);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.34);
  box-shadow: 0 13px 0 rgba(86, 55, 161, 0.32);
  backdrop-filter: blur(12px);
}

.quick-form label,
.story-form label {
  display: grid;
  gap: 8px;
  color: var(--plum);
  font-family: Fredoka, Nunito, sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.quick-form label {
  color: #fff;
  text-shadow: 0 3px 0 rgba(45, 18, 104, 0.48);
}

input,
textarea {
  width: 100%;
  border: 4px solid var(--purple);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  font: 700 1.08rem/1.45 Nunito, Arial, sans-serif;
  outline: none;
  box-shadow: inset 0 3px 0 rgba(109, 85, 206, 0.12);
}

input {
  height: 54px;
  padding: 0 18px;
}

textarea {
  min-height: 104px;
  resize: vertical;
  padding: 14px 18px;
}

input:focus,
textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 5px rgba(255, 232, 122, 0.5);
}

.section-heading {
  max-width: 920px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading p:not(.spark-label),
.request-panel > div > p,
.parents-section p {
  color: var(--muted);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.55;
}

.story-section,
.how-section,
.request-section,
.parents-section {
  width: min(1320px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 120px) 0;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.story-card {
  position: relative;
  min-height: 360px;
  padding: 18px 18px 24px;
  border: 5px solid rgba(255, 255, 255, 0.88);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 14px 0 rgba(128, 100, 221, 0.18), 0 24px 44px rgba(57, 35, 128, 0.16);
}

.story-card::before,
.story-card::after {
  position: absolute;
  top: -16px;
  width: 76px;
  height: 28px;
  content: "";
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 0 0 2px rgba(193, 178, 241, 0.48);
}

.story-card::before {
  left: 22px;
  transform: rotate(-9deg);
}

.story-card::after {
  right: 22px;
  transform: rotate(9deg);
}

.story-card img {
  aspect-ratio: 1 / 0.78;
  margin-bottom: 18px;
  border-radius: 18px;
  object-fit: cover;
}

.story-card span,
.step-card strong {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(180deg, var(--pink), #ff789f);
  font-family: Fredoka, Nunito, sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  text-shadow: 0 3px 0 rgba(98, 43, 96, 0.28);
}

.pattern-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    radial-gradient(circle at 20% 20%, #fff 0 4px, transparent 5px),
    radial-gradient(circle at 76% 34%, var(--yellow) 0 9px, transparent 10px),
    radial-gradient(circle at 48% 58%, #fff 0 6px, transparent 7px),
    linear-gradient(145deg, #2b166f, #7252d7 58%, #f3c6f0);
}

.pattern-card div {
  min-height: 190px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 34% 34%, var(--yellow) 0 13%, transparent 14%),
    radial-gradient(circle at 58% 56%, var(--pink) 0 11%, transparent 12%),
    radial-gradient(circle at 72% 26%, var(--mint) 0 10%, transparent 11%),
    rgba(255, 255, 255, 0.2);
}

.pattern-card h3 {
  color: #fff;
  text-shadow: 0 4px 0 rgba(35, 15, 90, 0.5);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  position: relative;
  padding: 24px;
  border: 8px solid;
  border-radius: 34px;
  text-align: center;
  box-shadow: 0 16px 0 rgba(89, 59, 161, 0.16), 0 26px 50px rgba(78, 52, 153, 0.12);
}

.step-card strong {
  position: absolute;
  top: -26px;
  right: 24px;
  width: 64px;
  height: 64px;
  background: linear-gradient(180deg, #fff58d, #f8b53b);
}

.step-card img {
  aspect-ratio: 1 / 0.84;
  margin-bottom: 24px;
  border-radius: 22px;
  object-fit: cover;
}

.step-card p {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
}

.step-card.peach {
  border-color: #ff887c;
  background: #ffe1dc;
}

.step-card.yellow {
  border-color: #f7c43a;
  background: #fff2bf;
}

.step-card.blue {
  border-color: #79b9ec;
  background: #d9efff;
}

.step-card.mint {
  border-color: #65c89f;
  background: #daf8ea;
}

.request-panel {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(30px, 6vw, 70px);
  align-items: center;
  padding: clamp(28px, 5vw, 64px);
  border: 8px solid rgba(124, 94, 224, 0.64);
  border-radius: 44px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.story-form {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 4vw, 34px);
  border: 8px solid #c2b2ff;
  border-radius: 32px;
  background:
    radial-gradient(circle at 96% 8%, rgba(255, 232, 122, 0.45), transparent 8rem),
    #fff;
}

.form-note,
.success-message {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.45;
}

.form-note {
  margin: 0;
}

.success-message {
  min-height: 22px;
  color: #267a57;
}

.parents-section {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  align-items: center;
}

.parents-section img {
  border-radius: 50%;
  box-shadow: 0 14px 0 rgba(89, 59, 161, 0.18);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1320px, calc(100% - 36px));
  margin: 0 auto;
  padding: 38px 0 48px;
  color: var(--muted);
  font-weight: 900;
}

.site-footer strong {
  color: var(--plum);
}

.float-star,
.cloud {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.float-star {
  width: 38px;
  height: 38px;
  clip-path: polygon(50% 0, 61% 33%, 96% 35%, 68% 56%, 79% 91%, 50% 70%, 21% 91%, 32% 56%, 4% 35%, 39% 33%);
  background: var(--yellow);
  filter: drop-shadow(0 0 18px rgba(255, 232, 122, 0.72));
}

.star-one {
  top: 28%;
  left: 2%;
}

.star-two {
  right: 8%;
  bottom: 23%;
  transform: scale(1.35) rotate(12deg);
}

.cloud {
  width: 172px;
  height: 72px;
  border-radius: 999px;
  background: #d8c5ff;
  opacity: 0.85;
}

.cloud::before,
.cloud::after {
  position: absolute;
  bottom: 22px;
  content: "";
  border-radius: 50%;
  background: inherit;
}

.cloud::before {
  left: 22px;
  width: 80px;
  height: 80px;
}

.cloud::after {
  right: 20px;
  width: 96px;
  height: 96px;
}

.cloud-left {
  left: -90px;
  bottom: 16%;
}

.cloud-right {
  top: 16%;
  right: -70px;
  background: #ffd1e4;
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-links {
    display: none;
  }

  .hero-section {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "art"
      "form";
  }

  .hero-art,
  .quick-form {
    width: min(720px, 100%);
    margin-inline: auto;
  }

  .story-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .step-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .request-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header,
  .hero-section,
  .story-section,
  .how-section,
  .request-section,
  .parents-section,
  .site-footer {
    width: min(100% - 24px, 1320px);
  }

  .site-header {
    top: 10px;
    padding: 9px 11px;
    border-width: 4px;
  }

  .brand {
    font-size: 1.28rem;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .nav-cta {
    min-height: 44px;
    padding-inline: 18px;
  }

  .hero-section {
    min-height: auto;
    padding-top: 46px;
    margin-bottom: 36px;
  }

  .hero-section::before {
    inset: 10px -12px 0;
    border-radius: 34px;
  }

  h1 {
    font-size: clamp(3.5rem, 18vw, 5.4rem);
  }

  h2 {
    font-size: clamp(2.4rem, 13vw, 4rem);
  }

  .hero-art {
    border-width: 5px;
    border-radius: 24px;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .story-grid,
  .step-grid,
  .parents-section {
    grid-template-columns: 1fr;
  }

  .story-card {
    min-height: auto;
  }

  .float-star,
  .cloud {
    display: none;
  }

  .request-panel {
    padding: 22px;
    border-width: 5px;
    border-radius: 30px;
  }

  .story-form {
    border-width: 5px;
  }
}
