@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&family=Fredoka:wght@500;600;700&family=Nunito:wght@400;600;700;800&display=swap");

:root {
  --pearl: #fff7fb;
  --hot-pink: #ff2e75;
  --bubble: #ff7ac8;
  --lavender: #8b63f7;
  --soft-purple: #c9b6ff;
  --lime: #b7f400;
  --yellow: #ffd12e;
  --mint: #14c6a4;
  --ink: #24202b;
  --ink-soft: #585268;
  --white: #ffffff;
  --border: 3px solid var(--ink);
  --shadow-hard: 0 8px 0 var(--ink);
  --shadow-soft: 0 24px 60px rgba(139, 99, 247, 0.18);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --font-display: "Fredoka", sans-serif;
  --font-body: "Nunito", sans-serif;
  --font-accent: "Fraunces", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(255, 122, 200, 0.52), transparent 30%),
    radial-gradient(circle at top right, rgba(201, 182, 255, 0.64), transparent 28%),
    radial-gradient(circle at bottom center, rgba(183, 244, 0, 0.22), transparent 20%),
    linear-gradient(180deg, #fff8fb 0%, #fff9fd 35%, #fff6f5 100%);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.grain {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(transparent 0, transparent 97%, rgba(255, 255, 255, 0.18) 100%),
    radial-gradient(rgba(36, 32, 43, 0.04) 0.7px, transparent 0.7px);
  background-size: 100% 100%, 12px 12px;
  pointer-events: none;
  opacity: 0.55;
  z-index: -1;
}

.page-glow {
  position: fixed;
  border-radius: 999px;
  filter: blur(100px);
  opacity: 0.65;
  pointer-events: none;
  z-index: -2;
}

.glow-a {
  width: 420px;
  height: 420px;
  top: -80px;
  left: -60px;
  background: rgba(255, 122, 200, 0.52);
}

.glow-b {
  width: 500px;
  height: 500px;
  top: 200px;
  right: -120px;
  background: rgba(201, 182, 255, 0.66);
}

.glow-c {
  width: 520px;
  height: 520px;
  bottom: -180px;
  left: 20%;
  background: rgba(255, 209, 46, 0.24);
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 50;
  padding-top: 18px;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 22px;
  border: var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(36, 32, 43, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  border: var(--border);
  box-shadow: 4px 4px 0 var(--ink);
  background: linear-gradient(135deg, var(--bubble), var(--lavender));
  color: var(--white);
}

.nav-menu,
.nav-tools {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-menu {
  gap: 22px;
  font-weight: 800;
}

.nav-menu a {
  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: var(--hot-pink);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.nav-menu a:hover::after,
.nav-menu a:focus-visible::after {
  transform: scaleX(1);
}

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--hot-pink);
  outline-offset: 2px;
}

.lang-selector {
  position: relative;
}

.lang-button,
.lang-menu button {
  border: var(--border);
  background: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
}

.lang-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
}

.lang-current {
  min-width: 26px;
  text-align: center;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 156px;
  padding: 12px;
  border: var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 8px 8px 0 var(--ink);
}

.lang-selector.is-open .lang-menu {
  display: grid;
}

.lang-menu button {
  min-height: 42px;
  border-radius: 16px;
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
}

.lang-menu button.is-active {
  background: var(--lime);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 14px 28px;
  border: var(--border);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible,
.lang-button:hover,
.lang-menu button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(90deg, var(--hot-pink), #ff5da8);
  color: var(--white);
  box-shadow: var(--shadow-hard);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 0 var(--ink);
}

.button-store {
  min-height: 64px;
  padding: 10px 22px;
  gap: 14px;
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 6px 0 var(--ink);
  font-family: var(--font-body);
  text-align: left;
}

.button-store:hover,
.button-store:focus-visible {
  background: #ffdd4a;
  transform: translateY(-2px);
  box-shadow: 0 8px 0 var(--ink);
}

.button-store-apple {
  background: var(--lime) !important;
  color: var(--ink) !important;
}

.button-store-apple:hover,
.button-store-apple:focus-visible {
  background: #9cd400 !important;
}

.button-store .store-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.button-store .store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.button-store .store-text small {
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.9;
  letter-spacing: 0.02em;
}

.button-store .store-text strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.nav-cta {
  min-height: 48px;
  padding-inline: 20px;
  font-size: 0.98rem;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: var(--border);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 4px 4px 0 var(--ink);
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 12px;
}

.nav-toggle span {
  display: block;
  height: 3px;
  border-radius: 999px;
  background: var(--ink);
}

.hero {
  padding: 72px 0 64px;
}

.hero-grid,
.feature-layout,
.daily-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 42px;
}

