/* Symbio landing — desktop-first: copy izquierda, app preview derecha */

:root {
  --bg-page: #ece4d6;
  --wall: #c8907a;
  --card: rgba(255, 245, 233, 0.94);
  --card-blur: saturate(1.15) blur(12px);
  --ink: #4e423a;
  --muted: #6e635a;
  --primary: #33a487;
  --primary-deep: #237a63;
  --brand: #5b4636;
  --font: "Quicksand", system-ui, sans-serif;
  --display: "Poetsen One", system-ui, sans-serif;
  --radius-md: 20px;
  --radius-pill: 999px;
  --shadow-card: 0 10px 28px rgba(96, 74, 60, 0.12);
  --shadow-device: 0 28px 70px rgba(35, 24, 18, 0.38), 0 2px 6px rgba(0, 0, 0, 0.12), inset 0 0 0 1.5px rgba(230, 218, 204, 0.25);
  --ease-cam: cubic-bezier(0.55, 0.05, 0.25, 1);
  --header-h: 4rem;
  --device-w: min(300px, calc((100dvh - var(--header-h) - 2.5rem) * 390 / 862));
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background-color: #c8907a;
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100vh;
}

/* ===== ROOM BACKGROUNDS ===== */
.page-atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.room-bg {
  position: absolute;
  inset: 0;
}

.room-bg__stack {
  position: absolute;
  inset: 0;
}

.room-bg__layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 22%;
  background-repeat: no-repeat;
  opacity: 0;
}

.room-bg__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(243, 235, 226, 0.94) 0%,
      rgba(243, 235, 226, 0.82) 42%,
      rgba(243, 235, 226, 0.42) 68%,
      rgba(243, 235, 226, 0.18) 100%
    ),
    linear-gradient(
      180deg,
      rgba(243, 235, 226, 0.55) 0%,
      rgba(243, 235, 226, 0.12) 38%,
      rgba(235, 226, 214, 0.45) 100%
    );
}

body[data-room="features"] .room-bg__scrim,
body[data-room="progress"] .room-bg__scrim,
body[data-room="cta"] .room-bg__scrim {
  background:
    linear-gradient(
      90deg,
      rgba(243, 235, 226, 0.96) 0%,
      rgba(243, 235, 226, 0.88) 44%,
      rgba(243, 235, 226, 0.52) 70%,
      rgba(243, 235, 226, 0.22) 100%
    ),
    linear-gradient(
      180deg,
      rgba(243, 235, 226, 0.65) 0%,
      rgba(243, 235, 226, 0.2) 40%,
      rgba(235, 226, 214, 0.55) 100%
    );
}

.page-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 2.5rem 3rem;
  max-width: 1140px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 4rem;
  align-items: start;
}

img {
  display: block;
  max-width: 100%;
}

.world img,
.creature {
  max-width: none;
}

