/* NovaBooster: knowledge page styles. Loaded only where needed. */

.knowledge-article-page .floating-cta {
  display: none;
}


.knowledge-page main,
.knowledge-article-page main {
  overflow: hidden;
}


.knowledge-hero {
  position: relative;
  padding: 92px 0 42px;
  overflow: hidden;
}


.knowledge-hero::before {
  content: "";
  position: absolute;
  inset: -26% -12% auto -12%;
  height: 720px;
  z-index: -1;
  background:
    radial-gradient(620px 360px at 18% 18%, rgba(67, 215, 162, .2), transparent 72%),
    radial-gradient(560px 340px at 88% 18%, rgba(121, 232, 255, .13), transparent 72%),
    radial-gradient(460px 300px at 68% 74%, rgba(139, 108, 255, .1), transparent 72%);
}


.knowledge-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  gap: 42px;
  align-items: center;
}


.knowledge-hero-copy {
  max-width: 760px;
}


.knowledge-hero-copy h1 {
  margin: 18px 0 0;
  font-size: clamp(44px, 6vw, 76px);
  line-height: .96;
  letter-spacing: 0;
}


.knowledge-hero-copy p {
  margin: 22px 0 0;
  color: var(--hint);
  font-size: clamp(17px, 1.7vw, 20px);
}


.knowledge-hero-visual {
  margin: 0;
  min-height: 460px;
  display: grid;
  place-items: center;
}


.knowledge-list-section {
  padding-top: 72px;
}


.knowledge-toc {
  display: grid;
  gap: 8px;
  margin-top: 30px;
  padding: 22px;
  border: 1px solid rgba(121, 232, 255, .16);
  border-radius: 26px;
  background:
    radial-gradient(520px 260px at 10% 0%, rgba(67, 215, 162, .14), transparent 72%),
    radial-gradient(420px 260px at 100% 10%, rgba(121, 232, 255, .08), transparent 72%),
    rgba(17, 27, 31, .72);
}


.knowledge-toc-group {
  display: grid;
  gap: 8px;
}


.knowledge-toc-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 10px 14px;
  border: 1px solid rgba(211, 235, 226, .08);
  border-radius: 16px;
  color: var(--text);
  background: rgba(247, 251, 248, .035);
  text-decoration: none;
}


.knowledge-toc-row span {
  color: var(--green);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 13px;
  font-weight: 900;
}


.knowledge-toc-row strong {
  font-size: 16px;
  line-height: 1.25;
}


.knowledge-toc-row.is-child {
  margin-left: 28px;
}


.knowledge-toc-row.is-subchild {
  grid-template-columns: 40px minmax(0, 1fr);
  margin-left: 58px;
  color: var(--hint);
}


.knowledge-toc-row:hover,
.knowledge-toc-row:focus-visible {
  color: var(--text);
  border-color: rgba(67, 215, 162, .38);
  background: rgba(67, 215, 162, .1);
  outline: none;
}


.knowledge-card {
  min-height: 350px;
  overflow: hidden;
  background:
    radial-gradient(260px 180px at 16% 0%, color-mix(in srgb, var(--kb-accent) 18%, transparent), transparent 72%),
    rgba(17, 27, 31, .76);
}


.knowledge-card-link {
  position: relative;
  min-height: 350px;
  display: grid;
  grid-template-rows: auto 1fr auto auto auto;
  gap: 16px;
  padding: 24px;
  color: var(--text);
  text-decoration: none;
}


.knowledge-card-link::after {
  content: "";
  position: absolute;
  inset: auto 22px 22px 22px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--kb-accent), transparent);
  opacity: .68;
}


.knowledge-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}


.knowledge-card-number {
  font-family: "JetBrains Mono", Consolas, monospace;
  color: var(--kb-accent);
  font-weight: 900;
}


.knowledge-card-meta {
  color: var(--hint);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}


.knowledge-card-orbit {
  position: relative;
  width: 118px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin: 8px 0;
  border: 1px solid color-mix(in srgb, var(--kb-accent) 28%, transparent);
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--kb-accent) 12%, transparent), transparent 66%);
}


.knowledge-card-orbit span {
  width: 46px;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 30%, rgba(255, 255, 255, .86), transparent 14%),
    radial-gradient(circle at 50% 50%, var(--kb-accent), rgba(67, 215, 162, .2) 62%, transparent 64%);
  box-shadow: 0 0 34px color-mix(in srgb, var(--kb-accent) 34%, transparent);
}


.knowledge-card-orbit i {
  position: absolute;
  width: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 18px var(--kb-accent);
  transform: translate(52px, -8px);
}


.knowledge-card strong {
  font-size: 23px;
  line-height: 1.08;
}


.knowledge-card em {
  color: var(--hint);
  font-style: normal;
  line-height: 1.5;
}


