/* ==========================================================================
   index.css — styles unique to index.html (the marketing landing page).
   Depends on shared.css for tokens, reset, nav, base buttons, rainbow
   divider, footer, reveal, and shared responsive / reduced-motion rules.
   ========================================================================== */

/* ---------- buttons (landing-page only) ---------- */
.btn-ghost {
  color: var(--text);
  padding: 15px 20px;
  font-size: 16px;
  border-radius: 9999px;
}
.btn-ghost:hover {
  background: var(--card);
}
.store-btn {
  background: var(--av-800);
  color: #f0f5f0;
  padding: 11px 22px 11px 18px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition:
    transform 0.18s var(--spring),
    box-shadow 0.2s;
  box-shadow: var(--e2);
}
.store-btn:hover {
  box-shadow: var(--e3);
  transform: translateY(-2px);
}
.store-btn:active {
  transform: scale(0.96);
}
.store-btn .glyph {
  width: 30px;
  height: 30px;
  flex: none;
}
.store-btn .lines {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.store-btn .lines small {
  font-size: 11px;
  font-weight: 500;
  color: #a4c1a5;
  letter-spacing: 0.02em;
}
.store-btn .lines b {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.store-btn.light {
  background: var(--acc-yellow);
  color: var(--av-800);
  box-shadow:
    0 0 0 2px rgba(255, 223, 104, 0.45),
    0 10px 22px rgba(0, 0, 0, 0.22);
}
.store-btn.light .lines small {
  color: #7a6a1f;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 60px 0 40px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  color: var(--muted);
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: var(--e1);
}
.hero h1 {
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 20px 0 0;
}
.hero h1 .grad {
  background: linear-gradient(
    95deg,
    var(--red),
    var(--yellow) 32%,
    var(--green) 60%,
    var(--teal)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  font-size: 18.5px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 22px;
  max-width: 480px;
}
.cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.proof {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  font-size: 13.5px;
  color: var(--faint);
  font-weight: 500;
}
.stars {
  color: var(--yellow);
  letter-spacing: 2px;
  font-size: 15px;
}

/* hero visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 540px;
}
.blob {
  position: absolute;
  width: 430px;
  height: 430px;
  border-radius: 46% 54% 60% 40% / 54% 44% 56% 46%;
  background: radial-gradient(
    circle at 32% 28%,
    var(--green-faded),
    var(--header-green)
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}
.blob.orange {
  width: 240px;
  height: 240px;
  background: radial-gradient(circle at 40% 35%, #f0a07f, var(--orange));
  border-radius: 54% 46% 40% 60% / 44% 56% 44% 56%;
  top: 78%;
  left: 74%;
  opacity: 0.9;
  filter: blur(0.2px);
}
.phone-hero {
  position: relative;
  z-index: 2;
  width: 320px;
  border-radius: 9.2%/4.45%;
  filter: drop-shadow(0 28px 46px rgba(41, 61, 42, 0.34));
  transform: rotate(-2deg);
}
.float-card {
  position: absolute;
  z-index: 3;
  background: var(--card-2);
  border-radius: 20px;
  padding: 14px 16px;
  box-shadow: var(--e3);
}
.float-rainbow {
  bottom: 54px;
  left: -20px;
  transform: rotate(-3deg);
}
.float-rainbow .t {
  font-size: 11.5px;
  color: var(--faint);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.dots {
  display: flex;
  gap: 7px;
  margin-top: 9px;
}
.dots i {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  font-style: normal;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.float-streak {
  top: 40px;
  right: -20px;
  transform: rotate(3deg);
  display: flex;
  align-items: center;
  gap: 10px;
}
.float-streak .big {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.float-streak .lbl {
  font-size: 11.5px;
  color: var(--faint);
  font-weight: 600;
}
.mascot-peek {
  position: absolute;
  z-index: 4;
  width: 96px;
  bottom: -6px;
  left: 44px;
  transform: rotate(-6deg);
  filter: drop-shadow(0 10px 14px rgba(41, 61, 42, 0.22));
}

/* ---------- section scaffolding ---------- */
section {
  position: relative;
}
.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--av-500);
}
.sec-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.sec-head h2 {
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin-top: 12px;
}
.sec-head p {
  font-size: 18px;
  color: var(--muted);
  margin-top: 16px;
  line-height: 1.6;
}

/* audience pills */
.audience {
  padding: 64px 0 8px;
}
.pill-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}
.apill {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--card-2);
  border: 1px solid var(--green-faded);
  padding: 12px 20px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 16px;
  box-shadow: var(--e1);
}
.apill .dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
}