a {
  color: var(--primary-deep);
  text-decoration: none;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.5rem;
  background: rgba(243, 235, 226, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(91, 70, 54, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: inherit;
  text-decoration: none;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.wordmark {
  font-family: var(--display);
  font-size: 1.3rem;
  color: var(--brand);
  line-height: 1;
}

.header-end {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.lang-toggle {
  display: flex;
  border-radius: var(--radius-pill);
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 4px 12px rgba(96, 74, 60, 0.08);
}

.lang-toggle button {
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.38rem 0.65rem;
  cursor: pointer;
  color: var(--muted);
}

.lang-toggle button.active {
  background: var(--primary);
  color: #fff;
}

/* ===== COPY BLOCKS ===== */
.copy-col {
  min-width: 0;
}

.block {
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(91, 70, 54, 0.08);
}

.block--hero {
  padding-top: 1rem;
  padding-bottom: 3rem;
  min-height: calc(100vh - var(--header-h) - 3rem);
  min-height: calc(100dvh - var(--header-h) - 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: none;
}

.block--tall {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.block--cta {
  border-bottom: none;
  padding-top: 3.5rem;
  padding-bottom: 5rem;
  min-height: 45vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary-deep);
  margin-bottom: 0.5rem;
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 400;
  color: var(--brand);
  line-height: 1.05;
  max-width: 14ch;
}

.hero-lead,
.section-sub {
  margin-top: 0.75rem;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  font-weight: 600;
  color: var(--muted);
  line-height: 1.5;
  max-width: 42ch;
}

.section-title {
  font-family: var(--display);
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  font-weight: 400;
  color: var(--brand);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.care-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.care-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-pill);
  background: var(--card);
  box-shadow: 0 4px 12px rgba(96, 74, 60, 0.08);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
}

.ui-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background-color: currentColor;
  mask: var(--icon) center / contain no-repeat;
  -webkit-mask: var(--icon) center / contain no-repeat;
}

.ui-icon--steps { --icon: url("assets/icons/stat-steps.svg"); color: var(--primary-deep); }
.ui-icon--sleep { --icon: url("assets/icons/stat-sleep.svg"); color: var(--primary-deep); }
.ui-icon--heart { --icon: url("assets/icons/stat-heart.svg"); color: #d46a4a; }
.ui-icon--calories { --icon: url("assets/icons/stat-calories.svg"); color: #d46a4a; }
.ui-icon--agility { --icon: url("assets/icons/axis-agility.svg"); color: #237a63; }
.ui-icon--vitality { --icon: url("assets/icons/axis-vitality.svg"); color: #d46a4a; }
.ui-icon--serenity { --icon: url("assets/icons/axis-serenity.svg"); color: #4d8fb3; }

.stat-pill .ui-icon {
  display: block;
  width: 20px;
  height: 20px;
  margin: 0 auto 0.35rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  border: 0;
  border-radius: var(--radius-pill);
  font: inherit;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s;
}

.btn-sm {
  font-size: 0.78rem;
  padding: 0.5rem 0.9rem;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(51, 164, 135, 0.28);
}

.btn-outline {
  background: var(--card);
  color: var(--brand);
  box-shadow: 0 4px 12px rgba(96, 74, 60, 0.08);
}

.btn.is-disabled {
  opacity: 0.55;
  cursor: default;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.waitlist-form {
  margin-top: 1.35rem;
  max-width: 28rem;
}

.waitlist-form__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: stretch;
}

.waitlist-form__input {
  flex: 1 1 12rem;
  min-width: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--card);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.15rem;
  box-shadow: 0 4px 12px rgba(96, 74, 60, 0.08);
}

.waitlist-form__input::placeholder {
  color: var(--muted);
  font-weight: 600;
}

.waitlist-form__input:focus {
  outline: 2px solid rgba(51, 164, 135, 0.45);
  outline-offset: 2px;
}

.waitlist-form__input:disabled {
  opacity: 0.7;
}

.waitlist-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.waitlist-form__hint {
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.35;
}

.waitlist-form__status {
  margin: 0.45rem 0 0;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
}

.waitlist-form__status.is-ok {
  color: var(--primary);
}

.waitlist-form__status.is-error {
  color: #b54a3c;
}

.waitlist-form.is-loading .btn-primary {
  opacity: 0.75;
  cursor: wait;
}

.waitlist-form.is-done .btn-primary {
  background: var(--primary-deep, #237a63);
  box-shadow: none;
  cursor: default;
}

.waitlist-form--cta {
  margin-top: 1.1rem;
  max-width: 32rem;
}

/* steps */
.steps {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.step-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.15rem 1.2rem;
  background: rgba(255, 245, 233, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  backdrop-filter: var(--card-blur);
}

.step-num {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--primary-deep);
  opacity: 0.5;
  line-height: 1;
}

.step-card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 0.25rem;
}

.step-card p {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.45;
}

.feature-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.card {
  background: rgba(255, 245, 233, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 1.2rem 1.25rem;
  backdrop-filter: var(--card-blur);
}

.card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 0.3rem;
}

.card p,
.card .tag {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.45;
}

.card .tag {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-deep);
  margin-bottom: 0.4rem;
  display: block;
}

/* ===== HERO STANDALONE (FULL WIDTH) ===== */
.hero-section {
  position: relative;
  z-index: 1;
  padding: 4.5rem 1.5rem 3rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-title {
  max-width: 18ch;
}

.hero-lead {
  max-width: 48ch;
}

.hero-content .btn-row {
  justify-content: center;
}

/* ===== BREAK HORIZONTAL DE MÉTRICAS ===== */
.metrics-section {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem 2.5rem;
}

.metrics-container {
  width: 100%;
}

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
}

.metric-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.95rem 1.15rem;
  background: rgba(255, 245, 233, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  backdrop-filter: var(--card-blur);
  transition: transform 0.25s var(--ease-cam), box-shadow 0.25s var(--ease-cam);
}

.metric-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(96, 74, 60, 0.16);
}

.metric-icon-bubble {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  flex-shrink: 0;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6), 0 4px 10px rgba(96, 74, 60, 0.08);
}

.metric-card--steps .metric-icon-bubble { background: rgba(51, 164, 135, 0.15); color: #237a63; }
.metric-card--sleep .metric-icon-bubble { background: rgba(77, 143, 179, 0.15); color: #2d6b8c; }
.metric-card--heart .metric-icon-bubble { background: rgba(212, 106, 74, 0.15); color: #d46a4a; }
.metric-card--cal .metric-icon-bubble   { background: rgba(230, 140, 50, 0.15); color: #c46816; }

.metric-svg-icon {
  width: 24px;
  height: 24px;
  display: block;
}

.metric-card--steps .metric-svg-icon { filter: invert(36%) sepia(55%) saturate(548%) hue-rotate(119deg) brightness(94%) contrast(91%); }
.metric-card--sleep .metric-svg-icon { filter: invert(41%) sepia(35%) saturate(830%) hue-rotate(159deg) brightness(93%) contrast(88%); }
.metric-card--heart .metric-svg-icon { filter: invert(49%) sepia(34%) saturate(1478%) hue-rotate(325deg) brightness(92%) contrast(87%); }
.metric-card--cal .metric-svg-icon   { filter: invert(49%) sepia(87%) saturate(1312%) hue-rotate(354deg) brightness(88%) contrast(92%); }

.ui-icon--sleep { --icon: url("assets/icons/stat-sleep.svg"); color: #2d6b8c; }

.metric-card .ui-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.metric-info {
  display: flex;
  flex-direction: column;
}

.metric-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--brand);
}

.metric-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
}

/* ===== HABITAT SHOWCASE SLIDER (INFINITE AUTO-SCROLL / CAROUSEL) ===== */
.habitat-showcase {
  margin-top: 1.25rem;
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 0.5rem 0 1rem;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.habitat-showcase__track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: habitatAutoScroll 28s linear infinite;
}

.habitat-showcase:hover .habitat-showcase__track {
  animation-play-state: paused;
}

@keyframes habitatAutoScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 0.5rem));
  }
}

.habitat-showcase__item {
  flex-shrink: 0;
  width: 160px;
  border-radius: 16px;
  overflow: hidden;
  background: #1a1410;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.25s var(--ease-cam), border-color 0.25s var(--ease-cam), box-shadow 0.25s var(--ease-cam);
  user-select: none;
}

.habitat-showcase__item:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 14px 28px rgba(40, 28, 20, 0.25);
}

.habitat-showcase__item.is-active {
  border-color: var(--primary);
  transform: scale(1.04);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), 0 0 0 1px var(--primary);
}

