/* Lead form (2026 design) - iframe page and FeedBook partial */

body.ld-body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  overflow: hidden;
  line-height: 1.5;
  color: #1f2433;
  font-family: Alibaba-PuHuiTi-R, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.ld-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: rgba(20, 24, 35, 0.55);
}

.ld-modal {
  --orange: #ff5b1a;
  --orange-2: #ff8a3d;
  --orange-deep: #e24a0c;
  --peach-50: #fff5ed;
  --peach-100: #ffe9d9;
  --peach-200: #ffcfb0;
  --peach-300: #ffb586;
  --ink: #1f2433;
  --ink-2: #4a5163;
  --ink-3: #7b8294;
  --line: #e8e1db;
  --danger: #d92d20;
  --radius: 12px;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.94);
  z-index: 2;
  display: grid;
  grid-template-columns: 44% 56%;
  width: min(1060px, calc(100vw - 48px));
  height: min(760px, 90vh);
  min-height: 0;
  background: #fff;
  border-radius: 22px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  box-shadow: 0 40px 90px -30px rgba(80, 30, 5, 0.55);
  color: var(--ink);
  font-family: Alibaba-PuHuiTi-R, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  text-align: left;
}

.ld-modal::-webkit-scrollbar {
  display: none;
}

.ld-modal * {
  box-sizing: border-box;
}

.ld-modal img,
.ld-modal svg {
  display: block;
  max-width: 100%;
}

.ld-modal button,
.ld-modal input,
.ld-modal select,
.ld-modal textarea {
  font: inherit;
  color: inherit;
}

.ld-modal ul,
.ld-modal ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ld-modal li {
  margin: 0;
}

.ld-modal li:first-child {
  margin-top: 0;
}

.ld-modal h1,
.ld-modal h2,
.ld-modal h3,
.ld-modal h4,
.ld-modal p {
  margin: 0;
  padding: 0;
}

.ld-modal a {
  color: inherit;
  text-decoration: none;
  transition: none;
}

/* ---------- embedded host (FeedBook partial) ---------- */
.emaildingyue.ld-host {
  position: fixed;
  inset: 0;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  transform: none;
  width: auto;
  max-width: none;
  max-height: none;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  z-index: 10050;
}

/* legacy dim layer is a sibling of the host; must clear the sticky header */
.tanchubj {
  z-index: 10040;
}

.ld-host .ld-backdrop {
  display: none;
}

body.ld-body .ld-host {
  display: block;
}

body.ld-body .ld-host .ld-backdrop {
  display: block;
}

/* ---------- close ---------- */
.ld-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ink-2);
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: background 0.15s, color 0.15s;
}

.ld-close:hover {
  background: var(--peach-100);
  color: var(--orange-deep);
}

.ld-close:focus-visible {
  outline: 3px solid rgba(255, 91, 26, 0.4);
  outline-offset: 2px;
}

.ld-close svg {
  width: 18px;
  height: 18px;
}

/* ---------- left panel ---------- */
.ld-aside {
  position: relative;
  overflow: visible;
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(170deg, #fff6ee 0%, #ffeadb 100%);
}

.ld-aside>* {
  position: relative;
}

.ld-brand {
  display: inline-block;
  align-self: flex-start;
}

.ld-brand img {
  height: 34px;
  width: auto;
}

.ld-eyebrow {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 12px -6px rgba(255, 91, 26, 0.5);
  color: var(--orange-deep);
  font-family: Alibaba-PuHuiTi-B, Alibaba-PuHuiTi-R, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ld-eyebrow i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.ld-aside h1 {
  margin-top: 14px;
  font-family: Alibaba-PuHuiTi-B, Alibaba-PuHuiTi-R, sans-serif;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.ld-aside h1 em {
  font-style: normal;
  color: var(--orange);
}

.ld-modal .ld-lede {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
}

.ld-modal .ld-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.ld-feat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

.ld-feat .ico {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--orange);
  background: var(--peach-100);
}

.ld-feat .ico svg {
  width: 20px;
  height: 20px;
}

.ld-spacer {
  flex: 0 0 10px;
  min-height: 10px;
}

.ld-stats {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  padding: 13px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.75);
}

.ld-stat {
  padding: 0 8px;
  border-left: 1px solid var(--peach-200);
  text-align: center;
  white-space: nowrap;
}

.ld-stat:first-child {
  padding-left: 0;
  border-left: 0;
}

.ld-stat:last-child {
  padding-right: 0;
}

.ld-stat b {
  display: block;
  font-family: Alibaba-PuHuiTi-H, Alibaba-PuHuiTi-B, sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.ld-stat b span {
  color: var(--orange);
}

.ld-stat small {
  display: block;
  margin-top: 2px;
  color: var(--ink-3);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.3;
}

.ld-trusted {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink);
  white-space: nowrap;
}

.ld-trusted svg {
  flex: none;
  width: 30px;
  height: 30px;
  padding: 6px;
  border-radius: 50%;
  background: var(--peach-100);
  color: var(--orange);
}

.ld-trusted p {
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
}

.ld-trusted b {
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.ld-trusted b i {
  font-style: normal;
  color: var(--orange);
}

/* ---------- right panel ---------- */
.ld-main {
  overflow: visible;
  padding: 28px 44px 0 40px;
  overscroll-behavior: contain;
}

.ld-main h2 {
  padding-right: 44px;
  font-family: Alibaba-PuHuiTi-B, Alibaba-PuHuiTi-R, sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.ld-form {
  margin-top: 14px;
}

.ld-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
  padding-bottom: 12px;
}

.ld-full {
  grid-column: 1 / -1;
}

.ld-field label {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 700;
}

.ld-req {
  margin-left: 2px;
  color: var(--orange);
}

.ld-opt {
  color: var(--ink-3);
  font-weight: 500;
}

.ld-modal .ld-control {
  color: #000;
  font-weight: 400;
  width: 100%;
  height: 38px;
  padding: 0 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.ld-modal .ld-control:-webkit-autofill,
.ld-modal .ld-control:-webkit-autofill:hover,
.ld-modal .ld-control:-webkit-autofill:focus,
.ld-modal .ld-control:-webkit-autofill:active {
  -webkit-text-fill-color: #000;
  -webkit-box-shadow: 0 0 0 1000px #fff inset;
  caret-color: #000;
}

.ld-modal .ld-control::placeholder {
  color: #A8ADBA;
  font-size: 14px;
  font-weight: 400;
  opacity: 1;
}

.ld-control:hover {
  border-color: var(--peach-300);
}

.ld-control:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 91, 26, 0.14);
}

.ld-modal textarea.ld-control {
  height: auto;
  min-height: 44px;
  padding: 9px 14px;
  resize: vertical;
  line-height: 1.5;
}

.ld-select {
  position: relative;
}

.ld-select select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  cursor: pointer;
}

