* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  margin: 0;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 223, 45, 0.28), transparent 14rem),
    radial-gradient(circle at 88% 20%, rgba(255, 92, 166, 0.2), transparent 15rem),
    linear-gradient(180deg, #0647d8 0%, #0aa2ff 46%, #eef8ff 100%);
  color: #09215c;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.cursive-page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  overflow: hidden;
}

.cursive-page::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    repeating-conic-gradient(from 0deg at 50% 10%, rgba(255, 255, 255, 0.09) 0deg 8deg, transparent 8deg 18deg),
    linear-gradient(180deg, rgba(6, 71, 216, 0.1), rgba(255, 255, 255, 0.34));
  content: '';
}

.cursive-doodles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.cursive-doodles span {
  position: absolute;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 950;
  line-height: 1;
  text-shadow: 0 16px 34px rgba(5, 36, 122, 0.18);
  transform: translate3d(0, calc(var(--doodle-shift, 0px) * var(--speed, 1)), 0) rotate(var(--rotate, 0deg));
  transition: transform 80ms linear;
}

.cursive-doodles span:nth-child(1) { top: 12%; left: 5%; --rotate: -10deg; --speed: -0.6; color: rgba(255, 218, 40, 0.78); }
.cursive-doodles span:nth-child(2) { top: 22%; right: 9%; --rotate: 8deg; --speed: 0.4; color: rgba(255, 104, 168, 0.5); }
.cursive-doodles span:nth-child(3) { top: 48%; left: 10%; --rotate: 12deg; --speed: 0.35; }
.cursive-doodles span:nth-child(4) { top: 58%; right: 13%; --rotate: -8deg; --speed: -0.45; color: rgba(105, 232, 66, 0.48); }
.cursive-doodles span:nth-child(5) { top: 78%; left: 21%; --rotate: 6deg; --speed: -0.35; color: rgba(255, 255, 255, 0.42); }
.cursive-doodles span:nth-child(6) { top: 84%; right: 8%; --rotate: -12deg; --speed: 0.5; color: rgba(255, 218, 40, 0.54); }

.cursive-header,
.cursive-hero,
.cursive-stats,
.cursive-content,
.cursive-method,
.cursive-faq,
.cursive-final,
.cursive-footer {
  width: 100%;
  min-width: 0;
  padding-right: max(18px, calc((100vw - 1160px) / 2));
  padding-left: max(18px, calc((100vw - 1160px) / 2));
}

.cursive-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(5, 40, 140, 0.76);
  backdrop-filter: blur(18px);
}

.cursive-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
  color: #ffffff;
  text-decoration: none;
}

.cursive-brand img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #ffffff;
  object-fit: contain;
}

.cursive-brand span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.cursive-brand strong {
  font-weight: 950;
  line-height: 1;
}

.cursive-brand small,
.cursive-header nav a,
.cursive-language {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  font-weight: 850;
}

.cursive-header nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  min-width: 0;
  gap: 8px;
}

.cursive-header nav a {
  border-radius: 8px;
  padding: 10px 12px;
  text-decoration: none;
}

.cursive-header nav a:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffdf2d;
}

.cursive-language {
  display: grid;
  min-width: 132px;
  max-width: 100%;
  gap: 6px;
}

.cursive-language select {
  width: 100%;
  min-height: 38px;
  border: 1px solid rgba(9, 33, 92, 0.14);
  border-radius: 8px;
  background: #ffffff;
  color: #09215c;
  font: inherit;
  padding: 0 10px;
}

.cursive-hero {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(340px, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 62px);
  padding-top: 56px;
  padding-bottom: 34px;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: #ffdf2d;
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.cursive-copy h1,
.cursive-panel h2,
.cursive-method h2,
.cursive-faq h2,
.cursive-final h2 {
  margin: 0;
  color: #ffffff;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.02;
}

.cursive-copy h1 {
  font-size: clamp(2.65rem, 6.2vw, 5rem);
  text-shadow: 0 18px 36px rgba(4, 25, 88, 0.28);
}

.cursive-copy p:not(.eyebrow),
.cursive-panel p,
.cursive-method p,
.cursive-faq p,
.cursive-final p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.04rem;
  font-weight: 760;
  line-height: 1.6;
}

.cursive-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.play-button,
.secondary-button {
  display: inline-grid;
  min-height: 50px;
  place-items: center;
  border-radius: 10px;
  padding: 0 20px;
  font-weight: 950;
  text-decoration: none;
}

