.page-faq {
  --kb-card-bg: #FBF6EE;
  --kb-cut: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

.page-faq a {
  color: inherit;
}

.page-faq .kb-hero {
  position: relative;
  padding: 24px 0 44px;
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(255, 90, 31, 0.22), transparent 62%),
    radial-gradient(85% 80% at 92% 6%, rgba(46, 107, 255, 0.18), transparent 66%),
    var(--ink);
  border-bottom: 8px solid var(--orange);
  overflow: hidden;
}

.page-faq .kb-hero__glow {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  pointer-events: none;
}

.page-faq .kb-hero .container {
  position: relative;
  z-index: 1;
}

.page-faq .breadcrumb {
  font-size: 13px;
  letter-spacing: 0.06em;
  margin-bottom: 26px;
}

.page-faq .breadcrumb a {
  color: var(--mist);
  text-decoration: none;
}

.page-faq .breadcrumb a:hover {
  color: var(--orange-soft);
}

.page-faq .breadcrumb__current {
  color: var(--paper);
}

.page-faq .kb-hero__eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange-soft);
  font-weight: 700;
}

.page-faq .kb-hero__title {
  margin: 0;
  font-size: clamp(32px, 8.4vw, 64px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.page-faq .kb-hero__title-em {
  display: block;
  margin-top: 12px;
  font-size: clamp(15px, 3.6vw, 20px);
  line-height: 1.55;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-dim);
  transform: skewX(-4deg);
}

.page-faq .kb-hero__lead {
  margin: 22px 0 0;
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-dim);
}

.page-faq .kb-hero__jump {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-faq .kb-hero__jump a {
  display: inline-block;
  padding: 9px 14px;
  font-size: 13.5px;
  text-decoration: none;
  color: var(--paper);
  background: var(--ink-2);
  border: 1px solid var(--steel);
  clip-path: var(--kb-cut);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.page-faq .kb-hero__jump a:hover {
  color: var(--orange-soft);
  border-color: var(--orange);
  transform: translateY(-2px);
}

.page-faq .kb-section {
  padding: 48px 0;
  position: relative;
}

.page-faq .kb-section--last {
  padding-bottom: 64px;
}

.page-faq .kb-section--paper {
  background: var(--paper);
  color: var(--ink-text);
}

.page-faq .kb-section--dark {
  background: var(--ink);
  color: var(--paper);
}

.page-faq .kb-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 26px;
}

.page-faq .kb-head__num {
  font-family: var(--font-mono);
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
  color: var(--orange);
  transform: skewX(-8deg);
  padding-top: 2px;
}

.page-faq .kb-head__title {
  margin: 0;
  font-size: clamp(23px, 5.2vw, 36px);
  line-height: 1.16;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.page-faq .kb-head__sub {
  margin: 10px 0 0;
  max-width: 54ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-dim);
}

.page-faq .kb-head--ink .kb-head__sub {
  color: var(--ink-text);
  opacity: 0.74;
}

.page-faq .kb-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.page-faq .kb-step {
  position: relative;
  padding: 2px 0 26px 42px;
  border-left: 2px solid var(--steel);
}

.page-faq .kb-step:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.page-faq .kb-step::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px var(--ink);
}

.page-faq .kb-step__no {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--orange-soft);
}

.page-faq .kb-step__title {
  margin: 8px 0 8px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
}

.page-faq .kb-step__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-dim);
}

.page-faq .kb-figure {
  margin: 30px 0 0;
  border: 1px solid var(--steel);
  background: var(--ink-2);
  overflow: hidden;
}

.page-faq .kb-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.page-faq .kb-figure--paper {
  margin: 0;
  border-color: var(--paper-2);
  background: var(--paper-2);
}

.page-faq .kb-figure__cap {
  padding: 12px 14px;
  font-size: 12.5px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--ink-text);
  opacity: 0.72;
  background: var(--paper-2);
}

.page-faq .kb-read {
  display: grid;
  gap: 30px;
}

.page-faq .kb-item {
  border-bottom: 1px solid var(--steel);
}

.page-faq .kb-section--paper .kb-item {
  border-bottom-color: var(--paper-2);
}

.page-faq .kb-item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  cursor: pointer;
  list-style: none;
}

.page-faq .kb-item summary::-webkit-details-marker {
  display: none;
}

.page-faq .kb-item summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-mono);
  font-size: 20px;
  line-height: 1.1;
  color: var(--orange);
  transition: transform 0.2s var(--ease);
}

.page-faq .kb-item[open] summary::after {
  content: "−";
}

.page-faq .kb-item summary:hover {
  color: var(--orange);
}

.page-faq .kb-section--dark .kb-item summary:hover {
  color: var(--orange-soft);
}

.page-faq .kb-item__a {
  margin: 0;
  padding: 0 0 18px;
  max-width: 62ch;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--text-dim);
}

.page-faq .kb-section--paper .kb-item__a {
  color: var(--ink-text);
  opacity: 0.78;
}

.page-faq .kb-item[open] > .kb-item__a {
  animation: kb-open 0.28s var(--ease) both;
}

.page-faq .kb-aside-note {
  margin: 16px 0 0;
  padding-left: 14px;
  border-left: 3px solid var(--orange);
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--ink-text);
  opacity: 0.78;
}

.page-faq .kb-app {
  display: grid;
  gap: 28px;
}

.page-faq .kb-cards {
  display: grid;
  gap: 16px;
}

.page-faq .kb-card {
  padding: 20px 18px;
  background: var(--ink-2);
  border: 1px solid var(--steel);
  clip-path: var(--kb-cut);
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease);
}

.page-faq .kb-card:hover {
  transform: translateY(-2px);
  border-color: var(--orange);
}

