/* Acquisition homepage. Shared brand tokens and the existing logo remain in site.css. */
.funnel-page {
  background: #f8fafb;
}
.funnel-page .site-header {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border);
}
.funnel-page .wrap,
.funnel-page .hdr-in {
  max-width: 1160px;
}
.sd-icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
[dir="rtl"] .forward,
[dir="rtl"] .backward {
  transform: scaleX(-1);
}
.funnel-page button,
.funnel-page a {
  -webkit-tap-highlight-color: transparent;
}
.funnel-page :is(button, a, input, select, summary):focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
}
.funnel-page .btn {
  min-height: 54px;
  font-size: 1rem;
  gap: 12px;
}
.funnel-page .btn svg {
  width: 21px;
  height: 21px;
}
.funnel-page .brand-tile {
  width: 38px;
  height: 38px;
}
.funnel-page .hdr-login {
  min-height: 44px;
  display: none;
  align-items: center;
}
.funnel-page .nav-desktop a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
/* One shell for welcome, questions, contact and result. */
.acquisition {
  padding-block: 20px 24px;
}
.funnel-stage {
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
}
.funnel-welcome {
  padding: 28px 24px;
  text-align: center;
}
.funnel-welcome h1 {
  font-size: clamp(1.9rem, 6vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin: 0 auto 24px;
  max-width: 400px;
}
.pillar-line {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal-text);
  margin: 0 0 12px;
}
.funnel-lede {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 28px;
}
.start-btn {
  width: 100%;
  justify-content: space-between;
}
.time-note {
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--muted);
  margin: 14px auto 0;
  max-width: 360px;
}
.assessment {
  border: 1px solid #d9e3e6;
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 12px 36px -26px rgba(22, 45, 77, 0.28);
  scroll-margin-top: 0;
}
.assessment-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  min-height: 62px;
  background: #f7f9fa;
}
.quiz-back {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  background: none;
  border: 0;
  color: var(--muted);
  font: inherit;
  font-size: 0.8rem;
  min-height: 44px;
  padding: 0 6px;
  cursor: pointer;
}
.quiz-back .sd-icon {
  width: 16px;
  height: 16px;
}
.quiz-back:disabled {
  visibility: hidden;
}
.step-label {
  font-size: 0.75rem;
  font-weight: 500;
  margin: 0;
  color: var(--muted);
}
.quiz-progress {
  height: 3px;
  background: var(--surface);
}
.quiz-progress span {
  display: block;
  background: var(--teal);
  height: 100%;
  width: 0;
  transition: width 0.2s ease;
}
.quiz-content {
  padding: 24px 20px;
}
.quiz-heading {
  font-size: 1.48rem;
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.025em;
  margin: 0 0 8px;
  color: var(--navy);
  outline: none;
}
.quiz-heading:focus {
  outline: none;
}
.quiz-hint {
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 22px;
}
.quiz-options {
  display: grid;
  gap: 10px;
}
.quiz-option {
  display: flex;
  align-items: center;
  text-align: start;
  gap: 14px;
  width: 100%;
  min-height: 65px;
  background: #fff;
  border: 1px solid #a5b2c1;
  border-radius: 12px;
  padding: 14px 16px;
  font: inherit;
  color: var(--navy);
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.quiz-option > .sd-icon:first-child {
  color: var(--teal-text);
  width: 23px;
  height: 23px;
}
.option-text {
  display: grid;
  gap: 2px;
  font-size: 0.94rem;
  font-weight: 600;
  flex: 1;
}
.option-text small {
  font-size: 0.74rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.45;
}
.quiz-option:hover {
  border-color: var(--teal);
  background: #f6fbfb;
}
.quiz-option[aria-pressed="true"] {
  border-color: var(--teal);
  background: var(--teal-tint);
  box-shadow: inset 0 0 0 1px var(--teal);
}
.choice-check {
  opacity: 0;
  width: 18px;
  height: 18px;
  color: var(--teal-text);
}
[aria-pressed="true"] > .choice-check {
  opacity: 1;
}
.food-choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  border: 1px solid #a5b2c1;
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 0.92rem;
  cursor: pointer;
}
.food-choice input {
  position: absolute;
  opacity: 0;
  width: 24px;
  height: 24px;
  inset-inline-start: 15px;
}
.food-choice:has(input:focus-visible) {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}
.food-choice:has(input:checked) {
  border-color: var(--teal);
  background: var(--teal-tint);
  box-shadow: inset 0 0 0 1px var(--teal);
}
.food-box {
  pointer-events: none;
  width: 22px;
  height: 22px;
  border: 1px solid var(--input);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.food-box .sd-icon {
  width: 16px;
  height: 16px;
  opacity: 0;
}
.food-choice input:checked + .food-box {
  color: #fff;
  background: var(--teal-text);
  border-color: var(--teal-text);
}
.food-choice input:checked + .food-box .sd-icon {
  opacity: 1;
}
.quiz-actions {
  margin-top: 22px;
}
.quiet-button {
  font: inherit;
  font-size: 0.85rem;
  color: var(--muted);
  background: none;
  border: 0;
  display: block;
  min-height: 44px;
  margin: 6px auto 0;
  padding: 8px 16px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.quiz-field {
  margin-bottom: 18px;
  min-width: 0;
}
.quiz-field > label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 7px;
}
.quiz-field .input {
  min-height: 54px;
  font-size: 1rem;
  background: #fff;
}
.quiz-field input:not([type="checkbox"]) {
  width: 100%;
  min-width: 0;
}
.measurements-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-block: 8px 10px;
}
.unit-input {
  position: relative;
}
.unit-input input {
  font: inherit;
  font-size: 1.3rem;
  font-weight: 500;
  text-align: center;
  direction: ltr;
  height: 74px;
  background: #fff;
  border: 1px solid var(--input);
  border-radius: 10px;
  padding: 12px 44px 12px 8px;
}
.unit-input > span {
  position: absolute;
  right: 14px;
  top: 25px;
  font-size: 0.85rem;
  color: var(--muted);
  pointer-events: none;
}
.quiz-field [aria-invalid="true"] {
  border-color: var(--error);
}
.quiz-error {
  color: var(--error);
  font-size: 0.78rem;
  margin: 6px 0 0;
  line-height: 1.5;
}
.quiz-footnote {
  font-size: 0.75rem;
  line-height: 1.65;
  color: var(--muted);
  margin: 12px 0 0;
}
.contact-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--teal-text);
  margin: 0 0 10px;
}
.quiz-phone {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 8px;
  direction: ltr;
}
.quiz-phone select {
  padding-inline: 8px;
  font-size: 1rem !important;
  width: 100%;
}
.quiz-consent {
  font-size: 0.74rem;
  line-height: 1.65;
  color: var(--muted);
  margin: 6px 0 18px;
}
.quiz-consent a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--teal-text);
}
.submit-error {
  border-inline-start: 3px solid var(--error);
  padding-inline-start: 12px;
  margin-top: 16px;
  font-size: 0.84rem;
  color: var(--error);
}
.submit-error p {
  margin: 0;
}
[data-submit]:disabled {
  opacity: 0.65;
  cursor: wait;
}
.quiz-preparing {
  text-align: center;
  padding: 48px 0;
}
.quiz-preparing h2 {
  font-size: 1.4rem;
  margin: 16px 0 8px;
}
.quiz-preparing p {
  font-size: 0.9rem;
  color: var(--muted);
}
.saved-icon {
  width: 40px;
  height: 40px;
  padding: 9px;
  background: var(--teal-tint);
  border-radius: 50%;
  color: var(--teal-text);
}
.result-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.result-top .contact-eyebrow {
  padding-inline-end: 42px;
  min-height: 22px;
}
.result-top .quiz-heading {
  margin-top: 12px;
}
.result-top > div {
  flex: 1;
}
/* The original three-quarter crop faces right. Mirror only the crop in English. */
.slim-mascot {
  position: relative;
  display: block;
  flex-shrink: 0;
  width: 58px;
  height: 76px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
}
.slim-acknowledgement {
  display: block;
  height: 100%;
  transform-origin: 50% 85%;
}
.slim-pose {
  position: relative;
  display: block;
  width: 46px;
  height: 76px;
  margin-inline: auto;
  overflow: hidden;
  transform: scaleX(-1);
}
[dir="rtl"] .slim-pose {
  transform: none;
}
.slim-pose img {
  position: absolute;
  left: 0;
  top: 0;
  max-width: none;
  width: 192px;
  height: 96px;
  transform: translate(-53px, -12px);
}
.slim-ready {
  position: absolute;
  inset-inline-end: 0;
  bottom: 0;
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--teal-text);
  color: #fff;
}
.slim-ready .sd-icon {
  width: 12px;
  height: 12px;
}
.slim-mascot.is-complete .slim-acknowledgement {
  animation: slim-confirmed 500ms ease-out;
}
@keyframes slim-confirmed {
  0%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-4px) rotate(-3deg);
  }
  70% {
    transform: translateY(0) rotate(2deg);
  }
}
.recommendations {
  padding: 0;
  margin: 0 0 20px;
  list-style: none;
  display: grid;
  gap: 12px;
}
.recommendations li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.recommendations .sd-icon {
  color: var(--teal-text);
  width: 20px;
  height: 20px;
  margin-top: 3px;
}
.recommendations h3 {
  font-size: 0.88rem;
  margin: 0 0 2px;
  font-weight: 600;
}
.recommendations p {
  font-size: 0.77rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}
