@import url("https://fonts.googleapis.com/css2?family=Bad+Script&family=Caveat:wght@500;600;700&family=Nunito:wght@700;800;900;1000&family=Onest:wght@400;500;600;700&display=swap");

:root {
  --cream: #fbf7ef;
  --beige: #f0e6d2;
  --graphite: #3d3a34;
  --pink: #e8b7b0;
  --sage: #a7b98f;
  --blue: #aecbe0;
  --lilac: #cbbde0;
  --butter: #ffc94d;
  --orange: #f5934a;
  --white: #fffdf9;
  --line: rgba(61, 58, 52, 0.12);
  --shadow: 0 22px 60px rgba(96, 76, 47, 0.12);
  --soft-shadow: 0 10px 28px rgba(96, 76, 47, 0.1);
  --radius: 30px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--graphite);
  background:
    radial-gradient(circle at 12% 2%, rgba(255, 201, 77, 0.12), transparent 25rem),
    radial-gradient(circle at 94% 20%, rgba(203, 189, 224, 0.16), transparent 28rem),
    var(--cream);
  font-family: "Onest", system-ui, sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.22;
  background-image: radial-gradient(rgba(61, 58, 52, 0.12) 0.6px, transparent 0.6px);
  background-size: 8px 8px;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Nunito", sans-serif;
  font-weight: 1000;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(48px, 5.7vw, 84px);
}

h2 {
  font-size: clamp(40px, 4.4vw, 68px);
}

h3 {
  font-size: 25px;
}

p {
  margin-top: 0;
}

section {
  position: relative;
  isolation: auto;
}

[id] {
  scroll-margin-top: 96px;
}

.decor {
  position: absolute;
  z-index: 10;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 10px 14px rgba(96, 76, 47, 0.08));
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 20px;
  width: min(1180px, calc(100% - 32px));
  min-height: 70px;
  margin: 14px auto 0;
  padding: 10px 12px 10px 18px;
  background: rgba(255, 253, 249, 0.86);
  border: 1px solid rgba(61, 58, 52, 0.08);
  border-radius: 24px;
  box-shadow: 0 12px 36px rgba(96, 76, 47, 0.1);
  backdrop-filter: blur(18px);
  transition: transform 280ms ease, opacity 220ms ease;
  will-change: transform;
}

.site-header.site-header--hidden {
  opacity: 0.96;
  transform: translateY(calc(-100% - 28px));
}

.brand {
  min-width: 96px;
  color: var(--orange);
  font-family: "Nunito", sans-serif;
  font-size: 29px;
  font-weight: 1000;
  text-shadow: none;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex: 1;
}

.nav-links a {
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: background 160ms ease, transform 160ms ease;
}

.nav-links a:hover {
  background: var(--beige);
  transform: translateY(-1px);
}

.login-btn,
.primary-cta,
.secondary-cta,
.ghost-btn,
.envelope a,
.landing-buy-btn,
.site-footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 24px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.login-btn,
.primary-cta,
.envelope a,
.landing-buy-btn {
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 10px 20px rgba(245, 147, 74, 0.25);
}

.login-btn {
  min-height: 46px;
  padding: 10px 22px;
}

.login-btn:hover,
.primary-cta:hover,
.secondary-cta:hover,
.ghost-btn:hover,
.envelope a:hover,
.landing-buy-btn:hover,
.site-footer a:hover {
  transform: translateY(-2px);
  filter: saturate(1.05);
}

.kid-link {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: grid;
  gap: 2px;
  justify-items: center;
  overflow: hidden;
  width: min(360px, calc(100vw - 44px));
  min-height: 48px;
  padding: 12px 18px 13px;
  text-align: center;
  color: var(--graphite);
  background: var(--lilac);
  border: 3px solid var(--white);
  border-radius: 999px;
  box-shadow: var(--soft-shadow);
  font: 600 15px "Onest", sans-serif;
  cursor: pointer;
  animation: kidFloat 4.8s ease-in-out infinite;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.kid-link span,
.kid-link small {
  position: relative;
  z-index: 1;
}

.kid-link span {
  font: 900 17px/1.05 "Nunito", sans-serif;
}

.kid-link small {
  display: block;
  max-width: none;
  white-space: nowrap;
  font: 700 12px/1.25 "Onest", sans-serif;
}

.kid-link::after {
  content: "";
  position: absolute;
  top: -60%;
  bottom: -60%;
  left: -75%;
  width: 42%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  transform: skewX(-18deg);
  animation: kidShine 5s ease-in-out infinite;
}

.kid-link--hidden {
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  animation: none;
  transform: translateY(18px);
}

@keyframes kidFloat {
  50% { transform: translateY(-4px) rotate(1deg); }
}

@keyframes kidShine {
  0%, 72% { left: -75%; opacity: 0; }
  78% { opacity: 1; }
  90%, 100% { left: 130%; opacity: 0; }
}

.eyebrow,
.mini-label,
.stamp {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 14px;
  color: var(--graphite);
  background: var(--sage);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.script-line,
.hand-note,
.tape-note,
.author-photo figcaption,
.polaroid figcaption {
  font-family: "Caveat", "Bad Script", cursive;
  font-weight: 600;
}

.hero {
  display: grid;
  grid-template-columns: minmax(420px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
  width: min(1240px, calc(100% - 32px));
  min-height: 680px;
  margin: 28px auto 72px;
  padding: 56px clamp(28px, 5vw, 72px);
  background: rgba(255, 253, 249, 0.88);
  border: 1px solid rgba(61, 58, 52, 0.07);
  border-radius: 40px;
  box-shadow: var(--shadow);
}

.hero-copy {
  order: 2;
  position: relative;
  z-index: 4;
}

.hero-copy .eyebrow {
  background: var(--sage);
}

.hero-text {
  max-width: 610px;
  margin: 22px 0;
  font-size: 18px;
}

.fact-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0;
}

.fact-strip span {
  display: grid;
  place-items: center;
  min-height: 68px;
  padding: 10px;
  text-align: center;
  background: var(--beige);
  border-radius: 18px;
  font-size: 13px;
  font-weight: 600;
}

.fact-strip span:nth-child(1) { background: rgba(255, 201, 77, 0.3); }
.fact-strip span:nth-child(2) { background: rgba(232, 183, 176, 0.48); }
.fact-strip span:nth-child(3) { background: rgba(174, 203, 224, 0.52); }
.fact-strip span:nth-child(4) { background: rgba(203, 189, 224, 0.52); }

.hero-visual {
  order: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-height: 0;
}

.hero-scene-image {
  width: min(100%, 480px);
  max-height: 590px;
  object-fit: contain;
  border-radius: 26px;
}

.massive-word {
  position: absolute;
  top: 80px;
  left: 4%;
  z-index: 0;
  margin: 0;
  color: #ffd067;
  font: 1000 clamp(110px, 13vw, 190px)/0.8 "Nunito", sans-serif;
  text-shadow: 0 8px 0 #fff1c9, 0 18px 30px rgba(255, 201, 77, 0.28);
}

.hero-luchik {
  position: absolute;
  right: 9%;
  bottom: -8px;
  z-index: 2;
  width: min(390px, 78%);
  filter: drop-shadow(0 22px 28px rgba(96, 76, 47, 0.15));
}

.note-hello {
  position: absolute;
  right: 0;
  bottom: 64px;
  z-index: 4;
  font-size: 26px;
  transform: rotate(-5deg);
}

.tape-note {
  position: absolute;
  top: 30px;
  left: -10px;
  z-index: 3;
  padding: 15px 24px;
  background: var(--beige);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  font-size: 24px;
  transform: rotate(-6deg);
}

.tape-note::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 28px;
  width: 72px;
  height: 26px;
  background: rgba(232, 183, 176, 0.72);
  transform: rotate(-4deg);
}

.hero-coins {
  top: 5px;
  right: -22px;
  width: 120px;
}

.hero-stars {
  left: -18px;
  bottom: 30px;
  width: 88px;
}

.hero-character-note {
  max-width: 480px;
  margin: 0;
  padding: 14px 18px;
  color: var(--graphite);
  background: rgba(255, 253, 249, 0.9);
  border: 1px solid rgba(61, 58, 52, 0.08);
  border-radius: 16px;
  box-shadow: var(--soft-shadow);
  font-size: 14px;
  line-height: 1.45;
}

.split-problem,
.author,
.worlds,
.diary,
.how,
.details,
.pricing,
.faq {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto 72px;
  padding: clamp(48px, 7vw, 90px);
  border-radius: 40px;
}

.split-problem {
  position: relative;
  margin-bottom: 0;
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.9), rgba(247, 239, 226, 0.9)),
    url("./assets/textures/paper.jpg") center / 560px auto repeat;
}

