/* Below-the-fold sections of the reading course landing. Tokens and the hero live in the
   critical CSS inside index.html. Gamefik brand: purple, mint, lilac washes, Baloo 2 +
   Nunito; the orange Pi is the one warm accent. */

.band {
  padding: 56px 0;
}
.band.soft {
  background: var(--lilac-2);
}
.narrow {
  max-width: 760px;
}
.center {
  text-align: center;
}
.band h2 {
  font-size: clamp(27px, 6.4vw, 40px);
  font-weight: 800;
}
.kicker {
  margin: 0 0 8px;
  font: 800 13px / 1.2 var(--ui);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
}
.lead {
  font-size: 18px;
  color: var(--ink-2);
  margin: 12px auto 0;
  max-width: 40em;
}
.small {
  font-size: 14px;
  color: var(--muted);
}
.prose p {
  color: var(--ink-2);
  margin: 14px 0 0;
}

/* Inline CTAs inside sections */
.cta.inline {
  margin-top: 28px;
  max-width: 460px;
}
.center-cta {
  margin-left: auto;
  margin-right: auto;
}

/* Problem → solution */
.solution {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 16px;
  align-items: start;
  margin-top: 28px;
  padding: 22px;
  border-radius: var(--r);
  background: linear-gradient(160deg, #fff4ec, #fff);
  border: 1px solid #ffe0cc;
}
.solution img {
  width: 84px;
  height: 84px;
}
.solution h3 {
  font-size: 22px;
}
.checks {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 10px;
}
.checks li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-2);
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background:
    var(--mint)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 3.8L18 8' fill='none' stroke='%231b1430' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 14px no-repeat;
}
.checks b {
  color: var(--ink);
}
.method {
  margin: 22px 0 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--lilac-2);
  border: 1px solid var(--line);
  color: var(--ink-2);
}
.method b {
  color: var(--purple-3);
}

/* How it works */
.steps {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  gap: 28px;
}
.steps li {
  position: relative;
  text-align: center;
}
.mini-phone {
  margin: 0 auto 14px;
  width: 168px;
  aspect-ratio: 480 / 1039;
  padding: 7px;
  border-radius: 26px;
  background: #14102a;
  box-shadow: 0 20px 40px -22px #3b1d8a88;
}
.mini-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}
.step-n {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  font: 800 18px / 1 var(--title);
  margin-bottom: 8px;
}
.steps h3 {
  font-size: 22px;
}
.steps p {
  margin: 6px auto 0;
  max-width: 22em;
  color: var(--ink-2);
}

/* What's inside */
.inside {
  display: grid;
  gap: 28px;
  margin-top: 30px;
}
.map {
  display: grid;
  gap: 16px;
}
.map-section {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px;
  background: #fff;
}
.map-section.open {
  border-color: #cdb6fb;
  box-shadow: 0 16px 32px -24px #712ce9aa;
}
.map-head h3 {
  font-size: 24px;
  margin-top: 6px;
}
.map-head p {
  margin: 4px 0 0;
  font-size: 15px;
  color: var(--muted);
}
.map-tag {
  display: inline-block;
  font: 800 12px / 1 var(--ui);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--purple);
  padding: 6px 10px;
  border-radius: 999px;
}
.map-tag.wait {
  background: var(--lilac);
  color: var(--purple-3);
}
.lessons {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 8px;
}
.lessons li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--lilac-2);
}
.lessons li.next {
  grid-template-columns: 1fr auto;
}
.lesson-n {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--pi);
  color: #fff;
  font: 800 16px / 1 var(--title);
}
.lessons li.soon .lesson-n {
  background: var(--lilac);
  color: var(--purple-3);
}
.lesson-t {
  display: grid;
  line-height: 1.25;
}
.lesson-t b {
  font-weight: 800;
}
.lesson-t small {
  font-size: 14px;
  color: var(--muted);
}
.badge {
  font: 800 12px / 1 var(--ui);
  padding: 6px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.badge.ok {
  background: #d9fbec;
  color: var(--mint-ink);
}
.badge.wait {
  background: #fff;
  color: var(--muted);
  border: 1px solid var(--line);
}
.parts {
  border-radius: var(--r);
  padding: 20px;
  background: linear-gradient(180deg, var(--lilac), var(--lilac-2));
}
.parts h3 {
  font-size: 24px;
}
.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}
.shots img {
  width: 100%;
  aspect-ratio: 480 / 1039;
  object-fit: cover;
  border-radius: 14px;
  border: 4px solid #14102a;
}

/* Before / after */
.compare {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
.compare .col {
  border-radius: var(--r);
  padding: 20px;
}
.compare h3 {
  font-size: 24px;
}
.compare ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 10px;
}
.compare li {
  position: relative;
  padding-left: 30px;
}
.compare li::before {
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  text-align: center;
  font: 800 18px / 1.4 var(--title);
}
.before {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-2);
}
.before li::before {
  content: "×";
  color: #b04a63;
}
.after {
  background: var(--ink);
  color: #fff;
}
.after h3 {
  color: var(--mint);
}
.after li::before {
  content: "✓";
  color: var(--mint);
}

