/* Matlyst landing — Apple-clean, soft layered depth, four-color palette.
   Inherits all tokens from ../../colors_and_type.css. */

/* ====== Container / layout primitives ====== */
.container { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.section   { padding: 120px 0; position: relative; }
.section--tight { padding: 80px 0; }

/* Consistent, balanced vertical rhythm across every section at all sizes */
@media (max-width: 860px) {
  .section,
  .section--problem,
  .waitlist { padding: 80px 0; }
  .section--tight { padding: 56px 0; }
}
@media (max-width: 560px) {
  .section,
  .section--problem,
  .waitlist { padding: 64px 0; }
}
.section__head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.section__head--left { text-align: left; margin-left: 0; }

.eyebrow {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--persimmon);
  margin-bottom: 18px;
}

.section h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.028em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
.section__sub {
  margin: 22px 0 0;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 620px;
}
.section__head .section__sub { margin-left: auto; margin-right: auto; }

/* ====== Buttons ====== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 28px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.005em;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: transform 120ms cubic-bezier(.2,.8,.2,1), background 200ms, box-shadow 200ms, color 200ms;
}
.btn:active { transform: scale(0.985); }
.btn--primary {
  background: var(--persimmon);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(227, 83, 54, 0.5);
}
.btn--primary:hover { background: var(--persimmon-deep); color: #fff; box-shadow: 0 12px 28px -8px rgba(227, 83, 54, 0.6); }
.btn--secondary {
  background: var(--ink);
  color: var(--cream);
}
.btn--secondary:hover { background: #3A2519; }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--rule-strong);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }

/* ====== Nav ====== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 242, 0.78);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(38, 23, 18, 0.06);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.nav__logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.nav__logo .wm   { height: 28px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 36px; }
.nav__links a {
  font-size: 16px; font-weight: 500; color: var(--ink); opacity: 0.7;
  text-decoration: none; transition: opacity 180ms;
}
.nav__links a:hover { opacity: 1; }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__cta {
  background: var(--persimmon); color: #fff;
  padding: 14px 26px; border-radius: 999px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  transition: background 180ms;
}
.nav__cta:hover { background: var(--persimmon-deep); color: #fff; }

/* Hamburger — hidden on desktop, shown on mobile */
.nav__burger {
  display: none;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 0; border-radius: 12px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  flex: none;
  transition: background 180ms;
}
.nav__burger:hover { background: rgba(38, 23, 18, 0.06); }

/* Mobile dropdown menu — collapsed by default */
.nav__mobile { display: none; }

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__burger { display: inline-flex; }
  .nav__mobile {
    display: flex;
    flex-direction: column;
    padding: 8px var(--gutter) 20px;
    border-top: 1px solid rgba(38, 23, 18, 0.06);
    background: rgba(251, 248, 242, 0.96);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
  }
  .nav__mobile[hidden] { display: none; }
  .nav__mobile a {
    padding: 14px 4px;
    font-size: 17px; font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid var(--rule);
  }
  .nav__mobile a:last-child { border-bottom: 0; }
  .nav__mobile a:hover { color: var(--persimmon); }
}

/* ====== Hero ====== */
.hero {
  padding: 60px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 920px) { .hero__inner { grid-template-columns: 1fr; gap: 56px; } }

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 18px 0 28px;
  text-wrap: balance;
}
.hero h1 .accent { color: var(--persimmon); }
.hero h1 .hero-line { display: block; }
.hero h1 .hero-line:first-child { text-wrap: balance; }

