.page-faq {
  --faq-radius: 16px;
  --faq-pad: clamp(18px, 3vw, 32px);
  padding-bottom: clamp(56px, 8vw, 96px);
}

.page-faq .faq-hero {
  position: relative;
  padding: clamp(20px, 3vw, 32px) 0 clamp(44px, 6vw, 72px);
}

.page-faq .faq-hero::before {
  content: "";
  position: absolute;
  inset: -6% 34% 24% 26%;
  background: radial-gradient(closest-side, rgba(108, 60, 233, 0.32), transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.page-faq .faq-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

.page-faq .faq-hero__copy .breadcrumbs {
  margin-bottom: 18px;
}

.page-faq .faq-hero__copy .eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--violet-soft);
  letter-spacing: 0.16em;
}

.page-faq .faq-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(27px, 5vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text);
}

.page-faq .faq-hero__lede {
  margin: 16px 0 0;
  max-width: 36em;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}

.page-faq .faq-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.page-faq .faq-jump a {
  display: inline-flex;
  align-items: center;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(14, 11, 26, 0.72);
  color: var(--text);
  font-size: 14px;
  text-decoration: none;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease);
}

.page-faq .faq-jump a:hover {
  border-color: var(--violet-soft);
  color: var(--cyan);
  background: rgba(108, 60, 233, 0.16);
}

.page-faq .faq-jump a:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
}

.page-faq .faq-hero__visual {
  display: grid;
  gap: 12px;
}

.page-faq .faq-hero__frame {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--faq-radius);
  overflow: hidden;
  background: var(--panel);
  box-shadow: 0 28px 70px -34px rgba(108, 60, 233, 0.7);
}

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

.page-faq .faq-hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(45, 226, 230, 0.16), transparent 46%, rgba(255, 122, 47, 0.14));
  pointer-events: none;
}

.page-faq .faq-hero__caption {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.page-faq .faq-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 18px;
  align-items: start;
  margin-bottom: clamp(20px, 3vw, 32px);
}

.page-faq .faq-head .chapter-no {
  font-family: var(--font-mono);
  font-size: clamp(26px, 4.4vw, 42px);
  line-height: 1;
  font-weight: 700;
  color: rgba(108, 60, 233, 0.55);
}

.page-faq .faq-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(21px, 3.1vw, 30px);
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--text);
}

.page-faq .faq-head .lede {
  margin: 10px 0 0;
  max-width: 44em;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

.page-faq .faq-groups {
  display: grid;
  gap: clamp(16px, 2.2vw, 24px);
}

.page-faq .faq-group {
  position: relative;
  padding: clamp(16px, 2.2vw, 24px);
  border: 1px solid var(--line);
  border-radius: var(--faq-radius);
  background: linear-gradient(180deg, rgba(18, 14, 34, 0.92), rgba(14, 11, 26, 0.92));
  overflow: hidden;
}

.page-faq .faq-group::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.7), transparent);
}

.page-faq .faq-group__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.page-faq .faq-group__icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(108, 60, 233, 0.16);
  color: var(--violet-soft);
}

.page-faq .faq-group__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-faq .faq-group__title {
  margin: 0;
  flex: 1 1 auto;
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
}

.page-faq .faq-group__tag {
  flex: 0 0 auto;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--cyan);
  background: var(--cyan-bg);
}

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

.page-faq .faq-item:first-child {
  border-top: 0;
}

.page-faq .faq-item__q {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  list-style: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--text);
  transition: color 0.3s var(--ease);
}

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

.page-faq .faq-item__q:hover {
  color: var(--cyan);
}

.page-faq .faq-item__q:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 6px;
}

.page-faq .faq-item__qtext {
  flex: 1 1 auto;
}

.page-faq .faq-item__sign {
  position: relative;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
}

