:root {
  --purple: #5f2584;
  --purple-2: #7f3eb2;
  --lavender: #f2e7f7;
  --ink: #1e1726;
  --muted: #70647a;
  --paper: #fffaf4;
  --mint: #dff8e7;
  --green: #22c55e;
  --coral: #ff7b54;
  --line: rgba(95, 37, 132, .18);
  --shadow: 0 24px 70px rgba(45, 21, 61, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 123, 84, .16), transparent 26rem),
    radial-gradient(circle at 90% 20%, rgba(34, 197, 94, .13), transparent 24rem),
    var(--paper);
}
a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  background: rgba(255, 250, 244, .82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(95, 37, 132, .1);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--purple);
  font-size: 1.2rem;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  color: white;
  background: var(--purple);
  border-radius: 999px;
  font-size: 1.25rem;
}
.nav {
  display: flex;
  gap: 1.25rem;
  color: var(--muted);
  font-weight: 700;
  font-size: .92rem;
}
.nav a, .footer a { text-decoration: none; }
.nav-cta {
  padding: .75rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  text-decoration: none;
  font-weight: 800;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 5vw, 5rem);
}
.hero-copy { max-width: 720px; }
.hero-kicker, .section-heading span, .channels span:first-child, .contact span, .legal-page > span {
  display: inline-block;
  color: var(--purple);
  font-weight: 800;
  margin-bottom: .8rem;
}
h1, h2, p { margin-top: 0; }
h1 {
  margin-bottom: 1rem;
  font-size: clamp(4rem, 13vw, 10rem);
  line-height: .78;
}
.word-reveal {
  display: block;
  color: var(--purple);
  animation: revealWord 1.1s ease both;
}
.hola-reflection {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-top: .7rem;
  color: rgba(95, 37, 132, .35);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 800;
  line-height: 1.25;
}
.hero p {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.55;
}
.hero-actions, .contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 1.6rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .9rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
}
.button.primary {
  color: white;
  background: var(--purple);
  box-shadow: 0 18px 40px rgba(95, 37, 132, .25);
}
.button.secondary {
  color: var(--purple);
  background: rgba(95, 37, 132, .08);
  border-color: rgba(95, 37, 132, .12);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 620px;
}
.infinity-wrap {
  position: absolute;
  inset: 8% 0 auto;
  height: 220px;
  opacity: .9;
}
.infinity-loop {
  position: absolute;
  top: 40px;
  width: 180px;
  height: 180px;
  border: 12px solid rgba(95, 37, 132, .18);
  border-top-color: var(--coral);
  border-radius: 50%;
  animation: spinLoop 4s linear infinite;
}
.loop-left { left: calc(50% - 175px); transform: rotate(45deg); }
.loop-right { right: calc(50% - 175px); transform: rotate(-45deg); animation-direction: reverse; }
.infinity-dot {
  position: absolute;
  top: 122px;
  left: calc(50% - 7px);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 12px rgba(34, 197, 94, .15);
}

.phone {
  position: relative;
  z-index: 1;
  width: min(360px, 100%);
  border: 10px solid #241a2f;
  border-radius: 42px;
  overflow: hidden;
  background: #efe8dc;
  box-shadow: var(--shadow);
  animation: phonePulse 8s ease-in-out infinite;
}
.phone-top {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem;
  color: white;
  background: #075e54;
}
.phone-top span {
  display: block;
  color: rgba(255,255,255,.76);
  font-size: .78rem;
}
.avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--purple);
  font-weight: 800;
}
.chat-screen {
  min-height: 440px;
  padding: 1rem .75rem;
  background:
    radial-gradient(circle at 15% 20%, rgba(95,37,132,.08) 0 2px, transparent 3px),
    radial-gradient(circle at 80% 70%, rgba(7,94,84,.08) 0 2px, transparent 3px),
    #efe8dc;
  background-size: 38px 38px;
}
.day-pill {
  width: max-content;
  margin: 0 auto 1rem;
  padding: .3rem .7rem;
  border-radius: 999px;
  background: rgba(255,255,255,.75);
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
}
.bubble {
  max-width: 84%;
  margin-bottom: .7rem;
  padding: .75rem .85rem .55rem;
  border-radius: 16px;
  font-size: .92rem;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(10px);
  animation: bubbleIn 8s ease-in-out infinite;
}
.bubble span {
  display: block;
  text-align: right;
  margin-top: .25rem;
  color: rgba(30,23,38,.48);
  font-size: .66rem;
}
.incoming { background: white; border-top-left-radius: 4px; }
.outgoing {
  margin-left: auto;
  background: #dcf8c6;
  border-top-right-radius: 4px;
}
.step-1 { animation-delay: .4s; }
.step-3 { animation-delay: 2.5s; }
.step-4 { animation-delay: 4.6s; }
.step-5 { animation-delay: 6.1s; }
.typing {
  display: flex;
  gap: .25rem;
  width: max-content;
  margin: 0 0 .7rem auto;
  padding: .7rem .85rem;
  border-radius: 16px 16px 4px 16px;
  background: #dcf8c6;
  opacity: 0;
  animation: typingIn 8s ease-in-out infinite;
  animation-delay: 1.55s;
}
.typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(30,23,38,.48);
  animation: dots 1s ease-in-out infinite;
}
.typing i:nth-child(2) { animation-delay: .12s; }
.typing i:nth-child(3) { animation-delay: .24s; }
.message-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: .7rem;
  padding: .65rem .75rem;
  border-radius: 999px;
  background: white;
  color: rgba(30,23,38,.45);
}
.message-bar b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: white;
  background: #128c7e;
}