.habitat-showcase__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.habitat-showcase__item figcaption {
  padding: 0.55rem 0.65rem;
  font-size: 0.76rem;
  font-weight: 800;
  background: var(--card);
  color: var(--brand);
  text-align: center;
}

@media (max-width: 959px) {
  .hero-section {
    padding: 2.5rem max(1rem, env(safe-area-inset-right)) 1.75rem max(1rem, env(safe-area-inset-left));
    text-align: center;
  }

  .hero-container {
    flex-direction: column;
    align-items: center;
  }

  .hero-content {
    align-items: center;
  }

  .metrics-section {
    padding: 0 max(1rem, env(safe-area-inset-right)) 1.75rem max(1rem, env(safe-area-inset-left));
  }

  .metrics-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }
  .metric-card {
    padding: 0.65rem 0.75rem;
    gap: 0.5rem;
  }
  .metric-card .ui-icon {
    width: 20px;
    height: 20px;
  }
  .metric-title {
    font-size: 0.78rem;
  }
  .metric-sub {
    font-size: 0.6rem;
  }
  .habitat-showcase__item {
    width: 130px;
  }
}

@media (max-width: 520px) {
  .metrics-strip {
    grid-template-columns: 1fr;
  }
}

/* ===== WIDGETS ===== */
.widget-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.25rem;
  width: 100%;
}

.widget-card {
  background: rgba(255, 245, 233, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 1.3rem 1.15rem 1.35rem;
  backdrop-filter: var(--card-blur);
  text-align: center;
  transition: transform 0.25s var(--ease-cam), box-shadow 0.25s var(--ease-cam);
}

.widget-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(40, 28, 20, 0.16);
}

.widget-card--wide {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.4rem 1.25rem 1.45rem;
}

.widget-card figure {
  margin: 0 auto 0.85rem;
  width: 100%;
  line-height: 0;
}

.widget-card figure img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 120px;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
}

.widget-card--wide figure img {
  max-height: 110px;
  width: 100%;
  max-width: 480px;
}

.widget-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 0.3rem;
  line-height: 1.25;
}

.widget-card p {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.4;
}

