/* ============================================================
   Marsh landing — marshmallow theme
   Palette mirrors the Flutter app (theme.dart)
   ============================================================ */
:root {
  --cream:      #FDF7F2;
  --white:      #FFFFFF;
  --blush:      #FFB3C1;
  --blush-deep: #FF8DA0;
  --cocoa:      #3A2E2A;
  --cocoa-soft: #8A7B72;
  --sky:        #7C9CFF;
  --green:      #4CD07D;
  --red:        #FF5A5F;

  --bg-1: #FFF0F5;
  --bg-2: #F0F4FF;

  --radius: 24px;
  --radius-lg: 34px;
  --shadow-sm: 0 6px 18px rgba(81, 45, 32, 0.10);
  --shadow-md: 0 14px 40px rgba(81, 45, 32, 0.14);
  --shadow-lg: 0 26px 60px rgba(81, 45, 32, 0.18);
  --maxw: 1120px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: 'Fredoka', system-ui, -apple-system, sans-serif;
  color: var(--cocoa);
  background: linear-gradient(135deg, var(--bg-1), var(--bg-2));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { line-height: 1.15; font-weight: 700; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---------- Wordmark (white fill + pink outline, puffy) ---------- */
.wordmark {
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--white);
  -webkit-text-stroke: 6px var(--blush-deep);
  paint-order: stroke fill;
  text-shadow: 0 3px 2px rgba(81, 45, 32, 0.20);
  display: inline-block;
}
.wordmark--sm { font-size: 1.35rem; -webkit-text-stroke-width: 3px; }
.wordmark--lg { font-size: 2.6rem;  -webkit-text-stroke-width: 5px; }
.wordmark--xl { font-size: clamp(2.6rem, 7vw, 4.6rem); -webkit-text-stroke-width: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }

.btn--pill {
  background: var(--blush-deep);
  color: #fff;
  padding: 12px 26px;
  border-radius: 30px;
  box-shadow: var(--shadow-sm);
}
.btn--pill:hover { box-shadow: var(--shadow-md); background: #ff7b91; }

.btn--ghost {
  background: rgba(255,255,255,.7);
  color: var(--cocoa);
  padding: 12px 24px;
  border-radius: 30px;
  border: 2px solid rgba(255,141,160,.4);
}
.btn--ghost:hover { background: #fff; }

.btn--play {
  background: var(--cocoa);
  color: #fff;
  padding: 10px 24px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
.btn--play:hover { box-shadow: var(--shadow-md); }
.btn--play span { display: flex; flex-direction: column; line-height: 1.1; align-items: flex-start; }
.btn--play small { font-size: .62rem; letter-spacing: 1px; opacity: .8; font-weight: 500; }
.btn--play span { font-size: 1.15rem; font-weight: 600; }
.btn--play-lg { padding: 14px 34px; }
.btn--play-lg span { font-size: 1.35rem; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px clamp(16px, 4vw, 40px);
  background: rgba(255, 247, 242, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,141,160,.15);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__logo { width: 38px; height: 38px; border-radius: 11px; }
.nav__links { display: flex; gap: 26px; margin-left: auto; font-weight: 500; }
.nav__links a { position: relative; color: var(--cocoa-soft); transition: color .2s; }
.nav__links a:hover { color: var(--blush-deep); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 3px; width: 0;
  background: var(--blush-deep); border-radius: 3px; transition: width .25s var(--ease);
}
.nav__links a:hover::after { width: 100%; }
.nav__cta { margin-left: 8px; }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__burger span { width: 26px; height: 3px; background: var(--cocoa); border-radius: 3px; transition: .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 90px) clamp(16px, 4vw, 40px) 60px; overflow: hidden; }
.hero__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
}
.hero__blob { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .5; z-index: 0; }
.hero__blob--1 { width: 420px; height: 420px; background: var(--blush); top: -120px; right: -80px; }
.hero__blob--2 { width: 360px; height: 360px; background: var(--sky); bottom: -140px; left: -100px; opacity: .35; }
.hero__text { position: relative; z-index: 1; }

.badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.75); color: var(--blush-deep);
  font-weight: 600; font-size: .85rem;
  padding: 7px 16px; border-radius: 30px; box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.hero__title { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 18px; }
.hero__tagline { font-size: 1.15rem; color: var(--cocoa-soft); max-width: 30ch; margin-bottom: 28px; }
.hero__tagline strong { color: var(--blush-deep); }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero__note { margin-top: 22px; color: var(--cocoa-soft); font-size: .95rem; }
.only-lg { display: inline; }

/* Phone mock */
.hero__art { position: relative; z-index: 1; display: flex; justify-content: center; }
.phone {
  position: relative;
  width: 300px; max-width: 78vw;
  aspect-ratio: 300 / 600;
  background: #2c2320;
  border-radius: 44px;
  padding: 14px;
  box-shadow: var(--shadow-lg);
}
.phone__notch { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 120px; height: 22px; background: #2c2320; border-radius: 0 0 16px 16px; z-index: 3; }
.phone__screen {
  position: relative; height: 100%; border-radius: 32px; overflow: hidden;
  background: linear-gradient(160deg, var(--bg-1), var(--bg-2));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 26px 18px; text-align: center;
}
.speech {
  background: #fff; color: var(--cocoa); font-weight: 600; font-size: .95rem;
  padding: 9px 16px; border-radius: 16px; box-shadow: var(--shadow-sm);
  position: relative; margin-bottom: 16px;
}
.speech::after { content: ""; position: absolute; bottom: -6px; left: 50%; width: 14px; height: 14px; background: #fff; transform: translateX(-50%) rotate(45deg); }
.mascot { width: 150px; }
.mascot--bob { animation: bob 1.6s var(--ease) infinite; }
.phone__word { margin: 14px 0 6px; }
.phone__tag { font-size: .82rem; color: var(--cocoa-soft); max-width: 26ch; margin-bottom: 16px; }
.credits-pill { background: #fff; border-radius: 16px; padding: 8px 16px; font-size: .85rem; color: var(--cocoa-soft); box-shadow: var(--shadow-sm); margin-bottom: 16px; }
.credits-pill b { color: var(--blush-deep); font-size: 1rem; }
.phone__start { background: var(--blush-deep); color: #fff; font-family: inherit; font-weight: 600; font-size: 1rem; border: 0; border-radius: 26px; padding: 11px 34px; box-shadow: var(--shadow-sm); }

.verdict {
  position: absolute; background: #fff; border-radius: 16px; padding: 10px 16px;
  font-weight: 600; font-size: .9rem; box-shadow: var(--shadow-md); z-index: 2;
  animation: float 3.4s ease-in-out infinite;
}
.verdict--real { top: 16%; right: -6%; color: var(--green); }
.verdict--fake { bottom: 20%; left: -8%; color: var(--red); animation-delay: 1.2s; }

@keyframes bob { 0%,100% { transform: translateY(0) scale(1,1); } 50% { transform: translateY(-14px) scale(1.03,.97); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Value strip ---------- */
.strip {
  max-width: var(--maxw); margin: 10px auto 0; padding: 22px clamp(16px,4vw,40px);
  display: flex; flex-wrap: wrap; justify-content: space-around; gap: 16px;
  background: rgba(255,255,255,.6); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.strip__item { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--cocoa); }
.strip__item span { font-size: 1.4rem; }

/* ---------- Sections ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(56px, 8vw, 96px) clamp(16px, 4vw, 40px); }
.section--alt { max-width: none; background: rgba(255,255,255,.5); }
.section--alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section__head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.section__head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 12px; }
.section__head p { color: var(--cocoa-soft); font-size: 1.1rem; }

/* ---------- Feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border-radius: var(--radius); padding: 30px 26px;
  box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s;
  border: 1px solid rgba(255,141,160,.10);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.card__icon {
  width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center;
  font-size: 1.8rem; margin-bottom: 16px;
  background: linear-gradient(140deg, var(--bg-1), var(--bg-2));
}
.card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.card p { color: var(--cocoa-soft); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step {
  position: relative; background: #fff; border-radius: var(--radius);
  padding: 40px 26px 30px; text-align: center; box-shadow: var(--shadow-sm);
}
.step__num {
  position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
  width: 44px; height: 44px; border-radius: 50%; background: var(--blush-deep); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 1.3rem; box-shadow: var(--shadow-sm);
}
.step__face { width: 92px; margin: 6px auto 14px; }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--cocoa-soft); }

/* ---------- Privacy ---------- */
.privacy { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.privacy__art { display: flex; justify-content: center; }
.privacy__art img { width: 220px; animation: bob 2.4s var(--ease) infinite; }
.eyebrow { display: inline-block; color: var(--blush-deep); font-weight: 600; margin-bottom: 10px; }
.privacy__text h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 10px; }
.privacy__text > p { color: var(--cocoa-soft); font-size: 1.1rem; margin-bottom: 20px; }
.checklist { list-style: none; margin-bottom: 26px; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 12px; color: var(--cocoa); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff;
  display: grid; place-items: center; font-size: .8rem; font-weight: 700;
}

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; max-width: 780px; margin: 0 auto; }
.plan {
  background: #fff; border-radius: var(--radius-lg); padding: 34px 30px;
  box-shadow: var(--shadow-sm); border: 2px solid transparent; position: relative;
}
.plan--feature { border-color: var(--blush); box-shadow: var(--shadow-md); }
.plan__badge {
  display: inline-block; background: var(--sky); color: #fff; font-weight: 600; font-size: .85rem;
  padding: 5px 16px; border-radius: 20px; margin-bottom: 16px;
}
.plan__badge--pink { background: var(--blush-deep); }
.plan__price { font-size: 3rem; font-weight: 700; color: var(--cocoa); margin-bottom: 18px; }
.plan__price span { font-size: 1rem; color: var(--cocoa-soft); font-weight: 500; }
.plan ul { list-style: none; margin-bottom: 26px; }
.plan li { margin-bottom: 11px; color: var(--cocoa); }
.plan__cta { width: 100%; justify-content: center; }
.plans__note { text-align: center; color: var(--cocoa-soft); font-size: .9rem; margin-top: 22px; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq__item {
  background: #fff; border-radius: 20px; padding: 4px 24px;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(255,141,160,.10);
}
.faq__item summary {
  list-style: none; cursor: pointer; font-weight: 600; font-size: 1.08rem;
  padding: 18px 30px 18px 0; position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; color: var(--blush-deep); transition: transform .25s;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p { color: var(--cocoa-soft); padding-bottom: 20px; }

/* ---------- Download CTA ---------- */
.download { padding: clamp(40px, 6vw, 80px) clamp(16px, 4vw, 40px); }
.download__card {
  max-width: 720px; margin: 0 auto; text-align: center;
  background: linear-gradient(140deg, var(--blush), var(--sky));
  border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 64px) 30px;
  box-shadow: var(--shadow-lg); color: #fff; position: relative; overflow: hidden;
}
.download__mascot { width: 120px; margin: 0 auto 16px; animation: bob 1.8s var(--ease) infinite; }
.download__card h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); color: #fff; margin-bottom: 10px; }
.download__card > p { font-size: 1.15rem; opacity: .95; margin-bottom: 26px; }
.download__card .btn--play { margin: 0 auto; background: var(--cocoa); }
.download__soon { margin-top: 18px; font-size: .95rem; opacity: .9; }

/* ---------- Footer ---------- */
.footer {
  max-width: var(--maxw); margin: 0 auto; padding: 48px clamp(16px, 4vw, 40px);
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  border-top: 1px solid rgba(255,141,160,.15);
}
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__logo { width: 48px; height: 48px; border-radius: 14px; }
.footer__brand p { color: var(--cocoa-soft); font-size: .9rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 22px; font-weight: 500; }
.footer__links a { color: var(--cocoa-soft); transition: color .2s; }
.footer__links a:hover { color: var(--blush-deep); }
.footer__copy { grid-column: 1 / -1; text-align: center; color: var(--cocoa-soft); font-size: .88rem; padding-top: 16px; border-top: 1px dashed rgba(138,123,114,.25); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__text { order: 2; }
  .hero__art { order: 1; }
  .hero__tagline { margin-left: auto; margin-right: auto; }
  .hero__cta { justify-content: center; }
  .badge { margin-left: auto; margin-right: auto; }
  .only-lg { display: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .privacy { grid-template-columns: 1fr; text-align: center; }
  .checklist { display: inline-block; text-align: left; }
}

@media (max-width: 720px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav.open .nav__links {
    display: flex; flex-direction: column; gap: 18px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(255, 247, 242, 0.97); backdrop-filter: blur(14px);
    padding: 24px 30px; box-shadow: var(--shadow-md);
    margin-left: 0;
  }
  .nav.open .nav__cta { display: inline-flex; position: absolute; top: 100%; margin-top: 190px; left: 30px; right: 30px; justify-content: center; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .plans { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr; text-align: center; }
  .footer__brand, .footer__links { justify-content: center; }
}

@media (max-width: 480px) {
  .cards { grid-template-columns: 1fr; }
  .strip { justify-content: flex-start; }
  .verdict--real { right: 0; }
  .verdict--fake { left: 0; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
}

/* ============================================================
   Legal pages (privacy.html) — moved out of an inline <style>
   so the site can ship a strict Content-Security-Policy
   ============================================================ */
.ml-auto { margin-left: auto; }

.legal { max-width: 780px; margin: 0 auto; padding: 40px clamp(16px,4vw,40px) 80px; }
.legal h1 { font-size: clamp(2rem,5vw,2.8rem); margin-bottom: 6px; }
.legal .updated { color: var(--cocoa-soft); margin-bottom: 34px; }
.legal h2 { font-size: 1.35rem; margin: 34px 0 10px; color: var(--cocoa); }
.legal p, .legal li { color: var(--cocoa-soft); }
.legal ul { padding-left: 22px; margin: 10px 0; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--blush-deep); font-weight: 500; }
.legal .back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; font-weight: 600; color: var(--blush-deep); }
.legal .note { background: #fff; border-radius: 18px; padding: 18px 22px; box-shadow: var(--shadow-sm); border-left: 4px solid var(--green); margin: 20px 0; }
