.mes-hero {
  width: 100%;
  padding: 56px 0 32px;
  background: var(--cream);
}

.mes-cancelled-section {
  width: 100%;
  padding: 0 0 24px;
  background: var(--cream);
}

.mes-cancelled {
  margin: 0;
  padding: 14px 18px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
  background: var(--paper);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
}

.mes-recap-section {
  width: 100%;
  padding: 40px 0 64px;
  background: var(--sand);
}

.mes-layout {
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.mes-checklist-column {
  min-width: 0;
}

.mes-title {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
}

.mes-intro {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.6;
}

.mes-checklist {
  min-width: 0;
  margin: 0 0 20px;
  padding: 0;
  border: 0;
}

.mes-legend {
  margin: 0 0 12px;
  padding: 0;
  color: var(--terra);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.mes-check {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 0 0 12px;
  padding: 18px 18px;
  cursor: pointer;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.mes-check:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-soft);
}

.mes-check-input {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  cursor: pointer;
  accent-color: var(--plum);
}

.mes-check-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.mes-check-title {
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.mes-check-desc {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.mes-terms-toggle {
  display: inline-flex;
  align-items: center;
  margin: 0 0 12px;
  padding: 10px 0;
  color: var(--plum);
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
  background: transparent;
  border: 0;
}

.mes-terms-toggle-label {
  color: var(--plum);
  font-size: 15px;
  font-weight: 600;
}

.mes-terms-panel {
  margin: 0;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.mes-terms-version {
  margin: 0;
  color: var(--faint);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mes-terms-version-value {
  margin: 2px 0 14px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.mes-terms-text {
  max-height: 360px;
  overflow-y: auto;
  padding-right: 8px;
}

.mes-terms-line {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.mes-terms-error {
  margin: 8px 0 0;
  color: #8C3B2F;
  font-size: 14px;
}

.mes-summary {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.mes-summary-eyebrow {
  margin: 0;
  color: var(--terra);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.mes-summary-title {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.15;
}

.mes-price-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: baseline;
}

.mes-price {
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 44px;
  line-height: 1;
}

.mes-price-note {
  color: var(--faint);
  font-size: 14px;
}

.mes-amount-unavailable {
  margin: 0;
  padding: 12px 14px;
  color: #8C3B2F;
  font-size: 14.5px;
  line-height: 1.5;
  background: #FBEDE8;
  border: 1px solid #F0C9B4;
  border-radius: var(--radius-sm);
}

.mes-included {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mes-included-item {
  padding: 9px 0 9px 26px;
  position: relative;
  color: var(--text);
  font-size: 15px;
  line-height: 1.45;
  border-top: 1px solid var(--line);
}

.mes-included-item::before {
  content: "✓";
  position: absolute;
  left: 2px;
  top: 9px;
  color: var(--sage);
  font-weight: 700;
}

.mes-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mes-label {
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
}

.mes-input {
  width: 100%;
  padding: 13px 15px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--cream);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.mes-input:focus {
  border-color: var(--plum);
  box-shadow: var(--nvs-focus);
}

.mes-address-note {
  margin: 0;
  color: var(--faint);
  font-size: 13.5px;
  line-height: 1.5;
}

.mes-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 18px 24px;
  color: var(--cream);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  background: var(--plum);
  border: 1px solid transparent;
  border-radius: 999px;
  transition: background-color 0.25s ease, opacity 0.25s ease;
}

.mes-submit:hover {
  background: var(--ink);
}

.mes-submit:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.mes-submit-label {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.mes-submit-hint {
  margin: 0;
  color: var(--faint);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.mes-messages {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mes-message-info {
  margin: 0;
  padding: 12px 16px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
  background: var(--sand);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
}

.mes-message-error {
  margin: 0;
  padding: 12px 16px;
  color: #8C3B2F;
  font-size: 15px;
  line-height: 1.5;
  background: #FBEDE8;
  border: 1px solid #F0C9B4;
  border-radius: var(--radius-md);
}

.mes-help {
  text-align: center;
}

.mes-help-link {
  color: var(--plum);
  font-size: 14.5px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.mes-confirmation-section {
  width: 100%;
  padding: 24px 0 56px;
  background: var(--sand);
}

.mes-confirm-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 36px 28px;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.mes-confirm-card-success {
  max-width: 760px;
  margin: 0 auto;
  padding: 36px 28px;
  text-align: center;
  background: var(--paper);
  border: 1px solid #C9D3B4;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.mes-confirm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 32px;
  color: var(--cream);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  background: var(--plum);
  border-radius: 999px;
}

.mes-confirm-button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 32px;
  color: var(--plum);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  background: transparent;
  border: 1px solid rgba(58, 36, 52, 0.28);
  border-radius: 999px;
}

.mes-steps-section {
  width: 100%;
  padding: 56px 0 72px;
  background: var(--cream);
}

.mes-steps {
  display: grid;
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: mes-step;
  grid-template-columns: minmax(0, 1fr);
}

.mes-step {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 20px 22px 64px;
  position: relative;
  counter-increment: mes-step;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.mes-step::before {
  content: counter(mes-step);
  position: absolute;
  left: 20px;
  top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: var(--cream);
  font-size: 14px;
  font-weight: 600;
  background: var(--plum);
  border-radius: 50%;
}

.mes-step-title {
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.mes-step-desc {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

@media (min-width: 768px) {
  .mes-hero {
    padding: 80px 0 40px;
  }

  .mes-summary {
    padding: 32px 30px;
  }

  .mes-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .mes-layout {
    gap: 48px;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }

  .mes-summary {
    position: sticky;
    top: 110px;
  }

  .mes-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .mes-check,
  .mes-input,
  .mes-submit {
    transition: none;
  }
}

.mes-start-section {
  width: 100%;
  padding: 64px 0;
  background: var(--cream);
}

.mes-start-card {
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr);
  padding: 32px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.mes-start-copy {
  min-width: 0;
}

.mes-start-eyebrow {
  margin: 0 0 14px;
  color: var(--terra);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.mes-start-title {
  margin: 0 0 14px;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.mes-start-text {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.6;
}

.mes-start-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mes-start-item {
  padding: 10px 0 10px 26px;
  position: relative;
  color: var(--text);
  font-size: 15px;
  line-height: 1.45;
  border-top: 1px solid var(--line);
}

.mes-start-item::before {
  content: "✓";
  position: absolute;
  left: 2px;
  top: 10px;
  color: var(--sage);
  font-weight: 700;
}

.mes-start-action {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
  padding: 24px;
  background: var(--sand);
  border-radius: var(--radius-lg);
}

.mes-start-price-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: baseline;
}

.mes-start-price {
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 44px;
  line-height: 1;
}

.mes-start-price-note {
  color: var(--faint);
  font-size: 14px;
}

.mes-start-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 24px;
  color: var(--cream);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  background: var(--plum);
  border-radius: 999px;
  transition: background-color 0.25s ease;
}

.mes-start-button:hover {
  background: var(--ink);
}

.mes-start-link {
  color: var(--plum);
  font-size: 14.5px;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (min-width: 992px) {
  .mes-start-card {
    gap: 48px;
    padding: 48px;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .site-header__bar {
    gap: 16px;
  }

  .nav-main {
    gap: 20px;
  }

  .nav-side {
    gap: 14px;
  }
}

.kyb-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.kyb-step {
  align-items: flex-start;
}

.kyb-step.is-done .kyb-step__dot {
  background: #3f7d58;
  border-color: #3f7d58;
  box-shadow: none;
}

.kyb-step.is-done .kyb-step__label {
  color: #3f7d58;
}

.kyb-step.is-current .kyb-step__label {
  font-weight: 700;
}

.kyb-step__body {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: center;
  min-width: 0;
}

.kyb-step__label {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px dotted var(--line-strong);
}

.kyb-step__meta {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.kyb-step__state {
  font-size: 12.5px;
  color: var(--faint);
}

.kyb-step__info {
  width: 22px;
  height: 22px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 13px;
  font-style: italic;
  color: var(--plum);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  cursor: pointer;
}

.kyb-step__info:focus-visible {
  outline: none;
  box-shadow: var(--nvs-focus);
}

.kyb-step__help {
  flex-basis: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.kyb-verification {
  margin: 14px 0 0;
  padding: 10px 14px;
  font-size: 14.5px;
  color: var(--ink);
  background: var(--sand);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
}

.kyb-verification.is-verified {
  color: #3F4A2C;
  background: #EEF2E6;
  border: 1px solid #C9D3B4;
}

.kyb-welcome {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: min(360px, calc(100vw - 40px));
}

.kyb-welcome__box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.kyb-welcome__title {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 1.2;
}

.kyb-welcome__body {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.kyb-welcome__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.kyb-welcome__primary {
  padding: 10px 18px;
  color: var(--cream);
  font-size: 14px;
  font-weight: 600;
  background: var(--plum);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.kyb-welcome__ghost {
  padding: 10px 18px;
  color: var(--plum);
  font-size: 14px;
  font-weight: 600;
  background: transparent;
  border: 1px solid rgba(58, 36, 52, 0.28);
  border-radius: 999px;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  .kyb-step__info {
    transition: none;
  }
}

.mes-intro-card {
  margin: 0 0 32px;
  padding: 0 0 0;
}

.mes-intro-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.sv-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 32px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.sv-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sv-eyebrow {
  margin: 0;
  color: var(--terra);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sv-title {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 400;
}

.sv-intro {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.sv-count {
  margin: 0;
  color: var(--plum);
  font-size: 14px;
  font-weight: 600;
}

.sv-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  cursor: pointer;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.sv-check {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  cursor: pointer;
  accent-color: var(--sage);
}

.sv-row__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.sv-row__title {
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 600;
}

.sv-row__desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.sv-done {
  margin: 4px 0 0;
  padding: 10px 14px;
  color: #3F4A2C;
  font-size: 14.5px;
  background: #EEF2E6;
  border: 1px solid #C9D3B4;
  border-radius: var(--radius-md);
}

.per-sale-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 24px;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.per-sale-label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
}

.per-sale-text {
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.4;
}

.per-sale-error {
  color: #8C3B2F;
}

@media (prefers-reduced-motion: reduce) {
  .sv-row {
    transition: none;
  }
}
