.page-faq {
  --faq-cut: 18px;
  --faq-edge: rgba(201, 211, 220, .14);
  position: relative;
  overflow-x: clip;
}

.page-faq .faq-mast {
  padding-top: clamp(28px, 5vw, 56px);
  padding-bottom: clamp(8px, 2vw, 20px);
}

.page-faq .faq-mast__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-top: 22px;
}

.page-faq .faq-mast__copy h1 {
  margin: 12px 0 0;
  font-size: clamp(30px, 5.4vw, 52px);
  line-height: 1.14;
  letter-spacing: -.01em;
  max-width: 18ch;
}

.page-faq .faq-mast .lede {
  margin: 16px 0 0;
  max-width: 46ch;
  font-size: 16px;
  line-height: 1.85;
  color: var(--silver);
}

.page-faq .faq-mast__figure {
  margin: 0;
  position: relative;
}

.page-faq .faq-mast__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  clip-path: polygon(0 0, calc(100% - var(--faq-cut)) 0, 100% var(--faq-cut), 100% 100%, 0 100%);
  background: var(--card);
}

.page-faq .faq-bands {
  position: relative;
  margin-top: clamp(32px, 5vw, 52px);
  padding-top: 10px;
}

.page-faq .faq-bands__streak {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  height: 10px;
  pointer-events: none;
}

.page-faq .faq-steps {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 14px;
}

.page-faq .faq-steps__link {
  display: block;
  text-decoration: none;
  color: var(--paper);
  border-top: 2px solid var(--line-strong);
  padding: 12px 6px 0 0;
  transition: border-color .2s var(--ease);
}

.page-faq .faq-steps__link:hover,
.page-faq .faq-steps__link:focus-visible {
  border-color: var(--lime);
}

.page-faq .faq-steps__no {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--orange);
}

.page-faq .faq-steps__label {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  transition: color .2s var(--ease);
}

.page-faq .faq-steps__link:hover .faq-steps__label,
.page-faq .faq-steps__link:focus-visible .faq-steps__label {
  color: var(--paper);
}

.page-faq .faq-sec {
  margin-top: clamp(64px, 9vw, 108px);
}

.page-faq .faq-block__intro {
  margin: 20px 0 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.85;
  color: var(--silver);
}

.page-faq .faq-step-list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.page-faq .faq-step {
  position: relative;
  padding: 22px 20px 20px;
  background: linear-gradient(158deg, var(--card) 0%, var(--ink-deep) 100%);
  clip-path: polygon(0 0, calc(100% - var(--faq-cut)) 0, 100% var(--faq-cut), 100% 100%, 0 100%);
}

.page-faq .faq-step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--orange), rgba(255, 107, 44, 0));
}

.page-faq .faq-step__no {
  display: block;
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .04em;
  color: var(--orange);
}

.page-faq .faq-step__title {
  margin: 12px 0 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--paper);
}

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

.page-faq .faq-step__done {
  display: block;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  line-height: 1.7;
  color: var(--lime);
}

.page-faq .faq-compare {
  margin-top: clamp(64px, 9vw, 108px);
  background: var(--paper);
  color: var(--ink);
  padding: clamp(24px, 4vw, 46px);
  clip-path: polygon(0 0, calc(100% - var(--faq-cut)) 0, 100% var(--faq-cut), 100% 100%, 0 100%);
}

.page-faq .faq-compare .chapter__title {
  color: var(--ink);
}

.page-faq .faq-compare .chapter__no {
  color: var(--wine);
}

.page-faq .faq-compare__intro {
  margin: 16px 0 0;
  max-width: 64ch;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(7, 26, 43, .76);
}

.page-faq .faq-compare__figure {
  margin: 24px 0 0;
}

.page-faq .faq-compare__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--card);
  clip-path: polygon(0 0, calc(100% - var(--faq-cut)) 0, 100% var(--faq-cut), 100% 100%, 0 100%);
}

.page-faq .faq-compare__scroll {
  margin-top: 28px;
  overflow-x: auto;
  border-top: 2px solid var(--ink);
}

.page-faq .compare-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.7;
}

