/* MANIFEST billing — purchase, comparison, FAQ and footer. */
.bill-section-title {
  margin: 0 0 32px;
  color: var(--text, #f2f2f2);
  text-align: center;
  font-size: 28px;
  font-weight: 500;
  line-height: 32px;
}
.bill-section-sub {
  margin: -16px auto 32px;
  max-width: 720px;
  color: var(--muted, #999);
  text-align: center;
  font-size: 14px;
  line-height: 18px;
}
.bill-purchase,
.bill-comparison,
.bill-enterprise {
  padding-top: 64px;
  scroll-margin-top: 0;
}
.bill-purchase .topup-tiers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.topup-pack {
  min-width: 0;
  padding: 24px 16px 16px;
  border-radius: 20px;
  background: var(--card, #131417);
  color: var(--text, #f2f2f2);
}
.topup-amount {
  margin: 0;
  font-size: 40px;
  font-weight: 500;
  line-height: 52px;
}
.topup-pack .t-cr {
  min-height: 20px;
  margin: 12px 0 28px;
  color: var(--text, #f2f2f2);
  font-size: 14px;
  line-height: 20px;
}
.topup-pack > .topup-btn,
.topup-custom-btn,
.compare-subscribe,
.bill-enterprise-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 20px;
  border: 0;
  border-radius: 25px;
  background: var(--rainbow, linear-gradient(90deg, #ff9bb2, #ffd28d, #edf0a0, #9be6be, #91d8ff, #baa8ff));
  color: #111216;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: filter .15s ease, opacity .15s ease;
}
.topup-pack > .topup-btn {
  width: 100%;
}
.topup-pack > .topup-btn:hover,
.topup-custom-btn:hover,
.compare-subscribe:hover,
.bill-enterprise-cta:hover {
  filter: brightness(1.08);
}
.topup-pack > .topup-btn:disabled,
.topup-custom-btn:disabled,
.compare-subscribe:disabled {
  background: #2b2c2e;
  color: rgba(255,255,255,.45);
  cursor: default;
  filter: none;
}
.topup-pack > .topup-btn.loading,
.topup-custom-btn.loading {
  opacity: .65;
  cursor: progress;
}
.topup-custom {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.topup-custom-field {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 25px;
  background: #18191c;
}
.topup-custom-dollar {
  color: var(--muted, #999);
  font-size: 14px;
  line-height: 20px;
}
.topup-custom-input {
  width: 144px;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text, #f2f2f2);
  font: inherit;
  font-size: 14px;
  line-height: 20px;
}
.topup-custom-input::placeholder {
  color: #85858a;
}
.topup-custom-field:focus-within {
  border-color: #91d8ff;
}
.topup-custom-hint {
  color: var(--muted, #999);
  font-size: 12px;
  line-height: 18px;
}
.bill-purchase > .bill-note {
  max-width: 880px;
  margin: 20px auto 0;
  color: var(--muted, #999);
  text-align: center;
  font-size: 12px;
  line-height: 18px;
}
.bill-renew-disclosure,
.bill-renew-management {
  margin: 16px 0 0;
  color: var(--muted, #999);
  font-size: 12px;
  line-height: 18px;
}
.bill-renew-disclosure strong {
  color: var(--text, #f2f2f2);
  font-weight: 500;
}
.bill-renew-management a,
.bill-renew-disclosure a,
.bill-faq-answer a,
.bill-note a {
  color: inherit;
  text-underline-offset: 3px;
}
.bill-renew-management a:hover,
.bill-faq-answer a:hover,
.bill-note a:hover {
  color: #91d8ff;
}
.bill-banner {
  display: none;
  margin: 20px 0;
  padding: 14px 18px;
  border: 1px solid rgba(145,216,255,.3);
  border-radius: 12px;
  background: #18191c;
  color: var(--text, #f2f2f2);
  font-size: 14px;
  line-height: 20px;
}
.bill-banner.ok {
  border-color: rgba(155,230,190,.4);
  color: #b4edce;
}
.bill-banner.warn {
  border-color: rgba(255,155,178,.4);
  color: #ffc2d0;
}
.bill-enterprise {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 24px;
  margin-top: 64px;
  border-radius: 20px;
  background: #18191c;
}
.bill-enterprise h2 {
  margin: 0 0 8px;
  color: var(--text, #f2f2f2);
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
}
.bill-enterprise p {
  max-width: 740px;
  margin: 0;
  color: var(--muted, #999);
  font-size: 14px;
  line-height: 20px;
}
.bill-enterprise-cta {
  flex-shrink: 0;
  min-width: 136px;
}
.bill-comparison > .bill-section-title {
  margin-bottom: 16px;
  font-weight: 700;
}
.bill-comparison > .bill-section-sub {
  margin-top: 0;
}
.bill-table-scroll {
  width: 100%;
  overflow-x: auto;
  border-radius: 20px 20px 0 0;
  scrollbar-width: thin;
  scrollbar-color: #45464c #18191c;
  overscroll-behavior-x: contain;
}
.bill-comparison-table {
  width: 100%;
  min-width: 1050px;
  border-collapse: collapse;
  table-layout: fixed;
  color: var(--text, #f2f2f2);
  font-size: 14px;
  line-height: 20px;
}
.bill-comparison-table col:first-child {
  width: 200px;
}
.bill-comparison-table th,
.bill-comparison-table td {
  padding: 16px;
  border-right: 1px solid rgba(0,0,0,.25);
  text-align: left;
  vertical-align: middle;
  overflow-wrap: anywhere;
}
.bill-comparison-table th:last-child,
.bill-comparison-table td:last-child {
  border-right: 0;
}
.bill-comparison-table thead th {
  position: relative;
  height: 308px;
  padding-top: 32px;
  background: #18191c;
  vertical-align: top;
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
}
.bill-comparison-table thead th:first-child {
  background: #131417;
}
.compare-tagline {
  min-height: 36px;
  margin: 12px 0 24px;
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
}
.bill-comparison-table [data-compare-price] {
  display: inline-block;
  color: var(--text, #f2f2f2);
  font-size: 36px;
  font-weight: 500;
  line-height: 48px;
  letter-spacing: -.02em;
}
.bill-comparison-table [data-compare-detail] {
  display: block;
  min-height: 36px;
  margin-top: 8px;
  color: var(--muted, #999);
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
}
.bill-comparison-table .compare-subscribe {
  width: 100%;
  margin-top: 24px;
}
.bill-comparison-table .compare-subscribe[data-subscribe-plan="free"],
.bill-comparison-table a.compare-subscribe:not([data-subscribe-plan]) {
  background: #303135;
  color: var(--text, #f2f2f2);
}
.bill-comparison-table tbody th {
  font-weight: 400;
}
.bill-comparison-table tbody tr:nth-child(odd) > * {
  background-color: #25262a;
}
.bill-comparison-table tbody tr:nth-child(even) > * {
  background-color: #18191c;
}
.bill-comparison-table .recommended-column {
  border-left: 5px solid #9be6be;
  border-right: 5px solid #91d8ff;
  border-image: var(--rainbow, linear-gradient(90deg, #ff9bb2, #ffd28d, #edf0a0, #9be6be, #91d8ff, #baa8ff)) 1;
}
.compare-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px;
  margin: -32px -16px 16px;
  background: var(--rainbow, linear-gradient(90deg, #ff9bb2, #ffd28d, #edf0a0, #9be6be, #91d8ff, #baa8ff));
  color: #111216;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}
.bill-comparison-table tbody tr.bill-table-group > th {
  padding: 24px 12px;
  border: 0;
  background: var(--page, #0c0d10);
  color: var(--text, #f2f2f2);
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
}
.bill-comparison-table td strong {
  color: #b9deed;
  font-weight: 600;
}
.bill-comparison-table .compare-yes {
  color: #9be6be;
}
.bill-comparison-table .compare-no {
  color: #ff9bb2;
}
.bill-faq {
  padding: 64px 0 116px;
  scroll-margin-top: 0;
}
.bill-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bill-faq-item {
  padding: 24px;
  border-radius: 12px;
  background: #18191c;
}
.bill-faq-item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--text, #f2f2f2);
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  list-style: none;
  cursor: pointer;
}
.bill-faq-item > summary::-webkit-details-marker {
  display: none;
}
.bill-faq-item > summary::marker {
  content: '';
}
.bill-faq-item > summary svg {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  transition: transform .15s ease;
}
.bill-faq-item[open] > summary svg {
  transform: rotate(180deg);
}
.bill-faq-answer {
  max-width: 100%;
  margin-top: 16px;
  color: #d2d2d5;
  font-size: 14px;
  line-height: 20px;
}
.bill-faq-answer p {
  margin: 0 0 12px;
}
.bill-faq-answer p:last-child {
  margin-bottom: 0;
}
.pricing-footer {
  padding: 48px 40px 24px;
  background: #090a0c;
  color: var(--text, #f2f2f2);
}
.pricing-footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 2fr) repeat(2, minmax(160px, 1fr));
  gap: 48px;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}
.pricing-footer-brand {
  max-width: 320px;
  min-width: 0;
}
.pricing-footer-brand img {
  width: 44px;
  height: 36px;
  object-fit: contain;
  vertical-align: middle;
}
.pricing-footer-brand > span {
  margin-left: 8px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .04em;
  vertical-align: middle;
}
.pricing-footer-brand p {
  margin: 16px 0 0;
  color: var(--muted, #999);
  font-size: 14px;
  line-height: 20px;
}
.pricing-footer-column h3 {
  margin: 0 0 16px;
  color: var(--muted, #999);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}
.pricing-footer-column a {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-top: 10px;
  color: var(--text, #f2f2f2);
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.pricing-footer-column a:hover,
.pricing-footer-bottom a:hover {
  color: #91d8ff;
}
.pricing-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 1600px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: var(--muted, #999);
  font-size: 12px;
  line-height: 18px;
}
.pricing-footer-bottom p {
  margin: 0;
}
.pricing-footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.pricing-footer-bottom a {
  color: inherit;
  text-decoration: none;
}
.topup-pack > .topup-btn:focus-visible,
.topup-custom-btn:focus-visible,
.compare-subscribe:focus-visible,
.bill-enterprise-cta:focus-visible,
.bill-faq-item > summary:focus-visible,
.pricing-footer-column a:focus-visible,
.pricing-footer-bottom a:focus-visible {
  outline: 2px solid #91d8ff;
  outline-offset: 3px;
}
@media (max-width: 1099px) {
  .pricing-footer-grid {
    grid-template-columns: minmax(240px, 1.5fr) repeat(2, minmax(140px, 1fr));
    gap: 24px;
  }
}
@media (max-width: 767px) {
  .bill-purchase .topup-tiers {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .topup-pack {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr) 96px;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 16px;
  }
  .topup-amount {
    font-size: 28px;
    line-height: 36px;
  }
  .topup-pack .t-cr {
    min-height: 0;
    margin: 0;
    font-size: 12px;
    line-height: 18px;
  }
  .topup-pack > .topup-btn {
    min-height: 36px;
    padding: 8px 12px;
    font-size: 12px;
    line-height: 20px;
  }
  .topup-custom {
    justify-content: flex-start;
    gap: 10px;
  }
  .topup-custom-field {
    flex: 1 1 160px;
  }
  .topup-custom-input {
    width: 100%;
  }
  .topup-custom-hint {
    flex: 1 1 100px;
  }
  .topup-custom-btn {
    flex: 0 0 auto;
    min-width: 96px;
  }
  .bill-purchase > .bill-note {
    text-align: left;
  }
  .bill-enterprise {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    padding: 24px;
  }
  .bill-faq-item {
    padding: 24px 20px;
  }
  .bill-faq-item > summary {
    gap: 16px;
    font-size: 16px;
    line-height: 22px;
  }
  .pricing-footer {
    padding: 40px 16px 24px;
  }
  .pricing-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }
  .pricing-footer-brand {
    grid-column: 1 / -1;
  }
  .pricing-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 32px;
  }
}
@media (max-width: 359px) {
  .topup-pack {
    grid-template-columns: 58px minmax(0, 1fr) 82px;
    gap: 8px;
    padding: 14px 12px;
  }
  .topup-amount {
    font-size: 26px;
  }
  .topup-pack > .topup-btn {
    padding-inline: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .topup-pack > .topup-btn,
  .topup-custom-btn,
  .compare-subscribe,
  .bill-enterprise-cta,
  .bill-faq-item > summary svg {
    transition: none;
  }
}

/* Match the reference's mixed-size price typography and align the comparison CTAs. */
.bill-comparison-table [data-compare-price]{display:inline-flex;align-items:baseline;font-size:40px;line-height:44px;font-weight:500}
.bill-comparison-table .compare-currency-mark,.bill-comparison-table .bill-price-decimal{font-size:20px;line-height:24px}
.compare-price-row{display:flex;align-items:baseline;gap:6px}
.compare-period{font-size:14px;line-height:18px;color:var(--muted);font-weight:400;white-space:nowrap}
.bill-comparison-table thead th{padding-top:54px}
.compare-ribbon{position:absolute;left:0;right:0;top:0;height:38px;margin:0}