.ld-modal .ld-select select.ld-empty {
  color: #A8ADBA;
  font-size: 14px;
  font-weight: 400;
}

.ld-select select option {
  color: var(--ink);
}

.ld-select::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 2px solid var(--ink-3);
  border-bottom: 2px solid var(--ink-3);
  transform: rotate(45deg);
  pointer-events: none;
}

.ld-field.invalid .ld-control {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(217, 45, 32, 0.1);
}

.ld-err {
  display: none;
  margin-top: 4px;
  color: var(--danger);
  font-size: 12px;
  font-weight: 500;
}

.ld-field.invalid .ld-err {
  display: block;
}

.ld-phone {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
}

.ld-captcha-row {
  display: grid;
  grid-template-columns: 1fr 132px;
  gap: 12px;
  align-items: center;
}

.ld-captcha {
  width: 100%;
  height: 38px;
  padding: 0;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--peach-50);
}

.ld-captcha img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ld-captcha:hover {
  border-color: var(--peach-300);
}

.ld-captcha:focus-visible {
  outline: 3px solid rgba(255, 91, 26, 0.35);
  outline-offset: 2px;
}

.ld-actions {
  position: static;
  bottom: 0;
  z-index: 2;
  margin: 0 -44px 0 -40px;
  padding: 8px 44px 14px 40px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0, #fff 14px);
}

.ld-modal .ld-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  background: linear-gradient(180deg, var(--orange-2), var(--orange));
  box-shadow: 0 12px 24px -10px rgba(255, 91, 26, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.12s, filter 0.15s;
}

.ld-submit:hover {
  filter: brightness(1.05);
}

.ld-submit:active {
  transform: translateY(1px);
}

.ld-submit:focus-visible {
  outline: 3px solid rgba(255, 91, 26, 0.4);
  outline-offset: 3px;
}

.ld-submit[disabled] {
  opacity: 0.75;
  cursor: progress;
}

.ld-submit>svg {
  width: 18px;
  height: 18px;
}

.ld-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ld-spin 0.7s linear infinite;
}

.ld-submit.loading .ld-spinner {
  display: block;
}

.ld-submit.loading>svg {
  display: none;
}

@keyframes ld-spin {
  to {
    transform: rotate(360deg);
  }
}

.ld-modal .ld-legal {
  margin-top: 10px;
  color: var(--ink-3);
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}

.ld-legal a {
  color: var(--orange-deep);
  font-weight: 600;
}

.ld-legal a:hover {
  text-decoration: underline;
}

.ld-form-error {
  display: none;
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff1f0;
  color: var(--danger);
  font-size: 13px;
}

.ld-form-error.show {
  display: block;
}

/* ---------- success ---------- */
.ld-success {
  display: none;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100% - 34px);
  padding: 6px 0 28px;
}

.ld-success.show {
  display: flex;
  animation: ld-rise 0.4s ease both;
}

@keyframes ld-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.ld-tick {
  margin: 8px 0 0 8px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--orange-2), var(--orange));
  box-shadow: 0 0 0 8px var(--peach-100), 0 14px 24px -10px rgba(255, 91, 26, 0.7);
}

