.page-faq {
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page-faq img {
  max-width: 100%;
  height: auto;
}

.page-faq .shell {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.page-faq a {
  color: var(--acid);
  text-decoration: none;
  border-bottom: 1px solid rgba(57, 255, 20, 0.35);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.page-faq a:hover {
  border-bottom-color: var(--acid);
  color: var(--white);
}

.page-faq .page-path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--silver);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.page-faq .page-path a {
  color: var(--silver);
  border-bottom: none;
}

.page-faq .page-path a:hover {
  color: var(--acid);
}

.page-faq .page-path__sep {
  color: var(--silver);
  opacity: 0.5;
}

.page-faq .faq-hero {
  background: var(--ink);
  padding: 64px 0 64px;
  position: relative;
}

.page-faq .faq-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--acid) 0%, var(--acid) 60%, transparent 60%);
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  top: 16px;
  right: 16px;
  width: 60px;
  height: 60px;
  background: var(--orange);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
  opacity: 0.15;
  pointer-events: none;
}

.page-faq .faq-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

.page-faq .faq-hero__title {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1.05;
  margin: 0 0 12px;
  color: var(--white);
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.page-faq .faq-hero__title-dot {
  color: var(--acid);
}

.page-faq .faq-hero__lead {
  font-size: 16px;
  line-height: 1.7;
  color: var(--silver);
  max-width: 640px;
}

.page-faq .faq-search {
  position: relative;
  margin-top: 28px;
  max-width: 560px;
}

.page-faq .faq-search__icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--acid);
  pointer-events: none;
  z-index: 1;
}

.page-faq .faq-search__input {
  width: 100%;
  height: 50px;
  background: var(--ink-2);
  border: 2px solid var(--silver);
  border-radius: 0;
  padding: 0 16px 0 48px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-faq .faq-search__input::placeholder {
  color: rgba(192, 192, 192, 0.6);
}

.page-faq .faq-search__input:focus {
  border-color: var(--acid);
  box-shadow: 4px 4px 0 rgba(57, 255, 20, 0.2);
}

.page-faq .faq-hero__media {
  display: none;
}

.page-faq .faq-hero__img {
  width: 100%;
  object-fit: cover;
  border: 2px solid var(--silver);
  box-shadow: var(--shadow-hard);
  filter: saturate(1.1);
}

.page-faq .faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-top: 8px;
  padding-bottom: 80px;
}

.page-faq .faq-index {
  position: relative;
}

.page-faq .faq-index__panel {
  background: var(--ink-2);
  border: 2px solid var(--silver);
  padding: 20px;
  position: relative;
}

.page-faq .faq-index__panel::before {
  content: "";
  position: absolute;
  top: -2px;
  right: 24px;
  width: 40px;
  height: 4px;
  background: var(--acid);
}

.page-faq .faq-index__label {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--acid);
  border-bottom: 1px solid rgba(192, 192, 192, 0.25);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.page-faq .faq-index__nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px;
}

.page-faq .faq-index__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--white);
  border: 1px solid rgba(192, 192, 192, 0.4);
  padding: 8px 12px;
  background: transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  text-decoration: none;
}

.page-faq .faq-index__link:hover {
  background: rgba(57, 255, 20, 0.1);
  border-color: var(--acid);
  color: var(--acid);
}

.page-faq .faq-index__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--acid);
  opacity: 0.7;
}

.page-faq .faq-index__text {
  font-weight: 500;
}

.page-faq .faq-index__note {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(192, 192, 192, 0.2);
}

.page-faq .faq-index__note-text {
  font-size: 12px;
  line-height: 1.6;
  color: var(--silver);
  margin-top: 8px;
}

.page-faq .faq-groups {
  min-width: 0;
}

.page-faq .faq-group {
  margin-bottom: 64px;
  position: relative;
  scroll-margin-top: 90px;
}

.page-faq .faq-group__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 12px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(192, 192, 192, 0.25);
  position: relative;
}

.page-faq .faq-group__title::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 56px;
  height: 2px;
  background: var(--acid);
}

.page-faq .faq-group__icon {
  color: var(--acid);
  flex-shrink: 0;
}

.page-faq .faq-group__count {
  margin-left: auto;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--silver);
  opacity: 0.7;
  background: var(--ink-2);
  border: 1px solid rgba(192, 192, 192, 0.3);
  padding: 4px 10px;
  white-space: nowrap;
}

.page-faq .faq-group .section-number {
  position: absolute;
  top: -18px;
  right: 0;
  font-family: var(--font-mono);
  font-size: 48px;
  font-weight: 700;
  color: rgba(57, 255, 20, 0.12);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}

.page-faq .faq-list {
  margin-top: 20px;
  border: 2px solid rgba(192, 192, 192, 0.2);
}

.page-faq .faq-item {
  background: var(--ink-2);
  border-bottom: 1px solid rgba(192, 192, 192, 0.18);
  transition: background 0.2s ease;
}

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

.page-faq .faq-item[open] {
  background: rgba(57, 255, 20, 0.04);
}

.page-faq .faq-item__question {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  position: relative;
  list-style: none;
  user-select: none;
  transition: color 0.2s ease;
}

.page-faq .faq-item__question::-webkit-details-marker {
  display: none;
}

.page-faq .faq-item__question:hover {
  color: var(--acid);
}

.page-faq .faq-item__q-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--ink);
  background: var(--acid);
  flex-shrink: 0;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 78% 100%, 0 100%);
}