.knowledge-card-action {
  width: fit-content;
  color: color-mix(in srgb, var(--kb-accent) 82%, #ffffff);
  font-size: 14px;
  font-weight: 850;
}


.knowledge-card:hover .knowledge-card-action,
.knowledge-card:focus-within .knowledge-card-action {
  color: var(--text);
}


.kb-body .kb-steps,
.kb-body .kb-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}


.kb-section {
  scroll-margin-top: calc(var(--header) + 26px);
}


.kb-section.level-2 {
  padding-left: 20px;
  border-left: 2px solid rgba(121, 232, 255, .12);
}


.kb-section.level-3 {
  padding-left: 34px;
  border-left: 2px solid rgba(67, 215, 162, .12);
}


.kb-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}


.kb-section-number,
.kb-section-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(67, 215, 162, .28);
  border-radius: 999px;
  background: rgba(67, 215, 162, .1);
  color: var(--green);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 13px;
  font-weight: 900;
}


.kb-section-title {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.06;
}


.kb-section-title.is-child {
  font-size: clamp(24px, 2.4vw, 32px);
}


.kb-section-title.is-subchild {
  font-size: clamp(21px, 2vw, 26px);
}


.kb-section-lead {
  margin-top: 12px;
  color: var(--hint);
  font-size: 17px;
  line-height: 1.6;
}


.kb-media {
  max-width: 560px;
  margin: 22px auto 0;
  border: 1px solid rgba(211, 235, 226, .1);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(6, 18, 18, .72);
}


.kb-media img {
  width: 100%;
  height: auto;
  display: block;
}


.kb-media figcaption {
  padding: 12px 16px 14px;
  color: var(--hint);
  font-size: 14px;
  line-height: 1.5;
  border-top: 1px solid rgba(211, 235, 226, .08);
}


.kb-media.is-phone {
  max-width: 230px;
  margin-inline: auto;
}


.kb-media.is-wide {
  max-width: 560px;
  margin-inline: auto;
}


.kb-step-flow {
  position: relative;
  display: grid;
  gap: 30px;
  margin-top: 28px;
}


.kb-step-flow::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 26px;
  bottom: 26px;
  border-left: 2px dashed rgba(67, 215, 162, .34);
}


.kb-step-item {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 18px;
}


.kb-step-marker {
  position: sticky;
  top: calc(var(--header) + 22px);
  z-index: 1;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(67, 215, 162, .42);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(121, 232, 255, .28), transparent 46%),
    #09241d;
  color: var(--green);
  box-shadow: 0 0 28px rgba(67, 215, 162, .18);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 13px;
  font-weight: 900;
}


.kb-step-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 280px);
  gap: 20px;
  align-items: start;
  padding-bottom: 4px;
}


.kb-step-copy {
  min-width: 0;
  padding: 2px 0 0;
}


.kb-step-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--green);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}


.kb-step-copy h3 {
  margin: 0;
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.12;
}


.kb-step-copy p {
  margin: 10px 0 0;
}


.kb-step-detail {
  color: var(--hint);
}


.kb-step-result {
  display: inline-block;
  padding: 10px 12px;
  border: 1px solid rgba(121, 232, 255, .16);
  border-radius: 14px;
  background: rgba(121, 232, 255, .055);
}


.kb-step-result strong {
  color: var(--text);
}


.kb-media.is-step-media {
  margin-top: 0;
}


.kb-media.is-step-media.is-phone {
  max-width: 250px;
}


.kb-media.is-step-media.is-wide {
  grid-column: 1 / -1;
  max-width: 640px;
  margin-top: 2px;
  margin-inline: 0;
}


.kb-gallery {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}


.kb-gallery .kb-media {
  margin-top: 0;
}


.kb-gallery.is-stack {
  grid-template-columns: repeat(2, minmax(0, 230px));
  justify-content: center;
  align-items: start;
}


.kb-note {
  margin: 22px 0 0;
  padding: 18px 20px;
  border: 1px solid rgba(67, 215, 162, .2);
  border-radius: 18px;
  background:
    radial-gradient(260px 160px at 0% 0%, rgba(67, 215, 162, .12), transparent 72%),
    rgba(67, 215, 162, .055);
  color: color-mix(in srgb, var(--text) 86%, var(--hint));
}


.kb-note.is-compact {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
}


.kb-cta {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid rgba(121, 232, 255, .16);
  border-radius: 18px;
  background:
    radial-gradient(320px 160px at 0% 0%, rgba(121, 232, 255, .12), transparent 72%),
    rgba(247, 251, 248, .035);
}


.kb-cta strong {
  display: block;
  font-size: 18px;
}


.kb-cta p {
  margin-top: 10px;
}


.kb-faq {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}


