.page-faq {
  --faq-hot-1: 92%;
  --faq-hot-2: 88%;
  --faq-hot-3: 76%;
  --faq-hot-4: 71%;
  --faq-hot-5: 64%;
  background: var(--c-ink);
  color: var(--c-paper);
  font-family: var(--font-sans);
  padding: 28px 16px 72px;
  overflow-x: hidden;
}

.faq-breadcrumb {
  margin-bottom: 16px;
}

.faq-hero {
  background: var(--c-paper);
  color: var(--c-ink);
  padding: 32px 20px 40px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  margin-bottom: 8px;
}

.faq-kicker {
  display: inline-block;
  background: var(--c-ink);
  color: var(--c-neon);
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.14em;
  padding: 6px 12px;
  transform: skewX(-8deg);
  margin: 0;
}

.faq-hero h1 {
  font-size: clamp(30px, 6vw, 56px);
  font-style: italic;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 16em;
  margin: 18px 0 14px;
  padding-left: 12px;
  border-left: 6px solid var(--c-orange);
}

.faq-lead {
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-brown);
  max-width: 60em;
  margin: 0 0 24px;
}

.faq-index {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
}

.faq-index__label {
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--c-stone);
  margin-right: 4px;
}

.faq-index a {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  color: var(--c-ink);
  border: 1px solid var(--c-ink);
  padding: 5px 10px;
  text-decoration: none;
  transform: skewX(-6deg);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.faq-index a:hover {
  background: var(--c-neon);
  border-color: var(--c-neon);
}

.faq-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(244, 233, 216, 0.18);
  border: 1px solid rgba(244, 233, 216, 0.18);
  margin-top: 24px;
}

.faq-metrics div {
  background: var(--c-ink);
  padding: 16px 12px;
  font-size: 13px;
  color: var(--c-stone);
  line-height: 1.5;
}

.faq-metrics .data-number {
  display: block;
  font-family: var(--font-data);
  font-size: 24px;
  font-weight: 800;
  color: var(--c-neon);
  line-height: 1.2;
  margin-bottom: 4px;
}

.faq-layout {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 32px;
}

.faq-stage {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
}

.faq-category {
  background: var(--c-paper);
  color: var(--c-ink);
  padding: 28px 18px 20px;
  position: relative;
  scroll-margin-top: calc(var(--header-h) + 18px);
}

.faq-category::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--c-orange) 0 80px, var(--c-neon) 80px 120px, var(--c-ink) 120px);
}

.faq-category:target {
  outline: 3px solid var(--c-neon);
  outline-offset: 4px;
}

.faq-category__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 2px solid var(--c-ink);
  padding-bottom: 12px;
  margin-bottom: 8px;
}

.faq-category__head h2 {
  font-size: 24px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.01em;
  margin: 0;
}

.faq-category__index {
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--c-brown);
  border: 1px solid var(--c-brown);
  padding: 4px 8px;
  transform: skewX(-8deg);
  white-space: nowrap;
}

.faq-category__desc {
  font-size: 14px;
  color: var(--c-stone);
  margin: 0 0 4px;
  line-height: 1.6;
}

.faq-item {
  border-bottom: 1px solid rgba(43, 18, 8, 0.16);
  scroll-margin-top: calc(var(--header-h) + 18px);
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-item summary {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 18px 44px 18px 14px;
  cursor: pointer;
  font-weight: 800;
  font-size: 16px;
  line-height: 1.45;
  position: relative;
  transition: background 0.2s;
}

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

.faq-item summary:hover {
  background: rgba(10, 15, 30, 0.05);
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-data);
  font-size: 24px;
  font-weight: 400;
  color: var(--c-orange);
  transition: transform 0.2s;
}

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

.faq-item__q::before {
  content: "Q";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--c-ink);
  color: var(--c-neon);
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 700;
  transform: skewX(-6deg);
  flex-shrink: 0;
}

.faq-item__tag {
  margin-left: auto;
  margin-right: 24px;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  background: rgba(10, 15, 30, 0.06);
  color: var(--c-brown);
  border: 1px solid rgba(43, 18, 8, 0.2);
  transform: skewX(-4deg);
  white-space: nowrap;
  flex-shrink: 0;
}

.faq-item__a {
  padding: 4px 16px 22px 44px;
  color: var(--c-brown);
  font-size: 16px;
  line-height: 1.75;
}

.faq-item__a p {
  margin: 0 0 10px;
}

.faq-link {
  display: inline-block;
  color: var(--c-brown);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--c-orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  margin-top: 2px;
}

.faq-link:hover {
  background: var(--c-neon);
}

.faq-steps {
  list-style: none;
  margin: 16px 0;
  padding: 0;
  counter-reset: faq-step;
  display: grid;
  gap: 10px;
}

.faq-steps li {
  counter-increment: faq-step;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
}

.faq-steps li::before {
  content: "0" counter(faq-step);
  flex-shrink: 0;
  width: 38px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-orange);
  color: var(--c-white);
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 700;
  transform: skewX(-8deg);
}

