.page-faq {
  --faq-gold: var(--c-gold);
  --faq-hero-bg: linear-gradient(135deg, #1A1A1A 0%, #B3000E 52%, #E60012 100%);
  background: var(--c-light);
}

.page-faq .faq-hero {
  position: relative;
  padding: 136px 0 56px;
  background: var(--faq-hero-bg);
  color: var(--c-white);
  overflow: hidden;
}

.page-faq .faq-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(115deg, transparent 0, transparent 18px, rgba(255, 255, 255, 0.05) 18px, rgba(255, 255, 255, 0.05) 19px);
  pointer-events: none;
}

.page-faq .faq-hero__inner {
  position: relative;
  display: grid;
  gap: 32px;
}

.page-faq .faq-hero__content {
  max-width: 720px;
}

.page-faq .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 20px;
}

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

.page-faq .breadcrumb a:hover {
  color: var(--c-gold);
}

.page-faq .breadcrumb__sep {
  color: var(--c-gold);
}

.page-faq .faq-hero__kicker {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--c-gold);
  border: 1px solid rgba(212, 175, 55, 0.6);
  padding: 6px 12px;
  margin-bottom: 18px;
}

.page-faq .faq-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 52px);
  font-style: italic;
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 16px;
}

.page-faq .faq-hero__h1-accent {
  color: var(--c-gold);
}

.page-faq .faq-hero__lead {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  max-width: 60ch;
}

.page-faq .faq-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.page-faq .faq-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.page-faq .faq-hero__meta span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  background: var(--c-orange);
  transform: skewX(-20deg);
}

.page-faq .faq-hero__figure {
  margin: 0;
}

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

.page-faq .faq-index {
  padding: 56px 0 20px;
}

.page-faq .faq-index__grid {
  gap: 16px;
}

.page-faq .faq-spy {
  position: sticky;
  top: var(--header-height);
  z-index: 50;
  margin-top: 40px;
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  backdrop-filter: blur(12px);
}

.page-faq .faq-spy__inner {
  display: flex;
  align-items: center;
  gap: 8px 18px;
  overflow-x: auto;
}

.page-faq .faq-spy__label {
  flex-shrink: 0;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--c-dark);
  opacity: 0.55;
}

.page-faq .faq-spy__link {
  padding: 14px 2px;
  border-bottom: 3px solid transparent;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-dark);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}

.page-faq .faq-spy__link:hover {
  color: var(--c-red);
}

.page-faq .faq-spy__link[aria-current="true"] {
  color: var(--c-red);
  border-bottom-color: var(--c-red);
}

.page-faq .faq-filter {
  padding: 48px 0 24px;
}

.page-faq .faq-filter__fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 28px;
}

.page-faq .faq-filter__hint {
  display: block;
  font-size: 14px;
  color: var(--c-dark);
  opacity: 0.7;
  margin-bottom: 12px;
}

.page-faq .faq-filter__labels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-faq .faq-filter__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: var(--c-white);
  border: 1px solid #ddd;
  color: var(--c-dark);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.page-faq .faq-filter__label:hover {
  border-color: var(--c-orange);
  color: var(--c-orange);
}

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