/* ===== CREATURE PARADE ===== */
.creature-parade {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.creature-card {
  text-align: center;
  padding: 1.15rem 0.85rem 1rem;
  background: rgba(255, 245, 233, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  backdrop-filter: var(--card-blur);
  transition: opacity 0.55s var(--ease-cam), transform 0.55s var(--ease-cam), box-shadow 0.25s var(--ease-cam);
}

.creature-card.reveal:nth-child(1) { transition-delay: 0.05s; }
.creature-card.reveal:nth-child(2) { transition-delay: 0.15s; }
.creature-card.reveal:nth-child(3) { transition-delay: 0.25s; }
.creature-card.reveal:nth-child(4) { transition-delay: 0.35s; }

.creature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(40, 28, 20, 0.16);
}

.creature-card__stage {
  position: relative;
  height: 116px;
  margin-bottom: 0.4rem;
}

.creature-card__egg,
.creature-card__pet {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: auto;
  max-width: none;
  height: 96px;
  object-fit: contain;
}

.creature-card__egg {
  animation: eggIdleFloat 3.5s ease-in-out infinite;
  transition: opacity 0.35s var(--ease-cam), transform 0.35s var(--ease-cam);
}

.creature-card:nth-child(2) .creature-card__egg { animation-delay: -0.9s; }
.creature-card:nth-child(3) .creature-card__egg { animation-delay: -1.8s; }
.creature-card:nth-child(4) .creature-card__egg { animation-delay: -2.7s; }

@keyframes eggIdleFloat {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-4px);
  }
}

.creature-card__pet {
  height: 104px;
  opacity: 0;
  transform: translateX(-50%) translateY(8px) scale(0.92);
  transition: opacity 0.35s var(--ease-cam), transform 0.35s var(--ease-cam);
}

.creature-card:hover .creature-card__egg {
  opacity: 0;
  animation-play-state: paused;
  transform: translateX(-50%) translateY(-6px) scale(0.85);
  transition: opacity 0.35s var(--ease-cam), transform 0.35s var(--ease-cam);
}

.creature-card:hover .creature-card__pet {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}

.creature-card h3 {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--brand);
}

.creature-card p {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--muted);
  margin-top: 0.15rem;
}

/* ===== DAILY CARE ===== */
.care-trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.25rem;
  width: 100%;
}

@media (max-width: 959px) {
  .care-trio {
    max-width: 100%;
  }
}

/* ===== DAILY CARE (STAGE & SCROLL-DRIVEN CAROUSEL) ===== */
.block--care-stage {
  padding-top: 5rem;
  padding-bottom: 6rem;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.care-stage-header {
  margin-bottom: 3.5rem;
  max-width: 500px;
  margin-left: auto;
  text-align: right;
}

@media (max-width: 959px) {
  .care-stage-header {
    margin-left: 0;
    text-align: left;
  }
}

.care-carousel-flow {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
  width: 100%;
  max-width: 380px;
  /* En desktop empujamos el carrusel de tarjetas bien a la derecha */
  margin-left: auto;
  margin-right: 0;
  margin-bottom: 2rem;
}

@media (max-width: 959px) {
  .care-carousel-flow {
    margin-left: 0;
    max-width: 100%;
    gap: 1.5rem;
  }
}

.care-card--stage {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.45rem 1.3rem 1.45rem;
  background: rgba(255, 245, 233, 0.72);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  backdrop-filter: var(--card-blur);
  text-align: left;
  cursor: pointer;
  user-select: none;
  opacity: 0.45;
  transform: translateX(0) scale(0.96);
  transition: transform 0.4s var(--ease-cam), opacity 0.4s var(--ease-cam), border-color 0.4s var(--ease-cam), background 0.4s var(--ease-cam), box-shadow 0.4s var(--ease-cam);
}

.care-card--stage .care-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.care-card--stage .care-card__icon {
  width: 48px;
  height: 48px;
  margin: 0;
}

.care-card__badge {
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--muted);
  background: rgba(40, 28, 20, 0.06);
  padding: 0.22rem 0.55rem;
  border-radius: var(--radius-pill);
}

.care-card__icon-wrap {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ffd768, #f1a80a);
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(241, 196, 15, 0.35);
}

.wheel-spark-icon {
  font-size: 1.5rem;
  color: #493306;
  line-height: 1;
}

.care-card--wheel.is-active {
  border-color: #f1c40f !important;
  box-shadow: 0 18px 42px rgba(241, 196, 15, 0.3), 0 0 0 1.5px #f1c40f !important;
}

.care-card--wheel.is-active .care-card__badge--gold {
  background: linear-gradient(135deg, #ffd768, #f1a80a) !important;
  color: #493306 !important;
}

.care-card--stage.is-active {
  opacity: 1;
  transform: translateX(-8px) scale(1.02);
  background: rgba(255, 252, 248, 0.98);
  border-color: var(--primary);
  box-shadow: 0 18px 42px rgba(51, 164, 135, 0.24), 0 0 0 1.5px var(--primary);
}

.care-card--stage.is-active .care-card__badge {
  color: #fff;
  background: var(--primary);
}

.care-card--stage:hover:not(.is-active) {
  opacity: 0.8;
  transform: translateX(-4px) scale(0.98);
  background: rgba(255, 250, 244, 0.9);
}

.care-card__body {
  display: block;
  width: 100%;
}

.care-card--stage h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand);
  margin: 0.2rem 0 0.25rem;
}