.eyebrow-pill,
.tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 46px;
  padding: 10px 18px;
  border: var(--border);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  box-shadow: 4px 4px 0 var(--ink);
}

.eyebrow-pill {
  background: #fff;
  margin-bottom: 22px;
}

.tag {
  background: var(--yellow);
  margin-bottom: 18px;
}

.tag-dark {
  background: var(--ink);
  color: var(--white);
}

.hero-copy h1,
.section-heading h2,
.feature-copy h2,
.daily-copy h2,
.cta-shell h2,
.legal-hero-card h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.section-heading h2,
.feature-copy h2,
.daily-copy h2,
.cta-shell h2,
.legal-hero-card h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
}

.hero-copy h1 span:first-of-type {
  color: var(--hot-pink);
}

.hero-copy h1 span:nth-of-type(2) {
  color: var(--lavender);
}

.hero-copy h1 span:nth-of-type(3) {
  color: var(--hot-pink);
}

.hero-copy p,
.section-heading p,
.feature-copy p,
.daily-copy p,
.cta-shell p,
.legal-hero-card p {
  font-size: 1.18rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.hero-copy p {
  max-width: 640px;
  margin: 22px 0 30px;
}

.hero-actions,
.hero-notes,
.proof-tags,
.reading-grid,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.mini-card {
  padding: 12px 16px;
  border: var(--border);
  border-radius: 18px;
  font-weight: 800;
  box-shadow: 4px 4px 0 var(--ink);
  background: var(--white);
}

.mini-card-yellow {
  background: #ffe57d;
}

.mini-card-lime {
  background: #d5ff4a;
}

.mini-card-lavender {
  background: #dacdff;
}

.phone-stage {
  position: relative;
  min-height: 700px;
  display: grid;
  place-items: center;
}

.sticker {
  position: absolute;
  z-index: 3;
  padding: 14px 18px;
  border: var(--border);
  border-radius: 22px;
  font-family: var(--font-display);
  font-weight: 700;
  box-shadow: 4px 4px 0 var(--ink);
  background: var(--white);
  animation: floaty 5s ease-in-out infinite;
}

.sticker-top-left {
  top: 80px;
  left: 30px;
  transform: rotate(-9deg);
}

.sticker-top-right {
  top: 64px;
  right: 24px;
  background: var(--lime);
  animation-delay: 0.4s;
}

.sticker-bottom-left {
  left: 12px;
  bottom: 130px;
  color: var(--hot-pink);
  transform: rotate(7deg);
  animation-delay: 0.8s;
}

.sticker-bottom-right {
  right: 48px;
  bottom: 160px;
  background: var(--yellow);
  animation-delay: 1.2s;
}

.phone-stack {
  position: relative;
  width: min(420px, 100%);
  height: 680px;
}

.phone-card {
  position: absolute;
  overflow: hidden;
  width: 290px;
  border: var(--border);
  border-radius: 44px;
  box-shadow: 10px 10px 0 var(--ink), var(--shadow-soft);
  background: var(--white);
}

.phone-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-card-back {
  top: 90px;
  left: 10px;
  transform: rotate(-8deg);
}

.phone-card-front {
  right: 12px;
  top: 10px;
  transform: rotate(7deg);
}

.social-proof {
  padding: 10px 0 30px;
}

.proof-row,
.daily-shell,
.cta-shell,
.footer-row,
.legal-hero-card {
  border: var(--border);
  background: rgba(255, 255, 255, 0.86);
}

.proof-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 22px 26px;
  border-radius: var(--radius-lg);
  box-shadow: 6px 6px 0 var(--ink);
}

.proof-row p {
  margin: 0;
  max-width: 520px;
  font-size: 1.02rem;
  font-weight: 700;
}