.page-faq .faq-item__sign::before,
.page-faq .faq-item__sign::after {
  content: "";
  position: absolute;
  background: var(--violet-soft);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.page-faq .faq-item__sign::before {
  left: 0;
  top: 6px;
  width: 14px;
  height: 2px;
}

.page-faq .faq-item__sign::after {
  left: 6px;
  top: 0;
  width: 2px;
  height: 14px;
}

.page-faq .faq-item[open] .faq-item__sign::after {
  transform: scaleY(0);
}

.page-faq .faq-item[open] .faq-item__sign::before {
  background: var(--cyan);
}

.page-faq .faq-item__a {
  display: grid;
  gap: 14px;
  margin: 0 0 16px 1px;
  padding: 2px 0 0 14px;
  border-left: 2px solid var(--violet);
}

.page-faq .faq-item__concl {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--text);
}

.page-faq .faq-item__steps {
  font-size: 14px;
  line-height: 1.78;
  color: var(--muted);
}

.page-faq .faq-item__steps p {
  margin: 0 0 6px;
}

.page-faq .faq-item__steps ol {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 5px;
}

.page-faq .faq-item__steps li::marker {
  color: var(--cyan);
  font-family: var(--font-mono);
}

.page-faq .faq-board {
  padding: var(--faq-pad);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(18, 14, 34, 0.95), rgba(11, 9, 20, 0.95));
  box-shadow: inset 0 1px 0 rgba(167, 139, 250, 0.16);
}

.page-faq .faq-figures {
  display: grid;
  gap: 12px;
  margin-bottom: clamp(20px, 3vw, 30px);
}

.page-faq .faq-figure {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(11, 43, 46, 0.42);
}

.page-faq .faq-figure__num {
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1;
  font-weight: 700;
  color: var(--cyan);
}

.page-faq .faq-figure__label {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.page-faq .faq-figure--hot {
  background: rgba(255, 122, 47, 0.1);
  border-color: rgba(255, 122, 47, 0.42);
}

.page-faq .faq-figure--hot .faq-figure__num {
  color: var(--orange);
}

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

.page-faq .faq-steps__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.page-faq .faq-steps__item:first-child {
  padding-top: 0;
  border-top: 0;
}

.page-faq .faq-steps__no {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(108, 60, 233, 0.2);
  color: var(--violet-soft);
  font-size: 12px;
}

.page-faq .faq-steps__item h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text);
}

.page-faq .faq-steps__item p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--muted);
}

.page-faq .faq-board--split {
  display: grid;
  gap: clamp(18px, 3vw, 28px);
}

.page-faq .faq-board__sub {
  margin: 0 0 16px;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text);
}

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

.page-faq .faq-flow li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(6, 6, 11, 0.5);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text);
}

.page-faq .faq-flow li span {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--cyan);
  letter-spacing: 0.06em;
}

.page-faq .faq-board__foot {
  margin: 18px 0 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--muted);
}

.page-faq .faq-note {
  align-self: start;
  padding: 18px;
  border: 1px solid rgba(255, 122, 47, 0.34);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(255, 122, 47, 0.12), rgba(14, 11, 26, 0.9));
}

.page-faq .faq-note h4 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--orange);
}

.page-faq .faq-note ul {
  margin: 0 0 16px;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  font-size: 14px;
  line-height: 1.78;
  color: var(--muted);
}

.page-faq .faq-note strong {
  color: var(--text);
  font-weight: 600;
}

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

.page-faq .faq-two__col {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(6, 6, 11, 0.55);
}

.page-faq .faq-two__col--home {
  border-color: rgba(255, 122, 47, 0.4);
  background: linear-gradient(150deg, rgba(255, 122, 47, 0.13), rgba(6, 6, 11, 0.6));
}

.page-faq .faq-two__col--away {
  border-color: rgba(45, 226, 230, 0.34);
  background: linear-gradient(150deg, rgba(45, 226, 230, 0.1), rgba(6, 6, 11, 0.6));
}

.page-faq .faq-two__col h3 {
  margin: 12px 0 12px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
}

.page-faq .faq-two__col ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 9px;
  font-size: 14px;
  line-height: 1.78;
  color: var(--muted);
}

.page-faq .faq-two__col li::marker {
  color: var(--violet-soft);
}

.page-faq .faq-board--path {
  display: grid;
  gap: clamp(20px, 3vw, 30px);
}

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