/* Gamefik brand proof */
.brand-band {
  background:
    radial-gradient(circle at 15% 20%, #8c4ef455, transparent 45%),
    radial-gradient(circle at 85% 80%, #3ee7a633, transparent 40%), var(--purple);
  color: #fff;
}
.brand-band h2 {
  color: #fff;
}
.brand-logo {
  width: 150px;
  height: auto;
  margin: 0 auto 16px;
  padding: 10px 16px;
  background: #fff;
  border-radius: 16px;
  box-sizing: content-box;
}
.proof {
  margin: 18px 0 0;
  font-size: 19px;
}
.proof b {
  display: block;
  font: 800 54px / 1 var(--title);
  color: var(--mint);
}
.pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}
.pills li {
  padding: 8px 14px;
  border-radius: 999px;
  background: #ffffff1f;
  border: 1px solid #ffffff40;
  font-weight: 800;
  font-size: 15px;
}
.brand-band .small,
.brand-band a {
  color: #fff;
}
.brand-band .small {
  margin-top: 20px;
}
.brand-band a {
  display: inline-block;
  min-height: 44px;
  line-height: 44px;
}

/* Offer */
.offer-band {
  background: linear-gradient(180deg, #fff, var(--lilac-2));
}
.offer {
  max-width: 560px;
  margin: 0 auto;
  padding: 26px 22px;
  border-radius: 26px;
  background: #fff;
  border: 2px solid var(--purple);
  box-shadow: 0 30px 60px -36px #712ce9cc;
}
.offer h2 {
  font-size: clamp(25px, 6vw, 32px);
}
.stack {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}
.stack li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-2);
}
.stack li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background:
    var(--purple)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 3.8L18 8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 14px no-repeat;
}
.price {
  margin: 22px 0 18px;
  padding: 18px;
  border-radius: 18px;
  background: var(--lilac-2);
  border: 1px dashed #cdb6fb;
  text-align: center;
}
.price-tag {
  margin: 0;
  font: 800 14px / 1.35 var(--ui);
  color: var(--purple-3);
}
.badge-off {
  display: inline-block;
  margin-right: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--ink);
  font: 800 14px / 1.2 var(--title);
}
.price-was {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 700;
}
.price-was s {
  text-decoration-thickness: 2px;
}
.price-main {
  margin: 2px 0 0;
}
.price-main b {
  font: 800 56px / 1 var(--title);
  color: var(--ink);
}
.price-main span {
  display: block;
  font-weight: 800;
  color: var(--purple-3);
}
.price-card {
  margin: 8px 0 0;
  font-weight: 700;
  color: var(--ink-2);
}
.price-note {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--muted);
}
.free-note {
  margin: 14px 0 0;
  text-align: center;
  font-weight: 800;
  color: var(--mint-ink);
}
.compare-note {
  margin: 12px 0 0;
  font-size: 15px;
  color: var(--muted);
  text-align: center;
}

/* Guarantee */
.guarantee {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 20px;
  align-items: center;
}
.guarantee h2 {
  font-size: clamp(24px, 5.6vw, 32px);
}
.guarantee p {
  color: var(--ink-2);
  margin: 10px 0 0;
}
.seal {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  color: var(--ink);
  background:
    radial-gradient(circle, #fff 56%, transparent 57%),
    conic-gradient(var(--mint), #a8f6d6, var(--mint));
  box-shadow: 0 12px 24px -14px #0b7a52aa;
}
.seal b {
  font: 800 40px / 0.9 var(--title);
  color: var(--mint-ink);
}
.seal span {
  font: 800 15px / 1 var(--title);
}
.seal small {
  font: 800 10px / 1.4 var(--ui);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* FAQ */
.faq {
  margin-top: 26px;
  display: grid;
  gap: 10px;
}
.faq details {
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  min-height: 56px;
  padding: 16px 48px 16px 18px;
  position: relative;
  font-weight: 800;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font: 800 24px / 1 var(--title);
  color: var(--purple);
}
.faq details[open] summary::after {
  content: "−";
}
.faq summary:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 2px;
  border-radius: 16px;
}
.faq details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--ink-2);
}

/* Final CTA */
.final {
  background: linear-gradient(180deg, var(--lilac-2), var(--lilac));
}
.final-pi {
  width: 120px;
  height: 120px;
  margin: 0 auto 10px;
}
.final .cta {
  max-width: 460px;
  margin: 24px auto 0;
}
.final .small {
  margin-top: 14px;
}

/* Footer */
.foot {
  padding: 36px 0 110px;
  background: var(--ink);
  color: #d8d1ea;
}
.foot .small {
  color: #bdb4d3;
}
.foot a {
  color: #fff;
}
.foot-brand img {
  width: 120px;
  height: auto;
  padding: 8px 12px;
  background: #fff;
  border-radius: 12px;
  box-sizing: content-box;
}
.foot-brand p {
  margin: 12px 0 0;
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 16px 0 6px;
}
.foot-links a {
  display: inline-block;
  min-height: 44px;
  line-height: 44px;
  font-weight: 700;
}

/* Testimonials (only when the flag is on) */
.quotes {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}
.quote {
  margin: 0;
  padding: 18px;
  border-radius: 16px;
  background: var(--lilac-2);
}

/* Hero screen carousel */
.screen.cycling img {
  animation: lp-cycle 10.5s infinite;
}
.screen.cycling img:nth-child(2) {
  animation-delay: 3.5s;
}
.screen.cycling img:nth-child(3) {
  animation-delay: 7s;
}
.screen.cycling img:first-child {
  opacity: 1;
  animation-name: lp-cycle-first;
}
@keyframes lp-cycle {
  0%,
  100% {
    opacity: 0;
  }
  4%,
  33% {
    opacity: 1;
  }
  37% {
    opacity: 0;
  }
}
@keyframes lp-cycle-first {
  0%,
  33% {
    opacity: 1;
  }
  37%,
  96% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@media (min-width: 760px) {
  .band {
    padding: 84px 0;
  }
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .compare {
    grid-template-columns: 1fr 1fr;
  }
  .inside {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }
  .offer {
    padding: 36px 40px;
  }
  .foot {
    padding-bottom: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .screen.cycling img {
    animation: none;
  }
  .screen.cycling img + img {
    opacity: 0;
  }
}
