/**
 * Checkout 2026, Step 1 only. Join page 51256.
 * Presentation layer. Does not restyle Step 2.
 * Remove this file and its enqueue to drop the prototype.
 */

body.page-id-51256 .mm-checkout-step1 {
  --ys-ink: #0c2832;
  --ys-ink-soft: #243e48;
  --ys-teal: #005970;
  --ys-paper: #f4f1ea;
  --ys-field: #fbfaf6;
  --ys-line: rgba(12, 40, 50, 0.2);
  --ys-display: "miller-display", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --ys-sans: "avenir-next-lt-pro", "Avenir Next", "Segoe UI", sans-serif;
  background: var(--ys-paper);
  color: var(--ys-ink);
  font-family: var(--ys-sans);
}

body.page-id-51256:not(.logged-in) .mm-checkout-step1 {
  display: block;
}

body.page-id-51256 .mm-checkout-step1 h1.x-text-content-text-primary {
  margin: 0;
  color: var(--ys-ink);
  font-family: var(--ys-display);
  font-size: clamp(2.15rem, 4vw, 3.15rem);
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 1.12;
  text-align: left;
}

body.page-id-51256 .mm-checkout-step1 h1.x-text-content-text-primary::before {
  content: "Step 1 of 2";
  display: block;
  margin-bottom: 0.7rem;
  color: var(--ys-ink-soft);
  font-family: var(--ys-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

body.page-id-51256 .mm-checkout-step1 .ys-co-intro {
  margin-top: 0.85rem;
  margin-bottom: 1.35rem;
  color: var(--ys-ink-soft);
  font-family: var(--ys-sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.55;
  text-align: left;
}

body.page-id-51256 .mm-checkout-step1 .ys-co-plan {
  margin: 0 0 1.75rem;
  padding: 0 0 1.15rem;
  border-bottom: 1px solid rgba(12, 40, 50, 0.16);
}

body.page-id-51256 .mm-checkout-step1 .ys-co-plan p {
  margin: 0;
}

body.page-id-51256 .mm-checkout-step1 .ys-co-plan__name {
  color: var(--ys-ink);
  font-family: var(--ys-display);
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  font-weight: 300;
  line-height: 1.25;
}

body.page-id-51256 .mm-checkout-step1 .ys-co-plan__billing {
  margin-top: 0.4rem;
  color: var(--ys-ink-soft);
  font-size: 1rem;
  line-height: 1.45;
}

body.page-id-51256 .mm-checkout-step1 .ys-co-plan__today {
  margin-top: 0.2rem;
  color: var(--ys-ink);
  font-size: 0.95rem;
  line-height: 1.45;
}

body.page-id-51256 .mm-checkout-step1 .join-field-container {
  grid-gap: 1.15rem 1rem;
}

body.page-id-51256 .mm-checkout-step1 .ys-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
  margin: 0;
}

body.page-id-51256 .mm-checkout-step1 .ys-field__label {
  color: var(--ys-ink);
  font-family: var(--ys-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

body.page-id-51256 .mm-checkout-step1 .ys-field__optional {
  margin-left: 0.35rem;
  color: var(--ys-ink-soft);
  font-weight: 400;
}

body.page-id-51256 .mm-checkout-step1 .join-field-container input.input-text {
  box-sizing: border-box;
  width: 100%;
  min-height: 3.15rem;
  margin: 0;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--ys-line);
  border-radius: 3px;
  background: var(--ys-field);
  box-shadow: none;
  color: var(--ys-ink);
  font-family: var(--ys-sans);
  font-size: 1rem;
  line-height: 1.4;
}

body.page-id-51256 .mm-checkout-step1 .join-field-container input.input-text::placeholder {
  color: rgba(36, 62, 72, 0.55);
}

body.page-id-51256 .mm-checkout-step1 .join-field-container input.input-text.password,
body.page-id-51256 .mm-checkout-step1 .join-field-container input.input-text.password-confirm {
  padding-right: 2.75rem;
}

body.page-id-51256 .mm-checkout-step1 .x-text.yoga-join input.input-text:focus {
  border-color: var(--ys-ink);
  outline: 2px solid var(--ys-ink);
  outline-offset: 2px;
}

body.page-id-51256 .mm-checkout-step1 .password-container br {
  display: none;
}

body.page-id-51256 .mm-checkout-step1 .toggle-password,
body.page-id-51256 .mm-checkout-step1 .toggle-password-confirm {
  color: var(--ys-teal);
}

body.page-id-51256 .mm-checkout-step1 .password-error {
  grid-column: 1 / -1;
  border: 1px solid rgba(242, 114, 101, 0.45);
  border-radius: 3px;
  background: transparent;
  color: #9c3d34;
  font-family: var(--ys-sans);
  font-size: 0.875rem;
  text-align: left;
}

body.page-id-51256 .mm-checkout-step1 .join-field-container .password-container.error input.input-text {
  border-color: #c45a50;
}

body.page-id-51256 .mm-checkout-step1 .submit-container {
  margin-top: 1.5rem;
}

body.page-id-51256 .mm-checkout-step1 button.submit-step1 {
  min-height: 3rem;
  padding: 0.7rem 1.35rem;
  border: 0;
  border-radius: 3px;
  background: var(--ys-teal);
  color: var(--ys-field);
  font-family: var(--ys-sans);
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.4;
  opacity: 1;
  transition: background-color 180ms ease;
}

body.page-id-51256 .mm-checkout-step1 button.submit-step1:hover {
  background: #00485c;
  opacity: 1;
}

body.page-id-51256 .mm-checkout-step1 button.submit-step1.disabled {
  background: rgba(12, 40, 50, 0.28);
  color: var(--ys-field);
  opacity: 1;
}

@media (max-width: 767px) {
  body.page-id-51256 .mm-checkout-step1 .left-join-image {
    max-width: 11.5rem;
    margin-right: auto;
    margin-left: auto;
  }

  body.page-id-51256 .mm-checkout-step1 .submit-container > p:last-child,
  body.page-id-51256 .mm-checkout-step1 button.submit-step1 {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-id-51256 .mm-checkout-step1 button.submit-step1 {
    transition: none;
  }
}
