:root {
  --wmh-navy-deep: #060c1c;
  --wmh-white: #fff;
  --wmh-gray-bg: #f1f2f5;
  --wmh-gray-100: #e9eaee;
  --wmh-gray-300: #d7d9df;
  --wmh-gray-500: #6b7280;
  --wmh-text: #1c1f27;
  --wmh-radius-sm: 8px;
  --wmh-radius-md: 12px;
  --wmh-radius-lg: 18px;
  --wmh-radius-full: 9999px;
  --wmh-shadow: none;
  --wmh-shadow-sm: none;
  --wmh-font: "Lato", system-ui, -apple-system, "Segoe UI", Roboto,
  "Helvetica Neue", Arial, sans-serif;
  --wmh-ease-out: cubic-bezier(0, 0, 0.2, 1);
}

.wmh-hero {
  position: relative;
  background: transparent; /* WEB-341: background removed so it floats on the page hero */
  font-family: var(--wmh-font);
  color: var(--wmh-text);
  padding: 2rem 0; /* WEB-341: same breathing room as the homepage hero animation */
}

.wmh-hero__inner {
  max-width: 80rem;
  margin-inline: auto;
}

.wmh-stage {
  --wmh-cols: minmax(0, 1fr) minmax(0, 1fr);
  display: grid;
  grid-template-columns: var(--wmh-cols);
  transition: grid-template-columns 700ms var(--wmh-ease-out),
  max-width 700ms var(--wmh-ease-out);
  max-width: var(--wmh-stage-max, 50.5rem);
  margin-inline: auto;
  gap: 1.25rem;
  contain: layout paint;
}

.wmh-panel {
  position: relative;
  min-width: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  clip-path: inset(0 round 1.25rem);
}

.wmh-panel--product,
.wmh-panel--photo {
  height: 34rem;
}

@media (max-width: 67.1875rem) {
  .wmh-panel--product,
  .wmh-panel--photo {
    height: 22rem;
  }
}

.wmh-mock {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  clip-path: inherit;
  display: flex;
  flex-direction: column;
  background: var(--wmh-white);
  transform: translateX(100%);
  pointer-events: none;
  z-index: 1;
}

.wmh-mock.is-active {
  transform: translateX(0);
  pointer-events: auto;
  z-index: 2;
}

.wmh-mock--flat {
  background: transparent;
}

.wmh-flat-reveal {
  display: block;
  width: 100%;
  height: 100%;
}

.wmh-mock--flat img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wmh-panel--bare {
  background: transparent;
  border-radius: 0;
  clip-path: inset(0 round 0);
}

.wmh-reveal {
  opacity: 0;
  transform: translateY(10px);
}

.wmh-mock.is-active .wmh-reveal {
  animation: wmh-reveal-up var(--wmh-reveal-dur, 350ms) var(--wmh-ease-out) forwards;
  animation-delay: calc(
  var(--wmh-reveal-base, 300ms) + (var(--wmh-d, 0) * var(--wmh-reveal-step, 300ms))
  );
}

@keyframes wmh-reveal-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wmh-mock--mayachat {
  background: transparent;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.wmh-mc__phone {
  box-sizing: border-box;
  position: relative;
  height: 100%;
  width: auto;
  max-width: 100%;
  aspect-ratio: 260 / 540;
  margin: 0 auto;
  background: #fff;
  border: 0.4375rem solid #111827;
  border-radius: 3rem;
  box-shadow: none; /* WEB-341: bottom drop shadow removed */
  overflow: hidden;
}

.wmh-mc__phone * {
  box-sizing: border-box;
}

.wmh-mc__notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 42%;
  height: 1.375rem;
  background: #111827;
  border-radius: 0 0 1rem 1rem;
  z-index: 3;
}

.wmh-mc__loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.3rem;
  padding: 2rem;
  background: #fff;
  opacity: 1;
}

.wmh-mock.is-active .wmh-mc__loading {
  animation: wmh-mc-loading-out 120ms ease-in forwards;
  animation-delay: var(--wmh-fd, 0ms);
}

@keyframes wmh-mc-loading-out {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.wmh-mc__loading-logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.5rem;
}

.wmh-mc__loading-logo img {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
}

.wmh-mc__loading-ring {
  position: absolute;
  inset: -0.4rem;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--wmh-mc-accent, #00c4c9);
  animation: wmh-mc-spin 900ms linear infinite;
}

@keyframes wmh-mc-spin {
  to {
    transform: rotate(360deg);
  }
}

.wmh-mc__loading h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 900;
  color: #111827;
}

.wmh-mc__loading p {
  margin: 0;
  font-size: 0.6875rem;
  color: #6b7280;
  line-height: 1.6;
  max-width: 13rem;
}