.split-problem::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.26), transparent 28%),
    radial-gradient(circle at 82% 26%, rgba(239, 181, 60, 0.06), transparent 26%),
    radial-gradient(circle at 50% 78%, rgba(61, 58, 52, 0.04), transparent 34%);
  opacity: 0.9;
}

.split-problem > * {
  position: relative;
  z-index: 1;
}

/* Full-width diary spreads break up the repeated card rhythm. */
.split-problem,
.author,
.diary,
.how,
.details,
.pricing {
  width: 100%;
  max-width: none;
  padding-left: max(32px, calc((100% - 1240px) / 2));
  padding-right: max(32px, calc((100% - 1240px) / 2));
  border-radius: 0;
  box-shadow: none;
}

.split-panel {
  position: relative;
  z-index: 2;
}

.split-panel h2 {
  font-size: clamp(36px, 4vw, 60px);
}

.split-panel p {
  max-width: 620px;
  font-size: 18px;
}

.muted-paper {
  min-height: 0;
  padding: 55px 38px 40px;
  background:
    linear-gradient(180deg, rgba(255, 251, 241, 0.92), rgba(251, 242, 218, 0.96)),
    url("./assets/textures/linen.jpg") center / 520px auto repeat;
  border-radius: 8px 8px 28px 8px;
  box-shadow: var(--soft-shadow);
  transform: rotate(-3deg);
}

.muted-paper::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 26%;
  width: 150px;
  height: 38px;
  background: rgba(167, 185, 143, 0.65);
  transform: rotate(-2deg);
}

.muted-paper .mini-label {
  background: var(--pink);
}

.warm-paper {
  padding: 46px;
  background:
    linear-gradient(180deg, rgba(242, 229, 201, 0.96), rgba(238, 220, 189, 0.95)),
    url("./assets/textures/linen.jpg") center / 520px auto repeat;
  border-radius: var(--radius);
}

.warm-paper .mini-label {
  background: var(--blue);
}

.warm-paper .script-line {
  margin: 28px 0 14px;
  color: #bd7447;
  font-size: 25px;
}

.secondary-cta {
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 10px 20px rgba(245, 147, 74, 0.22);
}

.bridge-photo {
  display: none;
}

.author {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 7vw, 100px);
  align-items: center;
  background: var(--blue);
}

.author-collage {
  position: relative;
  min-height: 520px;
}

.author-photo {
  position: absolute;
  inset: 0 48px auto 0;
  margin: 0;
  padding: 18px 18px 64px;
  background: var(--white);
  border-radius: 22px;
  box-shadow: var(--soft-shadow);
  transform: rotate(-4deg);
}

.portrait-photo {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 18px;
}

.author-photo-luchik {
  position: absolute;
  top: -58px;
  right: -24px;
  z-index: 2;
  width: clamp(88px, 9vw, 126px);
  filter: drop-shadow(0 12px 16px rgba(61, 58, 52, 0.16));
  pointer-events: none;
}

.author-photo figcaption {
  position: absolute;
  left: 22px;
  bottom: 20px;
  font-size: 22px;
}

.author-copy {
  position: relative;
  z-index: 2;
}

.author-copy p {
  max-width: 650px;
  font-size: 18px;
}

.author-copy blockquote {
  margin: 28px 0;
  padding: 24px 28px;
  background: rgba(255, 253, 249, 0.58);
  border-radius: 22px;
  font-weight: 600;
}

.author-copy cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.light-btn {
  background: var(--orange);
}

.ghost-btn {
  color: var(--graphite);
  background: rgba(255, 253, 249, 0.7);
}

.worlds {
  overflow: visible;
  background:
    radial-gradient(circle at 18% 18%, rgba(167, 185, 143, 0.12), transparent 19%),
    radial-gradient(circle at 82% 18%, rgba(203, 189, 224, 0.12), transparent 18%),
    radial-gradient(circle at 35% 72%, rgba(166, 191, 224, 0.12), transparent 20%),
    radial-gradient(circle at 78% 76%, rgba(243, 180, 168, 0.1), transparent 18%),
    linear-gradient(180deg, rgba(255, 252, 246, 0.94), rgba(248, 243, 233, 0.96));
  box-shadow: var(--shadow);
}

.section-heading {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 30px 60px;
  align-items: end;
  margin-bottom: 54px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
}

.section-heading p:not(.eyebrow) {
  max-width: 560px;
  margin: 0;
  font-size: 18px;
}

.worlds-tag {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0 0 6px;
  padding: 9px 18px;
  border-radius: 999px;
  background: #dbe9c8;
  color: #5d7040;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.worlds-tag .leaf { font-size: 16px; }

.worlds-cloud { top: 6px; right: 56px; width: 150px; z-index: 1; }
.worlds-star-a { top: 84px; right: 250px; width: 50px; }
.worlds-star-b { top: 150px; right: 150px; width: 38px; }
.worlds-star-c { bottom: 130px; left: 26px; width: 40px; }
.worlds-heart { top: 70px; right: 196px; width: 36px; }

.map-board {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 26px);
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(18px, 2.5vw, 28px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.map-board::before,
.map-board::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.map-board::before {
  display: none;
}

.map-board::after {
  display: none;
}

.worlds-map-board > * {
  position: relative;
  z-index: 1;
}

.worlds-center-luchik {
  position: absolute;
  left: 50%;
  top: 51%;
  z-index: 3;
  width: clamp(128px, 14vw, 190px);
  max-width: 22%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  filter: drop-shadow(0 18px 20px rgba(96, 76, 47, 0.12));
}

.map-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 240px;
  height: 240px;
  transform: translate(-50%, -50%);
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 209, 120, 0.55) 0%, rgba(255, 209, 120, 0.18) 42%, transparent 68%);
}

