.bg-page,
.bg-page * {
  box-sizing: border-box;
}

.bg-page {
  overflow-x: clip;
  color: #aaa8b3;
  background: #09090b;
  font-family: "Poppins", sans-serif;
}

.bg-shell {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.bg-hero {
  position: relative;
  padding: 48px 0 70px;
  border-bottom: 1px solid #29282e;
  background:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px),
    radial-gradient(circle at 18% 25%, rgba(109,93,252,0.12), transparent 34%),
    #0b0b0e;
  background-size: 42px 42px, 42px 42px, auto, auto;
}

.bg-hero-glow {
  position: absolute;
  top: -230px;
  right: 1%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(130,115,255,0.17), transparent 69%);
  pointer-events: none;
}

.bg-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 42px;
  color: #696772;
  font-size: 0.65rem;
}

.bg-breadcrumbs a {
  color: #9896a2;
  text-decoration: none;
}

.bg-breadcrumbs i {
  font-size: 0.43rem;
}

.bg-breadcrumbs span {
  overflow: hidden;
  max-width: 330px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bg-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(325px, 0.7fr);
  align-items: center;
  gap: 68px;
}

.bg-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.bg-badges span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 29px;
  padding: 0 10px;
  border: 1px solid #3a3744;
  border-radius: 8px;
  color: #9f96e9;
  background: #191720;
  font-size: 0.56rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bg-hero h1 {
  max-width: 780px;
  margin: 0;
  color: #f5f4f9;
  font-size: clamp(2.45rem, 4.8vw, 4.45rem);
  font-weight: 650;
  letter-spacing: -0.06em;
  line-height: 1.04;
}

.bg-description {
  max-width: 760px;
  margin: 20px 0 0;
  color: #aaa6b4;
  font-size: 0.8rem;
  line-height: 1.75;
}

.bg-quick-preview {
  max-width: 780px;
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid #393542;
  border-radius: 12px;
  background: rgba(18,17,22,0.78);
}

.bg-quick-preview > span {
  color: #9e93ec;
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.bg-quick-preview p {
  display: -webkit-box;
  margin: 7px 0 0;
  overflow: hidden;
  color: #8f8c98;
  font-size: 0.68rem;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.bg-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}

.bg-hero-actions > a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  color: #fff;
  background: #6d5dfc;
  box-shadow: 0 13px 32px rgba(109,93,252,0.2);
  font-size: 0.68rem;
  font-weight: 650;
  text-decoration: none;
}

.bg-hero-actions > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #77747f;
  font-size: 0.61rem;
}

.bg-hero-actions > span i {
  color: #8f84e7;
}

.bg-hero-actions > span strong {
  color: #b9b4ca;
}

.bg-plan-card {
  overflow: hidden;
  padding: 24px;
  border: 1px solid #403b50;
  border-radius: 20px;
  background:
    radial-gradient(circle at 90% 0%, rgba(109,93,252,0.13), transparent 32%),
    rgba(20,19,25,0.94);
  box-shadow: 0 28px 70px rgba(0,0,0,0.3);
}

.bg-plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #a99fff;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.bg-plan-head i {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #4c4562;
  border-radius: 9px;
  background: #24202f;
}

.bg-plan-card h2 {
  margin: 18px 0 10px;
  color: #f2f0f6;
  font-size: 1.5rem;
  letter-spacing: -0.045em;
  line-height: 1.2;
}

.bg-plan-card > p {
  margin: 0;
  color: #898691;
  font-size: 0.65rem;
  line-height: 1.7;
}

.bg-plan-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  padding: 17px 0;
  border-top: 1px solid #34313c;
  border-bottom: 1px solid #34313c;
  list-style: none;
}

.bg-plan-card li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #aaa7b3;
  font-size: 0.63rem;
}

.bg-plan-card li i {
  color: #9d92f4;
  font-size: 0.56rem;
}

.bg-plan-price {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.bg-plan-price div {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.bg-plan-price strong {
  color: #fff;
  font-size: 1.75rem;
  letter-spacing: -0.05em;
}

.bg-plan-price span,
.bg-plan-price p {
  color: #77747f;
  font-size: 0.57rem;
}

.bg-plan-price p {
  margin: 0 0 5px;
}

.bg-plan-card > a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 43px;
  margin-top: 15px;
  border-radius: 9px;
  color: #fff;
  background: #6d5dfc;
  font-size: 0.67rem;
  font-weight: 650;
  text-decoration: none;
}

.bg-plan-card > small {
  display: block;
  margin-top: 10px;
  color: #625f69;
  font-size: 0.5rem;
  line-height: 1.5;
  text-align: center;
}

.bg-content-area {
  padding: 64px 0 96px;
  background:
    radial-gradient(circle at 92% 15%, rgba(109,93,252,0.045), transparent 24%),
    #09090b;
}

.bg-content-grid {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  align-items: start;
  gap: 54px;
}

.bg-sidebar {
  position: sticky;
  top: 90px;
}

.bg-toc {
  overflow: hidden;
  border: 1px solid #302f36;
  border-radius: 15px;
  background: #111115;
}

.bg-toc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 17px 13px;
  border-bottom: 1px solid #29282f;
}