.section, .channels, .contact {
  margin: 0 clamp(1rem, 5vw, 5rem) clamp(1rem, 3vw, 2.5rem);
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255,255,255,.6);
  box-shadow: 0 10px 40px rgba(45,21,61,.06);
}
.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}
h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.04;
  margin-bottom: .85rem;
}
.feature-grid, .step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.feature-card, .step-grid article {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover, .step-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(45,21,61,.09);
}
.feature-card b, .step-grid b {
  display: block;
  margin-bottom: .6rem;
  color: var(--purple);
  font-size: 1.05rem;
}
.feature-card p, .step-grid p, .contact p { color: var(--muted); line-height: 1.55; }
.channels {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 2rem;
  align-items: center;
  background: var(--purple);
  color: white;
}
.channels span:first-child { color: #f0d7ff; }
.channel-list {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.channel-list span, .pill-row span {
  display: inline-flex;
  padding: .75rem 1rem;
  border-radius: 999px;
  font-weight: 800;
  background: rgba(255,255,255,.14);
}
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.pill-row span {
  background: var(--lavender);
  color: var(--purple);
}
.step-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step-grid small {
  display: inline-flex;
  margin-bottom: 1.5rem;
  color: var(--coral);
  font-weight: 900;
}
.contact {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  background: var(--ink);
  color: white;
}
.contact span { color: #ddc3ef; }
.contact p { color: rgba(255,255,255,.76); }
.contact .button.secondary {
  color: white;
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.14);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 5vw, 5rem);
  color: var(--muted);
}
.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
}

.legal-body { background: var(--paper); }
.legal-page {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 5rem) 1rem;
}
.legal-page h1 {
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 1;
  color: var(--purple);
}
.legal-page h2 {
  margin-top: 2rem;
  font-size: clamp(1.25rem, 3vw, 1.8rem);
}
.legal-page p, .legal-page li {
  color: var(--muted);
  line-height: 1.75;
}
.legal-page a { color: var(--purple); font-weight: 800; }
.legal-footer { justify-content: center; }

@keyframes revealWord {
  from { opacity: 0; transform: translateY(18px); filter: blur(8px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes spinLoop {
  to { transform: rotate(405deg); }
}
@keyframes phonePulse {
  6%, 8%, 10% { transform: translateX(-2px) rotate(-.6deg); }
  7%, 9%, 11% { transform: translateX(2px) rotate(.6deg); }
  12%, 100% { transform: translateX(0) rotate(0); }
}
@keyframes bubbleIn {
  0%, 8% { opacity: 0; transform: translateY(10px); }
  14%, 86% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(0); }
}
@keyframes typingIn {
  0%, 10% { opacity: 0; transform: translateY(8px); }
  18%, 33% { opacity: 1; transform: translateY(0); }
  42%, 100% { opacity: 0; transform: translateY(0); }
}
@keyframes dots {
  50% { transform: translateY(-3px); opacity: .45; }
}

@media (max-width: 980px) {
  .hero, .channels, .contact { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-visual { min-height: 560px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .nav { display: none; }
  .hero { padding-top: 2.25rem; }
  h1 { font-size: clamp(4.2rem, 22vw, 7rem); }
  .feature-grid, .step-grid { grid-template-columns: 1fr; }
  .section, .channels, .contact { border-radius: 20px; }
  .footer { align-items: flex-start; flex-direction: column; }
  .footer nav { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
