.lcl-mael-commerce,
.lcl-mael-commerce *,
.lcl-onboarding,
.lcl-onboarding * {
  box-sizing: border-box;
}

.lcl-mael-commerce {
  --lcl-ink: #031018;
  --lcl-soft: #0a2028;
  --lcl-paper: #f6f7f2;
  --lcl-card: #ffffff;
  --lcl-line: #d7e0db;
  --lcl-muted: #63736b;
  --lcl-green: #2ee88a;
  --lcl-green-bright: #4df875;
  --lcl-cyan: #37d7e9;
  width: 100%;
  color: #15251d;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.lcl-commerce-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 22px;
  overflow: hidden;
  color: #d8e7e1;
  background:
    radial-gradient(circle at 80% 20%, rgba(77, 248, 117, 0.12), transparent 32%),
    #04151b;
  border: 1px solid rgba(55, 215, 233, 0.15);
  border-radius: 18px;
}

.lcl-commerce-trust > span {
  min-height: 74px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 13px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
  font-weight: 750;
}

.lcl-commerce-trust > span:last-child {
  border-right: 0;
}

.lcl-commerce-trust b {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--lcl-green-bright);
  background: rgba(77, 248, 117, 0.09);
  border: 1px solid rgba(77, 248, 117, 0.22);
  border-radius: 10px;
  font: 800 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.lcl-commerce-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
  gap: 22px;
  align-items: stretch;
}

.lcl-commerce-form-card,
.lcl-commerce-summary {
  position: relative;
  padding: clamp(28px, 4vw, 48px);
  overflow: hidden;
  border-radius: 26px;
}

.lcl-commerce-form-card {
  background:
    radial-gradient(circle at 100% 0, rgba(55, 215, 233, 0.08), transparent 28%),
    #fff;
  border: 1px solid var(--lcl-line);
  box-shadow: 0 28px 70px rgba(12, 43, 31, 0.09);
}