.bg-toc-head > span {
  color: #9e94ec;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.bg-toc-head button {
  display: none;
  border: 0;
  color: #aaa7b3;
  background: transparent;
  font: inherit;
  font-size: 0.63rem;
}

.bg-toc nav {
  max-height: calc(100vh - 205px);
  padding: 9px 7px;
  overflow-y: auto;
  scrollbar-color: #3c3848 transparent;
  scrollbar-width: thin;
}

.bg-toc nav a {
  display: grid;
  grid-template-columns: 25px 1fr;
  align-items: start;
  gap: 7px;
  padding: 8px 9px;
  border-radius: 8px;
  color: #777580;
  font-size: 0.57rem;
  line-height: 1.45;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease;
}

.bg-toc nav a > span {
  color: #514f58;
  font-family: monospace;
  font-size: 0.55rem;
}

.bg-toc nav a:hover,
.bg-toc nav a.active {
  color: #cec9ed;
  background: #201c2a;
}

.bg-toc nav a.active > span {
  color: #9e91fa;
}

.bg-back-library {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 17px;
  border-top: 1px solid #29282f;
  color: #9f96e9;
  font-size: 0.59rem;
  font-weight: 600;
  text-decoration: none;
}

.bg-article {
  min-width: 0;
}

.bg-section {
  padding: 0 0 46px;
  scroll-margin-top: 100px;
}

.bg-section + .bg-section {
  padding-top: 45px;
  border-top: 1px solid #28272d;
}

.bg-section-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 23px;
}

.bg-section-head > span {
  color: #766bea;
  font-family: monospace;
  font-size: 0.63rem;
}

.bg-section-head > div {
  min-width: 0;
}

.bg-section-head small {
  display: block;
  margin-bottom: 4px;
  color: #9e93ec;
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.bg-section-head h2 {
  margin: 0;
  color: #f0eff4;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 620;
  letter-spacing: -0.045em;
  line-height: 1.25;
}

.bg-prose > p {
  margin: 0 0 18px;
  color: #9996a2;
  font-size: 0.76rem;
  line-height: 1.95;
}

.bg-prose > p:last-child {
  margin-bottom: 0;
}

.bg-prose h3 {
  margin: 30px 0 12px;
  color: #d8d5e0;
  font-size: 1rem;
  font-weight: 620;
  letter-spacing: -0.02em;
}

.bg-list {
  display: grid;
  gap: 10px;
  margin: 19px 0 22px;
  padding: 0;
  list-style: none;
  counter-reset: guide-step;
}

.bg-list li {
  position: relative;
  min-height: 35px;
  padding: 8px 12px 8px 42px;
  border: 1px solid #2e2d34;
  border-radius: 9px;
  color: #96939e;
  background: #111115;
  font-size: 0.7rem;
  line-height: 1.65;
}

.bg-list.is-bulleted li::before {
  position: absolute;
  top: 13px;
  left: 17px;
  width: 7px;
  height: 7px;
  border: 2px solid #8174e9;
  border-radius: 50%;
  content: "";
}

.bg-list.is-numbered li {
  counter-increment: guide-step;
}

.bg-list.is-numbered li::before {
  position: absolute;
  top: 8px;
  left: 10px;
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border: 1px solid #49415e;
  border-radius: 6px;
  color: #a99fff;
  background: #1e1a28;
  content: counter(guide-step);
  font-size: 0.53rem;
  font-weight: 700;
}

.bg-table-wrap {
  margin: 21px 0 8px;
  overflow-x: auto;
  border: 1px solid #34323a;
  border-radius: 13px;
  background: #111115;
}

.bg-table-wrap table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
}

.bg-table-wrap th,
.bg-table-wrap td {
  padding: 13px 14px;
  border-right: 1px solid #2c2b31;
  border-bottom: 1px solid #2c2b31;
  text-align: left;
  vertical-align: top;
}

.bg-table-wrap th:last-child,
.bg-table-wrap td:last-child {
  border-right: 0;
}

.bg-table-wrap tbody tr:last-child td {
  border-bottom: 0;
}