.page-faq .faq-filter:has(#faq-filter-all:checked) .faq-filter__label[for="faq-filter-all"],
.page-faq .faq-filter:has(#faq-filter-rank:checked) .faq-filter__label[for="faq-filter-rank"],
.page-faq .faq-filter:has(#faq-filter-injury:checked) .faq-filter__label[for="faq-filter-injury"],
.page-faq .faq-filter:has(#faq-filter-ios:checked) .faq-filter__label[for="faq-filter-ios"],
.page-faq .faq-filter:has(#faq-filter-accuracy:checked) .faq-filter__label[for="faq-filter-accuracy"] {
  background: var(--c-red);
  border-color: var(--c-red);
  color: var(--c-white);
}

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

.page-faq .faq-section {
  padding: 40px 0;
  border-bottom: 1px dashed #ddd;
  scroll-margin-top: 132px;
}

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

.page-faq #faq-filter-rank:checked ~ .faq-filter__panel .faq-section--rank,
.page-faq #faq-filter-injury:checked ~ .faq-filter__panel .faq-section--injury,
.page-faq #faq-filter-ios:checked ~ .faq-filter__panel .faq-section--ios,
.page-faq #faq-filter-accuracy:checked ~ .faq-filter__panel .faq-section--accuracy {
  display: block;
}

.page-faq #faq-filter-rank:checked ~ .faq-filter__panel .faq-section:not(.faq-section--rank),
.page-faq #faq-filter-injury:checked ~ .faq-filter__panel .faq-section:not(.faq-section--injury),
.page-faq #faq-filter-ios:checked ~ .faq-filter__panel .faq-section:not(.faq-section--ios),
.page-faq #faq-filter-accuracy:checked ~ .faq-filter__panel .faq-section:not(.faq-section--accuracy) {
  display: none;
}

.page-faq .faq-section__head {
  display: grid;
  gap: 20px;
  margin-bottom: 32px;
}

.page-faq .faq-section__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: var(--c-white);
  border: 1px solid #eee;
  color: var(--c-red);
  box-shadow: var(--shadow-card);
}

.page-faq .faq-section__title-wrap h2 {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 32px);
  font-style: italic;
  font-weight: 900;
  line-height: 1.3;
  margin: 10px 0 8px;
  color: var(--c-dark);
}

.page-faq .faq-section__desc {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(51, 51, 51, 0.75);
  max-width: 70ch;
}

.page-faq .faq-list {
  display: grid;
  gap: 14px;
}

.page-faq .faq-item {
  background: var(--c-white);
  border-left: 4px solid var(--c-red);
  box-shadow: var(--shadow-card);
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%, 0 14px);
  transition: box-shadow 0.25s, border-color 0.25s;
}

.page-faq .faq-item[open] {
  border-left-color: var(--c-orange);
  box-shadow: var(--shadow-hover);
}

.page-faq .faq-item__summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  list-style: none;
  cursor: pointer;
}

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

.page-faq .faq-item__q {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--c-red);
  color: var(--c-white);
  font-family: var(--font-data);
  font-size: 14px;
  font-weight: 700;
  transform: skewX(-8deg);
}

.page-faq .faq-item__title {
  flex: 1;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-dark);
}

.page-faq .faq-item__summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  color: var(--c-orange);
  transition: transform 0.25s;
}

.page-faq .faq-item[open] .faq-item__summary {
  border-bottom: 1px dashed #eee;
}

.page-faq .faq-item[open] .faq-item__summary::after {
  transform: rotate(45deg);
}

.page-faq .faq-item__answer {
  padding: 16px 20px 22px;
  font-size: 15px;
  line-height: 1.85;
  color: #555;
}

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

.page-faq .faq-accuracy__body {
  display: grid;
  gap: 28px;
  align-items: start;
}

.page-faq .faq-accuracy__figure {
  margin: 0;
}

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

.page-faq .faq-contact {
  margin-top: 32px;
  background: linear-gradient(135deg, #1A1A1A 0%, #333333 100%);
  color: var(--c-white);
}

.page-faq .faq-contact__inner {
  display: grid;
  gap: 24px;
  padding: 64px 0;
}

.page-faq .faq-contact h2 {
  font-family: var(--font-heading);
  font-size: clamp(26px, 4vw, 38px);
  font-style: italic;
  font-weight: 900;
  line-height: 1.2;
  margin: 10px 0;
}

.page-faq .faq-contact p {
  max-width: 60ch;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
}

.page-faq .faq-contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-faq .faq-contact__note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-family: var(--font-data);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
}

@media (min-width: 961px) {
  .page-faq .faq-hero {
    padding: 176px 0 88px;
  }

  .page-faq .faq-hero__inner {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
  }

  .page-faq .faq-index__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-faq .faq-filter__fieldset {
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .page-faq .faq-filter__hint {
    margin-bottom: 0;
  }

  .page-faq .faq-section__head {
    grid-template-columns: auto 1fr;
    align-items: start;
  }

  .page-faq .faq-accuracy__body {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
}

@media (max-width: 640px) {
  .page-faq .faq-item__summary {
    padding: 16px 14px;
  }

  .page-faq .faq-item__answer {
    padding: 14px 16px 20px;
  }

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

  .page-faq .faq-section {
    padding: 32px 0;
  }
}