/* ---------- science dark band ---------- */
.dark {
  background: var(--av-900);
  color: #f0f5f0;
  border-radius: 36px;
  padding: 60px 56px;
  position: relative;
  overflow: hidden;
}
.dark .glow {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(169, 200, 89, 0.3), transparent 70%);
  top: -200px;
  right: -140px;
}
.dark .glow.b {
  background: radial-gradient(
    circle,
    rgba(232, 112, 72, 0.26),
    transparent 70%
  );
  top: auto;
  bottom: -220px;
  left: -160px;
  right: auto;
}
.dark .kicker {
  color: var(--header-green);
  position: relative;
}
.dark h2 {
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-top: 12px;
  position: relative;
}
.dark h2 .accent {
  color: var(--yellow);
}
.dark .dp {
  color: #c2d6c3;
  font-size: 18px;
  line-height: 1.6;
  margin-top: 18px;
  max-width: 560px;
  position: relative;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
  position: relative;
}
.stat {
  background: rgba(240, 245, 240, 0.06);
  border: 1px solid rgba(240, 245, 240, 0.13);
  border-radius: 24px;
  padding: 26px 24px;
}
.stat .n {
  font-size: 46px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat .n .u {
  font-size: 20px;
  color: var(--header-green);
  font-weight: 700;
}
.stat .l {
  font-size: 14px;
  color: #a4c1a5;
  margin-top: 10px;
  line-height: 1.45;
}

/* ---------- feature rows ---------- */
.features {
  padding: 40px 0 8px;
}
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 54px 0;
}
.feature.flip .f-text {
  order: 2;
}
.feature.flip .f-visual {
  order: 1;
}
.f-text .num {
  font-size: 14px;
  font-weight: 700;
  color: var(--av-500);
  letter-spacing: 0.04em;
}
.f-text h3 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.06;
  margin-top: 10px;
}
.f-text p {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.62;
  margin-top: 18px;
  max-width: 460px;
}
.f-list {
  list-style: none;
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.f-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  color: var(--text);
  font-weight: 500;
}
.f-list .tick {
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  background: var(--green-faded);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--av-600);
  font-size: 14px;
  font-weight: 800;
  margin-top: 1px;
}