.bg-table-wrap th {
  color: #bbb5e5;
  background: #1c1924;
  font-size: 0.6rem;
  font-weight: 650;
  letter-spacing: 0.03em;
}

.bg-table-wrap td {
  color: #8d8a95;
  font-size: 0.64rem;
  line-height: 1.6;
}

.bg-table-wrap td:first-child {
  color: #b7b2c1;
  font-weight: 650;
}

.bg-section.is-quick {
  margin-bottom: 45px;
  padding: 27px 29px 29px;
  border: 1px solid #443e58;
  border-radius: 17px;
  background:
    radial-gradient(circle at 100% 0%, rgba(109,93,252,0.11), transparent 32%),
    #15131a;
}

.bg-section.is-quick + .bg-section {
  border-top: 0;
}

.bg-section.is-quick .bg-prose > p:first-child {
  color: #c1bdc9;
  font-size: 0.82rem;
}

.bg-ranked-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.bg-ranked-grid article {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 17px;
  border: 1px solid #302f36;
  border-radius: 13px;
  background: #111115;
}

.bg-ranked-grid article.is-first {
  grid-column: 1 / -1;
  border-color: #504869;
  background:
    radial-gradient(circle at 100% 0%, rgba(109,93,252,0.1), transparent 36%),
    #17141d;
}

.bg-ranked-grid article > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #403a50;
  border-radius: 9px;
  color: #a99fff;
  background: #1d1a25;
  font-family: monospace;
  font-size: 0.62rem;
}

.bg-ranked-grid h3 {
  margin: 1px 0 5px;
  color: #dddbe3;
  font-size: 0.82rem;
}

.bg-ranked-grid p {
  margin: 0;
  color: #85828d;
  font-size: 0.64rem;
  line-height: 1.65;
}

.bg-ranked-grid b {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 5px 7px;
  border-radius: 6px;
  color: #c6beff;
  background: #302947;
  font-size: 0.5rem;
  letter-spacing: 0.1em;
}

.bg-section.is-comparison {
  padding: 26px;
  border: 1px solid #383541;
  border-radius: 17px;
  background: #121116;
}

.bg-section.is-comparison + .bg-section {
  margin-top: 45px;
}

.bg-section.is-product {
  margin: 0 0 22px;
  padding: 27px;
  border: 1px solid #33313a;
  border-radius: 16px;
  background: #111115;
}

.bg-section.is-product + .bg-section.is-product {
  padding-top: 27px;
  border-top: 1px solid #33313a;
}

.bg-section.is-product.is-winner {
  border-color: #4a435f;
  background:
    radial-gradient(circle at 100% 0%, rgba(109,93,252,0.09), transparent 32%),
    #15131a;
}

.bg-section.is-product .bg-prose h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 25px;
  padding-bottom: 8px;
  border-bottom: 1px solid #2c2b31;
  color: #bfbacb;
  font-size: 0.77rem;
}

.bg-section.is-product .bg-prose h3:first-child {
  margin-top: 0;
}

.bg-section.is-final-pick {
  margin: 0 0 45px;
  padding: 28px;
  border: 1px solid #494260;
  border-radius: 17px;
  background:
    radial-gradient(circle at 0% 100%, rgba(109,93,252,0.11), transparent 35%),
    #15131b;
}

.bg-section.is-final-pick + .bg-section {
  border-top: 0;
}

.bg-inline-promo {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  margin: 0 0 48px;
  padding: 24px 25px;
  border: 1px solid #47405f;
  border-radius: 16px;
  background:
    radial-gradient(circle at 12% 50%, rgba(109,93,252,0.12), transparent 28%),
    linear-gradient(120deg, #1a1722, #121216);
}

.bg-inline-promo-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid #50486b;
  border-radius: 13px;
  color: #b6adff;
  background: #252033;
}

.bg-inline-promo > div:nth-child(2) > span {
  color: #a99fff;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.bg-inline-promo h2 {
  margin: 4px 0 5px;
  color: #f0eef6;
  font-size: 1.1rem;
  letter-spacing: -0.035em;
}

.bg-inline-promo p {
  max-width: 520px;
  margin: 0;
  color: #85828e;
  font-size: 0.61rem;
  line-height: 1.6;
}

.bg-inline-promo > div:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-left: 22px;
  border-left: 1px solid #393541;
}

.bg-inline-promo > div:last-child strong {
  color: #fff;
  font-size: 1.25rem;
}

.bg-inline-promo > div:last-child strong small,
.bg-inline-promo > div:last-child > span {
  color: #76737e;
  font-size: 0.55rem;
}