.result-whatsapp {
  background: #126b60;
  border-color: #126b60;
}
.result-whatsapp:hover {
  background: #0b544b;
  border-color: #0b544b;
}
.result-app {
  display: flex;
  min-height: 48px;
  justify-content: center;
  align-items: center;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 0.86rem;
  color: var(--navy);
  margin-top: 8px;
}
[data-result] > .quiz-footnote {
  text-align: center;
  margin-top: 0;
}
.no-script {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}
.funnel-footer {
  border-top: 1px solid var(--border);
  padding-block: 28px 20px;
  background: #f8fafa;
}
.footer-main {
  display: grid;
  gap: 8px;
}
.footer-main nav {
  display: flex;
  gap: 4px 20px;
  flex-wrap: wrap;
}
.footer-main nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.76rem;
  color: var(--muted);
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  border-top: 1px solid var(--border);
  margin-top: 20px;
  padding-top: 18px;
}
.footer-contact p {
  font-size: 0.71rem;
  color: var(--muted);
  margin: 0;
}
.footer-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--navy);
  margin-inline-start: 6px;
}
.footer-contact p:last-child {
  width: 100%;
  margin-top: 8px;
}

.age-field {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 6px 16px;
  align-items: center;
}
.age-field > label {
  grid-column: 1/-1;
  margin: 0;
}
.age-field input {
  text-align: center;
  direction: ltr;
}
.age-field .quiz-footnote {
  margin: 0;
}
.age-field .quiz-error {
  grid-column: 1/-1;
}
.result-top .quiz-heading {
  margin: 0 0 8px;
  padding-inline-end: 0;
}
.recommendations {
  gap: 10px;
  margin-bottom: 20px;
}
.recommendations p {
  font-size: 0.86rem;
  color: var(--navy);
}
.result-preview {
  border-top: 1px solid var(--border);
  margin-top: 8px;
}
.result-preview summary {
  min-height: 52px;
  cursor: pointer;
  padding-block: 14px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--teal-text);
}
.result-preview figure {
  margin: 0 0 16px;
}
.preview-zoom {
  display: block;
  cursor: zoom-in;
}
.result-preview img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.result-preview figcaption {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 10px;
}
[data-result] > .quiz-footnote {
  margin-top: 8px;
}
[dir="rtl"] .funnel-welcome h1,
[dir="rtl"] .quiz-heading {
  letter-spacing: normal;
  line-height: 1.4;
}
@media (min-width: 600px) {
  .acquisition {
    padding-block: 40px 56px;
  }
  .quiz-content {
    padding: 28px;
  }
  .funnel-welcome {
    padding: 32px;
  }
  .footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
}
@media (min-width: 900px) {
  .funnel-page .hdr-login {
    display: inline-flex;
  }
  .acquisition {
    padding-block: 32px;
    min-height: min(640px, calc(100svh - 240px));
    display: flex;
    align-items: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .funnel-page *,
  .funnel-page *::before {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

/* A native country picker retains full country names; its closed view shows the code. */
.dial-code {
  position: relative;
}
.dial-code > span {
  position: absolute;
  inset: 0 28px 0 10px;
  display: flex;
  align-items: center;
  pointer-events: none;
  font-size: 1rem;
  color: var(--navy);
}
.dial-code select {
  color: transparent;
}
.dial-code select option {
  color: var(--navy);
  background: #fff;
}
.dial-code::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 23px;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--navy);
  border-bottom: 1.5px solid var(--navy);
  transform: rotate(45deg);
  pointer-events: none;
}
.result-follow,
.result-optional {
  font-size: 0.78rem;
  line-height: 1.5;
  margin: 0 0 8px;
  color: var(--muted);
}
.result-optional {
  margin-bottom: 8px;
  font-size: 0.74rem;
}
.footer-contacts {
  display: grid;
  margin-block: 0;
}
.footer-contacts a {
  min-height: 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
}
.footer-contacts a:last-child {
  color: var(--muted);
  font-size: 0.72rem;
}
.init-fallback {
  padding: 0 24px 24px;
  text-align: center;
}
.init-fallback p {
  font-size: 0.85rem;
}
[data-start]:disabled {
  opacity: 0.6;
  cursor: wait;
}
@media (forced-colors: active) {
  .dial-code select {
    color: CanvasText;
  }
  .dial-code > span,
  .dial-code::after {
    display: none;
  }
}
