/* ============ Fini Landing — editorial elevation (Origin/Lighthouse references) ============
   Two-voice type system: Urbanist + Instrument Serif italic accent.
   Mono micro-labels, melted hero, dark act, photo trio, gradient testimonials, laurels. */

:root {
  --font-accent: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-mono-ui: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --container: 1320px;
}

section { padding: 120px 0; }

/* ---------- The serif italic accent — one rule, everywhere ---------- */
.h-display em, .h-section em,
.sticky-features__heading em,
.testimonial-lines__h em,
.wrapped-egg__slide h2 em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  font-size: 1.08em;
  letter-spacing: -0.01em;
  line-height: 0.95;
}
.h-display em, .h-section em, .sticky-features__heading em { color: var(--green-deep); }
.testimonial-lines__h em, .wrapped-egg__slide h2 em { color: inherit; }
.wrapped-egg__slide h2 em { color: var(--lime-bright); }

/* Rotating hero words join the serif voice */
.rot-rotator__word {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  font-size: 1.06em;
  letter-spacing: -0.01em;
}

/* ---------- Mono micro-labels ---------- */
.eyebrow {
  font-family: var(--font-mono-ui);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--green-olive);
}
.eyebrow::before { width: 7px; height: 7px; }
.hero__scrollcue, .fp-logo-eyebrow, .cta-physics__hint, .wrapped-egg__hint {
  font-family: var(--font-mono-ui);
  font-weight: 500;
  letter-spacing: 0.16em;
}
.btn--ghost {
  font-family: var(--font-mono-ui);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.sticky-features__tag {
  font-family: var(--font-mono-ui);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pr-frame__badge, .hero-dash__year {
  font-family: var(--font-mono-ui);
  letter-spacing: 0.06em;
}

/* ---------- Melted hero (Lighthouse falloff — image visible, edges melt) ---------- */
.hero--lead .hero__scrim {
  background:
    radial-gradient(52% 40% at 50% 42%, rgba(247,252,240,0.42) 0%, rgba(247,252,240,0.14) 60%, rgba(247,252,240,0) 100%),
    linear-gradient(180deg, rgba(247,252,240,0.6) 0%, rgba(247,252,240,0.06) 22%, rgba(247,252,240,0.02) 60%, rgba(248,249,246,0.9) 92%, rgb(248,249,246) 100%);
}
.hero--lead .hero__bg .slot-fill { filter: saturate(0.92); }
.hero--lead .hero__lead { text-shadow: 0 1px 24px rgba(247,252,240,0.55); }
.hero--lead .btn { text-shadow: none; }

/* ---------- Dark act (ecosystem bento) — page-wide dark overlay carries the color; section only adds glow ---------- */
.page-dark {
  position: fixed;
  inset: 0;
  background: #0c2a05;
  opacity: 0;
  pointer-events: none;
}
.act-dark {
  background: radial-gradient(60% 50% at 50% 0%, rgba(54,181,96,0.14) 0%, rgba(0,0,0,0) 70%);
}
/* fallback when the scroll-driven overlay can't run */
@media (prefers-reduced-motion: reduce) {
  .act-dark { background-color: var(--green-black); }
}
html:not(.js) .act-dark { background-color: var(--green-black); }
.act-dark .h-section { color: var(--paper-50); }
.act-dark .h-section em { color: var(--lime-bright); }
.act-dark .lede { color: rgba(253,255,250,0.6); }
.act-dark .eyebrow { color: var(--lime-300); }
.act-dark .bento__card {
  background: rgba(253,255,250,0.045);
  border-color: rgba(253,255,250,0.09);
}
.act-dark .bento__card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.35); }
.act-dark .bento__card h3 { color: var(--paper-50); }
.act-dark .bento__card p { color: rgba(253,255,250,0.55); }
.act-dark .bento__icon { background: rgba(193,255,71,0.12); }
/* saldo cell stays lime — the single bright cell, Origin-style */
.act-dark .bento__card.is--saldo { background: linear-gradient(160deg, var(--lime-200), var(--lime-300)); border-color: transparent; }
.act-dark .bento__card.is--saldo h3 { color: var(--green-ink); }
.act-dark .bento__card.is--saldo p { color: var(--green-olive); }
/* mocks on dark */
.act-dark .mock-step__title { color: var(--paper-50); }
.act-dark .mock-step__meta { color: rgba(253,255,250,0.45); }
.act-dark .mock-step__dot { background: transparent; border-color: rgba(253,255,250,0.2); }
.act-dark .mock-step::before { background: rgba(253,255,250,0.14); }
.act-dark .mock-step.is--done .mock-step__dot { background: var(--green-leaf); border-color: var(--green-leaf); }
.act-dark .mock-step.is--done::before { background: var(--green-leaf); }
.act-dark .mock-fila { background: rgba(253,255,250,0.05); border-color: rgba(253,255,250,0.08); }
.act-dark .mock-fila__icon { background: rgba(193,255,71,0.12); }
.act-dark .mock-fila__icon.is--out { background: rgba(252,244,222,0.12); }
.act-dark .mock-fila__name { color: var(--paper-50); }
.act-dark .mock-fila__sub { color: rgba(253,255,250,0.45); }
.act-dark .mock-fila__amt { color: var(--paper-50); }
.act-dark .mock-fila__tag.is--recv { background: rgba(253,255,250,0.1); color: rgba(253,255,250,0.7); }
.act-dark .mock-dchip { background: rgba(253,255,250,0.06); border-color: rgba(253,255,250,0.1); color: rgba(253,255,250,0.55); }
.act-dark .mock-dchip.is--found { background: rgba(193,255,71,0.16); color: var(--lime-bright); }
.act-dark .mock-dedu-total { color: rgba(253,255,250,0.5); }
.act-dark .mock-dedu-total strong { color: var(--lime-bright); }
.act-dark .mock-msg.is--user { background: rgba(253,255,250,0.09); color: var(--paper-50); }
.act-dark .mock-msg.is--fini { background: var(--lime-100); }
.act-dark .chart__grid line { stroke: rgba(253,255,250,0.09); }
.act-dark .chart__line { stroke: var(--lime-bright); }
.act-dark .chart__dot { stroke: var(--lime-bright); }
.act-dark .bento__card.is--saldo .chart__grid line { stroke: rgba(20,40,8,0.1); }
.act-dark .bento__card.is--saldo .chart__line { stroke: var(--green-ink); }
.act-dark .bento__card.is--saldo .chart__dot { stroke: var(--green-ink); }

