.lead-layout {
  --lead-ink: #171d32;
  --lead-accent: #4145c9;
  --lead-muted: #525c70;
  box-sizing: border-box;
  width: min(100%, 1240px);
  margin: 0 auto;
  padding: clamp(42px, 6vw, 90px) clamp(20px, 4.5vw, 68px) clamp(64px, 9vw, 132px);
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: start;
  gap: clamp(32px, 6vw, 100px);
  color: var(--lead-ink);
}
.lead-layout *,
.lead-layout *::before,
.lead-layout *::after {
  box-sizing: border-box;
}
.lead-layout [hidden] {
  display: none !important;
}
.lead-layout h1 {
  margin: 0;
  font-size: clamp(2.6rem, 4.9vw, 4.75rem);
  font-weight: 570;
  line-height: 1.04;
  letter-spacing: -0.065em;
  text-wrap: balance;
}
:lang(zh) .lead-layout h1 {
  letter-spacing: -0.045em;
  line-height: 1.15;
}
.lead-intro > p:first-of-type {
  max-width: 45ch;
  color: var(--lead-muted);
  margin: 1.4rem 0 2rem;
  font-size: 1.15rem;
  line-height: 1.65;
}
.lead-prompts {
  padding: 1.45rem 0 0;
  border-top: 1px solid #dce0e9;
  margin-top: 2rem;
}
.lead-prompts h2 {
  margin: 0 0 0.8rem;
  font-size: 1.1rem;
  font-weight: 620;
  letter-spacing: -0.02em;
}
.lead-prompts ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lead-prompts li {
  display: flex;
  gap: 0.75rem;
  line-height: 1.45;
  color: var(--lead-muted);
  margin: 0.72rem 0;
}
.lead-prompts li::before {
  content: '';
  flex: 0 0 0.45rem;
  height: 0.45rem;
  border: 1.5px solid var(--lead-accent);
  margin-top: 0.45rem;
  border-radius: 50%;
}
.lead-tour {
  margin: 2rem 0 0;
  font-size: 0.94rem;
  color: var(--lead-muted);
  line-height: 1.6;
}
.lead-layout a {
  color: var(--lead-accent);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}
.lead-sheet {
  padding: clamp(22px, 3vw, 42px);
  border: 1px solid #dce0e9;
  border-radius: 20px;
  background: white;
  box-shadow: 0 12px 40px #2735600a;
}
.lead-sheet > h2 {
  margin: 0 0 0.25rem;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  letter-spacing: -0.045em;
  line-height: 1.2;
}
.lead-required,
.lead-help {
  color: var(--lead-muted);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}
.lead-required {
  margin: 0 0 1.7rem;
}
.lead-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 0.9rem;
}
.lead-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 570;
  color: var(--lead-ink);
}
.lead-field > span {
  line-height: 1.5;
}
.lead-layout b[aria-hidden] {
  color: #575ec4;
  font-weight: 500;
}
.lead-field input,
.lead-field select,
.lead-field textarea {
  min-width: 0;
  width: 100%;
  min-height: 44px;
  border: 1px solid #aeb5c4;
  border-radius: 7px;
  background-color: #fff;
  color: var(--lead-ink);
  padding: 0.55rem 0.7rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
}
.lead-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16' fill='none' stroke='%23495267' stroke-width='1.6'%3E%3Cpath d='m3 6 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 34px;
}
.lead-field textarea {
  resize: vertical;
  min-height: 92px;
  line-height: 1.5;
}
.lead-field textarea::placeholder {
  color: #657086;
  opacity: 1;
}
.lead-layout :focus-visible {
  outline: 3px solid #494eca;
  outline-offset: 3px;
}
.lead-layout [aria-invalid='true'] {
  border-color: #ab3347;
}
.lead-layout small {
  font-size: 0.78rem;
  color: var(--lead-muted);
  font-weight: 400;
  margin-left: 0.25rem;
}
.lead-details {
  margin: 1.15rem 0;
  border-top: 1px solid #e2e5ee;
  border-bottom: 1px solid #e2e5ee;
}
.lead-details summary {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.82rem 0;
  min-height: 44px;
  cursor: pointer;
  list-style: none;
  font-weight: 550;
  font-size: 0.91rem;
}
.lead-details summary::-webkit-details-marker {
  display: none;
}
.lead-details summary::after {
  content: '+';
  color: var(--lead-accent);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
  margin-left: auto;
}
.lead-details[open] summary::after {
  content: '−';
}
.lead-details[open] > div {
  padding-bottom: 1rem;
}
.lead-help {
  margin: 0.4rem 0 1rem;
}
.lead-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--lead-muted);
  line-height: 1.5;
}
.lead-consent input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin: 0.12rem 0 0;
  accent-color: var(--lead-accent);
}
.lead-status:empty {
  margin: 0;
}
.lead-status:not(:empty) {
  padding: 0.8rem;
  margin: 1rem 0 0;
  border-radius: 5px;
  color: #772237;
  background: #fff1f1;
  font-size: 0.91rem;
  line-height: 1.5;
}
.lead-submit,
.lead-receipt button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  background: var(--lead-accent);
  color: white;
  font: inherit;
  font-weight: 590;
  padding: 0.7rem 1.3rem;
  margin-top: 1.2rem;
  cursor: pointer;
}
.lead-submit:hover,
.lead-receipt button:hover {
  background: #3033a6;
}
.lead-submit:disabled {
  opacity: 0.7;
  cursor: progress;
}
.lead-receipt > h3 {
  margin: 1.5rem 0 0.6rem;
}
.lead-receipt p {
  line-height: 1.6;
  overflow-wrap: anywhere;
}
@media (max-width: 860px) {
  .lead-layout {
    grid-template-columns: 1fr;
    max-width: 700px;
    gap: 2rem;
  }
  .lead-prompts {
    display: none;
  }
  .lead-tour {
    margin-top: 1rem;
  }
  .lead-intro > p:first-of-type {
    margin-bottom: 1rem;
  }
}
@media (max-width: 480px) {
  .lead-layout {
    padding-inline: 17px;
  }
  .lead-sheet {
    padding: 19px 16px;
    border-radius: 14px;
  }
  .lead-grid {
    grid-template-columns: 1fr;
  }
  .lead-submit {
    width: 100%;
  }
}

.lead-identity { display: grid; gap: .4rem; margin-top: 1.25rem; font-style: normal; font-size: .95rem; }
.lead-identity a { color: var(--blue); text-decoration: underline; width: fit-content; }