.care-card--stage p {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.45;
}

.care-stage-footer {
  margin-top: 2.5rem;
  text-align: right;
}

@media (max-width: 959px) {
  .care-stage-footer {
    text-align: left;
  }
}

/* ===== MODO CINE PARA MINIJUEGOS (#play) ===== */
body.is-cinema-mode .room-bg__scrim {
  background:
    radial-gradient(
      circle at 35% 50%,
      rgba(15, 10, 8, 0.4) 0%,
      rgba(12, 8, 6, 0.88) 70%,
      rgba(8, 5, 4, 0.96) 100%
    ),
    linear-gradient(
      180deg,
      rgba(15, 10, 8, 0.75) 0%,
      rgba(12, 8, 6, 0.92) 50%,
      rgba(15, 10, 8, 0.8) 100%
    );
  transition: background 0.6s ease;
}

body.is-cinema-mode .site-header {
  background: rgba(18, 12, 10, 0.75);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

body.is-cinema-mode .brand-text {
  color: #fff;
}

body.is-cinema-mode .site-nav a {
  color: rgba(255, 245, 233, 0.75);
}

body.is-cinema-mode .site-nav a:hover {
  color: #fff;
}

body.is-cinema-mode .lang-pill {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

body.is-cinema-mode .lang-btn {
  color: rgba(255, 245, 233, 0.6);
}

body.is-cinema-mode .lang-btn.is-active {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

body.is-cinema-mode .block:not(#play) {
  opacity: 0;
  filter: blur(10px);
  pointer-events: none;
  transform: scale(0.98);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.block {
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

body.is-cinema-mode .care-stage-header .eyebrow {
  color: var(--accent);
}

body.is-cinema-mode .care-stage-header .section-title {
  color: #fff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

body.is-cinema-mode .care-stage-header .section-sub {
  color: rgba(255, 245, 233, 0.75);
}

body.is-cinema-mode .care-card--stage:not(.is-active) {
  opacity: 0.55;
  background: rgba(28, 20, 16, 0.65);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

body.is-cinema-mode .care-card--stage:not(.is-active) h3 {
  color: rgba(255, 245, 233, 0.88);
}

body.is-cinema-mode .care-card--stage:not(.is-active) p {
  color: rgba(255, 245, 233, 0.55);
}

body.is-cinema-mode .care-card--stage:not(.is-active) .care-card__badge {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 245, 233, 0.6);
}

body.is-cinema-mode .care-card--stage.is-active {
  opacity: 1;
  background: rgba(255, 252, 248, 0.98);
  border-color: var(--primary);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 35px rgba(51, 164, 135, 0.35);
}

body.is-cinema-mode .care-card--stage.care-card--wheel.is-active {
  background: rgba(255, 252, 248, 0.98);
  border-color: #f1c40f;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 35px rgba(241, 196, 15, 0.45);
}

body.is-cinema-mode .device-caption {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

body.is-cinema-mode .device-hint {
  color: rgba(255, 245, 233, 0.65);
}

/* Teléfono en modo centrado/izquierda para la sección de juegos en desktop */
@media (min-width: 960px) {
  .device-col {
    transition: opacity 0.5s var(--ease-cam), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .device-col.is-play-centered {
    /* Desplazamiento limpio a la izquierda en tamaño original */
    transform: translateX(var(--play-shift-x, -620px)) translateY(0) scale(1) !important;
    z-index: 60;
  }
}

.care-card h3 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 0.25rem;
}

.care-card p {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.4;
}

.wheel-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  background: rgba(255, 245, 233, 0.92);
  border: 1.5px solid rgba(241, 196, 15, 0.55);
  box-shadow: 0 8px 24px rgba(60, 45, 30, 0.1);
  cursor: pointer;
  transition: all 0.28s var(--ease-cam);
  backdrop-filter: var(--card-blur);
  text-align: left;
  max-width: 380px;
  margin-left: auto;
  margin-right: 0;
}

.wheel-card:hover {
  transform: translateY(-3px) scale(1.01);
  background: rgba(255, 252, 248, 0.98);
  border-color: #f1c40f;
  box-shadow: 0 14px 32px rgba(60, 45, 30, 0.18), 0 0 20px rgba(241, 196, 15, 0.25);
}

.wheel-card__badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ffd768, #f1a80a);
  color: #493306;
  border-radius: 12px;
  padding: 0.45rem 0.6rem;
  min-width: 68px;
  box-shadow: 0 4px 10px rgba(241, 196, 15, 0.3);
}

.wheel-card__icon {
  font-size: 1.15rem;
  line-height: 1;
}

.wheel-card__tag {
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 0.15rem;
}

.wheel-card__content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
}

.wheel-card__text {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand);
  line-height: 1.35;
}

.block.is-active .section-title {
  transform: translateX(0);
  opacity: 1;
}

.block .section-title {
  transition: transform 0.55s var(--ease-cam), opacity 0.55s var(--ease-cam);
}

.block:not(.is-active) .section-title {
  opacity: 0.82;
}

.axis-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.25rem;
  width: 100%;
}

.axis-card {
  display: flex;
  flex-direction: column;
  padding: 1.15rem 1rem;
  background: rgba(255, 245, 233, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  backdrop-filter: var(--card-blur);
  transition: transform 0.25s var(--ease-cam), box-shadow 0.25s var(--ease-cam);
}

.axis-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(96, 74, 60, 0.16);
}

.axis-card__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.axis-icon-bubble {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  flex-shrink: 0;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6), 0 4px 10px rgba(96, 74, 60, 0.08);
}

.axis-card--agility .axis-icon-bubble { background: rgba(51, 164, 135, 0.15); color: #237a63; }
.axis-card--vitality .axis-icon-bubble { background: rgba(212, 106, 74, 0.15); color: #d46a4a; }
.axis-card--serenity .axis-icon-bubble { background: rgba(77, 143, 179, 0.15); color: #2d6b8c; }

.axis-icon-bubble .ui-icon {
  width: 20px;
  height: 20px;
}

.axis-card__title {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--brand);
  line-height: 1.1;
}

.axis-card__habit {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--primary-deep);
  margin-top: 0.1rem;
}

.axis-card--vitality .axis-card__habit { color: #d46a4a; }
.axis-card--serenity .axis-card__habit { color: #2d6b8c; }

.axis-card__desc {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 959px) {
  .axis-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .axis-card {
    padding: 0.95rem 1rem;
  }
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-top: 1.25rem;
  max-width: 360px;
}

.stat-pill {
  text-align: center;
  padding: 0.7rem 0.4rem;
  border-radius: 12px;
  background: var(--card);
  box-shadow: var(--shadow-card);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--brand);
}

.stat-pill em {
  display: block;
  font-style: normal;
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--primary-deep);
  margin-bottom: 0.15rem;
}

.site-footer {
  padding: 2rem 0 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.footer-copy {
  opacity: 0.65;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: var(--brand);
  background: rgba(255, 245, 233, 0.72);
  box-shadow: 0 4px 12px rgba(96, 74, 60, 0.08);
  transition: transform 0.2s, background 0.2s, color 0.2s;
}

.social-link:hover {
  transform: translateY(-1px);
  background: var(--primary);
  color: #fff;
}

.social-link.is-soon {
  opacity: 0.48;
  cursor: default;
  pointer-events: none;
}

.social-link.is-soon:hover {
  transform: none;
  background: rgba(255, 245, 233, 0.72);
  color: var(--brand);
}

/* ===== PAGE GRID LAYOUT ===== */
.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(280px, 32vw, 340px);
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  align-items: start;
}

.copy-col {
  min-width: 0;
}

/* ===== DEVICE COLUMN ===== */
.device-col {
  position: sticky;
  top: calc(var(--header-h) + 1.25rem);
  align-self: start;
  z-index: 50;
  min-width: 0;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  perspective: 1200px;
  transition: opacity 0.5s var(--ease-cam), transform 0.5s var(--ease-cam);
}

.device-col.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.device-caption {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--brand);
  margin-top: 0.85rem;
  letter-spacing: 0.02em;
}

.device-hint {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--muted);
  margin-top: 0.25rem;
  letter-spacing: 0.04em;
}