.play-button {
  background: linear-gradient(135deg, #ff5aa5, #ffdf2d);
  color: #09215c;
  box-shadow: 0 18px 34px rgba(255, 90, 165, 0.28);
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.share-panel {
  display: grid;
  gap: 12px;
  width: min(100%, 440px);
  margin-top: 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 40px rgba(4, 25, 88, 0.16);
  backdrop-filter: blur(12px);
}

.share-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.share-button,
.copy-share-link {
  display: inline-grid;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  place-items: center;
  border: 0;
  appearance: none;
  border-radius: 10px;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 950;
  text-decoration: none;
}

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

.share-button.facebook { background: #1877f2; }
.share-button.whatsapp { background: #25d366; }
.share-button.instagram { background: linear-gradient(135deg, #feda75, #d62976 48%, #4f5bd5); }
.share-button.linkedin { background: #0a66c2; }
.share-button.x { background: #101820; }

.copy-share-link {
  width: auto;
  min-width: 120px;
  padding: 0 14px;
  background: #ffdf2d;
  color: #09215c;
}

.share-status {
  min-height: 1.2em;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.82rem;
  font-weight: 800;
}

.hero-art {
  margin: 0;
}

.hero-art a {
  display: block;
  overflow: hidden;
  border: 10px solid rgba(255, 255, 255, 0.94);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 32px 70px rgba(4, 25, 88, 0.26);
}

.hero-art img {
  display: block;
  width: 100%;
  aspect-ratio: 1024 / 1536;
  max-height: 620px;
  object-fit: cover;
  object-position: top center;
}

.cursive-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 12px;
  padding-bottom: 34px;
}

.cursive-stats article,
.cursive-panel,
.cursive-method,
.cursive-faq article {
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  color: #09215c;
  box-shadow: 0 24px 54px rgba(4, 25, 88, 0.16);
}

.cursive-stats article {
  display: grid;
  gap: 6px;
  padding: 18px;
}

.cursive-stats span {
  color: #52647f;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cursive-stats strong {
  font-size: 1.45rem;
  font-weight: 950;
}

.cursive-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding-top: 26px;
  padding-bottom: 26px;
}

.cursive-panel {
  padding: clamp(22px, 4vw, 34px);
}

.cursive-panel h2,
.cursive-method h2,
.cursive-faq h2,
.cursive-final h2 {
  color: #09215c;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.cursive-panel p,
.cursive-method p,
.cursive-faq p,
.cursive-final p {
  color: #43516f;
}

.cursive-method {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  align-items: center;
  gap: 26px;
  margin-top: 28px;
  margin-bottom: 28px;
  padding-top: clamp(26px, 4vw, 42px);
  padding-bottom: clamp(26px, 4vw, 42px);
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  border-radius: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(10, 162, 255, 0.16), rgba(255, 223, 45, 0.16));
  color: #09215c;
  font-weight: 900;
}

.cursive-faq {
  display: grid;
  gap: 14px;
  padding-top: 28px;
  padding-bottom: 28px;
}

.cursive-faq > h2,
.cursive-faq > .eyebrow {
  color: #ffffff;
}

.cursive-faq article {
  padding: 20px;
}

.cursive-faq h3 {
  margin: 0 0 8px;
  color: #09215c;
}

.cursive-final {
  display: grid;
  justify-items: center;
  text-align: center;
  padding-top: 46px;
  padding-bottom: 48px;
}

.cursive-final h2,
.cursive-final p {
  color: #ffffff;
}

.cursive-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding-top: 28px;
  padding-bottom: 32px;
  background: rgba(5, 40, 140, 0.78);
}

.cursive-footer a {
  color: #ffffff;
  font-weight: 850;
  text-decoration: none;
}

@media (max-width: 900px) {
  .cursive-header {
    align-items: stretch;
    flex-direction: column;
  }

  .cursive-header nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .cursive-header nav a {
    background: rgba(255, 255, 255, 0.16);
    text-align: center;
  }

  .cursive-hero,
  .cursive-content,
  .cursive-method {
    grid-template-columns: 1fr;
  }

  .hero-art img {
    max-height: 560px;
  }
}

@media (max-width: 620px) {
  .cursive-header,
  .cursive-hero,
  .cursive-stats,
  .cursive-content,
  .cursive-method,
  .cursive-faq,
  .cursive-final,
  .cursive-footer {
    padding-right: 16px;
    padding-left: 16px;
  }

  .cursive-actions,
  .share-panel,
  .play-button,
  .secondary-button {
    width: 100%;
  }

  .cursive-stats {
    grid-template-columns: 1fr;
  }

  .hero-art a {
    border-width: 7px;
    border-radius: 18px;
  }
}
