:root {
  color-scheme: light;
  --red: #bb3047;
  --ink: #252b36;
  --muted: #747b87;
  --line: #e7e8eb;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
p,
h1,
h2,
h3 {
  margin: 0;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 5px;
}
.shell {
  width: min(1180px, calc(100% - 80px));
  margin-inline: auto;
}
.skip {
  position: fixed;
  top: 8px;
  left: 12px;
  z-index: 10;
  background: white;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.skip:focus {
  width: auto;
  height: auto;
  padding: 12px;
  clip-path: none;
}
.header {
  display: flex;
  align-items: center;
  gap: 34px;
  min-height: 104px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand img {
  display: block;
  width: 174px;
  height: 58px;
  object-fit: contain;
}
.brand > span {
  padding-left: 20px;
  border-left: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.header nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 13px;
}
.header nav a:hover,
.text-link:hover {
  color: var(--red);
}
.community-link {
  font-size: 13px;
  border: 1px solid var(--line);
  padding: 11px 16px;
  border-radius: 4px;
  white-space: nowrap;
}
.community-link span {
  margin-left: 16px;
}
.community-link:hover {
  border-color: var(--red);
  color: var(--red);
}
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 100px;
  padding-block: 72px 76px;
  align-items: center;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 1.6px;
  color: var(--red);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow i {
  width: 18px;
  height: 2px;
  background: var(--red);
}
h1 {
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.3;
  font-weight: 650;
  letter-spacing: -1px;
  margin-top: 24px;
}
h1 span {
  color: var(--red);
}
.intro {
  margin-top: 24px;
  color: var(--muted);
  line-height: 1.9;
  font-size: 14px;
  max-width: 470px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 30px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px 19px;
  border-radius: 4px;
  font-size: 13px;
  border: 1px solid transparent;
  line-height: 1.5;
}
.primary {
  background: var(--red);
  color: #fff;
}
.primary:hover {
  background: #a7283e;
}
.outline {
  border-color: #e3d9db;
  color: var(--red);
  background: #fff;
}
.outline:hover {
  border-color: var(--red);
  background: #fdf8f9;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-size: 12px;
  line-height: 1.6;
  white-space: nowrap;
}
.services {
  border-top: 2px solid var(--ink);
}
.services > a {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.services .index {
  font-size: 12px;
  color: var(--red);
  align-self: flex-start;
  padding-top: 4px;
}
.services h2 {
  font-size: 19px;
  font-weight: 600;
}
.services p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  margin-top: 9px;
}
.services .arrow {
  margin-left: auto;
  color: #8f939b;
  font-size: 20px;
}
.services a:hover h2 {
  color: var(--red);
}
.section {
  padding-block: 58px;
}
.membership {
  background: #f8f8f7;
  border-block: 1px solid #efefed;
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  margin-bottom: 30px;
}
.section-head h2,
.help h2 {
  font-size: 27px;
  line-height: 1.4;
  font-weight: 600;
  margin-top: 10px;
  letter-spacing: -0.4px;
}
.section-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  margin-top: 12px;
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
.plan {
  padding: 24px 22px;
  border: 1px solid #e3e4e5;
  background: #fff;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
}
.plan.recommended {
  border-color: var(--red);
  border-top-width: 3px;
  padding-top: 22px;
}
.plan-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 23px;
  gap: 8px;
}
.plan h3 {
  font-size: 17px;
  font-weight: 600;
}
.tag {
  padding: 3px 7px;
  background: #faf0f2;
  color: var(--red);
  font-size: 10px;
  white-space: nowrap;
  border-radius: 2px;
}
.price {
  display: flex;
  align-items: baseline;
  margin-top: 23px;
  gap: 3px;
}
.price > span {
  font-size: 16px;
}
.price strong {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
}
.price small {
  margin-left: 4px;
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
.plan-description {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  min-height: 66px;
  margin-top: 14px;
}
.benefits {
  margin-block: 14px 20px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.benefits summary {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  cursor: pointer;
  color: #505967;
  list-style: none;
}
.benefits summary::-webkit-details-marker,
.help summary::-webkit-details-marker {
  display: none;
}
.benefits ul {
  font-size: 11px;
  line-height: 1.9;
  padding-left: 15px;
  color: var(--muted);
  margin: 16px 0 0;
}
.benefits li + li {
  margin-top: 8px;
}
.benefits[open] summary > span,
.help details[open] summary > span {
  transform: rotate(45deg);
}
.plan .button {
  width: 100%;
  margin-top: auto;
  padding-inline: 13px;
  font-size: 12px;
  gap: 10px;
}
.catalog-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 20px;
}
.catalog-empty {
  border: 1px solid var(--line);
  padding: 30px;
  border-radius: 5px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}
.catalog-empty a {
  margin-top: 14px;
  color: var(--red);
}
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.course {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
}
.course-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--red);
}
.course-label > span:last-child {
  color: #b4b6bc;
}
.course h3 {
  font-size: 19px;
  line-height: 1.6;
  font-weight: 600;
  margin-top: 22px;
}
.course h3 a:hover {
  color: var(--red);
}
.course > p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
  margin-top: 12px;
  margin-bottom: 25px;
}
.course-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}
.course-bottom strong {
  font-size: 23px;
  font-weight: 500;
}
.course-bottom small {
  font-size: 14px;
  margin-right: 3px;
}
.help {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 90px;
  padding-block: 50px 70px;
}
.help-heading > p:not(.eyebrow) {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
  margin-top: 16px;
}
.help-heading > a {
  margin-top: 24px;
  color: var(--red);
}
.help-content details {
  border-bottom: 1px solid var(--line);
  padding-block: 21px;
}
.help-content details:first-child {
  padding-top: 0;
}
.help summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.7;
}
.help summary > span {
  color: var(--red);
  flex-shrink: 0;
}
.help details p {
  font-size: 12px;
  color: var(--muted);
  line-height: 2;
  margin-top: 14px;
  padding-right: 36px;
}
footer {
  background: #f8f8f7;
  border-top: 1px solid #eeefec;
}
.contact {
  padding-block: 36px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}
