:root {
  --blue: rgba(119, 145, 248, 1);
  --green: #5e8b2f;
  --cream: rgba(254, 250, 236, 1);
  --yellow: #f7d65a;
  --orange: #f28b4c;
  --ink: #1b1b1b;
}

@font-face {
  font-family: "Quanta Grotesk Pro";
  src: url("fonts/Web-PS/QuantaGroteskPro-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Quanta Grotesk Pro";
  src: url("fonts/Web-PS/QuantaGroteskPro-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Work Sans";
  src: url("fonts/WorkSans-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Work Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--blue);
}
html {
  overflow-x: hidden;
}

.topbar {
  position: absolute;
  top: 50px;
  left: 100px;
  right: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 5;
}

.logo { width: 140px; filter: drop-shadow(0 6px 12px rgba(0,0,0,0.15));}

.email-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.email-pill img { width: 25px; height: 25px; }

/* Hero */
.hero {
  min-height: 100vh;
  position: relative;
  padding: 90px 20px 80px;
  text-align: center;
  background: var(--blue);
  color: #fff;
  margin-bottom: -12%;
  z-index: 2;
}

.hero-heading {
  position: relative;
  display: inline-block;
}


.hero-title {
  font-family: "Quanta Grotesk Pro", system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(30px, 150px, 180px);
  color: rgb(180, 255, 84);
  text-shadow: 18px 14px 0 black;
  letter-spacing: -1px;
  line-height: 0.95;
  font-style: italic;
  transform: rotate(-1.85deg);
  -webkit-text-stroke-width: 18px; /* Adjust the width for thickness */
  -webkit-text-stroke-color: black;
  paint-order: stroke fill;
  text-stroke-width: 3px;
  text-stroke-color: black;
  margin-bottom: 50px;
}

.hero-line { display: inline; }

.tag {
  font-family: "Quanta Grotesk Pro", system-ui, sans-serif;
  position: absolute;
  background: var(--yellow);
  color: #1b1b1b;
  padding: 6px 20px;
  border-radius: 999px;
  font-weight: 900;
  border: 5px solid #fff;
  font-size: 20px;
  width: 150px;
  pointer-events: none;
}

.tag-reading { left: 250px; top: 70px; transform: rotate(-10deg); }
.tag-writing { left: 45%; bottom: 25px; }
.tag-literature { right: 310px; top: 50%; transform: rotate(10deg); }

.hero-sub {
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.6;
  font-size: 18px;
}

.btn {
  font-family: "Quanta Grotesk Pro", system-ui, sans-serif;
  background: var(--orange);
  border: 3px solid #1b1b1b;
  padding: 10px 50px;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  box-shadow: -3px 6px 0 #1b1b1b;
  color: black;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative; 
  z-index: 2;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: -4px 8px 0 #1b1b1b;
}

.btn:active {
  transform: translateY(1px);
  box-shadow: -2px 4px 0 #1b1b1b;
}

.btn.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
  align-self: flex-end;
  padding: 5px 30px;
}

.btn.learn-more::after {
  content: "→";
  transition: transform 0.15s ease;
}

.btn.learn-more:hover::after {
  transform: translateX(4px);
}

.btn-survey {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.cloud, .flake { position: absolute; opacity: 1; pointer-events: none; z-index: 0; }
.hero-flake { left: 20px; bottom: -150px; width: 350px;}
.hero-flake-2 { right: 0; top: 0; width: 200px; opacity: 1;}
.cloud-left { left: 0; top: 130px; width: 230px; opacity: 1; }
.cloud-right { right: 60px; bottom: 100px; width: 300px; opacity: 1; }
.cloud-center { top: 130px; left: 58%; width: 160px; opacity: 1;  }

/* About */
.about {
  position: relative;
  margin-top: 20%;
}

.about-card p {
  font-size: 16px;
  line-height: 1.6;
}

a.link {
  color: #1b1b1b;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(transparent 60%, rgba(247, 214, 90, 0.9) 60%);
  box-shadow: inset 0 -2px 0 #1b1b1b;
  padding: 0 2px;
}

a.link:hover {
  background: linear-gradient(transparent 50%, rgba(247, 214, 90, 1) 50%);
}

.about-card {
  margin: 0 20%;
  background: #fff;
  border-radius: 28px;
  padding: 40px;
  max-width: 580px;
  box-shadow: 0 12px 20px rgba(0,0,0,0.15);
  line-height: 1.6;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  z-index: 2;
}

.about-card h2 {
  font-family: "Quanta Grotesk Pro", system-ui, sans-serif;
  color: rgb(180, 255, 84);
  text-shadow: -3px 3px 0 #1b1b1b;
  margin: 0;
  font-size: 60px;
  text-shadow: 10px 10px 0 black;
  -webkit-text-stroke-width: 15px; /* Adjust the width for thickness */
  -webkit-text-stroke-color: black;
  paint-order: stroke fill;
  text-stroke-width: 3px;
  text-stroke-color: black;
  line-height: 1.1;
}

.about-brain {
  position: absolute;
  right: 15%;
  top: 40px;
  width: 330px;
  z-index: 2;
}

.about-flake-1 { position: absolute; right: 120px; top: 20px; width: 120px; z-index: 0; }
.about-flake-2 { position: absolute; right: 0px; top: 80px; width: 120px; z-index: 0; }

/* Movement */
.movement {
  color: #fff;
  padding: 80px 30px 120px;
  text-align: center;
  position: relative;
  margin-top: 19%;
}

.movement .section-head h2,
.benefits .section-head h2,
.steps .section-head h2,
.survey h2 {
  font-family: "Quanta Grotesk Pro", system-ui, sans-serif;
  color: rgb(180, 255, 84);
  font-size: 70px;
  text-shadow: 10px 10px 0 black;
  -webkit-text-stroke-width: 15px; /* Adjust the width for thickness */
  -webkit-text-stroke-color: black;
  paint-order: stroke fill;
  text-stroke-width: 3px;
  text-stroke-color: black;
  margin: 10px;
}

.section-head {
  max-width: 700px;
  margin: 0 auto 40px;
}

.section-head p {
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.pill {
  font-family: "Quanta Grotesk Pro", system-ui, sans-serif;
  font-size: 20px;
  display: inline-block;
  background: var(--yellow);
  padding: 8px 25px;
  border-radius: 999px;
  font-weight: 700;
  border: 3px solid #fff;
  color: #1b1b1b;
  margin: 0;
}

.movement-brain {
  position: absolute;
  left: 80px;
  width: 300px;
  top: 0;
}

.movement-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  max-width: 1000px;
  margin: 0 auto;
}

.movement-cards h3 {
  font-family: "Quanta Grotesk Pro", system-ui, sans-serif;
  color: black;
  font-size: 24px;
  margin: 0 0 15px;
}

.movement-cards p {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.card {
  padding: 18px;
  border-radius: 18px;
  box-shadow: 0 10px 18px rgba(0,0,0,0.2);
  border: 2px solid black;
  color: #1b1b1b;
  text-align: left;
  margin-right: -18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card.pink { background: #ffd1e7; transform: rotate(-6deg);}
.card.green { background: #b7f05d; transform: rotate(0deg); }
.card.yellow { background: #ffe268; transform: rotate(6deg); }
.card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 20px;
}

.card.pink:hover { transform: rotate(-6deg) translateY(-8px) scale(1.02); }
.card.green:hover { transform: rotate(0deg) translateY(-8px) scale(1.02); }
.card.yellow:hover { transform: rotate(6deg) translateY(-8px) scale(1.02); }

.card:hover {
  box-shadow: 0 16px 26px rgba(0,0,0,0.22);
}

.movement-flake-1 { position: absolute; right: 70px; top: 100px; width: 280px;}
.movement-flake-2 { position: absolute; left: 150px; bottom: 40px; width: 200px; }
.movement-book { position: absolute; right: 45px; bottom: 0px; width: 250px; transform: rotate(-10deg); }

/* Benefits */
.benefits {
  color: #fff;
  position: relative;
  text-align: center;
  justify-items: center;
  margin-top: 18%;
}

.benefits-brain {
  position: absolute;
  right: 60px;
  top: 0;
  width: 350px;
  z-index: 1;
}

.benefit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 20px;
  margin: 100px 10% 0;
  z-index: 0;
  margin-top: 0;
}

.benefit-grid {
  position: relative;
  z-index: 2;
}

.benefit {
  background: #fff;
  color: #222;
  padding: 24px 26px 0px;
  border-radius: 22px;
  border: 2px solid #1b1b1b;
  box-shadow: 0 10px 16px rgba(0,0,0,0.12);
  min-height: 180px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 14px 22px rgba(0,0,0,0.16);
}

.section-head {
  position: relative;
  z-index: 5;
}

.benefit p {
  font-size: 18px;
  position: relative;
  line-height: 1.6;
  margin: 0;
}

.benefit-inline-icon {
  float: right;
  width: 72px;
  height: auto;
  margin: 0 0 6px 10px;
}

.benefit:nth-child(1) {
  grid-column: 1 / span 2;
}

.benefit:nth-child(2) {
  grid-column: 3 / span 2;
}

.benefit:nth-child(1) p {
  margin-top: 10px;
}

.benefit:nth-child(4) {
  grid-column: 2 / span 2;
}

.benefit:nth-child(4) p {
  margin-top: 10px;
}

.benefit h3 {
  font-family: "Quanta Grotesk Pro", system-ui, sans-serif;
  color: black;
  font-size: 22px;
  margin: 0;
}

.benefit p {
  font-size: 15px;
  position: relative;
  line-height: 1.6;
  margin: 0;
}

.benefit-inline-icon {
  float: right;
  justify-content: flex-end;
  margin: 0 10px 0px 5px;
  margin-bottom: 0;
}

.benefit-inline-icon.heart-icon { width: 160px;}
.benefit-inline-icon.thumbs-icon { width: 140px;}

.benefit img {
  width: 20%;
  border-radius: 14px;
  margin-top: auto;
  margin-bottom: 10px;
  filter: drop-shadow(5px 5px 8px rgba(0, 0, 0, 0.12));
  position: relative;
}

.benefit-content {
  display: inline-block;
}

.benefits-book {
  position: absolute;
  left: 30px;
  top: 130px;
  width: 280px;
  transform: rotate(10deg);
}

.benefits-flake-1 { position: absolute; left: 20px; bottom: -100px; width: 280px;}
.benefits-flake-2 { position: absolute; right: 30px; bottom: 150px; width: 200px;}

/* Survey */
.survey {
  color: #fff;
  padding: 10px 40px 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  justify-items: center;
  text-align: center;
  margin-top: 8%;
  margin-bottom: 0;
}

.survey p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.survey-brain { width: 500px; margin-left: 150px;}

.survey-text { max-width: 520px; text-align: justify;}

/* Steps */
.steps {
  background: var(--cream);
  padding: 250px 30px 250px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.steps-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  z-index: 0;
}

.steps .section-head,
.steps .steps-content,
.steps .steps-cards {
  position: relative;
  z-index: 1;
}

.section-head {
  margin-top: -12%;
}

.steps-cards {
  margin-top: 10%;
  display: flex;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
}

.step-card {
  width: 380px;
  min-height: 230px;
  padding: 28px;
  border-radius: 16px;
  border: 2px solid #1b1b1b;
  box-shadow: 0 10px 16px rgba(0,0,0,0.12);
  text-align: left;
  background: #ffd1e7;
  transform: rotate(-8deg) translateY(0);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card.green {
  background: #e8ffd1;
  transform: rotate(0deg) translateY(44px);
}

.step-card.yellow {
  background: #fff3c4;
  transform: rotate(7deg) translateY(133px);
}

.step-card:hover {
  transform: rotate(-8deg) translateY(-6px) scale(1.01);
  box-shadow: 0 14px 22px rgba(0,0,0,0.16);
}

.step-card.green:hover {
  transform: rotate(0deg) translateY(38px) scale(1.01);
}

.step-card.yellow:hover {
  transform: rotate(7deg) translateY(127px) scale(1.01);
}

.step-num {
  font-family: "Quanta Grotesk Pro", system-ui, sans-serif;
  font-size: 42px;
  font-weight: 900;
  color: #b03a8f;
}

.step-card.green .step-num { color: #5c8c2b; }
.step-card.yellow .step-num { color: #8a6d1d; }

.step-card h3 {
  margin: 8px 0 10px;
  font-family: "Quanta Grotesk Pro", system-ui, sans-serif;
  font-size: 22px;
}

.step-card p {
  font-size: 18px;
  line-height: 1.6;
}

.steps-flake-1 { position: absolute; right: 0; top: 50px; width: 280px;}
.steps-flake-2 { position: absolute; left: 0; bottom: 0; width: 150px; }

/* Final CTA */
.final {
  background: var(--blue);
  color: #fff;
  padding: 15% 30px 50px;
  position: relative;
  text-align: center;
}

.final-oval {
  background: #fff;
  padding: 90px 150px 80px;
  border-radius: 50%;
  max-width: 1000px;
  margin: -100px auto 0;
  color: #1b1b1b;
  position: relative;
}

.final-tail {
  position: absolute;
  left: 52%;
  bottom: 140px;
  width: 100px;
  transform: translateX(-50%);
  z-index: 2;
}

.final-oval h2 {
  font-family: "Quanta Grotesk Pro", system-ui, sans-serif;
  color: rgb(180, 255, 84);
  font-size: 70px;
  text-shadow: 10px 10px 0 black;
  -webkit-text-stroke-width: 15px; /* Adjust the width for thickness */
  -webkit-text-stroke-color: black;
  paint-order: stroke fill;
  text-stroke-width: 3px;
  text-stroke-color: black;
  margin: 10px;
}

.final-oval p {
  font-size: 18px;
  line-height: 1.6;
  margin: 20px 0 20px;
} 

.cta-brain {
  position: absolute;
  right: 90px;
  bottom: 60px;
  width: 360px;
}

.contact {
  text-align: left;
  max-width: 260px;
  margin: 50px 0 0 40px;
}

.contact p {
  margin: 0 0 10px;
  font-weight: 700;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: #fff;
}

.contact-item a {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

.mailer-icon {
  width: 22px;
  height: 22px;
}

.mailer-icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.cta-flake-1 { position: absolute; left: 130px; bottom: 250px; width: 230px;}
.cta-flake-2 { position: absolute; right: 200px; top: 160px; width: 150px; }

@media (max-width: 700px) {
  body {margin: 0;}
  .topbar { top: 20px; left: 16px; right: 16px; }
  .pill { font-size: 14px; padding: 6px 18px; }
  .movement .section-head h2,
  .benefits .section-head h2,
  .steps .section-head h2,
  .survey h2 { font-size: 50px; }

  .movement .section-head p,
  .benefits .section-head p,
  .steps .section-head p,
  .survey p { font-size: 14px; line-height: 1.4; }

  .logo { width: 120px; }
  .hero { padding: 120px 16px 70px; }
  .hero-title { font-size: clamp(40px, 60px, 70px); line-height: 1.05; letter-spacing: 1px; text-shadow: 15px 10px 0 black;}
  .hero-line { display: block; }
  .hero-sub { font-size: 15px; max-width: 280px; margin: 0px auto 20px; }
  .tag { font-size: 12px; padding: 4px 6px; border-width: 3px; max-width: 100px; }
  .tag-reading { left: -8px; top: 20px; }
  .tag-writing { left: 25%; bottom: 33px; }
  .tag-literature { right: -18px; top: 52%; }
  .cloud-left { display: none; }
  .cloud-right { right: 12px; bottom: 90px; width: 170px; }
  .cloud-center { top: 120px; left: 56%; width: 120px; }
  .hero-flake { left: 8px; bottom: -40px; width: 170px; }
  .hero-flake-2 { right: 0px; top: 0px; width: 140px; }
  .btn { font-size: 16px; padding: 10px 28px; }
  .email-pill { padding: 8px 16px; font-size: 12px; }
  .email-pill img { width: 20px; height: 20px; }
  .about { margin-top: 40%; }
  .about-card { margin: 0 10%; padding: 30px; }
  .about-card h2 { font-size: 35px; -webkit-text-stroke-width: 8px; text-shadow: 4px 5px 0 black;}
  .about-card p { font-size: 13px; text-align: justify;}
  .btn.learn-more { padding: 5px 5px 5px 25px; font-size: 15px; text-align: center;}
  .btn.learn-more::after {content: "";}
  .about-brain { width: 100px; position: absolute; right: 50px; top: -65px; }
  .about-flake-2 { display: none; }
  .about-flake-1 { display: none;}
  .movement { padding: 60px 16px; margin-top: 40%;}
  .movement-cards {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 40px 40px;
    max-width: 100%;
    scroll-padding-inline: 40px;
  }
  .movement-cards p { font-size: 13px; }
  .card { min-width: 240px; scroll-snap-align: center; margin: 0 1px; transition: none; }
  .card:hover { transform: none; box-shadow: 0 10px 18px rgba(0,0,0,0.2); }
  .card.green { transform: rotate(0deg); }
  .card.yellow { transform: rotate(0deg); }
  .card.pink { transform: rotate(0deg); }
  .card.green:hover { transform: rotate(0deg); }
  .card.yellow:hover  { transform: rotate(0deg); }
  .card.pink:hover  { transform: rotate(0deg); }
  .movement-brain {display: none; }
  .movement-flake-1 { position: absolute; right: -70px; top: -30px; width: 150px;}
  .movement-flake-2 { position: absolute; left: 0px; bottom: 0px; width: 180px; }
  .movement-book { display: none; }
  .benefits-book { position: absolute; left: 5px; top: 16px; width: 120px; transform: rotate(5deg); }
  .benefits-brain { display: none; }
  .benefit-inline-icon { display: none; }
  .thumb-benefit { display: none; }
  .benefits-flake-1 { position: absolute; left: 0px; bottom: -50px; width: 180px;}
  .benefits-flake-2 { position: absolute; right: -35px; top: 250px; width: 200px; }
  .benefits {padding: 20px 50px 20px;}
  .benefit-grid {
    grid-template-columns: 1fr;
    margin: 0 0;
    max-width: 450px;
    justify-content: center;
    gap: 10px;
  }
  .benefit {
    min-height: 190px;
    height: 200px;
    width: 100%;
  }
  .benefit:nth-child(1), .benefit:nth-child(2),
  .benefit:nth-child(4) { grid-column: auto;}
  .benefit p {font-size: 13px; margin-top: 5px;}
  .benefit:nth-child(1) p, .benefit:nth-child(2) p, .benefit:nth-child(3) p,
  .benefit:nth-child(4) p {margin-top: 0; padding-top: 0;}
  .benefit:hover {transform: none;}
  .survey-brain { display: none; }
  .survey { grid-template-columns: 1fr; padding: 50px 20px; margin-bottom: 15%; margin-top: 15%;}
  .survey h2 { text-align: center; }
  .survey-text { max-width: 90%; text-align: justify;}
  .steps { padding: 150px 16px; }
  .steps .section-head { margin-top: -20%; margin-bottom: 0;}
  .steps-cards { gap: 10px; transform: none;}
  .step-card { width: 80%; transform: none; padding: 20px 20px 20px 20px; min-height: auto; transition: none; }
  .step-card.green { transform: none; }
  .step-card.yellow { transform: none; }
  .step-card:hover { transform: none; box-shadow: 0 10px 16px rgba(0,0,0,0.12); }
  .step-card.green:hover { transform: none; }
  .step-card.yellow:hover { transform: none; }
  .step-num { font-size: 32px; }
  .step-card h3 { font-size: 18px; }
  .step-card p { font-size: 14px; }
  .steps-flake-1 { position:absolute; right: -10px; top: -80px; width: 200px; }
  .steps-flake-2 { position:absolute; left: 0px; bottom: 0px; width: 120px; }
  .final { padding: 120px 20px 80px; text-align: center; }
  .final-oval {
    width: 180%;
    max-width: none;
    padding: 60px 32px 60px;
    border-radius: 50%/60%;
    margin: 0 auto 30px;
    transform: translateX(-22%);
    text-align: center;
  }
  .final-oval h2 { font-size: clamp(30px, 10vw, 45px); -webkit-text-stroke-width: 8px; text-shadow: 5px 6px 0 black; letter-spacing: 3px; padding: 0 100px;}
  .final-oval p { font-size: 13px; line-height: 1.6; margin-left: auto; margin-right: auto; max-width: 320px; }
  .final.btn { margin-bottom: 0; margin-top: 10px;}
  .final-tail { display: none; }
  .cta-brain { display: none; }
  .contact { margin: 60px auto 0; text-align: center; max-width: 320px; margin-bottom: 0;}
  .contact-item { margin-bottom: 0; font-size: 15px; margin-left: 15%;}
  .mailer-icon { width: 26px; height: 26px;}
  .cta-flake-1 { display: none; }
  .cta-flake-2 { display: none; }
  .final h3 { font-size: 22px; margin: 20px 0 10px; font-family: "Quanta Grotesk Pro", system-ui, sans-serif;}
}
.main-bg {
  position: relative;
  overflow: hidden;
  padding-top: 1px; /* prevent margin collapse */
  background: url("images/bg.png") top center/cover no-repeat;
  z-index: 1;
}

.main-bg::before {
  content: "";
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transform: translateY(100vh);
  background: url("images/bg.png") top center/cover no-repeat;
  z-index: 0;
}

.main-bg > section {
  position: relative;
  z-index: 1;
}