.page-faq .kb-card__title {
  margin: 0 0 10px;
  font-size: 16.5px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--paper);
}

.page-faq .kb-card__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text-dim);
}

.page-faq .kb-path {
  padding: 22px 18px;
  background: linear-gradient(135deg, rgba(46, 107, 255, 0.16), rgba(255, 90, 31, 0.12));
  border: 1px solid var(--steel);
}

.page-faq .kb-path__label {
  margin: 0 0 12px;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: var(--orange-soft);
  font-weight: 700;
}

.page-faq .kb-path__svg {
  display: block;
  width: 100%;
  max-width: 340px;
  height: auto;
}

.page-faq .kb-path__list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-faq .kb-path__list li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dim);
}

.page-faq .kb-path__list span {
  display: block;
  font-weight: 700;
  color: var(--paper);
}

.page-faq .kb-archive {
  display: grid;
  gap: 28px;
}

.page-faq .kb-archive__label {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--orange);
}

.page-faq .kb-archive__seasons {
  list-style: none;
  margin: 0;
  padding: 0 0 0 16px;
  border-left: 2px solid var(--paper-2);
  display: grid;
  gap: 2px;
}

.page-faq .kb-archive__seasons li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-text);
  border-bottom: 1px dashed rgba(18, 20, 26, 0.14);
}

.page-faq .kb-archive__year {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--ink-text);
}

.page-faq .kb-archive__note {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-text);
  opacity: 0.7;
}

.page-faq .kb-season {
  background: var(--kb-card-bg);
  border: 1px solid var(--paper-2);
  margin-bottom: 10px;
}

.page-faq .kb-season summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}

.page-faq .kb-season summary::-webkit-details-marker {
  display: none;
}

.page-faq .kb-season__name {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink-text);
}

.page-faq .kb-season__hint {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-text);
  opacity: 0.6;
}

.page-faq .kb-season[open] summary {
  border-bottom: 1px solid var(--paper-2);
}

.page-faq .kb-season[open] .kb-season__name {
  color: var(--lava);
}

.page-faq .kb-season__body {
  padding: 14px 16px 16px;
}

.page-faq .kb-season__list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 14px;
  border-left: 2px solid var(--paper-2);
  display: grid;
  gap: 9px;
}

.page-faq .kb-season__list li {
  position: relative;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-text);
  opacity: 0.82;
}

.page-faq .kb-season__list li::before {
  content: "";
  position: absolute;
  left: -19px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.page-faq .kb-quick {
  display: grid;
  gap: 0;
}

.page-faq .kb-item--tight summary {
  font-size: 15px;
  padding: 14px 0;
}

.page-faq .kb-item--tight .kb-item__a {
  font-size: 14px;
  padding-bottom: 16px;
  max-width: 58ch;
}

.page-faq .kb-cta {
  display: grid;
  gap: 18px;
  padding: 24px 20px;
  background: var(--ink-2);
  border: 1px solid var(--steel);
  border-left: 6px solid var(--orange);
  clip-path: var(--kb-cut);
}

.page-faq .kb-cta__title {
  margin: 0 0 10px;
  font-size: clamp(20px, 4.6vw, 28px);
  line-height: 1.25;
  font-weight: 900;
}

.page-faq .kb-cta__text {
  margin: 0;
  max-width: 56ch;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text-dim);
}

.page-faq .kb-cta .btn {
  justify-self: start;
  text-decoration: none;
}

.page-faq .kb-cta__more {
  margin: 22px 0 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--mist);
}

.page-faq .kb-cta__more a {
  color: var(--orange-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 138, 71, 0.5);
  padding-bottom: 1px;
}

.page-faq .kb-cta__more a:hover {
  color: var(--paper);
  border-bottom-color: var(--paper);
}

@keyframes kb-open {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 640px) {
  .page-faq .kb-section {
    padding: 60px 0;
  }

  .page-faq .kb-hero {
    padding: 30px 0 56px;
  }

  .page-faq .kb-card {
    padding: 24px 22px;
  }

  .page-faq .kb-cta {
    padding: 30px 28px;
  }
}

@media (min-width: 860px) {
  .page-faq .kb-section {
    padding: 78px 0;
  }

  .page-faq .kb-head {
    gap: 20px;
    margin-bottom: 34px;
  }

  .page-faq .kb-head__num {
    font-size: 42px;
  }

  .page-faq .kb-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
  }

  .page-faq .kb-step {
    border-left: 0;
    border-top: 2px solid var(--steel);
    padding: 24px 0 0;
  }

  .page-faq .kb-step::before {
    left: 0;
    top: -8px;
  }

  .page-faq .kb-read {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 44px;
    align-items: start;
  }

  .page-faq .kb-read__aside {
    position: sticky;
    top: calc(var(--quick-h) + 24px);
  }

  .page-faq .kb-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .page-faq .kb-app {
    grid-template-columns: 1.35fr 0.65fr;
    gap: 32px;
    align-items: start;
  }

  .page-faq .kb-archive {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 44px;
    align-items: start;
  }

  .page-faq .kb-quick {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 44px;
  }

  .page-faq .kb-cta {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 34px 32px;
  }

  .page-faq .kb-cta .btn {
    justify-self: end;
  }

  .page-faq .kb-figure {
    margin-top: 36px;
  }
}

@media (min-width: 1024px) {
  .page-faq .kb-hero__lead {
    font-size: 16.5px;
  }

  .page-faq .kb-item summary {
    font-size: 17px;
  }

  .page-faq .kb-item__a {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .kb-item[open] > .kb-item__a {
    animation: none;
  }

  .page-faq .kb-card:hover,
  .page-faq .kb-hero__jump a:hover {
    transform: none;
  }
}