.wmh-mc__chat {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.wmh-mc__header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem 0.75rem 0.6rem;
  background: #fff;
  border-bottom: 1px solid #f3f4f6;
}

.wmh-mc__header-logo {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.wmh-mc__header span {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.wmh-mc__header strong {
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  color: #111827;
}

.wmh-mc__header small {
  font-size: 0.5625rem;
  font-weight: 600;
  color: var(--wmh-mc-accent, #00c4c9);
}

.wmh-mc__scroll {
  flex: 1;
  overflow: hidden;
  padding: 0.75rem;
}

.wmh-mc__messages {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.wmh-mc__row {
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(8px);
  max-width: 86%;
}

.wmh-mock.is-active .wmh-mc__row {
  animation: wmh-mc-reveal 320ms var(--wmh-ease-out) forwards;
  animation-delay: var(--wmh-fd, 0ms);
}

@keyframes wmh-mc-reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wmh-mc__row--maya {
  align-self: flex-start;
  align-items: flex-start;
}

.wmh-mc__row--user {
  align-self: flex-end;
  align-items: flex-end;
}

.wmh-mc__bubble {
  display: inline-block;
  font-size: 0.625rem;
  line-height: 1.4;
  padding: 0.45rem 0.6rem;
  border-radius: 0.8rem;
}

.wmh-mc__bubble--maya {
  background: #f3f4f6;
  color: #1f2937;
  border-bottom-left-radius: 0.2rem;
}

.wmh-mc__bubble--user {
  background: var(--wmh-mc-accent, #00c4c9);
  color: #fff;
  border-bottom-right-radius: 0.2rem;
}

.wmh-mc__card {
  width: 100%;
  margin-top: 0.3rem;
  padding: 0.55rem 0.6rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.6rem;
  background: #fff;
}

.wmh-mc__card-head {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.wmh-mc__card-emoji {
  font-size: 0.85rem;
  line-height: 1;
}

.wmh-mc__card-title {
  margin: 0;
  font-size: 0.65rem;
  font-weight: 700;
  color: #111827;
}

.wmh-mc__card-meta {
  margin: 0.3rem 0 0;
  font-size: 0.58rem;
  color: #6b7280;
}

.wmh-mc__card-link {
  font-weight: 600;
  color: var(--wmh-mc-accent, #00c4c9);
}

.wmh-mc__manager {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.wmh-mc__manager span {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.wmh-mc__manager strong {
  font-size: 0.65rem;
  color: #111827;
}

.wmh-mc__manager small {
  font-size: 0.56rem;
  color: #6b7280;
}

.wmh-mc__avatar-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--wmh-mc-accent, #00c4c9);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  flex-shrink: 0;
}

.wmh-mc__progress {
  display: block;
  width: 100%;
  height: 0.3rem;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
  margin: 0.4rem 0 0.5rem;
}

.wmh-mc__progress-fill {
  display: block;
  height: 100%;
  width: 60%;
  border-radius: inherit;
  background: var(--wmh-mc-accent, #00c4c9);
}

.wmh-mc__checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.wmh-mc__checklist li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.6rem;
  color: #9ca3af;
}

.wmh-mc__checklist li.is-done {
  color: #1f2937;
}

.wmh-mc__checklist li svg {
  width: 0.75rem;
  height: 0.75rem;
  color: #22c55e;
  flex-shrink: 0;
}

.wmh-mc__checklist-dot {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  border: 1.5px solid #d1d5db;
  flex-shrink: 0;
}

.wmh-mc__inputbar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem 0.75rem;
  border-top: 1px solid #f3f4f6;
}

.wmh-mc__input {
  flex: 1;
  font-size: 0.625rem;
  color: #9ca3af;
  padding: 0.4rem 0.6rem;
  border-radius: 1rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}

.wmh-mc__send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.625rem;
  height: 1.625rem;
  border-radius: 50%;
  background: var(--wmh-mc-accent, #00c4c9);
  flex-shrink: 0;
}

.wmh-mc__send svg {
  width: 0.75rem;
  height: 0.75rem;
}

@media (prefers-reduced-motion: reduce) {
  .wmh-mc__loading {
    animation: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }

  .wmh-mc__row {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .wmh-mc__loading-ring {
    animation: none !important;
  }
}

.wmh-photo {
  position: absolute;
  inset: 0;
  transform: translateX(100%);
  z-index: 1;
}

.wmh-photo.is-active {
  transform: translateX(0);
  z-index: 2;
}

.wmh-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wmh-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;
}

@media (prefers-reduced-motion: reduce) {
  .wmh-mock,
  .wmh-photo {
    transition-duration: 1ms !important;
    transform: none !important;
  }

  .wmh-reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .wmh-mock.is-active .wmh-reveal {
    animation: none !important;
  }
}