.map-luchik {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  width: 150px;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 14px 16px rgba(96, 76, 47, 0.18));
}

.world-card {
  position: relative;
  z-index: 2;
  display: block;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.world-text {
  position: relative;
  z-index: 2;
  flex: 1 1 54%;
}

.world-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 12px;
  border-radius: 50%;
  font: 800 21px "Nunito", sans-serif;
  color: #fff;
  box-shadow: 0 7px 14px rgba(96, 76, 47, 0.18);
}

.world-card h3 { margin: 0 0 8px; }

.world-card p {
  max-width: 270px;
  margin: 0;
  font-weight: 500;
}

.world-card-png {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 18px 20px rgba(96, 76, 47, 0.1))
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.45));
}

.body-card { background: #fbe4e3; }
.mind-card { background: #e3eef7; }
.soul-card { background: #ece2f6; }
.good-card { background: #e7f0dd; }
.body-card .world-num { background: #ef8b7d; }
.mind-card .world-num { background: #6aa6d8; }
.soul-card .world-num { background: #9b7fce; }
.good-card .world-num { background: #8aa86a; }

.center-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin: 38px auto 0;
}

.worlds-cta .cta-gift { width: 34px; height: 34px; }
.worlds-cta .cta-arrow { font-weight: 800; font-size: 20px; }

.worlds-heading {
  display: block;
  text-align: center;
  margin-bottom: 46px;
}

.worlds-heading .worlds-tag {
  margin: 0 auto 16px;
}

.worlds-heading h2 {
  max-width: none;
  margin: 0;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.1;
}

.worlds-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 1020px;
  margin: 30px auto 0;
  text-align: left;
}

.worlds-notes p {
  position: relative;
  margin: 0;
  padding: 28px 28px 24px;
  background: var(--beige);
  border-radius: 8px 8px 22px 8px;
  box-shadow: var(--soft-shadow);
  font-size: 16px;
  line-height: 1.55;
  transform: rotate(-0.7deg);
}

.worlds-notes p:nth-child(2) {
  background: #f4e9da;
  transform: rotate(0.7deg);
}

.worlds-notes p::before {
  content: "";
  position: absolute;
  top: -11px;
  left: 50%;
  width: 86px;
  height: 22px;
  background: rgba(203, 189, 224, 0.68);
  transform: translateX(-50%) rotate(-2deg);
}

.worlds-notes p:nth-child(2)::before {
  background: rgba(167, 185, 143, 0.7);
  transform: translateX(-50%) rotate(2deg);
}

.worlds-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  max-width: 1020px;
  margin: 40px auto 0;
}

.worlds-footer .worlds-lead {
  max-width: 560px;
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
}

.worlds-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.diary {
  overflow: visible;
  margin-bottom: 0;
  background: var(--beige);
}

.diary-title {
  position: relative;
  z-index: 3;
  max-width: 840px;
  margin-bottom: 40px;
}

.diary-title .script-line {
  margin: 14px 0 0;
  font-size: 28px;
}

.diary-book {
  top: 32px;
  right: 60px;
  width: 220px;
  opacity: 0.95;
}

.diary-patch {
  display: none;
}

.diary-spread {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.chapter {
  min-height: 530px;
  padding: 36px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.chapter-demo .stamp { background: var(--butter); }
.chapter-main .stamp { background: var(--sage); }

.chapter > p:not(.stamp) {
  font-size: 17px;
}

.day-list {
  display: grid;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.day-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: center;
  padding: 11px 12px;
  background: var(--cream);
  border-radius: 14px;
  font-weight: 800;
}

.day-list span {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 52px;
  color: #9b7534;
  font-weight: 800;
}

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

.timeline span,
.habit-board span,
.module-tags span {
  padding: 12px 14px;
  background: var(--cream);
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
}

.timeline span {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 10px;
  align-items: center;
  font-weight: 800;
}

.timeline b {
  color: #9b7534;
  font-weight: 800;
}

.habit-area {
  flex: 1 1 auto;
}

.habit-area h3 {
  margin: 0 0 24px;
  font-size: clamp(25px, 2.3vw, 34px);
}

.habit-board {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 14px;
  margin-top: 28px;
}

.habit-board span {
  position: relative;
  border: 2px solid rgba(255, 253, 249, 0.9);
  border-radius: 10px 16px 12px 14px;
  box-shadow: 0 8px 14px rgba(96, 76, 47, 0.12);
  transform: rotate(-1.4deg);
}

.habit-board span::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  width: 34px;
  height: 13px;
  background: rgba(255, 253, 249, 0.66);
  transform: translateX(-50%) rotate(2deg);
}

.habit-board span:nth-child(even) { transform: rotate(1.2deg); }
.habit-board span:nth-child(4n + 1) { background: var(--pink); }
.habit-board span:nth-child(4n + 2) { background: var(--sage); }
.habit-board span:nth-child(4n + 3) { background: var(--blue); }
.habit-board span:nth-child(4n + 4) { background: var(--lilac); }

.habit-row {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 44px;
  margin-top: 28px;
}

.habit-row .habit-board {
  margin-top: 0;
}

.habit-cta {
  flex: 0 0 auto;
}

.how {
  position: relative;
  overflow: visible;
  margin-bottom: 0;
  padding-top: clamp(68px, 7vw, 104px);
  padding-bottom: clamp(62px, 6vw, 94px);
  background:
    radial-gradient(circle at 73% 14%, rgba(255, 201, 77, 0.16), transparent 22rem),
    radial-gradient(circle at 12% 92%, rgba(203, 189, 224, 0.19), transparent 24rem),
    linear-gradient(180deg, #fffaf1 0%, #fff5e7 100%);
}

.how-title {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.78fr);
  gap: clamp(34px, 7vw, 112px);
  align-items: start;
  min-height: 336px;
  margin-bottom: clamp(84px, 6.5vw, 116px);
}

.how-title h2 {
  position: relative;
  z-index: 3;
  max-width: 760px;
  letter-spacing: 0;
}

.keep-line {
  white-space: nowrap;
}

.how-copy p {
  max-width: 495px;
  margin: 22px 0 0;
  font-size: 18px;
  line-height: 1.55;
}

.how-copy .how-question {
  width: fit-content;
  margin-top: 24px;
  padding: 8px 16px;
  color: #6b5740;
  background: var(--butter);
  border-radius: 999px;
  font: 800 18px "Nunito", sans-serif;
}

.minute-note {
  position: relative;
  min-height: 315px;
}

.minute-board {
  position: absolute;
  right: clamp(0px, 2vw, 34px);
  top: 144px;
  z-index: 4;
  width: min(100%, 430px);
  transform: rotate(2.5deg);
  filter: drop-shadow(0 22px 28px rgba(87, 63, 110, 0.16));
}

.minute-board-text {
  position: absolute;
  right: clamp(0px, 2vw, 34px);
  top: 228px;
  z-index: 5;
  width: min(100%, 430px);
  color: #7256a8;
  text-align: center;
  font: 1000 31px/1.04 "Nunito", sans-serif;
  letter-spacing: 0;
  transform-origin: center center;
  transform: translateX(-3.4%) rotate(-2.7deg);
}

.minute-luchik {
  position: absolute;
  right: clamp(150px, 14vw, 252px);
  top: 12px;
  z-index: 3;
  width: 176px;
  max-height: 224px;
  object-fit: contain;
  object-position: top;
  filter: drop-shadow(0 16px 18px rgba(96, 76, 47, 0.16));
}

.how-cloud {
  top: 52px;
  right: 5vw;
  width: 190px;
  opacity: 0.9;
}

.how-route {
  left: 31%;
  top: 188px;
  z-index: 1;
  width: min(57vw, 820px);
  opacity: 0.48;
  transform: rotate(1deg);
}

.how-star-one {
  top: 86px;
  left: 50%;
  width: 54px;
  z-index: 2;
  transform: rotate(9deg);
  filter: drop-shadow(0 10px 14px rgba(232, 171, 47, 0.18));
}

.how-star-two {
  top: 148px;
  left: 45%;
  width: 32px;
  z-index: 2;
  transform: rotate(-8deg);
  filter: drop-shadow(0 10px 14px rgba(143, 109, 199, 0.16));
}

.how-star-three {
  right: 8vw;
  bottom: 76px;
  width: 42px;
  z-index: 2;
  transform: rotate(11deg);
  filter: drop-shadow(0 10px 14px rgba(240, 131, 139, 0.16));
}

.steps {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.1vw, 30px);
  align-items: stretch;
}

.steps article {
  --step: var(--beige);
  position: relative;
  min-height: 382px;
  padding: 168px 30px 30px;
  overflow: visible;
  background:
    radial-gradient(circle at 24% 14%, rgba(255, 255, 255, 0.9), transparent 8rem),
    linear-gradient(145deg, color-mix(in srgb, var(--step) 34%, #fffdf8), color-mix(in srgb, var(--step) 52%, #fffaf3));
  border: 2px solid color-mix(in srgb, var(--step) 70%, var(--white));
  border-radius: 36px;
  box-shadow:
    0 20px 36px rgba(96, 76, 47, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.step-channel { --step: #f2c875; }
.step-family { --step: #f0a7a7; }
.step-task { --step: #9cc6ec; }
.step-map { --step: #b8cf94; }

.steps span {
  position: absolute;
  left: -12px;
  top: -20px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  color: var(--graphite);
  background: linear-gradient(145deg, color-mix(in srgb, var(--step) 78%, var(--white)), color-mix(in srgb, var(--step) 48%, var(--white)));
  border-radius: 50%;
  box-shadow: 0 10px 22px rgba(96, 76, 47, 0.14), inset 0 2px 0 rgba(255, 255, 255, 0.7);
  font: 1000 28px "Nunito", sans-serif;
}

.step-art {
  position: absolute;
  left: 50%;
  top: -62px;
  z-index: 2;
  width: min(84%, 236px);
  transform: translateX(-50%);
  filter: drop-shadow(0 18px 18px rgba(96, 76, 47, 0.14));
}

.step-channel .step-art {
  top: -74px;
  width: min(70%, 208px);
}

.step-family .step-art {
  top: -76px;
  width: min(98%, 282px);
}

.step-task .step-art {
  top: -70px;
  width: min(78%, 226px);
}

.step-map .step-art {
  top: -62px;
  width: min(88%, 252px);
}

.steps h3 {
  margin-bottom: 16px;
  font-size: clamp(23px, 1.75vw, 30px);
  line-height: 1.05;
}

.steps p {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.5;
}

.adventure-bottom {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(560px, 1fr) minmax(360px, 0.85fr);
  gap: 56px;
  align-items: center;
  margin-top: 12px;
  min-height: 290px;
}

.adventure-luchik {
  position: relative;
  min-height: 290px;
}

.adventure-luchik > img,
.adventure-luchik-video,
.adventure-luchik-fallback {
  position: absolute;
  left: 26px;
  bottom: -16px;
  width: min(100%, 255px);
  filter: drop-shadow(0 18px 18px rgba(96, 76, 47, 0.14));
}

.adventure-luchik-video,
.alpha-video-fallback,
.alpha-video-fallback img {
  display: block;
  height: auto;
  object-fit: contain;
}

.alpha-video-fallback {
  display: none;
}

.adventure-bubble {
  position: absolute;
  left: 248px;
  bottom: 72px;
  width: 276px;
}

.adventure-bubble img {
  width: 100%;
  filter: drop-shadow(0 12px 14px rgba(96, 76, 47, 0.09));
}

.adventure-bubble p {
  position: absolute;
  inset: 42px 30px auto 50px;
  margin: 0;
  font-size: 15px;
  line-height: 1.28;
}

.adventure-bottom .primary-cta {
  justify-self: center;
  min-width: 0;
  width: min(100%, 460px);
  justify-content: center;
  font-size: 19px;
}

.details {
  overflow: visible;
  margin-bottom: 0;
  background:
    radial-gradient(circle at 18% 86%, rgba(255, 201, 77, 0.24), transparent 18rem),
    radial-gradient(circle at 84% 18%, rgba(174, 203, 224, 0.38), transparent 24rem),
    linear-gradient(135deg, #efe7ff 0%, #e8dcfb 48%, #f3e9ff 100%);
}

.section-heading.compact {
  grid-template-columns: 1fr;
  max-width: 900px;
}

.details .section-heading.compact {
  margin-bottom: 44px;
  padding-top: 16px;
}

.details .section-heading.compact h2 {
  max-width: 860px;
  text-shadow: 0 12px 26px rgba(61, 58, 52, 0.12);
}

.detail-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(14px, 1.45vw, 24px);
  align-items: stretch;
}

.detail-card {
  --accent: var(--lilac);
  position: relative;
  min-height: 330px;
  padding: 128px 24px 28px;
  overflow: visible;
  text-align: center;
  background:
    radial-gradient(circle at 80% 12%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 5.6rem),
    linear-gradient(180deg, rgba(255, 253, 249, 0.96), rgba(255, 253, 249, 0.9));
  border: 2px solid color-mix(in srgb, var(--accent) 78%, var(--white));
  border-radius: 28px;
  box-shadow:
    0 24px 50px rgba(89, 69, 118, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.detail-card:hover {
  transform: translateY(-5px) rotate(var(--tilt, 0deg));
  box-shadow:
    0 30px 62px rgba(89, 69, 118, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.detail-card::before,
.detail-card::after {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 999px;
  background: var(--accent);
  pointer-events: none;
}

.detail-card::before {
  top: 30px;
  left: 20px;
  width: 18px;
  height: 18px;
  opacity: 0.7;
}

.detail-card::after {
  right: 28px;
  bottom: 26px;
  width: 13px;
  height: 13px;
  opacity: 0.72;
}

.detail-secret {
  --accent: #b997e6;
  --tilt: -1.2deg;
}

.detail-wish {
  --accent: #e9c77b;
  --tilt: 0.8deg;
}

.detail-counter {
  --accent: #8fb3df;
  --tilt: -0.7deg;
}

.detail-pause {
  --accent: #ee94b2;
  --tilt: 0.7deg;
}

.detail-coupons {
  --accent: #abc987;
  --tilt: -0.9deg;
}

.magic-icon {
  position: absolute;
  top: -44px;
  left: 50%;
  z-index: 2;
  width: min(62%, 164px);
  max-height: 158px;
  object-fit: contain;
  transform: translateX(-50%) rotate(calc(var(--tilt, 0deg) * -1));
  filter: drop-shadow(0 18px 20px rgba(61, 58, 52, 0.16));
}

.detail-wish .magic-icon,
.detail-counter .magic-icon {
  top: -36px;
  width: min(66%, 174px);
}

.detail-pause .magic-icon {
  top: -34px;
  width: min(60%, 154px);
}

.detail-coupons .magic-icon {
  top: -31px;
  width: min(68%, 174px);
}

.detail-card h3 {
  position: relative;
  z-index: 1;
  max-width: 12ch;
  margin: 0 auto 18px;
  font-size: clamp(20px, 1.55vw, 27px);
  line-height: 1.04;
}

.detail-coupons h3 {
  max-width: 17ch;
  font-size: clamp(18px, 1.35vw, 24px);
}

.detail-card p {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.45;
}

.details-heart {
  top: 34px;
  right: 7vw;
  width: 90px;
  transform: rotate(9deg);
}

.details-gift {
  left: 7vw;
  bottom: 96px;
  width: 94px;
  transform: rotate(-10deg);
}

.details-action {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 5vw, 78px);
  margin-top: -18px;
}

.hands-up {
  width: clamp(170px, 18vw, 260px);
  margin-top: -4px;
  filter: drop-shadow(0 22px 24px rgba(61, 58, 52, 0.14));
}

.hands-up-video {
  display: block;
  height: auto;
  object-fit: contain;
  mix-blend-mode: normal;
}

.hands-up-fallback {
  display: none;
}

.details-action .primary-cta {
  min-width: min(100%, 370px);
  justify-content: center;
}

.pricing {
  overflow: visible;
  margin-top: 0;
  background: var(--blue);
}

.light-heading {
  grid-template-columns: 1fr;
  max-width: 900px;
}

.light-heading h2 span {
  display: block;
  margin-top: 12px;
  font-size: 0.48em;
  line-height: 1.25;
}

.pricing-stars {
  top: 28px;
  right: 50px;
  width: 140px;
}

.pricing-patch {
  display: none;
}

.envelopes {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.envelope {
  display: flex;
  flex-direction: column;
  min-height: 540px;
  padding: 30px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.envelope:nth-child(2) {
  background: #fff2d0;
}

.envelope:nth-child(3) {
  background: var(--beige);
}

.envelope ul {
  display: grid;
  gap: 8px;
  padding-left: 20px;
}

.envelope strong {
  margin-top: auto;
  padding: 20px 0;
  font: 900 25px "Nunito", sans-serif;
}

.envelope a,
.landing-buy-btn {
  width: 100%;
}

.landing-buy-btn {
  font: inherit;
  cursor: pointer;
}

.module-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.faq {
  overflow: visible;
  background: rgba(255, 253, 249, 0.92);
  box-shadow: var(--shadow);
}

.faq-heading {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 30px;
  align-items: end;
  margin-bottom: 38px;
}

.faq-heading img {
  width: 230px;
  max-height: 330px;
  object-fit: contain;
  object-position: bottom;
}

.faq-magnifier {
  right: -12px;
  bottom: -62px;
  width: 150px;
  opacity: 1;
}

.faq-groups {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.faq-column {
  display: grid;
  gap: 11px;
}

.faq-column h3 {
  margin: 26px 0 4px;
}

details {
  overflow: hidden;
  background: var(--beige);
  border-radius: 18px;
}

details:nth-of-type(even) {
  background: rgba(174, 203, 224, 0.5);
}

summary {
  position: relative;
  min-height: 64px;
  padding: 19px 52px 18px 20px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 13px;
  color: var(--orange);
  font: 900 28px "Nunito", sans-serif;
}

details[open] summary::after {
  content: "−";
}

details p {
  margin: 0;
  padding: 0 20px 20px;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 28px;
  padding: 26px;
  background: var(--sage);
  border-radius: 30px;
}

.site-footer span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 6px 18px 8px;
  color: var(--orange);
  background: var(--white);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(61, 58, 52, 0.12);
  font: 1000 30px "Nunito", sans-serif;
  line-height: 1;
}

.site-footer p {
  margin: 0;
  font-weight: 600;
}

.site-footer a {
  color: var(--white);
  background: var(--orange);
}

.copy-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 80;
  padding: 12px 18px;
  color: var(--white);
  background: var(--graphite);
  border-radius: 999px;
  font-weight: 600;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, calc(100% + 50px));
  transition: transform 180ms ease, opacity 180ms ease, visibility 180ms ease;
}

.copy-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.kid-modal,
.purchase-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.kid-modal.is-visible,
.purchase-modal.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.kid-modal[aria-hidden="true"],
.purchase-modal[aria-hidden="true"] {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.kid-modal__backdrop,
.purchase-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(61, 58, 52, 0.42);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.kid-modal__panel,
.purchase-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  padding: 28px 28px 26px;
  background: rgba(255, 253, 249, 0.98);
  border: 1px solid rgba(61, 58, 52, 0.08);
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(96, 76, 47, 0.22);
}

.purchase-modal__panel {
  width: min(100%, 760px);
  max-height: calc(100vh - 36px);
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(154, 78, 46, 0.24) transparent;
}

.purchase-modal__panel::-webkit-scrollbar {
  width: 8px;
}

.purchase-modal__panel::-webkit-scrollbar-track {
  margin-block: 20px;
  background: transparent;
}

.purchase-modal__panel::-webkit-scrollbar-thumb {
  background: rgba(154, 78, 46, 0.24);
  background-clip: padding-box;
  border: 2px solid transparent;
  border-radius: 999px;
}

.purchase-modal__panel::-webkit-scrollbar-thumb:hover {
  background-color: rgba(154, 78, 46, 0.42);
}

.kid-modal__panel h2,
.purchase-modal__panel h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 3vw, 38px);
}

.kid-modal__panel p {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.5;
}

.purchase-form {
  display: grid;
  gap: 14px;
}

.purchase-form[hidden],
.purchase-channel-choice[hidden] {
  display: none;
}

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

.purchase-form label {
  display: grid;
  gap: 7px;
  color: var(--graphite);
  font-weight: 800;
}

.purchase-form input,
.purchase-form select,
.purchase-form textarea {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--graphite);
  background: var(--white);
  border: 1px solid rgba(61, 58, 52, 0.15);
  border-radius: 16px;
  font: 700 16px "Nunito", sans-serif;
}

.purchase-form textarea {
  min-height: 92px;
  resize: vertical;
}

.purchase-family-editor {
  display: grid;
  gap: 16px;
  padding: 16px;
  background: #fffaf0;
  border: 1px solid rgba(202, 140, 56, 0.28);
  border-radius: 20px;
}

.purchase-family-editor__head,
.purchase-family-group__title,
.purchase-person-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.purchase-family-editor__head div {
  display: grid;
  gap: 3px;
}

.purchase-family-editor__head span,
.purchase-family-editor__head small {
  color: rgba(61, 58, 52, 0.66);
  font-size: 13px;
  font-weight: 800;
}

.purchase-family-editor__head strong {
  color: var(--graphite);
  font-size: 18px;
}

.purchase-family-reward-intro {
  display: grid;
  gap: 6px;
  padding: 13px 14px;
  background: #fff2cf;
  border-radius: 14px;
}

.purchase-family-reward-intro strong {
  color: #8d4d2e;
  font-size: 18px;
}

.purchase-family-reward-intro p,
.purchase-reward-copy p {
  margin: 0;
  color: rgba(61, 58, 52, 0.78);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.purchase-family-group,
.purchase-family-list {
  display: grid;
  gap: 10px;
}

.purchase-family-group__title span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #8d4d2e;
  background: #ffe69a;
  border-radius: 50%;
  font-weight: 1000;
}

.purchase-person-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  background: #fff;
  border: 1px solid rgba(61, 58, 52, 0.12);
  border-radius: 14px;
}

.purchase-person-card__head button {
  width: 34px;
  height: 34px;
  padding: 0;
  color: #9c3f32;
  background: #fff2ef;
  border: 1px solid #f1c6bd;
  border-radius: 50%;
  font: 900 22px/1 "Nunito", sans-serif;
  cursor: pointer;
}

.purchase-family-add {
  min-height: 44px;
  color: #8d4d2e;
  background: #fff;
  border: 1px dashed rgba(154, 78, 46, 0.38);
  border-radius: 14px;
  font: 900 15px "Nunito", sans-serif;
  cursor: pointer;
}

.purchase-family-add:disabled {
  cursor: default;
  opacity: 0.45;
}

.purchase-reward-settings {
  padding: 12px;
  background: #fffdf8;
  border: 1px solid rgba(245, 147, 74, 0.2);
  border-radius: 12px;
}

.purchase-reward-settings summary {
  color: #8d4d2e;
  font-weight: 900;
  cursor: pointer;
}

.purchase-reward-settings > p,
.purchase-family-hint {
  color: rgba(61, 58, 52, 0.74);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.purchase-reward-copy {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.purchase-reward-copy > strong {
  color: #8d4d2e;
  font-size: 16px;
}

.purchase-special-wish-copy {
  padding-top: 12px;
  border-top: 1px solid rgba(61, 58, 52, 0.1);
}

.purchase-coupon-grid {
  display: grid;
  gap: 10px;
  margin: 12px 0;
}

.purchase-coupon-grid fieldset {
  display: grid;
  gap: 6px;
  min-width: 0;
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(61, 58, 52, 0.1);
  border-radius: 10px;
}

.purchase-coupon-grid legend {
  padding: 0 4px;
  color: #8d4d2e;
  font-size: 13px;
  font-weight: 1000;
}

.purchase-coupon-grid label {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 750;
}

.purchase-coupon-grid input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  padding: 0;
}

.purchase-family-hint {
  margin: 0;
  text-align: center;
}

.purchase-channel-choice {
  display: grid;
  gap: 16px;
}

.purchase-channel-choice h3,
.purchase-channel-choice p {
  margin: 0;
}

.purchase-channel-choice label {
  display: grid;
  gap: 7px;
  font-weight: 900;
}

.purchase-channel-choice select {
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid rgba(61, 58, 52, 0.15);
  border-radius: 14px;
  background: #fff;
  font: 800 16px "Nunito", sans-serif;
}

.purchase-channel-choice__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.purchase-channel-choice__links a,
.purchase-channel-choice__share {
  display: grid;
  min-height: 52px;
  place-items: center;
  padding: 10px;
  border: 0;
  color: #fff;
  background: #9a4e2e;
  border-radius: 14px;
  font-family: "Nunito", sans-serif;
  font-weight: 1000;
  text-align: center;
}

.purchase-channel-choice__links a.is-selected {
  outline: 3px solid rgba(255, 201, 77, 0.55);
  outline-offset: 2px;
}

.purchase-channel-choice__share {
  width: 100%;
  cursor: pointer;
}

.purchase-vk-notice {
  position: absolute;
  z-index: 4;
  inset: 20px;
  align-self: center;
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(154, 78, 46, 0.18);
  border-radius: 18px;
  color: var(--graphite);
  background: #fffdf9;
  box-shadow: 0 24px 70px rgba(61, 58, 52, 0.24);
}

.purchase-vk-notice[hidden] {
  display: none;
}

.purchase-vk-notice strong {
  font: 1000 22px/1.15 "Nunito", sans-serif;
}

.purchase-vk-notice p {
  color: rgba(61, 58, 52, 0.78);
  font-weight: 650;
  line-height: 1.55;
}

.purchase-vk-notice > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.purchase-vk-notice button {
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid rgba(61, 58, 52, 0.14);
  border-radius: 12px;
  background: #fff;
  font: 900 14px "Nunito", sans-serif;
  cursor: pointer;
}

.purchase-vk-notice button:last-child {
  border-color: transparent;
  color: #fff;
  background: #9a4e2e;
}

.legal-footer {
  display: grid;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  margin: -8px auto 32px;
  padding: 24px 26px;
  color: rgba(61, 58, 52, 0.82);
  background: rgba(255, 253, 249, 0.78);
  border: 1px solid rgba(61, 58, 52, 0.08);
  border-radius: 24px;
  box-shadow: 0 14px 36px rgba(61, 58, 52, 0.07);
}

.legal-company {
  display: grid;
  gap: 5px;
  font: 500 14px/1.45 "Onest", sans-serif;
}

.legal-company strong {
  color: var(--graphite);
  font: 900 18px/1.2 "Nunito", sans-serif;
}

.legal-docs {
  margin: 0;
  max-width: 900px;
  font: 500 14px/1.55 "Onest", sans-serif;
}

.legal-docs a {
  color: var(--orange);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

@media (max-width: 560px) {
  .purchase-vk-notice {
    inset: 12px;
    padding: 18px;
  }

  .purchase-vk-notice > div,
  .purchase-vk-notice button {
    width: 100%;
  }
}

.purchase-channel-choice__links a.is-unavailable {
  cursor: not-allowed;
  opacity: 0.45;
}

.purchase-promocode {
  display: grid;
  gap: 8px;
  padding: 14px;
  background: linear-gradient(135deg, rgba(255, 219, 101, 0.22), rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(245, 147, 74, 0.28);
  border-radius: 20px;
}

.purchase-promocode input {
  border-color: rgba(154, 78, 46, 0.24);
  background: #fffdf9;
  text-transform: uppercase;
}

.purchase-promocode__control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.purchase-promocode__control button {
  min-width: 132px;
  padding: 0 18px;
  color: var(--white);
  background: var(--orange);
  border: 0;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(245, 147, 74, 0.2);
  font: 900 15px "Nunito", sans-serif;
  cursor: pointer;
  transition: transform 160ms ease, opacity 160ms ease;
}

.purchase-promocode__control button:hover {
  transform: translateY(-1px);
}

.purchase-promocode__control button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.purchase-promocode p {
  margin: 0;
  color: rgba(61, 58, 52, 0.72);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.purchase-promocode p.is-success {
  color: #547145;
}

.purchase-promocode p.is-error {
  color: #b43b2e;
}

.purchase-email-verification {
  display: grid;
  gap: 12px;
  padding: 18px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 201, 77, 0.3), transparent 36%),
    #fffdf9;
  border: 1px solid rgba(245, 147, 74, 0.28);
  border-radius: 22px;
}

.purchase-email-verification[hidden] {
  display: none;
}

.purchase-email-verification__icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  background: #ffc94d;
  border-radius: 18px;
  font-size: 26px;
}

.purchase-email-verification strong {
  color: var(--graphite);
  font-size: 18px;
  line-height: 1.35;
}

.purchase-email-verification [data-purchase-verification-email] {
  padding: 12px 14px;
  color: #9a4e2e;
  background: rgba(245, 147, 74, 0.1);
  border: 1px dashed rgba(154, 78, 46, 0.24);
  border-radius: 16px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.purchase-email-verification input {
  min-height: 62px;
  text-align: center;
  font-size: 28px;
  letter-spacing: 0.18em;
}

.purchase-email-verification__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.purchase-email-verification__actions button {
  min-height: 46px;
  padding: 10px 14px;
  color: var(--graphite);
  background: #ffffff;
  border: 1px solid rgba(61, 58, 52, 0.14);
  border-radius: 999px;
  font: 900 15px "Nunito", sans-serif;
  cursor: pointer;
}

.purchase-form.is-verifying > label:not(.purchase-check),
.purchase-form.is-verifying > .purchase-promocode,
.purchase-form.is-verifying > .purchase-form__grid,
.purchase-form.is-verifying > .purchase-family-editor,
.purchase-form.is-verifying > .purchase-check {
  display: none;
}

.purchase-check {
  display: flex !important;
  align-items: flex-start;
  gap: 12px !important;
  padding: 13px 14px;
  background: linear-gradient(135deg, rgba(255, 219, 101, 0.18), rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(245, 147, 74, 0.22);
  border-radius: 18px;
  font-weight: 700 !important;
}

.purchase-check input {
  min-height: 0;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  flex: 0 0 auto;
}

.purchase-check label {
  display: grid;
  gap: 4px;
  color: rgba(61, 58, 52, 0.76);
  font-size: 14px;
  font-weight: 800 !important;
  line-height: 1.45;
}

.purchase-check strong {
  color: var(--graphite);
  font-weight: 1000;
}

.purchase-check a {
  color: #9a4e2e;
  font-weight: 1000;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.purchase-form__status {
  min-height: 22px;
  margin: 0;
  color: #9a4e2e;
  font-weight: 800;
}

.purchase-form__submit {
  width: 100%;
}

.kid-modal__url {
  display: block;
  margin-bottom: 16px;
  padding: 14px 16px;
  color: var(--orange);
  background: rgba(245, 147, 74, 0.12);
  border-radius: 16px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.kid-modal__copy {
  width: 100%;
}

.kid-modal__close,
.purchase-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--graphite);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    order: 1;
  }

  .hero-visual {
    order: 2;
    min-height: 0;
  }

  .split-problem,
  .author {
    grid-template-columns: 1fr;
  }

  .how-title {
    grid-template-columns: 1fr;
    min-height: 0;
    margin-bottom: 72px;
  }

  .minute-note {
    width: min(100%, 640px);
    min-height: 430px;
    margin: 0 auto;
  }

  .minute-board {
    left: 50%;
    right: auto;
    top: 136px;
    width: min(100%, 430px);
    transform: translateX(-28%) rotate(2.5deg);
  }

  .minute-board-text {
    left: 50%;
    right: auto;
    top: 224px;
    width: min(100%, 430px);
    transform: translateX(calc(-28% - 3.4%)) rotate(-2.67deg);
  }

  .minute-luchik {
    left: calc(50% - 124px);
    right: auto;
    top: 6px;
  }

  .how-star-one {
    top: 110px;
    right: 70px;
    left: auto;
  }

  .how-star-two {
    top: 174px;
    right: 150px;
    left: auto;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 84px;
  }

  .adventure-bottom {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 0;
  }

  .adventure-luchik {
    width: min(100%, 520px);
    min-height: 300px;
  }

  .detail-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 56px;
  }

  .detail-card {
    min-height: 300px;
  }

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

  .envelope {
    min-height: 0;
  }

  .how-title {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .site-header {
    top: 8px;
    flex-wrap: wrap;
    gap: 8px;
    width: calc(100% - 20px);
    padding: 9px 10px;
    border-radius: 20px;
  }

  .brand {
    min-width: 72px;
    font-size: 24px;
  }

  .login-btn {
    margin-left: auto;
  }

  .nav-links {
    order: 3;
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    padding: 7px 9px;
    font-size: 12px;
  }

  .kid-link {
    right: 10px;
    bottom: 10px;
    width: min(350px, calc(100vw - 20px));
    min-height: 38px;
    padding: 9px 12px 10px;
    border-width: 2px;
    font-size: 12px;
  }

  .kid-link span {
    font-size: 15px;
  }

  .kid-link small {
    max-width: none;
    font-size: 10.5px;
  }

  .kid-modal,
  .purchase-modal {
    padding: 14px;
  }

  .kid-modal__panel,
  .purchase-modal__panel {
    width: 100%;
    max-width: calc(100vw - 28px);
    max-height: calc(100dvh - 28px);
    padding: 22px 18px 18px;
    border-radius: 24px;
  }

  .kid-modal__panel p {
    font-size: 15px;
  }

  .purchase-form__grid {
    grid-template-columns: 1fr;
  }

  .purchase-promocode__control {
    grid-template-columns: 1fr;
  }

  .purchase-promocode__control button {
    min-height: 48px;
  }

  .purchase-email-verification__actions {
    grid-template-columns: 1fr;
  }

  .purchase-email-verification input {
    padding-inline: 8px;
    font-size: 24px;
    letter-spacing: 0.08em;
  }

  .purchase-family-editor__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .purchase-channel-choice__links {
    grid-template-columns: 1fr;
  }

  .hero,
  .worlds,
  .faq {
    width: calc(100% - 20px);
    margin-bottom: 24px;
    padding: 28px 20px;
    border-radius: 26px;
  }

  .split-problem,
  .author,
  .diary,
  .how,
  .details,
  .pricing {
    width: 100%;
    margin-bottom: 24px;
    padding: 38px 20px;
    border-radius: 0;
  }

  .hero {
    margin-top: 18px;
    gap: 10px;
  }

  h1 {
    max-width: 100%;
    font-size: 40px;
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 22px;
  }

  .hero-text,
  .split-panel p,
  .author-copy p,
  .section-heading p:not(.eyebrow) {
    font-size: 16px;
  }

  .hero-copy {
    min-width: 0;
  }

  .fact-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-visual {
    min-height: 0;
  }

  .massive-word {
    top: 70px;
    left: 50%;
    font-size: 105px;
    transform: translateX(-50%);
  }

  .hero-luchik {
    right: 50%;
    bottom: 0;
    width: 280px;
    transform: translateX(50%);
  }

  .note-hello {
    right: 4px;
    bottom: 20px;
    font-size: 22px;
  }

  .tape-note {
    top: 10px;
    left: 6px;
    font-size: 21px;
  }

  .hero-coins {
    right: 0;
    width: 82px;
  }

  .hero-stars {
    width: 65px;
  }

  .hero-character-note {
    max-width: none;
    width: 100%;
    font-size: 13px;
  }

  .muted-paper {
    min-height: 0;
    padding: 42px 24px 28px;
  }

  .warm-paper {
    padding: 28px 22px;
  }

  .author-collage {
    min-height: 480px;
  }

  .author-photo {
    inset: 10px 35px auto 0;
  }

  .portrait-photo {
    height: 330px;
  }

  .author-photo-luchik {
    top: -46px;
    right: -18px;
    width: 96px;
  }

  .section-heading,
  .faq-heading {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 30px;
  }

  .section-heading .eyebrow {
    grid-column: auto;
  }

  .worlds-coins,
  .worlds-compass,
  .diary-book,
  .diary-patch,
  .how-route,
  .how-cloud,
  .how-star-one,
  .how-star-two,
  .how-star-three,
  .details-heart,
  .details-gift,
  .pricing-stars,
  .pricing-patch,
  .faq-magnifier {
    opacity: 0.82;
  }

  .worlds-compass {
    right: -8px;
    bottom: -52px;
    width: 125px;
  }

  .worlds-coins {
    top: -28px;
    right: 12px;
    width: 82px;
  }

  .diary-title {
    padding-right: 62px;
  }

  .diary-book {
    top: 14px;
    right: 10px;
    width: 82px;
  }

  .details-heart {
    top: -28px;
    right: 12px;
    width: 82px;
  }

  .details-gift {
    left: 10px;
    bottom: -32px;
    width: 76px;
  }

  .diary-patch,
  .pricing-patch {
    width: 82px;
  }

  .diary-patch {
    left: 12px;
    bottom: -28px;
  }

  .how-route {
    left: 28px;
    top: 330px;
    width: 330px;
    opacity: 0.38;
  }

  .how-cloud {
    right: 10px;
    top: 72px;
    width: 100px;
  }

  .how-star-one {
    display: none;
  }

  .how-star-two {
    display: none;
  }

  .how-star-three {
    right: 16px;
    bottom: 42px;
    width: 34px;
  }

  .pricing-patch {
    left: 12px;
    top: -28px;
  }

  .pricing-stars {
    top: -25px;
    right: 12px;
    width: 82px;
  }

  .faq-magnifier {
    right: -8px;
    bottom: -35px;
    width: 92px;
  }

  .map-board,
  .diary-spread,
  .steps,
  .detail-grid,
  .faq-groups {
    grid-template-columns: 1fr;
  }

  .map-luchik {
    display: none;
  }

  .worlds-map-board {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 14px 10px;
    gap: 14px;
    border-radius: 28px;
    overflow: visible;
  }

  .worlds-map-board::after {
    display: none;
  }

  .world-card {
    min-height: 0;
    min-width: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
  }

  .world-card-png {
    width: 100%;
    max-width: 100%;
    filter: drop-shadow(0 10px 14px rgba(96, 76, 47, 0.08));
  }

  .worlds-center-luchik {
    display: none;
  }

  .map-glow {
    display: none;
  }

  .worlds-star-a,
  .worlds-star-b,
  .worlds-star-c,
  .worlds-heart {
    display: none;
  }

  .worlds-cloud {
    top: 4px;
    right: 8px;
    width: 90px;
  }

  .worlds-heading {
    margin-bottom: 30px;
  }

  .worlds-notes {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-top: 28px;
  }

  .worlds-notes p,
  .worlds-notes p:nth-child(2) {
    padding: 24px 20px 20px;
    font-size: 15px;
    transform: none;
  }

  .worlds-footer {
    flex-direction: column;
    align-items: center;
    gap: 22px;
    margin-top: 30px;
  }

  .worlds-footer .worlds-lead {
    font-size: 16px;
  }

  .worlds-cta {
    align-self: center;
  }

  .habit-row {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .habit-area h3 {
    margin-bottom: 20px;
  }

  .habit-board {
    gap: 13px 10px;
  }

  .habit-board span {
    font-size: 13px;
    transform: none;
  }

  .habit-board span:nth-child(even) {
    transform: none;
  }

  .habit-cta {
    align-self: center;
  }

  .chapter {
    min-height: 0;
    padding: 24px 20px;
  }

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

  .timeline span {
    grid-template-columns: 64px 1fr;
  }

  .how-title {
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: 0;
    margin-bottom: 60px;
  }

  .how-copy p {
    font-size: 16px;
  }

  .minute-note {
    min-height: 360px;
  }

  .minute-board {
    left: 50%;
    top: 112px;
    width: min(100%, 340px);
    transform: translateX(-50%) rotate(3deg);
  }

  .minute-board-text {
    left: 50%;
    right: auto;
    top: 182px;
    width: min(100%, 340px);
    font-size: 24px;
    transform: translateX(calc(-50% - 3.4%)) rotate(-2.2deg);
  }

  .minute-luchik {
    left: 50%;
    top: -4px;
    width: 130px;
    transform: translateX(-50%);
  }

  .detail-card {
    min-height: 0;
    padding: 24px;
  }

  .steps {
    row-gap: 74px;
  }

  .steps article {
    min-height: 0;
    padding: 148px 24px 28px;
  }

  .step-art {
    top: -58px;
    width: min(82%, 220px);
  }

  .step-channel .step-art {
    top: -62px;
    width: min(66%, 176px);
  }

  .step-family .step-art {
    top: -64px;
    width: min(92%, 236px);
  }

  .step-task .step-art {
    top: -62px;
    width: min(72%, 190px);
  }

  .step-map .step-art {
    top: -58px;
    width: min(82%, 210px);
  }

  .steps span {
    left: 18px;
    top: -28px;
    width: 62px;
    height: 62px;
    font-size: 23px;
  }

  .detail-grid {
    row-gap: 52px;
  }

  .detail-card {
    padding: 106px 22px 26px;
  }

  .magic-icon {
    top: -38px;
    width: min(54%, 148px);
    max-height: 138px;
  }

  .detail-wish .magic-icon,
  .detail-counter .magic-icon,
  .detail-coupons .magic-icon {
    top: -34px;
    width: min(58%, 156px);
  }

  .detail-pause .magic-icon {
    top: -30px;
    width: min(52%, 140px);
  }

  .steps span {
    margin-bottom: 0;
  }

  .adventure-bottom {
    gap: 16px;
    margin-top: 10px;
  }

  .adventure-luchik {
    width: 100%;
    min-height: 500px;
  }

  .adventure-luchik > img,
  .adventure-luchik-video,
  .adventure-luchik-fallback {
    left: 50%;
    bottom: 18px;
    width: 220px;
    transform: translateX(-50%);
  }

  .adventure-luchik-video,
  .hands-up-video {
    display: none;
  }

  .adventure-luchik-fallback,
  .hands-up-fallback {
    display: block;
  }

  .adventure-bubble {
    left: 50%;
    bottom: 264px;
    width: min(92%, 304px);
    transform: translateX(-50%);
  }

  .adventure-bubble p {
    inset: 38px 24px auto 42px;
    font-size: 14px;
  }

  .adventure-bottom .primary-cta {
    width: 100%;
    min-width: 0;
    font-size: 16px;
  }

  .details-action {
    flex-direction: column;
    gap: 10px;
    margin-top: -46px;
  }

  .hands-up {
    width: 200px;
  }

  .faq-heading img {
    width: 160px;
    justify-self: center;
  }

  .site-footer {
    grid-template-columns: 1fr;
    width: calc(100% - 20px);
    text-align: center;
  }

  .site-footer a {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