.proof-tags span,
.reading-pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--white);
  border: 2px solid rgba(36, 32, 43, 0.12);
  font-size: 0.92rem;
  font-weight: 800;
}

.section {
  padding: 100px 0;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 34px;
}

.benefit-grid,
.steps-grid,
.plans-grid {
  display: grid;
  gap: 24px;
}

.benefit-grid,
.plans-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.benefit-card,
.step-card,
.plan-card {
  position: relative;
  padding: 28px;
  border: var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 8px 8px 0 var(--ink);
}

.benefit-card.pink {
  background: rgba(255, 122, 200, 0.26);
}

.benefit-card.lime {
  background: rgba(183, 244, 0, 0.38);
}

.benefit-card.mint {
  background: rgba(20, 198, 164, 0.26);
}

.benefit-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: var(--border);
  border-radius: 18px;
  box-shadow: 4px 4px 0 var(--ink);
  background: rgba(255, 255, 255, 0.92);
  font-family: var(--font-display);
}

.benefit-card h3,
.step-card h3,
.plan-name,
.legal-hero-card h2 {
  margin: 16px 0 12px;
  font-family: var(--font-display);
  font-size: 1.55rem;
}

.benefit-card p,
.step-card p,
.plan-card p,
.plan-card li,
.legal-updated {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.6;
}

.feature-layout,
.daily-shell {
  gap: 34px;
}

.feature-showcase {
  position: relative;
  min-height: 620px;
}

.showcase-card {
  position: absolute;
  width: min(300px, 70%);
  border: var(--border);
  border-radius: 36px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 8px 8px 0 var(--ink), var(--shadow-soft);
}

.showcase-card img,
.daily-phone img {
  width: 100%;
  height: auto;
}

.tilted-left {
  top: 0;
  left: 0;
  transform: rotate(-5deg);
}

.tilted-right {
  top: 90px;
  right: 0;
  transform: rotate(6deg);
}

.section-daily {
  padding-top: 30px;
}

.daily-shell {
  padding: 28px;
  border-radius: 48px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 245, 251, 0.88));
  box-shadow: 10px 10px 0 var(--ink);
}

.daily-phone {
  max-width: 360px;
  margin: 0 auto;
  border: var(--border);
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 8px 8px 0 var(--ink);
}

.daily-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.daily-list li {
  padding: 16px 18px;
  border: var(--border);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 4px 4px 0 var(--ink);
  font-weight: 700;
}

.steps-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step-index {
  display: inline-flex;
  margin-bottom: 14px;
  font-family: var(--font-accent);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--hot-pink);
}

.plan-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.plan-card li + li {
  margin-top: 10px;
}

.plan-card-featured {
  background: linear-gradient(180deg, rgba(255, 46, 117, 0.92), rgba(255, 122, 200, 0.88));
  color: var(--white);
}

.plan-card-featured p,
.plan-card-featured li {
  color: rgba(255, 255, 255, 0.92);
}

.plan-badge {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 10px 14px;
  border: var(--border);
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
}

.final-cta {
  padding-top: 36px;
}

.cta-shell {
  padding: 46px 24px;
  text-align: center;
  border-radius: 48px;
  background:
    radial-gradient(circle at top left, rgba(255, 122, 200, 0.45), transparent 26%),
    radial-gradient(circle at bottom right, rgba(183, 244, 0, 0.26), transparent 26%),
    rgba(255, 255, 255, 0.92);
  box-shadow: 10px 10px 0 var(--ink);
}

.cta-shell p {
  max-width: 680px;
  margin: 20px auto 26px;
}

.cta-shell small {
  color: var(--ink-soft);
  font-weight: 700;
}

.cta-actions {
  justify-content: center;
  margin-bottom: 14px;
}

.legal-page {
  padding: 34px 0 70px;
}

.legal-hero {
  padding: 26px 0 0;
}

.legal-hero-card {
  max-width: 1420px;
  padding: 32px;
  border-radius: 42px;
  box-shadow: 8px 8px 0 var(--ink);
}

.legal-hero-card p {
  max-width: 1100px;
}

.legal-updated {
  font-weight: 800;
  margin-bottom: 28px;
}

.legal-hero-card h2 {
  margin-top: 26px;
}

