.entry-page {
  --entry-ink: #172e29;
  --entry-muted: #435c54;
  --entry-green: #1c5545;
  --entry-paper: #f8f6ef;
  --entry-border: #dce5dc;
  color: var(--entry-ink);
  background: var(--entry-paper);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
}

.entry-page.entry-hq {
  --entry-paper: #eef3f0;
  background: var(--entry-paper);
}

.entry-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: min(100% - 3rem, 1040px);
  margin-inline: auto;
  padding: 20px 0;
  border-bottom: 1px solid var(--entry-border);
}

.entry-brand,
.entry-switch {
  color: var(--entry-ink);
  text-decoration: none;
}

.entry-brand .logo {
  display: flex;
  gap: 12px;
  color: inherit;
}

.entry-brand .brand-mark {
  background: var(--entry-green);
  color: #fff;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
}

.entry-brand .logo strong {
  display: block;
  font-size: 18px;
  letter-spacing: .025em;
}

.entry-brand .logo small {
  display: block;
  color: var(--entry-muted);
  font-size: 9px;
  letter-spacing: .13em;
  font-weight: 600;
}

.entry-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 8px;
  white-space: nowrap;
  font-size: 14px;
}

.entry-switch:hover,
.entry-signup button:hover {
  background: #e7eee7;
}

.entry-switch .icon {
  width: 16px;
  height: 16px;
}

.entry-layout {
  width: min(100% - 3rem, 1040px);
  margin: auto;
  padding: clamp(34px, 6vh, 74px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  align-items: center;
  column-gap: clamp(36px, 8vw, 104px);
}

.entry-hq .entry-layout {
  display: block;
  width: min(100% - 3rem, 390px);
  padding-block: 36px 72px;
}

.entry-promo h1 {
  margin: 0;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", "SimSun", serif;
  font-size: clamp(41px, 4.7vw, 68px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.035em;
  color: var(--entry-ink);
}

.entry-promo > p {
  max-width: 32em;
  margin: 16px 0 24px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--entry-muted);
}

.entry-course-benefits {
  display: grid;
  gap: 7px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  color: var(--entry-ink);
  font-size: 14px;
  line-height: 1.55;
}

.entry-course-benefits li {
  padding-left: 13px;
  border-left: 2px solid #8cab9b;
}

.entry-course-hero {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  object-position: center 67%;
  border-radius: 12px;
  background: #decdb4;
}

.entry-panel {
  padding: clamp(23px, 3.2vw, 39px);
  border: 1px solid var(--entry-border);
  border-top: 3px solid var(--entry-green);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 36px #19372a0b;
}

.entry-hq .entry-panel {
  border-top: 1px solid var(--entry-border);
}

.entry-panel h1,
.entry-panel h2 {
  margin: 0 0 23px;
  font-size: clamp(23px, 2.7vw, 31px);
  line-height: 1.3;
}

.entry-fields {
  display: grid;
  gap: 16px;
}

.entry-field {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--entry-ink);
  font-weight: 650;
  font-size: 14px;
}

.entry-field input {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid #b6c8bf;
  border-radius: 8px;
  color: var(--entry-ink);
  background: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 400;
}

.entry-field input::placeholder {
  color: #657a72;
}

.entry-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--entry-green);
  font-size: 15px;
  font-weight: 650;
}

.entry-submit:hover {
  background: #154436;
}

.entry-submit:disabled {
  opacity: .65;
  cursor: wait;
}

.entry-submit .icon {
  width: 17px;
  height: 17px;
}

.entry-error {
  color: #9c211f;
  line-height: 1.5;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.entry-error:empty {
  display: none;
}

.entry-signup {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 20px;
  padding-top: 11px;
  border-top: 1px solid var(--entry-border);
  color: var(--entry-muted);
  font-size: 13px;
}

.entry-signup button {
  padding: 0 9px;
  min-height: 44px;
  border: 0;
  border-radius: 7px;
  color: var(--entry-green);
  background: transparent;
  font-size: inherit;
  font-weight: 650;
}

.entry-demo {
  margin-top: 12px;
}

.entry-page :focus-visible {
  outline: 2px solid #1e6d57;
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .entry-header {
    width: calc(100% - 2rem);
    padding-block: 12px;
  }

  .entry-switch {
    padding-inline: 5px;
    font-size: 13px;
  }

  .entry-layout {
    width: min(100% - 2rem, 460px);
    margin-block: 0 auto;
    padding-block: 22px 34px;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .entry-store .entry-panel {
    order: -1;
  }

  .entry-promo h1 {
    font-size: clamp(33px, 9vw, 46px);
  }

  .entry-promo > p {
    margin-block: 12px 17px;
  }

  .entry-hq .entry-layout {
    margin: auto;
  }
}

.entry-password-help {
  align-self: flex-end;
  padding: 6px 0;
  color: #245945;
  font: inherit;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
