:root {
  --cream: #fffde7;
  --coral: #f8bbd0;
  --peach: #ffe0b2;
  --earth: #4e342e;
  --brown: #8d6e63;
  --green: #81c784;
  --white: #ffffff;
  --shadow: rgba(78, 52, 46, 0.08);
  --radius: 16px;
  --max: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--earth);
  background: var(--cream);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--earth);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brown);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 231, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(248, 187, 208, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.logo-link img {
  height: 56px;
  width: auto;
}

@media (min-width: 769px) {
  .logo-link img {
    height: 62px;
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.nav a:hover {
  text-decoration: underline;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--coral), var(--peach));
  color: var(--earth);
  box-shadow: 0 4px 14px var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--shadow);
  color: var(--earth);
}

.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--coral);
  color: var(--earth);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}

/* Hero */
.hero {
  padding: 3rem 0 4rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: var(--white);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brown);
  border: 1px solid rgba(248, 187, 208, 0.5);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--brown);
  margin: 0 0 1.75rem;
  max-width: 42ch;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card {
  background: var(--white);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 20px 50px var(--shadow);
  border: 1px solid rgba(248, 187, 208, 0.25);
  text-align: center;
  max-width: 320px;
}

.dolly-button-face {
  width: 168px;
  height: 168px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(248, 187, 208, 0.45);
  box-shadow:
    0 14px 32px rgba(78, 52, 46, 0.16),
    0 4px 10px rgba(78, 52, 46, 0.08),
    inset 0 3px 5px rgba(255, 255, 255, 0.95),
    inset 0 -5px 10px rgba(141, 110, 99, 0.1);
}

.dolly-button-face img {
  width: 68%;
  height: 68%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(78, 52, 46, 0.12));
}

.hero-card p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--brown);
}

.hero-buy-cta {
  width: 100%;
}

.dolly-button-face--lg {
  width: 180px;
  height: 180px;
}

.dolly-button-face--xl {
  width: 200px;
  height: 200px;
  margin: 0;
  flex-shrink: 0;
}

.blob {
  position: absolute;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, var(--coral) 0%, transparent 70%);
  opacity: 0.35;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

/* Sections */
section {
  padding: 4rem 0;
}

section:nth-of-type(even) {
  background: rgba(255, 255, 255, 0.45);
}

.section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.75rem;
}

.section-head p {
  margin: 0;
  color: var(--brown);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.cards--four {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 920px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(248, 187, 208, 0.35);
  box-shadow: 0 12px 32px var(--shadow);
}

.pricing-card--owner {
  border-color: rgba(248, 187, 208, 0.55);
}

.pricing-card--caregiver {
  border-color: rgba(129, 199, 132, 0.45);
}

.pricing-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--brown);
  margin-bottom: 0.75rem;
}

.pricing-price {
  margin: 0 0 0.5rem;
}

.pricing-amount {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--earth);
}

.pricing-amount--free {
  color: var(--green);
}

.pricing-then {
  display: block;
  font-size: 0.9rem;
  color: var(--brown);
  margin-top: 0.25rem;
}

.pricing-after {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  color: var(--brown);
}

.pricing-list {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.9rem;
  color: var(--brown);
}

.pricing-list li + li {
  margin-top: 0.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(248, 187, 208, 0.3);
  box-shadow: 0 8px 24px var(--shadow);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--coral), var(--peach));
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--brown);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.steps--four .step {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(248, 187, 208, 0.3);
  box-shadow: 0 8px 24px var(--shadow);
}

.step--buy {
  border-color: rgba(248, 187, 208, 0.55);
}

.step-link {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.step-link:hover {
  text-decoration: underline;
}

.step {
  text-align: center;
  padding: 1.25rem;
}

.step-num {
  width: 40px;
  height: 40px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--coral);
  color: var(--earth);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--brown);
}

/* Video grid placeholder */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.video-placeholder {
  aspect-ratio: 16 / 9;
  background: linear-gradient(145deg, rgba(248, 187, 208, 0.35), rgba(255, 224, 178, 0.5));
  border-radius: var(--radius);
  border: 2px dashed rgba(141, 110, 99, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--brown);
  font-size: 0.9rem;
  text-align: center;
  padding: 1rem;
}

.video-placeholder span:first-child {
  font-size: 2rem;
  opacity: 0.7;
}

