:root {
  --mbj-ink:#123f39;
  --mbj-text:#526660;
  --mbj-sage:#778d5b;
  --mbj-cream:#f7f7ee;
  --mbj-paper:#fffdf8;
  --mbj-line:#dce3d7;
}

* {
  box-sizing:border-box;
}

body {
  margin:0;
  color:var(--mbj-ink);
  background:var(--mbj-cream);
  font:16px/1.7 Arial,Helvetica,sans-serif;
}

a {
  color:var(--mbj-ink);
  text-underline-offset:4px;
}

button,input {
  font:inherit;
}

a:focus-visible,button:focus-visible,input:focus-visible {
  outline:3px solid #997230;
  outline-offset:4px;
}

.mbj-wrap {
  width:min(1180px,calc(100% - 80px));
  margin-inline:auto;
}

.mbj-header {
  background:var(--mbj-paper);
  border-bottom:1px solid var(--mbj-line);
}

.mbj-header-inner {
  min-height:98px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
}

.mbj-brand {
  display:flex;
  align-items:center;
  gap:13px;
  font:25px/1.2 Georgia,serif;
  text-decoration:none;
}

.mbj-brand img {
  width:260px;
  height:auto;
  max-height:72px;
  object-fit:contain;
}

.mbj-brand-leaf {
  width:31px;
  height:40px;
  border-radius:22px 4px 22px 4px;
  background:var(--mbj-ink);
  display:inline-block;
  transform:rotate(10deg);
}

.mbj-brand strong {
  font-weight:bold;
}

.mbj-back {
  font-size:13px;
  text-decoration:none;
}

.mbj-back span {
  margin-left:10px;
}

.mbj-main {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:90px;
  padding-top:76px;
  padding-bottom:86px;
  min-height:70vh;
  align-items:start;
}

.mbj-intro {
  padding-top:22px;
}

.mbj-eyebrow {
  font-size:11px!important;
  letter-spacing:2px;
  font-weight:700;
  text-transform:uppercase;
  color:#56704c;
  margin:0 0 20px;
}

h1,h2 {
  font-family:Georgia,'Times New Roman',serif;
  font-weight:400;
  line-height:1.14;
  letter-spacing:-1px;
  color:var(--mbj-ink);
}

h1 {
  font-size:clamp(40px,4vw,57px);
  margin:0 0 24px;
  max-width:450px;
}

h2 {
  font-size:31px;
  letter-spacing:-.5px;
  margin:0 0 27px;
}

p {
  margin:0 0 22px;
  color:var(--mbj-text);
}

.mbj-subtitle {
  font-size:18px;
  max-width:410px;
}

.mbj-motif {
  display:flex;
  gap:14px;
  margin:43px 0 30px;
  align-items:flex-end;
}

.mbj-motif span {
  display:block;
  width:41px;
  height:51px;
  border-radius:30px 4px 30px 4px;
  background:#c7d4ba;
}

.mbj-motif span:nth-child(2) {
  height:71px;
  background:#9aaf85;
}

.mbj-motif span:nth-child(3) {
  height:91px;
  background:#6a865d;
}

.mbj-intro-note {
  font:22px/1.65 Georgia,serif;
  max-width:350px;
}

.mbj-intro-note em {
  color:#637b4d;
}

.mbj-panel {
  padding:38px 40px;
  background:var(--mbj-paper);
  border:1px solid var(--mbj-line);
  border-radius:8px;
  min-width:0;
  box-shadow:0 8px 30px #153f3705;
}

.mbj-panel label {
  display:block;
  font-size:14px;
  color:var(--mbj-ink);
  font-weight:600;
  margin:0 0 7px;
}

.mbj-panel input:not([type=checkbox]):not([type=hidden]) {
  display:block;
  width:100%;
  border:1px solid #bdcbb8;
  border-radius:4px;
  min-height:49px;
  padding:10px 13px;
  background:#fff;
  color:var(--mbj-ink);
  margin:0 0 20px;
}

.mbj-panel input:focus {
  border-color:var(--mbj-ink);
}

.mbj-panel button,.mbj-button {
  display:flex;
  justify-content:space-between;
  align-items:center;
  width:100%;
  padding:12px 20px;
  min-height:49px;
  border:1px solid var(--mbj-ink);
  border-radius:4px;
  background:var(--mbj-ink);
  color:#fff;
  font-size:15px;
  font-weight:400;
  cursor:pointer;
  text-decoration:none;
  margin-top:8px;
}

.mbj-panel button:hover,.mbj-button:hover {
  background:#245a4f;
}

.mbj-form-row {
  display:flex;
  gap:18px;
  align-items:center;
  justify-content:space-between;
  margin:0 0 24px;
  font-size:12px;
}

.mbj-panel .mbj-check {
  display:flex;
  gap:9px;
  align-items:center;
  font-size:12px;
  font-weight:400;
  margin:0;
}

.mbj-check input {
  width:17px;
  height:17px;
  accent-color:var(--mbj-ink);
  margin:0;
}

.mbj-hint {
  font-size:12px;
  line-height:1.6;
  margin:-9px 0 20px;
}

.mbj-form-foot {
  margin:25px 0 0;
  padding-top:21px;
  border-top:1px solid var(--mbj-line);
  font-size:14px;
  text-align:center;
}