.contact h2 {
  font-size: 21px;
  font-weight: 600;
}
.contact p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}
.contact-methods {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}
.contact-methods > div,
.contact-methods > a:not(.text-link) {
  display: grid;
  gap: 9px;
  font-size: 12px;
}
.contact-methods span {
  color: var(--muted);
  font-size: 11px;
}
.contact-methods strong {
  font-weight: 500;
  overflow-wrap: anywhere;
}
.contact-methods > a:hover {
  color: var(--red);
}
.footer-bottom {
  border-top: 1px solid #e5e6e4;
  padding-block: 21px;
  color: #8a8f96;
  font-size: 10px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  line-height: 1.8;
}
.footer-bottom > div {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-bottom a:hover {
  color: var(--red);
}
@media (max-width: 1100px) {
  .header {
    gap: 20px;
  }
  .header nav {
    gap: 18px;
  }
  .brand > span {
    display: none;
  }
  .hero {
    gap: 55px;
  }
  .plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .plan-description {
    min-height: 44px;
  }
  .contact {
    align-items: flex-start;
    flex-direction: column;
  }
  .help {
    gap: 50px;
  }
  .course-grid {
    gap: 15px;
  }
  .course {
    padding: 20px;
  }
}
@media (max-width: 700px) {
  .shell {
    width: calc(100% - 40px);
  }
  .header {
    min-height: 86px;
    flex-wrap: wrap;
    gap: 0;
    justify-content: space-between;
    padding-block: 8px 16px;
  }
  .brand img {
    width: 142px;
    height: 48px;
  }
  .community-link {
    font-size: 11px;
    padding: 8px 12px;
  }
  .header nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 28px;
    margin-top: 12px;
    font-size: 12px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-block: 40px;
  }
  .hero h1 {
    font-size: 42px;
    margin-top: 18px;
  }
  .intro {
    font-size: 13px;
    margin-top: 20px;
  }
  .hero-actions {
    margin-top: 22px;
    gap: 24px;
  }
  .services > a {
    padding-block: 20px;
    gap: 18px;
  }
  .services h2 {
    font-size: 17px;
  }
  .section {
    padding-block: 38px;
  }
  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 22px;
  }
  .section-head h2,
  .help h2 {
    font-size: 23px;
  }
  .plan-grid,
  .course-grid {
    grid-template-columns: 1fr;
  }
  .plan {
    padding: 24px;
  }
  .plan.recommended {
    padding-top: 22px;
  }
  .plan-description {
    min-height: 0;
  }
  .plan-heading h3 {
    font-size: 19px;
  }
  .price {
    margin-top: 16px;
  }
  .price strong {
    font-size: 38px;
  }
  .benefits {
    margin-top: 20px;
  }
  .plan .button {
    padding-block: 13px;
  }
  .help {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 42px;
  }
  .help details p {
    padding-right: 0;
  }
  .course h3 {
    margin-top: 16px;
  }
  .contact {
    padding-block: 30px;
    gap: 24px;
  }
  .contact-methods {
    gap: 22px 30px;
  }
  .contact-methods > .text-link {
    width: 100%;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    padding-block: 20px;
  }
  .footer-bottom > div {
    gap: 6px;
    flex-direction: column;
  }
  .catalog-empty {
    padding: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