.bg-inline-promo > div:last-child a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  color: #b4aaff;
  font-size: 0.59rem;
  font-weight: 650;
  text-decoration: none;
}

.bg-faq-list {
  display: grid;
  gap: 10px;
}

.bg-faq-list details {
  overflow: hidden;
  border: 1px solid #302f36;
  border-radius: 12px;
  background: #111115;
}

.bg-faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  color: #c3c0ca;
  font-size: 0.71rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.bg-faq-list summary::-webkit-details-marker {
  display: none;
}

.bg-faq-list summary i {
  color: #8e83e6;
  font-size: 0.64rem;
  transition: transform 180ms ease;
}

.bg-faq-list details[open] summary i {
  transform: rotate(45deg);
}

.bg-faq-list details > div {
  padding: 0 20px 19px;
  border-top: 1px solid #29282f;
}

.bg-faq-list p {
  margin: 15px 0 0;
  color: #8f8c97;
  font-size: 0.69rem;
  line-height: 1.75;
}

.bg-verification-note {
  display: flex;
  gap: 14px;
  margin-top: 15px;
  padding: 18px 20px;
  border: 1px solid #34323b;
  border-radius: 13px;
  color: #817f89;
  background: #111115;
}

.bg-verification-note > i {
  margin-top: 3px;
  color: #8e83e4;
}

.bg-verification-note strong {
  color: #bcb8c5;
  font-size: 0.68rem;
}

.bg-verification-note p {
  margin: 4px 0 0;
  font-size: 0.61rem;
  line-height: 1.65;
}

.bg-guide-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid #2b2a30;
}

.bg-guide-nav a {
  display: flex;
  min-height: 88px;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 15px 17px;
  border: 1px solid #302f36;
  border-radius: 12px;
  color: inherit;
  background: #111115;
  text-decoration: none;
}

.bg-guide-nav a.is-next {
  align-items: flex-end;
  text-align: right;
}

.bg-guide-nav a span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8177d7;
  font-size: 0.56rem;
  font-weight: 650;
  text-transform: uppercase;
}

.bg-guide-nav a strong {
  color: #c5c2cc;
  font-size: 0.68rem;
  font-weight: 600;
}

@media (max-width: 1040px) {
  .bg-hero-grid {
    grid-template-columns: 1.25fr minmax(300px, .75fr);
    gap: 42px;
  }

  .bg-content-grid {
    grid-template-columns: 215px minmax(0, 1fr);
    gap: 34px;
  }

  .bg-inline-promo {
    grid-template-columns: auto 1fr;
  }

  .bg-inline-promo > div:last-child {
    grid-column: 1 / -1;
    align-items: flex-start;
    padding: 15px 0 0;
    border-top: 1px solid #393541;
    border-left: 0;
  }
}

@media (max-width: 820px) {
  .bg-shell {
    width: min(100% - 30px, 1180px);
  }

  .bg-hero {
    padding: 34px 0 54px;
  }

  .bg-breadcrumbs {
    margin-bottom: 30px;
  }

  .bg-hero-grid,
  .bg-content-grid {
    grid-template-columns: 1fr;
  }

  .bg-hero h1 {
    font-size: clamp(2.35rem, 10vw, 3.8rem);
  }

  .bg-plan-card {
    max-width: 560px;
  }

  .bg-content-area {
    padding-top: 30px;
  }

  .bg-sidebar {
    position: relative;
    z-index: 6;
    top: auto;
  }

  .bg-toc-head button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
  }

  .bg-toc nav {
    display: none;
    max-height: 360px;
  }

  .bg-toc.is-open nav {
    display: block;
  }

  .bg-back-library {
    display: none;
  }
}

@media (max-width: 580px) {
  .bg-shell {
    width: min(100% - 24px, 1180px);
  }

  .bg-breadcrumbs span,
  .bg-badges span:last-child {
    display: none;
  }

  .bg-plan-card {
    padding: 20px;
  }

  .bg-section {
    padding-bottom: 38px;
  }

  .bg-section + .bg-section {
    padding-top: 37px;
  }

  .bg-section.is-quick,
  .bg-section.is-comparison,
  .bg-section.is-product,
  .bg-section.is-final-pick {
    padding: 21px 18px;
  }

  .bg-ranked-grid {
    grid-template-columns: 1fr;
  }

  .bg-ranked-grid article.is-first {
    grid-column: auto;
  }

  .bg-inline-promo {
    grid-template-columns: 1fr;
    padding: 21px 18px;
  }

  .bg-inline-promo > div:last-child {
    grid-column: auto;
  }

  .bg-guide-nav {
    grid-template-columns: 1fr;
  }
}