.page-faq .compare-table th,
.page-faq .compare-table td {
  text-align: left;
  padding: 13px 14px;
  border-bottom: 1px solid rgba(7, 26, 43, .14);
  vertical-align: top;
}

.page-faq .compare-table thead th {
  padding-top: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(7, 26, 43, .62);
  border-bottom: 1px solid rgba(7, 26, 43, .34);
}

.page-faq .compare-table tbody th {
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.page-faq .faq-ask {
  margin-top: clamp(64px, 9vw, 108px);
}

.page-faq .faq-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(32px, 5vw, 48px);
}

.page-faq .faq-filter {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--silver);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease);
}

.page-faq .faq-filter:hover {
  color: var(--paper);
  border-color: var(--silver);
}

.page-faq .faq-filter__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line-strong);
  transition: background-color .2s var(--ease), box-shadow .2s var(--ease);
}

.page-faq .faq-filter[aria-pressed="true"] {
  color: var(--paper);
  border-color: var(--lime);
  background: rgba(182, 255, 60, .08);
}

.page-faq .faq-filter[aria-pressed="true"] .faq-filter__dot {
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(182, 255, 60, .18);
}

.page-faq .faq-filter:focus-visible,
.page-faq .qa__q:focus-visible,
.page-faq .faq-steps__link:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.page-faq .faq-block {
  margin-top: clamp(48px, 7vw, 76px);
}

.page-faq .faq-block:first-of-type {
  margin-top: 0;
}

.page-faq .faq-block.is-filtered-out {
  display: none;
}

.page-faq .faq-block .chapter {
  margin-bottom: 22px;
}

.page-faq .qa {
  border-top: 1px solid var(--faq-edge);
}

.page-faq .qa:last-of-type {
  border-bottom: 1px solid var(--faq-edge);
}

.page-faq .qa__q {
  display: flex;
  align-items: baseline;
  gap: 12px;
  position: relative;
  padding: 18px 10px 18px 16px;
  list-style: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--paper);
  transition: color .2s var(--ease);
}

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

.page-faq .qa__q::marker {
  content: "";
}

.page-faq .qa__q::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 20px;
  width: 3px;
  border-radius: 2px;
  background: var(--orange);
  transform: scaleY(0);
  transform-origin: top center;
  opacity: 0;
  transition: transform .22s var(--ease), opacity .22s var(--ease);
}

.page-faq .qa__q:hover::before {
  transform: scaleY(.5);
  opacity: .55;
}

.page-faq .qa[open] .qa__q::before {
  transform: scaleY(1);
  opacity: 1;
}

.page-faq .qa__idx {
  flex: none;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--muted);
}

.page-faq .qa__sign {
  flex: none;
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  color: var(--orange);
  transition: transform .22s var(--ease);
}

.page-faq .qa[open] .qa__sign {
  transform: rotate(45deg);
}

.page-faq .qa__a {
  padding: 0 16px 20px;
}

.page-faq .qa__a p {
  margin: 0;
  max-width: 70ch;
  font-size: 15px;
  line-height: 1.9;
  color: var(--silver);
}

.page-faq .faq-help__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.page-faq .faq-help__card {
  position: relative;
  padding: 22px 20px;
  background: var(--stand);
}

.page-faq .faq-help__card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: var(--faq-cut);
  height: var(--faq-cut);
  background: var(--ink);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.page-faq .faq-help__label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--lime);
}

.page-faq .faq-help__value {
  margin: 10px 0 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--paper);
  overflow-wrap: anywhere;
}

.page-faq .faq-help__desc {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--silver);
}

.page-faq .faq-help__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--faq-edge);
}

.page-faq .faq-help__addr {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

@media (min-width: 620px) {
  .page-faq .faq-steps {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 700px) {
  .page-faq .faq-step-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-faq .faq-help__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-faq .faq-mast__grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 48px;
    align-items: end;
  }

  .page-faq .faq-mast__figure img {
    aspect-ratio: 4 / 3;
  }
}

@media (min-width: 1100px) {
  .page-faq .faq-step-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .page-faq .qa__q {
    font-size: 17px;
    padding-right: 20px;
  }

  .page-faq .qa__a {
    padding-left: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq *,
  .page-faq *::before,
  .page-faq *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
