/* Registration, order summary and thank-you page. Uses the tokens from index-D4LOb6-3.css. */

.register-title {
  margin-bottom: 20px;
  font-size: clamp(2.6rem, 4.2vw, 4.5rem);
}

.register-lead {
  max-width: 520px;
  margin: 0;
  font-size: 1.1rem;
}

/* Order summary */
.order-summary {
  background: var(--white);
  border: 1px solid var(--ink);
  margin-top: 36px;
  padding: 26px 28px 10px;
}

.order-summary h2 {
  letter-spacing: 0;
  margin: 0 0 14px;
  font-size: 1.25rem;
  line-height: 1.25;
}

.order-summary dl {
  margin: 0;
}

.order-summary dl div {
  border-top: 1px solid var(--line);
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  display: flex;
}

.order-summary dt {
  color: var(--muted);
}

.order-summary dd {
  text-align: right;
  margin: 0;
  font-weight: 600;
}

.order-summary .order-total {
  border-top: 1px solid var(--ink);
}

.order-summary .order-total dt,
.order-summary .order-total dd {
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 700;
}

.trust-list {
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  font-size: .95rem;
  list-style: none;
  display: grid;
}

.trust-list li {
  padding-left: 28px;
  position: relative;
}

.trust-list li:before {
  content: "✓";
  font-weight: 700;
  position: absolute;
  left: 0;
}

/* Form messages */
.form-alert {
  border: 1px solid var(--ink);
  border-left-width: 4px;
  background: var(--gold-soft);
  margin: 32px 0 0;
  padding: 14px 16px;
  font-size: .95rem;
}

.form-alert[hidden],
.demo-note[hidden] {
  display: none;
}

.field-grid input:user-invalid,
.field-grid textarea:user-invalid {
  border-bottom-width: 2px;
}

.pay-note {
  color: var(--muted);
  margin: 16px 0 0;
  font-size: .85rem;
}

.button[disabled] {
  opacity: .6;
  cursor: wait;
}

/* Reserve section on masterclass.html */
.reserve-card {
  min-height: 0;
}

.reserve-card .order-summary {
  border: 0;
  margin: 0;
  padding: 0;
}

.reserve-card .button {
  margin-top: 16px;
}

/* Thank-you page */
.thank-you {
  max-width: 900px;
}

.demo-note {
  background: var(--gold-soft);
  border: 1px dashed var(--ink);
  width: fit-content;
  margin: 0 0 32px;
  padding: 10px 14px;
  font-size: .85rem;
}

.next-steps {
  border-top: 1px solid var(--ink);
  margin: 48px 0 40px;
  padding: 0;
  list-style: none;
}

.next-steps li {
  border-bottom: 1px solid var(--line);
  grid-template-columns: 60px 1fr;
  gap: 16px;
  padding: 26px 0;
  display: grid;
}

.next-steps li > span {
  font-size: .82rem;
  font-weight: 700;
}

.next-steps h2 {
  letter-spacing: 0;
  margin: 0 0 6px;
  font-size: 1.35rem;
  line-height: 1.25;
}

.next-steps p {
  margin: 0 0 10px;
}

@media (width <= 560px) {
  .order-summary {
    padding: 20px 18px 6px;
  }

  .next-steps li {
    grid-template-columns: 40px 1fr;
  }
}
