.public-pricing {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 96px;
  padding: 76px 0 8px;
  color: #172437;
}

.public-section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.public-section-heading > span {
  color: #9eb0ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}

.public-section-heading h2 {
  margin: 10px 0 12px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -.045em;
  color: #f7f9ff;
}

.public-section-heading p {
  margin: 0;
  color: rgba(231, 237, 255, .78);
  font-size: 16px;
  line-height: 1.8;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.pricing-card {
  position: relative;
  display: flex;
  min-height: 380px;
  flex-direction: column;
  padding: 28px 24px;
  overflow: hidden;
  border: 1px solid rgba(190, 205, 255, .16);
  border-radius: 24px;
  background: linear-gradient(155deg, rgba(34, 52, 96, .9), rgba(21, 29, 62, .94));
  box-shadow: 0 24px 58px rgba(3, 10, 33, .24), inset 0 1px 0 rgba(255, 255, 255, .12);
  backdrop-filter: blur(18px);
}

.pricing-card-featured {
  border-color: rgba(173, 158, 255, .38);
  background: linear-gradient(155deg, rgba(60, 54, 126, .94), rgba(35, 31, 82, .96));
  box-shadow: 0 28px 68px rgba(24, 18, 73, .34), inset 0 1px 0 rgba(255, 255, 255, .15);
}

.pricing-card-free {
  background: linear-gradient(155deg, rgba(22, 70, 82, .92), rgba(20, 35, 70, .96));
}

.pricing-card:nth-child(2) {
  background: linear-gradient(155deg, rgba(31, 65, 116, .92), rgba(21, 32, 70, .96));
}

.pricing-card:nth-child(4) {
  background: linear-gradient(155deg, rgba(75, 48, 102, .92), rgba(37, 29, 72, .96));
}

.pricing-label {
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  color: #c3d0ff;
  background: rgba(173, 190, 255, .12);
  font-size: 12px;
  font-weight: 750;
}

.pricing-card h3 {
  margin: 20px 0 14px;
  font-size: 22px;
  color: #f7f9ff;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0;
}

.pricing-price strong {
  color: #fff;
  font-size: 38px;
  letter-spacing: -.04em;
}

.pricing-price small,
.pricing-annual {
  color: rgba(218, 227, 251, .68);
}

.pricing-annual {
  min-height: 42px;
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.55;
}

.pricing-card ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(202, 214, 255, .13);
  list-style: none;
}

.pricing-card li {
  position: relative;
  padding-left: 20px;
  color: rgba(231, 237, 255, .84);
  font-size: 13px;
  line-height: 1.55;
}

.pricing-card li::before {
  position: absolute;
  left: 0;
  color: #88efd5;
  content: "✓";
  font-weight: 800;
}

.service-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid rgba(191, 205, 255, .16);
  border-radius: 18px;
  background: rgba(176, 192, 255, .12);
  box-shadow: 0 20px 48px rgba(3, 10, 33, .18);
}

.service-facts span {
  display: flex;
  min-height: 92px;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 18px 20px;
  background: linear-gradient(145deg, rgba(34, 49, 91, .94), rgba(24, 31, 66, .96));
}

.service-facts small {
  color: rgba(201, 213, 243, .62);
  font-size: 11px;
}

.service-facts strong {
  color: rgba(246, 248, 255, .92);
  font-size: 13px;
  line-height: 1.55;
}

.pricing-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 24px;
}

.pricing-primary,
.pricing-secondary {
  text-decoration: none;
}

.pricing-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  min-width: 250px;
  padding: 16px 20px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #5875e4, #7655d9);
  box-shadow: 0 16px 34px rgba(82, 96, 194, .22);
  font-size: 14px;
  font-weight: 750;
}

.pricing-secondary {
  color: rgba(234, 239, 255, .82);
  font-size: 13px;
  font-weight: 650;
}

.business-footer {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) minmax(300px, auto) auto;
  align-items: center;
  gap: 26px;
}

.footer-business-copy {
  display: grid;
  gap: 5px;
}

.footer-business-copy p {
  margin: 0;
  color: rgba(229, 236, 255, .72);
  font-size: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px 16px;
}

.business-footer .footer-links a,
.business-footer .footer-top {
  color: rgba(237, 241, 255, .78);
  font-size: 12px;
  text-decoration: none;
}

.business-footer .footer-links a:hover,
.business-footer .footer-top:hover,
.pricing-secondary:hover,
.modal-register:hover {
  color: #fff;
}

.modal-register {
  display: block;
  margin-top: 12px;
  color: #5b6d87;
  font-size: 13px;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
}

.compliance-document {
  min-height: 100vh;
  margin: 0;
  color: #18263a;
  background: #f3f6fb;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.document-header,
.document-main,
.document-footer {
  width: min(920px, calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
}

.document-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
}

.document-brand {
  color: #18263a;
  font-size: 20px;
  font-weight: 850;
  text-decoration: none;
}

.document-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.document-header nav a,
.document-footer a {
  color: #53657d;
  font-size: 13px;
  text-decoration: none;
}

.document-main {
  display: grid;
  gap: 18px;
  padding-bottom: 48px;
}

.document-hero,
.document-card {
  border: 1px solid rgba(80, 104, 139, .14);
  border-radius: 24px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 20px 55px rgba(39, 57, 83, .07);
}

.document-hero {
  padding: 46px;
}

.document-hero span {
  color: #526bd0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}

.document-hero h1 {
  margin: 12px 0;
  font-size: clamp(32px, 6vw, 52px);
  line-height: 1.08;
}

.document-hero p,
.document-card p,
.document-card li {
  color: #56667c;
  line-height: 1.85;
}

.document-card {
  padding: 34px 40px;
  scroll-margin-top: 20px;
}

.document-card h2 {
  margin: 0 0 18px;
  font-size: 24px;
}

.document-card h3 {
  margin: 26px 0 8px;
  font-size: 16px;
}

.document-card p,
.document-card li {
  font-size: 14px;
}

.document-card ul,
.document-card ol {
  padding-left: 22px;
}

.document-note {
  padding: 16px 18px;
  border-radius: 14px;
  background: #f3f6ff;
}

.document-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0 34px;
  border-top: 1px solid rgba(80, 104, 139, .14);
  color: #718096;
  font-size: 12px;
}

@media (max-width: 980px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .business-footer {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .public-pricing {
    width: min(100% - 28px, 1180px);
    margin-bottom: 60px;
    padding-top: 52px;
  }

  .pricing-grid,
  .service-facts {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    min-height: 0;
  }

  .pricing-actions,
  .document-header,
  .document-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .pricing-primary {
    width: 100%;
    box-sizing: border-box;
  }

  .document-header nav {
    gap: 10px 14px;
  }

  .document-hero,
  .document-card {
    padding: 28px 22px;
    border-radius: 18px;
  }
}