.f-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 560px;
}
.stage {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 42% 58% 58% 42% / 50% 50% 50% 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}
.stage.green {
  background: radial-gradient(
    circle at 34% 30%,
    var(--green-faded),
    var(--header-green)
  );
}
.stage.yellow {
  background: radial-gradient(circle at 34% 30%, #fbe6a6, var(--yellow));
}
.stage.teal {
  background: radial-gradient(circle at 34% 30%, #b6e9e8, var(--teal));
}
.stage.red {
  background: radial-gradient(circle at 34% 30%, #f6a88f, var(--red));
}
.stage.orange {
  background: radial-gradient(circle at 34% 30%, #f3b095, var(--orange));
}
.phone {
  position: relative;
  z-index: 2;
  width: 300px;
  border-radius: 9.2%/4.45%;
  filter: drop-shadow(0 26px 44px rgba(41, 61, 42, 0.3));
}
.phone.tilt-l {
  transform: rotate(-3deg);
}
.phone.tilt-r {
  transform: rotate(3deg);
}
.chip-float {
  position: absolute;
  z-index: 3;
  background: var(--card-2);
  border-radius: 16px;
  padding: 11px 15px;
  box-shadow: var(--e3);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
}
.chip-float .emoji {
  font-size: 22px;
}
.chip-float small {
  display: block;
  font-size: 11px;
  color: var(--faint);
  font-weight: 600;
}
.top-right {
  top: 60px;
  right: -20px;
  rotate: 3deg;
}
.top-left {
  top: 54px;
  left: -30px;
  rotate: -3deg;
}
.bottom-left {
  bottom: 70px;
  left: -30px;
  rotate: 1deg;
}
.bottom-right {
  bottom: 64px;
  right: -30px;
  rotate: 3deg;
}

/* ---------- small feature grid ---------- */
.grid-feats {
  padding: 56px 0;
}
.cards3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.fcard {
  background: var(--card);
  border-radius: 28px;
  padding: 34px 30px;
  box-shadow: var(--e1);
  transition:
    transform 0.25s var(--spring),
    box-shadow 0.25s ease;
}
.fcard:hover {
  transform: translateY(-6px);
  box-shadow: var(--e2);
}
.fcard .ic {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: var(--e1);
}
.fcard h4 {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 22px;
}
.fcard p {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 12px;
}

/* ---------- privacy strip ---------- */
.privacy {
  padding: 8px 0 64px;
}
.privacy-band {
  background: var(--card-2);
  border: 1px solid var(--green-faded);
  border-radius: 32px;
  padding: 40px 48px;
  display: flex;
  align-items: center;
  gap: 32px;
  box-shadow: var(--e1);
}
.privacy-band .lock {
  width: 84px;
  height: 84px;
  flex: none;
  border-radius: 24px;
  background: var(--green-faded);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}
.privacy-band h3 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.privacy-band p {
  font-size: 17px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.55;
  max-width: 620px;
}

/* ---------- final CTA ---------- */
.final {
  padding: 8px 0 80px;
}
.final .dark {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}
.final h2 {
  font-size: clamp(34px, 5vw, 54px);
}
.final .dp {
  font-size: 19px;
}
.final-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
  position: relative;
}
.final .mascot-big {
  position: relative;
  justify-self: center;
}
.final .mascot-big img {
  width: 230px;
  filter: drop-shadow(0 22px 30px rgba(0, 0, 0, 0.34));
}
.confetti {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 3px;
  opacity: 0.9;
}

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .hero-visual {
    min-height: 460px;
    margin: 8px auto 0;
    width: 320px;
    max-width: 100%;
  }
  .feature {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 40px 0;
  }
  .feature.flip .f-text {
    order: 1;
  }
  .feature.flip .f-visual {
    order: 2;
  }
  .f-visual {
    min-height: 480px;
    width: 300px;
    max-width: 100%;
    margin-inline: auto;
  }
  .f-text p,
  .lede,
  .f-text {
    text-align: left;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .cards3 {
    grid-template-columns: 1fr;
  }
  .final .dark {
    grid-template-columns: 1fr;
  }
  .final .mascot-big {
    display: none;
  }
  .privacy-band {
    flex-direction: column;
    text-align: center;
  }
  .dark {
    padding: 44px 28px;
  }
}

/* ---------- tweak states ---------- */
body.twk-hide-proof #hero-proof {
  display: none;
}
body.twk-flat-head #hero-grad {
  background: none;
  -webkit-text-fill-color: initial;
  color: var(--text);
}
body.twk-no-tilt .phone,
body.twk-no-tilt .phone-hero {
  transform: none;
}

/* ---------- tweaks panel ---------- */
.twk-panel {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 2147483646;
  width: 248px;
  background: rgba(250, 249, 236, 0.82);
  color: var(--text);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  border: 0.5px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 14px 40px rgba(41, 61, 42, 0.22);
  font-family: "Poppins", system-ui, sans-serif;
  overflow: hidden;
}
.twk-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 10px 12px 16px;
}
.twk-hd b {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.twk-x {
  border: 0;
  background: transparent;
  color: var(--faint);
  width: 24px;
  height: 24px;
  border-radius: 7px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
}
.twk-x:hover {
  background: rgba(62, 91, 63, 0.08);
  color: var(--text);
}
.twk-body {
  padding: 2px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.twk-sect {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 8px 0 0;
}
.twk-sect:first-child {
  padding-top: 0;
}
.twk-trow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.twk-trow span {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.twk-tog {
  position: relative;
  width: 38px;
  height: 22px;
  border: 0;
  border-radius: 999px;
  flex: none;
  background: var(--green-faded);
  transition: background 0.18s var(--spring);
  cursor: pointer;
  padding: 0;
}
.twk-tog[data-on="1"] {
  background: var(--av-500);
}
.twk-tog i {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(41, 61, 42, 0.3);
  transition: transform 0.18s var(--spring);
}
.twk-tog[data-on="1"] i {
  transform: translateX(16px);
}