.ld-tick svg {
  width: 30px;
  height: 30px;
}

.ld-success h3 {
  margin-top: 28px;
  padding-right: 36px;
  font-family: Alibaba-PuHuiTi-B, Alibaba-PuHuiTi-R, sans-serif;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.ld-success-lead {
  margin-top: 10px;
  max-width: 460px;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.6;
}

.ld-success-lead b {
  color: var(--ink);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.ld-focus-chip {
  display: none;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 7px 12px;
  border: 1px solid var(--peach-200);
  border-radius: 999px;
  background: var(--peach-50);
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 600;
}

.ld-focus-chip.show {
  display: inline-flex;
}

.ld-focus-chip span {
  color: var(--orange-deep);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ld-focus-chip em {
  font-style: normal;
}

.ld-next {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.ld-next h4 {
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ld-next ol {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 14px;
}

.ld-next li {
  position: relative;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 14px;
}

.ld-next li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 32px;
  bottom: -14px;
  width: 2px;
  background: var(--peach-200);
}

.ld-next li:last-child::before {
  display: none;
}

.ld-next .n {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--orange-deep);
  background: var(--peach-100);
  font-size: 13px;
  font-weight: 800;
}

.ld-next strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.ld-next span.d {
  display: block;
  margin-top: 2px;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.5;
}

.ld-success-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.ld-modal .ld-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  background: linear-gradient(180deg, var(--orange-2), var(--orange));
  box-shadow: 0 12px 24px -10px rgba(255, 91, 26, 0.7);
}

.ld-btn-primary:hover {
  filter: brightness(1.05);
}

.ld-btn-link {
  padding: 6px 2px;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--orange-deep);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ld-btn-link:hover {
  color: var(--orange);
}

.ld-btn-primary:focus-visible,
.ld-btn-link:focus-visible {
  outline: 3px solid rgba(255, 91, 26, 0.4);
  outline-offset: 3px;
}

.ld-success .ld-email-note {
  margin-top: 18px;
  color: var(--ink-3);
  font-size: 12px;
  line-height: 1.5;
}

/* ---------- mobile ---------- */
@media (max-width: 900px) {
  .ld-modal {
    display: flex;
    flex-direction: column;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    transform: none;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .ld-close {
    position: fixed;
    top: 12px;
    right: 12px;
  }

  .ld-aside {
    flex-shrink: 0;
    overflow: visible;
    padding: 20px 18px;
  }

  .ld-aside>* {
    max-width: 560px;
  }

  .ld-brand img {
    height: 30px;
  }

  .ld-eyebrow {
    margin-top: 20px;
  }

  .ld-aside h1 {
    font-size: 30px;
  }

  .ld-feat {
    gap: 12px;
    padding: 9px 12px;
    font-size: 13px;
  }

  .ld-spacer {
    display: none;
  }

  .ld-stats {
    margin-top: 10px;
    padding: 12px 8px;
  }

  .ld-stat {
    padding: 0 7px;
  }

  .ld-stat b {
    font-size: 21px;
  }

  .ld-stat small {
    font-size: 10px;
  }

  .ld-trusted p {
    font-size: 13px;
  }

  .ld-trusted b {
    font-size: 14px;
  }

  .ld-main {
    order: -1;
    flex-shrink: 0;
    overflow: visible;
    padding: 24px 18px 0;
  }

  .ld-main h2 {
    padding-right: 44px;
  }

  .ld-grid {
    grid-template-columns: 1fr;
  }

  .ld-captcha-row {
    grid-template-columns: 1fr 120px;
  }

  .ld-control {
    font-size: 16px;
  }

  .ld-actions {
    position: static;
    margin: 0;
    padding: 6px 0 calc(24px + env(safe-area-inset-bottom));
    background: none;
  }

  .ld-success {
    min-height: 0;
    padding-top: 0;
  }

  .ld-success h3 {
    padding-right: 44px;
    font-size: 23px;
  }

  .ld-success-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .ld-btn-primary {
    width: 100%;
  }

  .ld-btn-link {
    padding: 10px;
  }
}

@media (max-height: 700px) and (min-width: 901px) {
  .ld-modal {
    height: 94vh;
  }
}

@media (max-width: 359px) {
  .ld-feat {
    font-size: 12px;
    white-space: normal;
  }

  .ld-trusted {
    white-space: normal;
    text-align: left;
  }

  .ld-stats {
    flex-direction: column;
    gap: 10px;
  }

  .ld-stat,
  .ld-stat:first-child,
  .ld-stat:last-child {
    padding: 10px 0 0;
    border-top: 1px solid var(--peach-200);
    border-left: 0;
  }

  .ld-stat:first-child {
    padding-top: 0;
    border-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {

  .ld-modal *,
  .ld-modal *::before,
  .ld-modal *::after {
    transition: none !important;
    animation: none !important;
  }
}