.mbj-small {
  font-size:12px;
  line-height:1.7;
  margin:18px 0 0;
}

.mbj-small+button {
  margin-top:22px;
}

.mbj-message {
  padding:15px 17px;
  border:1px solid #bfd1b2;
  border-radius:4px;
  background:#edf3e7;
  color:#294724;
  font-size:14px;
  line-height:1.6;
  margin-bottom:25px;
}

.mbj-error {
  border-color:#d4b3a8;
  background:#fbefea;
  color:#763d2b;
}

.mbj-honey {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%);
}

.mbj-footer {
  background:var(--mbj-paper);
  border-top:1px solid var(--mbj-line);
  padding:29px 0 23px;
}

.mbj-footer p {
  font-size:12px;
  line-height:1.8;
  margin:0;
}

.mbj-footer-line {
  display:flex;
  justify-content:space-between;
  gap:20px;
  font-size:11px;
  color:var(--mbj-text);
  margin-top:20px;
}

.mbj-skip {
  position:absolute;
  left:10px;
  top:-100px;
  background:var(--mbj-paper);
  padding:10px;
  z-index:10;
}

.mbj-skip:focus {
  top:10px;
}

.mbj-details {
  margin:28px 0;
}

.mbj-details div {
  padding:14px 0;
  border-block-start:1px solid var(--mbj-line);
}

.mbj-details dt {
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:1px;
  color:var(--mbj-text);
}

.mbj-details dd {
  margin:5px 0 0;
  overflow-wrap:anywhere;
}

.mbj-panel .mbj-button-secondary {
  background:transparent;
  color:var(--mbj-ink);
  justify-content:center;
  margin-top:25px;
}

.mbj-panel .mbj-button-secondary:hover {
  background:#edf1e7;
}

@media(max-width:1000px) {
  .mbj-wrap {
    width:calc(100% - 48px);
  }
  .mbj-main {
    gap:40px;
  }
  .mbj-panel {
    padding:30px 28px;
  }
}

@media(max-width:720px) {
  .mbj-wrap {
    width:calc(100% - 40px);
  }
  .mbj-header-inner {
    min-height:82px;
    gap:14px;
  }
  .mbj-brand {
    font-size:19px;
    gap:9px;
  }
  .mbj-brand img {
    width:205px;
  }
  .mbj-brand-leaf {
    width:23px;
    height:31px;
    flex-shrink:0;
  }
  .mbj-back {
    font-size:11px;
    max-width:65px;
    text-align:right;
  }
  .mbj-back span {
    display:none;
  }
  .mbj-main {
    grid-template-columns:1fr;
    gap:25px;
    padding-top:34px;
    padding-bottom:49px;
    min-height:0;
  }
  .mbj-intro {
    padding-top:0;
  }
  h1 {
    font-size:40px;
    margin-bottom:16px;
  }
  h2 {
    font-size:28px;
  }
  .mbj-subtitle {
    font-size:16px;
    margin-bottom:0;
  }
  .mbj-eyebrow {
    margin-bottom:15px;
  }
  .mbj-motif,.mbj-intro-note {
    display:none;
  }
  .mbj-panel {
    padding:27px 23px;
  }
  .mbj-form-row {
    gap:12px;
    flex-wrap:wrap;
  }
  .mbj-footer-line {
    flex-direction:column;
    gap:8px;
  }
}


/* License and credit summary; isolated from the account forms. */
.mbj-entitlements { margin: 28px 0; padding-top: 24px; border-top: 1px solid #dce3d5; }
.mbj-entitlements h3 { margin: 0 0 18px; font-size: 1.2rem; }
.mbj-entitlement-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mbj-entitlement-card { display: flex; flex-direction: column; gap: 8px; padding: 18px; border: 1px solid #dce3d5; border-radius: 12px; background: #f5f7ef; }
.mbj-entitlement-card > strong { font-size: 1.45rem; line-height: 1.2; color: #124b42; }
.mbj-credit-history { margin: 18px 0; }
.mbj-credit-history summary { cursor: pointer; font-weight: 600; padding: 8px 0; }
.mbj-credit-history ul { list-style: none; padding: 0; margin: 8px 0; }
.mbj-credit-history li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid #dce3d5; font-size: .9rem; }
.mbj-credit-history li > div { display: flex; flex-direction: column; gap: 4px; }
@media (max-width: 480px) { .mbj-entitlement-cards { grid-template-columns: 1fr; } }

/* Registration has one next action: confirm the welcome email. */
.mbj-screen-check-email .mbj-main { display:block; width:min(660px,calc(100% - 40px)); min-height:65vh; padding-top:60px; }
.mbj-verification-message h1 { font-size:clamp(32px,4vw,42px); max-width:none; }
.mbj-verification-message p { font-size:17px; }
.mbj-verification-message strong { color:var(--mbj-ink); }
.mbj-verification-message .mbj-verification-hint { font-size:15px; margin:0; }
@media(max-width:720px) { .mbj-screen-check-email .mbj-main { padding-top:30px; min-height:0; } }

.mbj-verification-message .mbj-registration-thanks { font-size:15px; font-weight:500; color:#56704c; margin:0 0 12px; }
