/* Shared landing-page extras on top of lp-dr-joe.css */

.mj-hero h1.mj-hero__title--wide {
  max-width: 16ch;
}

.mj-hero h1.mj-hero__title--quiz {
  max-width: 18ch;
}

.mj-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin-top: 2.5rem;
}

.mj-benefit {
  padding: 1.5rem 1.35rem;
  border-radius: 1.5rem;
  border: 1px solid color-mix(in srgb, var(--warm-sand) 55%, transparent);
  background: color-mix(in srgb, var(--ivory) 70%, white);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--charcoal) 4%, transparent);
}

.mj-benefit h3 {
  font-size: 1.2rem;
}

.mj-benefit p {
  margin-top: 0.65rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.mj-results-carousel {
  margin-top: 2.25rem;
}

.mj-portrait__frame--ba {
  background: transparent;
  padding: 0;
}

.mj-portrait__frame--ba .ba-slider {
  border-radius: 2rem;
  aspect-ratio: 4 / 3;
  box-shadow: none;
}

.ba-slider--lp {
  border-radius: 1.75rem;
}

.mj-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  margin-top: 2.5rem;
}

.mj-step {
  padding: 1.5rem 1.25rem;
  border-radius: 1.5rem;
  background: var(--white);
  border: 1px solid color-mix(in srgb, var(--warm-sand) 45%, transparent);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--charcoal) 4%, transparent);
}

.mj-step__num {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: var(--deep-teal);
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: var(--fw-display-strong);
}

.mj-step h3 {
  margin-top: 1rem;
  font-size: 1.15rem;
}

.mj-step p {
  margin-top: 0.55rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.mj-faq {
  display: grid;
  gap: 0.85rem;
  margin-top: 2rem;
  max-width: 48rem;
  margin-inline: auto;
}

.mj-faq details {
  border-radius: 1.25rem;
  border: 1px solid color-mix(in srgb, var(--warm-sand) 55%, transparent);
  background: var(--white);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--charcoal) 4%, transparent);
  overflow: hidden;
}

.mj-faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.35;
}

.mj-faq summary::-webkit-details-marker {
  display: none;
}

.mj-faq summary::after {
  content: "+";
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--bg-sand);
  color: var(--deep-teal);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
}

.mj-faq details[open] summary::after {
  content: "–";
}

.mj-faq details p {
  padding: 0 1.35rem 1.25rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* FMR FAQ — smile-assessment accordion + kept intro copy */
.h2-faq__intro {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.25rem;
}

.h2-faq__intro .eyebrow {
  margin: 0 0 0.85rem;
}

.h2-faq__intro .h2-faq__title {
  margin: 0 auto 1rem;
}

.h2-faq__lede {
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(1.02rem, 1.3vw, 1.12rem);
  line-height: 1.5;
}

.h2-faq__cta {
  display: flex;
  justify-content: center;
  margin-top: 2.25rem;
}

.mj-quiz {
  margin-top: 2rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: 2rem;
  background: var(--white);
  border: 1px solid color-mix(in srgb, var(--warm-sand) 45%, transparent);
  box-shadow: 0 24px 50px color-mix(in srgb, var(--charcoal) 10%, transparent);
}

.mj-quiz--hero {
  margin-top: 0;
  align-self: start;
}

.mj-hero--quiz {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.mj-hero--quiz .mj-hero__curves {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

.mj-hero--quiz .mj-hero__curves img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 40%;
  transform: scaleX(-1);
}

.mj-hero--quiz .mj-hero__grid--quiz {
  position: relative;
  z-index: 1;
}

.mj-hero__grid--quiz {
  align-items: start;
  grid-template-columns: 0.9fr 1.1fr;
}

.mj-quiz__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.mj-quiz__eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--golden-ochre);
  font-size: 0.9rem;
  font-weight: 600;
}

.mj-quiz__hint {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.mj-quiz h2 {
  margin-top: 1rem;
  font-size: clamp(1.65rem, 2.8vw, 2.15rem);
}

.mj-quiz__lede {
  margin-top: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 40rem;
}

.mj-quiz__choices {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.35rem;
}

.mj-quiz__choice {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid color-mix(in srgb, var(--warm-sand) 45%, transparent);
  background: color-mix(in srgb, var(--ivory) 70%, white);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.mj-quiz__choice:hover {
  border-color: color-mix(in srgb, var(--dusty-sage) 45%, transparent);
}

.mj-quiz__choice:has(input:checked) {
  border-color: var(--dusty-sage);
  background: color-mix(in srgb, var(--dusty-sage) 12%, white);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--charcoal) 4%, transparent);
}

.mj-quiz__choice input {
  margin: 0;
  accent-color: var(--deep-teal);
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}

.mj-quiz__choice span {
  color: var(--charcoal);
  line-height: 1.4;
  font-size: 0.95rem;
}

.mj-quiz__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.mj-quiz__fields .full {
  grid-column: 1 / -1;
}

.mj-quiz__fields label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal);
}

.mj-quiz input[type="text"],
.mj-quiz input[type="email"],
.mj-quiz input[type="tel"] {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid color-mix(in srgb, var(--warm-sand) 65%, transparent);
  background: var(--ivory);
  color: var(--charcoal);
  font: inherit;
}

.mj-quiz input:focus {
  outline: 2px solid color-mix(in srgb, var(--deep-teal) 35%, transparent);
  border-color: var(--dusty-sage);
}

.mj-quiz__actions {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.mj-quiz__continue {
  width: 100%;
  justify-content: center;
}

.mj-quiz__note {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.mj-quiz__panel[hidden] {
  display: none;
}

.mj-quiz__result {
  padding: 0;
  border-radius: 0;
  background: transparent;
  margin-top: 0;
}

.mj-quiz__result h3 {
  margin-top: 0.85rem;
  font-size: 1.5rem;
}

.mj-quiz__result p {
  margin-top: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.mj-quiz__tags {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.15rem;
}

.mj-quiz__tag {
  display: block;
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--bg-sand);
  border: 1px solid color-mix(in srgb, var(--warm-sand) 55%, transparent);
  font-size: 0.9rem;
  line-height: 1.35;
  color: var(--charcoal);
  box-sizing: border-box;
}

@media (max-width: 980px) {
  .mj-benefit-grid,
  .mj-steps,
  .mj-quiz__fields,
  .mj-hero__grid--quiz {
    grid-template-columns: 1fr;
  }

  .mj-steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .mj-steps {
    grid-template-columns: 1fr;
  }
}