/* Buy */
.buy-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--white);
  border-radius: 24px;
  padding: 2.5rem;
  border: 1px solid rgba(248, 187, 208, 0.4);
  box-shadow: 0 16px 40px var(--shadow);
  max-width: 880px;
  margin: 0 auto;
}

.buy-product {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.buy-title {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.buy-desc {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: var(--brown);
  max-width: 28ch;
}

.buy-subscription {
  margin: 0;
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  color: var(--earth);
  background: linear-gradient(135deg, rgba(248, 187, 208, 0.25), rgba(255, 224, 178, 0.35));
  border-radius: 12px;
  border: 1px solid rgba(248, 187, 208, 0.45);
  max-width: 32ch;
}

.buy-actions {
  text-align: left;
}

.waitlist-promo {
  margin-bottom: 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(248, 187, 208, 0.35), rgba(255, 224, 178, 0.45));
  border: 1px solid rgba(248, 187, 208, 0.55);
}

.waitlist-promo-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--earth);
  margin-bottom: 0.35rem;
}

.waitlist-promo p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--earth);
  line-height: 1.45;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.waitlist-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--earth);
}

.waitlist-field em {
  font-style: normal;
  font-weight: 500;
  color: var(--brown);
}

.waitlist-field input {
  font: inherit;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  border: 1.5px solid rgba(248, 187, 208, 0.55);
  background: var(--cream);
  color: var(--earth);
}

.waitlist-field input:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(248, 187, 208, 0.25);
}

.waitlist-submit {
  width: 100%;
  margin-top: 0.25rem;
}

.waitlist-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.waitlist-fine-print {
  margin: 0.5rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--brown);
}

.waitlist-message {
  padding: 1rem 1.1rem;
  border-radius: 12px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.waitlist-message--success {
  background: rgba(129, 199, 132, 0.2);
  border: 1px solid rgba(129, 199, 132, 0.45);
  color: var(--earth);
}

.waitlist-message--error {
  background: rgba(229, 115, 115, 0.15);
  border: 1px solid rgba(229, 115, 115, 0.4);
  color: var(--earth);
}

/* Download */
.download-box {
  background: var(--white);
  border-radius: 24px;
  padding: 2.5rem;
  text-align: center;
  border: 1px solid rgba(248, 187, 208, 0.4);
  box-shadow: 0 16px 40px var(--shadow);
  max-width: 520px;
  margin: 0 auto;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1.25rem;
  background: var(--earth);
  color: var(--cream);
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.store-badge.disabled {
  background: #bdbdbd;
  cursor: not-allowed;
  pointer-events: none;
}

.store-badge:not(.disabled):hover {
  color: var(--cream);
  opacity: 0.92;
}

/* Legal pages (Términos / Privacidad) */
.legal-page {
  padding: 3rem 0 4rem;
}

.legal-page .legal-updated {
  color: var(--brown);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}

.legal-page h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 0.5rem;
}

.legal-page .legal-body {
  max-width: 42rem;
}

.legal-page .legal-body h2 {
  font-size: 1.15rem;
  margin: 2.25rem 0 0.75rem;
}

.legal-page .legal-body h2:first-of-type {
  margin-top: 0;
}

.legal-page .legal-body p {
  margin: 0 0 0.9rem;
}

.legal-page .legal-body ul {
  margin: 0 0 0.9rem;
  padding-left: 1.25rem;
}

.legal-page .legal-body li {
  margin-bottom: 0.4rem;
}

.legal-page .legal-body strong {
  color: var(--earth);
}

.legal-page .legal-notice {
  background: var(--peach);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
}

.legal-page .legal-notice p {
  margin: 0;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(248, 187, 208, 0.35);
  text-align: center;
  font-size: 0.88rem;
  color: var(--brown);
}

.site-footer p {
  margin: 0.35rem 0;
}

.site-footer a {
  font-weight: 600;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--cream);
    padding: 1rem;
    border-bottom: 1px solid rgba(248, 187, 208, 0.35);
  }

  .nav.is-open {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .buy-box {
    grid-template-columns: 1fr;
    padding: 1.75rem;
  }

  .buy-actions {
    border-top: 1px solid rgba(248, 187, 208, 0.35);
    padding-top: 1.5rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }
}