/* ---------- Photography trio (Origin "Track everything") ---------- */
.photo-trio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.photo-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-warm);
}
.photo-card .slot-fill { position: absolute; inset: 0; }
.photo-card__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 60px 24px 22px;
  background: linear-gradient(180deg, rgba(12,42,5,0) 0%, rgba(12,42,5,0.72) 100%);
  pointer-events: none;
}
.photo-card__cap h3 { color: var(--paper-50); font-size: 19px; font-weight: 580; letter-spacing: -0.01em; }
.photo-card__cap p { color: rgba(253,255,250,0.75); font-size: 13.5px; margin-top: 4px; line-height: 1.45; }
@media screen and (max-width: 860px) { .photo-trio__grid { grid-template-columns: 1fr; } .photo-card { aspect-ratio: 4 / 3; } }

/* ---------- Testimonials: gradient-wash cards + circular controls ---------- */
.testimonial-lines__item {
  border-radius: var(--radius-xl);
  padding: 44px 48px;
  box-sizing: border-box;
}
.testimonial-lines__item:nth-child(1) { background: linear-gradient(135deg, #eaf9d8 0%, #f7fcf0 55%, #fcf4de 100%); }
.testimonial-lines__item:nth-child(2) { background: linear-gradient(135deg, #f0ede7 0%, #f7fcf0 50%, #e4f6d2 100%); }
.testimonial-lines__item:nth-child(3) { background: linear-gradient(135deg, #fcf4de 0%, #f7fcf0 55%, #e8f7d8 100%); }
.testimonial-lines__item:nth-child(4) { background: linear-gradient(135deg, #e4f6d2 0%, #fdfffa 55%, #f0ede7 100%); }
.testimonial-lines__button {
  width: 45px; height: 45px;
  border-radius: 999px;
  background: rgba(20,40,8,0.07);
  border: none;
}
.testimonial-lines__button:hover { background: rgba(20,40,8,0.14); }
.testimonial-lines__main-details .testimonial-lines__p { font-family: var(--font-mono-ui); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
@media screen and (max-width: 767px) { .testimonial-lines__item { padding: 30px 26px; } }

/* ---------- Laurels row (final CTA) ---------- */
.laurels {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}
.laurel {
  display: flex;
  align-items: center;
  gap: 12px;
}
.laurel svg { width: 26px; height: 44px; color: var(--green-olive); opacity: 0.7; flex: none; }
.laurel svg.is--flip { transform: scaleX(-1); }
.laurel__body { text-align: center; }
.laurel__num { font-size: 20px; font-weight: 620; color: var(--green-ink); letter-spacing: -0.01em; }
.laurel__label {
  font-family: var(--font-mono-ui);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-top: 2px;
}


/* ---------- Chart axes / labels (fintech-grade) ---------- */
.chart__lbl {
  font-family: var(--font-mono-ui);
  font-size: 9.5px;
  fill: var(--warm-gray);
  letter-spacing: 0.04em;
}
.act-dark .chart__lbl { fill: rgba(253,255,250,0.42); }
.bento__card.is--saldo .chart__lbl { fill: rgba(20,40,8,0.55); }

/* ---------- Interactive acuse stack (cursor tilt) ---------- */
.acuse-stage {
  position: relative;
  flex: 1;
  min-height: 240px;
  margin-top: 20px;
  perspective: 900px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.acuse-glow {
  position: absolute;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(193,255,71,0.16), transparent 65%);
  filter: blur(12px);
  pointer-events: none;
}
.acuse-doc {
  position: relative;
  width: min(300px, 82%);
  background: var(--paper-50);
  border-radius: 14px;
  padding: 20px 22px 22px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  transform-style: preserve-3d;
  transition: transform 0.18s ease-out;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.acuse-doc__head { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 620; color: var(--green-ink); }
.acuse-doc__head img { height: 22px; display: block; }
.acuse-doc__line { height: 8px; border-radius: 4px; background: var(--paper-200); }
.acuse-doc__line.is--w85 { width: 85%; }
.acuse-doc__line.is--w70 { width: 70%; }
.acuse-doc__line.is--w50 { width: 50%; }
.acuse-doc__stamp {
  align-self: flex-end;
  margin-top: 8px;
  padding: 6px 12px;
  border: 2px solid var(--green-success);
  color: var(--green-success);
  border-radius: 8px;
  font-family: var(--font-mono-ui);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: rotate(-6deg);
}
.acuse-chip {
  position: absolute;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--lime-200);
  color: var(--green-ink);
  font-size: 12.5px;
  font-weight: 640;
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
  will-change: transform;
  transition: transform 0.18s ease-out;
  white-space: nowrap;
}
.acuse-chip.is--a { top: 10%; left: -2%; }
.acuse-chip.is--b { bottom: 6%; right: -2%; }

/* ---------- Seguridad: editorial rows ---------- */
.seg-rows { border-top: 1px solid #e8ece2; }
.seg-row {
  display: grid;
  grid-template-columns: 56px 44px 0.9fr 1.2fr;
  gap: 24px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid #e8ece2;
}
.seg-row__num { font-family: var(--font-mono-ui); font-size: 12px; color: var(--warm-gray); }
.seg-row i { width: 28px; height: 28px; display: block; }
.seg-row i svg { width: 28px; height: 28px; }
.seg-row h3 { font-size: 21px; font-weight: 580; letter-spacing: -0.015em; color: var(--green-ink); }
.seg-row p { font-size: 15px; color: var(--ink-500); line-height: 1.55; max-width: 480px; }
.seg-row.is--note {
  grid-template-columns: 44px 1fr;
  background: var(--paper-cream);
  border-radius: var(--radius-lg);
  border-bottom: none;
  padding: 24px 28px;
  margin-top: 22px;
}
.seg-row.is--note p { color: var(--green-olive); font-size: 14.5px; max-width: none; }
.seg-note__q {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--green-ink);
  color: var(--lime-200);
  font-weight: 640;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media screen and (max-width: 767px) {
  .seg-row { grid-template-columns: 40px 1fr; grid-template-rows: auto auto; align-items: start; }
  .seg-row__num { display: none; }
  .seg-row .seg-row__main, .seg-row > p { grid-column: 2; }
}

/* ---------- CTA final spacing ---------- */
.cta-final { padding: 170px 0 180px; }
.cta-final__content { gap: 44px; }
.cta-final .h-display { margin-bottom: 0; line-height: 1.04; }
.laurels { margin-top: 22px; gap: 60px; }
.laurel { gap: 16px; }
.laurel svg { overflow: visible; }


/* ---------- Pricing v2: free-first ---------- */
.pricing2 { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; }
.pricing2__free {
  background: linear-gradient(150deg, var(--lime-200), var(--lime-300) 60%, #e2ffb0);
  border-radius: var(--radius-xl);
  padding: 44px 46px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.pricing2__free-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; width: 100%; flex-wrap: wrap; }
.pricing2__free h3, .pricing2__monthly h3 { font-size: 20px; font-weight: 620; letter-spacing: -0.01em; color: var(--green-ink); }
.pricing2__zero {
  font-size: clamp(44px, 4.6vw, 64px);
  font-weight: 640;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--green-ink);
  font-variant-numeric: tabular-nums;
}
.pricing2__zero small { font-size: 0.3em; font-weight: 560; color: var(--green-olive); letter-spacing: 0; }
.pricing2__amount { font-size: 30px; font-weight: 620; letter-spacing: -0.02em; color: var(--green-ink); }
.pricing2__amount small { font-size: 0.5em; color: var(--warm-gray); font-weight: 540; }
.pricing2__desc { font-size: 15.5px; line-height: 1.55; color: var(--green-olive); max-width: 480px; }
.pricing2__monthly .pricing2__desc { color: var(--ink-500); }
.pricing2__list { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pricing2__list li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; font-weight: 540; color: var(--green-ink); }
.pricing2__list li i { width: 20px; height: 20px; display: block; flex: none; margin-top: 1px; }
.pricing2__list li i svg { width: 20px; height: 20px; }
.pricing2__monthly {
  background: var(--paper-0);
  border: var(--hairline-soft);
  border-radius: var(--radius-xl);
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.pricing2__emp {
  margin-top: 20px;
  background: var(--green-ink);
  border-radius: var(--radius-xl);
  padding: 40px 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.pricing2__emp-text h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 560; letter-spacing: -0.02em; color: var(--paper-50); }
.pricing2__emp-text h3 em { font-family: var(--font-accent); font-style: italic; font-weight: 400; font-size: 1.08em; color: var(--lime-bright); }
.pricing2__emp-text p { margin-top: 10px; font-size: 15px; line-height: 1.55; color: rgba(253,255,250,0.62); max-width: 560px; }
.pricing__note { margin-top: 26px; }
@media screen and (max-width: 900px) {
  .pricing2 { grid-template-columns: 1fr; }
  .pricing2__free, .pricing2__monthly, .pricing2__emp { padding: 32px 28px; }
}

/* ---------- Seguridad: serif ask ---------- */
.seg-ask { margin-top: 80px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.seg-ask__q { font-size: clamp(26px, 3.2vw, 40px); font-weight: 540; letter-spacing: -0.02em; color: var(--green-ink); }
.seg-ask__q em { font-family: var(--font-accent); font-style: italic; font-weight: 400; font-size: 1.08em; color: var(--green-deep); }
.seg-ask__a { font-size: 16.5px; line-height: 1.6; color: var(--ink-500); max-width: 600px; text-wrap: pretty; }


/* Pricing plan names — bigger, serif accent */
.pricing2__name { font-size: clamp(26px, 2.6vw, 36px) !important; font-weight: 550 !important; letter-spacing: -0.02em; line-height: 1.05; }
.pricing2__name em { font-family: var(--font-accent); font-style: italic; font-weight: 400; font-size: 1.08em; color: var(--green-deep); }

/* Footer matter: full-bleed over the whole footer */
.fp-footer { position: relative; }
.fp-footer .container { position: relative; z-index: 1; }
.fp-matter { position: absolute; top: 26%; bottom: 56px; left: 0; right: 0; z-index: 3; pointer-events: none; }
.fp-matter canvas { pointer-events: auto; }


/* ---------- Hero motion: ambient drift + pointer parallax + animated light ---------- */
.hero__bg-motion {
  position: absolute;
  inset: 0;
  will-change: transform;
}
.hero__bg-motion .slot-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  .hero__bg-motion .slot-fill {
    animation: hero-drift 18s ease-in-out infinite alternate;
  }
}
@keyframes hero-drift {
  0%   { transform: scale(1.06) translate(1.2%, 0.8%); }
  100% { transform: scale(1.16) translate(-1.4%, -1%); }
}
.hero__light-track { display: none; }
.hero__light-track {
  position: absolute;
  inset: -12%;
  pointer-events: none;
  will-change: transform;
}
.hero__light {
  position: absolute;
  inset: 0;
  pointer-events: none;
  will-change: transform;
  background:
    radial-gradient(34% 30% at 30% 34%, rgba(252,244,222,0.34) 0%, rgba(252,244,222,0) 100%),
    radial-gradient(46% 40% at 72% 62%, rgba(193,255,71,0.1) 0%, rgba(193,255,71,0) 100%);
  mix-blend-mode: soft-light;
}
@media (prefers-reduced-motion: no-preference) {
  .hero__light { animation: hero-light 30s ease-in-out infinite alternate; }
}
@keyframes hero-light {
  0%   { transform: translate(-3%, -2%) scale(1); opacity: 0.9; }
  50%  { opacity: 1.0; }
  100% { transform: translate(3%, 2.5%) scale(1.08); opacity: 0.85; }
}


/* ---------- Hero multiplane foreground (option D, v2): leaf sprig peeking from the top ---------- */
.hero__fg {
  position: absolute;
  top: 0;
  right: 0;
  width: min(44vw, 720px);
  height: min(46vh, 500px);
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
  will-change: transform;
}
.hero__fg-motion {
  position: absolute;
  inset: 0;
  will-change: transform;
}
.hero__fg-motion img {
  position: absolute;
  top: -2%;
  right: -6%;
  width: 185%;
  height: auto;
  transform-origin: 80% 0%;
  filter: drop-shadow(-14px 18px 26px rgba(12, 42, 5, 0.14));
}
@media (prefers-reduced-motion: no-preference) {
  .hero__fg-motion img { animation: leaf-sway 16s ease-in-out infinite alternate; }
}
@keyframes leaf-sway {
  0%   { transform: rotate(0.5deg); }
  100% { transform: rotate(-0.9deg); }
}
@media screen and (max-width: 767px) {
  .hero__fg { width: 70vw; height: 30vh; opacity: 0.9; }
}