.legal-hero-card h2:first-of-type {
  margin-top: 0;
}

.site-footer {
  padding: 24px 0 48px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 22px 24px;
  border-radius: 30px;
  box-shadow: 8px 8px 0 var(--ink);
}

.footer-row p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-weight: 700;
}

.footer-links {
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floaty {
  0%, 100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}

/* Interactive stickers */
.sticker:hover {
  transform: scale(1.08) rotate(var(--r, 0deg));
  transition: transform 0.3s ease;
  z-index: 4;
}

.sticker-top-left { --r: -9deg; }
.sticker-top-right { --r: 0deg; }
.sticker-bottom-left { --r: 7deg; }
.sticker-bottom-right { --r: 0deg; }

/* Marquee section */
.marquee-section {
  padding: 40px 0;
  overflow: hidden;
  background: var(--lime);
  border-top: var(--border);
  border-bottom: var(--border);
}

.marquee-track {
  display: flex;
  gap: 40px;
  animation: marquee 25s linear infinite;
  width: max-content;
}

.marquee-item {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 12px;
}

.marquee-item span {
  opacity: 0.6;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .feature-layout,
  .daily-shell,
  .benefit-grid,
  .plans-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .feature-copy,
  .daily-copy,
  .section-heading,
  .cta-shell {
    text-align: center;
  }

  .hero-copy p,
  .section-heading,
  .feature-copy p,
  .cta-shell p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .hero-notes,
  .reading-grid {
    justify-content: center;
  }

  .feature-showcase {
    min-height: 520px;
  }

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

  .proof-row,
  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 900px) {
  .site-header {
    top: 10px;
  }

  .nav-shell {
    position: relative;
    border-radius: 30px;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-menu,
  .nav-tools {
    display: none;
  }

  .nav-shell.menu-open .nav-menu,
  .nav-shell.menu-open .nav-tools {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding-top: 12px;
  }

  .nav-shell.menu-open .nav-tools .nav-cta {
    width: 100%;
  }

  .phone-stage {
    min-height: 620px;
  }

  .phone-stack {
    width: 100%;
    height: 560px;
  }

  .phone-card {
    width: 240px;
  }

  .phone-card-back {
    left: 0;
  }

  .phone-card-front {
    right: 8px;
  }

  .sticker {
    font-size: 0.92rem;
    padding: 12px 14px;
  }

  .feature-showcase {
    min-height: 460px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 20px, 1160px);
  }

  .hero-copy h1,
  .section-heading h2,
  .feature-copy h2,
  .daily-copy h2,
  .cta-shell h2,
  .legal-hero-card h1 {
    font-size: 2.35rem;
  }

  .hero-copy p,
  .section-heading p,
  .feature-copy p,
  .daily-copy p,
  .cta-shell p,
  .legal-hero-card p {
    font-size: 1rem;
  }

  .proof-row,
  .benefit-card,
  .step-card,
  .plan-card,
  .cta-shell,
  .daily-shell,
  .footer-row,
  .legal-hero-card {
    box-shadow: 6px 6px 0 var(--ink);
  }

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

  .button,
  .nav-shell.menu-open .nav-tools {
    width: 100%;
  }

  .hero-actions,
  .cta-actions {
    width: 100%;
  }

  .phone-stage {
    min-height: 560px;
  }

  .phone-stack {
    height: 500px;
  }

  .phone-card {
    width: 210px;
    border-radius: 34px;
  }

  .phone-card img {
    object-fit: cover;
  }

  .sticker-top-left {
    top: 32px;
    left: 0;
  }

  .sticker-top-right {
    top: 16px;
    right: 0;
  }

  .sticker-bottom-left {
    left: 0;
    bottom: 100px;
  }

  .sticker-bottom-right {
    right: 10px;
    bottom: 108px;
  }

  .showcase-card {
    position: relative;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .tilted-left,
  .tilted-right {
    top: auto;
    left: auto;
    right: auto;
    transform: none;
  }

  .feature-showcase {
    display: grid;
    gap: 18px;
    min-height: 0;
  }

  .legal-hero-card,
  .legal-hero-card {
    padding: 24px 20px;
    border-radius: 30px;
  }
}