.device {
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
  padding: 8px;
  border-radius: 36px;
  background: linear-gradient(155deg, #443c37 0%, #2e2825 50%, #1f1b19 100%);
  box-shadow: var(--shadow-device);
  transform-style: preserve-3d;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease;
}

/* Modo Hero / Minijuegos en la sección #play */
.device-col.is-play-section {
  z-index: 60;
}

.device-col.is-play-section .device {
  box-shadow: 0 44px 90px rgba(26, 18, 12, 0.48), 0 0 50px rgba(51, 164, 135, 0.28);
}

/* Glow temático según el minijuego activo */
.device-col.is-play-section.glow-feed .device {
  box-shadow: 0 40px 80px rgba(26, 18, 12, 0.48), 0 0 65px rgba(230, 126, 34, 0.45), 0 0 0 2px rgba(230, 126, 34, 0.6);
}

.device-col.is-play-section.glow-play .device {
  box-shadow: 0 40px 80px rgba(26, 18, 12, 0.48), 0 0 65px rgba(51, 164, 135, 0.48), 0 0 0 2px rgba(51, 164, 135, 0.6);
}

.device-col.is-play-section.glow-sleep .device {
  box-shadow: 0 40px 80px rgba(26, 18, 12, 0.48), 0 0 65px rgba(115, 103, 240, 0.48), 0 0 0 2px rgba(115, 103, 240, 0.6);
}

.device-col.is-play-section.glow-wheel .device {
  box-shadow: 0 40px 80px rgba(26, 18, 12, 0.48), 0 0 65px rgba(241, 196, 15, 0.52), 0 0 0 2px rgba(241, 196, 15, 0.6);
}

.device-screen {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 390 / 844;
  background: #1a1410;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.4);
}

.screen-stack {
  position: absolute;
  inset: 0;
}

.screen-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.screen-shot--video {
  pointer-events: none;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease-cam), transform 0.55s var(--ease-cam);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ===== MOBILE & TABLET (mismo layout que desktop, escalado) ===== */
@media (max-width: 959px) {
  .hero-section {
    padding-top: calc(var(--header-h) + 1.25rem);
    padding-bottom: 1.5rem;
  }

  .metrics-section {
    padding-bottom: 1.5rem;
  }

  .metrics-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .metric-card {
    padding: 0.75rem 0.85rem;
    gap: 0.65rem;
    border-radius: 15px;
  }

  .metric-icon-bubble {
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }

  .metric-card .ui-icon {
    width: 20px;
    height: 20px;
  }

  .metric-title {
    font-size: 0.82rem;
  }

  .metric-sub {
    font-size: 0.64rem;
  }
}

@media (max-width: 959px) {
  .site-header {
    padding: 0.7rem 1rem;
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  .wordmark {
    font-size: 1.15rem;
  }

  .page-grid {
    grid-template-columns: minmax(0, 1fr) clamp(148px, 22vw, 220px);
    gap: 0.75rem 0.65rem;
    max-width: 100%;
    padding: 0.75rem max(1rem, env(safe-area-inset-right)) 2.5rem max(1rem, env(safe-area-inset-left));
    align-items: start;
  }

  .copy-col {
    min-width: 0;
  }

  .device-col {
    position: sticky;
    top: calc(var(--header-h) + 0.35rem + env(safe-area-inset-top, 0px));
    align-self: start;
    padding: 0;
    background: none;
    backdrop-filter: none;
    opacity: 0;
    transform: translateY(16px) scale(0.96);
    transition: opacity 0.5s var(--ease-cam), transform 0.5s var(--ease-cam);
  }

  .device-col.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  .device {
    width: 100%;
    padding: 6px;
    border-radius: 24px;
    box-shadow:
      0 16px 40px rgba(28, 20, 16, 0.28),
      inset 0 0 0 1px #3a3a44;
  }

  .device-screen {
    border-radius: 19px;
  }

  .device-caption {
    margin-top: 0.45rem;
    font-size: clamp(0.58rem, 2.8vw, 0.68rem);
    line-height: 1.2;
  }

  .device-hint {
    display: none;
  }

  .block {
    padding: 1.75rem 0 1.5rem;
    min-height: auto;
  }

  .block--hero {
    padding-top: 0.35rem;
    padding-bottom: 1.75rem;
    min-height: auto;
    justify-content: flex-start;
  }

  .block--tall {
    min-height: auto;
    justify-content: flex-start;
  }

  .block--cta {
    padding-bottom: 0.5rem;
  }

  .hero-title {
    max-width: none;
    font-size: clamp(1.55rem, 6.8vw, 2.15rem);
  }

  .hero-lead,
  .section-sub {
    max-width: none;
    font-size: clamp(0.86rem, 3.6vw, 0.98rem);
  }

  .section-title {
    font-size: clamp(1.25rem, 5.5vw, 1.65rem);
  }

  .eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.16em;
  }

  .care-row {
    gap: 0.35rem;
    margin-top: 1.1rem;
  }

  .care-chip {
    padding: 0.38rem 0.55rem;
    font-size: 0.68rem;
  }

  .ui-icon {
    width: 15px;
    height: 15px;
  }

  .btn-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    margin-top: 1.1rem;
  }

  .btn {
    justify-content: center;
    font-size: 0.84rem;
    padding: 0.68rem 1rem;
  }

  .step-card {
    gap: 0.75rem;
    padding: 0.95rem 1rem;
  }

  .step-card p {
    font-size: 0.82rem;
  }

  .care-trio {
    gap: 0.6rem;
  }

  .care-card {
    padding: 0.85rem 0.65rem;
  }

  .care-card__icon {
    width: 44px;
    height: 44px;
    margin-bottom: 0.35rem;
  }

  .care-card h3 {
    font-size: 0.85rem;
  }

  .care-card p {
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .wheel-card {
    padding: 0.65rem 0.8rem;
    gap: 0.7rem;
  }

  .wheel-card__text {
    font-size: 0.76rem;
  }

  .creature-parade {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .creature-card {
    padding: 0.75rem 0.5rem 0.65rem;
  }

  .creature-card__stage {
    height: 88px;
  }

  .creature-card__egg {
    height: 72px;
  }

  .creature-card__pet {
    height: 80px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .card {
    padding: 0.95rem 1rem;
  }

  .widget-strip {
    max-width: 100%;
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .widget-card {
    padding: 1rem 0.85rem 1.05rem;
  }

  .widget-card--wide {
    padding: 1.05rem 0.85rem 1.1rem;
  }

  .widget-card figure img {
    max-height: 96px;
  }

  .widget-card--wide figure img {
    max-height: 80px;
  }

  .widget-card h3 {
    font-size: 0.95rem;
  }

  .widget-card p {
    font-size: 0.78rem;
  }

  .stat-row {
    max-width: 100%;
    gap: 0.4rem;
  }

  .stat-pill {
    padding: 0.55rem 0.25rem;
    font-size: 0.62rem;
  }

  .stat-pill em {
    font-size: 1rem;
  }

  .stat-pill .ui-icon {
    width: 17px;
    height: 17px;
  }

  .site-header .btn-sm {
    display: none;
  }

  .site-footer {
    background: var(--card);
    margin-top: 0.5rem;
    padding: 0.85rem;
    border-radius: var(--radius-md);
    font-size: 0.78rem;
    gap: 0.75rem;
  }

  .footer-social {
    margin-left: auto;
  }

  .social-link {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.55);
  }

  .header-end {
    gap: 0;
  }

  .room-bg__layer {
    background-position: center 18%;
  }

  .room-bg__scrim {
    background:
      linear-gradient(
        180deg,
        rgba(243, 235, 226, 0.9) 0%,
        rgba(243, 235, 226, 0.72) 28%,
        rgba(243, 235, 226, 0.38) 58%,
        rgba(235, 226, 214, 0.62) 100%
      );
  }

  body[data-room="features"] .room-bg__scrim,
  body[data-room="progress"] .room-bg__scrim,
  body[data-room="cta"] .room-bg__scrim {
    background:
      linear-gradient(
        180deg,
        rgba(243, 235, 226, 0.94) 0%,
        rgba(243, 235, 226, 0.78) 30%,
        rgba(243, 235, 226, 0.48) 60%,
        rgba(235, 226, 214, 0.68) 100%
      );
  }
}

@media (max-width: 520px) {
  .care-trio {
    grid-template-columns: 1fr;
    gap: 0.45rem;
    max-width: 100%;
  }

  .care-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.35rem 0.55rem;
    align-items: start;
    padding: 0.6rem 0.65rem;
    text-align: left;
  }

  .care-card__icon {
    grid-row: span 2;
    width: 40px;
    height: 40px;
    margin: 0;
  }

  .care-card h3 {
    align-self: end;
    margin-bottom: 0;
  }

  .care-card p {
    display: block;
    font-size: 0.64rem;
  }
}

@media (max-width: 400px) {
  .page-grid {
    grid-template-columns: minmax(0, 1fr) clamp(130px, 32vw, 148px);
    gap: 0.5rem 0.45rem;
    padding-left: max(0.65rem, env(safe-area-inset-left));
    padding-right: max(0.65rem, env(safe-area-inset-right));
  }

  .device {
    padding: 4px;
    border-radius: 18px;
  }

  .device-screen {
    border-radius: 15px;
  }

  .hero-title {
    font-size: 1.42rem;
    line-height: 1.08;
  }

  .care-chip {
    padding: 0.34rem 0.5rem;
    font-size: 0.64rem;
  }
}

@media (min-width: 960px) {
  .device-col {
    top: calc(var(--header-h) + 1.25rem);
  }

  .device {
    width: var(--device-w);
    padding: 8px;
    border-radius: 36px;
  }

  .device-screen {
    border-radius: 28px;
  }

  .device-caption {
    margin-top: 0.65rem;
    font-size: 0.68rem;
  }

  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .habitat-showcase__item {
    width: 175px;
  }

  .widget-strip {
    max-width: 420px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}