.kb-question {
  padding: 18px;
  border: 1px solid rgba(211, 235, 226, .09);
  border-radius: 18px;
  background: rgba(247, 251, 248, .035);
}


.kb-question h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.18;
}


.kb-question p {
  margin-top: 10px;
}


.kb-resources {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}


.kb-resource {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(67, 215, 162, .28);
  border-radius: 999px;
  color: var(--text);
  background: rgba(67, 215, 162, .09);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}


.kb-resource:hover,
.kb-resource:focus-visible {
  border-color: rgba(121, 232, 255, .4);
  background: rgba(121, 232, 255, .1);
  outline: none;
}


.kb-return-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--green);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}


.kb-return-link:hover,
.kb-return-link:focus-visible {
  color: var(--text);
  outline: none;
}


.kb-body .kb-steps {
  counter-reset: kb-step;
  display: grid;
  gap: 10px;
}


.kb-body .kb-steps li {
  counter-increment: kb-step;
  position: relative;
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px 14px 58px;
  border: 1px solid rgba(211, 235, 226, .09);
  border-radius: 16px;
  background: rgba(247, 251, 248, .035);
  color: var(--text);
}


.kb-body .kb-steps li::before {
  content: counter(kb-step);
  position: absolute;
  left: 16px;
  top: 50%;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transform: translateY(-50%);
  background: rgba(67, 215, 162, .16);
  color: var(--green);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 13px;
  font-weight: 900;
}


.kb-body .kb-list {
  display: grid;
  gap: 10px;
}


.kb-body .kb-list li {
  position: relative;
  padding-left: 26px;
  color: var(--hint);
  line-height: 1.55;
}


.kb-body .kb-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .7em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px rgba(67, 215, 162, .45);
}


@media (max-width: 930px) {

  .knowledge-hero {
    padding-top: 70px;
  }


  .knowledge-hero-grid {
    gap: 28px;
  }


  .knowledge-hero-copy,
  .knowledge-hero-copy p {
    max-width: none;
  }


  .knowledge-hero-visual {
    min-height: 360px;
  }
}


@media (max-width: 720px) {

  .knowledge-page .support-widget,
  .knowledge-article-page .support-widget {
    display: none;
  }
}


@media (max-width: 640px) {

  .knowledge-hero {
    padding: 54px 0 28px;
  }


  .knowledge-hero-copy h1 {
    font-size: 36px;
  }


  .knowledge-hero-visual {
    min-height: 300px;
  }


  .knowledge-toc {
    padding: 14px;
    border-radius: 22px;
  }


  .knowledge-toc-row {
    grid-template-columns: 46px minmax(0, 1fr);
    min-height: 50px;
    padding: 10px 12px;
  }


  .knowledge-toc-row.is-child {
    margin-left: 12px;
  }


  .knowledge-toc-row.is-subchild {
    grid-template-columns: 24px minmax(0, 1fr);
    margin-left: 26px;
  }


  .knowledge-card,
  .knowledge-card-link {
    min-height: 310px;
  }


  .kb-body .kb-steps li {
    align-items: flex-start;
  }


  .kb-section.level-2,
  .kb-section.level-3 {
    padding-left: 14px;
  }


  .kb-section.level-2,
  .kb-section.level-3 {
    padding-left: 0;
    border-left: 0;
  }


  .kb-section-title {
    font-size: 27px;
  }


  .kb-section-title.is-child {
    font-size: 23px;
  }


  .kb-section-title.is-subchild {
    font-size: 21px;
  }


  .kb-section-lead {
    font-size: 16px;
  }


  .kb-media {
    max-width: none;
    margin-inline: 0;
    border-radius: 18px;
  }


  .kb-media.is-phone,
  .kb-media.is-wide {
    max-width: none;
  }


  .kb-step-flow {
    gap: 24px;
    margin-top: 22px;
  }


  .kb-step-flow::before {
    left: 17px;
  }


  .kb-step-item {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
  }


  .kb-step-marker {
    width: 36px;
    height: 36px;
    top: calc(var(--header) + 14px);
    font-size: 11px;
  }


  .kb-step-content {
    grid-template-columns: 1fr;
    gap: 14px;
  }


  .kb-step-copy h3 {
    font-size: 20px;
  }


  .kb-media.is-step-media.is-phone,
  .kb-media.is-step-media.is-wide {
    max-width: none;
    margin-inline: 0;
  }


  .kb-media figcaption {
    padding: 10px 12px 12px;
    font-size: 13px;
  }


  .kb-note,
  .kb-cta {
    padding: 16px;
    border-radius: 16px;
  }


  .kb-gallery {
    gap: 14px;
  }


  .kb-gallery.is-stack {
    grid-template-columns: 1fr;
  }


  .kb-body .kb-steps,
  .kb-body .kb-list {
    margin-top: 14px;
  }
}