.faq-media {
  margin: 18px 0 12px;
  background: var(--c-white);
  border: 2px solid var(--c-ink);
  padding: 8px;
}

.faq-media img {
  display: block;
  width: 100%;
  height: auto;
}

.faq-media figcaption {
  padding: 8px 4px 2px;
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--c-stone);
}

.faq-item__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed rgba(43, 18, 8, 0.2);
}

.faq-copy {
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--c-brown);
  border: 1px solid rgba(43, 18, 8, 0.3);
  padding: 3px 8px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.faq-copy:hover {
  background: var(--c-ink);
  color: var(--c-neon);
}

.faq-feedback {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.faq-feedback__hint {
  color: var(--c-stone);
  margin-right: 2px;
}

.faq-feedback__radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.faq-feedback label {
  padding: 4px 12px;
  border: 1px solid var(--c-brown);
  color: var(--c-brown);
  cursor: pointer;
  font-weight: 700;
  transform: skewX(-4deg);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.faq-feedback__radio:checked + label {
  background: var(--c-neon);
  border-color: var(--c-ink);
  color: var(--c-ink);
}

.faq-contact {
  background: var(--c-brown);
  color: var(--c-paper);
  padding: 30px 22px;
  border-left: 6px solid var(--c-orange);
  scroll-margin-top: calc(var(--header-h) + 18px);
}

.faq-contact h2 {
  font-size: 26px;
  font-style: italic;
  font-weight: 900;
  margin: 0 0 12px;
}

.faq-contact p {
  color: var(--c-paper);
  opacity: 0.88;
  line-height: 1.75;
  font-size: 15px;
  max-width: 52em;
  margin: 0 0 8px;
}

.faq-contact__email {
  font-family: var(--font-data);
  color: var(--c-neon);
  background: rgba(198, 255, 77, 0.1);
  padding: 2px 8px;
}

.faq-contact .btn {
  margin-top: 12px;
}

.faq-contact .btn--accent {
  background: var(--c-neon);
  color: var(--c-ink);
}

.faq-sidebar {
  background: var(--c-ink);
  border: 1px solid rgba(244, 233, 216, 0.2);
  padding: 24px 18px;
  scroll-margin-top: calc(var(--header-h) + 18px);
}

.faq-sidebar h2 {
  color: var(--c-neon);
  font-size: 18px;
  font-weight: 900;
  font-style: italic;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.faq-sidebar h2::before {
  content: "";
  width: 18px;
  height: 4px;
  background: var(--c-orange);
  transform: skewX(-30deg);
}

.faq-sidebar__desc {
  color: var(--c-stone);
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 16px;
}

.hot-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: hot;
}

.hot-list li {
  counter-increment: hot;
  padding: 12px 0;
  border-bottom: 1px solid rgba(244, 233, 216, 0.12);
}

.hot-list li:last-child {
  border-bottom: 0;
}

.hot-list a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--c-paper);
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
}

.hot-list a::before {
  content: "0" counter(hot);
  font-family: var(--font-data);
  color: var(--c-orange);
  font-size: 12px;
}

.hot-list a:hover {
  color: var(--c-ice);
}

.hot-list__bar {
  display: block;
  height: 6px;
  background: rgba(244, 233, 216, 0.14);
  margin-top: 8px;
  position: relative;
}

.hot-list__bar::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--hot, 50%);
  background: linear-gradient(90deg, var(--c-neon), var(--c-ice));
}

.hot-list__bar span {
  position: absolute;
  right: 0;
  top: -18px;
  font-family: var(--font-data);
  font-size: 11px;
  color: var(--c-stone);
}

.hot-list li:nth-child(1) {
  --hot: var(--faq-hot-1);
}

.hot-list li:nth-child(2) {
  --hot: var(--faq-hot-2);
}

.hot-list li:nth-child(3) {
  --hot: var(--faq-hot-3);
}

.hot-list li:nth-child(4) {
  --hot: var(--faq-hot-4);
}

.hot-list li:nth-child(5) {
  --hot: var(--faq-hot-5);
}

.faq-side-note {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(244, 233, 216, 0.14);
}

.faq-side-note h3 {
  color: var(--c-paper);
  font-size: 15px;
  margin: 0 0 8px;
}

.faq-side-note p {
  color: var(--c-stone);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 12px;
}

.faq-side-note a {
  color: var(--c-ice);
  font-weight: 800;
  text-decoration: none;
}

.faq-side-note a:hover {
  text-decoration: underline;
}

@media (min-width: 720px) {
  .faq-metrics {
    grid-template-columns: repeat(4, 1fr);
  }

  .faq-hero {
    padding: 40px 32px 48px;
  }

  .faq-category {
    padding: 32px 26px 24px;
  }

  .faq-item__a {
    padding-right: 32px;
  }
}

@media (min-width: 960px) {
  .page-faq {
    padding: 36px clamp(28px, 4.5vw, 64px) 96px;
  }

  .faq-hero {
    padding: 48px 44px 56px;
  }

  .faq-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 28px;
  }

  .faq-stage {
    flex: 1;
  }

  .faq-sidebar {
    width: 300px;
    flex-shrink: 0;
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}
