/**
 * TipsterPage — Colour chapters (Taste Skill)
 * Idea: vender / cobrar / crecer = capítulos de color planos.
 * Brand: naranja solo en CTA. Paper frío (no crema IA). Chillax.
 */

:root{
  --light:#fafafa;
  --cream-deep:#fafafa;
  --paper:#fafafa;
  --paper-2:#FFFFFF;
  --chapter-ink:#09090b;
  --chapter-mute:#f4f4f5;
  --ink:#09090b;
  --orange:#ff8904;
  --radius:10px;
  --step-small:clamp(0.8125rem,0.79rem + 0.1vw,0.875rem);
  --step-body:clamp(1.0625rem,1rem + 0.25vw,1.1875rem);
  --step-lead:clamp(1.25rem,1.1rem + 0.7vw,1.625rem);
  --step-head:clamp(2rem,1.3rem + 3.2vw,4rem);
  --ease-out:cubic-bezier(0.23,1,0.32,1);
}

html, body{
  font-family:'Poppins',ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif !important;
  background:var(--paper) !important;
  color:var(--ink) !important;
}
h1,h2,h3,h4,.hv-h1,.btn,.nav-cta,.navlinks a,.hv-lead,.lead,.tp-hero-title,.sec-head h2{
  font-family:'Poppins',ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif !important;
}
h1,h2,h3{
  font-weight:600 !important;
  letter-spacing:-0.03em !important;
  line-height:1.02 !important;
}

/* --- Nav: barra plana, sin glass / pills --- */
nav,
nav.scrolled,
nav.on-dark{
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}
nav{
  background:#fff !important;
  border-bottom:1px solid rgba(10,10,10,0.08) !important;
  box-shadow:none !important;
}
nav.on-dark{
  background:var(--chapter-ink) !important;
  border-bottom-color:rgba(255,255,255,0.1) !important;
}
.navlinks{
  background:transparent !important;
  border:none !important;
  border-radius:0 !important;
  padding:0 !important;
  gap:4px !important;
}
.navlinks > a,
.navlinks > .nav-dropdown > a{
  border-radius:6px !important;
}
.navlinks a.active{
  background:transparent !important;
  box-shadow:none !important;
  color:var(--orange) !important;
}
.nav-magnet{display:none !important;}

/* --- Kill AI tells --- */
.hv-eyebrow,
.hero-eyebrow,
.hero-eyebrow-light,
.eyebrow:not(.ba-eyebrow),
.tp-hero-eyebrow,
.announce-pill,
.announce .tag,
.announce-badge{
  display:none !important;
}
.hv-aura,
.hv-beam,
.hero-lines,
.hero-light-glow,
.hero-glow,
.hero-noise,
.hero-dots,
.ph-glow,
.ph-dots{
  display:none !important;
}
.hv-chip{display:none !important;}

/* Headline: un solo color */
.hv-h1 .hv-hl,
.hv-h1 span,
.hero-h-light span,
.hero h1 span,
.tp-hero-title span{
  color:inherit !important;
  display:inline !important;
  animation:none !important;
  font-style:normal !important;
  background:none !important;
  -webkit-text-fill-color:unset !important;
}

/* --- Hero: tipografía grande, CTA plano --- */
.hero.hero-v3,
.hero.hero-light.hero-v3{
  background:var(--paper) !important;
  background-image:none !important;
}
.hv-h1{
  font-size:clamp(40px,6.2vw,72px) !important;
  font-weight:600 !important;
  letter-spacing:-0.035em !important;
  line-height:0.98 !important;
  max-width:12ch;
  margin-top:0 !important;
  color:var(--ink) !important;
}
.hv-lead{
  font-size:clamp(16px,1.3vw,19px) !important;
  color:#3A3A38 !important;
  opacity:1 !important;
  max-width:38ch !important;
  margin-top:24px !important;
  font-weight:400 !important;
}
.hv-actions{margin-top:32px !important;}
.hv-stage{
  filter:none !important;
  box-shadow:none !important;
}

/* Botones: radio 6px, flat, sin shine */
.btn::before,
.nav-cta::before,
.btn.white::before{
  display:none !important;
  content:none !important;
}
.btn,
.btn:not(.white),
.mob-cta,
.nav-cta,
.navright > a.nav-cta,
a.nav-cta,
.btn.white,
.cta-section .btn.white,
a.btn.white,
button.btn.white{
  border-radius:9999px !important;
  box-shadow:none !important;
  background-image:none !important;
  transition:transform 160ms var(--ease-out), background-color 160ms var(--ease-out), color 160ms var(--ease-out) !important;
  filter:none !important;
}
.btn:not(.white),
.mob-cta,
.nav-cta{
  background:var(--orange) !important;
  color:#fff !important;
}
.btn.white{
  background:#fff !important;
  color:var(--ink) !important;
}
.btn:not(.white):hover,
.mob-cta:hover,
.nav-cta:hover{
  background:#E67A00 !important;
  transform:none !important;
  box-shadow:none !important;
  filter:none !important;
}
.btn.white:hover{
  background:var(--ink) !important;
  color:#fff !important;
  transform:none !important;
  box-shadow:none !important;
}
.btn:active,
.nav-cta:active,
.mob-cta:active,
.btn.white:active{
  transform:scale(0.97) !important;
}