.page-faq .faq-chain__row {
  display: grid;
  gap: 10px;
}

.page-faq .faq-chain__cell {
  position: relative;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(6, 6, 11, 0.55);
}

.page-faq .faq-chain__cell--phen {
  border-color: rgba(255, 122, 47, 0.38);
}

.page-faq .faq-chain__cell--check {
  border-color: rgba(167, 139, 250, 0.44);
}

.page-faq .faq-chain__cell--result {
  border-color: rgba(45, 226, 230, 0.4);
  background: rgba(11, 43, 46, 0.4);
}

.page-faq .faq-chain__kicker {
  display: block;
  margin-bottom: 7px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--violet-soft);
}

.page-faq .faq-chain__cell--phen .faq-chain__kicker {
  color: var(--orange);
}

.page-faq .faq-chain__cell--result .faq-chain__kicker {
  color: var(--cyan);
}

.page-faq .faq-chain__cell p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text);
}

.page-faq .faq-chain__cell--result p {
  color: var(--muted);
}

.page-faq .faq-path__figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--panel-2);
}

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

.page-faq .faq-path__figure figcaption {
  padding: 10px 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.page-faq .faq-contact {
  display: grid;
  gap: clamp(16px, 2.4vw, 22px);
}

.page-faq .faq-contact__card {
  padding: var(--faq-pad);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(108, 60, 233, 0.18), rgba(11, 9, 20, 0.94) 55%);
}

.page-faq .faq-contact__card--alt {
  background: linear-gradient(160deg, rgba(11, 43, 46, 0.72), rgba(11, 9, 20, 0.94) 60%);
}

.page-faq .faq-contact__card .eyebrow {
  color: var(--violet-soft);
  letter-spacing: 0.16em;
}

.page-faq .faq-contact__card h3 {
  margin: 12px 0 18px;
  font-size: clamp(18px, 2.6vw, 22px);
  font-weight: 800;
  line-height: 1.35;
  color: var(--text);
}

.page-faq .faq-contact__list {
  margin: 0 0 16px;
  display: grid;
  gap: 12px;
}

.page-faq .faq-contact__list > div {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}

.page-faq .faq-contact__list dt {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.page-faq .faq-contact__list dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.5;
  word-break: break-all;
}

.page-faq .faq-contact__list dd a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(45, 226, 230, 0.4);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.page-faq .faq-contact__list dd a:hover {
  color: var(--orange);
  border-color: rgba(255, 122, 47, 0.6);
}

.page-faq .faq-contact__list dd a:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
}

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

.page-faq .faq-contact__tags {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-faq .faq-contact__tags li {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(6, 6, 11, 0.5);
  font-size: 13px;
  color: var(--text);
}

.page-faq .faq-contact__card--alt p {
  margin: 0 0 20px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--muted);
}

.page-faq .faq-contact__card--alt p a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(45, 226, 230, 0.4);
}

.page-faq .faq-contact__card--alt p a:hover {
  color: var(--orange);
}

.page-faq .faq-contact__card .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.page-faq .faq-contact__card .btn:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
}

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

  .page-faq .faq-figure {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

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

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

@media (min-width: 760px) {
  .page-faq .faq-item__a {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 20px;
    align-items: start;
  }
}

@media (min-width: 900px) {
  .page-faq .faq-hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
  }

  .page-faq .faq-board--split {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    align-items: start;
  }

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

  .page-faq .faq-chain__cell:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -13px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-top: 1px solid var(--cyan);
    border-right: 1px solid var(--cyan);
    transform: translateY(-50%) rotate(45deg);
  }
}

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

  .page-faq .faq-group--wide {
    grid-column: 1 / -1;
  }

  .page-faq .faq-group--wide .faq-group__items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 24px;
  }

  .page-faq .faq-group--wide .faq-item {
    border-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .faq-jump a,
  .page-faq .faq-item__q,
  .page-faq .faq-item__sign::before,
  .page-faq .faq-item__sign::after,
  .page-faq .faq-contact__list dd a {
    transition: none;
  }
}