/* ===== Hero animation 1 — cascade entry (fade + rise) ===== */
.hero-rise {
  opacity: 0;
  transform: translateY(20px);
  animation: heroRise 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
@keyframes heroRise {
  to { opacity: 1; transform: translateY(0); }
}

/* parallax wrapper — isolates the transform the JS writes */
.hero__phone-wrap { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .hero-rise { opacity: 1; transform: none; animation: none; }
}
.hero__sub {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 520px;
  margin: 0 0 22px;
}
.hero__cta-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero__micro {
  margin-top: 22px;
  font-size: 13px;
  color: var(--ink-quiet);
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
}
.hero__micro .dot { opacity: 0.4; }

/* Hero visual — layered phone over soft warm canvas */
.hero__visual {
  position: relative;
  display: flex; justify-content: center; align-items: center;
  height: 540px;
}
.hero__halo {
  position: absolute; inset: 0;
  background:
    radial-gradient(40% 50% at 50% 50%, rgba(227, 83, 54, 0.18), transparent 70%),
    radial-gradient(60% 60% at 80% 20%, rgba(74, 171, 232, 0.10), transparent 70%),
    radial-gradient(50% 50% at 20% 80%, rgba(152, 168, 105, 0.12), transparent 70%);
  filter: blur(8px);
}

/* ====== Phone mockup ====== */
.phone {
  position: relative;
  width: 320px; height: 640px;
  background: linear-gradient(160deg, #2E1B14, #1A0E08);
  border-radius: 52px;
  padding: 10px;
  /* Supporting element, not the protagonist — scaled to ~80% and the
     reserved layout box collapsed via negative margins so it centres
     cleanly against the headline block. */
  transform: scale(0.8);
  transform-origin: center;
  margin: -64px -32px;
  box-shadow:
    0 50px 100px -30px rgba(38, 23, 18, 0.45),
    0 20px 40px -20px rgba(38, 23, 18, 0.30),
    0 1px 2px rgba(38, 23, 18, 0.20);
}
.phone__screen {
  width: 100%; height: 100%;
  background: var(--paper);
  border-radius: 42px;
  overflow: hidden;
  display: flex; flex-direction: column;
  position: relative;
}
.phone__notch {
  position: absolute; top: 20px; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 26px;
  background: #000; border-radius: 999px;
  z-index: 3;
}
.phone__status {
  display: flex; justify-content: space-between;
  padding: 18px 28px 8px;
  font-size: 13px; font-weight: 600;
  color: var(--ink);
}
.phone__statusicons { display: flex; gap: 5px; align-items: center; }

/* ===== Hero animation 2 — infinite internal feed scroll ===== */
.phone__feed {
  flex: 1;
  overflow: hidden;
  position: relative;
  min-height: 0;
}
.phone__feed-track {
  display: flex;
  flex-direction: column;
  padding-top: 4px;
  animation: feedScroll 26s linear infinite;
  will-change: transform;
}
@keyframes feedScroll {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}
/* soft fade at top + bottom of the feed so cards melt in/out */
.phone__feed-fade {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, var(--paper) 0%, transparent 9%),
    linear-gradient(to top, var(--paper) 0%, transparent 12%);
  z-index: 1;
}
@media (prefers-reduced-motion: reduce) {
  .phone__feed-track { animation: none; }
}

/* ====== Cards (soft layered) ====== */
.card {
  background: var(--paper);
  border-radius: 24px;
  padding: 32px;
  box-shadow:
    0 2px 4px rgba(38, 23, 18, 0.04),
    0 16px 40px -20px rgba(38, 23, 18, 0.14);
  display: flex; flex-direction: column;
  gap: 14px;
  transition: transform 280ms cubic-bezier(.2,.8,.2,1), box-shadow 280ms;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 4px 8px rgba(38, 23, 18, 0.05),
    0 24px 56px -20px rgba(38, 23, 18, 0.20);
}

/* Accent variants for grid sections */
.card--persimmon { background: var(--persimmon); color: #fff; }
.card--persimmon h3 { color: #fff; }
.card--sage      { background: var(--sage); color: #fff; }
.card--sage h3   { color: #fff; }
.card--sky       { background: var(--sky); color: #fff; }
.card--sky h3    { color: #fff; }
.card--ink       { background: var(--ink); color: var(--paper); }
.card--ink h3    { color: #fff; }

/* ====== Problem section — editorial pain points, asymmetric ====== */
.section--problem {
  background: var(--cream-deep);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.problem-head {
  max-width: 1180px; margin: 0 auto;
  text-align: left;
}
.problem-head h2 {
  margin: 0;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.032em;
  max-width: 1100px;
  text-wrap: balance;
}
.problem-prose {
  max-width: 620px;
  margin: 32px 0 96px;            /* left-aligned, normal flow */
  display: flex; flex-direction: column; gap: 18px;
}
.problem-prose p {
  margin: 0;
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.6;
  color: var(--ink-soft);
}
.problem-prose__lead {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 34px) !important;
  line-height: 1.18 !important;
  letter-spacing: -0.02em;
  color: var(--ink) !important;
  text-wrap: balance;
}
.problem-prose em {
  font-style: italic;
  color: var(--persimmon);
  font-weight: 600;
}
@media (max-width: 700px) {
  .problem-prose { margin: 40px 0 64px; max-width: none; }
}

/* The three pain points — full-width editorial rows.
   Numeral · title · body across the page, divided by warm rules. */
.pains {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1180px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule-strong);
}
.pain {
  display: grid;
  grid-template-columns: clamp(76px, 8vw, 128px) minmax(0, 1fr) minmax(0, 1.25fr);
  column-gap: clamp(24px, 4vw, 64px);
  align-items: start;
  padding: clamp(36px, 4.5vw, 56px) 0;
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 820px) {
  .pain {
    grid-template-columns: clamp(64px, 16vw, 96px) 1fr;
    column-gap: 20px;
    row-gap: 10px;
  }
}

.pain__n {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(56px, 7vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--persimmon);
  font-feature-settings: "tnum" 1;
  display: block;
}
.pain--02 .pain__n { color: var(--sage-deep); }
.pain--03 .pain__n { color: var(--sky-deep); }

.pain__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.12;
  letter-spacing: -0.022em;
  color: var(--ink);
  text-wrap: balance;
  padding-top: 6px;
}
.pain__text {
  margin: 0;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 460px;
  padding-top: 10px;
}

@media (max-width: 820px) {
  .pain__n { font-size: clamp(48px, 12vw, 64px); }
  .pain__title { grid-column: 2; padding-top: 0; }
  .pain__text  { grid-column: 2; padding-top: 0; max-width: none; }
}

/* ===== "El problema" scroll choreography =====
   Dividers become drawable pseudo-lines; hidden initial states live only
   inside no-preference so reduced-motion / no-JS render fully visible. */
.section--problem .pain { border-bottom: none; position: relative; }
.section--problem .pain::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  height: 1px; width: 100%;
  background: var(--rule);
  transform-origin: left center;
}

@media (prefers-reduced-motion: no-preference) {
  /* Head cascade — eyebrow, title, bold lead, final paragraph */
  .section--problem .eyebrow,
  .section--problem .problem-head h2,
  .section--problem .problem-prose__lead,
  .section--problem .problem-prose p:not(.problem-prose__lead) {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  }
  .section--problem .problem-head h2            { transition-delay: 150ms; }
  .section--problem .problem-prose__lead        { transition-delay: 300ms; }
  .section--problem .problem-prose p:not(.problem-prose__lead) { transition-delay: 450ms; }
  .section--problem.head-in .eyebrow,
  .section--problem.head-in .problem-head h2,
  .section--problem.head-in .problem-prose__lead,
  .section--problem.head-in .problem-prose p:not(.problem-prose__lead) {
    opacity: 1;
    transform: none;
  }

  /* Numbered rows — fade + slide from the left, 200ms stagger */
  .section--problem .pain {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  }
  .section--problem .pain:nth-child(2) { transition-delay: 200ms; }
  .section--problem .pain:nth-child(3) { transition-delay: 400ms; }
  .section--problem.pains-in .pain { opacity: 1; transform: none; }

  /* Divider rules draw L→R just as the next row arrives */
  .section--problem .pain::after { width: 0; }
  .section--problem.pains-in .pain::after { width: 100%; transition: width 0.4s ease-out; }
  .section--problem.pains-in .pain:nth-child(1)::after { transition-delay: 200ms; }
  .section--problem.pains-in .pain:nth-child(2)::after { transition-delay: 400ms; }
  .section--problem.pains-in .pain:nth-child(3)::after { transition-delay: 600ms; }
}

/* ===== "Qué es Matlyst" (#que-es) scroll choreography ===== */
.whatis-feed { position: absolute; inset: 0; overflow: hidden; }
.whatis-feed-track {
  position: absolute; left: 24px; right: 24px; top: 18px;
  display: flex; flex-direction: column; gap: 8px;
  will-change: transform;
}
.whatis-node, .whatis-ping { transform-box: view-box; }

@media (prefers-reduced-motion: no-preference) {
  /* 1) head cascade — eyebrow, title, paragraph */
  #que-es .eyebrow,
  #que-es .section__head h2,
  #que-es .section__sub {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  }
  #que-es .section__head h2 { transition-delay: 150ms; }
  #que-es .section__sub     { transition-delay: 300ms; }
  #que-es.whatis-in .eyebrow,
  #que-es.whatis-in .section__head h2,
  #que-es.whatis-in .section__sub { opacity: 1; transform: none; }

  /* 2) cards stagger in */
  #que-es .feature-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  }
  #que-es .feature-card:nth-child(1) { transition-delay: 300ms; }
  #que-es .feature-card:nth-child(2) { transition-delay: 450ms; }
  #que-es .feature-card:nth-child(3) { transition-delay: 600ms; }
  #que-es.whatis-in .feature-card { opacity: 1; transform: none; }

  /* 3) card 1 — infinite live feed scroll */
  .whatis-feed-track { animation: whatisFeed 18s linear infinite; }

  /* 4) card 2 — desynced node pulse + link activity */
  .whatis-node { animation: whatisPulse 2.4s ease-in-out infinite; }
  .whatis-link { animation: whatisLink 3s ease-in-out infinite; }

  /* 5) card 3 — staggered location pings */
  .whatis-ping { animation: whatisPing 2.8s ease-out infinite; }
}

@keyframes whatisFeed { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes whatisPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes whatisLink { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes whatisPing { 0% { transform: scale(1); opacity: 0.85; } 100% { transform: scale(1.4); opacity: 0; } }

/* legacy keep */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 800px) { .quotes { grid-template-columns: 1fr; } }
.quote {
  background: var(--paper);
  border-radius: 24px;
  padding: 36px 32px 32px;
  box-shadow: 0 2px 4px rgba(38,23,18,0.04), 0 16px 40px -20px rgba(38,23,18,0.14);
  position: relative;
}
.quote__qmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 64px;
  line-height: 0.7;
  color: var(--persimmon);
  display: block;
  margin-bottom: 12px;
}
.quote__text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.32;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0;
  text-wrap: pretty;
}

/* ====== "What is Matlyst" — grid with iconographic mini-visuals ====== */
.whatis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 920px) { .whatis-grid { grid-template-columns: 1fr; } }
.feature-card {
  background: var(--paper);
  border-radius: 28px;
  padding: 36px 32px;
  box-shadow: 0 2px 4px rgba(38,23,18,0.04), 0 16px 40px -20px rgba(38,23,18,0.14);
  display: flex; flex-direction: column; gap: 16px;
  position: relative;
  overflow: hidden;
}
.feature-card__visual {
  height: 180px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 8px;
}
.feature-card h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  line-height: 1.15; letter-spacing: -0.018em; color: var(--ink);
  margin: 0;
}
.feature-card p {
  margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.55;
}

/* Icon-square (uses inline SVG) */
.icon-tile {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  flex: none;
}
.icon-tile svg { width: 28px; height: 28px; stroke-width: 1.75; }
.icon-tile--persimmon { background: var(--persimmon); }
.icon-tile--sage      { background: var(--sage); }
.icon-tile--sky       { background: var(--sky); }
.icon-tile--ink       { background: var(--ink); color: var(--persimmon); }

/* ====== Steps (How it works) ====== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 920px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--paper);
  border-radius: 28px;
  padding: 40px 32px 36px;
  box-shadow: 0 2px 4px rgba(38,23,18,0.04), 0 16px 40px -20px rgba(38,23,18,0.14);
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
}
.step__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--persimmon);
  display: block;
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 700; font-size: 24px;
  line-height: 1.18; letter-spacing: -0.02em;
  color: var(--ink); margin: 0;
}
.step p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.55; }

/* ====== Bento features (2x2 with mini-visuals) ====== */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(280px, auto);
  gap: 20px;
}
.bento > * { grid-column: span 3; }
.bento > .bento--tall { grid-row: span 1; }
@media (max-width: 800px) {
  .bento > * { grid-column: span 6; }
}
@media (max-width: 520px) {
  .bento { gap: 16px; }
  .bento-tile { padding: 24px; min-height: 0; }
}

.bento-tile {
  background: var(--paper);
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 2px 4px rgba(38,23,18,0.04), 0 16px 40px -20px rgba(38,23,18,0.14);
  display: flex; flex-direction: column;
  gap: 22px;
  position: relative; overflow: hidden;
  min-height: 340px;
}
.bento-tile__copy { max-width: 440px; }
.bento-tile h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 26px; line-height: 1.12; letter-spacing: -0.022em;
  color: var(--ink); margin: 0 0 10px;
}
.bento-tile p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.55; }
/* Bento mini-visuals — flow below the copy and pin to the tile bottom.
   Never absolutely positioned, so they can't overlap the text at any width. */