.lcl-commerce-summary {
  display: flex;
  flex-direction: column;
  color: #edf6f2;
  background:
    radial-gradient(circle at 85% 8%, rgba(77, 248, 117, 0.16), transparent 34%),
    linear-gradient(145deg, #061a20, #020c12);
  border: 1px solid rgba(55, 215, 233, 0.18);
  box-shadow: 0 32px 76px rgba(3, 20, 24, 0.22);
}

.lcl-commerce-kicker,
.lcl-commerce-summary-top > div:first-child > span {
  display: block;
  margin-bottom: 12px;
  color: #08734a;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.lcl-commerce-summary-top > div:first-child > span {
  color: var(--lcl-green-bright);
}

.lcl-commerce-form-card h3,
.lcl-commerce-summary h3 {
  margin: 0 0 10px;
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.lcl-commerce-form-card > p {
  max-width: 610px;
  margin: 0 0 30px;
  color: var(--lcl-muted);
  font-size: 15px;
}

.lcl-commerce-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.lcl-commerce-form label,
.lcl-onboarding-form label {
  display: grid;
  gap: 7px;
  color: #23362d;
  font-size: 12px;
  font-weight: 850;
}

.lcl-commerce-form input,
.lcl-commerce-form select,
.lcl-onboarding-form input,
.lcl-onboarding-form select,
.lcl-onboarding-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: #102019;
  background: #fbfcfa;
  border: 1px solid #cfd9d3;
  border-radius: 12px;
  outline: 0;
  font: 600 14px/1.3 inherit;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.lcl-commerce-form input:focus,
.lcl-commerce-form select:focus,
.lcl-onboarding-form input:focus,
.lcl-onboarding-form select:focus,
.lcl-onboarding-form textarea:focus {
  background: #fff;
  border-color: #2fce80;
  box-shadow: 0 0 0 4px rgba(46, 232, 138, 0.12);
}

.lcl-commerce-hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.lcl-commerce-consent {
  margin-top: 18px;
  padding: 15px 16px;
  grid-template-columns: 20px 1fr !important;
  align-items: start;
  gap: 11px !important;
  background: #f3faf6;
  border: 1px solid #d1eadb;
  border-radius: 14px;
  line-height: 1.45;
}

.lcl-commerce-consent input,
.lcl-onboarding-confirm input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin-top: 2px;
  padding: 0;
}

.lcl-commerce-legal {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  color: #718078;
  font-size: 12px;
}

.lcl-commerce-legal a {
  color: #08734a;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lcl-commerce-primary,
.lcl-onboarding-form > button {
  width: 100%;
  min-height: 58px;
  margin-top: 24px;
  padding: 0 21px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #04150d;
  background: linear-gradient(115deg, var(--lcl-green-bright), var(--lcl-cyan));
  border: 0;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(39, 193, 119, 0.22);
  cursor: pointer;
  font: 900 15px/1 inherit;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    opacity 0.18s ease;
}

.lcl-commerce-primary:hover,
.lcl-onboarding-form > button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(39, 193, 119, 0.3);
}

.lcl-commerce-primary:disabled,
.lcl-onboarding-form > button:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.lcl-commerce-primary b {
  font-size: 22px;
}

.lcl-commerce-summary-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.lcl-commerce-summary h3 {
  max-width: 390px;
  margin-bottom: 0;
  font-size: clamp(26px, 2.6vw, 36px);
}

.lcl-commerce-total {
  min-width: 155px;
  padding: 17px;
  text-align: right;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 16px;
}

.lcl-commerce-total span,
.lcl-commerce-total small,
.lcl-commerce-renewal small {
  display: block;
  color: #9bb1aa;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.4;
}

.lcl-commerce-total strong {
  display: block;
  margin: 2px 0 4px;
  color: var(--lcl-green-bright);
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.lcl-commerce-renewal {
  padding: 22px 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 13px;
  align-items: baseline;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lcl-commerce-renewal > span {
  color: var(--lcl-cyan);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lcl-commerce-renewal strong {
  font-size: 24px;
}

.lcl-commerce-renewal small {
  grid-column: 2;
}

.lcl-commerce-summary ul {
  margin: 24px 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.lcl-commerce-summary li {
  position: relative;
  padding-left: 27px;
  color: #c3d0cb;
  font-size: 13px;
  font-weight: 650;
}

.lcl-commerce-summary li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  color: var(--lcl-green-bright);
  background: rgba(77, 248, 117, 0.1);
  border-radius: 6px;
  font-size: 10px;
  font-weight: 950;
}

.lcl-commerce-guarantee {
  margin-top: auto;
  padding: 17px;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 15px;
  align-items: center;
  color: #dce9e4;
  background: linear-gradient(
    115deg,
    rgba(77, 248, 117, 0.12),
    rgba(55, 215, 233, 0.08)
  );
  border: 1px solid rgba(77, 248, 117, 0.22);
  border-radius: 15px;
  font-size: 12px;
  line-height: 1.45;
}

.lcl-commerce-guarantee b {
  color: var(--lcl-green-bright);
  font-size: 29px;
  letter-spacing: -0.05em;
}

.lcl-commerce-fineprint {
  margin: 13px 0 0;
  color: #839a91;
  font-size: 10px;
  line-height: 1.5;
}

.lcl-paypal-stage {
  min-height: 380px;
  padding: 8px 0;
}

.lcl-paypal-stage[hidden],
.lcl-commerce-form[hidden] {
  display: none !important;
}

.lcl-paypal-stage-head {
  margin-bottom: 26px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: #17392a;
  background: #effaf3;
  border: 1px solid #cdebd8;
  border-radius: 15px;
}

.lcl-paypal-ready {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #086b45;
  background: #d5f8e2;
  border-radius: 11px;
  font-weight: 950;
}

.lcl-paypal-stage-head strong,
.lcl-paypal-stage-head small {
  display: block;
}

.lcl-paypal-stage-head small {
  margin-top: 3px;
  color: #658074;
}

.lcl-commerce-back {
  width: 100%;
  margin-top: 14px;
  padding: 12px;
  color: #496158;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 800;
}

.lcl-commerce-message {
  margin-top: 15px;
  padding: 13px 15px;
  color: #385347;
  background: #eff7f2;
  border: 1px solid #d4e5db;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
}

.lcl-commerce-message:empty {
  display: none;
}

.lcl-commerce-message.is-error {
  color: #7e2d29;
  background: #fff4f2;
  border-color: #f1ccc6;
}

.lcl-commerce-message.is-loading {
  color: #075e3e;
  background: #edfff3;
}

.lcl-commerce-message.is-notice {
  color: #6d5116;
  background: #fff9e9;
  border-color: #eee0b2;
}

/* Post-payment onboarding */
body:has(.lcl-onboarding) .wp-block-post-title,
body:has(.lcl-onboarding) .wp-site-blocks > header.wp-block-template-part,
body:has(.lcl-onboarding) .wp-site-blocks > footer.wp-block-template-part {
  display: none !important;
}

body:has(.lcl-onboarding) .wp-site-blocks > main.wp-block-group {
  margin-block-start: 0 !important;
}

.lcl-onboarding {
  width: 100vw;
  max-width: none !important;
  min-height: 100vh;
  margin: 0 calc(50% - 50vw) !important;
  padding: 28px;
  color: #12241c;
  background:
    linear-gradient(rgba(5, 30, 25, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5, 30, 25, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 10% 0, rgba(77, 248, 117, 0.12), transparent 31%),
    #f5f6f1;
  background-size:
    64px 64px,
    64px 64px,
    auto,
    auto;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.lcl-onboarding-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.lcl-onboarding-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #071b14;
}

.lcl-onboarding-brand > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #042015;
  background: linear-gradient(135deg, #4df875, #37d7e9);
  border-radius: 13px;
  font-size: 18px;
  font-weight: 950;
  box-shadow: 0 12px 24px rgba(45, 219, 130, 0.2);
}

.lcl-onboarding-brand strong,
.lcl-onboarding-brand small {
  display: block;
}

.lcl-onboarding-brand strong {
  font-size: 19px;
}

.lcl-onboarding-brand small {
  color: #708078;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lcl-onboarding-progress {
  margin: 28px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  background: #fff;
  border: 1px solid #d9e1dc;
  border-radius: 14px;
}

.lcl-onboarding-progress span {
  position: relative;
  min-height: 50px;
  display: grid;
  place-items: center;
  color: #84928b;
  border-right: 1px solid #e2e8e4;
  font-size: 11px;
  font-weight: 850;
}

.lcl-onboarding-progress span:last-child {
  border-right: 0;
}

.lcl-onboarding-progress .is-complete {
  color: #08734a;
  background: #edf9f2;
}

.lcl-onboarding-progress .is-active {
  color: #071b14;
  background: linear-gradient(
    115deg,
    rgba(77, 248, 117, 0.16),
    rgba(55, 215, 233, 0.12)
  );
}

.lcl-onboarding-intro {
  margin-bottom: 24px;
  padding: clamp(28px, 5vw, 54px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: end;
  color: #edf7f2;
  background:
    radial-gradient(circle at 85% 12%, rgba(77, 248, 117, 0.16), transparent 32%),
    #04151b;
  border: 1px solid rgba(55, 215, 233, 0.17);
  border-radius: 24px;
}

.lcl-onboarding-intro > div:first-child > span {
  color: #4df875;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.lcl-onboarding-intro h1 {
  max-width: 680px;
  margin: 13px 0;
  font-size: clamp(35px, 5vw, 61px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.lcl-onboarding-intro p {
  max-width: 710px;
  margin: 0;
  color: #9fb2aa;
  font-size: 14px;
  line-height: 1.55;
}

.lcl-onboarding-order {
  min-width: 220px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 15px;
}

.lcl-onboarding-order > * {
  display: block;
}

.lcl-onboarding-order small {
  color: #4df875;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.lcl-onboarding-order strong {
  margin: 6px 0 3px;
}

.lcl-onboarding-order span {
  color: #8fa49b;
  font-size: 11px;
}

.lcl-onboarding-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.lcl-onboarding-section {
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  background: #fff;
  border: 1px solid #d9e1dc;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(10, 45, 31, 0.06);
}

.lcl-onboarding-section > div:first-child {
  grid-column: 1 / -1;
  padding-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #e2e8e4;
}

.lcl-onboarding-section > div:first-child b {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #08734a;
  background: #e9fbf1;
  border-radius: 10px;
  font-size: 10px;
}

.lcl-onboarding-section > div:first-child strong,
.lcl-onboarding-section > div:first-child small {
  display: block;
}

.lcl-onboarding-section > div:first-child strong {
  font-size: 16px;
}

.lcl-onboarding-section > div:first-child small {
  margin-top: 2px;
  color: #75837c;
  font-size: 10px;
}

.lcl-onboarding-form textarea {
  min-height: 95px;
  resize: vertical;
}

.lcl-onboarding-wide {
  grid-column: 1 / -1;
}

.lcl-onboarding-confirm {
  grid-column: 1 / -1;
  padding: 17px;
  grid-template-columns: 20px 1fr !important;
  gap: 12px !important;
  align-items: start;
  background: #eef9f3;
  border: 1px solid #cfe9da;
  border-radius: 14px;
  line-height: 1.5;
}

.lcl-onboarding-form > button {
  grid-column: 1 / -1;
  width: min(420px, 100%);
  margin: 0 auto;
}

.lcl-onboarding-message {
  grid-column: 1 / -1;
  text-align: center;
  color: #517065;
  font-size: 12px;
  font-weight: 750;
}

.lcl-onboarding-message.is-error {
  color: #8d2f28;
}

.lcl-onboarding-success,
.lcl-onboarding-invalid {
  max-width: 720px;
  margin: 10vh auto;
  padding: clamp(36px, 6vw, 72px);
  text-align: center;
  background: #fff;
  border: 1px solid #d9e1dc;
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(9, 42, 29, 0.12);
}

.lcl-onboarding-success > span,
.lcl-onboarding-invalid > span {
  width: 62px;
  height: 62px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  color: #056b44;
  background: #dff9e9;
  border-radius: 18px;
  font-size: 25px;
  font-weight: 950;
}

.lcl-onboarding-success small {
  color: #08734a;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.lcl-onboarding-success h2,
.lcl-onboarding-invalid h1 {
  margin: 13px 0;
  font-size: clamp(30px, 4vw, 45px);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.lcl-onboarding-success p,
.lcl-onboarding-invalid p {
  color: #697970;
  line-height: 1.6;
}

.lcl-onboarding-success a,
.lcl-onboarding-invalid a {
  color: #08734a;
  font-weight: 850;
}

@media (max-width: 920px) {
  .lcl-commerce-grid,
  .lcl-onboarding-form {
    grid-template-columns: 1fr;
  }

  .lcl-commerce-summary {
    order: -1;
  }

  .lcl-commerce-trust {
    grid-template-columns: 1fr;
  }

  .lcl-commerce-trust > span {
    min-height: 58px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .lcl-commerce-trust > span:last-child {
    border-bottom: 0;
  }

  .lcl-onboarding-intro {
    grid-template-columns: 1fr;
  }

  .lcl-onboarding-order {
    min-width: 0;
  }
}

@media (max-width: 620px) {
  .lcl-commerce-fields,
  .lcl-onboarding-section {
    grid-template-columns: 1fr;
  }

  .lcl-commerce-form-card,
  .lcl-commerce-summary {
    padding: 24px 18px;
    border-radius: 20px;
  }

  .lcl-commerce-summary-top {
    grid-template-columns: 1fr;
  }

  .lcl-commerce-total {
    text-align: left;
  }

  .lcl-commerce-trust > span {
    padding: 13px 15px;
  }

  .lcl-onboarding {
    padding: 18px 14px;
  }

  .lcl-onboarding-progress span {
    min-height: 44px;
    font-size: 9px;
  }

  .lcl-onboarding-intro {
    padding: 30px 22px;
  }

  .lcl-onboarding-section {
    padding: 22px 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lcl-mael-commerce *,
  .lcl-onboarding * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