/* --- Colour chapters (home) --- */
#page-home .hero.hero-v3{
  background:var(--paper) !important;
}
#page-home .howto-section,
#page-home .fus-band{
  background:var(--paper-2) !important;
}
#page-home .chan-section.chan-light,
#page-home .fr-section{
  background:var(--chapter-mute) !important;
}
#page-home .testi-section{
  background:var(--paper) !important;
}
#page-home .partners-section{
  background:var(--paper-2) !important;
}
#page-home .cta-final.orange-bg,
#page-home .cta-section.orange-bg{
  /* Guía: nunca sección naranja; el cierre usa .band-dark */
  background:#09090b !important;
  color:#fafafa !important;
}
#page-home footer.ft{
  background:var(--paper) !important;
  color:var(--ink) !important;
}

/* Landings: chapters suaves */
[id^="page-"] .tp-hero{
  background:var(--paper) !important;
}
[id^="page-"] .pz-faq-wrap,
[id^="page-"] .pz-faq{
  background:transparent;
}

/* FAQ tiles: filled, no hairline borders */
.pz-faq-item{
  border-bottom:none !important;
  margin-bottom:8px !important;
  background:var(--chapter-mute) !important;
  border-radius:6px !important;
  padding:0 18px !important;
}
.pz-faq-q{
  padding:20px 0 !important;
}
.pz-faq-plus{
  background:#fff !important;
  border:none !important;
}
.pz-faq-item.open{
  background:var(--orange) !important;
  color:#fff !important;
}
.pz-faq-item.open .pz-faq-q{color:#fff !important;}
.pz-faq-item.open .pz-faq-plus{
  background:#fff !important;
  color:var(--orange) !important;
  border:none !important;
}
.pz-faq-item.open .pz-faq-a p{color:rgba(255,255,255,0.92) !important;}

/* Section heads: izquierda, sin “template centrado” forzado en splits */
.section{
  padding-top:clamp(88px,11vw,160px) !important;
  padding-bottom:clamp(88px,11vw,160px) !important;
}
.sec-head h2,
.vs-head h2,
.ck-head h2{
  font-size:clamp(28px,4.2vw,48px) !important;
  font-weight:600 !important;
  letter-spacing:-0.032em !important;
  max-width:18ch;
}
.hp-faq-head h2{
  font-size:clamp(28px,4.2vw,48px) !important;
  font-weight:600 !important;
  letter-spacing:-0.032em !important;
  max-width:none !important;
  margin-left:auto !important;
  margin-right:auto !important;
  text-align:center !important;
}

/* Body text: tinta completa, no gris lavado */
p.lead,
.hv-lead,
.sec-head p,
.tp-hero-lead{
  opacity:1 !important;
  color:#3A3A38 !important;
}

/* Cards: menos “tarjeta SaaS” (sombra / borde suave) */
.uc2-item,
.feat-card,
.mod-card,
.blog-card,
.pj-card{
  box-shadow:none !important;
  border-radius:6px !important;
}

/* Chat FAB: cuadrado suave, no glow */
.chat-widget,
.chat-fab,
#chatFab,
button.chat-fab{
  border-radius:10px !important;
  box-shadow:none !important;
}

/* Announce bar: plano */
.announce,
.announce-bar,
#siteAnnounce{
  background:var(--chapter-ink) !important;
  color:#fff !important;
}

/* Press band / logos: sin franja “template” */
.press-band{
  border:none !important;
  background:transparent !important;
  opacity:0.7;
}

/* Motion: entradas cortas (Emil: ease-out fuerte) */
@media (prefers-reduced-motion: no-preference){
  .reveal,
  .hv-txt > *,
  .sec-head,
  .tp-hero-inner > *{
    animation:tpTasteIn 520ms var(--ease-out) both;
  }
  .hv-txt > *:nth-child(1){animation-delay:40ms}
  .hv-txt > *:nth-child(2){animation-delay:100ms}
  .hv-txt > *:nth-child(3){animation-delay:160ms}
  .hv-txt > *:nth-child(4){animation-delay:220ms}
  .tp-hero-inner > *:nth-child(1){animation-delay:40ms}
  .tp-hero-inner > *:nth-child(2){animation-delay:100ms}
  .tp-hero-inner > *:nth-child(3){animation-delay:160ms}
}
@keyframes tpTasteIn{
  from{opacity:0; transform:translateY(18px)}
  to{opacity:1; transform:translateY(0)}
}
@media (prefers-reduced-motion: reduce){
  .reveal,
  .hv-txt > *,
  .sec-head,
  .tp-hero-inner > *{
    animation:none !important;
  }
}

/* Focus visible (Vercel guidelines) */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.nav-cta:focus-visible,
.tp-hero-jump:focus-visible{
  outline:2px solid var(--ink) !important;
  outline-offset:3px !important;
}

/* Mobile hero */
@media (max-width:900px){
  .hv-h1{
    font-size:clamp(34px,9vw,44px) !important;
    max-width:none;
    text-align:center !important;
  }
  .hv-lead{
    text-align:center !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }
  .hv-txt{
    text-align:center !important;
    align-items:center !important;
    padding-left:4px !important;
    padding-right:4px !important;
  }
  .hv-actions{
    justify-content:center !important;
    align-items:center !important;
  }
}