.bento-tile .bento-viz,
.bento-tile .citylist {
  position: static;
  right: auto; bottom: auto;
  width: 100%;
  margin-top: auto;
  align-self: stretch;
}
.bento-tile--sage    { background: var(--sage);    color: #fff; }
.bento-tile--sage h3, .bento-tile--sage p { color: #fff; }
.bento-tile--sage p  { opacity: 0.85; }
.bento-tile--sky     { background: var(--sky);     color: #fff; }
.bento-tile--sky h3, .bento-tile--sky p   { color: #fff; }
.bento-tile--sky p   { opacity: 0.88; }
.bento-tile--ink     { background: var(--ink);     color: var(--paper); }
.bento-tile--ink h3  { color: #fff; }
.bento-tile--ink p   { color: rgba(250,237,214,0.75); }
.bento-tile--persimmon { background: var(--persimmon); color: #fff; }
.bento-tile--persimmon h3, .bento-tile--persimmon p { color: #fff; }
.bento-tile--persimmon p { opacity: 0.92; }

/* ====== Social proof ====== */
.proof__stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-bottom: 64px;
}
@media (max-width: 760px) { .proof__stats { grid-template-columns: 1fr; } }
.stat {
  background: var(--paper);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 2px 4px rgba(38,23,18,0.04), 0 16px 40px -20px rgba(38,23,18,0.14);
  text-align: left;
}
.stat__n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--persimmon);
}
.stat__l {
  margin-top: 12px;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 920px) { .testimonials { grid-template-columns: 1fr; } }
.testimonial {
  background: var(--paper);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 2px 4px rgba(38,23,18,0.04), 0 16px 40px -20px rgba(38,23,18,0.14);
  display: flex; flex-direction: column; gap: 22px;
}
.testimonial__quote {
  font-family: var(--font-display); font-weight: 600;
  font-size: 19px; line-height: 1.36; letter-spacing: -0.014em;
  color: var(--ink); margin: 0;
}
.testimonial__attr { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 42px; height: 42px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
}
.attr__meta { display: flex; flex-direction: column; line-height: 1.2; }
.attr__name { font-weight: 600; font-size: 14px; color: var(--ink); }
.attr__city { font-size: 12px; color: var(--ink-quiet); margin-top: 2px; }

/* ====== Waiting list — cream canvas with a featured persimmon card ====== */
.waitlist {
  background: var(--cream-deep);
  padding: 120px 0;
  position: relative;
}
.waitlist__inner {
  max-width: 880px; margin: 0 auto;
  text-align: center;
}
.waitlist__card {
  background:
    radial-gradient(60% 80% at 20% 20%, rgba(255,255,255,0.16), transparent 60%),
    radial-gradient(50% 70% at 90% 90%, rgba(38,23,18,0.12), transparent 60%),
    var(--persimmon);
  color: #fff;
  border-radius: 36px;
  padding: 80px 56px;
  text-align: center;
  box-shadow: 0 30px 80px -30px rgba(227,83,54,0.4), 0 8px 16px -8px rgba(227,83,54,0.2);
  position: relative;
  overflow: hidden;
}
.waitlist__card::after {
  content: "";
  position: absolute; right: -60px; bottom: -60px;
  width: 280px; height: 280px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  pointer-events: none;
}
.waitlist .eyebrow { color: rgba(255,255,255,0.78); }
.waitlist h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.032em;
  color: #fff;
  margin: 0;
  position: relative;
}
.waitlist__sub {
  margin: 22px auto 0;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  position: relative;
}
.waitlist__form {
  margin: 36px auto 0;
  display: flex; align-items: center; gap: 6px;
  background: var(--paper);
  border-radius: 999px;
  padding: 6px 6px 6px 24px;
  box-shadow: 0 20px 50px -20px rgba(38, 23, 18, 0.35);
  max-width: 540px;
  position: relative;
}
.waitlist__form input {
  flex: 1; border: 0; outline: 0; background: transparent;
  font-family: var(--font-sans); font-size: 16px; color: var(--ink);
  padding: 12px 8px; min-width: 0;
}
.waitlist__form input::placeholder { color: var(--ink-quiet); }
.waitlist__form button {
  background: var(--ink); color: var(--cream);
  border: 0; border-radius: 999px;
  padding: 14px 22px;
  font-family: var(--font-sans); font-weight: 600; font-size: 14px;
  cursor: pointer; white-space: nowrap;
  transition: background 180ms, transform 120ms cubic-bezier(.2,.8,.2,1);
}
.waitlist__form button:hover { background: #3A2519; }
.waitlist__form button:active { transform: scale(0.985); }
.waitlist__micro {
  margin-top: 22px;
  display: flex; gap: 24px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px; flex-wrap: wrap; justify-content: center;
  position: relative;
}
.waitlist__micro .check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 999px;
  background: rgba(255,255,255,0.22); color: #fff;
  margin-right: 8px;
  vertical-align: middle;
}
.waitlist__bullets {
  margin: 44px auto 0;
  max-width: 520px;
  display: grid; gap: 14px;
  text-align: left;
  padding: 0;
  list-style: none;
  position: relative;
}
.waitlist__bullets li {
  display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start;
  color: rgba(255, 255, 255, 0.95);
  font-size: 15px; line-height: 1.5;
}
.waitlist__bullets .bullet {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 999px;
  background: rgba(255,255,255,0.25);
  color: #fff;
  flex: none; margin-top: 2px;
}
.waitlist__bullets .bullet svg { width: 14px; height: 14px; }
.waitlist__legal {
  margin-top: 28px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  position: relative;
}
.waitlist__legal a { color: #fff; text-decoration: underline; }
.waitlist__success {
  margin: 36px auto 0;
  max-width: 540px;
  padding: 36px 32px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.32);
  text-align: left;
  backdrop-filter: blur(8px);
  position: relative;
}
.waitlist__success h3 { color: #fff; font-size: 26px; margin: 0 0 8px; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; }
.waitlist .eyebrow { color: #fff; opacity: 0.7; }
.waitlist h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.032em;
  color: #fff;
  margin: 0;
}
.waitlist__sub {
  margin: 22px auto 0;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
}
.waitlist__form {
  margin: 36px auto 0;
  display: flex; align-items: center; gap: 6px;
  background: var(--paper);
  border-radius: 999px;
  padding: 6px 6px 6px 24px;
  box-shadow: 0 20px 50px -20px rgba(38, 23, 18, 0.35);
  max-width: 540px;
}
.waitlist__form input {
  flex: 1; border: 0; outline: 0; background: transparent;
  font-family: var(--font-sans); font-size: 16px; color: var(--ink);
  padding: 12px 8px; min-width: 0;
}
.waitlist__form input::placeholder { color: var(--ink-quiet); }
.waitlist__form button {
  background: var(--ink); color: var(--cream);
  border: 0; border-radius: 999px;
  padding: 14px 22px;
  font-family: var(--font-sans); font-weight: 600; font-size: 14px;
  cursor: pointer; white-space: nowrap;
  transition: background 180ms, transform 120ms cubic-bezier(.2,.8,.2,1);
}
.waitlist__form button:hover { background: #3A2519; }
.waitlist__form button:active { transform: scale(0.985); }
.waitlist__micro {
  margin-top: 22px;
  display: flex; gap: 24px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px; flex-wrap: wrap; justify-content: center;
}
.waitlist__micro .check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 999px;
  background: rgba(255,255,255,0.22); color: #fff;
  margin-right: 8px;
  vertical-align: middle;
}
.waitlist__bullets {
  margin: 48px auto 0;
  max-width: 540px;
  display: grid; gap: 14px;
  text-align: left;
  padding: 0;
  list-style: none;
}
.waitlist__bullets li {
  display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px; line-height: 1.5;
}
.waitlist__bullets .bullet {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 999px;
  background: rgba(255,255,255,0.22);
  color: #fff;
  flex: none; margin-top: 2px;
}
.waitlist__bullets .bullet svg { width: 14px; height: 14px; }
.waitlist__legal {
  margin-top: 32px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}
.waitlist__legal a { color: #fff; text-decoration: underline; }
.waitlist__success {
  margin: 36px auto 0;
  max-width: 540px;
  padding: 36px 32px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  text-align: left;
  backdrop-filter: blur(8px);
}
.waitlist__success h3 { color: #fff; font-size: 26px; margin: 0 0 8px; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; }

/* ====== FAQ ====== */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--rule-strong); }
.faq__item:first-child { border-top: 1px solid var(--rule-strong); }
.faq__item summary {
  list-style: none; cursor: pointer;
  padding: 28px 0;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  font-family: var(--font-display); font-weight: 600;
  font-size: 22px; line-height: 1.3; letter-spacing: -0.015em;
  color: var(--ink);
  transition: color 180ms;
}
.faq__item summary:hover { color: var(--persimmon); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon {
  width: 30px; height: 30px;
  border-radius: 999px;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  flex: none;
  transition: transform 280ms cubic-bezier(.2,.8,.2,1);
  margin-top: 2px;
  color: var(--ink);
}
.faq__icon svg { width: 16px; height: 16px; }
.faq__item[open] .faq__icon { transform: rotate(45deg); color: var(--persimmon); }
.faq__answer {
  padding: 0 56px 28px 0;
  color: var(--ink-soft);
  font-size: 16px; line-height: 1.6;
  max-width: 720px;
}

/* ====== Footer — warm cream-deep with persimmon top accent ====== */
.footer {
  background: var(--cream-deep);
  color: var(--ink);
  padding: 88px 0 32px;
  border-top: 4px solid var(--persimmon);
}
.footer__lockup {
  display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rule);
}
.footer__lockup .wm { height: 32px; width: auto; display: block; }
.footer__tagline {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(28px, 3.4vw, 42px); line-height: 1.0; letter-spacing: -0.028em;
  color: var(--ink);
}
.footer__tagline em { font-style: italic; color: var(--persimmon); font-weight: 800; }
.footer__row {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
  padding: 36px 0;
}
.footer__nav, .footer__social {
  display: flex; align-items: center;
  flex-wrap: wrap;
  gap: 28px;
}
.footer__nav a, .footer__social a {
  color: var(--ink); text-decoration: none;
  font-size: 14px; font-weight: 500;
  transition: color 180ms;
}
.footer__nav a:hover, .footer__social a:hover { color: var(--persimmon); }
.footer__social a { color: var(--ink-soft); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 8px; padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: 12px; color: var(--ink-quiet);
  flex-wrap: wrap; gap: 12px;
}
.footer__legal a { color: var(--ink-quiet); text-decoration: none; transition: color 180ms; }
.footer__legal a:hover { color: var(--persimmon); }
.footer__legal span { margin: 0 8px; opacity: 0.4; }

/* ====== Photo placeholder (warm gradient block) ====== */
.photo {
  background:
    radial-gradient(70% 90% at 30% 20%, rgba(227, 83, 54, 0.18), transparent 60%),
    radial-gradient(60% 70% at 80% 80%, rgba(74, 171, 232, 0.10), transparent 60%),
    linear-gradient(145deg, #F2EDE0 0%, #D9CCAC 100%);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}
.photo::after {
  content: "FOTO";
  position: absolute; bottom: 14px; left: 16px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(38, 23, 18, 0.45);
}


/* ============================================================
   REVEAL ON SCROLL — fade + slide up
   Apply data-reveal to any element to opt in. 0.3s ease.
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms cubic-bezier(.2,.8,.2,1), transform 600ms cubic-bezier(.2,.8,.2,1);
  will-change: opacity, transform;
}
[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   COOKIE BANNER — bottom-left, cream card with persimmon CTA
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 24px; bottom: 24px;
  right: 24px;
  max-width: 420px;
  background: var(--paper);
  border-radius: 24px;
  padding: 22px 24px 20px;
  box-shadow:
    0 4px 8px rgba(38,23,18,0.06),
    0 24px 60px -20px rgba(38,23,18,0.30);
  z-index: 100;
  transform: translateY(140%);
  opacity: 0;
  transition: transform 360ms cubic-bezier(.2,.8,.2,1), opacity 320ms;
  border: 1px solid var(--rule);
}
.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner h4 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.cookie-banner p {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.cookie-banner p a {
  color: var(--persimmon);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}
.cookie-banner__row {
  display: flex; gap: 8px;
  flex-wrap: wrap;
}
.cookie-banner__btn {
  flex: 1;
  min-width: 0;
  padding: 11px 16px;
  border-radius: 999px;
  border: 0;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 180ms, color 180ms, transform 120ms cubic-bezier(.2,.8,.2,1);
}
.cookie-banner__btn:active { transform: scale(0.985); }
.cookie-banner__btn--accept {
  background: var(--persimmon);
  color: #fff;
}
.cookie-banner__btn--accept:hover { background: var(--persimmon-deep); }
.cookie-banner__btn--reject {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--rule-strong);
}
.cookie-banner__btn--reject:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
@media (max-width: 520px) {
  .cookie-banner { left: 16px; right: 16px; bottom: 16px; padding: 20px; }
}

/* ============================================================
   LEGAL PAGE — used by aviso-legal / privacidad / cookies
   Single column of clean tipography, no marketing widgets.
   ============================================================ */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 96px var(--gutter) 120px;
}
.legal__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--persimmon);
  margin-bottom: 16px;
}
.legal h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.028em;
  color: var(--ink);
  margin: 0 0 12px;
}
.legal__meta {
  color: var(--ink-quiet);
  font-size: 13px;
  margin-bottom: 56px;
}
.legal h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 48px 0 14px;
  text-wrap: balance;
}
.legal h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.3;
  color: var(--ink);
  margin: 32px 0 10px;
}
.legal p, .legal li {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 14px;
}
.legal li { margin-bottom: 8px; }
.legal ul, .legal ol { padding-left: 22px; margin: 0 0 18px; }
.legal a {
  color: var(--persimmon);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.legal a:hover { color: var(--persimmon-deep); }
.legal table {
  width: 100%; border-collapse: collapse;
  margin: 14px 0 24px;
  font-size: 14px;
}
.legal th, .legal td {
  text-align: left; padding: 12px 14px;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.legal th {
  background: var(--cream-deep);
  font-weight: 600; color: var(--ink);
  font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase;
}
.legal__back {
  display: inline-flex; align-items: center; gap: 6px;
  margin-bottom: 32px;
  color: var(--ink-quiet);
  font-size: 13px; font-weight: 500;
  text-decoration: none;
}
.legal__back:hover { color: var(--persimmon); }

/* ============================================================
   waitlist form — error state
   ============================================================ */
.waitlist__form.is-error { box-shadow: 0 0 0 2px rgba(255,255,255,0.4), 0 20px 50px -20px rgba(38, 23, 18, 0.35); }


/* ============================================================
   Waitlist form — responsive layout
   Desktop: email + button on one row inside the pill, no overlap.
   Mobile:  email field on top, full-width button below.
   ============================================================ */
.waitlist__form input { flex: 1 1 auto; min-width: 120px; }
.waitlist__form button {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  flex: none;
}
@media (max-width: 560px) {
  .waitlist__form {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    background: transparent;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
    max-width: 420px;
  }
  .waitlist__form input {
    width: 100%;
    min-width: 0;
    background: var(--paper);
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: 0 20px 50px -20px rgba(38, 23, 18, 0.35);
  }
  .waitlist__form button {
    width: 100%;
    padding: 16px 22px;
    font-size: 15px;
  }
  .waitlist__form.is-error { box-shadow: none; }
  .waitlist__form.is-error input { box-shadow: 0 0 0 2px rgba(255,255,255,0.65), 0 20px 50px -20px rgba(38, 23, 18, 0.35); }
}

/* ============================================================
   Waitlist reassurance row — brand dot separators, no checkmarks.
   (Checkmarks now live only on the benefits list below, so the
   two groups read as distinct.)
   ============================================================ */
.waitlist__micro {
  gap: 0 16px;
  row-gap: 4px;
}
.waitlist__micro > span {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.waitlist__micro > span::before { content: none; }
.waitlist__micro > span + span::before {
  content: "·";
  margin-right: 16px;
  opacity: 0.55;
}

/* ============================================================
   Waitlist — clearer hierarchy + tighter responsive layout
   The three benefits become a translucent panel so the section
   reads as: headline → form (action) → reassurance → benefits.
   ============================================================ */
.waitlist__micro {
  margin-top: 18px;
  color: rgba(255,255,255,0.72);
  font-size: 13px;
}
.waitlist__bullets {
  margin: 36px auto 0;
  max-width: 480px;
  gap: 15px;
  padding: 24px 26px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 20px;
}
.waitlist__bullets li { color: #fff; }
.waitlist__bullets .bullet { background: rgba(255,255,255,0.26); }
.waitlist__legal { margin-top: 24px; }

/* Tablet — pull in the generous desktop padding */
@media (max-width: 700px) {
  .waitlist__card { padding: 56px 36px; border-radius: 30px; }
}

/* Phone — compact padding, smaller headline, tighter rhythm */
@media (max-width: 560px) {
  .waitlist { padding: 56px 0; }
  .waitlist__card { padding: 40px 22px; border-radius: 26px; }
  .waitlist h2 { font-size: clamp(30px, 8vw, 42px); letter-spacing: -0.022em; }
  .waitlist__sub { margin-top: 14px; font-size: 16px; }
  .waitlist__form { margin-top: 24px; }
  .waitlist__micro { margin-top: 16px; }
  .waitlist__bullets { margin-top: 28px; padding: 20px 20px; gap: 13px; }
  .waitlist__bullets li { grid-template-columns: 22px 1fr; gap: 11px; font-size: 14.5px; }
  .waitlist__bullets .bullet { width: 22px; height: 22px; }
  .waitlist__legal { margin-top: 20px; }
  .waitlist__card::after { width: 180px; height: 180px; right: -50px; bottom: -50px; }
}

/* ============================================================
   Waitlist form — submit states (loading / success / error)
   ============================================================ */
.waitlist__form button:disabled {
  opacity: 0.6;
  cursor: progress;
}
.waitlist__form input:disabled { opacity: 0.7; }

.waitlist__status {
  margin: 20px auto 0;
  max-width: 460px;
  display: flex; align-items: center; justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 14px 22px;
  border-radius: 16px;
  font-size: 15px; font-weight: 600; line-height: 1.4;
  position: relative;
  animation: waitlistStatusIn 280ms cubic-bezier(.2,.8,.2,1) both;
}
.waitlist__status--ok {
  background: #ECF3DD;
  color: #3E5018;
  border: 1px solid rgba(62,80,24,0.18);
}
.waitlist__status--ok .waitlist__status-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 999px; flex: none;
  background: var(--sage); color: #fff;
}
.waitlist__status--err {
  background: #FBE7E1;
  color: #B5341C;
  border: 1px solid rgba(181,52,28,0.22);
}
@keyframes waitlistStatusIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* nav cta sits inside the long string */
.nav__cta { white-space: nowrap; }
@media (max-width: 600px) { .nav__cta { font-size: 13px; padding: 11px 16px; } }
@media (max-width: 430px) { .nav__cta { font-size: 12px; padding: 10px 13px; } }

/* ============================================================
   Copy update — Sección El Problema: accent + underline animado
   ============================================================ */

/* "comer bien" en persimmon */
.h2-accent {
  color: var(--persimmon);
}

/* "otra historia" — subrayado que se dibuja L→R al entrar en viewport */
.underline-draw {
  position: relative;
  display: inline;
}
.underline-draw::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 3px;
  background: var(--persimmon);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.6s ease-out;
}
/* Dispara cuando el script de scroll añade head-in al section */
.section--problem.head-in .underline-draw::after {
  transform: scaleX(1);
  transition-delay: 0.55s;
}
@media (prefers-reduced-motion: reduce) {
  .underline-draw::after { transition: none; transform: scaleX(1); }
}

/* ============================================================
   Jerarquía visual: problema-prose
   ============================================================ */

/* Subtítulo lead — más pequeño, peso medio, sin negrita */
.problem-prose__lead {
  font-family: var(--font-sans) !important;
  font-weight: 500 !important;
  font-size: clamp(17px, 1.6vw, 22px) !important;
  line-height: 1.5 !important;
  letter-spacing: -0.01em !important;
  color: var(--ink-soft) !important;
}

/* Párrafo final — aún más pequeño, gris suave */
.problem-prose p:not(.problem-prose__lead) {
  font-size: clamp(14px, 1.1vw, 16px) !important;
  color: var(--ink-quiet) !important;
}

/* ============================================================
   Prueba social sin testimoniales — quita margen inferior stats
   ============================================================ */
.proof__stats:last-child {
  margin-bottom: 0;
}

/* ============================================================
   Cómo funciona — bento asimétrico con mini mockups
   ============================================================ */
.howbento {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 860px) {
  .howbento { grid-template-columns: 1fr; grid-template-rows: auto; }
}
.howbento .step {
  padding: 32px;
  gap: 0;
  overflow: hidden;
  justify-content: space-between;
}
.howstep--big { grid-row: span 2; }
@media (max-width: 860px) { .howstep--big { grid-row: auto; } }

.howstep--profile { background: var(--persimmon-whisper); }
.howstep--save    { background: var(--sage-soft); }
.howstep--trust   { background: var(--sky-soft); }

.howstep__body { max-width: 420px; }
.howstep__viz  { margin-top: 26px; position: relative; }
@media (max-width: 860px) { .howstep__viz { margin-top: 22px; } }

/* Profile mockup (card 1 — grande) */
.howprofile {
  background: #fff; border-radius: 18px;
  padding: 18px 18px 20px;
  box-shadow: 0 10px 30px -16px rgba(38,23,18,0.28);
  max-width: 380px;
}
.howprofile__top { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.howprofile__av {
  width: 44px; height: 44px; border-radius: 999px; flex: none;
  background: var(--persimmon); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}
.howprofile__id { display: flex; flex-direction: column; }
.howprofile__name { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--ink); letter-spacing: -0.01em; }
.howprofile__meta { font-size: 12px; color: var(--ink-quiet); }
.howprofile__label {
  display: block; font-size: 11px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-quiet); margin: 16px 0 8px;
}
.howchips { display: flex; flex-wrap: wrap; gap: 6px; }
.howchip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 11px; border-radius: 999px;
  font-size: 12px; font-weight: 600; color: var(--ink-soft);
  background: rgba(38,23,18,0.05);
}
.howchip--on { background: var(--persimmon); color: #fff; }
.howchip--on svg { stroke: #fff; }
.howchip--tag { background: var(--persimmon-whisper); color: var(--persimmon-deep); }

/* Save mockup (card 2) */
.howsave { display: flex; flex-direction: column; gap: 10px; max-width: 320px; }
.howresto {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 14px; padding: 10px 12px;
  box-shadow: 0 8px 20px -12px rgba(38,23,18,0.22);
}
.howresto__img { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.howresto__meta { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.howresto__place { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--ink); letter-spacing: -0.01em; }
.howresto__city { font-size: 11px; color: var(--ink-quiet); }
.howresto__save {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: rgba(38,23,18,0.05); color: var(--ink-quiet);
}
.howresto__save.is-on { background: var(--sage); color: #fff; }
.howresto__save.is-on svg { fill: #fff; stroke: #fff; }

/* Trust mockup (card 3) */
.howtrust {
  background: #fff; border-radius: 14px; padding: 14px 16px;
  box-shadow: 0 8px 20px -12px rgba(38,23,18,0.22);
  max-width: 260px; display: flex; flex-direction: column; gap: 9px;
}
.howtrust__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2px; }
.howtrust__title { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--ink); }
.howtrust__count {
  min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px;
  background: var(--sky); color: #fff; font-size: 12px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.howtrust__row { display: flex; align-items: center; gap: 10px; }
.howtrust__check {
  width: 20px; height: 20px; border-radius: 999px; flex: none;
  background: var(--sage); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.howtrust__check svg { stroke: #fff; }
.howtrust__name { font-size: 13px; font-weight: 500; color: var(--ink-soft); }

/* ============================================================
   Funciones — assets con animación en loop
   ============================================================ */

/* "Listas por ciudad" — feed en vivo, scroll continuo sin saltos */
.citylist {
  width: 100%; max-width: 300px; height: 168px;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 18px; padding: 6px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 82%, transparent 100%);
}
.citylist__track { display: flex; flex-direction: column; will-change: transform; }
.cityrow {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 12px; margin-bottom: 2px; border-radius: 11px;
}
.cityrow__name { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 13px; font-weight: 600; }
.cityrow__pin { opacity: 0.8; display: inline-flex; }
.cityrow__count { color: #fff; font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; opacity: 0.82; }

/* "Sigue a quien tiene buen gusto" — highlight rotativo */
.tastecard {
  background: #fff; border-radius: 14px; padding: 10px 14px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 8px 20px -10px rgba(38,23,18,0.18);
}
.tastecard__av {
  width: 32px; height: 32px; border-radius: 999px; flex: none;
  color: #fff; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.tastecard__meta { display: flex; flex-direction: column; flex: 1; }
.tastecard__name { font-size: 13px; font-weight: 600; color: var(--ink); }
.tastecard__overlap { font-size: 11px; color: var(--ink-quiet); }

/* "Guarda y organiza" — las listas parpadean una a una (.listtile inline delay) */

@media (prefers-reduced-motion: no-preference) {
  .citylist__track { animation: cityScroll 14s linear infinite; }
  .tastecard       { animation: tasteGlow 4.5s ease-in-out infinite; }
  .listtile        { animation: listBlink 3.2s ease-in-out infinite; }
}
@keyframes cityScroll {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}
@keyframes tasteGlow {
  0%, 32%, 100% { box-shadow: 0 8px 20px -10px rgba(38,23,18,0.18); }
  10%, 22%      { box-shadow: 0 0 0 2px rgba(227,83,54,0.5), 0 14px 30px -12px rgba(227,83,54,0.4); }
}
@keyframes listBlink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.5; }
}