.page-faq .faq-item__arrow {
  margin-left: auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--silver);
  border-bottom: 2px solid var(--silver);
  transform: rotate(-45deg);
  transition: transform 0.25s ease, border-color 0.25s ease;
  flex-shrink: 0;
  margin-top: -4px;
}

.page-faq .faq-item[open] .faq-item__arrow {
  transform: rotate(45deg);
  border-color: var(--acid);
  margin-top: 4px;
}

.page-faq .faq-item__answer {
  padding: 0 20px 20px 58px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(245, 245, 240, 0.85);
}

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

.page-faq .faq-item__answer p:last-child {
  margin-bottom: 0;
}

.page-faq .faq-item__highlight {
  color: var(--acid);
  font-weight: 600;
  border-bottom: 1px dashed rgba(57, 255, 20, 0.5);
  padding-bottom: 1px;
}

.page-faq .faq-shortcut-media {
  border: 2px solid rgba(192, 192, 192, 0.25);
  background: var(--ink-2);
  box-shadow: var(--shadow-hard);
  margin: 20px 0;
  max-width: 480px;
}

.page-faq .faq-shortcut-media img {
  display: block;
  width: 100%;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}

.page-faq .faq-footer-note {
  margin-top: 64px;
  background: var(--ink-2);
  border: 2px solid var(--orange);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  box-shadow: 6px 6px 0 rgba(255, 107, 53, 0.15);
}

.page-faq .faq-footer-note::before {
  content: "?";
  position: absolute;
  top: -30px;
  right: 14px;
  font-family: var(--font-display);
  font-size: 80px;
  color: rgba(255, 107, 53, 0.12);
  line-height: 1;
  pointer-events: none;
}

.page-faq .faq-footer-note__content {
  min-width: 0;
}

.page-faq .faq-footer-note__text {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(192, 192, 192, 0.9);
  margin-top: 10px;
  margin-bottom: 0;
}

.page-faq .faq-footer-note .btn {
  align-self: flex-start;
  border-radius: 0;
  font-weight: 700;
  padding: 12px 24px;
  font-size: 14px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.page-faq .btn--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--acid);
  color: var(--ink);
  border: 2px solid var(--acid);
  box-shadow: 4px 4px 0 rgba(57, 255, 20, 0.3);
  transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
  border-bottom: 2px solid var(--acid);
}

.page-faq .btn--primary:hover {
  background: var(--ink);
  color: var(--acid);
  border-color: var(--acid);
  box-shadow: 6px 6px 0 rgba(57, 255, 20, 0.2);
}

.page-faq .btn--primary:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 rgba(57, 255, 20, 0.2);
}

.page-faq .tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border: 1px solid transparent;
}

.page-faq .tag--acid {
  background: var(--acid);
  color: var(--ink);
  border-color: var(--acid);
}

.page-faq .tag--accent {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
}

@media (min-width: 768px) {
  .page-faq .shell {
    padding-left: 32px;
    padding-right: 32px;
  }

  .page-faq .faq-hero {
    padding: 80px 0 72px;
  }

  .page-faq .faq-hero__title {
    font-size: 64px;
  }

  .page-faq .faq-hero__lead {
    font-size: 18px;
    max-width: 560px;
  }

  .page-faq .faq-hero__media {
    display: block;
  }

  .page-faq .faq-layout {
    gap: 48px;
    padding-bottom: 100px;
  }

  .page-faq .faq-index__nav {
    flex-direction: column;
    gap: 2px;
  }

  .page-faq .faq-index__link {
    border: none;
    border-left: 3px solid rgba(192, 192, 192, 0.3);
    padding: 10px 8px;
    background: transparent;
  }

  .page-faq .faq-index__link:hover {
    background: rgba(57, 255, 20, 0.08);
    border-left-color: var(--acid);
    color: var(--acid);
  }

  .page-faq .faq-group {
    margin-bottom: 72px;
  }

  .page-faq .faq-group__title {
    font-size: 28px;
  }

  .page-faq .faq-group .section-number {
    font-size: 72px;
    right: 4px;
  }

  .page-faq .faq-item__question {
    padding: 20px 24px;
    font-size: 15px;
  }

  .page-faq .faq-item__answer {
    padding: 0 24px 24px 72px;
    font-size: 14px;
  }

  .page-faq .faq-footer-note {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 28px 32px;
  }

  .page-faq .faq-footer-note .btn {
    flex-shrink: 0;
  }
}

@media (min-width: 1024px) {
  .page-faq .faq-hero__inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
  }

  .page-faq .faq-layout {
    grid-template-columns: 240px 1fr;
    gap: 56px;
    align-items: start;
  }

  .page-faq .faq-index {
    position: sticky;
    top: 100px;
  }

  .page-faq .faq-index__panel {
    padding: 24px 16px;
  }

  .page-faq .faq-index__nav {
    flex-direction: column;
    gap: 2px;
  }

  .page-faq .faq-index__link {
    font-size: 13px;
    padding: 8px 6px;
  }

  .page-faq .faq-hero__lead {
    max-width: 520px;
  }

  .page-faq .faq-hero__media {
    position: relative;
  }

  .page-faq .faq-hero__media::after {
    content: "";
    position: absolute;
    right: -10px;
    bottom: -10px;
    width: 48px;
    height: 48px;
    background: var(--acid);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    opacity: 0.8;
  }
}

@media (min-width: 1280px) {
  .page-faq .faq-hero__title {
    font-size: 72px;
  }

  .page-faq .faq-hero__lead {
    font-size: 18px;
    max-width: 520px;
  }

  .page-faq .faq-layout {
    grid-template-columns: 280px 1fr;
    gap: 64px;
  }
}
